-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path1840.e88a59ad27f8f13f.js
1 lines (1 loc) · 235 KB
/
1840.e88a59ad27f8f13f.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[1840],{3452:(tt,re,x)=>{x.d(re,{XD:()=>te,dD:()=>U,xI:()=>E});var t=x(5879),P=x(8337),q=x(2495),F=x(2079),a=x(7902);let j=0;const Z=new t.OlP("CdkAccordion");let E=(()=>{class Y{constructor(){this._stateChanges=new F.xQ,this._openCloseAllActions=new F.xQ,this.id="cdk-accordion-"+j++,this._multi=!1}get multi(){return this._multi}set multi(R){this._multi=(0,q.Ig)(R)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(R){this._stateChanges.next(R)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return Y.\u0275fac=function(R){return new(R||Y)},Y.\u0275dir=t.lG2({type:Y,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[t._Bn([{provide:Z,useExisting:Y}]),t.TTD]}),Y})(),Q=0,U=(()=>{class Y{get expanded(){return this._expanded}set expanded(R){R=(0,q.Ig)(R),this._expanded!==R&&(this._expanded=R,this.expandedChange.emit(R),R?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(R){this._disabled=(0,q.Ig)(R)}constructor(R,k,T){this.accordion=R,this._changeDetectorRef=k,this._expansionDispatcher=T,this._openCloseAllSubscription=a.w.EMPTY,this.closed=new t.vpe,this.opened=new t.vpe,this.destroyed=new t.vpe,this.expandedChange=new t.vpe,this.id="cdk-accordion-child-"+Q++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=T.listen((f,b)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===b&&this.id!==f&&(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(R=>{this.disabled||(this.expanded=R)})}}return Y.\u0275fac=function(R){return new(R||Y)(t.Y36(Z,12),t.Y36(t.sBO),t.Y36(P.A8))},Y.\u0275dir=t.lG2({type:Y,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[t._Bn([{provide:Z,useValue:void 0}])]}),Y})(),te=(()=>{class Y{}return Y.\u0275fac=function(R){return new(R||Y)},Y.\u0275mod=t.oAB({type:Y}),Y.\u0275inj=t.cJS({}),Y})()},6263:(tt,re,x)=>{x.d(re,{IC:()=>C,Ky:()=>R,Lq:()=>te,aC:()=>Y});var t=x(2831),P=x(5879),q=x(2495),F=x(1226),a=x(2079),j=x(9016),Z=x(5434),E=x(9352),Q=x(6814);const U=(0,t.i$)({passive:!0});let te=(()=>{class k{constructor(f,b){this._platform=f,this._ngZone=b,this._monitoredElements=new Map}monitor(f){if(!this._platform.isBrowser)return F.E;const b=(0,q.fI)(f),A=this._monitoredElements.get(b);if(A)return A.subject;const I=new a.xQ,N="cdk-text-field-autofilled",X=ie=>{"cdk-text-field-autofill-start"!==ie.animationName||b.classList.contains(N)?"cdk-text-field-autofill-end"===ie.animationName&&b.classList.contains(N)&&(b.classList.remove(N),this._ngZone.run(()=>I.next({target:ie.target,isAutofilled:!1}))):(b.classList.add(N),this._ngZone.run(()=>I.next({target:ie.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{b.addEventListener("animationstart",X,U),b.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(b,{subject:I,unlisten:()=>{b.removeEventListener("animationstart",X,U)}}),I}stopMonitoring(f){const b=(0,q.fI)(f),A=this._monitoredElements.get(b);A&&(A.unlisten(),A.subject.complete(),b.classList.remove("cdk-text-field-autofill-monitored"),b.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(b))}ngOnDestroy(){this._monitoredElements.forEach((f,b)=>this.stopMonitoring(b))}}return k.\u0275fac=function(f){return new(f||k)(P.LFG(t.t4),P.LFG(P.R0b))},k.\u0275prov=P.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),Y=(()=>{class k{constructor(f,b){this._elementRef=f,this._autofillMonitor=b,this.cdkAutofill=new P.vpe}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(f=>this.cdkAutofill.emit(f))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}}return k.\u0275fac=function(f){return new(f||k)(P.Y36(P.SBq),P.Y36(te))},k.\u0275dir=P.lG2({type:k,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}}),k})(),C=(()=>{class k{get minRows(){return this._minRows}set minRows(f){this._minRows=(0,q.su)(f),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(f){this._maxRows=(0,q.su)(f),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(f){f=(0,q.Ig)(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,b,A,I){this._elementRef=f,this._platform=b,this._ngZone=A,this._destroyed=new a.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=N=>{this._hasFocus="focus"===N.type},this._document=I,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,j.R)(f,"resize").pipe((0,Z.e)(16),(0,E.R)(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,b=f.style.marginBottom||"",A=this._platform.FIREFOX,I=A&&this._hasFocus,N=A?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";I&&(f.style.marginBottom=`${f.clientHeight}px`),f.classList.add(N);const X=f.scrollHeight-4;return f.classList.remove(N),I&&(f.style.marginBottom=b),X}_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 b=this._elementRef.nativeElement,A=b.value;if(!f&&this._minRows===this._previousMinRows&&A===this._previousValue)return;const I=this._measureScrollHeight(),N=Math.max(I,this._cachedPlaceholderHeight||0);b.style.height=`${N}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(b)):setTimeout(()=>this._scrollToCaretPosition(b))}),this._previousValue=A,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:b,selectionEnd:A}=f;!this._destroyed.isStopped&&this._hasFocus&&f.setSelectionRange(b,A)}}return k.\u0275fac=function(f){return new(f||k)(P.Y36(P.SBq),P.Y36(t.t4),P.Y36(P.R0b),P.Y36(Q.K0,8))},k.\u0275dir=P.lG2({type:k,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(f,b){1&f&&P.NdJ("input",function(){return b._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),k})(),R=(()=>{class k{}return k.\u0275fac=function(f){return new(f||k)},k.\u0275mod=P.oAB({type:k}),k.\u0275inj=P.cJS({}),k})()},1840:(tt,re,x)=>{x.r(re),x.d(re,{ExpansionExpandCollapseAllExample:()=>Ne,ExpansionHarnessExample:()=>le,ExpansionOverviewExample:()=>z,ExpansionStepsExample:()=>J});var t=x(5879),P=x(3452),q=x(8484),F=x(6814),a=x(3680),j=x(2495),Z=x(4300),E=x(2068),Q=x(3075),U=x(7734),te=x(1418),Y=x(6028),C=x(2079),R=x(7902),k=x(1226),T=x(7354),f=x(6825),b=x(8337);const A=["body"];function I(y,S){}const N=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],X=["mat-expansion-panel-header","*","mat-action-row"];function ie(y,S){if(1&y&&t._UZ(0,"span",2),2&y){const g=t.oxw();t.Q6J("@indicatorRotate",g._getExpandedState())}}const Oe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Te=["mat-panel-title","mat-panel-description","*"],xe=new t.OlP("MAT_ACCORDION"),ye="225ms cubic-bezier(0.4,0.0,0.2,1)",ue={indicatorRotate:(0,f.X$)("indicatorRotate",[(0,f.SB)("collapsed, void",(0,f.oB)({transform:"rotate(0deg)"})),(0,f.SB)("expanded",(0,f.oB)({transform:"rotate(180deg)"})),(0,f.eR)("expanded <=> collapsed, void => collapsed",(0,f.jt)(ye))]),bodyExpansion:(0,f.X$)("bodyExpansion",[(0,f.SB)("collapsed, void",(0,f.oB)({height:"0px",visibility:"hidden"})),(0,f.SB)("expanded",(0,f.oB)({height:"*",visibility:"visible"})),(0,f.eR)("expanded <=> collapsed, void => collapsed",(0,f.jt)(ye))])},oe=new t.OlP("MAT_EXPANSION_PANEL");let he=(()=>{class y{constructor(g,D){this._template=g,this._expansionPanel=D}}return y.\u0275fac=function(g){return new(g||y)(t.Y36(t.Rgc),t.Y36(oe,8))},y.\u0275dir=t.lG2({type:y,selectors:[["ng-template","matExpansionPanelContent",""]]}),y})(),se=0;const Pe=new t.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let De=(()=>{class y extends P.dD{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(g){this._hideToggle=(0,j.Ig)(g)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(g){this._togglePosition=g}constructor(g,D,B,L,G,W,Ve){super(g,D,B),this._viewContainerRef=L,this._animationMode=W,this._hideToggle=!1,this.afterExpand=new t.vpe,this.afterCollapse=new t.vpe,this._inputChanges=new C.xQ,this._headerId="mat-expansion-panel-header-"+se++,this._bodyAnimationDone=new C.xQ,this.accordion=g,this._document=G,this._bodyAnimationDone.pipe((0,E.x)((de,ce)=>de.fromState===ce.fromState&&de.toState===ce.toState)).subscribe(de=>{"void"!==de.fromState&&("expanded"===de.toState?this.afterExpand.emit():"collapsed"===de.toState&&this.afterCollapse.emit())}),Ve&&(this.hideToggle=Ve.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,Q.O)(null),(0,U.h)(()=>this.expanded&&!this._portal),(0,te.q)(1)).subscribe(()=>{this._portal=new q.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(g){this._inputChanges.next(g)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const g=this._document.activeElement,D=this._body.nativeElement;return g===D||D.contains(g)}return!1}}return y.\u0275fac=function(g){return new(g||y)(t.Y36(xe,12),t.Y36(t.sBO),t.Y36(b.A8),t.Y36(t.s_b),t.Y36(F.K0),t.Y36(t.QbO,8),t.Y36(Pe,8))},y.\u0275cmp=t.Xpm({type:y,selectors:[["mat-expansion-panel"]],contentQueries:function(g,D,B){if(1&g&&t.Suo(B,he,5),2&g){let L;t.iGM(L=t.CRH())&&(D._lazyContent=L.first)}},viewQuery:function(g,D){if(1&g&&t.Gf(A,5),2&g){let B;t.iGM(B=t.CRH())&&(D._body=B.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(g,D){2&g&&t.ekj("mat-expanded",D.expanded)("_mat-animation-noopable","NoopAnimations"===D._animationMode)("mat-expansion-panel-spacing",D._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[t._Bn([{provide:xe,useValue:void 0},{provide:oe,useExisting:y}]),t.qOj,t.TTD],ngContentSelectors:X,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(g,D){1&g&&(t.F$t(N),t.Hsn(0),t.TgZ(1,"div",0,1),t.NdJ("@bodyExpansion.done",function(L){return D._bodyAnimationDone.next(L)}),t.TgZ(3,"div",2),t.Hsn(4,1),t.YNc(5,I,0,0,"ng-template",3),t.qZA(),t.Hsn(6,2),t.qZA()),2&g&&(t.xp6(1),t.Q6J("@bodyExpansion",D._getExpandedState())("id",D.id),t.uIk("aria-labelledby",D._headerId),t.xp6(4),t.Q6J("cdkPortalOutlet",D._portal))},dependencies:[q.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;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}.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:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.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}.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}.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:[ue.bodyExpansion]},changeDetection:0}),y})(),qe=(()=>{class y{}return y.\u0275fac=function(g){return new(g||y)},y.\u0275dir=t.lG2({type:y,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),y})();class Ue{}const ze=(0,a.sb)(Ue);let pe=(()=>{class y extends ze{constructor(g,D,B,L,G,W,Ve){super(),this.panel=g,this._element=D,this._focusMonitor=B,this._changeDetectorRef=L,this._animationMode=W,this._parentChangeSubscription=R.w.EMPTY;const de=g.accordion?g.accordion._stateChanges.pipe((0,U.h)(ce=>!(!ce.hideToggle&&!ce.togglePosition))):k.E;this.tabIndex=parseInt(Ve||"")||0,this._parentChangeSubscription=(0,T.T)(g.opened,g.closed,de,g._inputChanges.pipe((0,U.h)(ce=>!!(ce.hideToggle||ce.disabled||ce.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),g.closed.pipe((0,U.h)(()=>g._containsFocus())).subscribe(()=>B.focusVia(D,"program")),G&&(this.expandedHeight=G.expandedHeight,this.collapsedHeight=G.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 Y.L_:case Y.K5:(0,Y.Vb)(g)||(g.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(g))}}focus(g,D){g?this._focusMonitor.focusVia(this._element,g,D):this._element.nativeElement.focus(D)}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)}}return y.\u0275fac=function(g){return new(g||y)(t.Y36(De,1),t.Y36(t.SBq),t.Y36(Z.tE),t.Y36(t.sBO),t.Y36(Pe,8),t.Y36(t.QbO,8),t.$8M("tabindex"))},y.\u0275cmp=t.Xpm({type:y,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(g,D){1&g&&t.NdJ("click",function(){return D._toggle()})("keydown",function(L){return D._keydown(L)}),2&g&&(t.uIk("id",D.panel._headerId)("tabindex",D.tabIndex)("aria-controls",D._getPanelId())("aria-expanded",D._isExpanded())("aria-disabled",D.panel.disabled),t.Udp("height",D._getHeaderHeight()),t.ekj("mat-expanded",D._isExpanded())("mat-expansion-toggle-indicator-after","after"===D._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===D._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===D._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[t.qOj],ngContentSelectors:Te,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(g,D){1&g&&(t.F$t(Oe),t.TgZ(0,"span",0),t.Hsn(1),t.Hsn(2,1),t.Hsn(3,2),t.qZA(),t.YNc(4,ie,1,1,"span",1)),2&g&&(t.ekj("mat-content-hide-toggle",!D._showToggle()),t.xp6(4),t.Q6J("ngIf",D._showToggle()))},dependencies:[F.O5],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)}.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:not([aria-disabled=true]){cursor:pointer}.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,.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-description{flex-grow:2}.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}.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:[ue.indicatorRotate]},changeDetection:0}),y})(),Ie=(()=>{class y{}return y.\u0275fac=function(g){return new(g||y)},y.\u0275dir=t.lG2({type:y,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),y})(),Ce=(()=>{class y{}return y.\u0275fac=function(g){return new(g||y)},y.\u0275dir=t.lG2({type:y,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),y})(),Me=(()=>{class y extends P.xI{constructor(){super(...arguments),this._ownHeaders=new t.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(g){this._hideToggle=(0,j.Ig)(g)}ngAfterContentInit(){this._headers.changes.pipe((0,Q.O)(this._headers)).subscribe(g=>{this._ownHeaders.reset(g.filter(D=>D.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Z.Em(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()}}return y.\u0275fac=function(){let S;return function(D){return(S||(S=t.n5z(y)))(D||y)}}(),y.\u0275dir=t.lG2({type:y,selectors:[["mat-accordion"]],contentQueries:function(g,D,B){if(1&g&&t.Suo(B,pe,5),2&g){let L;t.iGM(L=t.CRH())&&(D._headers=L)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(g,D){2&g&&t.ekj("mat-accordion-multi",D.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[t._Bn([{provide:xe,useExisting:y}]),t.qOj]}),y})(),we=(()=>{class y{}return y.\u0275fac=function(g){return new(g||y)},y.\u0275mod=t.oAB({type:y}),y.\u0275inj=t.cJS({imports:[F.ez,a.BQ,P.XD,q.eL]}),y})();var me=x(8034),Ee=x(4516),K=x(4170),fe=x(617),Ae=x(2296);let Ne=(()=>{class y{}return y.\u0275fac=function(g){return new(g||y)},y.\u0275cmp=t.Xpm({type:y,selectors:[["expansion-expand-collapse-all-example"]],viewQuery:function(g,D){if(1&g&&t.Gf(Me,5),2&g){let B;t.iGM(B=t.CRH())&&(D.accordion=B.first)}},standalone:!0,features:[t.jDz],decls:48,vars:1,consts:[[1,"example-action-buttons"],["mat-button","",3,"click"],["multi","",1,"example-headers-align"],["matInput",""],["matInput","","type","number","min","1"],["disabled",""],["matInput","","readonly","",3,"matDatepicker","focus"],["picker",""]],template:function(g,D){if(1&g){const B=t.EpF();t.TgZ(0,"div",0)(1,"button",1),t.NdJ("click",function(){return D.accordion.openAll()}),t._uU(2,"Expand All"),t.qZA(),t.TgZ(3,"button",1),t.NdJ("click",function(){return D.accordion.closeAll()}),t._uU(4,"Collapse All"),t.qZA()(),t.TgZ(5,"mat-accordion",2)(6,"mat-expansion-panel")(7,"mat-expansion-panel-header")(8,"mat-panel-title"),t._uU(9," Personal data "),t.qZA(),t.TgZ(10,"mat-panel-description"),t._uU(11," Type your name and age "),t.TgZ(12,"mat-icon"),t._uU(13,"account_circle"),t.qZA()()(),t.TgZ(14,"mat-form-field")(15,"mat-label"),t._uU(16,"First name"),t.qZA(),t._UZ(17,"input",3),t.qZA(),t.TgZ(18,"mat-form-field")(19,"mat-label"),t._uU(20,"Age"),t.qZA(),t._UZ(21,"input",4),t.qZA()(),t.TgZ(22,"mat-expansion-panel",5)(23,"mat-expansion-panel-header")(24,"mat-panel-title"),t._uU(25," Destination "),t.qZA(),t.TgZ(26,"mat-panel-description"),t._uU(27," Type the country name "),t.TgZ(28,"mat-icon"),t._uU(29,"map"),t.qZA()()(),t.TgZ(30,"mat-form-field")(31,"mat-label"),t._uU(32,"Country"),t.qZA(),t._UZ(33,"input",3),t.qZA()(),t.TgZ(34,"mat-expansion-panel")(35,"mat-expansion-panel-header")(36,"mat-panel-title"),t._uU(37," Day of the trip "),t.qZA(),t.TgZ(38,"mat-panel-description"),t._uU(39," Inform the date you wish to travel "),t.TgZ(40,"mat-icon"),t._uU(41,"date_range"),t.qZA()()(),t.TgZ(42,"mat-form-field")(43,"mat-label"),t._uU(44,"Date"),t.qZA(),t.TgZ(45,"input",6),t.NdJ("focus",function(){t.CHM(B);const G=t.MAs(47);return t.KtG(G.open())}),t.qZA()(),t._UZ(46,"mat-datepicker",null,7),t.qZA()()}if(2&g){const B=t.MAs(47);t.xp6(45),t.Q6J("matDatepicker",B)}},dependencies:[Ae.ot,Ae.lW,we,Me,De,pe,Ce,Ie,fe.Ps,fe.Hw,K.lN,K.KE,K.hX,Ee.c,Ee.Nt,me.FA,me.Mq,me.hl,a.XK],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}"]}),y})(),z=(()=>{class y{constructor(){this.panelOpenState=!1}}return y.\u0275fac=function(g){return new(g||y)},y.\u0275cmp=t.Xpm({type:y,selectors:[["expansion-overview-example"]],standalone:!0,features:[t.jDz],decls:17,vars:1,consts:[["hideToggle",""],[3,"opened","closed"]],template:function(g,D){1&g&&(t.TgZ(0,"mat-accordion")(1,"mat-expansion-panel",0)(2,"mat-expansion-panel-header")(3,"mat-panel-title"),t._uU(4," This is the expansion title "),t.qZA(),t.TgZ(5,"mat-panel-description"),t._uU(6," This is a summary of the content "),t.qZA()(),t.TgZ(7,"p"),t._uU(8,"This is the primary content of the panel."),t.qZA()(),t.TgZ(9,"mat-expansion-panel",1),t.NdJ("opened",function(){return D.panelOpenState=!0})("closed",function(){return D.panelOpenState=!1}),t.TgZ(10,"mat-expansion-panel-header")(11,"mat-panel-title"),t._uU(12," Self aware panel "),t.qZA(),t.TgZ(13,"mat-panel-description"),t._uU(14),t.qZA()(),t.TgZ(15,"p"),t._uU(16,"I'm visible because I am open"),t.qZA()()()),2&g&&(t.xp6(14),t.hij(" Currently I am ",D.panelOpenState?"open":"closed"," "))},dependencies:[we,Me,De,pe,Ce,Ie],styles:[".mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%] {\n margin-left: 8px;\n}"]}),y})(),J=(()=>{class y{constructor(){this.step=0}setStep(g){this.step=g}nextStep(){this.step++}prevStep(){this.step--}}return y.\u0275fac=function(g){return new(g||y)},y.\u0275cmp=t.Xpm({type:y,selectors:[["expansion-steps-example"]],standalone:!0,features:[t.jDz],decls:56,vars:4,consts:[[1,"example-headers-align"],["hideToggle","",3,"expanded","opened"],["matInput",""],["matInput","","type","number","min","1"],["mat-button","","color","primary",3,"click"],["mat-button","","color","warn",3,"click"],["matInput","","readonly","",3,"matDatepicker","focus"],["picker",""]],template:function(g,D){if(1&g){const B=t.EpF();t.TgZ(0,"mat-accordion",0)(1,"mat-expansion-panel",1),t.NdJ("opened",function(){return D.setStep(0)}),t.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title"),t._uU(4," Personal data "),t.qZA(),t.TgZ(5,"mat-panel-description"),t._uU(6," Type your name and age "),t.TgZ(7,"mat-icon"),t._uU(8,"account_circle"),t.qZA()()(),t.TgZ(9,"mat-form-field")(10,"mat-label"),t._uU(11,"First name"),t.qZA(),t._UZ(12,"input",2),t.qZA(),t.TgZ(13,"mat-form-field")(14,"mat-label"),t._uU(15,"Age"),t.qZA(),t._UZ(16,"input",3),t.qZA(),t.TgZ(17,"mat-action-row")(18,"button",4),t.NdJ("click",function(){return D.nextStep()}),t._uU(19,"Next"),t.qZA()()(),t.TgZ(20,"mat-expansion-panel",1),t.NdJ("opened",function(){return D.setStep(1)}),t.TgZ(21,"mat-expansion-panel-header")(22,"mat-panel-title"),t._uU(23," Destination "),t.qZA(),t.TgZ(24,"mat-panel-description"),t._uU(25," Type the country name "),t.TgZ(26,"mat-icon"),t._uU(27,"map"),t.qZA()()(),t.TgZ(28,"mat-form-field")(29,"mat-label"),t._uU(30,"Country"),t.qZA(),t._UZ(31,"input",2),t.qZA(),t.TgZ(32,"mat-action-row")(33,"button",5),t.NdJ("click",function(){return D.prevStep()}),t._uU(34,"Previous"),t.qZA(),t.TgZ(35,"button",4),t.NdJ("click",function(){return D.nextStep()}),t._uU(36,"Next"),t.qZA()()(),t.TgZ(37,"mat-expansion-panel",1),t.NdJ("opened",function(){return D.setStep(2)}),t.TgZ(38,"mat-expansion-panel-header")(39,"mat-panel-title"),t._uU(40," Day of the trip "),t.qZA(),t.TgZ(41,"mat-panel-description"),t._uU(42," Inform the date you wish to travel "),t.TgZ(43,"mat-icon"),t._uU(44,"date_range"),t.qZA()()(),t.TgZ(45,"mat-form-field")(46,"mat-label"),t._uU(47,"Date"),t.qZA(),t.TgZ(48,"input",6),t.NdJ("focus",function(){t.CHM(B);const G=t.MAs(50);return t.KtG(G.open())}),t.qZA()(),t._UZ(49,"mat-datepicker",null,7),t.TgZ(51,"mat-action-row")(52,"button",5),t.NdJ("click",function(){return D.prevStep()}),t._uU(53,"Previous"),t.qZA(),t.TgZ(54,"button",4),t.NdJ("click",function(){return D.nextStep()}),t._uU(55,"End"),t.qZA()()()()}if(2&g){const B=t.MAs(50);t.xp6(1),t.Q6J("expanded",0===D.step),t.xp6(19),t.Q6J("expanded",1===D.step),t.xp6(17),t.Q6J("expanded",2===D.step),t.xp6(11),t.Q6J("matDatepicker",B)}},dependencies:[we,Me,De,qe,pe,Ce,Ie,fe.Ps,fe.Hw,K.lN,K.KE,K.hX,Ee.c,Ee.Nt,Ae.ot,Ae.lW,me.FA,me.Mq,me.hl,a.XK],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}"]}),y})(),le=(()=>{class y{}return y.\u0275fac=function(g){return new(g||y)},y.\u0275cmp=t.Xpm({type:y,selectors:[["expansion-harness-example"]],standalone:!0,features:[t.jDz],decls:7,vars:0,template:function(g,D){1&g&&(t.TgZ(0,"mat-accordion")(1,"mat-expansion-panel")(2,"mat-expansion-panel-header")(3,"mat-panel-title"),t._uU(4," Welcome "),t.qZA()(),t.TgZ(5,"p"),t._uU(6,"I am the content!"),t.qZA()()())},dependencies:[we,Me,De,pe,Ce],encapsulation:2}),y})()},6223:(tt,re,x)=>{x.d(re,{Cf:()=>f,EJ:()=>vt,F:()=>h,Fj:()=>R,JJ:()=>g,JL:()=>D,JU:()=>E,Kr:()=>ii,NI:()=>s,On:()=>Tt,Q7:()=>bt,UX:()=>Bi,Wl:()=>U,YN:()=>ei,Zs:()=>Gt,_Y:()=>Wt,a5:()=>J,cw:()=>Fe,eT:()=>Rt,gN:()=>z,kI:()=>I,oH:()=>Nt,qu:()=>Pi,sg:()=>gt,u:()=>Lt,u5:()=>Ni,wV:()=>It});var t=x(5879),P=x(6814),q=x(5253),F=x(7504),a=x(6124);let j=(()=>{class o{constructor(i,l){this._renderer=i,this._elementRef=l,this.onChange=p=>{},this.onTouched=()=>{}}setProperty(i,l){this._renderer.setProperty(this._elementRef.nativeElement,i,l)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}}return o.\u0275fac=function(i){return new(i||o)(t.Y36(t.Qsj),t.Y36(t.SBq))},o.\u0275dir=t.lG2({type:o}),o})(),Z=(()=>{class o extends j{}return o.\u0275fac=function(){let n;return function(l){return(n||(n=t.n5z(o)))(l||o)}}(),o.\u0275dir=t.lG2({type:o,features:[t.qOj]}),o})();const E=new t.OlP("NgValueAccessor"),Q={provide:E,useExisting:(0,t.Gpc)(()=>U),multi:!0};let U=(()=>{class o extends Z{writeValue(i){this.setProperty("checked",i)}}return o.\u0275fac=function(){let n;return function(l){return(n||(n=t.n5z(o)))(l||o)}}(),o.\u0275dir=t.lG2({type:o,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,l){1&i&&t.NdJ("change",function(w){return l.onChange(w.target.checked)})("blur",function(){return l.onTouched()})},features:[t._Bn([Q]),t.qOj]}),o})();const te={provide:E,useExisting:(0,t.Gpc)(()=>R),multi:!0},C=new t.OlP("CompositionEventMode");let R=(()=>{class o extends j{constructor(i,l,p){super(i,l),this._compositionMode=p,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Y(){const o=(0,P.q)()?(0,P.q)().getUserAgent():"";return/android (\d+)/.test(o.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)}}return o.\u0275fac=function(i){return new(i||o)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(C,8))},o.\u0275dir=t.lG2({type:o,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,l){1&i&&t.NdJ("input",function(w){return l._handleInput(w.target.value)})("blur",function(){return l.onTouched()})("compositionstart",function(){return l._compositionStart()})("compositionend",function(w){return l._compositionEnd(w.target.value)})},features:[t._Bn([te]),t.qOj]}),o})();function k(o){return null==o||("string"==typeof o||Array.isArray(o))&&0===o.length}function T(o){return null!=o&&"number"==typeof o.length}const f=new t.OlP("NgValidators"),b=new t.OlP("NgAsyncValidators"),A=/^(?=.{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 I{static min(n){return function N(o){return n=>{if(k(n.value)||k(o))return null;const i=parseFloat(n.value);return!isNaN(i)&&i<o?{min:{min:o,actual:n.value}}:null}}(n)}static max(n){return function X(o){return n=>{if(k(n.value)||k(o))return null;const i=parseFloat(n.value);return!isNaN(i)&&i>o?{max:{max:o,actual:n.value}}:null}}(n)}static required(n){return ie(n)}static requiredTrue(n){return Oe(n)}static email(n){return function Te(o){return k(o.value)||A.test(o.value)?null:{email:!0}}(n)}static minLength(n){return function xe(o){return n=>k(n.value)||!T(n.value)?null:n.value.length<o?{minlength:{requiredLength:o,actualLength:n.value.length}}:null}(n)}static maxLength(n){return function ye(o){return n=>T(n.value)&&n.value.length>o?{maxlength:{requiredLength:o,actualLength:n.value.length}}:null}(n)}static pattern(n){return function ue(o){if(!o)return oe;let n,i;return"string"==typeof o?(i="","^"!==o.charAt(0)&&(i+="^"),i+=o,"$"!==o.charAt(o.length-1)&&(i+="$"),n=new RegExp(i)):(i=o.toString(),n=o),l=>{if(k(l.value))return null;const p=l.value;return n.test(p)?null:{pattern:{requiredPattern:i,actualValue:p}}}}(n)}static nullValidator(n){return null}static compose(n){return ze(n)}static composeAsync(n){return Ie(n)}}function ie(o){return k(o.value)?{required:!0}:null}function Oe(o){return!0===o.value?null:{required:!0}}function oe(o){return null}function he(o){return null!=o}function se(o){return(0,t.QGY)(o)?(0,q.D)(o):o}function Pe(o){let n={};return o.forEach(i=>{n=null!=i?{...n,...i}:n}),0===Object.keys(n).length?null:n}function De(o,n){return n.map(i=>i(o))}function Ue(o){return o.map(n=>function qe(o){return!o.validate}(n)?n:i=>n.validate(i))}function ze(o){if(!o)return null;const n=o.filter(he);return 0==n.length?null:function(i){return Pe(De(i,n))}}function pe(o){return null!=o?ze(Ue(o)):null}function Ie(o){if(!o)return null;const n=o.filter(he);return 0==n.length?null:function(i){const l=De(i,n).map(se);return(0,F.D)(l).pipe((0,a.U)(Pe))}}function Ce(o){return null!=o?Ie(Ue(o)):null}function Me(o,n){return null===o?[n]:Array.isArray(o)?[...o,n]:[o,n]}function we(o){return o._rawValidators}function me(o){return o._rawAsyncValidators}function Ee(o){return o?Array.isArray(o)?o:[o]:[]}function K(o,n){return Array.isArray(o)?o.includes(n):o===n}function fe(o,n){const i=Ee(n);return Ee(o).forEach(p=>{K(i,p)||i.push(p)}),i}function Ae(o,n){return Ee(n).filter(i=>!K(o,i))}class Ne{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(n){this._rawValidators=n||[],this._composedValidatorFn=pe(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Ce(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,i){return!!this.control&&this.control.hasError(n,i)}getError(n,i){return this.control?this.control.getError(n,i):null}}class z extends Ne{get formDirective(){return null}get path(){return null}}class J extends Ne{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class le{constructor(n){this._cd=n}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 g=(()=>{class o extends le{constructor(i){super(i)}}return o.\u0275fac=function(i){return new(i||o)(t.Y36(J,2))},o.\u0275dir=t.lG2({type:o,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,l){2&i&&t.ekj("ng-untouched",l.isUntouched)("ng-touched",l.isTouched)("ng-pristine",l.isPristine)("ng-dirty",l.isDirty)("ng-valid",l.isValid)("ng-invalid",l.isInvalid)("ng-pending",l.isPending)},features:[t.qOj]}),o})(),D=(()=>{class o extends le{constructor(i){super(i)}}return o.\u0275fac=function(i){return new(i||o)(t.Y36(z,10))},o.\u0275dir=t.lG2({type:o,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,l){2&i&&t.ekj("ng-untouched",l.isUntouched)("ng-touched",l.isTouched)("ng-pristine",l.isPristine)("ng-dirty",l.isDirty)("ng-valid",l.isValid)("ng-invalid",l.isInvalid)("ng-pending",l.isPending)("ng-submitted",l.isSubmitted)},features:[t.qOj]}),o})();const ke="VALID",Be="INVALID",Se="PENDING",m="DISABLED";function M(o){return(H(o)?o.validators:o)||null}function v(o,n){return(H(n)?n.asyncValidators:o)||null}function H(o){return null!=o&&!Array.isArray(o)&&"object"==typeof o}function _e(o,n,i){const l=o.controls;if(!(n?Object.keys(l):l).length)throw new t.vHH(1e3,"");if(!l[i])throw new t.vHH(1001,"")}function ne(o,n,i){o._forEachChild((l,p)=>{if(void 0===i[p])throw new t.vHH(1002,"")})}class Re{constructor(n,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===ke}get invalid(){return this.status===Be}get pending(){return this.status==Se}get disabled(){return this.status===m}get enabled(){return this.status!==m}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(fe(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(fe(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Ae(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Ae(n,this._rawAsyncValidators))}hasValidator(n){return K(this._rawValidators,n)}hasAsyncValidator(n){return K(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Se,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const i=this._parentMarkedDirty(n.onlySelf);this.status=m,this.errors=null,this._forEachChild(l=>{l.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:i}),this._onDisabledChange.forEach(l=>l(!0))}enable(n={}){const i=this._parentMarkedDirty(n.onlySelf);this.status=ke,this._forEachChild(l=>{l.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:i}),this._onDisabledChange.forEach(l=>l(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ke||this.status===Se)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?m:ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Se,this._hasOwnPendingAsyncValidator=!0;const i=se(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(l=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(l,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,i={}){this.errors=n,this._updateControlsErrors(!1!==i.emitEvent)}get(n){let i=n;return null==i||(Array.isArray(i)||(i=i.split(".")),0===i.length)?null:i.reduce((l,p)=>l&&l._find(p),this)}getError(n,i){const l=i?this.get(i):this;return l&&l.errors?l.errors[n]:null}hasError(n,i){return!!this.getError(n,i)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?m:this.errors?Be:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Se)?Se:this._anyControlsHaveStatus(Be)?Be:ke}_anyControlsHaveStatus(n){return this._anyControls(i=>i.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){H(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function u(o){return Array.isArray(o)?pe(o):o||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function O(o){return Array.isArray(o)?Ce(o):o||null}(this._rawAsyncValidators)}}class Fe extends Re{constructor(n,i,l){super(M(i),v(l,i)),this.controls=n,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,i){return this.controls[n]?this.controls[n]:(this.controls[n]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(n,i,l={}){this.registerControl(n,i),this.updateValueAndValidity({emitEvent:l.emitEvent}),this._onCollectionChange()}removeControl(n,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(n,i,l={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],i&&this.registerControl(n,i),this.updateValueAndValidity({emitEvent:l.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,i={}){ne(this,0,n),Object.keys(n).forEach(l=>{_e(this,!0,l),this.controls[l].setValue(n[l],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(n,i={}){null!=n&&(Object.keys(n).forEach(l=>{const p=this.controls[l];p&&p.patchValue(n[l],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(n={},i={}){this._forEachChild((l,p)=>{l.reset(n[p],{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(n,i,l)=>(n[l]=i.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(i,l)=>!!l._syncPendingControls()||i);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(i=>{const l=this.controls[i];l&&n(l,i)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[i,l]of Object.entries(this.controls))if(this.contains(i)&&n(l))return!0;return!1}_reduceValue(){return this._reduceChildren({},(i,l,p)=>((l.enabled||this.disabled)&&(i[p]=l.value),i))}_reduceChildren(n,i){let l=n;return this._forEachChild((p,w)=>{l=i(l,p,w)}),l}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class mt extends Fe{}const ae=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Je}),Je="always";function Ye(o,n){return[...n.path,o]}function Ze(o,n,i=Je){$e(o,n),n.valueAccessor.writeValue(o.value),(o.disabled||"always"===i)&&n.valueAccessor.setDisabledState?.(o.disabled),function Mt(o,n){n.valueAccessor.registerOnChange(i=>{o._pendingValue=i,o._pendingChange=!0,o._pendingDirty=!0,"change"===o.updateOn&<(o,n)})}(o,n),function wt(o,n){const i=(l,p)=>{n.valueAccessor.writeValue(l),p&&n.viewToModelUpdate(l)};o.registerOnChange(i),n._registerOnDestroy(()=>{o._unregisterOnChange(i)})}(o,n),function At(o,n){n.valueAccessor.registerOnTouched(()=>{o._pendingTouched=!0,"blur"===o.updateOn&&o._pendingChange&<(o,n),"submit"!==o.updateOn&&o.markAsTouched()})}(o,n),function Ct(o,n){if(n.valueAccessor.setDisabledState){const i=l=>{n.valueAccessor.setDisabledState(l)};o.registerOnDisabledChange(i),n._registerOnDestroy(()=>{o._unregisterOnDisabledChange(i)})}}(o,n)}function Qe(o,n,i=!0){const l=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(l),n.valueAccessor.registerOnTouched(l)),Xe(o,n),o&&(n._invokeOnDestroyCallbacks(),o._registerOnCollectionChange(()=>{}))}function nt(o,n){o.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(n)})}function $e(o,n){const i=we(o);null!==n.validator?o.setValidators(Me(i,n.validator)):"function"==typeof i&&o.setValidators([i]);const l=me(o);null!==n.asyncValidator?o.setAsyncValidators(Me(l,n.asyncValidator)):"function"==typeof l&&o.setAsyncValidators([l]);const p=()=>o.updateValueAndValidity();nt(n._rawValidators,p),nt(n._rawAsyncValidators,p)}function Xe(o,n){let i=!1;if(null!==o){if(null!==n.validator){const p=we(o);if(Array.isArray(p)&&p.length>0){const w=p.filter($=>$!==n.validator);w.length!==p.length&&(i=!0,o.setValidators(w))}}if(null!==n.asyncValidator){const p=me(o);if(Array.isArray(p)&&p.length>0){const w=p.filter($=>$!==n.asyncValidator);w.length!==p.length&&(i=!0,o.setAsyncValidators(w))}}}const l=()=>{};return nt(n._rawValidators,l),nt(n._rawAsyncValidators,l),i}function lt(o,n){o._pendingDirty&&o.markAsDirty(),o.setValue(o._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(o._pendingValue),o._pendingChange=!1}function ft(o,n){$e(o,n)}function ut(o,n){if(!o.hasOwnProperty("model"))return!1;const i=o.model;return!!i.isFirstChange()||!Object.is(n,i.currentValue)}function _t(o,n){o._syncPendingControls(),n.forEach(i=>{const l=i.control;"submit"===l.updateOn&&l._pendingChange&&(i.viewToModelUpdate(l._pendingValue),l._pendingChange=!1)})}function ht(o,n){if(!n)return null;let i,l,p;return Array.isArray(n),n.forEach(w=>{w.constructor===R?i=w:function St(o){return Object.getPrototypeOf(o.constructor)===Z}(w)?l=w:p=w}),p||l||i||null}const Ot={provide:z,useExisting:(0,t.Gpc)(()=>h)},c=(()=>Promise.resolve())();let h=(()=>{class o extends z{constructor(i,l,p){super(),this.callSetDisabledState=p,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new Fe({},pe(i),Ce(l))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){c.then(()=>{const l=this._findContainer(i.path);i.control=l.registerControl(i.name,i.control),Ze(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){c.then(()=>{const l=this._findContainer(i.path);l&&l.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){c.then(()=>{const l=this._findContainer(i.path),p=new Fe({});ft(p,i),l.registerControl(i.name,p),p.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){c.then(()=>{const l=this._findContainer(i.path);l&&l.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,l){c.then(()=>{this.form.get(i.path).setValue(l)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,_t(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}}return o.\u0275fac=function(i){return new(i||o)(t.Y36(f,10),t.Y36(b,10),t.Y36(ae,8))},o.\u0275dir=t.lG2({type:o,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,l){1&i&&t.NdJ("submit",function(w){return l.onSubmit(w)})("reset",function(){return l.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([Ot]),t.qOj]}),o})();function e(o,n){const i=o.indexOf(n);i>-1&&o.splice(i,1)}function r(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}const s=class extends Re{constructor(n=null,i,l){super(M(i),v(l,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),H(i)&&(i.nonNullable||i.initialValueIsDefault)&&(this.defaultValue=r(n)?n.value:n)}setValue(n,i={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==i.emitModelToViewChange&&this._onChange.forEach(l=>l(this.value,!1!==i.emitViewToModelChange)),this.updateValueAndValidity(i)}patchValue(n,i={}){this.setValue(n,i)}reset(n=this.defaultValue,i={}){this._applyFormState(n),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){e(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){e(this._onDisabledChange,n)}_forEachChild(n){}_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(n){r(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},mi={provide:J,useExisting:(0,t.Gpc)(()=>Tt)},Kt=(()=>Promise.resolve())();let Tt=(()=>{class o extends J{constructor(i,l,p,w,$,Ge){super(),this._changeDetectorRef=$,this.callSetDisabledState=Ge,this.control=new s,this._registered=!1,this.name="",this.update=new t.vpe,this._parent=i,this._setValidators(l),this._setAsyncValidators(p),this.valueAccessor=ht(0,w)}ngOnChanges(i){if(this._checkForErrors(),!this._registered||"name"in i){if(this._registered&&(this._checkName(),this.formDirective)){const l=i.name.previousValue;this.formDirective.removeControl({name:l,path:this._getPath(l)})}this._setUpControl()}"isDisabled"in i&&this._updateDisabled(i),ut(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(){Ze(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){Kt.then(()=>{this.control.setValue(i,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(i){const l=i.isDisabled.currentValue,p=0!==l&&(0,t.VuI)(l);Kt.then(()=>{p&&!this.control.disabled?this.control.disable():!p&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(i){return this._parent?Ye(i,this._parent):[i]}}return o.\u0275fac=function(i){return new(i||o)(t.Y36(z,9),t.Y36(f,10),t.Y36(b,10),t.Y36(E,10),t.Y36(t.sBO,8),t.Y36(ae,8))},o.\u0275dir=t.lG2({type:o,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t._Bn([mi]),t.qOj,t.TTD]}),o})(),Wt=(()=>{class o{}return o.\u0275fac=function(i){return new(i||o)},o.\u0275dir=t.lG2({type:o,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),o})();const fi={provide:E,useExisting:(0,t.Gpc)(()=>It),multi:!0};let It=(()=>{class o extends Z{writeValue(i){this.setProperty("value",i??"")}registerOnChange(i){this.onChange=l=>{i(""==l?null:parseFloat(l))}}}return o.\u0275fac=function(){let n;return function(l){return(n||(n=t.n5z(o)))(l||o)}}(),o.\u0275dir=t.lG2({type:o,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,l){1&i&&t.NdJ("input",function(w){return l.onChange(w.target.value)})("blur",function(){return l.onTouched()})},features:[t._Bn([fi]),t.qOj]}),o})(),Jt=(()=>{class o{}return o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({}),o})();const vi={provide:E,useExisting:(0,t.Gpc)(()=>Rt),multi:!0};let Rt=(()=>{class o extends Z{writeValue(i){this.setProperty("value",parseFloat(i))}registerOnChange(i){this.onChange=l=>{i(""==l?null:parseFloat(l))}}}return o.\u0275fac=function(){let n;return function(l){return(n||(n=t.n5z(o)))(l||o)}}(),o.\u0275dir=t.lG2({type:o,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,l){1&i&&t.NdJ("change",function(w){return l.onChange(w.target.value)})("input",function(w){return l.onChange(w.target.value)})("blur",function(){return l.onTouched()})},features:[t._Bn([vi]),t.qOj]}),o})();const Pt=new t.OlP("NgModelWithFormControlWarning"),bi={provide:J,useExisting:(0,t.Gpc)(()=>Nt)};let Nt=(()=>{class o extends J{set isDisabled(i){}constructor(i,l,p,w,$){super(),this._ngModelWarningConfig=w,this.callSetDisabledState=$,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(i),this._setAsyncValidators(l),this.valueAccessor=ht(0,p)}ngOnChanges(i){if(this._isControlChanged(i)){const l=i.form.previousValue;l&&Qe(l,this,!1),Ze(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ut(i,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Qe(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")}}return o._ngModelWarningSentOnce=!1,o.\u0275fac=function(i){return new(i||o)(t.Y36(f,10),t.Y36(b,10),t.Y36(E,10),t.Y36(Pt,8),t.Y36(ae,8))},o.\u0275dir=t.lG2({type:o,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t._Bn([bi]),t.qOj,t.TTD]}),o})();const xi={provide:z,useExisting:(0,t.Gpc)(()=>gt)};let gt=(()=>{class o extends z{constructor(i,l,p){super(),this.callSetDisabledState=p,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(i),this._setAsyncValidators(l)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Xe(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 l=this.form.get(i.path);return Ze(l,i,this.callSetDisabledState),l.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),l}getControl(i){return this.form.get(i.path)}removeControl(i){Qe(i.control||null,i,!1),function Ft(o,n){const i=o.indexOf(n);i>-1&&o.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,l){this.form.get(i.path).setValue(l)}onSubmit(i){return this.submitted=!0,_t(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}_updateDomValue(){this.directives.forEach(i=>{const l=i.control,p=this.form.get(i.path);l!==p&&(Qe(l||null,i),(o=>o instanceof s)(p)&&(Ze(p,i,this.callSetDisabledState),i.control=p))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){const l=this.form.get(i.path);ft(l,i),l.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){const l=this.form.get(i.path);l&&function dt(o,n){return Xe(o,n)}(l,i)&&l.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){$e(this.form,this),this._oldForm&&Xe(this._oldForm,this)}_checkFormPresent(){}}return o.\u0275fac=function(i){return new(i||o)(t.Y36(f,10),t.Y36(b,10),t.Y36(ae,8))},o.\u0275dir=t.lG2({type:o,selectors:[["","formGroup",""]],hostBindings:function(i,l){1&i&&t.NdJ("submit",function(w){return l.onSubmit(w)})("reset",function(){return l.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([xi]),t.qOj,t.TTD]}),o})();const Ci={provide:J,useExisting:(0,t.Gpc)(()=>Lt)};let Lt=(()=>{class o extends J{set isDisabled(i){}constructor(i,l,p,w,$){super(),this._ngModelWarningConfig=$,this._added=!1,this.name=null,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=i,this._setValidators(l),this._setAsyncValidators(p),this.valueAccessor=ht(0,w)}ngOnChanges(i){this._added||this._setUpControl(),ut(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 Ye(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}}return o._ngModelWarningSentOnce=!1,o.\u0275fac=function(i){return new(i||o)(t.Y36(z,13),t.Y36(f,10),t.Y36(b,10),t.Y36(E,10),t.Y36(Pt,8))},o.\u0275dir=t.lG2({type:o,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[t._Bn([Ci]),t.qOj,t.TTD]}),o})();const Mi={provide:E,useExisting:(0,t.Gpc)(()=>vt),multi:!0};function Xt(o,n){return null==o?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${o}: ${n}`.slice(0,50))}let vt=(()=>{class o extends Z{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 p=Xt(this._getOptionId(i),i);this.setProperty("value",p)}registerOnChange(i){this.onChange=l=>{this.value=this._getOptionValue(l),i(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(i){for(const l of this._optionMap.keys())if(this._compareWith(this._optionMap.get(l),i))return l;return null}_getOptionValue(i){const l=function Ai(o){return o.split(":")[0]}(i);return this._optionMap.has(l)?this._optionMap.get(l):i}}return o.\u0275fac=function(){let n;return function(l){return(n||(n=t.n5z(o)))(l||o)}}(),o.\u0275dir=t.lG2({type:o,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,l){1&i&&t.NdJ("change",function(w){return l.onChange(w.target.value)})("blur",function(){return l.onTouched()})},inputs:{compareWith:"compareWith"},features:[t._Bn([Mi]),t.qOj]}),o})(),ei=(()=>{class o{constructor(i,l,p){this._element=i,this._renderer=l,this._select=p,this._select&&(this.id=this._select._registerOption())}set ngValue(i){null!=this._select&&(this._select._optionMap.set(this.id,i),this._setElementValue(Xt(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))}}return o.\u0275fac=function(i){return new(i||o)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(vt,9))},o.\u0275dir=t.lG2({type:o,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),o})();const wi={provide:E,useExisting:(0,t.Gpc)(()=>Ht),multi:!0};function ti(o,n){return null==o?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${o}: ${n}`.slice(0,50))}let Ht=(()=>{class o extends Z{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(i){this._compareWith=i}writeValue(i){let l;if(this.value=i,Array.isArray(i)){const p=i.map(w=>this._getOptionId(w));l=(w,$)=>{w._setSelected(p.indexOf($.toString())>-1)}}else l=(p,w)=>{p._setSelected(!1)};this._optionMap.forEach(l)}registerOnChange(i){this.onChange=l=>{const p=[],w=l.selectedOptions;if(void 0!==w){const $=w;for(let Ge=0;Ge<$.length;Ge++){const Ut=this._getOptionValue($[Ge].value);p.push(Ut)}}else{const $=l.options;for(let Ge=0;Ge<$.length;Ge++){const xt=$[Ge];if(xt.selected){const Ut=this._getOptionValue(xt.value);p.push(Ut)}}}this.value=p,i(p)}}_registerOption(i){const l=(this._idCounter++).toString();return this._optionMap.set(l,i),l}_getOptionId(i){for(const l of this._optionMap.keys())if(this._compareWith(this._optionMap.get(l)._value,i))return l;return null}_getOptionValue(i){const l=function Ei(o){return o.split(":")[0]}(i);return this._optionMap.has(l)?this._optionMap.get(l)._value:i}}return o.\u0275fac=function(){let n;return function(l){return(n||(n=t.n5z(o)))(l||o)}}(),o.\u0275dir=t.lG2({type:o,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,l){1&i&&t.NdJ("change",function(w){return l.onChange(w.target)})("blur",function(){return l.onTouched()})},inputs:{compareWith:"compareWith"},features:[t._Bn([wi]),t.qOj]}),o})(),ii=(()=>{class o{constructor(i,l,p){this._element=i,this._renderer=l,this._select=p,this._select&&(this.id=this._select._registerOption(this))}set ngValue(i){null!=this._select&&(this._value=i,this._setElementValue(ti(this.id,i)),this._select.writeValue(this._select.value))}set value(i){this._select?(this._value=i,this._setElementValue(ti(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))}}return o.\u0275fac=function(i){return new(i||o)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(Ht,9))},o.\u0275dir=t.lG2({type:o,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),o})(),et=(()=>{class o{constructor(){this._validator=oe}ngOnChanges(i){if(this.inputName in i){const l=this.normalizeInput(i[this.inputName].currentValue);this._enabled=this.enabled(l),this._validator=this._enabled?this.createValidator(l):oe,this._onChange&&this._onChange()}}validate(i){return this._validator(i)}registerOnValidatorChange(i){this._onChange=i}enabled(i){return null!=i}}return o.\u0275fac=function(i){return new(i||o)},o.\u0275dir=t.lG2({type:o,features:[t.TTD]}),o})();const Si={provide:f,useExisting:(0,t.Gpc)(()=>bt),multi:!0},Fi={provide:f,useExisting:(0,t.Gpc)(()=>Gt),multi:!0};let bt=(()=>{class o extends et{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.VuI,this.createValidator=i=>ie}enabled(i){return i}}return o.\u0275fac=function(){let n;return function(l){return(n||(n=t.n5z(o)))(l||o)}}(),o.\u0275dir=t.lG2({type:o,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,l){2&i&&t.uIk("required",l._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([Si]),t.qOj]}),o})(),Gt=(()=>{class o extends bt{constructor(){super(...arguments),this.createValidator=i=>Oe}}return o.\u0275fac=function(){let n;return function(l){return(n||(n=t.n5z(o)))(l||o)}}(),o.\u0275dir=t.lG2({type:o,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(i,l){2&i&&t.uIk("required",l._enabled?"":null)},features:[t._Bn([Fi]),t.qOj]}),o})(),ui=(()=>{class o{}return o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[Jt]}),o})();class hi extends Re{constructor(n,i,l){super(M(i),v(l,i)),this.controls=n,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,i={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}insert(n,i,l={}){this.controls.splice(n,0,i),this._registerControl(i),this.updateValueAndValidity({emitEvent:l.emitEvent})}removeAt(n,i={}){let l=this._adjustIndex(n);l<0&&(l=0),this.controls[l]&&this.controls[l]._registerOnCollectionChange(()=>{}),this.controls.splice(l,1),this.updateValueAndValidity({emitEvent:i.emitEvent})}setControl(n,i,l={}){let p=this._adjustIndex(n);p<0&&(p=0),this.controls[p]&&this.controls[p]._registerOnCollectionChange(()=>{}),this.controls.splice(p,1),i&&(this.controls.splice(p,0,i),this._registerControl(i)),this.updateValueAndValidity({emitEvent:l.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,i={}){ne(this,0,n),n.forEach((l,p)=>{_e(this,!1,p),this.at(p).setValue(l,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(n,i={}){null!=n&&(n.forEach((l,p)=>{this.at(p)&&this.at(p).patchValue(l,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(n=[],i={}){this._forEachChild((l,p)=>{l.reset(n[p],{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(i=>i._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((i,l)=>!!l._syncPendingControls()||i,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((i,l)=>{n(i,l)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(i=>i.enabled&&n(i))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function pi(o){return!!o&&(void 0!==o.asyncValidators||void 0!==o.validators||void 0!==o.updateOn)}let Pi=(()=>{class o{constructor(){this.useNonNullable=!1}get nonNullable(){const i=new o;return i.useNonNullable=!0,i}group(i,l=null){const p=this._reduceControls(i);let w={};return pi(l)?w=l:null!==l&&(w.validators=l.validator,w.asyncValidators=l.asyncValidator),new Fe(p,w)}record(i,l=null){const p=this._reduceControls(i);return new mt(p,l)}control(i,l,p){let w={};return this.useNonNullable?(pi(l)?w=l:(w.validators=l,w.asyncValidators=p),new s(i,{...w,nonNullable:!0})):new s(i,l,p)}array(i,l,p){const w=i.map($=>this._createControl($));return new hi(w,l,p)}_reduceControls(i){const l={};return Object.keys(i).forEach(p=>{l[p]=this._createControl(i[p])}),l}_createControl(i){return i instanceof s||i instanceof Re?i:Array.isArray(i)?this.control(i[0],i.length>1?i[1]:null,i.length>2?i[2]:null):this.control(i)}}return o.\u0275fac=function(i){return new(i||o)},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Ni=(()=>{class o{static withConfig(i){return{ngModule:o,providers:[{provide:ae,useValue:i.callSetDisabledState??Je}]}}}return o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[ui]}),o})(),Bi=(()=>{class o{static withConfig(i){return{ngModule:o,providers:[{provide:Pt,useValue:i.warnOnNgModelWithFormControl??"always"},{provide:ae,useValue:i.callSetDisabledState??Je}]}}}return o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[ui]}),o})()},8034:(tt,re,x)=>{x.d(re,{By:()=>kt,C0:()=>G,DK:()=>ht,FA:()=>Ot,M5:()=>qt,Mq:()=>Je,Q0:()=>Xe,_H:()=>_e,_g:()=>_t,dp:()=>Ft,hl:()=>$e,nW:()=>Mt,q_:()=>je,wx:()=>St,zY:()=>Vt});var t=x(4300),P=x(748),q=x(8484),F=x(6814),a=x(5879),j=x(2296),Z=x(6672),E=x(3680),Q=x(2079),U=x(7902),te=x(7354),Y=x(9193),C=x(6028),R=x(9388),k=x(2831),T=x(1418),f=x(3075),b=x(7734),A=x(2495),I=x(6825),N=x(6223),X=x(4170),ie=x(4516);const Oe=["mat-calendar-body",""];function Te(c,h){if(1&c&&(a.TgZ(0,"tr",3)(1,"td",4),a._uU(2),a.qZA()()),2&c){const e=a.oxw();a.xp6(1),a.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),a.uIk("colspan",e.numCols),a.xp6(1),a.hij(" ",e.label," ")}}function xe(c,h){if(1&c&&(a.TgZ(0,"td",4),a._uU(1),a.qZA()),2&c){const e=a.oxw(2);a.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),a.uIk("colspan",e._firstRowOffset),a.xp6(1),a.hij(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function ye(c,h){if(1&c){const e=a.EpF();a.TgZ(0,"td",8)(1,"button",9),a.NdJ("click",function(s){const _=a.CHM(e).$implicit,V=a.oxw(2);return a.KtG(V._cellClicked(_,s))})("focus",function(s){const _=a.CHM(e).$implicit,V=a.oxw(2);return a.KtG(V._emitActiveDateChange(_,s))}),a.TgZ(2,"span",10),a._uU(3),a.qZA(),a._UZ(4,"span",11),a.qZA()()}if(2&c){const e=h.$implicit,r=h.index,s=a.oxw().index,d=a.oxw();a.Udp("width",d._cellWidth)("padding-top",d._cellPadding)("padding-bottom",d._cellPadding),a.uIk("data-mat-row",s)("data-mat-col",r),a.xp6(1),a.ekj("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",d._isActiveCell(s,r))("mat-calendar-body-range-start",d._isRangeStart(e.compareValue))("mat-calendar-body-range-end",d._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",d._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",d._isComparisonBridgeStart(e.compareValue,s,r))("mat-calendar-body-comparison-bridge-end",d._isComparisonBridgeEnd(e.compareValue,s,r))("mat-calendar-body-comparison-start",d._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",d._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",d._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",d._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",d._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",d._isInPreview(e.compareValue)),a.Q6J("ngClass",e.cssClasses)("tabindex",d._isActiveCell(s,r)?0:-1),a.uIk("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",d._isSelected(e.compareValue))("aria-current",d.todayValue===e.compareValue?"date":null)("aria-describedby",d._getDescribedby(e.compareValue)),a.xp6(1),a.ekj("mat-calendar-body-selected",d._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",d._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",d.todayValue===e.compareValue),a.xp6(1),a.hij(" ",e.displayValue," ")}}function ue(c,h){if(1&c&&(a.TgZ(0,"tr",5),a.YNc(1,xe,2,6,"td",6),a.YNc(2,ye,5,48,"td",7),a.qZA()),2&c){const e=h.$implicit,r=h.index,s=a.oxw();a.xp6(1),a.Q6J("ngIf",0===r&&s._firstRowOffset),a.xp6(1),a.Q6J("ngForOf",e)}}function oe(c,h){if(1&c&&(a.TgZ(0,"th",5)(1,"span",6),a._uU(2),a.qZA(),a.TgZ(3,"span",7),a._uU(4),a.qZA()()),2&c){const e=h.$implicit;a.xp6(2),a.Oqu(e.long),a.xp6(2),a.Oqu(e.narrow)}}const he=["*"];function se(c,h){}function Pe(c,h){if(1&c){const e=a.EpF();a.TgZ(0,"mat-month-view",5),a.NdJ("activeDateChange",function(s){a.CHM(e);const d=a.oxw();return a.KtG(d.activeDate=s)})("_userSelection",function(s){a.CHM(e);const d=a.oxw();return a.KtG(d._dateSelected(s))})("dragStarted",function(s){a.CHM(e);const d=a.oxw();return a.KtG(d._dragStarted(s))})("dragEnded",function(s){a.CHM(e);const d=a.oxw();return a.KtG(d._dragEnded(s))}),a.qZA()}if(2&c){const e=a.oxw();a.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function De(c,h){if(1&c){const e=a.EpF();a.TgZ(0,"mat-year-view",6),a.NdJ("activeDateChange",function(s){a.CHM(e);const d=a.oxw();return a.KtG(d.activeDate=s)})("monthSelected",function(s){a.CHM(e);const d=a.oxw();return a.KtG(d._monthSelectedInYearView(s))})("selectedChange",function(s){a.CHM(e);const d=a.oxw();return a.KtG(d._goToDateInView(s,"month"))}),a.qZA()}if(2&c){const e=a.oxw();a.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function qe(c,h){if(1&c){const e=a.EpF();a.TgZ(0,"mat-multi-year-view",7),a.NdJ("activeDateChange",function(s){a.CHM(e);const d=a.oxw();return a.KtG(d.activeDate=s)})("yearSelected",function(s){a.CHM(e);const d=a.oxw();return a.KtG(d._yearSelectedInMultiYearView(s))})("selectedChange",function(s){a.CHM(e);const d=a.oxw();return a.KtG(d._goToDateInView(s,"year"))}),a.qZA()}if(2&c){const e=a.oxw();a.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ue(c,h){}const ze=["button"];function pe(c,h){1&c&&(a.O4$(),a.TgZ(0,"svg",3),a._UZ(1,"path",4),a.qZA())}const Ie=[[["","matDatepickerToggleIcon",""]]],Ce=["[matDatepickerToggleIcon]"],Me=[[["input","matStartDate",""]],[["input","matEndDate",""]]],we=["input[matStartDate]","input[matEndDate]"];function me(c,h){1&c&&(a.TgZ(0,"div",0),a.Hsn(1),a.qZA())}let K=(()=>{class c{constructor(){this.changes=new Q.xQ,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(e,r){return`${e} \u2013 ${r}`}formatYearRangeLabel(e,r){return`${e} to ${r}`}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class fe{constructor(h,e,r,s,d={},_=h,V){this.value=h,this.displayValue=e,this.ariaLabel=r,this.enabled=s,this.cssClasses=d,this.compareValue=_,this.rawValue=V}}let Ae=1;const Ne=(0,k.i$)({passive:!1,capture:!0}),z=(0,k.i$)({passive:!0,capture:!0}),J=(0,k.i$)({passive:!0});let le=(()=>{class c{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(e,r){this._elementRef=e,this._ngZone=r,this._platform=(0,a.f3M)(k.t4),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.vpe,this.previewChange=new a.vpe,this.activeDateChange=new a.vpe,this.dragStarted=new a.vpe,this.dragEnded=new a.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=s=>{if(this._skipNextFocus&&"focus"===s.type)this._skipNextFocus=!1;else if(s.target&&this.isRange){const d=this._getCellFromElement(s.target);d&&this._ngZone.run(()=>this.previewChange.emit({value:d.enabled?d:null,event:s}))}},this._touchmoveHandler=s=>{if(!this.isRange)return;const d=L(s),_=d?this._getCellFromElement(d):null;d!==s.target&&(this._didDragSinceMouseDown=!0),S(s.target)&&s.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:_?.enabled?_:null,event:s}))},this._leaveHandler=s=>{null!==this.previewEnd&&this.isRange&&("blur"!==s.type&&(this._didDragSinceMouseDown=!0),s.target&&this._getCellFromElement(s.target)&&(!s.relatedTarget||!this._getCellFromElement(s.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:s})))},this._mousedownHandler=s=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const d=s.target&&this._getCellFromElement(s.target);!d||!this._isInRange(d.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:d.rawValue,event:s})})},this._mouseupHandler=s=>{if(!this.isRange)return;const d=S(s.target);d?d.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const _=this._getCellFromElement(d);this.dragEnded.emit({value:_?.rawValue??null,event:s})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:s})})},this._touchendHandler=s=>{const d=L(s);d&&this._mouseupHandler({target:d})},this._id="mat-calendar-body-"+Ae++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,r.runOutsideAngular(()=>{const s=e.nativeElement;s.addEventListener("touchmove",this._touchmoveHandler,Ne),s.addEventListener("mouseenter",this._enterHandler,z),s.addEventListener("focus",this._enterHandler,z),s.addEventListener("mouseleave",this._leaveHandler,z),s.addEventListener("blur",this._leaveHandler,z),s.addEventListener("mousedown",this._mousedownHandler,J),s.addEventListener("touchstart",this._mousedownHandler,J),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(e,r){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:r})}_emitActiveDateChange(e,r){e.enabled&&this.activeDateChange.emit({value:e.value,event:r})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const r=e.numCols,{rows:s,numCols:d}=this;(e.rows||r)&&(this._firstRowOffset=s&&s.length&&s[0].length?d-s[0].length:0),(e.cellAspectRatio||r||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/d+"%"),(r||!this._cellWidth)&&(this._cellWidth=100/d+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,Ne),e.removeEventListener("mouseenter",this._enterHandler,z),e.removeEventListener("focus",this._enterHandler,z),e.removeEventListener("mouseleave",this._leaveHandler,z),e.removeEventListener("blur",this._leaveHandler,z),e.removeEventListener("mousedown",this._mousedownHandler,J),e.removeEventListener("touchstart",this._mousedownHandler,J),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(e,r){let s=e*this.numCols+r;return e&&(s-=this._firstRowOffset),s==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,T.q)(1)).subscribe(()=>{setTimeout(()=>{const r=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");r&&(e||(this._skipNextFocus=!0),r.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return g(e,this.startValue,this.endValue)}_isRangeEnd(e){return D(e,this.startValue,this.endValue)}_isInRange(e){return B(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return g(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,r,s){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let d=this.rows[r][s-1];if(!d){const _=this.rows[r-1];d=_&&_[_.length-1]}return d&&!this._isRangeEnd(d.compareValue)}_isComparisonBridgeEnd(e,r,s){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let d=this.rows[r][s+1];if(!d){const _=this.rows[r+1];d=_&&_[0]}return d&&!this._isRangeStart(d.compareValue)}_isComparisonEnd(e){return D(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return B(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return g(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return D(e,this.previewStart,this.previewEnd)}_isInPreview(e){return B(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_getCellFromElement(e){const r=S(e);if(r){const s=r.getAttribute("data-mat-row"),d=r.getAttribute("data-mat-col");if(s&&d)return this.rows[parseInt(s)][parseInt(d)]}return null}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(a.SBq),a.Y36(a.R0b))},c.\u0275cmp=a.Xpm({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"],features:[a.TTD],attrs:Oe,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,r){1&e&&(a.YNc(0,Te,3,6,"tr",0),a.YNc(1,ue,3,2,"tr",1),a.TgZ(2,"label",2),a._uU(3),a.qZA(),a.TgZ(4,"label",2),a._uU(5),a.qZA()),2&e&&(a.Q6J("ngIf",r._firstRowOffset<r.labelMinRequiredCells),a.xp6(1),a.Q6J("ngForOf",r.rows),a.xp6(1),a.Q6J("id",r._startDateLabelId),a.xp6(1),a.hij(" ",r.startDateAccessibleName,"\n"),a.xp6(1),a.Q6J("id",r._endDateLabelId),a.xp6(1),a.hij(" ",r.endDateAccessibleName,"\n"))},dependencies:[F.mk,F.sg,F.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.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 .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}.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}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.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}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0}),c})();function y(c){return"TD"===c?.nodeName}function S(c){let h;return y(c)?h=c:y(c.parentNode)?h=c.parentNode:y(c.parentNode?.parentNode)&&(h=c.parentNode.parentNode),null!=h?.getAttribute("data-mat-row")?h:null}function g(c,h,e){return null!==e&&h!==e&&c<e&&c===h}function D(c,h,e){return null!==h&&h!==e&&c>=h&&c===e}function B(c,h,e,r){return r&&null!==h&&null!==e&&h!==e&&c>=h&&c<=e}function L(c){const h=c.changedTouches[0];return document.elementFromPoint(h.clientX,h.clientY)}class G{constructor(h,e){this.start=h,this.end=e}}let W=(()=>{class c{constructor(e,r){this.selection=e,this._adapter=r,this._selectionChanged=new Q.xQ,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,r){const s=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:r,oldValue:s})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return c.\u0275fac=function(e){a.$Z()},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})(),Ve=(()=>{class c extends W{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new c(this._adapter);return e.updateSelection(this.selection,this),e}}return c.\u0275fac=function(e){return new(e||c)(a.LFG(E._A))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})(),de=(()=>{class c extends W{constructor(e){super(new G(null,null),e)}add(e){let{start:r,end:s}=this.selection;null==r?r=e:null==s?s=e:(r=e,s=null),super.updateSelection(new G(r,s),this)}isValid(){const{start:e,end:r}=this.selection;return null==e&&null==r||(null!=e&&null!=r?this._isValidDateInstance(e)&&this._isValidDateInstance(r)&&this._adapter.compareDate(e,r)<=0:(null==e||this._isValidDateInstance(e))&&(null==r||this._isValidDateInstance(r)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const e=new c(this._adapter);return e.updateSelection(this.selection,this),e}}return c.\u0275fac=function(e){return new(e||c)(a.LFG(E._A))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})();const it={provide:W,deps:[[new a.FiY,new a.tp0,W],E._A],useFactory:function ce(c,h){return c||new Ve(h)}},Dt={provide:W,deps:[[new a.FiY,new a.tp0,W],E._A],useFactory:function yt(c,h){return c||new de(h)}},je=new a.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let rt=(()=>{class c{constructor(e){this._dateAdapter=e}selectionFinished(e,r){let{start:s,end:d}=r;return null==s?s=e:null==d&&e&&this._dateAdapter.compareDate(e,s)>=0?d=e:(s=e,d=null),new G(s,d)}createPreview(e,r){let s=null,d=null;return r.start&&!r.end&&e&&(s=r.start,d=e),new G(s,d)}createDrag(e,r,s){let d=r.start,_=r.end;if(!d||!_)return null;const V=this._dateAdapter,ge=0!==V.compareDate(d,_),ve=V.getYear(s)-V.getYear(e),Le=V.getMonth(s)-V.getMonth(e),be=V.getDate(s)-V.getDate(e);return ge&&V.sameDate(e,r.start)?(d=s,V.compareDate(s,_)>0&&(_=V.addCalendarYears(_,ve),_=V.addCalendarMonths(_,Le),_=V.addCalendarDays(_,be))):ge&&V.sameDate(e,r.end)?(_=s,V.compareDate(s,d)<0&&(d=V.addCalendarYears(d,ve),d=V.addCalendarMonths(d,Le),d=V.addCalendarDays(d,be))):(d=V.addCalendarYears(d,ve),d=V.addCalendarMonths(d,Le),d=V.addCalendarDays(d,be),_=V.addCalendarYears(_,ve),_=V.addCalendarMonths(_,Le),_=V.addCalendarDays(_,be)),new G(d,_)}}return c.\u0275fac=function(e){return new(e||c)(a.LFG(E._A))},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac}),c})();const Ke={provide:je,deps:[[new a.FiY,new a.tp0,je],E._A],useFactory:function ot(c,h){return c||new rt(h)}};let st=(()=>{class c{get activeDate(){return this._activeDate}set activeDate(e){const r=this._activeDate,s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._hasSameMonthAndYear(r,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof G?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,r,s,d,_){this._changeDetectorRef=e,this._dateFormats=r,this._dateAdapter=s,this._dir=d,this._rangeStrategy=_,this._rerenderSubscription=U.w.EMPTY,this.activeDrag=null,this.selectedChange=new a.vpe,this._userSelection=new a.vpe,this.dragStarted=new a.vpe,this.dragEnded=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,f.O)(null)).subscribe(()=>this._init())}ngOnChanges(e){const r=e.comparisonStart||e.comparisonEnd;r&&!r.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const r=e.value,s=this._getDateFromDayOfMonth(r);let d,_;this._selected instanceof G?(d=this._getDateInCurrentMonth(this._selected.start),_=this._getDateInCurrentMonth(this._selected.end)):d=_=this._getDateInCurrentMonth(this._selected),(d!==r||_!==r)&&this.selectedChange.emit(s),this._userSelection.emit({value:s,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const s=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const r=this._activeDate,s=this._isRtl();switch(e.keyCode){case C.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?1:-1);break;case C.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?-1:1);break;case C.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case C.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case C.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case C.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case C.Ku:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case C.VM:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case C.K5:case C.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case C.hY:return void(null!=this._previewEnd&&!(0,C.Vb)(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(r,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===C.L_||e.keyCode===C.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:r}){if(this._rangeStrategy){const s=r?r.rawValue:null,d=this._rangeStrategy.createPreview(s,this.selected,e);if(this._previewStart=this._getCellCompareValue(d.start),this._previewEnd=this._getCellCompareValue(d.end),this.activeDrag&&s){const _=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,s,e);_&&(this._previewStart=this._getCellCompareValue(_.start),this._previewEnd=this._getCellCompareValue(_.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){const r=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:r??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),r=this._dateAdapter.getDayOfWeekNames("narrow");let d=this._dateAdapter.getDayOfWeekNames("long").map((_,V)=>({long:_,narrow:r[V]}));this._weekdays=d.slice(e).concat(d.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),r=this._dateAdapter.getDateNames();this._weeks=[[]];for(let s=0,d=this._firstWeekOffset;s<e;s++,d++){7==d&&(this._weeks.push([]),d=0);const _=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),s+1),V=this._shouldEnableDate(_),ge=this._dateAdapter.format(_,this._dateFormats.display.dateA11yLabel),ve=this.dateClass?this.dateClass(_,"month"):void 0;this._weeks[this._weeks.length-1].push(new fe(s+1,r[s],ge,V,ve,this._getCellCompareValue(_),_))}}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,r){return!(!e||!r||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(r)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(r))}_getCellCompareValue(e){if(e){const r=this._dateAdapter.getYear(e),s=this._dateAdapter.getMonth(e),d=this._dateAdapter.getDate(e);return new Date(r,s,d).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof G?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(a.sBO),a.Y36(E.sG,8),a.Y36(E._A,8),a.Y36(R.Is,8),a.Y36(je,8))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-month-view"]],viewQuery:function(e,r){if(1&e&&a.Gf(le,5),2&e){let s;a.iGM(s=a.CRH())&&(r._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[a.TTD],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,r){1&e&&(a.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),a.YNc(3,oe,5,2,"th",2),a.qZA(),a.TgZ(4,"tr"),a._UZ(5,"th",3),a.qZA()(),a.TgZ(6,"tbody",4),a.NdJ("selectedValueChange",function(d){return r._dateSelected(d)})("activeDateChange",function(d){return r._updateActiveDate(d)})("previewChange",function(d){return r._previewChanged(d)})("dragStarted",function(d){return r.dragStarted.emit(d)})("dragEnded",function(d){return r._dragEnded(d)})("keyup",function(d){return r._handleCalendarBodyKeyup(d)})("keydown",function(d){return r._handleCalendarBodyKeydown(d)}),a.qZA()()),2&e&&(a.xp6(3),a.Q6J("ngForOf",r._weekdays),a.xp6(3),a.Q6J("label",r._monthLabel)("rows",r._weeks)("todayValue",r._todayDate)("startValue",r._rangeStart)("endValue",r._rangeEnd)("comparisonStart",r._comparisonRangeStart)("comparisonEnd",r._comparisonRangeEnd)("previewStart",r._previewStart)("previewEnd",r._previewEnd)("isRange",r._isRange)("labelMinRequiredCells",3)("activeCell",r._dateAdapter.getDate(r.activeDate)-1)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName))},dependencies:[F.sg,le],encapsulation:2,changeDetection:0}),c})();const ee=24;let Be=(()=>{class c{get activeDate(){return this._activeDate}set activeDate(e){let r=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),Se(this._dateAdapter,r,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof G?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,r,s){this._changeDetectorRef=e,this._dateAdapter=r,this._dir=s,this._rerenderSubscription=U.w.EMPTY,this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,f.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const r=this._dateAdapter.getYear(this._activeDate)-m(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let s=0,d=[];s<ee;s++)d.push(r+s),4==d.length&&(this._years.push(d.map(_=>this._createCellForYear(_))),d=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const r=e.value,s=this._dateAdapter.createDate(r,0,1),d=this._getDateFromYear(r);this.yearSelected.emit(s),this.selectedChange.emit(d)}_updateActiveDate(e){const s=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const r=this._activeDate,s=this._isRtl();switch(e.keyCode){case C.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?1:-1);break;case C.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?-1:1);break;case C.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case C.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case C.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-m(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case C.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ee-m(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case C.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*-ee:-ee);break;case C.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*ee:ee);break;case C.K5:case C.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===C.L_||e.keyCode===C.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return m(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const r=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,r,1));return this._dateAdapter.createDate(e,r,Math.min(this._dateAdapter.getDate(this.activeDate),s))}_createCellForYear(e){const r=this._dateAdapter.createDate(e,0,1),s=this._dateAdapter.getYearName(r),d=this.dateClass?this.dateClass(r,"multi-year"):void 0;return new fe(e,s,s,this._shouldEnableYear(e),d)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let s=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(s)==e;s=this._dateAdapter.addCalendarDays(s,1))if(this.dateFilter(s))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(e){if(this._selectedYear=null,e instanceof G){const r=e.start||e.end;r&&(this._selectedYear=this._dateAdapter.getYear(r))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(a.sBO),a.Y36(E._A,8),a.Y36(R.Is,8))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-multi-year-view"]],viewQuery:function(e,r){if(1&e&&a.Gf(le,5),2&e){let s;a.iGM(s=a.CRH())&&(r._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],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,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(e,r){1&e&&(a.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),a._UZ(3,"th",2),a.qZA()(),a.TgZ(4,"tbody",3),a.NdJ("selectedValueChange",function(d){return r._yearSelected(d)})("activeDateChange",function(d){return r._updateActiveDate(d)})("keyup",function(d){return r._handleCalendarBodyKeyup(d)})("keydown",function(d){return r._handleCalendarBodyKeydown(d)}),a.qZA()()),2&e&&(a.xp6(4),a.Q6J("rows",r._years)("todayValue",r._todayYear)("startValue",r._selectedYear)("endValue",r._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._getActiveCell()))},dependencies:[le],encapsulation:2,changeDetection:0}),c})();function Se(c,h,e,r,s){const d=c.getYear(h),_=c.getYear(e),V=M(c,r,s);return Math.floor((d-V)/ee)===Math.floor((_-V)/ee)}function m(c,h,e,r){return function u(c,h){return(c%h+h)%h}(c.getYear(h)-M(c,e,r),ee)}function M(c,h,e){let r=0;return e?r=c.getYear(e)-ee+1:h&&(r=c.getYear(h)),r}let v=(()=>{class c{get activeDate(){return this._activeDate}set activeDate(e){let r=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._dateAdapter.getYear(r)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof G?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,r,s,d){this._changeDetectorRef=e,this._dateFormats=r,this._dateAdapter=s,this._dir=d,this._rerenderSubscription=U.w.EMPTY,this.selectedChange=new a.vpe,this.monthSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,f.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const r=e.value,s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),r,1);this.monthSelected.emit(s);const d=this._getDateFromMonth(r);this.selectedChange.emit(d)}_updateActiveDate(e){const s=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const r=this._activeDate,s=this._isRtl();switch(e.keyCode){case C.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?1:-1);break;case C.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?-1:1);break;case C.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case C.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case C.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case C.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case C.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case C.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case C.K5:case C.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(r,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===C.L_||e.keyCode===C.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(r=>r.map(s=>this._createCellForMonth(s,e[s]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){const r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),s=this._dateAdapter.getNumDaysInMonth(r);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),s))}_createCellForMonth(e,r){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),d=this._dateAdapter.format(s,this._dateFormats.display.monthYearA11yLabel),_=this.dateClass?this.dateClass(s,"year"):void 0;return new fe(e,r.toLocaleUpperCase(),d,this._shouldEnableMonth(e),_)}_shouldEnableMonth(e){const r=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(r,e)||this._isYearAndMonthBeforeMinDate(r,e))return!1;if(!this.dateFilter)return!0;for(let d=this._dateAdapter.createDate(r,e,1);this._dateAdapter.getMonth(d)==e;d=this._dateAdapter.addCalendarDays(d,1))if(this.dateFilter(d))return!0;return!1}_isYearAndMonthAfterMaxDate(e,r){if(this.maxDate){const s=this._dateAdapter.getYear(this.maxDate),d=this._dateAdapter.getMonth(this.maxDate);return e>s||e===s&&r>d}return!1}_isYearAndMonthBeforeMinDate(e,r){if(this.minDate){const s=this._dateAdapter.getYear(this.minDate),d=this._dateAdapter.getMonth(this.minDate);return e<s||e===s&&r<d}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(e){this._selectedMonth=e instanceof G?this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._getMonthInCurrentYear(e)}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(a.sBO),a.Y36(E.sG,8),a.Y36(E._A,8),a.Y36(R.Is,8))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-year-view"]],viewQuery:function(e,r){if(1&e&&a.Gf(le,5),2&e){let s;a.iGM(s=a.CRH())&&(r._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],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,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(e,r){1&e&&(a.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),a._UZ(3,"th",2),a.qZA()(),a.TgZ(4,"tbody",3),a.NdJ("selectedValueChange",function(d){return r._monthSelected(d)})("activeDateChange",function(d){return r._updateActiveDate(d)})("keyup",function(d){return r._handleCalendarBodyKeyup(d)})("keydown",function(d){return r._handleCalendarBodyKeydown(d)}),a.qZA()()),2&e&&(a.xp6(4),a.Q6J("label",r._yearLabel)("rows",r._months)("todayValue",r._todayMonth)("startValue",r._selectedMonth)("endValue",r._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._dateAdapter.getMonth(r.activeDate)))},dependencies:[le],encapsulation:2,changeDetection:0}),c})(),O=1,H=(()=>{class c{constructor(e,r,s,d,_){this._intl=e,this.calendar=r,this._dateAdapter=s,this._dateFormats=d,this._id="mat-calendar-header-"+O++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>_.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:-ee)}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:ee)}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(e,r){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(r)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(r):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(r):Se(this._dateAdapter,e,r,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const r=this._dateAdapter.getYear(this.calendar.activeDate)-m(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),s=r+ee-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1))]}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(K),a.Y36((0,a.Gpc)(()=>_e)),a.Y36(E._A,8),a.Y36(E.sG,8),a.Y36(a.sBO))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:he,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["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,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(e,r){1&e&&(a.F$t(),a.TgZ(0,"div",0)(1,"div",1)(2,"button",2),a.NdJ("click",function(){return r.currentPeriodClicked()}),a.TgZ(3,"span",3),a._uU(4),a.qZA(),a.O4$(),a.TgZ(5,"svg",4),a._UZ(6,"polygon",5),a.qZA()(),a.kcU(),a._UZ(7,"div",6),a.Hsn(8),a.TgZ(9,"button",7),a.NdJ("click",function(){return r.previousClicked()}),a.qZA(),a.TgZ(10,"button",8),a.NdJ("click",function(){return r.nextClicked()}),a.qZA()()(),a.TgZ(11,"label",9),a._uU(12),a.qZA()),2&e&&(a.xp6(2),a.uIk("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),a.xp6(2),a.Oqu(r.periodButtonText),a.xp6(1),a.ekj("mat-calendar-invert","month"!==r.calendar.currentView),a.xp6(4),a.Q6J("disabled",!r.previousEnabled()),a.uIk("aria-label",r.prevButtonLabel),a.xp6(1),a.Q6J("disabled",!r.nextEnabled()),a.uIk("aria-label",r.nextButtonLabel),a.xp6(1),a.Q6J("id",r._periodButtonLabelId),a.xp6(1),a.Oqu(r.periodButtonDescription))},dependencies:[j.lW,j.RK],encapsulation:2,changeDetection:0}),c})(),_e=(()=>{class c{get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof G?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const r=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),r&&this.viewChanged.emit(r)}constructor(e,r,s,d){this._dateAdapter=r,this._dateFormats=s,this._changeDetectorRef=d,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this._userSelection=new a.vpe,this._userDragDrop=new a.vpe,this._activeDrag=null,this.stateChanges=new Q.xQ,this._intlChanges=e.changes.subscribe(()=>{d.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new q.C5(this.headerComponent||H),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const r=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,s=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,d=r||s||e.dateFilter;if(d&&!d.firstChange){const _=this._getCurrentViewComponent();_&&(this._changeDetectorRef.detectChanges(),_._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const r=e.value;(this.selected instanceof G||r&&!this._dateAdapter.sameDate(r,this.selected))&&this.selectedChange.emit(r),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,r){this.activeDate=e,this.currentView=r}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(K),a.Y36(E._A,8),a.Y36(E.sG,8),a.Y36(a.sBO))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-calendar"]],viewQuery:function(e,r){if(1&e&&(a.Gf(st,5),a.Gf(v,5),a.Gf(Be,5)),2&e){let s;a.iGM(s=a.CRH())&&(r.monthView=s.first),a.iGM(s=a.CRH())&&(r.yearView=s.first),a.iGM(s=a.CRH())&&(r.multiYearView=s.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[a._Bn([it]),a.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,r){1&e&&(a.YNc(0,se,0,0,"ng-template",0),a.TgZ(1,"div",1),a.YNc(2,Pe,1,11,"mat-month-view",2),a.YNc(3,De,1,6,"mat-year-view",3),a.YNc(4,qe,1,6,"mat-multi-year-view",4),a.qZA()),2&e&&(a.Q6J("cdkPortalOutlet",r._calendarHeaderPortal),a.xp6(1),a.Q6J("ngSwitch",r.currentView),a.xp6(1),a.Q6J("ngSwitchCase","month"),a.xp6(1),a.Q6J("ngSwitchCase","year"),a.xp6(1),a.Q6J("ngSwitchCase","multi-year"))},dependencies:[F.RF,F.n9,t.kH,q.Pl,st,v,Be],styles:['.mat-calendar{display:block}.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}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.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-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}.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}.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:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),c})();const ne={transformPanel:(0,I.X$)("transformPanel",[(0,I.eR)("void => enter-dropdown",(0,I.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,I.F4)([(0,I.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,I.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,I.eR)("void => enter-dialog",(0,I.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,I.F4)([(0,I.oB)({opacity:0,transform:"scale(0.7)"}),(0,I.oB)({transform:"none",opacity:1})]))),(0,I.eR)("* => void",(0,I.jt)("100ms linear",(0,I.oB)({opacity:0})))]),fadeInCalendar:(0,I.X$)("fadeInCalendar",[(0,I.SB)("void",(0,I.oB)({opacity:0})),(0,I.SB)("enter",(0,I.oB)({opacity:1})),(0,I.eR)("void => *",(0,I.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Re=0;const Fe=new a.OlP("mat-datepicker-scroll-strategy"),zt={provide:Fe,deps:[P.aV],useFactory:function pt(c){return()=>c.scrollStrategies.reposition()}},mt=(0,E.pj)(class{constructor(c){this._elementRef=c}});let Zt=(()=>{class c extends mt{constructor(e,r,s,d,_,V){super(e),this._changeDetectorRef=r,this._globalModel=s,this._dateAdapter=d,this._rangeSelectionStrategy=_,this._subscriptions=new U.w,this._animationDone=new Q.xQ,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=V.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const r=this._model.selection,s=e.value,d=r instanceof G;if(d&&this._rangeSelectionStrategy){const _=this._rangeSelectionStrategy.selectionFinished(s,r,e.event);this._model.updateSelection(_,this)}else s&&(d||!this._dateAdapter.sameDate(s,r))&&this._model.add(s);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(e){this._isAnimating="start"===e.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,r){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,r&&this._changeDetectorRef.detectChanges()}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(W),a.Y36(E._A),a.Y36(je,8),a.Y36(K))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-datepicker-content"]],viewQuery:function(e,r){if(1&e&&a.Gf(_e,5),2&e){let s;a.iGM(s=a.CRH())&&(r._calendar=s.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,r){1&e&&a.WFA("@transformPanel.start",function(d){return r._handleAnimationEvent(d)})("@transformPanel.done",function(d){return r._handleAnimationEvent(d)}),2&e&&(a.d8E("@transformPanel",r._animationState),a.ekj("mat-datepicker-content-touch",r.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[a.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,r){if(1&e&&(a.TgZ(0,"div",0)(1,"mat-calendar",1),a.NdJ("yearSelected",function(d){return r.datepicker._selectYear(d)})("monthSelected",function(d){return r.datepicker._selectMonth(d)})("viewChanged",function(d){return r.datepicker._viewChanged(d)})("_userSelection",function(d){return r._handleUserSelection(d)})("_userDragDrop",function(d){return r._handleUserDragDrop(d)}),a.qZA(),a.YNc(2,Ue,0,0,"ng-template",2),a.TgZ(3,"button",3),a.NdJ("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),a._uU(4),a.qZA()()),2&e){let s;a.ekj("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),a.uIk("aria-modal",!0)("aria-labelledby",null!==(s=r._dialogLabelId)&&void 0!==s?s:void 0),a.xp6(1),a.Q6J("id",r.datepicker.id)("ngClass",r.datepicker.panelClass)("startAt",r.datepicker.startAt)("startView",r.datepicker.startView)("minDate",r.datepicker._getMinDate())("maxDate",r.datepicker._getMaxDate())("dateFilter",r.datepicker._getDateFilter())("headerComponent",r.datepicker.calendarHeaderComponent)("selected",r._getSelected())("dateClass",r.datepicker.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName),a.xp6(1),a.Q6J("cdkPortalOutlet",r._actionsPortal),a.xp6(1),a.ekj("cdk-visually-hidden",!r._closeButtonFocused),a.Q6J("color",r.color||"primary"),a.xp6(1),a.Oqu(r._closeButtonText)}},dependencies:[F.mk,j.lW,t.mK,q.Pl,_e],styles:[".mat-datepicker-content{display:block;border-radius:4px}.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;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:[ne.transformPanel,ne.fadeInCalendar]},changeDetection:0}),c})(),ae=(()=>{class c{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=(0,A.Ig)(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const r=(0,A.Ig)(e);r!==this._disabled&&(this._disabled=r,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=(0,A.Ig)(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=(0,A.du)(e)}get opened(){return this._opened}set opened(e){(0,A.Ig)(e)?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(e,r,s,d,_,V,ge){this._overlay=e,this._ngZone=r,this._viewContainerRef=s,this._dateAdapter=_,this._dir=V,this._model=ge,this._inputStateChanges=U.w.EMPTY,this._document=(0,a.f3M)(F.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this.openedStream=new a.vpe,this.closedStream=new a.vpe,this._opened=!1,this.id="mat-datepicker-"+Re++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Q.xQ,this._scrollStrategy=d}ngOnChanges(e){const r=e.xPosition||e.yPosition;if(r&&!r.firstChange&&this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;s instanceof P._G&&(this._setConnectedPositions(s),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,k.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const e=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,r=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:s,location:d}=this._componentRef;s._startExitAnimation(),s._animationDone.pipe((0,T.q)(1)).subscribe(()=>{const _=this._document.activeElement;e&&(!_||_===this._document.activeElement||d.nativeElement.contains(_))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(r):r()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const e=this.touchUi,r=new q.C5(Zt,this._viewContainerRef),s=this._overlayRef=this._overlay.create(new P.X_({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(s).subscribe(d=>{d&&d.preventDefault(),this.close()}),s.keydownEvents().subscribe(d=>{const _=d.keyCode;(_===C.LH||_===C.JH||_===C.oh||_===C.SV||_===C.Ku||_===C.VM)&&d.preventDefault()}),this._componentRef=s.attach(r),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,T.q)(1)).subscribe(()=>s.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const r="end"===this.xPosition?"end":"start",s="start"===r?"end":"start",d="above"===this.yPosition?"bottom":"top",_="top"===d?"bottom":"top";return e.withPositions([{originX:r,originY:_,overlayX:r,overlayY:d},{originX:r,originY:d,overlayX:r,overlayY:_},{originX:s,originY:_,overlayX:s,overlayY:d},{originX:s,originY:d,overlayX:s,overlayY:_}])}_getCloseStream(e){const r=["ctrlKey","shiftKey","metaKey"];return(0,te.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,b.h)(s=>s.keyCode===C.hY&&!(0,C.Vb)(s)||this.datepickerInput&&(0,C.Vb)(s,"altKey")&&s.keyCode===C.LH&&r.every(d=>!(0,C.Vb)(s,d)))))}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(P.aV),a.Y36(a.R0b),a.Y36(a.s_b),a.Y36(Fe),a.Y36(E._A,8),a.Y36(R.Is,8),a.Y36(W))},c.\u0275dir=a.lG2({type:c,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[a.TTD]}),c})(),Je=(()=>{class c extends ae{}return c.\u0275fac=function(){let h;return function(r){return(h||(h=a.n5z(c)))(r||c)}}(),c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[a._Bn([it,{provide:ae,useExisting:c}]),a.qOj],decls:0,vars:0,template:function(e,r){},encapsulation:2,changeDetection:0}),c})();class Ye{constructor(h,e){this.target=h,this.targetElement=e,this.value=this.target.value}}let Ze=(()=>{class c{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const r=(0,A.Ig)(e),s=this._elementRef.nativeElement;this._disabled!==r&&(this._disabled=r,this.stateChanges.next(void 0)),r&&this._isInitialized&&s.blur&&s.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(r=>{if(this._shouldHandleChangeEvent(r)){const s=this._getValueFromModel(r.selection);this._lastValueValid=this._isValidValue(s),this._cvaOnChange(s),this._onTouched(),this._formatValue(s),this.dateInput.emit(new Ye(this,this._elementRef.nativeElement)),this.dateChange.emit(new Ye(this,this._elementRef.nativeElement))}})}constructor(e,r,s){this._elementRef=e,this._dateAdapter=r,this._dateFormats=s,this.dateChange=new a.vpe,this.dateInput=new a.vpe,this.stateChanges=new Q.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=U.w.EMPTY,this._localeSubscription=U.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=d=>{const _=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(d.value));return!_||this._matchesFilter(_)?null:{matDatepickerFilter:!0}},this._minValidator=d=>{const _=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(d.value)),V=this._getMinDate();return!V||!_||this._dateAdapter.compareDate(V,_)<=0?null:{matDatepickerMin:{min:V,actual:_}}},this._maxValidator=d=>{const _=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(d.value)),V=this._getMaxDate();return!V||!_||this._dateAdapter.compareDate(V,_)>=0?null:{matDatepickerMax:{max:V,actual:_}}},this._lastValueValid=!1,this._localeSubscription=r.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){Qe(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){(0,C.Vb)(e,"altKey")&&e.keyCode===C.JH&&["ctrlKey","shiftKey","metaKey"].every(d=>!(0,C.Vb)(e,d))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const r=this._lastValueValid;let s=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(s),s=this._dateAdapter.getValidDateOrNull(s);const d=!this._dateAdapter.sameDate(s,this.value);!s||d?this._cvaOnChange(s):(e&&!this.value&&this._cvaOnChange(s),r!==this._lastValueValid&&this._validatorOnChange()),d&&(this._assignValue(s),this.dateInput.emit(new Ye(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Ye(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const r=this._getDateFilter();return!r||r(e)}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(a.SBq),a.Y36(E._A,8),a.Y36(E.sG,8))},c.\u0275dir=a.lG2({type:c,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a.TTD]}),c})();function Qe(c,h){const e=Object.keys(c);for(let r of e){const{previousValue:s,currentValue:d}=c[r];if(!h.isDateInstance(s)||!h.isDateInstance(d))return!0;if(!h.sameDate(s,d))return!0}return!1}const nt={provide:N.JU,useExisting:(0,a.Gpc)(()=>$e),multi:!0},Ct={provide:N.Cf,useExisting:(0,a.Gpc)(()=>$e),multi:!0};let $e=(()=>{class c extends Ze{set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(r,this._min)||(this._min=r,this._validatorOnChange())}get max(){return this._max}set max(e){const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(r,this._max)||(this._max=r,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const r=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==r&&this._validatorOnChange()}constructor(e,r,s,d){super(e,r,s),this._formField=d,this._closedSubscription=U.w.EMPTY,this._validator=N.kI.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(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(a.SBq),a.Y36(E._A,8),a.Y36(E.sG,8),a.Y36(X.G_,8))},c.\u0275dir=a.lG2({type:c,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,r){1&e&&a.NdJ("input",function(d){return r._onInput(d.target.value)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(d){return r._onKeydown(d)}),2&e&&(a.Ikx("disabled",r.disabled),a.uIk("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",(null==r._datepicker?null:r._datepicker.opened)&&r._datepicker.id||null)("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[a._Bn([nt,Ct,{provide:ie.Jk,useExisting:c}]),a.qOj]}),c})(),Xe=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=a.lG2({type:c,selectors:[["","matDatepickerToggleIcon",""]]}),c})(),Mt=(()=>{class c{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=(0,A.Ig)(e)}constructor(e,r,s){this._intl=e,this._changeDetectorRef=r,this._stateChanges=U.w.EMPTY;const d=Number(s);this.tabIndex=d||0===d?d:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:(0,Y.of)(),r=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,Y.of)(),s=this.datepicker?(0,te.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,Y.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,te.T)(this._intl.changes,e,r,s).subscribe(()=>this._changeDetectorRef.markForCheck())}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(K),a.Y36(a.sBO),a.$8M("tabindex"))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,r,s){if(1&e&&a.Suo(s,Xe,5),2&e){let d;a.iGM(d=a.CRH())&&(r._customIcon=d.first)}},viewQuery:function(e,r){if(1&e&&a.Gf(ze,5),2&e){let s;a.iGM(s=a.CRH())&&(r._button=s.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,r){1&e&&a.NdJ("click",function(d){return r._open(d)}),2&e&&(a.uIk("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),a.ekj("mat-datepicker-toggle-active",r.datepicker&&r.datepicker.opened)("mat-accent",r.datepicker&&"accent"===r.datepicker.color)("mat-warn",r.datepicker&&"warn"===r.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[a.TTD],ngContentSelectors:Ce,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,r){1&e&&(a.F$t(Ie),a.TgZ(0,"button",0,1),a.YNc(2,pe,2,0,"svg",2),a.Hsn(3),a.qZA()),2&e&&(a.Q6J("disabled",r.disabled)("disableRipple",r.disableRipple),a.uIk("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("tabindex",r.disabled?-1:r.tabIndex),a.xp6(2),a.Q6J("ngIf",!r._customIcon))},dependencies:[F.O5,j.RK],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),c})();function At(c){return dt(c,!0)}function lt(c){return c.nodeType===Node.ELEMENT_NODE}function dt(c,h){if(lt(c)&&h){const r=(c.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((s,d)=>{const _=document.getElementById(d);return _&&s.push(_),s},[]);if(r.length)return r.map(s=>dt(s,!1)).join(" ")}if(lt(c)){const e=c.getAttribute("aria-label")?.trim();if(e)return e}if(function wt(c){return"INPUT"===c.nodeName}(c)||function ft(c){return"TEXTAREA"===c.nodeName}(c)){if(c.labels?.length)return Array.from(c.labels).map(s=>dt(s,!1)).join(" ");const e=c.getAttribute("placeholder")?.trim();if(e)return e;const r=c.getAttribute("title")?.trim();if(r)return r}return(c.textContent||"").replace(/\s+/g," ").trim()}const ct=new a.OlP("MAT_DATE_RANGE_INPUT_PARENT"),at=(0,E.FD)((()=>{class c extends Ze{constructor(e,r,s,d,_,V,ge,ve){super(r,ge,ve),this._rangeInput=e,this._elementRef=r,this._defaultErrorStateMatcher=s,this._injector=d,this._parentForm=_,this._parentFormGroup=V,this._dir=(0,a.f3M)(R.Is,{optional:!0})}ngOnInit(){const e=this._injector.get(N.a5,null,{optional:!0,self:!0});e&&(this.ngControl=e)}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 e=this._elementRef.nativeElement,r=e.value;return r.length>0?r:e.placeholder}_onInput(e){super._onInput(e),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:e}){return e!==this._rangeInput._startInput&&e!==this._rangeInput._endInput}_assignValueProgrammatically(e){super._assignValueProgrammatically(e),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return At(this._elementRef.nativeElement)}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(ct),a.Y36(a.SBq),a.Y36(E.rD),a.Y36(a.zs3),a.Y36(N.F,8),a.Y36(N.sg,8),a.Y36(E._A,8),a.Y36(E.sG,8))},c.\u0275dir=a.lG2({type:c,features:[a.qOj]}),c})());let Vt=(()=>{class c extends at{constructor(e,r,s,d,_,V,ge,ve){super(e,r,s,d,_,V,ge,ve),this._startValidator=Le=>{const be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Le.value)),He=this._model?this._model.selection.end:null;return!be||!He||this._dateAdapter.compareDate(be,He)<=0?null:{matStartDateInvalid:{end:He,actual:be}}},this._validator=N.kI.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(e){return e.start}_shouldHandleChangeEvent(e){return!(!super._shouldHandleChangeEvent(e)||(e.oldValue?.start?e.selection.start&&!this._dateAdapter.compareDate(e.oldValue.start,e.selection.start):!e.selection.start))}_assignValueToModel(e){if(this._model){const r=new G(e,this._model.selection.end);this._model.updateSelection(r,this)}}_formatValue(e){super._formatValue(e),this._rangeInput._handleChildValueChange()}_onKeydown(e){const r=this._rangeInput._endInput,s=this._elementRef.nativeElement,d="rtl"!==this._dir?.value;(e.keyCode===C.SV&&d||e.keyCode===C.oh&&!d)&&s.selectionStart===s.value.length&&s.selectionEnd===s.value.length?(e.preventDefault(),r._elementRef.nativeElement.setSelectionRange(0,0),r.focus()):super._onKeydown(e)}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(ct),a.Y36(a.SBq),a.Y36(E.rD),a.Y36(a.zs3),a.Y36(N.F,8),a.Y36(N.sg,8),a.Y36(E._A,8),a.Y36(E.sG,8))},c.\u0275dir=a.lG2({type:c,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,r){1&e&&a.NdJ("input",function(d){return r._onInput(d.target.value)})("change",function(){return r._onChange()})("keydown",function(d){return r._onKeydown(d)})("blur",function(){return r._onBlur()}),2&e&&(a.Ikx("disabled",r.disabled),a.uIk("aria-haspopup",r._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==r._rangeInput.rangePicker?null:r._rangeInput.rangePicker.opened)&&r._rangeInput.rangePicker.id||null)("min",r._getMinDate()?r._dateAdapter.toIso8601(r._getMinDate()):null)("max",r._getMaxDate()?r._dateAdapter.toIso8601(r._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a._Bn([{provide:N.JU,useExisting:c,multi:!0},{provide:N.Cf,useExisting:c,multi:!0}]),a.qOj]}),c})(),kt=(()=>{class c extends at{constructor(e,r,s,d,_,V,ge,ve){super(e,r,s,d,_,V,ge,ve),this._endValidator=Le=>{const be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Le.value)),He=this._model?this._model.selection.start:null;return!be||!He||this._dateAdapter.compareDate(be,He)>=0?null:{matEndDateInvalid:{start:He,actual:be}}},this._validator=N.kI.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(e){return e.end}_shouldHandleChangeEvent(e){return!(!super._shouldHandleChangeEvent(e)||(e.oldValue?.end?e.selection.end&&!this._dateAdapter.compareDate(e.oldValue.end,e.selection.end):!e.selection.end))}_assignValueToModel(e){if(this._model){const r=new G(this._model.selection.start,e);this._model.updateSelection(r,this)}}_onKeydown(e){const r=this._rangeInput._startInput,s=this._elementRef.nativeElement,d="rtl"!==this._dir?.value;if(e.keyCode!==C.ZH||s.value)if((e.keyCode===C.oh&&d||e.keyCode===C.SV&&!d)&&0===s.selectionStart&&0===s.selectionEnd){e.preventDefault();const _=r._elementRef.nativeElement.value.length;r._elementRef.nativeElement.setSelectionRange(_,_),r.focus()}else super._onKeydown(e);else r.focus()}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(ct),a.Y36(a.SBq),a.Y36(E.rD),a.Y36(a.zs3),a.Y36(N.F,8),a.Y36(N.sg,8),a.Y36(E._A,8),a.Y36(E.sG,8))},c.\u0275dir=a.lG2({type:c,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,r){1&e&&a.NdJ("input",function(d){return r._onInput(d.target.value)})("change",function(){return r._onChange()})("keydown",function(d){return r._onKeydown(d)})("blur",function(){return r._onBlur()}),2&e&&(a.Ikx("disabled",r.disabled),a.uIk("aria-haspopup",r._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==r._rangeInput.rangePicker?null:r._rangeInput.rangePicker.opened)&&r._rangeInput.rangePicker.id||null)("min",r._getMinDate()?r._dateAdapter.toIso8601(r._getMinDate()):null)("max",r._getMaxDate()?r._dateAdapter.toIso8601(r._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a._Bn([{provide:N.JU,useExisting:c,multi:!0},{provide:N.Cf,useExisting:c,multi:!0}]),a.qOj]}),c})(),ut=0,St=(()=>{class c{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const e=this._startInput?._getPlaceholder()||"",r=this._endInput?._getPlaceholder()||"";return e||r?`${e} ${this.separator} ${r}`:""}get rangePicker(){return this._rangePicker}set rangePicker(e){e&&(this._model=e.registerInput(this),this._rangePicker=e,this._closedSubscription.unsubscribe(),this._closedSubscription=e.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(e){this._required=(0,A.Ig)(e)}get dateFilter(){return this._dateFilter}set dateFilter(e){const r=this._startInput,s=this._endInput,d=r&&r._matchesFilter(r.value),_=s&&s._matchesFilter(r.value);this._dateFilter=e,r&&r._matchesFilter(r.value)!==d&&r._validatorOnChange(),s&&s._matchesFilter(s.value)!==_&&s._validatorOnChange()}get min(){return this._min}set min(e){const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(r,this._min)||(this._min=r,this._revalidate())}get max(){return this._max}set max(e){const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(r,this._max)||(this._max=r,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(e){const r=(0,A.Ig)(e);r!==this._groupDisabled&&(this._groupDisabled=r,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const e=!!this._startInput&&this._startInput.isEmpty(),r=!!this._endInput&&this._endInput.isEmpty();return e&&r}constructor(e,r,s,d,_){this._changeDetectorRef=e,this._elementRef=r,this._dateAdapter=d,this._formField=_,this._closedSubscription=U.w.EMPTY,this.id="mat-date-range-input-"+ut++,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 Q.xQ,_?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&r.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=s}setDescribedByIds(e){this._ariaDescribedBy=e.length?e.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,te.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(e){Qe(e,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(e){const r="start"===e?this._startInput:this._endInput;return r?r.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 e=this._formField;return e&&e._hasFloatingLabel()?e._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(e){this.focused=null!==e,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(e){this._startInput&&this._startInput._registerModel(e),this._endInput&&this._endInput._registerModel(e)}_isTargetRequired(e){return e?.ngControl?.control?.hasValidator(N.kI.required)}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(a.sBO),a.Y36(a.SBq),a.Y36(N.gN,10),a.Y36(E._A,8),a.Y36(X.G_,8))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-date-range-input"]],contentQueries:function(e,r,s){if(1&e&&(a.Suo(s,Vt,5),a.Suo(s,kt,5)),2&e){let d;a.iGM(d=a.CRH())&&(r._startInput=d.first),a.iGM(d=a.CRH())&&(r._endInput=d.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(e,r){2&e&&(a.uIk("id",r.id)("aria-labelledby",r._getAriaLabelledby())("aria-describedby",r._ariaDescribedBy)("data-mat-calendar",r.rangePicker?r.rangePicker.id:null),a.ekj("mat-date-range-input-hide-placeholders",r._shouldHidePlaceholders())("mat-date-range-input-required",r.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[a._Bn([{provide:X.Eo,useExisting:c},{provide:ct,useExisting:c}]),a.TTD],ngContentSelectors:we,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(e,r){1&e&&(a.F$t(Me),a.TgZ(0,"div",0),a.NdJ("cdkFocusChange",function(d){return r._updateFocus(d)}),a.TgZ(1,"div",1),a.Hsn(2),a.TgZ(3,"span",2),a._uU(4),a.qZA()(),a.TgZ(5,"span",3),a._uU(6),a.qZA(),a.TgZ(7,"div",4),a.Hsn(8,1),a.TgZ(9,"span",2),a._uU(10),a.qZA()()()),2&e&&(a.xp6(4),a.Oqu(r._getInputMirrorValue("start")),a.xp6(1),a.ekj("mat-date-range-input-separator-hidden",r._shouldHideSeparator()),a.xp6(1),a.Oqu(r.separator),a.xp6(4),a.Oqu(r._getInputMirrorValue("end")))},dependencies:[t.kH],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}._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-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}),c})(),_t=(()=>{class c extends ae{_forwardContentValues(e){super._forwardContentValues(e);const r=this.datepickerInput;r&&(e.comparisonStart=r.comparisonStart,e.comparisonEnd=r.comparisonEnd,e.startDateAccessibleName=r._getStartDateAccessibleName(),e.endDateAccessibleName=r._getEndDateAccessibleName())}}return c.\u0275fac=function(){let h;return function(r){return(h||(h=a.n5z(c)))(r||c)}}(),c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[a._Bn([Dt,Ke,{provide:ae,useExisting:c}]),a.qOj],decls:0,vars:0,template:function(e,r){},encapsulation:2,changeDetection:0}),c})(),ht=(()=>{class c{constructor(e){this._datepicker=e}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(ae))},c.\u0275dir=a.lG2({type:c,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(e,r){1&e&&a.NdJ("click",function(){return r._applySelection()})}}),c})(),Ft=(()=>{class c{constructor(e){this._datepicker=e}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(ae))},c.\u0275dir=a.lG2({type:c,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(e,r){1&e&&a.NdJ("click",function(){return r._datepicker.close()})}}),c})(),qt=(()=>{class c{constructor(e,r){this._datepicker=e,this._viewContainerRef=r}ngAfterViewInit(){this._portal=new q.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}}return c.\u0275fac=function(e){return new(e||c)(a.Y36(ae),a.Y36(a.s_b))},c.\u0275cmp=a.Xpm({type:c,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(e,r){if(1&e&&a.Gf(a.Rgc,5),2&e){let s;a.iGM(s=a.CRH())&&(r._template=s.first)}},ngContentSelectors:he,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(e,r){1&e&&(a.F$t(),a.YNc(0,me,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}),c})(),Ot=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=a.oAB({type:c}),c.\u0275inj=a.cJS({providers:[K,zt],imports:[F.ez,j.ot,P.U8,t.rt,q.eL,E.BQ,Z.ZD]}),c})()},4170:(tt,re,x)=>{x.d(re,{G_:()=>rt,TO:()=>Ne,KE:()=>Be,Eo:()=>it,lN:()=>Se,bx:()=>J,hX:()=>K,qo:()=>y,R9:()=>g});var t=x(5879),P=x(9388),q=x(2831),F=x(7902),a=x(2079),j=x(7354),Z=x(9352),E=x(4699),Q=x(7734),U=x(9185);class Y{constructor(M){this._box=M,this._destroyed=new a.xQ,this._resizeSubject=new a.xQ,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(u=>this._resizeSubject.next(u)))}observe(M){return this._elementObservables.has(M)||this._elementObservables.set(M,new E.y(u=>{const v=this._resizeSubject.subscribe(u);return this._resizeObserver?.observe(M,{box:this._box}),()=>{this._resizeObserver?.unobserve(M),v.unsubscribe(),this._elementObservables.delete(M)}}).pipe((0,Q.h)(u=>u.some(v=>v.target===M)),(0,U.d)({bufferSize:1,refCount:!0}),(0,Z.R)(this._destroyed))),this._elementObservables.get(M)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let C=(()=>{class m{constructor(){this._observers=new Map,this._ngZone=(0,t.f3M)(t.R0b)}ngOnDestroy(){for(const[,u]of this._observers)u.destroy();this._observers.clear()}observe(u,v){const O=v?.box||"content-box";return this._observers.has(O)||this._observers.set(O,new Y(O)),this._observers.get(O).observe(u)}}return m.\u0275fac=function(u){return new(u||m)},m.\u0275prov=t.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();var R=x(2495),k=x(6825),T=x(6814),f=x(7131),b=x(3680);const A=["notch"],I=["matFormFieldNotchedOutline",""],N=["*"],X=["textField"],ie=["iconPrefixContainer"],Oe=["textPrefixContainer"];function Te(m,M){1&m&&t._UZ(0,"span",19)}function xe(m,M){if(1&m&&(t.TgZ(0,"label",17),t.Hsn(1,1),t.YNc(2,Te,1,0,"span",18),t.qZA()),2&m){const u=t.oxw(2);t.Q6J("floating",u._shouldLabelFloat())("monitorResize",u._hasOutline())("id",u._labelId),t.uIk("for",u._control.id)("aria-owns",u._control.id),t.xp6(2),t.Q6J("ngIf",!u.hideRequiredMarker&&u._control.required)}}function ye(m,M){if(1&m&&t.YNc(0,xe,3,6,"label",16),2&m){const u=t.oxw();t.Q6J("ngIf",u._hasFloatingLabel())}}function ue(m,M){1&m&&t._UZ(0,"div",20)}function oe(m,M){}function he(m,M){if(1&m&&t.YNc(0,oe,0,0,"ng-template",22),2&m){t.oxw(2);const u=t.MAs(1);t.Q6J("ngTemplateOutlet",u)}}function se(m,M){if(1&m&&(t.TgZ(0,"div",21),t.YNc(1,he,1,1,"ng-template",9),t.qZA()),2&m){const u=t.oxw();t.Q6J("matFormFieldNotchedOutlineOpen",u._shouldLabelFloat()),t.xp6(1),t.Q6J("ngIf",!u._forceDisplayInfixLabel())}}function Pe(m,M){1&m&&(t.TgZ(0,"div",23,24),t.Hsn(2,2),t.qZA())}function De(m,M){1&m&&(t.TgZ(0,"div",25,26),t.Hsn(2,3),t.qZA())}function qe(m,M){}function Ue(m,M){if(1&m&&t.YNc(0,qe,0,0,"ng-template",22),2&m){t.oxw();const u=t.MAs(1);t.Q6J("ngTemplateOutlet",u)}}function ze(m,M){1&m&&(t.TgZ(0,"div",27),t.Hsn(1,4),t.qZA())}function pe(m,M){1&m&&(t.TgZ(0,"div",28),t.Hsn(1,5),t.qZA())}function Ie(m,M){1&m&&t._UZ(0,"div",29)}function Ce(m,M){if(1&m&&(t.TgZ(0,"div",30),t.Hsn(1,6),t.qZA()),2&m){const u=t.oxw();t.Q6J("@transitionMessages",u._subscriptAnimationState)}}function Me(m,M){if(1&m&&(t.TgZ(0,"mat-hint",34),t._uU(1),t.qZA()),2&m){const u=t.oxw(2);t.Q6J("id",u._hintLabelId),t.xp6(1),t.Oqu(u.hintLabel)}}function we(m,M){if(1&m&&(t.TgZ(0,"div",31),t.YNc(1,Me,2,2,"mat-hint",32),t.Hsn(2,7),t._UZ(3,"div",33),t.Hsn(4,8),t.qZA()),2&m){const u=t.oxw();t.Q6J("@transitionMessages",u._subscriptAnimationState),t.xp6(1),t.Q6J("ngIf",u.hintLabel)}}const me=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ee=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let K=(()=>{class m{}return m.\u0275fac=function(u){return new(u||m)},m.\u0275dir=t.lG2({type:m,selectors:[["mat-label"]]}),m})(),fe=0;const Ae=new t.OlP("MatError");let Ne=(()=>{class m{constructor(u,v){this.id="mat-mdc-error-"+fe++,u||v.nativeElement.setAttribute("aria-live","polite")}}return m.\u0275fac=function(u){return new(u||m)(t.$8M("aria-live"),t.Y36(t.SBq))},m.\u0275dir=t.lG2({type:m,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(u,v){2&u&&t.Ikx("id",v.id)},inputs:{id:"id"},features:[t._Bn([{provide:Ae,useExisting:m}])]}),m})(),z=0,J=(()=>{class m{constructor(){this.align="start",this.id="mat-mdc-hint-"+z++}}return m.\u0275fac=function(u){return new(u||m)},m.\u0275dir=t.lG2({type:m,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(u,v){2&u&&(t.Ikx("id",v.id),t.uIk("align",null),t.ekj("mat-mdc-form-field-hint-end","end"===v.align))},inputs:{align:"align",id:"id"}}),m})();const le=new t.OlP("MatPrefix");let y=(()=>{class m{constructor(){this._isText=!1}set _isTextSelector(u){this._isText=!0}}return m.\u0275fac=function(u){return new(u||m)},m.\u0275dir=t.lG2({type:m,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[t._Bn([{provide:le,useExisting:m}])]}),m})();const S=new t.OlP("MatSuffix");let g=(()=>{class m{constructor(){this._isText=!1}set _isTextSelector(u){this._isText=!0}}return m.\u0275fac=function(u){return new(u||m)},m.\u0275dir=t.lG2({type:m,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[t._Bn([{provide:S,useExisting:m}])]}),m})();const D=new t.OlP("FloatingLabelParent");let B=(()=>{class m{get floating(){return this._floating}set floating(u){this._floating=u,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(u){this._monitorResize=u,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(u){this._elementRef=u,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,t.f3M)(C),this._ngZone=(0,t.f3M)(t.R0b),this._parent=(0,t.f3M)(D),this._resizeSubscription=new F.w}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function L(m){if(null!==m.offsetParent)return m.scrollWidth;const u=m.cloneNode(!0);u.style.setProperty("position","absolute"),u.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(u);const v=u.scrollWidth;return u.remove(),v}(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())})}}return m.\u0275fac=function(u){return new(u||m)(t.Y36(t.SBq))},m.\u0275dir=t.lG2({type:m,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(u,v){2&u&&t.ekj("mdc-floating-label--float-above",v.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),m})();const G="mdc-line-ripple--active",W="mdc-line-ripple--deactivating";let Ve=(()=>{class m{constructor(u,v){this._elementRef=u,this._handleTransitionEnd=O=>{const H=this._elementRef.nativeElement.classList,_e=H.contains(W);"opacity"===O.propertyName&&_e&&H.remove(G,W)},v.runOutsideAngular(()=>{u.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const u=this._elementRef.nativeElement.classList;u.remove(W),u.add(G)}deactivate(){this._elementRef.nativeElement.classList.add(W)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return m.\u0275fac=function(u){return new(u||m)(t.Y36(t.SBq),t.Y36(t.R0b))},m.\u0275dir=t.lG2({type:m,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),m})(),de=(()=>{class m{constructor(u,v){this._elementRef=u,this._ngZone=v,this.open=!1}ngAfterViewInit(){const u=this._elementRef.nativeElement.querySelector(".mdc-floating-label");u?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(u.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>u.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(u){this._notch.nativeElement.style.width=this.open&&u?`calc(${u}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return m.\u0275fac=function(u){return new(u||m)(t.Y36(t.SBq),t.Y36(t.R0b))},m.\u0275cmp=t.Xpm({type:m,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(u,v){if(1&u&&t.Gf(A,5),2&u){let O;t.iGM(O=t.CRH())&&(v._notch=O.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(u,v){2&u&&t.ekj("mdc-notched-outline--notched",v.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:I,ngContentSelectors:N,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(u,v){1&u&&(t.F$t(),t._UZ(0,"div",0),t.TgZ(1,"div",1,2),t.Hsn(3),t.qZA(),t._UZ(4,"div",3))},encapsulation:2,changeDetection:0}),m})();const ce={transitionMessages:(0,k.X$)("transitionMessages",[(0,k.SB)("enter",(0,k.oB)({opacity:1,transform:"translateY(0%)"})),(0,k.eR)("void => enter",[(0,k.oB)({opacity:0,transform:"translateY(-5px)"}),(0,k.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let it=(()=>{class m{}return m.\u0275fac=function(u){return new(u||m)},m.\u0275dir=t.lG2({type:m}),m})();const rt=new t.OlP("MatFormField"),ot=new t.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ke=0,Be=(()=>{class m{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(u){this._hideRequiredMarker=(0,R.Ig)(u)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(u){u!==this._floatLabel&&(this._floatLabel=u,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(u){const v=this._appearance;this._appearance=u||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==v&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(u){this._subscriptSizing=u||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(u){this._hintLabel=u,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(u){this._explicitFormFieldControl=u}constructor(u,v,O,H,_e,ne,Re,Fe){this._elementRef=u,this._changeDetectorRef=v,this._ngZone=O,this._dir=H,this._platform=_e,this._defaults=ne,this._animationMode=Re,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-"+Ke++,this._hintLabelId="mat-mdc-hint-"+Ke++,this._subscriptAnimationState="",this._destroyed=new a.xQ,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,ne&&(ne.appearance&&(this.appearance=ne.appearance),this._hideRequiredMarker=!!ne?.hideRequiredMarker,ne.color&&(this.color=ne.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 u=this._control;u.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${u.controlType}`),u.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),u.ngControl&&u.ngControl.valueChanges&&u.ngControl.valueChanges.pipe((0,Z.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(u=>!u._isText),this._hasTextPrefix=!!this._prefixChildren.find(u=>u._isText),this._hasIconSuffix=!!this._suffixChildren.find(u=>!u._isText),this._hasTextSuffix=!!this._suffixChildren.find(u=>u._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,j.T)(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._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,Z.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!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(u){const v=this._control?this._control.ngControl:null;return v&&v[u]}_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 u=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&u.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const v=this._hintChildren?this._hintChildren.find(H=>"start"===H.align):null,O=this._hintChildren?this._hintChildren.find(H=>"end"===H.align):null;v?u.push(v.id):this._hintLabel&&u.push(this._hintLabelId),O&&u.push(O.id)}else this._errorChildren&&u.push(...this._errorChildren.map(v=>v.id));this._control.setDescribedByIds(u)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const u=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(u.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const v=this._iconPrefixContainer?.nativeElement,O=this._textPrefixContainer?.nativeElement,H=v?.getBoundingClientRect().width??0,_e=O?.getBoundingClientRect().width??0;u.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${H+_e}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const u=this._elementRef.nativeElement;if(u.getRootNode){const v=u.getRootNode();return v&&v!==u}return document.documentElement.contains(u)}}return m.\u0275fac=function(u){return new(u||m)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(P.Is),t.Y36(q.t4),t.Y36(ot,8),t.Y36(t.QbO,8),t.Y36(T.K0))},m.\u0275cmp=t.Xpm({type:m,selectors:[["mat-form-field"]],contentQueries:function(u,v,O){if(1&u&&(t.Suo(O,K,5),t.Suo(O,K,7),t.Suo(O,it,5),t.Suo(O,le,5),t.Suo(O,S,5),t.Suo(O,Ae,5),t.Suo(O,J,5)),2&u){let H;t.iGM(H=t.CRH())&&(v._labelChildNonStatic=H.first),t.iGM(H=t.CRH())&&(v._labelChildStatic=H.first),t.iGM(H=t.CRH())&&(v._formFieldControl=H.first),t.iGM(H=t.CRH())&&(v._prefixChildren=H),t.iGM(H=t.CRH())&&(v._suffixChildren=H),t.iGM(H=t.CRH())&&(v._errorChildren=H),t.iGM(H=t.CRH())&&(v._hintChildren=H)}},viewQuery:function(u,v){if(1&u&&(t.Gf(X,5),t.Gf(ie,5),t.Gf(Oe,5),t.Gf(B,5),t.Gf(de,5),t.Gf(Ve,5)),2&u){let O;t.iGM(O=t.CRH())&&(v._textField=O.first),t.iGM(O=t.CRH())&&(v._iconPrefixContainer=O.first),t.iGM(O=t.CRH())&&(v._textPrefixContainer=O.first),t.iGM(O=t.CRH())&&(v._floatingLabel=O.first),t.iGM(O=t.CRH())&&(v._notchedOutline=O.first),t.iGM(O=t.CRH())&&(v._lineRipple=O.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(u,v){2&u&&t.ekj("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"],features:[t._Bn([{provide:rt,useExisting:m},{provide:D,useExisting:m}])],ngContentSelectors:Ee,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(u,v){1&u&&(t.F$t(me),t.YNc(0,ye,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.NdJ("click",function(H){return v._control.onContainerClick(H)}),t.YNc(4,ue,1,0,"div",3),t.TgZ(5,"div",4),t.YNc(6,se,2,2,"div",5),t.YNc(7,Pe,3,0,"div",6),t.YNc(8,De,3,0,"div",7),t.TgZ(9,"div",8),t.YNc(10,Ue,1,1,"ng-template",9),t.Hsn(11),t.qZA(),t.YNc(12,ze,2,0,"div",10),t.YNc(13,pe,2,0,"div",11),t.qZA(),t.YNc(14,Ie,1,0,"div",12),t.qZA(),t.TgZ(15,"div",13),t.YNc(16,Ce,2,1,"div",14),t.YNc(17,we,5,2,"div",15),t.qZA()),2&u&&(t.xp6(2),t.ekj("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),t.xp6(2),t.Q6J("ngIf",!v._hasOutline()&&!v._control.disabled),t.xp6(2),t.Q6J("ngIf",v._hasOutline()),t.xp6(1),t.Q6J("ngIf",v._hasIconPrefix),t.xp6(1),t.Q6J("ngIf",v._hasTextPrefix),t.xp6(2),t.Q6J("ngIf",!v._hasOutline()||v._forceDisplayInfixLabel()),t.xp6(2),t.Q6J("ngIf",v._hasTextSuffix),t.xp6(1),t.Q6J("ngIf",v._hasIconSuffix),t.xp6(1),t.Q6J("ngIf",!v._hasOutline()),t.xp6(1),t.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===v.subscriptSizing),t.Q6J("ngSwitch",v._getDisplayedMessages()),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","hint"))},dependencies:[T.O5,T.tP,T.RF,T.n9,J,B,de,Ve],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 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-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{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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-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{transform:translateY(-24.75px) scale(0.75)}.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-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{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-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-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.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-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,.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-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.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{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.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}.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-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-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}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}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}.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}[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-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}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.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,[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-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.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:[ce.transitionMessages]},changeDetection:0}),m})(),Se=(()=>{class m{}return m.\u0275fac=function(u){return new(u||m)},m.\u0275mod=t.oAB({type:m}),m.\u0275inj=t.cJS({imports:[b.BQ,T.ez,f.Q8,b.BQ]}),m})()},4516:(tt,re,x)=>{x.d(re,{Jk:()=>U,Nt:()=>R,c:()=>k});var t=x(2495),P=x(2831),q=x(6263),F=x(5879),a=x(6223),j=x(3680),Z=x(4170),E=x(2079);const U=new F.OlP("MAT_INPUT_VALUE_ACCESSOR"),te=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Y=0;const C=(0,j.FD)(class{constructor(T,f,b,A){this._defaultErrorStateMatcher=T,this._parentForm=f,this._parentFormGroup=b,this.ngControl=A,this.stateChanges=new E.xQ}});let R=(()=>{class T extends C{get disabled(){return this._disabled}set disabled(b){this._disabled=(0,t.Ig)(b),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(b){this._id=b||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(a.kI.required)??!1}set required(b){this._required=(0,t.Ig)(b)}get type(){return this._type}set type(b){this._type=b||"text",this._validateType(),!this._isTextarea&&(0,P.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(b){b!==this.value&&(this._inputValueAccessor.value=b,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(b){this._readonly=(0,t.Ig)(b)}constructor(b,A,I,N,X,ie,Oe,Te,xe,ye){super(ie,N,X,I),this._elementRef=b,this._platform=A,this._autofillMonitor=Te,this._formField=ye,this._uid="mat-input-"+Y++,this.focused=!1,this.stateChanges=new E.xQ,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(he=>(0,P.qK)().has(he)),this._iOSKeyupListener=he=>{const se=he.target;!se.value&&0===se.selectionStart&&0===se.selectionEnd&&(se.setSelectionRange(1,1),se.setSelectionRange(0,0))};const ue=this._elementRef.nativeElement,oe=ue.nodeName.toLowerCase();this._inputValueAccessor=Oe||ue,this._previousNativeValue=this.value,this.id=this.id,A.IOS&&xe.runOutsideAngular(()=>{b.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===oe,this._isTextarea="textarea"===oe,this._isInFormField=!!ye,this._isNativeSelect&&(this.controlType=ue.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(b=>{this.autofilled=b.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(b){this._elementRef.nativeElement.focus(b)}_focusChanged(b){b!==this.focused&&(this.focused=b,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const b=this._elementRef.nativeElement.value;this._previousNativeValue!==b&&(this._previousNativeValue=b,this.stateChanges.next())}_dirtyCheckPlaceholder(){const b=this._getPlaceholder();if(b!==this._previousPlaceholder){const A=this._elementRef.nativeElement;this._previousPlaceholder=b,b?A.setAttribute("placeholder",b):A.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){te.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let b=this._elementRef.nativeElement.validity;return b&&b.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const b=this._elementRef.nativeElement,A=b.options[0];return this.focused||b.multiple||!this.empty||!!(b.selectedIndex>-1&&A&&A.label)}return this.focused||!this.empty}setDescribedByIds(b){b.length?this._elementRef.nativeElement.setAttribute("aria-describedby",b.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const b=this._elementRef.nativeElement;return this._isNativeSelect&&(b.multiple||b.size>1)}}return T.\u0275fac=function(b){return new(b||T)(F.Y36(F.SBq),F.Y36(P.t4),F.Y36(a.a5,10),F.Y36(a.F,8),F.Y36(a.sg,8),F.Y36(j.rD),F.Y36(U,10),F.Y36(q.Lq),F.Y36(F.R0b),F.Y36(Z.G_,8))},T.\u0275dir=F.lG2({type:T,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(b,A){1&b&&F.NdJ("focus",function(){return A._focusChanged(!0)})("blur",function(){return A._focusChanged(!1)})("input",function(){return A._onInput()}),2&b&&(F.Ikx("id",A.id)("disabled",A.disabled)("required",A.required),F.uIk("name",A.name||null)("readonly",A.readonly&&!A._isNativeSelect||null)("aria-invalid",A.empty&&A.required?null:A.errorState)("aria-required",A.required)("id",A.id),F.ekj("mat-input-server",A._isServer)("mat-mdc-form-field-textarea-control",A._isInFormField&&A._isTextarea)("mat-mdc-form-field-input-control",A._isInFormField)("mdc-text-field__input",A._isInFormField)("mat-mdc-native-select-inline",A._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[F._Bn([{provide:Z.Eo,useExisting:T}]),F.qOj,F.TTD]}),T})(),k=(()=>{class T{}return T.\u0275fac=function(b){return new(b||T)},T.\u0275mod=F.oAB({type:T}),T.\u0275inj=F.cJS({imports:[j.BQ,Z.lN,Z.lN,q.Ky,j.BQ]}),T})()}}]);