-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path4942.d00c0cc4eccd7af5.js
1 lines (1 loc) · 268 KB
/
4942.d00c0cc4eccd7af5.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[4942],{9529:(Ke,ne,_)=>{_.d(ne,{Ky:()=>G,bU:()=>N,z8:()=>W});var e=_(4438),I=_(5024),X=_(5286),B=_(4337);let a=0;const Y=new e.nKC("CdkAccordion");let W=(()=>{class T{constructor(){this._stateChanges=new X.B7,this._openCloseAllActions=new X.B7,this.id="cdk-accordion-"+a++,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(b){this._stateChanges.next(b)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static#e=this.\u0275fac=function(P){return new(P||T)};static#t=this.\u0275dir=e.FsC({type:T,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",e.L39]},exportAs:["cdkAccordion"],standalone:!0,features:[e.Jv_([{provide:Y,useExisting:T}]),e.GFd,e.OA$]})}return T})(),V=0,G=(()=>{class T{get expanded(){return this._expanded}set expanded(b){this._expanded!==b&&(this._expanded=b,this.expandedChange.emit(b),b?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(b,P,S){this.accordion=b,this._changeDetectorRef=P,this._expansionDispatcher=S,this._openCloseAllSubscription=B.y.EMPTY,this.closed=new e.bkB,this.opened=new e.bkB,this.destroyed=new e.bkB,this.expandedChange=new e.bkB,this.id="cdk-accordion-child-"+V++,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=S.listen((q,f)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===f&&this.id!==q&&(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(b=>{this.disabled||(this.expanded=b)})}static#e=this.\u0275fac=function(P){return new(P||T)(e.rXU(Y,12),e.rXU(e.gRc),e.rXU(I.zP))};static#t=this.\u0275dir=e.FsC({type:T,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",e.L39],disabled:[2,"disabled","disabled",e.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[e.Jv_([{provide:Y,useValue:void 0}]),e.GFd]})}return T})(),N=(()=>{class T{static#e=this.\u0275fac=function(P){return new(P||T)};static#t=this.\u0275mod=e.$C({type:T});static#i=this.\u0275inj=e.G2t({})}return T})()},8170:(Ke,ne,_)=>{_.d(ne,{a:()=>G});var e=_(4438),I=_(5286),X=_(5817),B=_(8728),a=_(8712),Y=_(7605);class V{constructor(T){this._box=T,this._destroyed=new I.B7,this._resizeSubject=new I.B7,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(j=>this._resizeSubject.next(j)))}observe(T){return this._elementObservables.has(T)||this._elementObservables.set(T,new X.c(j=>{const b=this._resizeSubject.subscribe(j);return this._resizeObserver?.observe(T,{box:this._box}),()=>{this._resizeObserver?.unobserve(T),b.unsubscribe(),this._elementObservables.delete(T)}}).pipe((0,B.p)(j=>j.some(b=>b.target===T)),(0,a.t)({bufferSize:1,refCount:!0}),(0,Y.Q)(this._destroyed))),this._elementObservables.get(T)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let G=(()=>{class N{constructor(){this._observers=new Map,this._ngZone=(0,e.WQX)(e.SKi)}ngOnDestroy(){for(const[,j]of this._observers)j.destroy();this._observers.clear()}observe(j,b){const P=b?.box||"content-box";return this._observers.has(P)||this._observers.set(P,new V(P)),this._observers.get(P).observe(j)}static#e=this.\u0275fac=function(b){return new(b||N)};static#t=this.\u0275prov=e.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},7403:(Ke,ne,_)=>{_.d(ne,{EE:()=>P,Lf:()=>j,P8:()=>T,xb:()=>b});var e=_(6860),I=_(4438),X=_(4085),B=_(1235),a=_(5286),Y=_(3586),W=_(8542),V=_(7605),G=_(177);const N=(0,e.BQ)({passive:!0});let T=(()=>{class S{constructor(f,y){this._platform=f,this._ngZone=y,this._monitoredElements=new Map}monitor(f){if(!this._platform.isBrowser)return B.w;const y=(0,X.i8)(f),k=this._monitoredElements.get(y);if(k)return k.subject;const R=new a.B7,U="cdk-text-field-autofilled",te=re=>{"cdk-text-field-autofill-start"!==re.animationName||y.classList.contains(U)?"cdk-text-field-autofill-end"===re.animationName&&y.classList.contains(U)&&(y.classList.remove(U),this._ngZone.run(()=>R.next({target:re.target,isAutofilled:!1}))):(y.classList.add(U),this._ngZone.run(()=>R.next({target:re.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{y.addEventListener("animationstart",te,N),y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(y,{subject:R,unlisten:()=>{y.removeEventListener("animationstart",te,N)}}),R}stopMonitoring(f){const y=(0,X.i8)(f),k=this._monitoredElements.get(y);k&&(k.unlisten(),k.subject.complete(),y.classList.remove("cdk-text-field-autofill-monitored"),y.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(y))}ngOnDestroy(){this._monitoredElements.forEach((f,y)=>this.stopMonitoring(y))}static#e=this.\u0275fac=function(y){return new(y||S)(I.KVO(e.OD),I.KVO(I.SKi))};static#t=this.\u0275prov=I.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),j=(()=>{class S{constructor(f,y){this._elementRef=f,this._autofillMonitor=y,this.cdkAutofill=new I.bkB}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(f=>this.cdkAutofill.emit(f))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}static#e=this.\u0275fac=function(y){return new(y||S)(I.rXU(I.aKT),I.rXU(T))};static#t=this.\u0275dir=I.FsC({type:S,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"},standalone:!0})}return S})(),b=(()=>{class S{get minRows(){return this._minRows}set minRows(f){this._minRows=(0,X.OE)(f),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(f){this._maxRows=(0,X.OE)(f),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(f){this._enabled!==f&&((this._enabled=f)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(f){this._cachedPlaceholderHeight=void 0,f?this._textareaElement.setAttribute("placeholder",f):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(f,y,k,R){this._elementRef=f,this._platform=y,this._ngZone=k,this._destroyed=new a.B7,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=U=>{this._hasFocus="focus"===U.type},this._document=R,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const f=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;f&&(this._textareaElement.style.minHeight=f)}_setMaxHeight(){const f=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;f&&(this._textareaElement.style.maxHeight=f)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const f=this._getWindow();(0,Y.R)(f,"resize").pipe((0,W.Z)(16),(0,V.Q)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let f=this._textareaElement.cloneNode(!1);f.rows=1,f.style.position="absolute",f.style.visibility="hidden",f.style.border="none",f.style.padding="0",f.style.height="",f.style.minHeight="",f.style.maxHeight="",f.style.overflow="hidden",this._textareaElement.parentNode.appendChild(f),this._cachedLineHeight=f.clientHeight,f.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const f=this._textareaElement,y=f.style.marginBottom||"",k=this._platform.FIREFOX,R=k&&this._hasFocus,U=k?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";R&&(f.style.marginBottom=`${f.clientHeight}px`),f.classList.add(U);const te=f.scrollHeight-4;return f.classList.remove(U),R&&(f.style.marginBottom=y),te}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const f=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=f}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(f=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const y=this._elementRef.nativeElement,k=y.value;if(!f&&this._minRows===this._previousMinRows&&k===this._previousValue)return;const R=this._measureScrollHeight(),U=Math.max(R,this._cachedPlaceholderHeight||0);y.style.height=`${U}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(y)):setTimeout(()=>this._scrollToCaretPosition(y))}),this._previousValue=k,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(f){const{selectionStart:y,selectionEnd:k}=f;!this._destroyed.isStopped&&this._hasFocus&&f.setSelectionRange(y,k)}static#e=this.\u0275fac=function(y){return new(y||S)(I.rXU(I.aKT),I.rXU(e.OD),I.rXU(I.SKi),I.rXU(G.qQ,8))};static#t=this.\u0275dir=I.FsC({type:S,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(y,k){1&y&&I.bIt("input",function(){return k._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",I.L39],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[I.GFd]})}return S})(),P=(()=>{class S{static#e=this.\u0275fac=function(y){return new(y||S)};static#t=this.\u0275mod=I.$C({type:S});static#i=this.\u0275inj=I.G2t({})}return S})()},4942:(Ke,ne,_)=>{_.r(ne),_.d(ne,{ExpansionExpandCollapseAllExample:()=>Se,ExpansionHarnessExample:()=>Ne,ExpansionOverviewExample:()=>Re,ExpansionStepsExample:()=>me});var e=_(4438),I=_(9529),X=_(6939),B=_(6600),a=_(8617),Y=_(3176),W=_(8728),V=_(9493),G=_(7336),N=_(5286),T=_(4337),j=_(1235),b=_(4670),P=_(9969),S=_(5024),q=_(177);const f=["body"],y=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],k=["mat-expansion-panel-header","*","mat-action-row"];function R(D,K){}const U=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],te=["mat-panel-title","mat-panel-description","*"];function re(D,K){if(1&D&&(e.j41(0,"span",1),e.qSk(),e.j41(1,"svg",2),e.nrm(2,"path",3),e.k0s()()),2&D){const g=e.XpG();e.Y8G("@indicatorRotate",g._getExpandedState())}}const ge=new e.nKC("MAT_ACCORDION"),we="225ms cubic-bezier(0.4,0.0,0.2,1)",he={indicatorRotate:(0,P.hZ)("indicatorRotate",[(0,P.wk)("collapsed, void",(0,P.iF)({transform:"rotate(0deg)"})),(0,P.wk)("expanded",(0,P.iF)({transform:"rotate(180deg)"})),(0,P.kY)("expanded <=> collapsed, void => collapsed",(0,P.i0)(we))]),bodyExpansion:(0,P.hZ)("bodyExpansion",[(0,P.wk)("collapsed, void",(0,P.iF)({height:"0px",visibility:"hidden"})),(0,P.wk)("expanded",(0,P.iF)({height:"*",visibility:""})),(0,P.kY)("expanded <=> collapsed, void => collapsed",(0,P.i0)(we))])},ue=new e.nKC("MAT_EXPANSION_PANEL");let Ee=(()=>{class D{constructor(g,x){this._template=g,this._expansionPanel=x}static#e=this.\u0275fac=function(x){return new(x||D)(e.rXU(e.C4Q),e.rXU(ue,8))};static#t=this.\u0275dir=e.FsC({type:D,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}return D})(),be=0;const ie=new e.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let ve=(()=>{class D extends I.Ky{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(g){this._hideToggle=g}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(g){this._togglePosition=g}constructor(g,x,A,O,H,Q,le){super(g,x,A),this._viewContainerRef=O,this._animationMode=Q,this._hideToggle=!1,this.afterExpand=new e.bkB,this.afterCollapse=new e.bkB,this._inputChanges=new N.B7,this._headerId="mat-expansion-panel-header-"+be++,this.accordion=g,this._document=H,this._animationsDisabled="NoopAnimations"===Q,le&&(this.hideToggle=le.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_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((0,Y.Z)(null),(0,W.p)(()=>this.expanded&&!this._portal),(0,V.s)(1)).subscribe(()=>{this._portal=new X.VA(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(g){this._inputChanges.next(g)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){const g=this._document.activeElement,x=this._body.nativeElement;return g===x||x.contains(g)}return!1}_animationStarted(g){!Te(g)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(g){Te(g)||("expanded"===g.toState?this.afterExpand.emit():"collapsed"===g.toState&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static#e=this.\u0275fac=function(x){return new(x||D)(e.rXU(ge,12),e.rXU(e.gRc),e.rXU(S.zP),e.rXU(e.c1b),e.rXU(q.qQ),e.rXU(e.bc$,8),e.rXU(ie,8))};static#t=this.\u0275cmp=e.VBU({type:D,selectors:[["mat-expansion-panel"]],contentQueries:function(x,A,O){if(1&x&&e.wni(O,Ee,5),2&x){let H;e.mGM(H=e.lsd())&&(A._lazyContent=H.first)}},viewQuery:function(x,A){if(1&x&&e.GBs(f,5),2&x){let O;e.mGM(O=e.lsd())&&(A._body=O.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(x,A){2&x&&e.AVh("mat-expanded",A.expanded)("_mat-animation-noopable",A._animationsDisabled)("mat-expansion-panel-spacing",A._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",e.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[e.Jv_([{provide:ge,useValue:void 0},{provide:ue,useExisting:D}]),e.GFd,e.Vt3,e.OA$,e.aNF],ngContentSelectors:k,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(x,A){if(1&x){const O=e.RV6();e.NAR(y),e.SdG(0),e.j41(1,"div",1,0),e.bIt("@bodyExpansion.start",function(Q){return e.eBV(O),e.Njj(A._animationStarted(Q))})("@bodyExpansion.done",function(Q){return e.eBV(O),e.Njj(A._animationDone(Q))}),e.j41(3,"div",2),e.SdG(4,1),e.DNE(5,R,0,0,"ng-template",3),e.k0s(),e.SdG(6,2),e.k0s()}2&x&&(e.R7$(),e.Y8G("@bodyExpansion",A._getExpandedState())("id",A.id),e.BMQ("aria-labelledby",A._headerId),e.R7$(4),e.Y8G("cdkPortalOutlet",A._portal))},dependencies:[X.I3],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:[he.bodyExpansion]},changeDetection:0})}return D})();function Te(D){return"void"===D.fromState}let He=(()=>{class D{static#e=this.\u0275fac=function(x){return new(x||D)};static#t=this.\u0275dir=e.FsC({type:D,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"],standalone:!0})}return D})(),xe=(()=>{class D{constructor(g,x,A,O,H,Q,le){this.panel=g,this._element=x,this._focusMonitor=A,this._changeDetectorRef=O,this._animationMode=Q,this._parentChangeSubscription=T.y.EMPTY,this.tabIndex=0;const fe=g.accordion?g.accordion._stateChanges.pipe((0,W.p)(pe=>!(!pe.hideToggle&&!pe.togglePosition))):j.w;this.tabIndex=parseInt(le||"")||0,this._parentChangeSubscription=(0,b.h)(g.opened,g.closed,fe,g._inputChanges.pipe((0,W.p)(pe=>!!(pe.hideToggle||pe.disabled||pe.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),g.closed.pipe((0,W.p)(()=>g._containsFocus())).subscribe(()=>A.focusVia(x,"program")),H&&(this.expandedHeight=H.expandedHeight,this.collapsedHeight=H.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(){const g=this._isExpanded();return g&&this.expandedHeight?this.expandedHeight:!g&&this.collapsedHeight?this.collapsedHeight:null}_keydown(g){switch(g.keyCode){case G.t6:case G.Fm:(0,G.rp)(g)||(g.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(g))}}focus(g,x){g?this._focusMonitor.focusVia(this._element,g,x):this._element.nativeElement.focus(x)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(g=>{g&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(x){return new(x||D)(e.rXU(ve,1),e.rXU(e.aKT),e.rXU(a.FN),e.rXU(e.gRc),e.rXU(ie,8),e.rXU(e.bc$,8),e.kS0("tabindex"))};static#t=this.\u0275cmp=e.VBU({type:D,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(x,A){1&x&&e.bIt("click",function(){return A._toggle()})("keydown",function(H){return A._keydown(H)}),2&x&&(e.BMQ("id",A.panel._headerId)("tabindex",A.disabled?-1:A.tabIndex)("aria-controls",A._getPanelId())("aria-expanded",A._isExpanded())("aria-disabled",A.panel.disabled),e.xc7("height",A._getHeaderHeight()),e.AVh("mat-expanded",A._isExpanded())("mat-expansion-toggle-indicator-after","after"===A._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===A._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===A._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",g=>null==g?0:(0,e.Udg)(g)]},standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:te,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(x,A){1&x&&(e.NAR(U),e.j41(0,"span",0),e.SdG(1),e.SdG(2,1),e.SdG(3,2),e.k0s(),e.DNE(4,re,3,1,"span",1)),2&x&&(e.AVh("mat-content-hide-toggle",!A._showToggle()),e.R7$(4),e.vxM(A._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:[he.indicatorRotate]},changeDetection:0})}return D})(),Be=(()=>{class D{static#e=this.\u0275fac=function(x){return new(x||D)};static#t=this.\u0275dir=e.FsC({type:D,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0})}return D})(),ke=(()=>{class D{static#e=this.\u0275fac=function(x){return new(x||D)};static#t=this.\u0275dir=e.FsC({type:D,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}return D})(),ye=(()=>{class D extends I.z8{constructor(){super(...arguments),this._ownHeaders=new e.rOR,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe((0,Y.Z)(this._headers)).subscribe(g=>{this._ownHeaders.reset(g.filter(x=>x.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new a.Bu(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(g){this._keyManager.onKeydown(g)}_handleHeaderFocus(g){this._keyManager.updateActiveItem(g)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static#e=this.\u0275fac=(()=>{let g;return function(A){return(g||(g=e.xGo(D)))(A||D)}})();static#t=this.\u0275dir=e.FsC({type:D,selectors:[["mat-accordion"]],contentQueries:function(x,A,O){if(1&x&&e.wni(O,xe,5),2&x){let H;e.mGM(H=e.lsd())&&(A._headers=H)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(x,A){2&x&&e.AVh("mat-accordion-multi",A.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",e.L39],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[e.Jv_([{provide:ge,useExisting:D}]),e.GFd,e.Vt3]})}return D})(),De=(()=>{class D{static#e=this.\u0275fac=function(x){return new(x||D)};static#t=this.\u0275mod=e.$C({type:D});static#i=this.\u0275inj=e.G2t({imports:[B.yE,I.bU,X.jc]})}return D})();var oe=_(5084),Ce=_(9042),de=_(3719),Ve=_(9213),Fe=_(8834);let Se=(()=>{class D{static#e=this.\u0275fac=function(x){return new(x||D)};static#t=this.\u0275cmp=e.VBU({type:D,selectors:[["expansion-expand-collapse-all-example"]],viewQuery:function(x,A){if(1&x&&e.GBs(ye,5),2&x){let O;e.mGM(O=e.lsd())&&(A.accordion=O.first)}},standalone:!0,features:[e.Jv_([(0,B.aw)()]),e.aNF],decls:48,vars:1,consts:[["picker",""],[1,"example-action-buttons"],["mat-button","",3,"click"],["multi","",1,"example-headers-align"],["matInput",""],["matInput","","type","number","min","1"],["disabled",""],["matInput","","readonly","",3,"focus","matDatepicker"]],template:function(x,A){if(1&x){const O=e.RV6();e.j41(0,"div",1)(1,"button",2),e.bIt("click",function(){return e.eBV(O),e.Njj(A.accordion.openAll())}),e.EFF(2,"Expand All"),e.k0s(),e.j41(3,"button",2),e.bIt("click",function(){return e.eBV(O),e.Njj(A.accordion.closeAll())}),e.EFF(4,"Collapse All"),e.k0s()(),e.j41(5,"mat-accordion",3)(6,"mat-expansion-panel")(7,"mat-expansion-panel-header")(8,"mat-panel-title"),e.EFF(9," Personal data "),e.k0s(),e.j41(10,"mat-panel-description"),e.EFF(11," Type your name and age "),e.j41(12,"mat-icon"),e.EFF(13,"account_circle"),e.k0s()()(),e.j41(14,"mat-form-field")(15,"mat-label"),e.EFF(16,"First name"),e.k0s(),e.nrm(17,"input",4),e.k0s(),e.j41(18,"mat-form-field")(19,"mat-label"),e.EFF(20,"Age"),e.k0s(),e.nrm(21,"input",5),e.k0s()(),e.j41(22,"mat-expansion-panel",6)(23,"mat-expansion-panel-header")(24,"mat-panel-title"),e.EFF(25," Destination "),e.k0s(),e.j41(26,"mat-panel-description"),e.EFF(27," Type the country name "),e.j41(28,"mat-icon"),e.EFF(29,"map"),e.k0s()()(),e.j41(30,"mat-form-field")(31,"mat-label"),e.EFF(32,"Country"),e.k0s(),e.nrm(33,"input",4),e.k0s()(),e.j41(34,"mat-expansion-panel")(35,"mat-expansion-panel-header")(36,"mat-panel-title"),e.EFF(37," Day of the trip "),e.k0s(),e.j41(38,"mat-panel-description"),e.EFF(39," Inform the date you wish to travel "),e.j41(40,"mat-icon"),e.EFF(41,"date_range"),e.k0s()()(),e.j41(42,"mat-form-field")(43,"mat-label"),e.EFF(44,"Date"),e.k0s(),e.j41(45,"input",7),e.bIt("focus",function(){e.eBV(O);const Q=e.sdS(47);return e.Njj(Q.open())}),e.k0s()(),e.nrm(46,"mat-datepicker",null,0),e.k0s()()}if(2&x){const O=e.sdS(47);e.R7$(45),e.Y8G("matDatepicker",O)}},dependencies:[Fe.Hl,Fe.$z,De,ye,ve,xe,ke,Be,Ve.m_,Ve.An,de.RG,de.rl,de.nJ,Ce.fS,Ce.fg,oe.X6,oe.Vh,oe.bZ],styles:[".example-action-buttons[_ngcontent-%COMP%] {\n padding-bottom: 20px;\n}\n\n.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%] {\n justify-content: space-between;\n align-items: center;\n}\n\n.example-headers-align[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%] {\n margin-left: 8px;\n}"]})}return D})(),Re=(()=>{class D{constructor(){this.panelOpenState=!1}static#e=this.\u0275fac=function(x){return new(x||D)};static#t=this.\u0275cmp=e.VBU({type:D,selectors:[["expansion-overview-example"]],standalone:!0,features:[e.aNF],decls:17,vars:1,consts:[["hideToggle",""],[3,"opened","closed"]],template:function(x,A){1&x&&(e.j41(0,"mat-accordion")(1,"mat-expansion-panel",0)(2,"mat-expansion-panel-header")(3,"mat-panel-title"),e.EFF(4," This is the expansion title "),e.k0s(),e.j41(5,"mat-panel-description"),e.EFF(6," This is a summary of the content "),e.k0s()(),e.j41(7,"p"),e.EFF(8,"This is the primary content of the panel."),e.k0s()(),e.j41(9,"mat-expansion-panel",1),e.bIt("opened",function(){return A.panelOpenState=!0})("closed",function(){return A.panelOpenState=!1}),e.j41(10,"mat-expansion-panel-header")(11,"mat-panel-title"),e.EFF(12," Self aware panel "),e.k0s(),e.j41(13,"mat-panel-description"),e.EFF(14),e.k0s()(),e.j41(15,"p"),e.EFF(16,"I'm visible because I am open"),e.k0s()()()),2&x&&(e.R7$(14),e.SpI(" Currently I am ",A.panelOpenState?"open":"closed"," "))},dependencies:[De,ye,ve,xe,ke,Be],encapsulation:2})}return D})(),me=(()=>{class D{constructor(){this.step=0}setStep(g){this.step=g}nextStep(){this.step++}prevStep(){this.step--}static#e=this.\u0275fac=function(x){return new(x||D)};static#t=this.\u0275cmp=e.VBU({type:D,selectors:[["expansion-steps-example"]],standalone:!0,features:[e.Jv_([(0,B.aw)()]),e.aNF],decls:56,vars:4,consts:[["picker",""],[1,"example-headers-align"],["hideToggle","",3,"opened","expanded"],["matInput",""],["matInput","","type","number","min","1"],["mat-button","","color","primary",3,"click"],["mat-button","","color","warn",3,"click"],["matInput","","readonly","",3,"focus","matDatepicker"]],template:function(x,A){if(1&x){const O=e.RV6();e.j41(0,"mat-accordion",1)(1,"mat-expansion-panel",2),e.bIt("opened",function(){return e.eBV(O),e.Njj(A.setStep(0))}),e.j41(2,"mat-expansion-panel-header")(3,"mat-panel-title"),e.EFF(4," Personal data "),e.k0s(),e.j41(5,"mat-panel-description"),e.EFF(6," Type your name and age "),e.j41(7,"mat-icon"),e.EFF(8,"account_circle"),e.k0s()()(),e.j41(9,"mat-form-field")(10,"mat-label"),e.EFF(11,"First name"),e.k0s(),e.nrm(12,"input",3),e.k0s(),e.j41(13,"mat-form-field")(14,"mat-label"),e.EFF(15,"Age"),e.k0s(),e.nrm(16,"input",4),e.k0s(),e.j41(17,"mat-action-row")(18,"button",5),e.bIt("click",function(){return e.eBV(O),e.Njj(A.nextStep())}),e.EFF(19,"Next"),e.k0s()()(),e.j41(20,"mat-expansion-panel",2),e.bIt("opened",function(){return e.eBV(O),e.Njj(A.setStep(1))}),e.j41(21,"mat-expansion-panel-header")(22,"mat-panel-title"),e.EFF(23," Destination "),e.k0s(),e.j41(24,"mat-panel-description"),e.EFF(25," Type the country name "),e.j41(26,"mat-icon"),e.EFF(27,"map"),e.k0s()()(),e.j41(28,"mat-form-field")(29,"mat-label"),e.EFF(30,"Country"),e.k0s(),e.nrm(31,"input",3),e.k0s(),e.j41(32,"mat-action-row")(33,"button",6),e.bIt("click",function(){return e.eBV(O),e.Njj(A.prevStep())}),e.EFF(34,"Previous"),e.k0s(),e.j41(35,"button",5),e.bIt("click",function(){return e.eBV(O),e.Njj(A.nextStep())}),e.EFF(36,"Next"),e.k0s()()(),e.j41(37,"mat-expansion-panel",2),e.bIt("opened",function(){return e.eBV(O),e.Njj(A.setStep(2))}),e.j41(38,"mat-expansion-panel-header")(39,"mat-panel-title"),e.EFF(40," Day of the trip "),e.k0s(),e.j41(41,"mat-panel-description"),e.EFF(42," Inform the date you wish to travel "),e.j41(43,"mat-icon"),e.EFF(44,"date_range"),e.k0s()()(),e.j41(45,"mat-form-field")(46,"mat-label"),e.EFF(47,"Date"),e.k0s(),e.j41(48,"input",7),e.bIt("focus",function(){e.eBV(O);const Q=e.sdS(50);return e.Njj(Q.open())}),e.k0s()(),e.nrm(49,"mat-datepicker",null,0),e.j41(51,"mat-action-row")(52,"button",6),e.bIt("click",function(){return e.eBV(O),e.Njj(A.prevStep())}),e.EFF(53,"Previous"),e.k0s(),e.j41(54,"button",5),e.bIt("click",function(){return e.eBV(O),e.Njj(A.nextStep())}),e.EFF(55,"End"),e.k0s()()()()}if(2&x){const O=e.sdS(50);e.R7$(),e.Y8G("expanded",0===A.step),e.R7$(19),e.Y8G("expanded",1===A.step),e.R7$(17),e.Y8G("expanded",2===A.step),e.R7$(11),e.Y8G("matDatepicker",O)}},dependencies:[De,ye,ve,He,xe,ke,Be,Ve.m_,Ve.An,de.RG,de.rl,de.nJ,Ce.fS,Ce.fg,Fe.Hl,Fe.$z,oe.X6,oe.Vh,oe.bZ],styles:[".example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%] {\n justify-content: space-between;\n align-items: center;\n}\n\n.example-headers-align[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%] {\n margin-left: 8px;\n}"]})}return D})(),Ne=(()=>{class D{static#e=this.\u0275fac=function(x){return new(x||D)};static#t=this.\u0275cmp=e.VBU({type:D,selectors:[["expansion-harness-example"]],standalone:!0,features:[e.aNF],decls:7,vars:0,template:function(x,A){1&x&&(e.j41(0,"mat-accordion")(1,"mat-expansion-panel")(2,"mat-expansion-panel-header")(3,"mat-panel-title"),e.EFF(4," Welcome "),e.k0s()(),e.j41(5,"p"),e.EFF(6,"I am the content!"),e.k0s()()())},dependencies:[De,ye,ve,xe,ke],encapsulation:2})}return D})()},9417:(Ke,ne,_)=>{_.d(ne,{BC:()=>H,JD:()=>Gt,MJ:()=>ce,MR:()=>Bt,Q0:()=>Pt,X1:()=>Gi,YN:()=>Hi,YS:()=>wt,ZU:()=>K,Zm:()=>T,cV:()=>ae,cb:()=>Q,cz:()=>y,gE:()=>Ye,j4:()=>Mt,k0:()=>U,kq:()=>G,l_:()=>Lt,me:()=>S,ok:()=>Ui,qT:()=>Zt,vO:()=>g,vS:()=>Rt,wz:()=>At,xH:()=>ii,xq:()=>Xt,y7:()=>ni});var e=_(4438),I=_(177),X=_(4787),B=_(696),a=_(5286),Y=_(5006);let W=(()=>{class r{constructor(i,d){this._renderer=i,this._elementRef=d,this.onChange=h=>{},this.onTouched=()=>{}}setProperty(i,d){this._renderer.setProperty(this._elementRef.nativeElement,i,d)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}static#e=this.\u0275fac=function(d){return new(d||r)(e.rXU(e.sFG),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:r})}return r})(),V=(()=>{class r extends W{static#e=this.\u0275fac=(()=>{let i;return function(h){return(i||(i=e.xGo(r)))(h||r)}})();static#t=this.\u0275dir=e.FsC({type:r,features:[e.Vt3]})}return r})();const G=new e.nKC(""),N={provide:G,useExisting:(0,e.Rfq)(()=>T),multi:!0};let T=(()=>{class r extends V{writeValue(i){this.setProperty("checked",i)}static#e=this.\u0275fac=(()=>{let i;return function(h){return(i||(i=e.xGo(r)))(h||r)}})();static#t=this.\u0275dir=e.FsC({type:r,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(d,h){1&d&&e.bIt("change",function(L){return h.onChange(L.target.checked)})("blur",function(){return h.onTouched()})},features:[e.Jv_([N]),e.Vt3]})}return r})();const j={provide:G,useExisting:(0,e.Rfq)(()=>S),multi:!0},P=new e.nKC("");let S=(()=>{class r extends W{constructor(i,d,h){super(i,d),this._compositionMode=h,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function b(){const r=(0,I.QT)()?(0,I.QT)().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}())}writeValue(i){this.setProperty("value",i??"")}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}static#e=this.\u0275fac=function(d){return new(d||r)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(P,8))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(d,h){1&d&&e.bIt("input",function(L){return h._handleInput(L.target.value)})("blur",function(){return h.onTouched()})("compositionstart",function(){return h._compositionStart()})("compositionend",function(L){return h._compositionEnd(L.target.value)})},features:[e.Jv_([j]),e.Vt3]})}return r})();function q(r){return null==r||("string"==typeof r||Array.isArray(r))&&0===r.length}function f(r){return null!=r&&"number"==typeof r.length}const y=new e.nKC(""),k=new e.nKC(""),R=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class U{static min(o){return function te(r){return o=>{if(q(o.value)||q(r))return null;const i=parseFloat(o.value);return!isNaN(i)&&i<r?{min:{min:r,actual:o.value}}:null}}(o)}static max(o){return function re(r){return o=>{if(q(o.value)||q(r))return null;const i=parseFloat(o.value);return!isNaN(i)&&i>r?{max:{max:r,actual:o.value}}:null}}(o)}static required(o){return ge(o)}static requiredTrue(o){return we(o)}static email(o){return function he(r){return q(r.value)||R.test(r.value)?null:{email:!0}}(o)}static minLength(o){return function ue(r){return o=>q(o.value)||!f(o.value)?null:o.value.length<r?{minlength:{requiredLength:r,actualLength:o.value.length}}:null}(o)}static maxLength(o){return function Ee(r){return o=>f(o.value)&&o.value.length>r?{maxlength:{requiredLength:r,actualLength:o.value.length}}:null}(o)}static pattern(o){return function be(r){if(!r)return ie;let o,i;return"string"==typeof r?(i="","^"!==r.charAt(0)&&(i+="^"),i+=r,"$"!==r.charAt(r.length-1)&&(i+="$"),o=new RegExp(i)):(i=r.toString(),o=r),d=>{if(q(d.value))return null;const h=d.value;return o.test(h)?null:{pattern:{requiredPattern:i,actualValue:h}}}}(o)}static nullValidator(o){return null}static compose(o){return ye(o)}static composeAsync(o){return oe(o)}}function ge(r){return q(r.value)?{required:!0}:null}function we(r){return!0===r.value?null:{required:!0}}function ie(r){return null}function ve(r){return null!=r}function Te(r){return(0,e.jNT)(r)?(0,X.H)(r):r}function He(r){let o={};return r.forEach(i=>{o=null!=i?{...o,...i}:o}),0===Object.keys(o).length?null:o}function xe(r,o){return o.map(i=>i(r))}function ke(r){return r.map(o=>function Be(r){return!r.validate}(o)?o:i=>o.validate(i))}function ye(r){if(!r)return null;const o=r.filter(ve);return 0==o.length?null:function(i){return He(xe(i,o))}}function De(r){return null!=r?ye(ke(r)):null}function oe(r){if(!r)return null;const o=r.filter(ve);return 0==o.length?null:function(i){const d=xe(i,o).map(Te);return(0,B.p)(d).pipe((0,Y.T)(He))}}function Ce(r){return null!=r?oe(ke(r)):null}function de(r,o){return null===r?[o]:Array.isArray(r)?[...r,o]:[r,o]}function Ve(r){return r._rawValidators}function Fe(r){return r._rawAsyncValidators}function Se(r){return r?Array.isArray(r)?r:[r]:[]}function Re(r,o){return Array.isArray(r)?r.includes(o):r===o}function me(r,o){const i=Se(o);return Se(r).forEach(h=>{Re(i,h)||i.push(h)}),i}function Ne(r,o){return Se(o).filter(i=>!Re(r,i))}class D{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(o){this._rawValidators=o||[],this._composedValidatorFn=De(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=Ce(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o=void 0){this.control&&this.control.reset(o)}hasError(o,i){return!!this.control&&this.control.hasError(o,i)}getError(o,i){return this.control?this.control.getError(o,i):null}}class K extends D{get formDirective(){return null}get path(){return null}}class g extends D{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class x{constructor(o){this._cd=o}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let H=(()=>{class r extends x{constructor(i){super(i)}static#e=this.\u0275fac=function(d){return new(d||r)(e.rXU(g,2))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(d,h){2&d&&e.AVh("ng-untouched",h.isUntouched)("ng-touched",h.isTouched)("ng-pristine",h.isPristine)("ng-dirty",h.isDirty)("ng-valid",h.isValid)("ng-invalid",h.isInvalid)("ng-pending",h.isPending)},features:[e.Vt3]})}return r})(),Q=(()=>{class r extends x{constructor(i){super(i)}static#e=this.\u0275fac=function(d){return new(d||r)(e.rXU(K,10))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(d,h){2&d&&e.AVh("ng-untouched",h.isUntouched)("ng-touched",h.isTouched)("ng-pristine",h.isPristine)("ng-dirty",h.isDirty)("ng-valid",h.isValid)("ng-invalid",h.isInvalid)("ng-pending",h.isPending)("ng-submitted",h.isSubmitted)},features:[e.Vt3]})}return r})();const v="VALID",E="INVALID",z="PENDING",Z="DISABLED";class _e{}class Pe extends _e{constructor(o,i){super(),this.value=o,this.source=i}}class ze extends _e{constructor(o,i){super(),this.pristine=o,this.source=i}}class lt extends _e{constructor(o,i){super(),this.touched=o,this.source=i}}class We extends _e{constructor(o,i){super(),this.status=o,this.source=i}}class kt extends _e{constructor(o){super(),this.source=o}}class _t extends _e{constructor(o){super(),this.source=o}}function Xe(r){return(tt(r)?r.validators:r)||null}function ct(r,o){return(tt(o)?o.asyncValidators:r)||null}function tt(r){return null!=r&&!Array.isArray(r)&&"object"==typeof r}function vt(r,o,i){const d=r.controls;if(!(o?Object.keys(d):d).length)throw new e.wOt(1e3,"");if(!d[i])throw new e.wOt(1001,"")}function ht(r,o,i){r._forEachChild((d,h)=>{if(void 0===i[h])throw new e.wOt(1002,"")})}class Ae{constructor(o,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new a.B7,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(o),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===v}get invalid(){return this.status===E}get pending(){return this.status==z}get disabled(){return this.status===Z}get enabled(){return this.status!==Z}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._assignValidators(o)}setAsyncValidators(o){this._assignAsyncValidators(o)}addValidators(o){this.setValidators(me(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(me(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(Ne(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(Ne(o,this._rawAsyncValidators))}hasValidator(o){return Re(this._rawValidators,o)}hasAsyncValidator(o){return Re(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){const i=!1===this.touched;this.touched=!0;const d=o.sourceControl??this;this._parent&&!o.onlySelf&&this._parent.markAsTouched({...o,sourceControl:d}),i&&!1!==o.emitEvent&&this._events.next(new lt(!0,d))}markAllAsTouched(o={}){this.markAsTouched({onlySelf:!0,emitEvent:o.emitEvent,sourceControl:this}),this._forEachChild(i=>i.markAllAsTouched(o))}markAsUntouched(o={}){const i=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const d=o.sourceControl??this;this._forEachChild(h=>{h.markAsUntouched({onlySelf:!0,emitEvent:o.emitEvent,sourceControl:d})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o,d),i&&!1!==o.emitEvent&&this._events.next(new lt(!1,d))}markAsDirty(o={}){const i=!0===this.pristine;this.pristine=!1;const d=o.sourceControl??this;this._parent&&!o.onlySelf&&this._parent.markAsDirty({...o,sourceControl:d}),i&&!1!==o.emitEvent&&this._events.next(new ze(!1,d))}markAsPristine(o={}){const i=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const d=o.sourceControl??this;this._forEachChild(h=>{h.markAsPristine({onlySelf:!0,emitEvent:o.emitEvent})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o,d),i&&!1!==o.emitEvent&&this._events.next(new ze(!0,d))}markAsPending(o={}){this.status=z;const i=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new We(this.status,i)),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.markAsPending({...o,sourceControl:i})}disable(o={}){const i=this._parentMarkedDirty(o.onlySelf);this.status=Z,this.errors=null,this._forEachChild(h=>{h.disable({...o,onlySelf:!0})}),this._updateValue();const d=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new Pe(this.value,d)),this._events.next(new We(this.status,d)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...o,skipPristineCheck:i},this),this._onDisabledChange.forEach(h=>h(!0))}enable(o={}){const i=this._parentMarkedDirty(o.onlySelf);this.status=v,this._forEachChild(d=>{d.enable({...o,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors({...o,skipPristineCheck:i},this),this._onDisabledChange.forEach(d=>d(!1))}_updateAncestors(o,i){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine({},i),this._parent._updateTouched({},i))}setParent(o){this._parent=o}getRawValue(){return this.value}updateValueAndValidity(o={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const d=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===v||this.status===z)&&this._runAsyncValidator(d,o.emitEvent)}const i=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new Pe(this.value,i)),this._events.next(new We(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity({...o,sourceControl:i})}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Z:v}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o,i){if(this.asyncValidator){this.status=z,this._hasOwnPendingAsyncValidator={emitEvent:!1!==i};const d=Te(this.asyncValidator(this));this._asyncValidationSubscription=d.subscribe(h=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(h,{emitEvent:i,shouldHaveEmitted:o})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const o=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,o}return!1}setErrors(o,i={}){this.errors=o,this._updateControlsErrors(!1!==i.emitEvent,this,i.shouldHaveEmitted)}get(o){let i=o;return null==i||(Array.isArray(i)||(i=i.split(".")),0===i.length)?null:i.reduce((d,h)=>d&&d._find(h),this)}getError(o,i){const d=i?this.get(i):this;return d&&d.errors?d.errors[o]:null}hasError(o,i){return!!this.getError(o,i)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o,i,d){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),(o||d)&&this._events.next(new We(this.status,i)),this._parent&&this._parent._updateControlsErrors(o,i,d)}_initObservables(){this.valueChanges=new e.bkB,this.statusChanges=new e.bkB}_calculateStatus(){return this._allControlsDisabled()?Z:this.errors?E:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(z)?z:this._anyControlsHaveStatus(E)?E:v}_anyControlsHaveStatus(o){return this._anyControls(i=>i.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o,i){const d=!this._anyControlsDirty(),h=this.pristine!==d;this.pristine=d,this._parent&&!o.onlySelf&&this._parent._updatePristine(o,i),h&&this._events.next(new ze(this.pristine,i))}_updateTouched(o={},i){this.touched=this._anyControlsTouched(),this._events.next(new lt(this.touched,i)),this._parent&&!o.onlySelf&&this._parent._updateTouched(o,i)}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){tt(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(o){return null}_assignValidators(o){this._rawValidators=Array.isArray(o)?o.slice():o,this._composedValidatorFn=function gt(r){return Array.isArray(r)?De(r):r||null}(this._rawValidators)}_assignAsyncValidators(o){this._rawAsyncValidators=Array.isArray(o)?o.slice():o,this._composedAsyncValidatorFn=function bt(r){return Array.isArray(r)?Ce(r):r||null}(this._rawAsyncValidators)}}class Ye extends Ae{constructor(o,i,d){super(Xe(i),ct(d,i)),this.controls=o,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,i){return this.controls[o]?this.controls[o]:(this.controls[o]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(o,i,d={}){this.registerControl(o,i),this.updateValueAndValidity({emitEvent:d.emitEvent}),this._onCollectionChange()}removeControl(o,i={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(o,i,d={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],i&&this.registerControl(o,i),this.updateValueAndValidity({emitEvent:d.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,i={}){ht(this,0,o),Object.keys(o).forEach(d=>{vt(this,!0,d),this.controls[d].setValue(o[d],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(o,i={}){null!=o&&(Object.keys(o).forEach(d=>{const h=this.controls[d];h&&h.patchValue(o[d],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(o={},i={}){this._forEachChild((d,h)=>{d.reset(o?o[h]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i,this),this._updateTouched(i,this),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(o,i,d)=>(o[d]=i.getRawValue(),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(i,d)=>!!d._syncPendingControls()||i);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(i=>{const d=this.controls[i];d&&o(d,i)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const[i,d]of Object.entries(this.controls))if(this.contains(i)&&o(d))return!0;return!1}_reduceValue(){return this._reduceChildren({},(i,d,h)=>((d.enabled||this.disabled)&&(i[h]=d.value),i))}_reduceChildren(o,i){let d=o;return this._forEachChild((h,w)=>{d=i(d,h,w)}),d}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(o){return this.controls.hasOwnProperty(o)?this.controls[o]:null}}class xt extends Ye{}const Oe=new e.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>je}),je="always";function Qe(r,o){return[...o.path,r]}function Je(r,o,i=je){qe(r,o),o.valueAccessor.writeValue(r.value),(r.disabled||"always"===i)&&o.valueAccessor.setDisabledState?.(r.disabled),function yt(r,o){o.valueAccessor.registerOnChange(i=>{r._pendingValue=i,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&mt(r,o)})}(r,o),function Ot(r,o){const i=(d,h)=>{o.valueAccessor.writeValue(d),h&&o.viewToModelUpdate(d)};r.registerOnChange(i),o._registerOnDestroy(()=>{r._unregisterOnChange(i)})}(r,o),function Dt(r,o){o.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,"blur"===r.updateOn&&r._pendingChange&&mt(r,o),"submit"!==r.updateOn&&r.markAsTouched()})}(r,o),function St(r,o){if(o.valueAccessor.setDisabledState){const i=d=>{o.valueAccessor.setDisabledState(d)};r.registerOnDisabledChange(i),o._registerOnDestroy(()=>{r._unregisterOnDisabledChange(i)})}}(r,o)}function Ze(r,o,i=!0){const d=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(d),o.valueAccessor.registerOnTouched(d)),Le(r,o),r&&(o._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function it(r,o){r.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(o)})}function qe(r,o){const i=Ve(r);null!==o.validator?r.setValidators(de(i,o.validator)):"function"==typeof i&&r.setValidators([i]);const d=Fe(r);null!==o.asyncValidator?r.setAsyncValidators(de(d,o.asyncValidator)):"function"==typeof d&&r.setAsyncValidators([d]);const h=()=>r.updateValueAndValidity();it(o._rawValidators,h),it(o._rawAsyncValidators,h)}function Le(r,o){let i=!1;if(null!==r){if(null!==o.validator){const h=Ve(r);if(Array.isArray(h)&&h.length>0){const w=h.filter(L=>L!==o.validator);w.length!==h.length&&(i=!0,r.setValidators(w))}}if(null!==o.asyncValidator){const h=Fe(r);if(Array.isArray(h)&&h.length>0){const w=h.filter(L=>L!==o.asyncValidator);w.length!==h.length&&(i=!0,r.setAsyncValidators(w))}}}const d=()=>{};return it(o._rawValidators,d),it(o._rawAsyncValidators,d),i}function mt(r,o){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function Ct(r,o){qe(r,o)}function M(r,o){if(!r.hasOwnProperty("model"))return!1;const i=r.model;return!!i.isFirstChange()||!Object.is(o,i.currentValue)}function s(r,o){r._syncPendingControls(),o.forEach(i=>{const d=i.control;"submit"===d.updateOn&&d._pendingChange&&(i.viewToModelUpdate(d._pendingValue),d._pendingChange=!1)})}function n(r,o){if(!o)return null;let i,d,h;return Array.isArray(o),o.forEach(w=>{w.constructor===S?i=w:function t(r){return Object.getPrototypeOf(r.constructor)===V}(w)?d=w:h=w}),h||d||i||null}const F={provide:K,useExisting:(0,e.Rfq)(()=>ae)},ee=Promise.resolve();let ae=(()=>{class r extends K{constructor(i,d,h){super(),this.callSetDisabledState=h,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.bkB,this.form=new Ye({},De(i),Ce(d))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){ee.then(()=>{const d=this._findContainer(i.path);i.control=d.registerControl(i.name,i.control),Je(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){ee.then(()=>{const d=this._findContainer(i.path);d&&d.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){ee.then(()=>{const d=this._findContainer(i.path),h=new Ye({});Ct(h,i),d.registerControl(i.name,h),h.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){ee.then(()=>{const d=this._findContainer(i.path);d&&d.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,d){ee.then(()=>{this.form.get(i.path).setValue(d)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,s(this.form,this._directives),this.ngSubmit.emit(i),"dialog"===i?.target?.method}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}static#e=this.\u0275fac=function(d){return new(d||r)(e.rXU(y,10),e.rXU(k,10),e.rXU(Oe,8))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(d,h){1&d&&e.bIt("submit",function(L){return h.onSubmit(L)})("reset",function(){return h.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([F]),e.Vt3]})}return r})();function Ie(r,o){const i=r.indexOf(o);i>-1&&r.splice(i,1)}function se(r){return"object"==typeof r&&null!==r&&2===Object.keys(r).length&&"value"in r&&"disabled"in r}const ce=class extends Ae{constructor(o=null,i,d){super(Xe(i),ct(d,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),tt(i)&&(i.nonNullable||i.initialValueIsDefault)&&(this.defaultValue=se(o)?o.value:o)}setValue(o,i={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==i.emitModelToViewChange&&this._onChange.forEach(d=>d(this.value,!1!==i.emitViewToModelChange)),this.updateValueAndValidity(i)}patchValue(o,i={}){this.setValue(o,i)}reset(o=this.defaultValue,i={}){this._applyFormState(o),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){Ie(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){Ie(this._onDisabledChange,o)}_forEachChild(o){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(o){se(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}},bi={provide:g,useExisting:(0,e.Rfq)(()=>Rt)},Jt=Promise.resolve();let Rt=(()=>{class r extends g{constructor(i,d,h,w,L,Ue){super(),this._changeDetectorRef=L,this.callSetDisabledState=Ue,this.control=new ce,this._registered=!1,this.name="",this.update=new e.bkB,this._parent=i,this._setValidators(d),this._setAsyncValidators(h),this.valueAccessor=n(0,w)}ngOnChanges(i){if(this._checkForErrors(),!this._registered||"name"in i){if(this._registered&&(this._checkName(),this.formDirective)){const d=i.name.previousValue;this.formDirective.removeControl({name:d,path:this._getPath(d)})}this._setUpControl()}"isDisabled"in i&&this._updateDisabled(i),M(i,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Je(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(i){Jt.then(()=>{this.control.setValue(i,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(i){const d=i.isDisabled.currentValue,h=0!==d&&(0,e.L39)(d);Jt.then(()=>{h&&!this.control.disabled?this.control.disable():!h&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(i){return this._parent?Qe(i,this._parent):[i]}static#e=this.\u0275fac=function(d){return new(d||r)(e.rXU(K,9),e.rXU(y,10),e.rXU(k,10),e.rXU(G,10),e.rXU(e.gRc,8),e.rXU(Oe,8))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e.Jv_([bi]),e.Vt3,e.OA$]})}return r})(),Zt=(()=>{class r{static#e=this.\u0275fac=function(d){return new(d||r)};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return r})();const vi={provide:G,useExisting:(0,e.Rfq)(()=>Pt),multi:!0};let Pt=(()=>{class r extends V{writeValue(i){this.setProperty("value",i??"")}registerOnChange(i){this.onChange=d=>{i(""==d?null:parseFloat(d))}}static#e=this.\u0275fac=(()=>{let i;return function(h){return(i||(i=e.xGo(r)))(h||r)}})();static#t=this.\u0275dir=e.FsC({type:r,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(d,h){1&d&&e.bIt("input",function(L){return h.onChange(L.target.value)})("blur",function(){return h.onTouched()})},features:[e.Jv_([vi]),e.Vt3]})}return r})();const Di={provide:G,useExisting:(0,e.Rfq)(()=>Bt),multi:!0};let Bt=(()=>{class r extends V{writeValue(i){this.setProperty("value",parseFloat(i))}registerOnChange(i){this.onChange=d=>{i(""==d?null:parseFloat(d))}}static#e=this.\u0275fac=(()=>{let i;return function(h){return(i||(i=e.xGo(r)))(h||r)}})();static#t=this.\u0275dir=e.FsC({type:r,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(d,h){1&d&&e.bIt("change",function(L){return h.onChange(L.target.value)})("input",function(L){return h.onChange(L.target.value)})("blur",function(){return h.onTouched()})},features:[e.Jv_([Di]),e.Vt3]})}return r})();const Nt=new e.nKC(""),Ci={provide:g,useExisting:(0,e.Rfq)(()=>Lt)};let Lt=(()=>{class r extends g{set isDisabled(i){}static#e=this._ngModelWarningSentOnce=!1;constructor(i,d,h,w,L){super(),this._ngModelWarningConfig=w,this.callSetDisabledState=L,this.update=new e.bkB,this._ngModelWarningSent=!1,this._setValidators(i),this._setAsyncValidators(d),this.valueAccessor=n(0,h)}ngOnChanges(i){if(this._isControlChanged(i)){const d=i.form.previousValue;d&&Ze(d,this,!1),Je(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}M(i,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ze(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_isControlChanged(i){return i.hasOwnProperty("form")}static#t=this.\u0275fac=function(d){return new(d||r)(e.rXU(y,10),e.rXU(k,10),e.rXU(G,10),e.rXU(Nt,8),e.rXU(Oe,8))};static#i=this.\u0275dir=e.FsC({type:r,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e.Jv_([Ci]),e.Vt3,e.OA$]})}return r})();const Mi={provide:K,useExisting:(0,e.Rfq)(()=>Mt)};let Mt=(()=>{class r extends K{constructor(i,d,h){super(),this.callSetDisabledState=h,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.bkB,this._setValidators(i),this._setAsyncValidators(d)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Le(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){const d=this.form.get(i.path);return Je(d,i,this.callSetDisabledState),d.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),d}getControl(i){return this.form.get(i.path)}removeControl(i){Ze(i.control||null,i,!1),function l(r,o){const i=r.indexOf(o);i>-1&&r.splice(i,1)}(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,d){this.form.get(i.path).setValue(d)}onSubmit(i){return this.submitted=!0,s(this.form,this.directives),this.ngSubmit.emit(i),this.form._events.next(new kt(this.control)),"dialog"===i?.target?.method}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1,this.form._events.next(new _t(this.form))}_updateDomValue(){this.directives.forEach(i=>{const d=i.control,h=this.form.get(i.path);d!==h&&(Ze(d||null,i),(r=>r instanceof ce)(h)&&(Je(h,i,this.callSetDisabledState),i.control=h))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){const d=this.form.get(i.path);Ct(d,i),d.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){const d=this.form.get(i.path);d&&function It(r,o){return Le(r,o)}(d,i)&&d.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qe(this.form,this),this._oldForm&&Le(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(d){return new(d||r)(e.rXU(y,10),e.rXU(k,10),e.rXU(Oe,8))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","formGroup",""]],hostBindings:function(d,h){1&d&&e.bIt("submit",function(L){return h.onSubmit(L)})("reset",function(){return h.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([Mi]),e.Vt3,e.OA$]})}return r})();const Ei={provide:g,useExisting:(0,e.Rfq)(()=>Gt)};let Gt=(()=>{class r extends g{set isDisabled(i){}static#e=this._ngModelWarningSentOnce=!1;constructor(i,d,h,w,L){super(),this._ngModelWarningConfig=L,this._added=!1,this.name=null,this.update=new e.bkB,this._ngModelWarningSent=!1,this._parent=i,this._setValidators(d),this._setAsyncValidators(h),this.valueAccessor=n(0,w)}ngOnChanges(i){this._added||this._setUpControl(),M(i,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}get path(){return Qe(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(d){return new(d||r)(e.rXU(K,13),e.rXU(y,10),e.rXU(k,10),e.rXU(G,10),e.rXU(Nt,8))};static#i=this.\u0275dir=e.FsC({type:r,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[e.Jv_([Ei]),e.Vt3,e.OA$]})}return r})();const ki={provide:G,useExisting:(0,e.Rfq)(()=>At),multi:!0};function ti(r,o){return null==r?`${o}`:(o&&"object"==typeof o&&(o="Object"),`${r}: ${o}`.slice(0,50))}let At=(()=>{class r extends V{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(i){this._compareWith=i}writeValue(i){this.value=i;const h=ti(this._getOptionId(i),i);this.setProperty("value",h)}registerOnChange(i){this.onChange=d=>{this.value=this._getOptionValue(d),i(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(i){for(const d of this._optionMap.keys())if(this._compareWith(this._optionMap.get(d),i))return d;return null}_getOptionValue(i){const d=function Vi(r){return r.split(":")[0]}(i);return this._optionMap.has(d)?this._optionMap.get(d):i}static#e=this.\u0275fac=(()=>{let i;return function(h){return(i||(i=e.xGo(r)))(h||r)}})();static#t=this.\u0275dir=e.FsC({type:r,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(d,h){1&d&&e.bIt("change",function(L){return h.onChange(L.target.value)})("blur",function(){return h.onTouched()})},inputs:{compareWith:"compareWith"},features:[e.Jv_([ki]),e.Vt3]})}return r})(),ii=(()=>{class r{constructor(i,d,h){this._element=i,this._renderer=d,this._select=h,this._select&&(this.id=this._select._registerOption())}set ngValue(i){null!=this._select&&(this._select._optionMap.set(this.id,i),this._setElementValue(ti(this.id,i)),this._select.writeValue(this._select.value))}set value(i){this._setElementValue(i),this._select&&this._select.writeValue(this._select.value)}_setElementValue(i){this._renderer.setProperty(this._element.nativeElement,"value",i)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(d){return new(d||r)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(At,9))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return r})();const Fi={provide:G,useExisting:(0,e.Rfq)(()=>zt),multi:!0};function ai(r,o){return null==r?`${o}`:("string"==typeof o&&(o=`'${o}'`),o&&"object"==typeof o&&(o="Object"),`${r}: ${o}`.slice(0,50))}let zt=(()=>{class r extends V{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(i){this._compareWith=i}writeValue(i){let d;if(this.value=i,Array.isArray(i)){const h=i.map(w=>this._getOptionId(w));d=(w,L)=>{w._setSelected(h.indexOf(L.toString())>-1)}}else d=(h,w)=>{h._setSelected(!1)};this._optionMap.forEach(d)}registerOnChange(i){this.onChange=d=>{const h=[],w=d.selectedOptions;if(void 0!==w){const L=w;for(let Ue=0;Ue<L.length;Ue++){const Yt=this._getOptionValue(L[Ue].value);h.push(Yt)}}else{const L=d.options;for(let Ue=0;Ue<L.length;Ue++){const Et=L[Ue];if(Et.selected){const Yt=this._getOptionValue(Et.value);h.push(Yt)}}}this.value=h,i(h)}}_registerOption(i){const d=(this._idCounter++).toString();return this._optionMap.set(d,i),d}_getOptionId(i){for(const d of this._optionMap.keys())if(this._compareWith(this._optionMap.get(d)._value,i))return d;return null}_getOptionValue(i){const d=function Si(r){return r.split(":")[0]}(i);return this._optionMap.has(d)?this._optionMap.get(d)._value:i}static#e=this.\u0275fac=(()=>{let i;return function(h){return(i||(i=e.xGo(r)))(h||r)}})();static#t=this.\u0275dir=e.FsC({type:r,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(d,h){1&d&&e.bIt("change",function(L){return h.onChange(L.target)})("blur",function(){return h.onTouched()})},inputs:{compareWith:"compareWith"},features:[e.Jv_([Fi]),e.Vt3]})}return r})(),ni=(()=>{class r{constructor(i,d,h){this._element=i,this._renderer=d,this._select=h,this._select&&(this.id=this._select._registerOption(this))}set ngValue(i){null!=this._select&&(this._value=i,this._setElementValue(ai(this.id,i)),this._select.writeValue(this._select.value))}set value(i){this._select?(this._value=i,this._setElementValue(ai(this.id,i)),this._select.writeValue(this._select.value)):this._setElementValue(i)}_setElementValue(i){this._renderer.setProperty(this._element.nativeElement,"value",i)}_setSelected(i){this._renderer.setProperty(this._element.nativeElement,"selected",i)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(d){return new(d||r)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(zt,9))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return r})(),et=(()=>{class r{constructor(){this._validator=ie}ngOnChanges(i){if(this.inputName in i){const d=this.normalizeInput(i[this.inputName].currentValue);this._enabled=this.enabled(d),this._validator=this._enabled?this.createValidator(d):ie,this._onChange&&this._onChange()}}validate(i){return this._validator(i)}registerOnValidatorChange(i){this._onChange=i}enabled(i){return null!=i}static#e=this.\u0275fac=function(d){return new(d||r)};static#t=this.\u0275dir=e.FsC({type:r,features:[e.OA$]})}return r})();const Ti={provide:y,useExisting:(0,e.Rfq)(()=>wt),multi:!0},Ri={provide:y,useExisting:(0,e.Rfq)(()=>Xt),multi:!0};let wt=(()=>{class r extends et{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.L39,this.createValidator=i=>ge}enabled(i){return i}static#e=this.\u0275fac=(()=>{let i;return function(h){return(i||(i=e.xGo(r)))(h||r)}})();static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(d,h){2&d&&e.BMQ("required",h._enabled?"":null)},inputs:{required:"required"},features:[e.Jv_([Ti]),e.Vt3]})}return r})(),Xt=(()=>{class r extends wt{constructor(){super(...arguments),this.createValidator=i=>we}static#e=this.\u0275fac=(()=>{let i;return function(h){return(i||(i=e.xGo(r)))(h||r)}})();static#t=this.\u0275dir=e.FsC({type:r,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(d,h){2&d&&e.BMQ("required",h._enabled?"":null)},features:[e.Jv_([Ri]),e.Vt3]})}return r})(),mi=(()=>{class r{static#e=this.\u0275fac=function(d){return new(d||r)};static#t=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({})}return r})();class fi extends Ae{constructor(o,i,d){super(Xe(i),ct(d,i)),this.controls=o,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[this._adjustIndex(o)]}push(o,i={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}insert(o,i,d={}){this.controls.splice(o,0,i),this._registerControl(i),this.updateValueAndValidity({emitEvent:d.emitEvent})}removeAt(o,i={}){let d=this._adjustIndex(o);d<0&&(d=0),this.controls[d]&&this.controls[d]._registerOnCollectionChange(()=>{}),this.controls.splice(d,1),this.updateValueAndValidity({emitEvent:i.emitEvent})}setControl(o,i,d={}){let h=this._adjustIndex(o);h<0&&(h=0),this.controls[h]&&this.controls[h]._registerOnCollectionChange(()=>{}),this.controls.splice(h,1),i&&(this.controls.splice(h,0,i),this._registerControl(i)),this.updateValueAndValidity({emitEvent:d.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,i={}){ht(this,0,o),o.forEach((d,h)=>{vt(this,!1,h),this.at(h).setValue(d,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(o,i={}){null!=o&&(o.forEach((d,h)=>{this.at(h)&&this.at(h).patchValue(d,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(o=[],i={}){this._forEachChild((d,h)=>{d.reset(o[h],{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i,this),this._updateTouched(i,this),this.updateValueAndValidity(i)}getRawValue(){return this.controls.map(o=>o.getRawValue())}clear(o={}){this.controls.length<1||(this._forEachChild(i=>i._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_adjustIndex(o){return o<0?o+this.length:o}_syncPendingControls(){let o=this.controls.reduce((i,d)=>!!d._syncPendingControls()||i,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((i,d)=>{o(i,d)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(i=>i.enabled&&o(i))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}_find(o){return this.at(o)??null}}function pi(r){return!!r&&(void 0!==r.asyncValidators||void 0!==r.validators||void 0!==r.updateOn)}let Ui=(()=>{class r{constructor(){this.useNonNullable=!1}get nonNullable(){const i=new r;return i.useNonNullable=!0,i}group(i,d=null){const h=this._reduceControls(i);let w={};return pi(d)?w=d:null!==d&&(w.validators=d.validator,w.asyncValidators=d.asyncValidator),new Ye(h,w)}record(i,d=null){const h=this._reduceControls(i);return new xt(h,d)}control(i,d,h){let w={};return this.useNonNullable?(pi(d)?w=d:(w.validators=d,w.asyncValidators=h),new ce(i,{...w,nonNullable:!0})):new ce(i,d,h)}array(i,d,h){const w=i.map(L=>this._createControl(L));return new fi(w,d,h)}_reduceControls(i){const d={};return Object.keys(i).forEach(h=>{d[h]=this._createControl(i[h])}),d}_createControl(i){return i instanceof ce||i instanceof Ae?i:Array.isArray(i)?this.control(i[0],i.length>1?i[1]:null,i.length>2?i[2]:null):this.control(i)}static#e=this.\u0275fac=function(d){return new(d||r)};static#t=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Hi=(()=>{class r{static withConfig(i){return{ngModule:r,providers:[{provide:Oe,useValue:i.callSetDisabledState??je}]}}static#e=this.\u0275fac=function(d){return new(d||r)};static#t=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({imports:[mi]})}return r})(),Gi=(()=>{class r{static withConfig(i){return{ngModule:r,providers:[{provide:Nt,useValue:i.warnOnNgModelWithFormControl??"always"},{provide:Oe,useValue:i.callSetDisabledState??je}]}}static#e=this.\u0275fac=function(d){return new(d||r)};static#t=this.\u0275mod=e.$C({type:r});static#i=this.\u0275inj=e.G2t({imports:[mi]})}return r})()},5084:(Ke,ne,_)=>{_.d(ne,{Cz:()=>ft,IG:()=>mt,JJ:()=>Xe,SG:()=>It,T7:()=>Kt,Vh:()=>Ye,Wl:()=>je,X6:()=>$t,ad:()=>J,bU:()=>Qe,bZ:()=>Oe,dz:()=>Ge,el:()=>Ct,jj:()=>Tt,qG:()=>me,xR:()=>Dt});var e=_(8617),I=_(2753),X=_(6939),B=_(177),a=_(4438),Y=_(8834),W=_(5478),V=_(6600),G=_(5286),N=_(4337),T=_(4670),j=_(4421),b=_(7336),P=_(8203),S=_(6860),q=_(3176),f=_(9493),y=_(8728),k=_(4085),R=_(9969),U=_(9417),te=_(3719),re=_(9042);const ge=["mat-calendar-body",""];function we(c,M){return this._trackRow(M)}const he=(c,M)=>M.id;function ue(c,M){if(1&c&&(a.j41(0,"tr",0)(1,"td",3),a.EFF(2),a.k0s()()),2&c){const t=a.XpG();a.R7$(),a.xc7("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.BMQ("colspan",t.numCols),a.R7$(),a.SpI(" ",t.label," ")}}function Ee(c,M){if(1&c&&(a.j41(0,"td",3),a.EFF(1),a.k0s()),2&c){const t=a.XpG(2);a.xc7("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.BMQ("colspan",t._firstRowOffset),a.R7$(),a.SpI(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function be(c,M){if(1&c){const t=a.RV6();a.j41(0,"td",6)(1,"button",7),a.bIt("click",function(n){const l=a.eBV(t).$implicit,u=a.XpG(2);return a.Njj(u._cellClicked(l,n))})("focus",function(n){const l=a.eBV(t).$implicit,u=a.XpG(2);return a.Njj(u._emitActiveDateChange(l,n))}),a.j41(2,"span",8),a.EFF(3),a.k0s(),a.nrm(4,"span",9),a.k0s()()}if(2&c){const t=M.$implicit,s=M.$index,n=a.XpG().$index,l=a.XpG();a.xc7("width",l._cellWidth)("padding-top",l._cellPadding)("padding-bottom",l._cellPadding),a.BMQ("data-mat-row",n)("data-mat-col",s),a.R7$(),a.AVh("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",l._isActiveCell(n,s))("mat-calendar-body-range-start",l._isRangeStart(t.compareValue))("mat-calendar-body-range-end",l._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",l._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",l._isComparisonBridgeStart(t.compareValue,n,s))("mat-calendar-body-comparison-bridge-end",l._isComparisonBridgeEnd(t.compareValue,n,s))("mat-calendar-body-comparison-start",l._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",l._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",l._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",l._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",l._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",l._isInPreview(t.compareValue)),a.Y8G("ngClass",t.cssClasses)("tabindex",l._isActiveCell(n,s)?0:-1),a.BMQ("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-pressed",l._isSelected(t.compareValue))("aria-current",l.todayValue===t.compareValue?"date":null)("aria-describedby",l._getDescribedby(t.compareValue)),a.R7$(),a.AVh("mat-calendar-body-selected",l._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",l._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",l.todayValue===t.compareValue),a.R7$(),a.SpI(" ",t.displayValue," ")}}function ie(c,M){if(1&c&&(a.j41(0,"tr",1),a.DNE(1,Ee,2,6,"td",4),a.Z7z(2,be,5,48,"td",5,he),a.k0s()),2&c){const t=M.$implicit,s=M.$index,n=a.XpG();a.R7$(),a.vxM(0===s&&n._firstRowOffset?1:-1),a.R7$(),a.Dyx(t)}}function ve(c,M){if(1&c&&(a.j41(0,"th",2)(1,"span",6),a.EFF(2),a.k0s(),a.j41(3,"span",3),a.EFF(4),a.k0s()()),2&c){const t=M.$implicit;a.R7$(2),a.JRh(t.long),a.R7$(2),a.JRh(t.narrow)}}const Te=["*"];function He(c,M){}function xe(c,M){if(1&c){const t=a.RV6();a.j41(0,"mat-month-view",4),a.mxI("activeDateChange",function(n){a.eBV(t);const l=a.XpG();return a.DH7(l.activeDate,n)||(l.activeDate=n),a.Njj(n)}),a.bIt("_userSelection",function(n){a.eBV(t);const l=a.XpG();return a.Njj(l._dateSelected(n))})("dragStarted",function(n){a.eBV(t);const l=a.XpG();return a.Njj(l._dragStarted(n))})("dragEnded",function(n){a.eBV(t);const l=a.XpG();return a.Njj(l._dragEnded(n))}),a.k0s()}if(2&c){const t=a.XpG();a.R50("activeDate",t.activeDate),a.Y8G("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("startDateAccessibleName",t.startDateAccessibleName)("endDateAccessibleName",t.endDateAccessibleName)("activeDrag",t._activeDrag)}}function Be(c,M){if(1&c){const t=a.RV6();a.j41(0,"mat-year-view",5),a.mxI("activeDateChange",function(n){a.eBV(t);const l=a.XpG();return a.DH7(l.activeDate,n)||(l.activeDate=n),a.Njj(n)}),a.bIt("monthSelected",function(n){a.eBV(t);const l=a.XpG();return a.Njj(l._monthSelectedInYearView(n))})("selectedChange",function(n){a.eBV(t);const l=a.XpG();return a.Njj(l._goToDateInView(n,"month"))}),a.k0s()}if(2&c){const t=a.XpG();a.R50("activeDate",t.activeDate),a.Y8G("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function ke(c,M){if(1&c){const t=a.RV6();a.j41(0,"mat-multi-year-view",6),a.mxI("activeDateChange",function(n){a.eBV(t);const l=a.XpG();return a.DH7(l.activeDate,n)||(l.activeDate=n),a.Njj(n)}),a.bIt("yearSelected",function(n){a.eBV(t);const l=a.XpG();return a.Njj(l._yearSelectedInMultiYearView(n))})("selectedChange",function(n){a.eBV(t);const l=a.XpG();return a.Njj(l._goToDateInView(n,"year"))}),a.k0s()}if(2&c){const t=a.XpG();a.R50("activeDate",t.activeDate),a.Y8G("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function ye(c,M){}const De=["button"],oe=[[["","matDatepickerToggleIcon",""]]],Ce=["[matDatepickerToggleIcon]"];function de(c,M){1&c&&(a.qSk(),a.j41(0,"svg",2),a.nrm(1,"path",3),a.k0s())}const Ve=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Fe=["input[matStartDate]","input[matEndDate]"];function Se(c,M){1&c&&(a.j41(0,"div",0),a.SdG(1),a.k0s())}let me=(()=>{class c{constructor(){this.changes=new G.B7,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,s){return`${t} \u2013 ${s}`}formatYearRangeLabel(t,s){return`${t} to ${s}`}static#e=this.\u0275fac=function(s){return new(s||c)};static#t=this.\u0275prov=a.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Ne=0;class D{constructor(M,t,s,n,l={},u=M,F){this.value=M,this.displayValue=t,this.ariaLabel=s,this.enabled=n,this.cssClasses=l,this.compareValue=u,this.rawValue=F,this.id=Ne++}}let K=1;const g=(0,S.BQ)({passive:!1,capture:!0}),x=(0,S.BQ)({passive:!0,capture:!0}),A=(0,S.BQ)({passive:!0});let O=(()=>{class c{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(t,s){this._elementRef=t,this._ngZone=s,this._platform=(0,a.WQX)(S.OD),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new a.bkB,this.previewChange=new a.bkB,this.activeDateChange=new a.bkB,this.dragStarted=new a.bkB,this.dragEnded=new a.bkB,this._didDragSinceMouseDown=!1,this._injector=(0,a.WQX)(a.zZn),this._trackRow=n=>n,this._enterHandler=n=>{if(this._skipNextFocus&&"focus"===n.type)this._skipNextFocus=!1;else if(n.target&&this.isRange){const l=this._getCellFromElement(n.target);l&&this._ngZone.run(()=>this.previewChange.emit({value:l.enabled?l:null,event:n}))}},this._touchmoveHandler=n=>{if(!this.isRange)return;const l=$e(n),u=l?this._getCellFromElement(l):null;l!==n.target&&(this._didDragSinceMouseDown=!0),Q(n.target)&&n.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:u?.enabled?u:null,event:n}))},this._leaveHandler=n=>{null!==this.previewEnd&&this.isRange&&("blur"!==n.type&&(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;const l=n.target&&this._getCellFromElement(n.target);!l||!this._isInRange(l.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:l.rawValue,event:n})})},this._mouseupHandler=n=>{if(!this.isRange)return;const l=Q(n.target);l?l.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const u=this._getCellFromElement(l);this.dragEnded.emit({value:u?.rawValue??null,event:n})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:n})})},this._touchendHandler=n=>{const l=$e(n);l&&this._mouseupHandler({target:l})},this._id="mat-calendar-body-"+K++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,s.runOutsideAngular(()=>{const n=t.nativeElement;n.addEventListener("touchmove",this._touchmoveHandler,g),n.addEventListener("mouseenter",this._enterHandler,x),n.addEventListener("focus",this._enterHandler,x),n.addEventListener("mouseleave",this._leaveHandler,x),n.addEventListener("blur",this._leaveHandler,x),n.addEventListener("mousedown",this._mousedownHandler,A),n.addEventListener("touchstart",this._mousedownHandler,A),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(t,s){this._didDragSinceMouseDown||t.enabled&&this.selectedValueChange.emit({value:t.value,event:s})}_emitActiveDateChange(t,s){t.enabled&&this.activeDateChange.emit({value:t.value,event:s})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const s=t.numCols,{rows:n,numCols:l}=this;(t.rows||s)&&(this._firstRowOffset=n&&n.length&&n[0].length?l-n[0].length:0),(t.cellAspectRatio||s||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/l+"%"),(s||!this._cellWidth)&&(this._cellWidth=100/l+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("touchmove",this._touchmoveHandler,g),t.removeEventListener("mouseenter",this._enterHandler,x),t.removeEventListener("focus",this._enterHandler,x),t.removeEventListener("mouseleave",this._leaveHandler,x),t.removeEventListener("blur",this._leaveHandler,x),t.removeEventListener("mousedown",this._mousedownHandler,A),t.removeEventListener("touchstart",this._mousedownHandler,A),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(t,s){let n=t*this.numCols+s;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(t=!0){(0,a.mal)(()=>{setTimeout(()=>{const s=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");s&&(t||(this._skipNextFocus=!0),s.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(t){return le(t,this.startValue,this.endValue)}_isRangeEnd(t){return fe(t,this.startValue,this.endValue)}_isInRange(t){return pe(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return le(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,s,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let l=this.rows[s][n-1];if(!l){const u=this.rows[s-1];l=u&&u[u.length-1]}return l&&!this._isRangeEnd(l.compareValue)}_isComparisonBridgeEnd(t,s,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let l=this.rows[s][n+1];if(!l){const u=this.rows[s+1];l=u&&u[0]}return l&&!this._isRangeStart(l.compareValue)}_isComparisonEnd(t){return fe(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return pe(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return le(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return fe(t,this.previewStart,this.previewEnd)}_isInPreview(t){return pe(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){const s=Q(t);if(s){const n=s.getAttribute("data-mat-row"),l=s.getAttribute("data-mat-col");if(n&&l)return this.rows[parseInt(n)][parseInt(l)]}return null}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(a.aKT),a.rXU(a.SKi))};static#t=this.\u0275cmp=a.VBU({type:c,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:[a.OA$,a.aNF],attrs:ge,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(s,n){1&s&&(a.DNE(0,ue,3,6,"tr",0),a.Z7z(1,ie,4,1,"tr",1,we,!0),a.j41(3,"label",2),a.EFF(4),a.k0s(),a.j41(5,"label",2),a.EFF(6),a.k0s()),2&s&&(a.vxM(n._firstRowOffset<n.labelMinRequiredCells?0:-1),a.R7$(),a.Dyx(n.rows),a.R7$(2),a.Y8G("id",n._startDateLabelId),a.R7$(),a.SpI(" ",n.startDateAccessibleName,"\n"),a.R7$(),a.Y8G("id",n._endDateLabelId),a.R7$(),a.SpI(" ",n.endDateAccessibleName,"\n"))},dependencies:[B.YU],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})}return c})();function H(c){return"TD"===c?.nodeName}function Q(c){let M;return H(c)?M=c:H(c.parentNode)?M=c.parentNode:H(c.parentNode?.parentNode)&&(M=c.parentNode.parentNode),null!=M?.getAttribute("data-mat-row")?M:null}function le(c,M,t){return null!==t&&M!==t&&c<t&&c===M}function fe(c,M,t){return null!==M&&M!==t&&c>=M&&c===t}function pe(c,M,t,s){return s&&null!==M&&null!==t&&M!==t&&c>=M&&c<=t}function $e(c){const M=c.changedTouches[0];return document.elementFromPoint(M.clientX,M.clientY)}class J{constructor(M,t){this.start=M,this.end=t}}let Me=(()=>{class c{constructor(t,s){this.selection=t,this._adapter=s,this._selectionChanged=new G.B7,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,s){const n=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:s,oldValue:n})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}static#e=this.\u0275fac=function(s){a.QTQ()};static#t=this.\u0275prov=a.jDH({token:c,factory:c.\u0275fac})}return c})(),at=(()=>{class c extends Me{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const t=new c(this._adapter);return t.updateSelection(this.selection,this),t}static#e=this.\u0275fac=function(s){return new(s||c)(a.KVO(V.MJ))};static#t=this.\u0275prov=a.jDH({token:c,factory:c.\u0275fac})}return c})(),nt=(()=>{class c extends Me{constructor(t){super(new J(null,null),t)}add(t){let{start:s,end:n}=this.selection;null==s?s=t:null==n?n=t:(s=t,n=null),super.updateSelection(new J(s,n),this)}isValid(){const{start:t,end:s}=this.selection;return null==t&&null==s||(null!=t&&null!=s?this._isValidDateInstance(t)&&this._isValidDateInstance(s)&&this._adapter.compareDate(t,s)<=0:(null==t||this._isValidDateInstance(t))&&(null==s||this._isValidDateInstance(s)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const t=new c(this._adapter);return t.updateSelection(this.selection,this),t}static#e=this.\u0275fac=function(s){return new(s||c)(a.KVO(V.MJ))};static#t=this.\u0275prov=a.jDH({token:c,factory:c.\u0275fac})}return c})();const ot={provide:Me,deps:[[new a.Xx1,new a.kdw,Me],V.MJ],useFactory:function rt(c,M){return c||new at(M)}},pt={provide:Me,deps:[[new a.Xx1,new a.kdw,Me],V.MJ],useFactory:function st(c,M){return c||new nt(M)}},Ge=new a.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let dt=(()=>{class c{constructor(t){this._dateAdapter=t}selectionFinished(t,s){let{start:n,end:l}=s;return null==n?n=t:null==l&&t&&this._dateAdapter.compareDate(t,n)>=0?l=t:(n=t,l=null),new J(n,l)}createPreview(t,s){let n=null,l=null;return s.start&&!s.end&&t&&(n=s.start,l=t),new J(n,l)}createDrag(t,s,n){let l=s.start,u=s.end;if(!l||!u)return null;const F=this._dateAdapter,ee=0!==F.compareDate(l,u),ae=F.getYear(n)-F.getYear(t),Ie=F.getMonth(n)-F.getMonth(t),se=F.getDate(n)-F.getDate(t);return ee&&F.sameDate(t,s.start)?(l=n,F.compareDate(n,u)>0&&(u=F.addCalendarYears(u,ae),u=F.addCalendarMonths(u,Ie),u=F.addCalendarDays(u,se))):ee&&F.sameDate(t,s.end)?(u=n,F.compareDate(n,l)<0&&(l=F.addCalendarYears(l,ae),l=F.addCalendarMonths(l,Ie),l=F.addCalendarDays(l,se))):(l=F.addCalendarYears(l,ae),l=F.addCalendarMonths(l,Ie),l=F.addCalendarDays(l,se),u=F.addCalendarYears(u,ae),u=F.addCalendarMonths(u,Ie),u=F.addCalendarDays(u,se)),new J(l,u)}static#e=this.\u0275fac=function(s){return new(s||c)(a.KVO(V.MJ))};static#t=this.\u0275prov=a.jDH({token:c,factory:c.\u0275fac})}return c})();const $={provide:Ge,deps:[[new a.Xx1,new a.kdw,Ge],V.MJ],useFactory:function p(c,M){return c||new dt(M)}};let C=0,v=(()=>{class c{get activeDate(){return this._activeDate}set activeDate(t){const s=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(s,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof J?t: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,s,n,l,u){this._changeDetectorRef=t,this._dateFormats=s,this._dateAdapter=n,this._dir=l,this._rangeStrategy=u,this._rerenderSubscription=N.y.EMPTY,this.activeDrag=null,this.selectedChange=new a.bkB,this._userSelection=new a.bkB,this.dragStarted=new a.bkB,this.dragEnded=new a.bkB,this.activeDateChange=new a.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,q.Z)(null)).subscribe(()=>this._init())}ngOnChanges(t){const s=t.comparisonStart||t.comparisonEnd;s&&!s.firstChange&&this._setRanges(this.selected),t.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const s=t.value,n=this._getDateFromDayOfMonth(s);let l,u;this._selected instanceof J?(l=this._getDateInCurrentMonth(this._selected.start),u=this._getDateInCurrentMonth(this._selected.end)):l=u=this._getDateInCurrentMonth(this._selected),(l!==s||u!==s)&&this.selectedChange.emit(n),this._userSelection.emit({value:n,event:t.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(t){const n=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(t.value),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(t){const s=this._activeDate,n=this._isRtl();switch(t.keyCode){case b.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case b.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case b.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case b.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case b.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case b.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case b.w_:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case b.dB:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case b.Fm:case b.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&t.preventDefault());case b._f:return void(null!=this._previewEnd&&!(0,b.rp)(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()));default:return}this._dateAdapter.compareDate(s,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===b.t6||t.keyCode===b.Fm)&&(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=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:t,value:s}){if(this._rangeStrategy){const n=s?s.rawValue:null,l=this._rangeStrategy.createPreview(n,this.selected,t);if(this._previewStart=this._getCellCompareValue(l.start),this._previewEnd=this._getCellCompareValue(l.end),this.activeDrag&&n){const u=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,n,t);u&&(this._previewStart=this._getCellCompareValue(u.start),this._previewEnd=this._getCellCompareValue(u.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(t){if(this.activeDrag)if(t.value){const s=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,t.value,t.event);this.dragEnded.emit({value:s??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(){const t=this._dateAdapter.getFirstDayOfWeek(),s=this._dateAdapter.getDayOfWeekNames("narrow");let l=this._dateAdapter.getDayOfWeekNames("long").map((u,F)=>({long:u,narrow:s[F],id:C++}));this._weekdays=l.slice(t).concat(l.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),s=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,l=this._firstWeekOffset;n<t;n++,l++){7==l&&(this._weeks.push([]),l=0);const u=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),F=this._shouldEnableDate(u),ee=this._dateAdapter.format(u,this._dateFormats.display.dateA11yLabel),ae=this.dateClass?this.dateClass(u,"month"):void 0;this._weeks[this._weeks.length-1].push(new D(n+1,s[n],ee,F,ae,this._getCellCompareValue(u),u))}}_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,s){return!(!t||!s||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(s)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(s))}_getCellCompareValue(t){if(t){const s=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),l=this._dateAdapter.getDate(t);return new Date(s,n,l).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof J?(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}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(a.gRc),a.rXU(V.de,8),a.rXU(V.MJ,8),a.rXU(P.dS,8),a.rXU(Ge,8))};static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-month-view"]],viewQuery:function(s,n){if(1&s&&a.GBs(O,5),2&s){let l;a.mGM(l=a.lsd())&&(n._matCalendarBody=l.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:[a.OA$,a.aNF],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(s,n){1&s&&(a.j41(0,"table",0)(1,"thead",1)(2,"tr"),a.Z7z(3,ve,5,2,"th",2,he),a.k0s(),a.j41(5,"tr",3),a.nrm(6,"th",4),a.k0s()(),a.j41(7,"tbody",5),a.bIt("selectedValueChange",function(u){return n._dateSelected(u)})("activeDateChange",function(u){return n._updateActiveDate(u)})("previewChange",function(u){return n._previewChanged(u)})("dragStarted",function(u){return n.dragStarted.emit(u)})("dragEnded",function(u){return n._dragEnded(u)})("keyup",function(u){return n._handleCalendarBodyKeyup(u)})("keydown",function(u){return n._handleCalendarBodyKeydown(u)}),a.k0s()()),2&s&&(a.R7$(3),a.Dyx(n._weekdays),a.R7$(4),a.Y8G("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:[O],encapsulation:2,changeDetection:0})}return c})();const E=24;let Z=(()=>{class c{get activeDate(){return this._activeDate}set activeDate(t){let s=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),_e(this._dateAdapter,s,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof J?t: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,s,n){this._changeDetectorRef=t,this._dateAdapter=s,this._dir=n,this._rerenderSubscription=N.y.EMPTY,this.selectedChange=new a.bkB,this.yearSelected=new a.bkB,this.activeDateChange=new a.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,q.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const s=this._dateAdapter.getYear(this._activeDate)-Pe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let n=0,l=[];n<E;n++)l.push(s+n),4==l.length&&(this._years.push(l.map(u=>this._createCellForYear(u))),l=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const s=t.value,n=this._dateAdapter.createDate(s,0,1),l=this._getDateFromYear(s);this.yearSelected.emit(n),this.selectedChange.emit(l)}_updateActiveDate(t){const n=this._activeDate;this.activeDate=this._getDateFromYear(t.value),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){const s=this._activeDate,n=this._isRtl();switch(t.keyCode){case b.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case b.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case b.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case b.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case b.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Pe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case b.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,E-Pe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case b.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10*-E:-E);break;case b.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10*E:E);break;case b.Fm:case b.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===b.t6||t.keyCode===b.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_getActiveCell(){return Pe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(t){const s=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,s,1));return this._dateAdapter.createDate(t,s,Math.min(this._dateAdapter.getDate(this.activeDate),n))}_createCellForYear(t){const s=this._dateAdapter.createDate(t,0,1),n=this._dateAdapter.getYearName(s),l=this.dateClass?this.dateClass(s,"multi-year"):void 0;return new D(t,n,n,this._shouldEnableYear(t),l)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(t){if(this._selectedYear=null,t instanceof J){const s=t.start||t.end;s&&(this._selectedYear=this._dateAdapter.getYear(s))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(a.gRc),a.rXU(V.MJ,8),a.rXU(P.dS,8))};static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-multi-year-view"]],viewQuery:function(s,n){if(1&s&&a.GBs(O,5),2&s){let l;a.mGM(l=a.lsd())&&(n._matCalendarBody=l.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:[a.aNF],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(s,n){1&s&&(a.j41(0,"table",0)(1,"thead",1)(2,"tr"),a.nrm(3,"th",2),a.k0s()(),a.j41(4,"tbody",3),a.bIt("selectedValueChange",function(u){return n._yearSelected(u)})("activeDateChange",function(u){return n._updateActiveDate(u)})("keyup",function(u){return n._handleCalendarBodyKeyup(u)})("keydown",function(u){return n._handleCalendarBodyKeydown(u)}),a.k0s()()),2&s&&(a.R7$(4),a.Y8G("rows",n._years)("todayValue",n._todayYear)("startValue",n._selectedYear)("endValue",n._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",n._getActiveCell()))},dependencies:[O],encapsulation:2,changeDetection:0})}return c})();function _e(c,M,t,s,n){const l=c.getYear(M),u=c.getYear(t),F=ze(c,s,n);return Math.floor((l-F)/E)===Math.floor((u-F)/E)}function Pe(c,M,t,s){return function lt(c,M){return(c%M+M)%M}(c.getYear(M)-ze(c,t,s),E)}function ze(c,M,t){let s=0;return t?s=c.getYear(t)-E+1:M&&(s=c.getYear(M)),s}let We=(()=>{class c{get activeDate(){return this._activeDate}set activeDate(t){let s=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(s)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof J?t: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,s,n,l){this._changeDetectorRef=t,this._dateFormats=s,this._dateAdapter=n,this._dir=l,this._rerenderSubscription=N.y.EMPTY,this.selectedChange=new a.bkB,this.monthSelected=new a.bkB,this.activeDateChange=new a.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,q.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const s=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),s,1);this.monthSelected.emit(n);const l=this._getDateFromMonth(s);this.selectedChange.emit(l)}_updateActiveDate(t){const n=this._activeDate;this.activeDate=this._getDateFromMonth(t.value),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){const s=this._activeDate,n=this._isRtl();switch(t.keyCode){case b.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case b.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case b.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case b.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case b.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case b.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case b.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case b.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case b.Fm:case b.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(s,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===b.t6||t.keyCode===b.Fm)&&(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(s=>s.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){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),n=this._dateAdapter.getNumDaysInMonth(s);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),n))}_createCellForMonth(t,s){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),l=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),u=this.dateClass?this.dateClass(n,"year"):void 0;return new D(t,s.toLocaleUpperCase(),l,this._shouldEnableMonth(t),u)}_shouldEnableMonth(t){const s=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(s,t)||this._isYearAndMonthBeforeMinDate(s,t))return!1;if(!this.dateFilter)return!0;for(let l=this._dateAdapter.createDate(s,t,1);this._dateAdapter.getMonth(l)==t;l=this._dateAdapter.addCalendarDays(l,1))if(this.dateFilter(l))return!0;return!1}_isYearAndMonthAfterMaxDate(t,s){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),l=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&s>l}return!1}_isYearAndMonthBeforeMinDate(t,s){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),l=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&s<l}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(t){this._selectedMonth=t instanceof J?this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._getMonthInCurrentYear(t)}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(a.gRc),a.rXU(V.de,8),a.rXU(V.MJ,8),a.rXU(P.dS,8))};static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-year-view"]],viewQuery:function(s,n){if(1&s&&a.GBs(O,5),2&s){let l;a.mGM(l=a.lsd())&&(n._matCalendarBody=l.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:[a.aNF],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(s,n){1&s&&(a.j41(0,"table",0)(1,"thead",1)(2,"tr"),a.nrm(3,"th",2),a.k0s()(),a.j41(4,"tbody",3),a.bIt("selectedValueChange",function(u){return n._monthSelected(u)})("activeDateChange",function(u){return n._updateActiveDate(u)})("keyup",function(u){return n._handleCalendarBodyKeyup(u)})("keydown",function(u){return n._handleCalendarBodyKeydown(u)}),a.k0s()()),2&s&&(a.R7$(4),a.Y8G("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:[O],encapsulation:2,changeDetection:0})}return c})(),kt=1,_t=(()=>{class c{constructor(t,s,n,l,u){this._intl=t,this.calendar=s,this._dateAdapter=n,this._dateFormats=l,this._id="mat-calendar-header-"+kt++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>u.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?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="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-E)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:E)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,s){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(s)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(s):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(s):_e(this._dateAdapter,t,s,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const s=this._dateAdapter.getYear(this.calendar.activeDate)-Pe(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),n=s+E-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1))]}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(me),a.rXU((0,a.Rfq)(()=>Xe)),a.rXU(V.MJ,8),a.rXU(V.de,8),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[a.aNF],ngContentSelectors:Te,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],[1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button","aria-live","polite",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(s,n){1&s&&(a.NAR(),a.j41(0,"div",0)(1,"div",1)(2,"label",2),a.EFF(3),a.k0s(),a.j41(4,"button",3),a.bIt("click",function(){return n.currentPeriodClicked()}),a.j41(5,"span",4),a.EFF(6),a.k0s(),a.qSk(),a.j41(7,"svg",5),a.nrm(8,"polygon",6),a.k0s()(),a.joV(),a.nrm(9,"div",7),a.SdG(10),a.j41(11,"button",8),a.bIt("click",function(){return n.previousClicked()}),a.k0s(),a.j41(12,"button",9),a.bIt("click",function(){return n.nextClicked()}),a.k0s()()()),2&s&&(a.R7$(2),a.Y8G("id",n._periodButtonLabelId),a.R7$(),a.JRh(n.periodButtonDescription),a.R7$(),a.BMQ("aria-label",n.periodButtonLabel)("aria-describedby",n._periodButtonLabelId),a.R7$(2),a.JRh(n.periodButtonText),a.R7$(),a.AVh("mat-calendar-invert","month"!==n.calendar.currentView),a.R7$(4),a.Y8G("disabled",!n.previousEnabled()),a.BMQ("aria-label",n.prevButtonLabel),a.R7$(),a.Y8G("disabled",!n.nextEnabled()),a.BMQ("aria-label",n.nextButtonLabel))},dependencies:[Y.$z,Y.iY],encapsulation:2,changeDetection:0})}return c})(),Xe=(()=>{class c{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){this._selected=t instanceof J?t: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){const s=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),s&&this.viewChanged.emit(s)}constructor(t,s,n,l){this._dateAdapter=s,this._dateFormats=n,this._changeDetectorRef=l,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.bkB,this.yearSelected=new a.bkB,this.monthSelected=new a.bkB,this.viewChanged=new a.bkB(!0),this._userSelection=new a.bkB,this._userDragDrop=new a.bkB,this._activeDrag=null,this.stateChanges=new G.B7,this._intlChanges=t.changes.subscribe(()=>{l.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new X.A8(this.headerComponent||_t),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){const s=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,l=s||n||t.dateFilter;if(l&&!l.firstChange){const u=this._getCurrentViewComponent();u&&(this._changeDetectorRef.detectChanges(),u._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(t){const s=t.value;(this.selected instanceof J||s&&!this._dateAdapter.sameDate(s,this.selected))&&this.selectedChange.emit(s),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,s){this.activeDate=t,this.currentView=s}_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}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(me),a.rXU(V.MJ,8),a.rXU(V.de,8),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-calendar"]],viewQuery:function(s,n){if(1&s&&(a.GBs(v,5),a.GBs(We,5),a.GBs(Z,5)),2&s){let l;a.mGM(l=a.lsd())&&(n.monthView=l.first),a.mGM(l=a.lsd())&&(n.yearView=l.first),a.mGM(l=a.lsd())&&(n.multiYearView=l.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:[a.Jv_([ot]),a.OA$,a.aNF],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(s,n){if(1&s&&(a.DNE(0,He,0,0,"ng-template",0),a.j41(1,"div",1),a.DNE(2,xe,1,11,"mat-month-view",2)(3,Be,1,6,"mat-year-view",3)(4,ke,1,6,"mat-multi-year-view",3),a.k0s()),2&s){let l;a.Y8G("cdkPortalOutlet",n._calendarHeaderPortal),a.R7$(2),a.vxM("month"===(l=n.currentView)?2:"year"===l?3:"multi-year"===l?4:-1)}},dependencies:[X.I3,e.vR,v,We,Z],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})}return c})();const gt={transformPanel:(0,R.hZ)("transformPanel",[(0,R.kY)("void => enter-dropdown",(0,R.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,R.i7)([(0,R.iF)({opacity:0,transform:"scale(1, 0.8)"}),(0,R.iF)({opacity:1,transform:"scale(1, 1)"})]))),(0,R.kY)("void => enter-dialog",(0,R.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,R.i7)([(0,R.iF)({opacity:0,transform:"scale(0.7)"}),(0,R.iF)({transform:"none",opacity:1})]))),(0,R.kY)("* => void",(0,R.i0)("100ms linear",(0,R.iF)({opacity:0})))]),fadeInCalendar:(0,R.hZ)("fadeInCalendar",[(0,R.wk)("void",(0,R.iF)({opacity:0})),(0,R.wk)("enter",(0,R.iF)({opacity:1})),(0,R.kY)("void => *",(0,R.i0)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let ct=0;const bt=new a.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const c=(0,a.WQX)(I.hJ);return()=>c.scrollStrategies.reposition()}}),vt={provide:bt,deps:[I.hJ],useFactory:function tt(c){return()=>c.scrollStrategies.reposition()}};let ht=(()=>{class c{constructor(t,s,n,l,u,F){this._elementRef=t,this._changeDetectorRef=s,this._globalModel=n,this._dateAdapter=l,this._rangeSelectionStrategy=u,this._subscriptions=new N.y,this._animationDone=new G.B7,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=F.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){const s=this._model.selection,n=t.value,l=s instanceof J;if(l&&this._rangeSelectionStrategy){const u=this._rangeSelectionStrategy.selectionFinished(n,s,t.event);this._model.updateSelection(u,this)}else n&&(l||!this._dateAdapter.sameDate(n,s))&&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="start"===t.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(t,s){this._model=t?this._globalModel.clone():this._globalModel,this._actionsPortal=t,s&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(a.aKT),a.rXU(a.gRc),a.rXU(Me),a.rXU(V.MJ),a.rXU(Ge,8),a.rXU(me))};static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-datepicker-content"]],viewQuery:function(s,n){if(1&s&&a.GBs(Xe,5),2&s){let l;a.mGM(l=a.lsd())&&(n._calendar=l.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(s,n){1&s&&a.Kam("@transformPanel.start",function(u){return n._handleAnimationEvent(u)})("@transformPanel.done",function(u){return n._handleAnimationEvent(u)}),2&s&&(a.zvX("@transformPanel",n._animationState),a.HbH(n.color?"mat-"+n.color:""),a.AVh("mat-datepicker-content-touch",n.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[a.aNF],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(s,n){if(1&s&&(a.j41(0,"div",0)(1,"mat-calendar",1),a.bIt("yearSelected",function(u){return n.datepicker._selectYear(u)})("monthSelected",function(u){return n.datepicker._selectMonth(u)})("viewChanged",function(u){return n.datepicker._viewChanged(u)})("_userSelection",function(u){return n._handleUserSelection(u)})("_userDragDrop",function(u){return n._handleUserDragDrop(u)}),a.k0s(),a.DNE(2,ye,0,0,"ng-template",2),a.j41(3,"button",3),a.bIt("focus",function(){return n._closeButtonFocused=!0})("blur",function(){return n._closeButtonFocused=!1})("click",function(){return n.datepicker.close()}),a.EFF(4),a.k0s()()),2&s){let l;a.AVh("mat-datepicker-content-container-with-custom-header",n.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",n._actionsPortal),a.BMQ("aria-modal",!0)("aria-labelledby",null!==(l=n._dialogLabelId)&&void 0!==l?l:void 0),a.R7$(),a.HbH(n.datepicker.panelClass),a.Y8G("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),a.R7$(),a.Y8G("cdkPortalOutlet",n._actionsPortal),a.R7$(),a.AVh("cdk-visually-hidden",!n._closeButtonFocused),a.Y8G("color",n.color||"primary"),a.R7$(),a.JRh(n._closeButtonText)}},dependencies:[e.kB,Xe,X.I3,Y.$z],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:[gt.transformPanel,gt.fadeInCalendar]},changeDetection:0})}return c})(),Ae=(()=>{class c{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=(0,k.cc)(t)}get opened(){return this._opened}set opened(t){t?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(t,s,n,l,u,F,ee){this._overlay=t,this._viewContainerRef=n,this._dateAdapter=u,this._dir=F,this._model=ee,this._inputStateChanges=N.y.EMPTY,this._document=(0,a.WQX)(B.qQ),this.startView="month",this.touchUi=!1,this.xPosition="start",this.yPosition="below",this.restoreFocus=!0,this.yearSelected=new a.bkB,this.monthSelected=new a.bkB,this.viewChanged=new a.bkB(!0),this.openedStream=new a.bkB,this.closedStream=new a.bkB,this._opened=!1,this.id="mat-datepicker-"+ct++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new G.B7,this._injector=(0,a.WQX)(a.zZn),this._scrollStrategy=l}ngOnChanges(t){const s=t.xPosition||t.yPosition;if(s&&!s.firstChange&&this._overlayRef){const n=this._overlayRef.getConfig().positionStrategy;n instanceof I.rW&&(this._setConnectedPositions(n),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){this._actionsPortal=t,this._componentRef?.instance._assignActions(t,!0)}removeActions(t){t===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,S.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const t=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,s=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:n,location:l}=this._componentRef;n._startExitAnimation(),n._animationDone.pipe((0,f.s)(1)).subscribe(()=>{const u=this._document.activeElement;t&&(!u||u===this._document.activeElement||l.nativeElement.contains(u))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}t?setTimeout(s):s()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._dialogLabelId=this.datepickerInput.getOverlayLabelId(),t._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const t=this.touchUi,s=new X.A8(ht,this._viewContainerRef),n=this._overlayRef=this._overlay.create(new I.rR({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(t?"dialog":"popup")}));this._getCloseStream(n).subscribe(l=>{l&&l.preventDefault(),this.close()}),n.keydownEvents().subscribe(l=>{const u=l.keyCode;(u===b.i7||u===b.n6||u===b.UQ||u===b.LE||u===b.w_||u===b.dB)&&l.preventDefault()}),this._componentRef=n.attach(s),this._forwardContentValues(this._componentRef.instance),t||(0,a.mal)(()=>{n.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}_setConnectedPositions(t){const s="end"===this.xPosition?"end":"start",n="start"===s?"end":"start",l="above"===this.yPosition?"bottom":"top",u="top"===l?"bottom":"top";return t.withPositions([{originX:s,originY:u,overlayX:s,overlayY:l},{originX:s,originY:l,overlayX:s,overlayY:u},{originX:n,originY:u,overlayX:n,overlayY:l},{originX:n,originY:l,overlayX:n,overlayY:u}])}_getCloseStream(t){const s=["ctrlKey","shiftKey","metaKey"];return(0,T.h)(t.backdropClick(),t.detachments(),t.keydownEvents().pipe((0,y.p)(n=>n.keyCode===b._f&&!(0,b.rp)(n)||this.datepickerInput&&(0,b.rp)(n,"altKey")&&n.keyCode===b.i7&&s.every(l=>!(0,b.rp)(n,l)))))}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(I.hJ),a.rXU(a.SKi),a.rXU(a.c1b),a.rXU(bt),a.rXU(V.MJ,8),a.rXU(P.dS,8),a.rXU(Me))};static#t=this.\u0275dir=a.FsC({type:c,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",a.L39],disabled:[2,"disabled","disabled",a.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",a.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",a.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[a.GFd,a.OA$]})}return c})(),Ye=(()=>{class c extends Ae{static#e=this.\u0275fac=(()=>{let t;return function(n){return(t||(t=a.xGo(c)))(n||c)}})();static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[a.Jv_([ot,{provide:Ae,useExisting:c}]),a.Vt3,a.aNF],decls:0,vars:0,template:function(s,n){},encapsulation:2,changeDetection:0})}return c})();class ut{constructor(M,t){this.target=M,this.targetElement=t,this.value=this.target.value}}let Vt=(()=>{class c{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const s=t,n=this._elementRef.nativeElement;this._disabled!==s&&(this._disabled=s,this.stateChanges.next(void 0)),s&&this._isInitialized&&n.blur&&n.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(s=>{if(this._shouldHandleChangeEvent(s)){const n=this._getValueFromModel(s.selection);this._lastValueValid=this._isValidValue(n),this._cvaOnChange(n),this._onTouched(),this._formatValue(n),this.dateInput.emit(new ut(this,this._elementRef.nativeElement)),this.dateChange.emit(new ut(this,this._elementRef.nativeElement))}})}constructor(t,s,n){this._elementRef=t,this._dateAdapter=s,this._dateFormats=n,this.dateChange=new a.bkB,this.dateInput=new a.bkB,this.stateChanges=new G.B7,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=N.y.EMPTY,this._localeSubscription=N.y.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=l=>{const u=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value));return!u||this._matchesFilter(u)?null:{matDatepickerFilter:!0}},this._minValidator=l=>{const u=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),F=this._getMinDate();return!F||!u||this._dateAdapter.compareDate(F,u)<=0?null:{matDatepickerMin:{min:F,actual:u}}},this._maxValidator=l=>{const u=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),F=this._getMaxDate();return!F||!u||this._dateAdapter.compareDate(F,u)>=0?null:{matDatepickerMax:{max:F,actual:u}}},this._lastValueValid=!1,this._localeSubscription=s.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){Ft(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){(0,b.rp)(t,"altKey")&&t.keyCode===b.n6&&["ctrlKey","shiftKey","metaKey"].every(l=>!(0,b.rp)(t,l))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const s=this._lastValueValid;let n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n);const l=!this._dateAdapter.sameDate(n,this.value);!n||l?this._cvaOnChange(n):(t&&!this.value&&this._cvaOnChange(n),s!==this._lastValueValid&&this._validatorOnChange()),l&&(this._assignValue(n),this.dateInput.emit(new ut(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new ut(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=null!=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){const s=this._getDateFilter();return!s||s(t)}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(a.aKT),a.rXU(V.MJ,8),a.rXU(V.de,8))};static#t=this.\u0275dir=a.FsC({type:c,inputs:{value:"value",disabled:[2,"disabled","disabled",a.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[a.GFd,a.OA$]})}return c})();function Ft(c,M){const t=Object.keys(c);for(let s of t){const{previousValue:n,currentValue:l}=c[s];if(!M.isDateInstance(n)||!M.isDateInstance(l))return!0;if(!M.sameDate(n,l))return!0}return!1}const xt={provide:U.kq,useExisting:(0,a.Rfq)(()=>Oe),multi:!0},jt={provide:U.cz,useExisting:(0,a.Rfq)(()=>Oe),multi:!0};let Oe=(()=>{class c extends Vt{set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(s,this._min)||(this._min=s,this._validatorOnChange())}get max(){return this._max}set max(t){const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(s,this._max)||(this._max=s,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const s=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==s&&this._validatorOnChange()}constructor(t,s,n,l){super(t,s,n),this._formField=l,this._closedSubscription=N.y.EMPTY,this._validator=U.k0.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(a.aKT),a.rXU(V.MJ,8),a.rXU(V.de,8),a.rXU(te.xb,8))};static#t=this.\u0275dir=a.FsC({type:c,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(s,n){1&s&&a.bIt("input",function(u){return n._onInput(u.target.value)})("change",function(){return n._onChange()})("blur",function(){return n._onBlur()})("keydown",function(u){return n._onKeydown(u)}),2&s&&(a.Mr5("disabled",n.disabled),a.BMQ("aria-haspopup",n._datepicker?"dialog":null)("aria-owns",(null==n._datepicker?null:n._datepicker.opened)&&n._datepicker.id||null)("min",n.min?n._dateAdapter.toIso8601(n.min):null)("max",n.max?n._dateAdapter.toIso8601(n.max):null)("data-mat-calendar",n._datepicker?n._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[a.Jv_([xt,jt,{provide:re.Oh,useExisting:c}]),a.Vt3]})}return c})(),je=(()=>{class c{static#e=this.\u0275fac=function(s){return new(s||c)};static#t=this.\u0275dir=a.FsC({type:c,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}return c})(),Qe=(()=>{class c{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=t}constructor(t,s,n){this._intl=t,this._changeDetectorRef=s,this._stateChanges=N.y.EMPTY;const l=Number(n);this.tabIndex=l||0===l?l: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(){const t=this.datepicker?this.datepicker.stateChanges:(0,j.of)(),s=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,j.of)(),n=this.datepicker?(0,T.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,j.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,T.h)(this._intl.changes,t,s,n).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(me),a.rXU(a.gRc),a.kS0("tabindex"))};static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-datepicker-toggle"]],contentQueries:function(s,n,l){if(1&s&&a.wni(l,je,5),2&s){let u;a.mGM(u=a.lsd())&&(n._customIcon=u.first)}},viewQuery:function(s,n){if(1&s&&a.GBs(De,5),2&s){let l;a.mGM(l=a.lsd())&&(n._button=l.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(s,n){1&s&&a.bIt("click",function(u){return n._open(u)}),2&s&&(a.BMQ("tabindex",null)("data-mat-calendar",n.datepicker?n.datepicker.id:null),a.AVh("mat-datepicker-toggle-active",n.datepicker&&n.datepicker.opened)("mat-accent",n.datepicker&&"accent"===n.datepicker.color)("mat-warn",n.datepicker&&"warn"===n.datepicker.color))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",a.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[a.GFd,a.OA$,a.aNF],ngContentSelectors:Ce,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(s,n){1&s&&(a.NAR(oe),a.j41(0,"button",1,0),a.DNE(2,de,2,0,":svg:svg",2),a.SdG(3),a.k0s()),2&s&&(a.Y8G("disabled",n.disabled)("disableRipple",n.disableRipple),a.BMQ("aria-haspopup",n.datepicker?"dialog":null)("aria-label",n.ariaLabel||n._intl.openCalendarLabel)("tabindex",n.disabled?-1:n.tabIndex),a.R7$(2),a.vxM(n._customIcon?-1:2))},dependencies:[Y.iY],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})}return c})();function Je(c){return qe(c,!0)}function Ze(c){return c.nodeType===Node.ELEMENT_NODE}function qe(c,M){if(Ze(c)&&M){const s=(c.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((n,l)=>{const u=document.getElementById(l);return u&&n.push(u),n},[]);if(s.length)return s.map(n=>qe(n,!1)).join(" ")}if(Ze(c)){const t=c.getAttribute("aria-label")?.trim();if(t)return t}if(function it(c){return"INPUT"===c.nodeName}(c)||function St(c){return"TEXTAREA"===c.nodeName}(c)){if(c.labels?.length)return Array.from(c.labels).map(n=>qe(n,!1)).join(" ");const t=c.getAttribute("placeholder")?.trim();if(t)return t;const s=c.getAttribute("title")?.trim();if(s)return s}return(c.textContent||"").replace(/\s+/g," ").trim()}const Le=new a.nKC("MAT_DATE_RANGE_INPUT_PARENT");let yt=(()=>{class c extends Vt{get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,s,n,l,u,F,ee,ae){super(s,ee,ae),this._rangeInput=t,this._elementRef=s,this._defaultErrorStateMatcher=n,this._injector=l,this._parentForm=u,this._parentFormGroup=F,this._dir=(0,a.WQX)(P.dS,{optional:!0}),this._errorStateTracker=new V.X0(this._defaultErrorStateMatcher,null,this._parentFormGroup,this._parentForm,this.stateChanges)}ngOnInit(){const t=this._injector.get(U.vO,null,{optional:!0,self:!0});t&&(this.ngControl=t,this._errorStateTracker.ngControl=t)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const t=this._elementRef.nativeElement,s=t.value;return s.length>0?s:t.placeholder}updateErrorState(){this._errorStateTracker.updateErrorState()}_onInput(t){super._onInput(t),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:t}){return t!==this._rangeInput._startInput&&t!==this._rangeInput._endInput}_assignValueProgrammatically(t){super._assignValueProgrammatically(t),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return Je(this._elementRef.nativeElement)}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(Le),a.rXU(a.aKT),a.rXU(V.es),a.rXU(a.zZn),a.rXU(U.cV,8),a.rXU(U.j4,8),a.rXU(V.MJ,8),a.rXU(V.de,8))};static#t=this.\u0275dir=a.FsC({type:c,inputs:{errorStateMatcher:"errorStateMatcher"},standalone:!0,features:[a.Vt3]})}return c})(),Dt=(()=>{class c extends yt{constructor(t,s,n,l,u,F,ee,ae){super(t,s,n,l,u,F,ee,ae),this._startValidator=Ie=>{const se=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ie.value)),ce=this._model?this._model.selection.end:null;return!se||!ce||this._dateAdapter.compareDate(se,ce)<=0?null:{matStartDateInvalid:{end:ce,actual:se}}},this._validator=U.k0.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(t){return t.start}_shouldHandleChangeEvent(t){return!(!super._shouldHandleChangeEvent(t)||(t.oldValue?.start?t.selection.start&&!this._dateAdapter.compareDate(t.oldValue.start,t.selection.start):!t.selection.start))}_assignValueToModel(t){if(this._model){const s=new J(t,this._model.selection.end);this._model.updateSelection(s,this)}}_formatValue(t){super._formatValue(t),this._rangeInput._handleChildValueChange()}_onKeydown(t){const s=this._rangeInput._endInput,n=this._elementRef.nativeElement,l="rtl"!==this._dir?.value;(t.keyCode===b.LE&&l||t.keyCode===b.UQ&&!l)&&n.selectionStart===n.value.length&&n.selectionEnd===n.value.length?(t.preventDefault(),s._elementRef.nativeElement.setSelectionRange(0,0),s.focus()):super._onKeydown(t)}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(Le),a.rXU(a.aKT),a.rXU(V.es),a.rXU(a.zZn),a.rXU(U.cV,8),a.rXU(U.j4,8),a.rXU(V.MJ,8),a.rXU(V.de,8))};static#t=this.\u0275dir=a.FsC({type:c,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(s,n){1&s&&a.bIt("input",function(u){return n._onInput(u.target.value)})("change",function(){return n._onChange()})("keydown",function(u){return n._onKeydown(u)})("blur",function(){return n._onBlur()}),2&s&&(a.Mr5("disabled",n.disabled),a.BMQ("aria-haspopup",n._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==n._rangeInput.rangePicker?null:n._rangeInput.rangePicker.opened)&&n._rangeInput.rangePicker.id||null)("min",n._getMinDate()?n._dateAdapter.toIso8601(n._getMinDate()):null)("max",n._getMaxDate()?n._dateAdapter.toIso8601(n._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[a.Jv_([{provide:U.kq,useExisting:c,multi:!0},{provide:U.cz,useExisting:c,multi:!0}]),a.Vt3]})}return c})(),mt=(()=>{class c extends yt{constructor(t,s,n,l,u,F,ee,ae){super(t,s,n,l,u,F,ee,ae),this._endValidator=Ie=>{const se=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ie.value)),ce=this._model?this._model.selection.start:null;return!se||!ce||this._dateAdapter.compareDate(se,ce)>=0?null:{matEndDateInvalid:{start:ce,actual:se}}},this._validator=U.k0.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(t){return t.end}_shouldHandleChangeEvent(t){return!(!super._shouldHandleChangeEvent(t)||(t.oldValue?.end?t.selection.end&&!this._dateAdapter.compareDate(t.oldValue.end,t.selection.end):!t.selection.end))}_assignValueToModel(t){if(this._model){const s=new J(this._model.selection.start,t);this._model.updateSelection(s,this)}}_moveCaretToEndOfStartInput(){const t=this._rangeInput._startInput._elementRef.nativeElement,s=t.value;s.length>0&&t.setSelectionRange(s.length,s.length),t.focus()}_onKeydown(t){const s=this._elementRef.nativeElement,n="rtl"!==this._dir?.value;t.keyCode!==b.G_||s.value?(t.keyCode===b.UQ&&n||t.keyCode===b.LE&&!n)&&0===s.selectionStart&&0===s.selectionEnd?(t.preventDefault(),this._moveCaretToEndOfStartInput()):super._onKeydown(t):this._moveCaretToEndOfStartInput()}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(Le),a.rXU(a.aKT),a.rXU(V.es),a.rXU(a.zZn),a.rXU(U.cV,8),a.rXU(U.j4,8),a.rXU(V.MJ,8),a.rXU(V.de,8))};static#t=this.\u0275dir=a.FsC({type:c,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(s,n){1&s&&a.bIt("input",function(u){return n._onInput(u.target.value)})("change",function(){return n._onChange()})("keydown",function(u){return n._onKeydown(u)})("blur",function(){return n._onBlur()}),2&s&&(a.Mr5("disabled",n.disabled),a.BMQ("aria-haspopup",n._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==n._rangeInput.rangePicker?null:n._rangeInput.rangePicker.opened)&&n._rangeInput.rangePicker.id||null)("min",n._getMinDate()?n._dateAdapter.toIso8601(n._getMinDate()):null)("max",n._getMaxDate()?n._dateAdapter.toIso8601(n._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[a.Jv_([{provide:U.kq,useExisting:c,multi:!0},{provide:U.cz,useExisting:c,multi:!0}]),a.Vt3]})}return c})(),Ot=0,Ct=(()=>{class c{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const t=this._startInput?._getPlaceholder()||"",s=this._endInput?._getPlaceholder()||"";return t||s?`${t} ${this.separator} ${s}`:""}get rangePicker(){return this._rangePicker}set rangePicker(t){t&&(this._model=t.registerInput(this),this._rangePicker=t,this._closedSubscription.unsubscribe(),this._closedSubscription=t.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(t){this._required=t}get dateFilter(){return this._dateFilter}set dateFilter(t){const s=this._startInput,n=this._endInput,l=s&&s._matchesFilter(s.value),u=n&&n._matchesFilter(s.value);this._dateFilter=t,s&&s._matchesFilter(s.value)!==l&&s._validatorOnChange(),n&&n._matchesFilter(n.value)!==u&&n._validatorOnChange()}get min(){return this._min}set min(t){const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(s,this._min)||(this._min=s,this._revalidate())}get max(){return this._max}set max(t){const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(s,this._max)||(this._max=s,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(t){t!==this._groupDisabled&&(this._groupDisabled=t,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const t=!!this._startInput&&this._startInput.isEmpty(),s=!!this._endInput&&this._endInput.isEmpty();return t&&s}constructor(t,s,n,l,u){this._changeDetectorRef=t,this._elementRef=s,this._dateAdapter=l,this._formField=u,this._closedSubscription=N.y.EMPTY,this.id="mat-date-range-input-"+Ot++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new G.B7,this.disableAutomaticLabeling=!0,u?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&s.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=n}setDescribedByIds(t){this._ariaDescribedBy=t.length?t.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,T.h)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(t){Ft(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(t){const s="start"===t?this._startInput:this._endInput;return s?s.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const t=this._formField;return t&&t._hasFloatingLabel()?t._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(t){this.focused=null!==t,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(t){this._startInput&&this._startInput._registerModel(t),this._endInput&&this._endInput._registerModel(t)}_isTargetRequired(t){return t?.ngControl?.control?.hasValidator(U.k0.required)}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(U.ZU,10),a.rXU(V.MJ,8),a.rXU(te.xb,8))};static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-date-range-input"]],contentQueries:function(s,n,l){if(1&s&&(a.wni(l,Dt,5),a.wni(l,mt,5)),2&s){let u;a.mGM(u=a.lsd())&&(n._startInput=u.first),a.mGM(u=a.lsd())&&(n._endInput=u.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(s,n){2&s&&(a.BMQ("id",n.id)("aria-labelledby",n._getAriaLabelledby())("aria-describedby",n._ariaDescribedBy)("data-mat-calendar",n.rangePicker?n.rangePicker.id:null),a.AVh("mat-date-range-input-hide-placeholders",n._shouldHidePlaceholders())("mat-date-range-input-required",n.required))},inputs:{rangePicker:"rangePicker",required:[2,"required","required",a.L39],dateFilter:"dateFilter",min:"min",max:"max",disabled:[2,"disabled","disabled",a.L39],separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],standalone:!0,features:[a.Jv_([{provide:te.qT,useExisting:c},{provide:Le,useExisting:c}]),a.GFd,a.OA$,a.aNF],ngContentSelectors:Fe,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(s,n){1&s&&(a.NAR(Ve),a.j41(0,"div",0),a.bIt("cdkFocusChange",function(u){return n._updateFocus(u)}),a.j41(1,"div",1),a.SdG(2),a.j41(3,"span",2),a.EFF(4),a.k0s()(),a.j41(5,"span",3),a.EFF(6),a.k0s(),a.j41(7,"div",4),a.SdG(8,1),a.j41(9,"span",2),a.EFF(10),a.k0s()()()),2&s&&(a.R7$(4),a.JRh(n._getInputMirrorValue("start")),a.R7$(),a.AVh("mat-date-range-input-separator-hidden",n._shouldHideSeparator()),a.R7$(),a.JRh(n.separator),a.R7$(4),a.JRh(n._getInputMirrorValue("end")))},dependencies:[e.vR],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0})}return c})(),It=(()=>{class c extends Ae{_forwardContentValues(t){super._forwardContentValues(t);const s=this.datepickerInput;s&&(t.comparisonStart=s.comparisonStart,t.comparisonEnd=s.comparisonEnd,t.startDateAccessibleName=s._getStartDateAccessibleName(),t.endDateAccessibleName=s._getEndDateAccessibleName())}static#e=this.\u0275fac=(()=>{let t;return function(n){return(t||(t=a.xGo(c)))(n||c)}})();static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],standalone:!0,features:[a.Jv_([pt,$,{provide:Ae,useExisting:c}]),a.Vt3,a.aNF],decls:0,vars:0,template:function(s,n){},encapsulation:2,changeDetection:0})}return c})(),Kt=(()=>{class c{constructor(t){this._datepicker=t}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(Ae))};static#t=this.\u0275dir=a.FsC({type:c,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(s,n){1&s&&a.bIt("click",function(){return n._applySelection()})},standalone:!0})}return c})(),Tt=(()=>{class c{constructor(t){this._datepicker=t}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(Ae))};static#t=this.\u0275dir=a.FsC({type:c,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(s,n){1&s&&a.bIt("click",function(){return n._datepicker.close()})},standalone:!0})}return c})(),ft=(()=>{class c{constructor(t,s){this._datepicker=t,this._viewContainerRef=s}ngAfterViewInit(){this._portal=new X.VA(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}static#e=this.\u0275fac=function(s){return new(s||c)(a.rXU(Ae),a.rXU(a.c1b))};static#t=this.\u0275cmp=a.VBU({type:c,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(s,n){if(1&s&&a.GBs(a.C4Q,5),2&s){let l;a.mGM(l=a.lsd())&&(n._template=l.first)}},standalone:!0,features:[a.aNF],ngContentSelectors:Te,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(s,n){1&s&&(a.NAR(),a.DNE(0,Se,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return c})(),$t=(()=>{class c{static#e=this.\u0275fac=function(s){return new(s||c)};static#t=this.\u0275mod=a.$C({type:c});static#i=this.\u0275inj=a.G2t({providers:[me,vt],imports:[B.MD,Y.Hl,I.z_,e.Pd,X.jc,V.yE,ht,Qe,_t,W.Gj]})}return c})()},3719:(Ke,ne,_)=>{_.d(ne,{JW:()=>me,MV:()=>Se,RG:()=>dt,TL:()=>Ve,nJ:()=>oe,qT:()=>fe,rl:()=>Ge,xb:()=>Me,yw:()=>D});var e=_(4438),I=_(8203),X=_(6860),B=_(4337),a=_(5286),Y=_(4670),W=_(7605),V=_(8170),G=_(4085),N=_(9969),T=_(177),j=_(2318),b=_(6600);const P=["notch"],S=["matFormFieldNotchedOutline",""],q=["*"],f=["textField"],y=["iconPrefixContainer"],k=["textPrefixContainer"],R=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],U=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function te(p,$){1&p&&e.nrm(0,"span",19)}function re(p,$){if(1&p&&(e.j41(0,"label",18),e.SdG(1,1),e.DNE(2,te,1,0,"span",19),e.k0s()),2&p){const m=e.XpG(2);e.Y8G("floating",m._shouldLabelFloat())("monitorResize",m._hasOutline())("id",m._labelId),e.BMQ("for",m._control.disableAutomaticLabeling?null:m._control.id),e.R7$(2),e.vxM(!m.hideRequiredMarker&&m._control.required?2:-1)}}function ge(p,$){if(1&p&&e.DNE(0,re,3,5,"label",18),2&p){const m=e.XpG();e.vxM(m._hasFloatingLabel()?0:-1)}}function we(p,$){1&p&&e.nrm(0,"div",5)}function he(p,$){}function ue(p,$){if(1&p&&e.DNE(0,he,0,0,"ng-template",11),2&p){e.XpG(2);const m=e.sdS(1);e.Y8G("ngTemplateOutlet",m)}}function Ee(p,$){if(1&p&&(e.j41(0,"div",7),e.DNE(1,ue,1,1,null,11),e.k0s()),2&p){const m=e.XpG();e.Y8G("matFormFieldNotchedOutlineOpen",m._shouldLabelFloat()),e.R7$(),e.vxM(m._forceDisplayInfixLabel()?-1:1)}}function be(p,$){1&p&&(e.j41(0,"div",8,2),e.SdG(2,2),e.k0s())}function ie(p,$){1&p&&(e.j41(0,"div",9,3),e.SdG(2,3),e.k0s())}function ve(p,$){}function Te(p,$){if(1&p&&e.DNE(0,ve,0,0,"ng-template",11),2&p){e.XpG();const m=e.sdS(1);e.Y8G("ngTemplateOutlet",m)}}function He(p,$){1&p&&(e.j41(0,"div",12),e.SdG(1,4),e.k0s())}function xe(p,$){1&p&&(e.j41(0,"div",13),e.SdG(1,5),e.k0s())}function Be(p,$){1&p&&e.nrm(0,"div",14)}function ke(p,$){if(1&p&&(e.j41(0,"div",16),e.SdG(1,6),e.k0s()),2&p){const m=e.XpG();e.Y8G("@transitionMessages",m._subscriptAnimationState)}}function ye(p,$){if(1&p&&(e.j41(0,"mat-hint",20),e.EFF(1),e.k0s()),2&p){const m=e.XpG(2);e.Y8G("id",m._hintLabelId),e.R7$(),e.JRh(m.hintLabel)}}function De(p,$){if(1&p&&(e.j41(0,"div",17),e.DNE(1,ye,2,2,"mat-hint",20),e.SdG(2,7),e.nrm(3,"div",21),e.SdG(4,8),e.k0s()),2&p){const m=e.XpG();e.Y8G("@transitionMessages",m._subscriptAnimationState),e.R7$(),e.vxM(m.hintLabel?1:-1)}}let oe=(()=>{class p{static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275dir=e.FsC({type:p,selectors:[["mat-label"]],standalone:!0})}return p})(),Ce=0;const de=new e.nKC("MatError");let Ve=(()=>{class p{constructor(m,C){this.id="mat-mdc-error-"+Ce++,m||C.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(C){return new(C||p)(e.kS0("aria-live"),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:p,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(C,v){2&C&&e.Mr5("id",v.id)},inputs:{id:"id"},standalone:!0,features:[e.Jv_([{provide:de,useExisting:p}])]})}return p})(),Fe=0,Se=(()=>{class p{constructor(){this.align="start",this.id="mat-mdc-hint-"+Fe++}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275dir=e.FsC({type:p,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(C,v){2&C&&(e.Mr5("id",v.id),e.BMQ("align",null),e.AVh("mat-mdc-form-field-hint-end","end"===v.align))},inputs:{align:"align",id:"id"},standalone:!0})}return p})();const Re=new e.nKC("MatPrefix");let me=(()=>{class p{constructor(){this._isText=!1}set _isTextSelector(m){this._isText=!0}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275dir=e.FsC({type:p,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[e.Jv_([{provide:Re,useExisting:p}])]})}return p})();const Ne=new e.nKC("MatSuffix");let D=(()=>{class p{constructor(){this._isText=!1}set _isTextSelector(m){this._isText=!0}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275dir=e.FsC({type:p,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[e.Jv_([{provide:Ne,useExisting:p}])]})}return p})();const K=new e.nKC("FloatingLabelParent");let g=(()=>{class p{get floating(){return this._floating}set floating(m){this._floating=m,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(m){this._monitorResize=m,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(m){this._elementRef=m,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,e.WQX)(V.a),this._ngZone=(0,e.WQX)(e.SKi),this._parent=(0,e.WQX)(K),this._resizeSubscription=new B.y}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function x(p){if(null!==p.offsetParent)return p.scrollWidth;const m=p.cloneNode(!0);m.style.setProperty("position","absolute"),m.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(m);const C=m.scrollWidth;return m.remove(),C}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(C){return new(C||p)(e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:p,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(C,v){2&C&&e.AVh("mdc-floating-label--float-above",v.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return p})();const A="mdc-line-ripple--active",O="mdc-line-ripple--deactivating";let H=(()=>{class p{constructor(m,C){this._elementRef=m,this._handleTransitionEnd=v=>{const E=this._elementRef.nativeElement.classList,z=E.contains(O);"opacity"===v.propertyName&&z&&E.remove(A,O)},C.runOutsideAngular(()=>{m.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const m=this._elementRef.nativeElement.classList;m.remove(O),m.add(A)}deactivate(){this._elementRef.nativeElement.classList.add(O)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(C){return new(C||p)(e.rXU(e.aKT),e.rXU(e.SKi))};static#t=this.\u0275dir=e.FsC({type:p,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return p})(),Q=(()=>{class p{constructor(m,C){this._elementRef=m,this._ngZone=C,this.open=!1}ngAfterViewInit(){const m=this._elementRef.nativeElement.querySelector(".mdc-floating-label");m?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(m.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>m.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(m){this._notch.nativeElement.style.width=this.open&&m?`calc(${m}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(C){return new(C||p)(e.rXU(e.aKT),e.rXU(e.SKi))};static#t=this.\u0275cmp=e.VBU({type:p,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(C,v){if(1&C&&e.GBs(P,5),2&C){let E;e.mGM(E=e.lsd())&&(v._notch=E.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(C,v){2&C&&e.AVh("mdc-notched-outline--notched",v.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[e.aNF],attrs:S,ngContentSelectors:q,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(C,v){1&C&&(e.NAR(),e.nrm(0,"div",1),e.j41(1,"div",2,0),e.SdG(3),e.k0s(),e.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}return p})();const le={transitionMessages:(0,N.hZ)("transitionMessages",[(0,N.wk)("enter",(0,N.iF)({opacity:1,transform:"translateY(0%)"})),(0,N.kY)("void => enter",[(0,N.iF)({opacity:0,transform:"translateY(-5px)"}),(0,N.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let fe=(()=>{class p{static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275dir=e.FsC({type:p})}return p})();const Me=new e.nKC("MatFormField"),at=new e.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let nt=0,Ge=(()=>{class p{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(m){this._hideRequiredMarker=(0,G.he)(m)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(m){m!==this._floatLabel&&(this._floatLabel=m,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(m){const C=this._appearance;this._appearance=m||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==C&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(m){this._subscriptSizing=m||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(m){this._hintLabel=m,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(m){this._explicitFormFieldControl=m}constructor(m,C,v,E,z,Z,_e,Pe){this._elementRef=m,this._changeDetectorRef=C,this._dir=E,this._platform=z,this._defaults=Z,this._animationMode=_e,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+nt++,this._hintLabelId="mat-mdc-hint-"+nt++,this._subscriptAnimationState="",this._destroyed=new a.B7,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._injector=(0,e.WQX)(e.zZn),Z&&(Z.appearance&&(this.appearance=Z.appearance),this._hideRequiredMarker=!!Z?.hideRequiredMarker,Z.color&&(this.color=Z.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const m=this._control;m.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${m.controlType}`),m.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),m.ngControl&&m.ngControl.valueChanges&&m.ngControl.valueChanges.pipe((0,W.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(m=>!m._isText),this._hasTextPrefix=!!this._prefixChildren.find(m=>m._isText),this._hasIconSuffix=!!this._suffixChildren.find(m=>!m._isText),this._hasTextSuffix=!!this._suffixChildren.find(m=>m._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Y.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),(0,e.Tzd)(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe((0,W.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(m){const C=this._control?this._control.ngControl:null;return C&&C[m]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let m=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&m.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const C=this._hintChildren?this._hintChildren.find(E=>"start"===E.align):null,v=this._hintChildren?this._hintChildren.find(E=>"end"===E.align):null;C?m.push(C.id):this._hintLabel&&m.push(this._hintLabelId),v&&m.push(v.id)}else this._errorChildren&&m.push(...this._errorChildren.map(C=>C.id));this._control.setDescribedByIds(m)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;const m=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(m.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdate=!0);const C=this._iconPrefixContainer?.nativeElement,v=this._textPrefixContainer?.nativeElement,E=C?.getBoundingClientRect().width??0,z=v?.getBoundingClientRect().width??0;m.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${E+z}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const m=this._elementRef.nativeElement;if(m.getRootNode){const C=m.getRootNode();return C&&C!==m}return document.documentElement.contains(m)}static#e=this.\u0275fac=function(C){return new(C||p)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(I.dS),e.rXU(X.OD),e.rXU(at,8),e.rXU(e.bc$,8),e.rXU(T.qQ))};static#t=this.\u0275cmp=e.VBU({type:p,selectors:[["mat-form-field"]],contentQueries:function(C,v,E){if(1&C&&(e.wni(E,oe,5),e.wni(E,oe,7),e.wni(E,fe,5),e.wni(E,Re,5),e.wni(E,Ne,5),e.wni(E,de,5),e.wni(E,Se,5)),2&C){let z;e.mGM(z=e.lsd())&&(v._labelChildNonStatic=z.first),e.mGM(z=e.lsd())&&(v._labelChildStatic=z.first),e.mGM(z=e.lsd())&&(v._formFieldControl=z.first),e.mGM(z=e.lsd())&&(v._prefixChildren=z),e.mGM(z=e.lsd())&&(v._suffixChildren=z),e.mGM(z=e.lsd())&&(v._errorChildren=z),e.mGM(z=e.lsd())&&(v._hintChildren=z)}},viewQuery:function(C,v){if(1&C&&(e.GBs(f,5),e.GBs(y,5),e.GBs(k,5),e.GBs(g,5),e.GBs(Q,5),e.GBs(H,5)),2&C){let E;e.mGM(E=e.lsd())&&(v._textField=E.first),e.mGM(E=e.lsd())&&(v._iconPrefixContainer=E.first),e.mGM(E=e.lsd())&&(v._textPrefixContainer=E.first),e.mGM(E=e.lsd())&&(v._floatingLabel=E.first),e.mGM(E=e.lsd())&&(v._notchedOutline=E.first),e.mGM(E=e.lsd())&&(v._lineRipple=E.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(C,v){2&C&&e.AVh("mat-mdc-form-field-label-always-float",v._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",v._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",v._hasIconSuffix)("mat-form-field-invalid",v._control.errorState)("mat-form-field-disabled",v._control.disabled)("mat-form-field-autofilled",v._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===v._animationMode)("mat-form-field-appearance-fill","fill"==v.appearance)("mat-form-field-appearance-outline","outline"==v.appearance)("mat-form-field-hide-placeholder",v._hasFloatingLabel()&&!v._shouldLabelFloat())("mat-focused",v._control.focused)("mat-primary","accent"!==v.color&&"warn"!==v.color)("mat-accent","accent"===v.color)("mat-warn","warn"===v.color)("ng-untouched",v._shouldForward("untouched"))("ng-touched",v._shouldForward("touched"))("ng-pristine",v._shouldForward("pristine"))("ng-dirty",v._shouldForward("dirty"))("ng-valid",v._shouldForward("valid"))("ng-invalid",v._shouldForward("invalid"))("ng-pending",v._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[e.Jv_([{provide:Me,useExisting:p},{provide:K,useExisting:p}]),e.aNF],ngContentSelectors:U,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(C,v){if(1&C){const E=e.RV6();e.NAR(R),e.DNE(0,ge,1,1,"ng-template",null,0,e.C5r),e.j41(2,"div",4,1),e.bIt("click",function(Z){return e.eBV(E),e.Njj(v._control.onContainerClick(Z))}),e.DNE(4,we,1,0,"div",5),e.j41(5,"div",6),e.DNE(6,Ee,2,2,"div",7)(7,be,3,0,"div",8)(8,ie,3,0,"div",9),e.j41(9,"div",10),e.DNE(10,Te,1,1,null,11),e.SdG(11),e.k0s(),e.DNE(12,He,2,0,"div",12)(13,xe,2,0,"div",13),e.k0s(),e.DNE(14,Be,1,0,"div",14),e.k0s(),e.j41(15,"div",15),e.DNE(16,ke,2,1,"div",16)(17,De,5,2,"div",17),e.k0s()}if(2&C){let E;e.R7$(2),e.AVh("mdc-text-field--filled",!v._hasOutline())("mdc-text-field--outlined",v._hasOutline())("mdc-text-field--no-label",!v._hasFloatingLabel())("mdc-text-field--disabled",v._control.disabled)("mdc-text-field--invalid",v._control.errorState),e.R7$(2),e.vxM(v._hasOutline()||v._control.disabled?-1:4),e.R7$(2),e.vxM(v._hasOutline()?6:-1),e.R7$(),e.vxM(v._hasIconPrefix?7:-1),e.R7$(),e.vxM(v._hasTextPrefix?8:-1),e.R7$(2),e.vxM(!v._hasOutline()||v._forceDisplayInfixLabel()?10:-1),e.R7$(2),e.vxM(v._hasTextSuffix?12:-1),e.R7$(),e.vxM(v._hasIconSuffix?13:-1),e.R7$(),e.vxM(v._hasOutline()?-1:14),e.R7$(),e.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===v.subscriptSizing),e.R7$(),e.vxM("error"===(E=v._getDisplayedMessages())?16:"hint"===E?17:-1)}},dependencies:[g,Q,T.T3,H,Se],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[le.transitionMessages]},changeDetection:0})}return p})(),dt=(()=>{class p{static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275mod=e.$C({type:p});static#i=this.\u0275inj=e.G2t({imports:[b.yE,T.MD,j.w5,b.yE]})}return p})()},9042:(Ke,ne,_)=>{_.d(ne,{Oh:()=>N,fS:()=>P,fg:()=>b});var e=_(4085),I=_(6860),X=_(7403),B=_(4438),a=_(9417),Y=_(6600),W=_(3719),V=_(5286);const N=new B.nKC("MAT_INPUT_VALUE_ACCESSOR"),T=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let j=0,b=(()=>{class S{get disabled(){return this._disabled}set disabled(f){this._disabled=(0,e.he)(f),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(f){this._id=f||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(a.k0.required)??!1}set required(f){this._required=(0,e.he)(f)}get type(){return this._type}set type(f){this._type=f||"text",this._validateType(),!this._isTextarea&&(0,I.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(f){this._errorStateTracker.matcher=f}get value(){return this._inputValueAccessor.value}set value(f){f!==this.value&&(this._inputValueAccessor.value=f,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(f){this._readonly=(0,e.he)(f)}get errorState(){return this._errorStateTracker.errorState}set errorState(f){this._errorStateTracker.errorState=f}constructor(f,y,k,R,U,te,re,ge,we,he){this._elementRef=f,this._platform=y,this.ngControl=k,this._autofillMonitor=ge,this._formField=he,this._uid="mat-input-"+j++,this.focused=!1,this.stateChanges=new V.B7,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(be=>(0,I.MU)().has(be)),this._iOSKeyupListener=be=>{const ie=be.target;!ie.value&&0===ie.selectionStart&&0===ie.selectionEnd&&(ie.setSelectionRange(1,1),ie.setSelectionRange(0,0))};const ue=this._elementRef.nativeElement,Ee=ue.nodeName.toLowerCase();this._inputValueAccessor=re||ue,this._previousNativeValue=this.value,this.id=this.id,y.IOS&&we.runOutsideAngular(()=>{f.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Y.X0(te,k,U,R,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Ee,this._isTextarea="textarea"===Ee,this._isInFormField=!!he,this._isNativeSelect&&(this.controlType=ue.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(f=>{this.autofilled=f.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(f){this._elementRef.nativeElement.focus(f)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(f){f!==this.focused&&(this.focused=f,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const f=this._elementRef.nativeElement.value;this._previousNativeValue!==f&&(this._previousNativeValue=f,this.stateChanges.next())}_dirtyCheckPlaceholder(){const f=this._getPlaceholder();if(f!==this._previousPlaceholder){const y=this._elementRef.nativeElement;this._previousPlaceholder=f,f?y.setAttribute("placeholder",f):y.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){T.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let f=this._elementRef.nativeElement.validity;return f&&f.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const f=this._elementRef.nativeElement,y=f.options[0];return this.focused||f.multiple||!this.empty||!!(f.selectedIndex>-1&&y&&y.label)}return this.focused||!this.empty}setDescribedByIds(f){f.length?this._elementRef.nativeElement.setAttribute("aria-describedby",f.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const f=this._elementRef.nativeElement;return this._isNativeSelect&&(f.multiple||f.size>1)}static#e=this.\u0275fac=function(y){return new(y||S)(B.rXU(B.aKT),B.rXU(I.OD),B.rXU(a.vO,10),B.rXU(a.cV,8),B.rXU(a.j4,8),B.rXU(Y.es),B.rXU(N,10),B.rXU(X.P8),B.rXU(B.SKi),B.rXU(W.xb,8))};static#t=this.\u0275dir=B.FsC({type:S,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(y,k){1&y&&B.bIt("focus",function(){return k._focusChanged(!0)})("blur",function(){return k._focusChanged(!1)})("input",function(){return k._onInput()}),2&y&&(B.Mr5("id",k.id)("disabled",k.disabled)("required",k.required),B.BMQ("name",k.name||null)("readonly",k.readonly&&!k._isNativeSelect||null)("aria-invalid",k.empty&&k.required?null:k.errorState)("aria-required",k.required)("id",k.id),B.AVh("mat-input-server",k._isServer)("mat-mdc-form-field-textarea-control",k._isInFormField&&k._isTextarea)("mat-mdc-form-field-input-control",k._isInFormField)("mdc-text-field__input",k._isInFormField)("mat-mdc-native-select-inline",k._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[B.Jv_([{provide:W.qT,useExisting:S}]),B.OA$]})}return S})(),P=(()=>{class S{static#e=this.\u0275fac=function(y){return new(y||S)};static#t=this.\u0275mod=B.$C({type:S});static#i=this.\u0275inj=B.G2t({imports:[Y.yE,W.RG,W.RG,X.EE,Y.yE]})}return S})()}}]);