-
Notifications
You must be signed in to change notification settings - Fork 5
/
6990.b1f6e56d624da23b.js
1 lines (1 loc) · 184 KB
/
6990.b1f6e56d624da23b.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[6990],{8580:(Te,q,u)=>{u.d(q,{XD:()=>Z,dD:()=>L,xI:()=>D});var i=u(4650),k=u(5017),V=u(1281),y=u(8929),t=u(2654);let B=0;const Y=new i.OlP("CdkAccordion");let D=(()=>{class F{constructor(){this._stateChanges=new y.xQ,this._openCloseAllActions=new y.xQ,this.id="cdk-accordion-"+B++,this._multi=!1}get multi(){return this._multi}set multi(E){this._multi=(0,V.Ig)(E)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(E){this._stateChanges.next(E)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return F.\u0275fac=function(E){return new(E||F)},F.\u0275dir=i.lG2({type:F,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i._Bn([{provide:Y,useExisting:F}]),i.TTD]}),F})(),N=0,L=(()=>{class F{constructor(E,w,T){this.accordion=E,this._changeDetectorRef=w,this._expansionDispatcher=T,this._openCloseAllSubscription=t.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+N++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=T.listen((f,h)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===h&&this.id!==f&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(E){E=(0,V.Ig)(E),this._expanded!==E&&(this._expanded=E,this.expandedChange.emit(E),E?(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(E){this._disabled=(0,V.Ig)(E)}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(E=>{this.disabled||(this.expanded=E)})}}return F.\u0275fac=function(E){return new(E||F)(i.Y36(Y,12),i.Y36(i.sBO),i.Y36(k.A8))},F.\u0275dir=i.lG2({type:F,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:Y,useValue:void 0}])]}),F})(),Z=(()=>{class F{}return F.\u0275fac=function(E){return new(E||F)},F.\u0275mod=i.oAB({type:F}),F.\u0275inj=i.cJS({}),F})()},9349:(Te,q,u)=>{u.d(q,{IC:()=>x,Ky:()=>E,Lq:()=>Z,aC:()=>F});var i=u(3353),k=u(4650),V=u(1281),y=u(8896),t=u(8929),B=u(3753),Y=u(7568),D=u(7625),N=u(6895);const L=(0,i.i$)({passive:!0});let Z=(()=>{class w{constructor(f,h){this._platform=f,this._ngZone=h,this._monitoredElements=new Map}monitor(f){if(!this._platform.isBrowser)return y.E;const h=(0,V.fI)(f),b=this._monitoredElements.get(h);if(b)return b.subject;const M=new t.xQ,I="cdk-text-field-autofilled",U=W=>{"cdk-text-field-autofill-start"!==W.animationName||h.classList.contains(I)?"cdk-text-field-autofill-end"===W.animationName&&h.classList.contains(I)&&(h.classList.remove(I),this._ngZone.run(()=>M.next({target:W.target,isAutofilled:!1}))):(h.classList.add(I),this._ngZone.run(()=>M.next({target:W.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{h.addEventListener("animationstart",U,L),h.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(h,{subject:M,unlisten:()=>{h.removeEventListener("animationstart",U,L)}}),M}stopMonitoring(f){const h=(0,V.fI)(f),b=this._monitoredElements.get(h);b&&(b.unlisten(),b.subject.complete(),h.classList.remove("cdk-text-field-autofill-monitored"),h.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(h))}ngOnDestroy(){this._monitoredElements.forEach((f,h)=>this.stopMonitoring(h))}}return w.\u0275fac=function(f){return new(f||w)(k.LFG(i.t4),k.LFG(k.R0b))},w.\u0275prov=k.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),F=(()=>{class w{constructor(f,h){this._elementRef=f,this._autofillMonitor=h,this.cdkAutofill=new k.vpe}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(f=>this.cdkAutofill.emit(f))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}}return w.\u0275fac=function(f){return new(f||w)(k.Y36(k.SBq),k.Y36(Z))},w.\u0275dir=k.lG2({type:w,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}}),w})(),x=(()=>{class w{constructor(f,h,b,M){this._elementRef=f,this._platform=h,this._ngZone=b,this._destroyed=new t.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=I=>{this._hasFocus="focus"===I.type},this._document=M,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(f){this._minRows=(0,V.su)(f),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(f){this._maxRows=(0,V.su)(f),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(f){f=(0,V.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()}_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,B.R)(f,"resize").pipe((0,Y.e)(16),(0,D.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,h=f.style.marginBottom||"",b=this._platform.FIREFOX,M=b&&this._hasFocus,I=b?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";M&&(f.style.marginBottom=`${f.clientHeight}px`),f.classList.add(I);const U=f.scrollHeight-4;return f.classList.remove(I),M&&(f.style.marginBottom=h),U}_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 h=this._elementRef.nativeElement,b=h.value;if(!f&&this._minRows===this._previousMinRows&&b===this._previousValue)return;const M=this._measureScrollHeight(),I=Math.max(M,this._cachedPlaceholderHeight||0);h.style.height=`${I}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(h)):setTimeout(()=>this._scrollToCaretPosition(h))}),this._previousValue=b,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:h,selectionEnd:b}=f;!this._destroyed.isStopped&&this._hasFocus&&f.setSelectionRange(h,b)}}return w.\u0275fac=function(f){return new(f||w)(k.Y36(k.SBq),k.Y36(i.t4),k.Y36(k.R0b),k.Y36(N.K0,8))},w.\u0275dir=k.lG2({type:w,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(f,h){1&f&&k.NdJ("input",function(){return h._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),w})(),E=(()=>{class w{}return w.\u0275fac=function(f){return new(f||w)},w.\u0275mod=k.oAB({type:w}),w.\u0275inj=k.cJS({}),w})()},6990:(Te,q,u)=>{u.r(q),u.d(q,{ExpansionExamplesModule:()=>H,ExpansionExpandCollapseAllExample:()=>te,ExpansionHarnessExample:()=>ce,ExpansionOverviewExample:()=>pe,ExpansionStepsExample:()=>ae});var i=u(4650),k=u(4859),V=u(9602),y=u(3238),t=u(8580),B=u(4080),Y=u(6895),D=u(1281),N=u(2687),L=u(5778),Z=u(1059),F=u(2198),x=u(2986),E=u(9521),w=u(8929),T=u(2654),f=u(8896),h=u(6787),b=u(7340),M=u(5017);const I=["body"];function U(p,C){}const W=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],_e=["mat-expansion-panel-header","*","mat-action-row"];function fe(p,C){if(1&p&&i._UZ(0,"span",2),2&p){const c=i.oxw();i.Q6J("@indicatorRotate",c._getExpandedState())}}const ge=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],me=["mat-panel-title","mat-panel-description","*"],$=new i.OlP("MAT_ACCORDION"),re="225ms cubic-bezier(0.4,0.0,0.2,1)",ee={indicatorRotate:(0,b.X$)("indicatorRotate",[(0,b.SB)("collapsed, void",(0,b.oB)({transform:"rotate(0deg)"})),(0,b.SB)("expanded",(0,b.oB)({transform:"rotate(180deg)"})),(0,b.eR)("expanded <=> collapsed, void => collapsed",(0,b.jt)(re))]),bodyExpansion:(0,b.X$)("bodyExpansion",[(0,b.SB)("collapsed, void",(0,b.oB)({height:"0px",visibility:"hidden"})),(0,b.SB)("expanded",(0,b.oB)({height:"*",visibility:"visible"})),(0,b.eR)("expanded <=> collapsed, void => collapsed",(0,b.jt)(re))])},Q=new i.OlP("MAT_EXPANSION_PANEL");let Ie=(()=>{class p{constructor(c,g){this._template=c,this._expansionPanel=g}}return p.\u0275fac=function(c){return new(c||p)(i.Y36(i.Rgc),i.Y36(Q,8))},p.\u0275dir=i.lG2({type:p,selectors:[["ng-template","matExpansionPanelContent",""]]}),p})(),Fe=0;const we=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let oe=(()=>{class p extends t.dD{constructor(c,g,S,P,z,X,ue){super(c,g,S),this._viewContainerRef=P,this._animationMode=X,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new w.xQ,this._headerId="mat-expansion-panel-header-"+Fe++,this._bodyAnimationDone=new w.xQ,this.accordion=c,this._document=z,this._bodyAnimationDone.pipe((0,L.x)((K,G)=>K.fromState===G.fromState&&K.toState===G.toState)).subscribe(K=>{"void"!==K.fromState&&("expanded"===K.toState?this.afterExpand.emit():"collapsed"===K.toState&&this.afterCollapse.emit())}),ue&&(this.hideToggle=ue.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(c){this._hideToggle=(0,D.Ig)(c)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(c){this._togglePosition=c}_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,Z.O)(null),(0,F.h)(()=>this.expanded&&!this._portal),(0,x.q)(1)).subscribe(()=>{this._portal=new B.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(c){this._inputChanges.next(c)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const c=this._document.activeElement,g=this._body.nativeElement;return c===g||g.contains(c)}return!1}}return p.\u0275fac=function(c){return new(c||p)(i.Y36($,12),i.Y36(i.sBO),i.Y36(M.A8),i.Y36(i.s_b),i.Y36(Y.K0),i.Y36(i.QbO,8),i.Y36(we,8))},p.\u0275cmp=i.Xpm({type:p,selectors:[["mat-expansion-panel"]],contentQueries:function(c,g,S){if(1&c&&i.Suo(S,Ie,5),2&c){let P;i.iGM(P=i.CRH())&&(g._lazyContent=P.first)}},viewQuery:function(c,g){if(1&c&&i.Gf(I,5),2&c){let S;i.iGM(S=i.CRH())&&(g._body=S.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(c,g){2&c&&i.ekj("mat-expanded",g.expanded)("_mat-animation-noopable","NoopAnimations"===g._animationMode)("mat-expansion-panel-spacing",g._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:$,useValue:void 0},{provide:Q,useExisting:p}]),i.qOj,i.TTD],ngContentSelectors:_e,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(c,g){1&c&&(i.F$t(W),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(P){return g._bodyAnimationDone.next(P)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,U,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&c&&(i.xp6(1),i.Q6J("@bodyExpansion",g._getExpandedState())("id",g.id),i.uIk("aria-labelledby",g._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",g._portal))},dependencies:[B.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:[ee.bodyExpansion]},changeDetection:0}),p})(),xe=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275dir=i.lG2({type:p,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),p})();class Se{}const Ee=(0,y.sb)(Se);let le=(()=>{class p extends Ee{constructor(c,g,S,P,z,X,ue){super(),this.panel=c,this._element=g,this._focusMonitor=S,this._changeDetectorRef=P,this._animationMode=X,this._parentChangeSubscription=T.w.EMPTY;const K=c.accordion?c.accordion._stateChanges.pipe((0,F.h)(G=>!(!G.hideToggle&&!G.togglePosition))):f.E;this.tabIndex=parseInt(ue||"")||0,this._parentChangeSubscription=(0,h.T)(c.opened,c.closed,K,c._inputChanges.pipe((0,F.h)(G=>!!(G.hideToggle||G.disabled||G.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),c.closed.pipe((0,F.h)(()=>c._containsFocus())).subscribe(()=>S.focusVia(g,"program")),z&&(this.expandedHeight=z.expandedHeight,this.collapsedHeight=z.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 c=this._isExpanded();return c&&this.expandedHeight?this.expandedHeight:!c&&this.collapsedHeight?this.collapsedHeight:null}_keydown(c){switch(c.keyCode){case E.L_:case E.K5:(0,E.Vb)(c)||(c.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(c))}}focus(c,g){c?this._focusMonitor.focusVia(this._element,c,g):this._element.nativeElement.focus(g)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(c=>{c&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return p.\u0275fac=function(c){return new(c||p)(i.Y36(oe,1),i.Y36(i.SBq),i.Y36(N.tE),i.Y36(i.sBO),i.Y36(we,8),i.Y36(i.QbO,8),i.$8M("tabindex"))},p.\u0275cmp=i.Xpm({type:p,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(c,g){1&c&&i.NdJ("click",function(){return g._toggle()})("keydown",function(P){return g._keydown(P)}),2&c&&(i.uIk("id",g.panel._headerId)("tabindex",g.tabIndex)("aria-controls",g._getPanelId())("aria-expanded",g._isExpanded())("aria-disabled",g.panel.disabled),i.Udp("height",g._getHeaderHeight()),i.ekj("mat-expanded",g._isExpanded())("mat-expansion-toggle-indicator-after","after"===g._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===g._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===g._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[i.qOj],ngContentSelectors:me,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(c,g){1&c&&(i.F$t(ge),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,fe,1,1,"span",1)),2&c&&(i.ekj("mat-content-hide-toggle",!g._showToggle()),i.xp6(4),i.Q6J("ngIf",g._showToggle()))},dependencies:[Y.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:[ee.indicatorRotate]},changeDetection:0}),p})(),be=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275dir=i.lG2({type:p,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),p})(),ie=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275dir=i.lG2({type:p,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),p})(),ne=(()=>{class p extends t.xI{constructor(){super(...arguments),this._ownHeaders=new i.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(c){this._hideToggle=(0,D.Ig)(c)}ngAfterContentInit(){this._headers.changes.pipe((0,Z.O)(this._headers)).subscribe(c=>{this._ownHeaders.reset(c.filter(g=>g.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new N.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(c){this._keyManager.onKeydown(c)}_handleHeaderFocus(c){this._keyManager.updateActiveItem(c)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return p.\u0275fac=function(){let C;return function(g){return(C||(C=i.n5z(p)))(g||p)}}(),p.\u0275dir=i.lG2({type:p,selectors:[["mat-accordion"]],contentQueries:function(c,g,S){if(1&c&&i.Suo(S,le,5),2&c){let P;i.iGM(P=i.CRH())&&(g._headers=P)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(c,g){2&c&&i.ekj("mat-accordion-multi",g.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i._Bn([{provide:$,useExisting:p}]),i.qOj]}),p})(),Pe=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=i.oAB({type:p}),p.\u0275inj=i.cJS({imports:[Y.ez,y.BQ,t.XD,B.eL]}),p})();var J=u(7392),de=u(284),se=u(9549);let te=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275cmp=i.Xpm({type:p,selectors:[["expansion-expand-collapse-all-example"]],viewQuery:function(c,g){if(1&c&&i.Gf(ne,5),2&c){let S;i.iGM(S=i.CRH())&&(g.accordion=S.first)}},decls:48,vars:1,consts:[[1,"example-action-buttons"],["mat-button","",3,"click"],["multi","",1,"example-headers-align"],["appearance","fill"],["matInput",""],["matInput","","type","number","min","1"],["disabled",""],["matInput","","readonly","",3,"matDatepicker","focus"],["picker",""]],template:function(c,g){if(1&c){const S=i.EpF();i.TgZ(0,"div",0)(1,"button",1),i.NdJ("click",function(){return g.accordion.openAll()}),i._uU(2,"Expand All"),i.qZA(),i.TgZ(3,"button",1),i.NdJ("click",function(){return g.accordion.closeAll()}),i._uU(4,"Collapse All"),i.qZA()(),i.TgZ(5,"mat-accordion",2)(6,"mat-expansion-panel")(7,"mat-expansion-panel-header")(8,"mat-panel-title"),i._uU(9," Personal data "),i.qZA(),i.TgZ(10,"mat-panel-description"),i._uU(11," Type your name and age "),i.TgZ(12,"mat-icon"),i._uU(13,"account_circle"),i.qZA()()(),i.TgZ(14,"mat-form-field",3)(15,"mat-label"),i._uU(16,"First name"),i.qZA(),i._UZ(17,"input",4),i.qZA(),i.TgZ(18,"mat-form-field",3)(19,"mat-label"),i._uU(20,"Age"),i.qZA(),i._UZ(21,"input",5),i.qZA()(),i.TgZ(22,"mat-expansion-panel",6)(23,"mat-expansion-panel-header")(24,"mat-panel-title"),i._uU(25," Destination "),i.qZA(),i.TgZ(26,"mat-panel-description"),i._uU(27," Type the country name "),i.TgZ(28,"mat-icon"),i._uU(29,"map"),i.qZA()()(),i.TgZ(30,"mat-form-field",3)(31,"mat-label"),i._uU(32,"Country"),i.qZA(),i._UZ(33,"input",4),i.qZA()(),i.TgZ(34,"mat-expansion-panel")(35,"mat-expansion-panel-header")(36,"mat-panel-title"),i._uU(37," Day of the trip "),i.qZA(),i.TgZ(38,"mat-panel-description"),i._uU(39," Inform the date you wish to travel "),i.TgZ(40,"mat-icon"),i._uU(41,"date_range"),i.qZA()()(),i.TgZ(42,"mat-form-field",3)(43,"mat-label"),i._uU(44,"Date"),i.qZA(),i.TgZ(45,"input",7),i.NdJ("focus",function(){i.CHM(S);const z=i.MAs(47);return i.KtG(z.open())}),i.qZA()(),i._UZ(46,"mat-datepicker",null,8),i.qZA()()}if(2&c){const S=i.MAs(47);i.xp6(45),i.Q6J("matDatepicker",S)}},dependencies:[k.lW,V.Mq,V.hl,ne,oe,le,ie,be,J.Hw,de.Nt,se.KE,se.hX],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}"]}),p})(),pe=(()=>{class p{constructor(){this.panelOpenState=!1}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275cmp=i.Xpm({type:p,selectors:[["expansion-overview-example"]],decls:17,vars:1,consts:[["hideToggle",""],[3,"opened","closed"]],template:function(c,g){1&c&&(i.TgZ(0,"mat-accordion")(1,"mat-expansion-panel",0)(2,"mat-expansion-panel-header")(3,"mat-panel-title"),i._uU(4," This is the expansion title "),i.qZA(),i.TgZ(5,"mat-panel-description"),i._uU(6," This is a summary of the content "),i.qZA()(),i.TgZ(7,"p"),i._uU(8,"This is the primary content of the panel."),i.qZA()(),i.TgZ(9,"mat-expansion-panel",1),i.NdJ("opened",function(){return g.panelOpenState=!0})("closed",function(){return g.panelOpenState=!1}),i.TgZ(10,"mat-expansion-panel-header")(11,"mat-panel-title"),i._uU(12," Self aware panel "),i.qZA(),i.TgZ(13,"mat-panel-description"),i._uU(14),i.qZA()(),i.TgZ(15,"p"),i._uU(16,"I'm visible because I am open"),i.qZA()()()),2&c&&(i.xp6(14),i.hij(" Currently I am ",g.panelOpenState?"open":"closed"," "))},dependencies:[ne,oe,le,ie,be],styles:[".mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%] {\n margin-left: 8px;\n}"]}),p})(),ae=(()=>{class p{constructor(){this.step=0}setStep(c){this.step=c}nextStep(){this.step++}prevStep(){this.step--}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275cmp=i.Xpm({type:p,selectors:[["expansion-steps-example"]],decls:56,vars:4,consts:[[1,"example-headers-align"],["hideToggle","",3,"expanded","opened"],["appearance","fill"],["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(c,g){if(1&c){const S=i.EpF();i.TgZ(0,"mat-accordion",0)(1,"mat-expansion-panel",1),i.NdJ("opened",function(){return g.setStep(0)}),i.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title"),i._uU(4," Personal data "),i.qZA(),i.TgZ(5,"mat-panel-description"),i._uU(6," Type your name and age "),i.TgZ(7,"mat-icon"),i._uU(8,"account_circle"),i.qZA()()(),i.TgZ(9,"mat-form-field",2)(10,"mat-label"),i._uU(11,"First name"),i.qZA(),i._UZ(12,"input",3),i.qZA(),i.TgZ(13,"mat-form-field",2)(14,"mat-label"),i._uU(15,"Age"),i.qZA(),i._UZ(16,"input",4),i.qZA(),i.TgZ(17,"mat-action-row")(18,"button",5),i.NdJ("click",function(){return g.nextStep()}),i._uU(19,"Next"),i.qZA()()(),i.TgZ(20,"mat-expansion-panel",1),i.NdJ("opened",function(){return g.setStep(1)}),i.TgZ(21,"mat-expansion-panel-header")(22,"mat-panel-title"),i._uU(23," Destination "),i.qZA(),i.TgZ(24,"mat-panel-description"),i._uU(25," Type the country name "),i.TgZ(26,"mat-icon"),i._uU(27,"map"),i.qZA()()(),i.TgZ(28,"mat-form-field",2)(29,"mat-label"),i._uU(30,"Country"),i.qZA(),i._UZ(31,"input",3),i.qZA(),i.TgZ(32,"mat-action-row")(33,"button",6),i.NdJ("click",function(){return g.prevStep()}),i._uU(34,"Previous"),i.qZA(),i.TgZ(35,"button",5),i.NdJ("click",function(){return g.nextStep()}),i._uU(36,"Next"),i.qZA()()(),i.TgZ(37,"mat-expansion-panel",1),i.NdJ("opened",function(){return g.setStep(2)}),i.TgZ(38,"mat-expansion-panel-header")(39,"mat-panel-title"),i._uU(40," Day of the trip "),i.qZA(),i.TgZ(41,"mat-panel-description"),i._uU(42," Inform the date you wish to travel "),i.TgZ(43,"mat-icon"),i._uU(44,"date_range"),i.qZA()()(),i.TgZ(45,"mat-form-field",2)(46,"mat-label"),i._uU(47,"Date"),i.qZA(),i.TgZ(48,"input",7),i.NdJ("focus",function(){i.CHM(S);const z=i.MAs(50);return i.KtG(z.open())}),i.qZA()(),i._UZ(49,"mat-datepicker",null,8),i.TgZ(51,"mat-action-row")(52,"button",6),i.NdJ("click",function(){return g.prevStep()}),i._uU(53,"Previous"),i.qZA(),i.TgZ(54,"button",5),i.NdJ("click",function(){return g.nextStep()}),i._uU(55,"End"),i.qZA()()()()}if(2&c){const S=i.MAs(50);i.xp6(1),i.Q6J("expanded",0===g.step),i.xp6(19),i.Q6J("expanded",1===g.step),i.xp6(17),i.Q6J("expanded",2===g.step),i.xp6(11),i.Q6J("matDatepicker",S)}},dependencies:[k.lW,V.Mq,V.hl,ne,oe,xe,le,ie,be,J.Hw,de.Nt,se.KE,se.hX],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}"]}),p})(),ce=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275cmp=i.Xpm({type:p,selectors:[["expansion-harness-example"]],decls:7,vars:0,template:function(c,g){1&c&&(i.TgZ(0,"mat-accordion")(1,"mat-expansion-panel")(2,"mat-expansion-panel-header")(3,"mat-panel-title"),i._uU(4," Welcome "),i.qZA()(),i.TgZ(5,"p"),i._uU(6,"I am the content!"),i.qZA()()())},dependencies:[ne,oe,le,ie],encapsulation:2}),p})(),H=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=i.oAB({type:p}),p.\u0275inj=i.cJS({imports:[k.ot,V.FA,y.XK,Pe,J.Ps,de.c]}),p})()},9602:(Te,q,u)=>{u.d(q,{By:()=>Xe,C0:()=>H,DK:()=>ut,FA:()=>gt,M5:()=>ft,Mq:()=>it,Q0:()=>qe,_H:()=>ke,_g:()=>pt,dp:()=>_t,hl:()=>Ne,nW:()=>ot,q_:()=>X,wx:()=>mt,zY:()=>Je});var i=u(2687),k=u(8184),V=u(4080),y=u(6895),t=u(4650),B=u(4859),Y=u(7376),D=u(3238),N=u(8929),L=u(2654),Z=u(6787),F=u(1086),x=u(9521),E=u(445),w=u(2986),T=u(1059),f=u(2198),h=u(1281),b=u(3353),M=u(7340),I=u(4006),U=u(9549),W=u(284);const _e=["mat-calendar-body",""];function fe(r,d){if(1&r&&(t.TgZ(0,"tr",3)(1,"td",4),t._uU(2),t.qZA()()),2&r){const e=t.oxw();t.xp6(1),t.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),t.uIk("colspan",e.numCols),t.xp6(1),t.hij(" ",e.label," ")}}function ge(r,d){if(1&r&&(t.TgZ(0,"td",4),t._uU(1),t.qZA()),2&r){const e=t.oxw(2);t.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),t.uIk("colspan",e._firstRowOffset),t.xp6(1),t.hij(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function me(r,d){if(1&r){const e=t.EpF();t.TgZ(0,"td",8)(1,"button",9),t.NdJ("click",function(n){const _=t.CHM(e).$implicit,O=t.oxw(2);return t.KtG(O._cellClicked(_,n))})("focus",function(n){const _=t.CHM(e).$implicit,O=t.oxw(2);return t.KtG(O._emitActiveDateChange(_,n))}),t.TgZ(2,"div",10),t._uU(3),t.qZA(),t._UZ(4,"div",11),t.qZA()()}if(2&r){const e=d.$implicit,a=d.index,n=t.oxw().index,o=t.oxw();t.Udp("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),t.uIk("data-mat-row",n)("data-mat-col",a),t.xp6(1),t.ekj("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",o._isActiveCell(n,a))("mat-calendar-body-range-start",o._isRangeStart(e.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",o._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(e.compareValue,n,a))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(e.compareValue,n,a))("mat-calendar-body-comparison-start",o._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",o._isInPreview(e.compareValue)),t.Q6J("ngClass",e.cssClasses)("tabindex",o._isActiveCell(n,a)?0:-1),t.uIk("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",o._isSelected(e.compareValue))("aria-current",o.todayValue===e.compareValue?"date":null)("aria-describedby",o._getDescribedby(e.compareValue)),t.xp6(1),t.ekj("mat-calendar-body-selected",o._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",o.todayValue===e.compareValue),t.xp6(1),t.hij(" ",e.displayValue," ")}}function $(r,d){if(1&r&&(t.TgZ(0,"tr",5),t.YNc(1,ge,2,6,"td",6),t.YNc(2,me,5,48,"td",7),t.qZA()),2&r){const e=d.$implicit,a=d.index,n=t.oxw();t.xp6(1),t.Q6J("ngIf",0===a&&n._firstRowOffset),t.xp6(1),t.Q6J("ngForOf",e)}}function re(r,d){if(1&r&&(t.TgZ(0,"th",5)(1,"span",6),t._uU(2),t.qZA(),t.TgZ(3,"span",7),t._uU(4),t.qZA()()),2&r){const e=d.$implicit;t.xp6(2),t.Oqu(e.long),t.xp6(2),t.Oqu(e.narrow)}}const ee=["*"];function Q(r,d){}function Ie(r,d){if(1&r){const e=t.EpF();t.TgZ(0,"mat-month-view",5),t.NdJ("activeDateChange",function(n){t.CHM(e);const o=t.oxw();return t.KtG(o.activeDate=n)})("_userSelection",function(n){t.CHM(e);const o=t.oxw();return t.KtG(o._dateSelected(n))}),t.qZA()}if(2&r){const e=t.oxw();t.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)}}function Fe(r,d){if(1&r){const e=t.EpF();t.TgZ(0,"mat-year-view",6),t.NdJ("activeDateChange",function(n){t.CHM(e);const o=t.oxw();return t.KtG(o.activeDate=n)})("monthSelected",function(n){t.CHM(e);const o=t.oxw();return t.KtG(o._monthSelectedInYearView(n))})("selectedChange",function(n){t.CHM(e);const o=t.oxw();return t.KtG(o._goToDateInView(n,"month"))}),t.qZA()}if(2&r){const e=t.oxw();t.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function we(r,d){if(1&r){const e=t.EpF();t.TgZ(0,"mat-multi-year-view",7),t.NdJ("activeDateChange",function(n){t.CHM(e);const o=t.oxw();return t.KtG(o.activeDate=n)})("yearSelected",function(n){t.CHM(e);const o=t.oxw();return t.KtG(o._yearSelectedInMultiYearView(n))})("selectedChange",function(n){t.CHM(e);const o=t.oxw();return t.KtG(o._goToDateInView(n,"year"))}),t.qZA()}if(2&r){const e=t.oxw();t.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function oe(r,d){}const xe=["button"];function Se(r,d){1&r&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"path",4),t.qZA())}const Ee=[[["","matDatepickerToggleIcon",""]]],le=["[matDatepickerToggleIcon]"],be=[[["input","matStartDate",""]],[["input","matEndDate",""]]],ie=["input[matStartDate]","input[matEndDate]"];function ne(r,d){1&r&&(t.TgZ(0,"div",0),t.Hsn(1),t.qZA())}let J=(()=>{class r{constructor(){this.changes=new N.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,a){return`${e} \u2013 ${a}`}formatYearRangeLabel(e,a){return`${e} to ${a}`}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();class de{constructor(d,e,a,n,o={},_=d,O){this.value=d,this.displayValue=e,this.ariaLabel=a,this.enabled=n,this.cssClasses=o,this.compareValue=_,this.rawValue=O}}let se=1,te=(()=>{class r{constructor(e,a){this._elementRef=e,this._ngZone=a,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new t.vpe,this.previewChange=new t.vpe,this.activeDateChange=new t.vpe,this._enterHandler=n=>{if(this._skipNextFocus&&"focus"===n.type)this._skipNextFocus=!1;else if(n.target&&this.isRange){const o=this._getCellFromElement(n.target);o&&this._ngZone.run(()=>this.previewChange.emit({value:o.enabled?o:null,event:n}))}},this._leaveHandler=n=>{null!==this.previewEnd&&this.isRange&&n.target&&this._getCellFromElement(n.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:n}))},this._id="mat-calendar-body-"+se++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,a.runOutsideAngular(()=>{const n=e.nativeElement;n.addEventListener("mouseenter",this._enterHandler,!0),n.addEventListener("focus",this._enterHandler,!0),n.addEventListener("mouseleave",this._leaveHandler,!0),n.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(e,a){e.enabled&&this.selectedValueChange.emit({value:e.value,event:a})}_emitActiveDateChange(e,a){e.enabled&&this.activeDateChange.emit({value:e.value,event:a})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const a=e.numCols,{rows:n,numCols:o}=this;(e.rows||a)&&(this._firstRowOffset=n&&n.length&&n[0].length?o-n[0].length:0),(e.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/o+"%"),(a||!this._cellWidth)&&(this._cellWidth=100/o+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,a){let n=e*this.numCols+a;return e&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,w.q)(1)).subscribe(()=>{setTimeout(()=>{const a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(e||(this._skipNextFocus=!0),a.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return ae(e,this.startValue,this.endValue)}_isRangeEnd(e){return ce(e,this.startValue,this.endValue)}_isInRange(e){return ve(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return ae(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,a,n){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let o=this.rows[a][n-1];if(!o){const _=this.rows[a-1];o=_&&_[_.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(e,a,n){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let o=this.rows[a][n+1];if(!o){const _=this.rows[a+1];o=_&&_[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(e){return ce(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return ve(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return ae(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return ce(e,this.previewStart,this.previewEnd)}_isInPreview(e){return ve(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){let a;if(pe(e)?a=e:pe(e.parentNode)&&(a=e.parentNode),a){const n=a.getAttribute("data-mat-row"),o=a.getAttribute("data-mat-col");if(n&&o)return this.rows[parseInt(n)][parseInt(o)]}return null}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.SBq),t.Y36(t.R0b))},r.\u0275cmp=t.Xpm({type:r,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"},exportAs:["matCalendarBody"],features:[t.TTD],attrs:_e,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,a){1&e&&(t.YNc(0,fe,3,6,"tr",0),t.YNc(1,$,3,2,"tr",1),t.TgZ(2,"label",2),t._uU(3),t.qZA(),t.TgZ(4,"label",2),t._uU(5),t.qZA()),2&e&&(t.Q6J("ngIf",a._firstRowOffset<a.labelMinRequiredCells),t.xp6(1),t.Q6J("ngForOf",a.rows),t.xp6(1),t.Q6J("id",a._startDateLabelId),t.xp6(1),t.hij(" ",a.startDateAccessibleName,"\n"),t.xp6(1),t.Q6J("id",a._endDateLabelId),t.xp6(1),t.hij(" ",a.endDateAccessibleName,"\n"))},dependencies:[y.mk,y.sg,y.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;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}),r})();function pe(r){return"TD"===r.nodeName}function ae(r,d,e){return null!==e&&d!==e&&r<e&&r===d}function ce(r,d,e){return null!==d&&d!==e&&r>=d&&r===e}function ve(r,d,e,a){return a&&null!==d&&null!==e&&d!==e&&r>=d&&r<=e}class H{constructor(d,e){this.start=d,this.end=e}}let p=(()=>{class r{constructor(e,a){this.selection=e,this._adapter=a,this._selectionChanged=new N.xQ,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,a){const n=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:a,oldValue:n})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return r.\u0275fac=function(e){t.$Z()},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac}),r})(),C=(()=>{class r extends p{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 r(this._adapter);return e.updateSelection(this.selection,this),e}}return r.\u0275fac=function(e){return new(e||r)(t.LFG(D._A))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac}),r})(),c=(()=>{class r extends p{constructor(e){super(new H(null,null),e)}add(e){let{start:a,end:n}=this.selection;null==a?a=e:null==n?n=e:(a=e,n=null),super.updateSelection(new H(a,n),this)}isValid(){const{start:e,end:a}=this.selection;return null==e&&null==a||(null!=e&&null!=a?this._isValidDateInstance(e)&&this._isValidDateInstance(a)&&this._adapter.compareDate(e,a)<=0:(null==e||this._isValidDateInstance(e))&&(null==a||this._isValidDateInstance(a)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const e=new r(this._adapter);return e.updateSelection(this.selection,this),e}}return r.\u0275fac=function(e){return new(e||r)(t.LFG(D._A))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac}),r})();const S={provide:p,deps:[[new t.FiY,new t.tp0,p],D._A],useFactory:function g(r,d){return r||new C(d)}},z={provide:p,deps:[[new t.FiY,new t.tp0,p],D._A],useFactory:function P(r,d){return r||new c(d)}},X=new t.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let ue=(()=>{class r{constructor(e){this._dateAdapter=e}selectionFinished(e,a){let{start:n,end:o}=a;return null==n?n=e:null==o&&e&&this._dateAdapter.compareDate(e,n)>=0?o=e:(n=e,o=null),new H(n,o)}createPreview(e,a){let n=null,o=null;return a.start&&!a.end&&e&&(n=a.start,o=e),new H(n,o)}}return r.\u0275fac=function(e){return new(e||r)(t.LFG(D._A))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac}),r})();const G={provide:X,deps:[[new t.FiY,new t.tp0,X],D._A],useFactory:function K(r,d){return r||new ue(d)}};let Ve=(()=>{class r{constructor(e,a,n,o,_){this._changeDetectorRef=e,this._dateFormats=a,this._dateAdapter=n,this._dir=o,this._rangeStrategy=_,this._rerenderSubscription=L.w.EMPTY,this.selectedChange=new t.vpe,this._userSelection=new t.vpe,this.activeDateChange=new t.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const a=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(a,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof H?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))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,T.O)(null)).subscribe(()=>this._init())}ngOnChanges(e){const a=e.comparisonStart||e.comparisonEnd;a&&!a.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const a=e.value,n=this._getDateFromDayOfMonth(a);let o,_;this._selected instanceof H?(o=this._getDateInCurrentMonth(this._selected.start),_=this._getDateInCurrentMonth(this._selected.end)):o=_=this._getDateInCurrentMonth(this._selected),(o!==a||_!==a)&&this.selectedChange.emit(n),this._userSelection.emit({value:n,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const n=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const a=this._activeDate,n=this._isRtl();switch(e.keyCode){case x.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case x.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case x.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case x.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case x.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case x.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case x.Ku:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case x.VM:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case x.K5:case x.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case x.hY:return void(null!=this._previewEnd&&!(0,x.Vb)(e)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===x.L_||e.keyCode===x.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:a}){if(this._rangeStrategy){const o=this._rangeStrategy.createPreview(a?a.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(o.start),this._previewEnd=this._getCellCompareValue(o.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),a=this._dateAdapter.getDayOfWeekNames("narrow");let o=this._dateAdapter.getDayOfWeekNames("long").map((_,O)=>({long:_,narrow:a[O]}));this._weekdays=o.slice(e).concat(o.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),a=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,o=this._firstWeekOffset;n<e;n++,o++){7==o&&(this._weeks.push([]),o=0);const _=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),O=this._shouldEnableDate(_),he=this._dateAdapter.format(_,this._dateFormats.display.dateA11yLabel),Ce=this.dateClass?this.dateClass(_,"month"):void 0;this._weeks[this._weeks.length-1].push(new de(n+1,a[n],he,O,Ce,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,a){return!(!e||!a||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(a)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(a))}_getCellCompareValue(e){if(e){const a=this._dateAdapter.getYear(e),n=this._dateAdapter.getMonth(e),o=this._dateAdapter.getDate(e);return new Date(a,n,o).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof H?(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)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.sBO),t.Y36(D.sG,8),t.Y36(D._A,8),t.Y36(E.Is,8),t.Y36(X,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-month-view"]],viewQuery:function(e,a){if(1&e&&t.Gf(te,5),2&e){let n;t.iGM(n=t.CRH())&&(a._matCalendarBody=n.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[t.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","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,a){1&e&&(t.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),t.YNc(3,re,5,2,"th",2),t.qZA(),t.TgZ(4,"tr"),t._UZ(5,"th",3),t.qZA()(),t.TgZ(6,"tbody",4),t.NdJ("selectedValueChange",function(o){return a._dateSelected(o)})("activeDateChange",function(o){return a._updateActiveDate(o)})("previewChange",function(o){return a._previewChanged(o)})("keyup",function(o){return a._handleCalendarBodyKeyup(o)})("keydown",function(o){return a._handleCalendarBodyKeydown(o)}),t.qZA()()),2&e&&(t.xp6(3),t.Q6J("ngForOf",a._weekdays),t.xp6(3),t.Q6J("label",a._monthLabel)("rows",a._weeks)("todayValue",a._todayDate)("startValue",a._rangeStart)("endValue",a._rangeEnd)("comparisonStart",a._comparisonRangeStart)("comparisonEnd",a._comparisonRangeEnd)("previewStart",a._previewStart)("previewEnd",a._previewEnd)("isRange",a._isRange)("labelMinRequiredCells",3)("activeCell",a._dateAdapter.getDate(a.activeDate)-1)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName))},dependencies:[y.sg,te],encapsulation:2,changeDetection:0}),r})();const s=24;let l=(()=>{class r{constructor(e,a,n){this._changeDetectorRef=e,this._dateAdapter=a,this._dir=n,this._rerenderSubscription=L.w.EMPTY,this.selectedChange=new t.vpe,this.yearSelected=new t.vpe,this.activeDateChange=new t.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let a=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),m(this._dateAdapter,a,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof H?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))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,T.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const a=this._dateAdapter.getYear(this._activeDate)-A(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let n=0,o=[];n<s;n++)o.push(a+n),4==o.length&&(this._years.push(o.map(_=>this._createCellForYear(_))),o=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const a=e.value,n=this._dateAdapter.createDate(a,0,1),o=this._getDateFromYear(a);this.yearSelected.emit(n),this.selectedChange.emit(o)}_updateActiveDate(e){const n=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const a=this._activeDate,n=this._isRtl();switch(e.keyCode){case x.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case x.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case x.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case x.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case x.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-A(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case x.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s-A(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case x.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-s);break;case x.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:s);break;case x.K5:case x.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===x.L_||e.keyCode===x.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return A(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const a=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,a,1));return this._dateAdapter.createDate(e,a,Math.min(this._dateAdapter.getDate(this.activeDate),n))}_createCellForYear(e){const a=this._dateAdapter.createDate(e,0,1),n=this._dateAdapter.getYearName(a),o=this.dateClass?this.dateClass(a,"multi-year"):void 0;return new de(e,n,n,this._shouldEnableYear(e),o)}_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 n=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(e){if(this._selectedYear=null,e instanceof H){const a=e.start||e.end;a&&(this._selectedYear=this._dateAdapter.getYear(a))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.sBO),t.Y36(D._A,8),t.Y36(E.Is,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-multi-year-view"]],viewQuery:function(e,a){if(1&e&&t.Gf(te,5),2&e){let n;t.iGM(n=t.CRH())&&(a._matCalendarBody=n.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,a){1&e&&(t.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),t._UZ(3,"th",2),t.qZA()(),t.TgZ(4,"tbody",3),t.NdJ("selectedValueChange",function(o){return a._yearSelected(o)})("activeDateChange",function(o){return a._updateActiveDate(o)})("keyup",function(o){return a._handleCalendarBodyKeyup(o)})("keydown",function(o){return a._handleCalendarBodyKeydown(o)}),t.qZA()()),2&e&&(t.xp6(4),t.Q6J("rows",a._years)("todayValue",a._todayYear)("startValue",a._selectedYear)("endValue",a._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._getActiveCell()))},dependencies:[te],encapsulation:2,changeDetection:0}),r})();function m(r,d,e,a,n){const o=r.getYear(d),_=r.getYear(e),O=R(r,a,n);return Math.floor((o-O)/s)===Math.floor((_-O)/s)}function A(r,d,e,a){return function De(r,d){return(r%d+d)%d}(r.getYear(d)-R(r,e,a),s)}function R(r,d,e){let a=0;return e?a=r.getYear(e)-s+1:d&&(a=r.getYear(d)),a}let j=(()=>{class r{constructor(e,a,n,o){this._changeDetectorRef=e,this._dateFormats=a,this._dateAdapter=n,this._dir=o,this._rerenderSubscription=L.w.EMPTY,this.selectedChange=new t.vpe,this.monthSelected=new t.vpe,this.activeDateChange=new t.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let a=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(a)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof H?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))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,T.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const a=e.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(n);const o=this._getDateFromMonth(a);this.selectedChange.emit(o)}_updateActiveDate(e){const n=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const a=this._activeDate,n=this._isRtl();switch(e.keyCode){case x.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case x.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case x.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case x.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case x.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case x.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case x.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case x.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case x.K5:case x.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===x.L_||e.keyCode===x.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(a=>a.map(n=>this._createCellForMonth(n,e[n]))),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 a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),n=this._dateAdapter.getNumDaysInMonth(a);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n))}_createCellForMonth(e,a){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),_=this.dateClass?this.dateClass(n,"year"):void 0;return new de(e,a.toLocaleUpperCase(),o,this._shouldEnableMonth(e),_)}_shouldEnableMonth(e){const a=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(a,e)||this._isYearAndMonthBeforeMinDate(a,e))return!1;if(!this.dateFilter)return!0;for(let o=this._dateAdapter.createDate(a,e,1);this._dateAdapter.getMonth(o)==e;o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(e,a){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return e>n||e===n&&a>o}return!1}_isYearAndMonthBeforeMinDate(e,a){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return e<n||e===n&&a<o}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(e){this._selectedMonth=e instanceof H?this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._getMonthInCurrentYear(e)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.sBO),t.Y36(D.sG,8),t.Y36(D._A,8),t.Y36(E.Is,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-year-view"]],viewQuery:function(e,a){if(1&e&&t.Gf(te,5),2&e){let n;t.iGM(n=t.CRH())&&(a._matCalendarBody=n.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,a){1&e&&(t.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),t._UZ(3,"th",2),t.qZA()(),t.TgZ(4,"tbody",3),t.NdJ("selectedValueChange",function(o){return a._monthSelected(o)})("activeDateChange",function(o){return a._updateActiveDate(o)})("keyup",function(o){return a._handleCalendarBodyKeyup(o)})("keydown",function(o){return a._handleCalendarBodyKeydown(o)}),t.qZA()()),2&e&&(t.xp6(4),t.Q6J("label",a._yearLabel)("rows",a._months)("todayValue",a._todayMonth)("startValue",a._selectedMonth)("endValue",a._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._dateAdapter.getMonth(a.activeDate)))},dependencies:[te],encapsulation:2,changeDetection:0}),r})(),Re=1,Ye=(()=>{class r{constructor(e,a,n,o,_){this._intl=e,this.calendar=a,this._dateAdapter=n,this._dateFormats=o,this._id="mat-calendar-header-"+Re++,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:-s)}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:s)}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,a){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(a)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(a):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(a):m(this._dateAdapter,e,a,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const a=this._dateAdapter.getYear(this.calendar.activeDate)-A(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),n=a+s-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1))]}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(J),t.Y36((0,t.Gpc)(()=>ke)),t.Y36(D._A,8),t.Y36(D.sG,8),t.Y36(t.sBO))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ee,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,a){1&e&&(t.F$t(),t.TgZ(0,"div",0)(1,"div",1)(2,"button",2),t.NdJ("click",function(){return a.currentPeriodClicked()}),t.TgZ(3,"span",3),t._uU(4),t.qZA(),t.O4$(),t.TgZ(5,"svg",4),t._UZ(6,"polygon",5),t.qZA()(),t.kcU(),t._UZ(7,"div",6),t.Hsn(8),t.TgZ(9,"button",7),t.NdJ("click",function(){return a.previousClicked()}),t.qZA(),t.TgZ(10,"button",8),t.NdJ("click",function(){return a.nextClicked()}),t.qZA()()(),t.TgZ(11,"label",9),t._uU(12),t.qZA()),2&e&&(t.xp6(2),t.uIk("aria-label",a.periodButtonLabel)("aria-describedby",a._periodButtonLabelId),t.xp6(2),t.Oqu(a.periodButtonText),t.xp6(1),t.ekj("mat-calendar-invert","month"!==a.calendar.currentView),t.xp6(4),t.Q6J("disabled",!a.previousEnabled()),t.uIk("aria-label",a.prevButtonLabel),t.xp6(1),t.Q6J("disabled",!a.nextEnabled()),t.uIk("aria-label",a.nextButtonLabel),t.xp6(1),t.Q6J("id",a._periodButtonLabelId),t.xp6(1),t.Oqu(a.periodButtonDescription))},dependencies:[B.lW,B.RK],encapsulation:2,changeDetection:0}),r})(),ke=(()=>{class r{constructor(e,a,n,o){this._dateAdapter=a,this._dateFormats=n,this._changeDetectorRef=o,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new t.vpe,this.yearSelected=new t.vpe,this.monthSelected=new t.vpe,this.viewChanged=new t.vpe(!0),this._userSelection=new t.vpe,this.stateChanges=new N.xQ,this._intlChanges=e.changes.subscribe(()=>{o.markForCheck(),this.stateChanges.next()})}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 H?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 a=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),a&&this.viewChanged.emit(a)}ngAfterContentInit(){this._calendarHeaderPortal=new V.C5(this.headerComponent||Ye),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 a=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,n=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,o=a||n||e.dateFilter;if(o&&!o.firstChange){const _=this._getCurrentViewComponent();_&&(this._changeDetectorRef.detectChanges(),_._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const a=e.value;(this.selected instanceof H||a&&!this._dateAdapter.sameDate(a,this.selected))&&this.selectedChange.emit(a),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,a){this.activeDate=e,this.currentView=a}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(J),t.Y36(D._A,8),t.Y36(D.sG,8),t.Y36(t.sBO))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-calendar"]],viewQuery:function(e,a){if(1&e&&(t.Gf(Ve,5),t.Gf(j,5),t.Gf(l,5)),2&e){let n;t.iGM(n=t.CRH())&&(a.monthView=n.first),t.iGM(n=t.CRH())&&(a.yearView=n.first),t.iGM(n=t.CRH())&&(a.multiYearView=n.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"},exportAs:["matCalendar"],features:[t._Bn([S]),t.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","activeDateChange","_userSelection",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","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,a){1&e&&(t.YNc(0,Q,0,0,"ng-template",0),t.TgZ(1,"div",1),t.YNc(2,Ie,1,10,"mat-month-view",2),t.YNc(3,Fe,1,6,"mat-year-view",3),t.YNc(4,we,1,6,"mat-multi-year-view",4),t.qZA()),2&e&&(t.Q6J("cdkPortalOutlet",a._calendarHeaderPortal),t.xp6(1),t.Q6J("ngSwitch",a.currentView),t.xp6(1),t.Q6J("ngSwitchCase","month"),t.xp6(1),t.Q6J("ngSwitchCase","year"),t.xp6(1),t.Q6J("ngSwitchCase","multi-year"))},dependencies:[y.RF,y.n9,i.kH,V.Pl,Ve,j,l],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}),r})();const Ue={transformPanel:(0,M.X$)("transformPanel",[(0,M.eR)("void => enter-dropdown",(0,M.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,M.F4)([(0,M.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,M.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,M.eR)("void => enter-dialog",(0,M.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,M.F4)([(0,M.oB)({opacity:0,transform:"scale(0.7)"}),(0,M.oB)({transform:"none",opacity:1})]))),(0,M.eR)("* => void",(0,M.jt)("100ms linear",(0,M.oB)({opacity:0})))]),fadeInCalendar:(0,M.X$)("fadeInCalendar",[(0,M.SB)("void",(0,M.oB)({opacity:0})),(0,M.SB)("enter",(0,M.oB)({opacity:1})),(0,M.eR)("void => *",(0,M.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let je=0;const ze=new t.OlP("mat-datepicker-scroll-strategy"),et={provide:ze,deps:[k.aV],useFactory:function $e(r){return()=>r.scrollStrategies.reposition()}},tt=(0,D.pj)(class{constructor(r){this._elementRef=r}});let at=(()=>{class r extends tt{constructor(e,a,n,o,_,O){super(e),this._changeDetectorRef=a,this._globalModel=n,this._dateAdapter=o,this._rangeSelectionStrategy=_,this._subscriptions=new L.w,this._animationDone=new N.xQ,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=O.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 a=this._model.selection,n=e.value,o=a instanceof H;if(o&&this._rangeSelectionStrategy){const _=this._rangeSelectionStrategy.selectionFinished(n,a,e.event);this._model.updateSelection(_,this)}else n&&(o||!this._dateAdapter.sameDate(n,a))&&this._model.add(n);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_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,a){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,a&&this._changeDetectorRef.detectChanges()}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(p),t.Y36(D._A),t.Y36(X,8),t.Y36(J))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-datepicker-content"]],viewQuery:function(e,a){if(1&e&&t.Gf(ke,5),2&e){let n;t.iGM(n=t.CRH())&&(a._calendar=n.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,a){1&e&&t.WFA("@transformPanel.start",function(o){return a._handleAnimationEvent(o)})("@transformPanel.done",function(o){return a._handleAnimationEvent(o)}),2&e&&(t.d8E("@transformPanel",a._animationState),t.ekj("mat-datepicker-content-touch",a.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[t.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"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,a){if(1&e&&(t.TgZ(0,"div",0)(1,"mat-calendar",1),t.NdJ("yearSelected",function(o){return a.datepicker._selectYear(o)})("monthSelected",function(o){return a.datepicker._selectMonth(o)})("viewChanged",function(o){return a.datepicker._viewChanged(o)})("_userSelection",function(o){return a._handleUserSelection(o)}),t.qZA(),t.YNc(2,oe,0,0,"ng-template",2),t.TgZ(3,"button",3),t.NdJ("focus",function(){return a._closeButtonFocused=!0})("blur",function(){return a._closeButtonFocused=!1})("click",function(){return a.datepicker.close()}),t._uU(4),t.qZA()()),2&e){let n;t.ekj("mat-datepicker-content-container-with-custom-header",a.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",a._actionsPortal),t.uIk("aria-modal",!0)("aria-labelledby",null!==(n=a._dialogLabelId)&&void 0!==n?n:void 0),t.xp6(1),t.Q6J("id",a.datepicker.id)("ngClass",a.datepicker.panelClass)("startAt",a.datepicker.startAt)("startView",a.datepicker.startView)("minDate",a.datepicker._getMinDate())("maxDate",a.datepicker._getMaxDate())("dateFilter",a.datepicker._getDateFilter())("headerComponent",a.datepicker.calendarHeaderComponent)("selected",a._getSelected())("dateClass",a.datepicker.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName),t.xp6(1),t.Q6J("cdkPortalOutlet",a._actionsPortal),t.xp6(1),t.ekj("cdk-visually-hidden",!a._closeButtonFocused),t.Q6J("color",a.color||"primary"),t.xp6(1),t.Oqu(a._closeButtonText)}},dependencies:[y.mk,B.lW,i.mK,V.Pl,ke],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:[Ue.transformPanel,Ue.fadeInCalendar]},changeDetection:0}),r})(),ye=(()=>{class r{constructor(e,a,n,o,_,O,he){this._overlay=e,this._ngZone=a,this._viewContainerRef=n,this._dateAdapter=_,this._dir=O,this._model=he,this._inputStateChanges=L.w.EMPTY,this._document=(0,t.f3M)(y.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new t.vpe,this.monthSelected=new t.vpe,this.viewChanged=new t.vpe(!0),this.openedStream=new t.vpe,this.closedStream=new t.vpe,this._opened=!1,this.id="mat-datepicker-"+je++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new N.xQ,this._scrollStrategy=o}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,h.Ig)(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const a=(0,h.Ig)(e);a!==this._disabled&&(this._disabled=a,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=(0,h.Ig)(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=(0,h.du)(e)}get opened(){return this._opened}set opened(e){(0,h.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}ngOnChanges(e){const a=e.xPosition||e.yPosition;if(a&&!a.firstChange&&this._overlayRef){const n=this._overlayRef.getConfig().positionStrategy;n instanceof k._G&&(this._setConnectedPositions(n),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(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,b.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,a=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:n,location:o}=this._componentRef;n._startExitAnimation(),n._animationDone.pipe((0,w.q)(1)).subscribe(()=>{const _=this._document.activeElement;e&&(!_||_===this._document.activeElement||o.nativeElement.contains(_))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(a):a()}_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,a=new V.C5(at,this._viewContainerRef),n=this._overlayRef=this._overlay.create(new k.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(n).subscribe(o=>{o&&o.preventDefault(),this.close()}),n.keydownEvents().subscribe(o=>{const _=o.keyCode;(_===x.LH||_===x.JH||_===x.oh||_===x.SV||_===x.Ku||_===x.VM)&&o.preventDefault()}),this._componentRef=n.attach(a),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,w.q)(1)).subscribe(()=>n.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 a="end"===this.xPosition?"end":"start",n="start"===a?"end":"start",o="above"===this.yPosition?"bottom":"top",_="top"===o?"bottom":"top";return e.withPositions([{originX:a,originY:_,overlayX:a,overlayY:o},{originX:a,originY:o,overlayX:a,overlayY:_},{originX:n,originY:_,overlayX:n,overlayY:o},{originX:n,originY:o,overlayX:n,overlayY:_}])}_getCloseStream(e){return(0,Z.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,f.h)(a=>a.keyCode===x.hY&&!(0,x.Vb)(a)||this.datepickerInput&&(0,x.Vb)(a,"altKey")&&a.keyCode===x.LH)))}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(k.aV),t.Y36(t.R0b),t.Y36(t.s_b),t.Y36(ze),t.Y36(D._A,8),t.Y36(E.Is,8),t.Y36(p))},r.\u0275dir=t.lG2({type:r,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:[t.TTD]}),r})(),it=(()=>{class r extends ye{}return r.\u0275fac=function(){let d;return function(a){return(d||(d=t.n5z(r)))(a||r)}}(),r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[t._Bn([S,{provide:ye,useExisting:r}]),t.qOj],decls:0,vars:0,template:function(e,a){},encapsulation:2,changeDetection:0}),r})();class Le{constructor(d,e){this.target=d,this.targetElement=e,this.value=this.target.value}}let Ke=(()=>{class r{constructor(e,a,n){this._elementRef=e,this._dateAdapter=a,this._dateFormats=n,this.dateChange=new t.vpe,this.dateInput=new t.vpe,this.stateChanges=new N.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=L.w.EMPTY,this._localeSubscription=L.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=o=>{const _=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value));return!_||this._matchesFilter(_)?null:{matDatepickerFilter:!0}},this._minValidator=o=>{const _=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value)),O=this._getMinDate();return!O||!_||this._dateAdapter.compareDate(O,_)<=0?null:{matDatepickerMin:{min:O,actual:_}}},this._maxValidator=o=>{const _=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value)),O=this._getMaxDate();return!O||!_||this._dateAdapter.compareDate(O,_)>=0?null:{matDatepickerMax:{max:O,actual:_}}},this._lastValueValid=!1,this._localeSubscription=a.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}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 a=(0,h.Ig)(e),n=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0)),a&&this._isInitialized&&n.blur&&n.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(a=>{if(this._shouldHandleChangeEvent(a)){const n=this._getValueFromModel(a.selection);this._lastValueValid=this._isValidValue(n),this._cvaOnChange(n),this._onTouched(),this._formatValue(n),this.dateInput.emit(new Le(this,this._elementRef.nativeElement)),this.dateChange.emit(new Le(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){Ge(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){e.altKey&&e.keyCode===x.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const a=this._lastValueValid;let n=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n);const o=!this._dateAdapter.sameDate(n,this.value);!n||o?this._cvaOnChange(n):(e&&!this.value&&this._cvaOnChange(n),a!==this._lastValueValid&&this._validatorOnChange()),o&&(this._assignValue(n),this.dateInput.emit(new Le(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Le(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 a=this._getDateFilter();return!a||a(e)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.SBq),t.Y36(D._A,8),t.Y36(D.sG,8))},r.\u0275dir=t.lG2({type:r,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t.TTD]}),r})();function Ge(r,d){const e=Object.keys(r);for(let a of e){const{previousValue:n,currentValue:o}=r[a];if(!d.isDateInstance(n)||!d.isDateInstance(o))return!0;if(!d.sameDate(n,o))return!0}return!1}const nt={provide:I.JU,useExisting:(0,t.Gpc)(()=>Ne),multi:!0},rt={provide:I.Cf,useExisting:(0,t.Gpc)(()=>Ne),multi:!0};let Ne=(()=>{class r extends Ke{constructor(e,a,n,o){super(e,a,n),this._formField=o,this._closedSubscription=L.w.EMPTY,this._validator=I.kI.compose(super._getValidators())}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 a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._min)||(this._min=a,this._validatorOnChange())}get max(){return this._max}set max(e){const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._max)||(this._max=a,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const a=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==a&&this._validatorOnChange()}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 r.\u0275fac=function(e){return new(e||r)(t.Y36(t.SBq),t.Y36(D._A,8),t.Y36(D.sG,8),t.Y36(U.G_,8))},r.\u0275dir=t.lG2({type:r,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,a){1&e&&t.NdJ("input",function(o){return a._onInput(o.target.value)})("change",function(){return a._onChange()})("blur",function(){return a._onBlur()})("keydown",function(o){return a._onKeydown(o)}),2&e&&(t.Ikx("disabled",a.disabled),t.uIk("aria-haspopup",a._datepicker?"dialog":null)("aria-owns",(null==a._datepicker?null:a._datepicker.opened)&&a._datepicker.id||null)("min",a.min?a._dateAdapter.toIso8601(a.min):null)("max",a.max?a._dateAdapter.toIso8601(a.max):null)("data-mat-calendar",a._datepicker?a._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[t._Bn([nt,rt,{provide:W.Jk,useExisting:r}]),t.qOj]}),r})(),qe=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=t.lG2({type:r,selectors:[["","matDatepickerToggleIcon",""]]}),r})(),ot=(()=>{class r{constructor(e,a,n){this._intl=e,this._changeDetectorRef=a,this._stateChanges=L.w.EMPTY;const o=Number(n);this.tabIndex=o||0===o?o:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=(0,h.Ig)(e)}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,F.of)(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,F.of)(),n=this.datepicker?(0,Z.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,F.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Z.T)(this._intl.changes,e,a,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(J),t.Y36(t.sBO),t.$8M("tabindex"))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,a,n){if(1&e&&t.Suo(n,qe,5),2&e){let o;t.iGM(o=t.CRH())&&(a._customIcon=o.first)}},viewQuery:function(e,a){if(1&e&&t.Gf(xe,5),2&e){let n;t.iGM(n=t.CRH())&&(a._button=n.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,a){1&e&&t.NdJ("click",function(o){return a._open(o)}),2&e&&(t.uIk("tabindex",null)("data-mat-calendar",a.datepicker?a.datepicker.id:null),t.ekj("mat-datepicker-toggle-active",a.datepicker&&a.datepicker.opened)("mat-accent",a.datepicker&&"accent"===a.datepicker.color)("mat-warn",a.datepicker&&"warn"===a.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[t.TTD],ngContentSelectors:le,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",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",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,a){1&e&&(t.F$t(Ee),t.TgZ(0,"button",0,1),t.YNc(2,Se,2,0,"svg",2),t.Hsn(3),t.qZA()),2&e&&(t.Q6J("disabled",a.disabled)("disableRipple",a.disableRipple),t.uIk("aria-haspopup",a.datepicker?"dialog":null)("aria-label",a.ariaLabel||a._intl.openCalendarLabel)("tabindex",a.disabled?-1:a.tabIndex),t.xp6(2),t.Q6J("ngIf",!a._customIcon))},dependencies:[y.O5,B.RK],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),r})();function lt(r){return He(r,!0)}function We(r){return r.nodeType===Node.ELEMENT_NODE}function He(r,d){if(We(r)&&d){const a=(r.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((n,o)=>{const _=document.getElementById(o);return _&&n.push(_),n},[]);if(a.length)return a.map(n=>He(n,!1)).join(" ")}if(We(r)){const e=r.getAttribute("aria-label")?.trim();if(e)return e}if(function dt(r){return"INPUT"===r.nodeName}(r)||function st(r){return"TEXTAREA"===r.nodeName}(r)){if(r.labels?.length)return Array.from(r.labels).map(n=>He(n,!1)).join(" ");const e=r.getAttribute("placeholder")?.trim();if(e)return e;const a=r.getAttribute("title")?.trim();if(a)return a}return(r.textContent||"").replace(/\s+/g," ").trim()}const Be=new t.OlP("MAT_DATE_RANGE_INPUT_PARENT"),Qe=(0,D.FD)((()=>{class r extends Ke{constructor(e,a,n,o,_,O,he,Ce){super(a,he,Ce),this._rangeInput=e,this._elementRef=a,this._defaultErrorStateMatcher=n,this._injector=o,this._parentForm=_,this._parentFormGroup=O,this._dir=(0,t.f3M)(E.Is,{optional:!0})}ngOnInit(){const e=this._injector.get(I.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()}_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 lt(this._elementRef.nativeElement)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(Be),t.Y36(t.SBq),t.Y36(D.rD),t.Y36(t.zs3),t.Y36(I.F,8),t.Y36(I.sg,8),t.Y36(D._A,8),t.Y36(D.sG,8))},r.\u0275dir=t.lG2({type:r,features:[t.qOj]}),r})());let Je=(()=>{class r extends Qe{constructor(e,a,n,o,_,O,he,Ce){super(e,a,n,o,_,O,he,Ce),this._startValidator=Ze=>{const Me=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ze.value)),Ae=this._model?this._model.selection.end:null;return!Me||!Ae||this._dateAdapter.compareDate(Me,Ae)<=0?null:{matStartDateInvalid:{end:Ae,actual:Me}}},this._validator=I.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 a=new H(e,this._model.selection.end);this._model.updateSelection(a,this)}}_formatValue(e){super._formatValue(e),this._rangeInput._handleChildValueChange()}getMirrorValue(){const e=this._elementRef.nativeElement,a=e.value;return a.length>0?a:e.placeholder}_onKeydown(e){const a=this._rangeInput._endInput,n=this._elementRef.nativeElement,o="rtl"!==this._dir?.value;(e.keyCode===x.SV&&o||e.keyCode===x.oh&&!o)&&n.selectionStart===n.value.length&&n.selectionEnd===n.value.length?(e.preventDefault(),a._elementRef.nativeElement.setSelectionRange(0,0),a.focus()):super._onKeydown(e)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(Be),t.Y36(t.SBq),t.Y36(D.rD),t.Y36(t.zs3),t.Y36(I.F,8),t.Y36(I.sg,8),t.Y36(D._A,8),t.Y36(D.sG,8))},r.\u0275dir=t.lG2({type:r,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,a){1&e&&t.NdJ("input",function(o){return a._onInput(o.target.value)})("change",function(){return a._onChange()})("keydown",function(o){return a._onKeydown(o)})("blur",function(){return a._onBlur()}),2&e&&(t.Ikx("disabled",a.disabled),t.uIk("aria-haspopup",a._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==a._rangeInput.rangePicker?null:a._rangeInput.rangePicker.opened)&&a._rangeInput.rangePicker.id||null)("min",a._getMinDate()?a._dateAdapter.toIso8601(a._getMinDate()):null)("max",a._getMaxDate()?a._dateAdapter.toIso8601(a._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t._Bn([{provide:I.JU,useExisting:r,multi:!0},{provide:I.Cf,useExisting:r,multi:!0}]),t.qOj]}),r})(),Xe=(()=>{class r extends Qe{constructor(e,a,n,o,_,O,he,Ce){super(e,a,n,o,_,O,he,Ce),this._endValidator=Ze=>{const Me=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ze.value)),Ae=this._model?this._model.selection.start:null;return!Me||!Ae||this._dateAdapter.compareDate(Me,Ae)>=0?null:{matEndDateInvalid:{start:Ae,actual:Me}}},this._validator=I.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 a=new H(this._model.selection.start,e);this._model.updateSelection(a,this)}}_onKeydown(e){const a=this._rangeInput._startInput,n=this._elementRef.nativeElement,o="rtl"!==this._dir?.value;if(e.keyCode!==x.ZH||n.value)if((e.keyCode===x.oh&&o||e.keyCode===x.SV&&!o)&&0===n.selectionStart&&0===n.selectionEnd){e.preventDefault();const _=a._elementRef.nativeElement.value.length;a._elementRef.nativeElement.setSelectionRange(_,_),a.focus()}else super._onKeydown(e);else a.focus()}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(Be),t.Y36(t.SBq),t.Y36(D.rD),t.Y36(t.zs3),t.Y36(I.F,8),t.Y36(I.sg,8),t.Y36(D._A,8),t.Y36(D.sG,8))},r.\u0275dir=t.lG2({type:r,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,a){1&e&&t.NdJ("input",function(o){return a._onInput(o.target.value)})("change",function(){return a._onChange()})("keydown",function(o){return a._onKeydown(o)})("blur",function(){return a._onBlur()}),2&e&&(t.Ikx("disabled",a.disabled),t.uIk("aria-haspopup",a._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==a._rangeInput.rangePicker?null:a._rangeInput.rangePicker.opened)&&a._rangeInput.rangePicker.id||null)("min",a._getMinDate()?a._dateAdapter.toIso8601(a._getMinDate()):null)("max",a._getMaxDate()?a._dateAdapter.toIso8601(a._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t._Bn([{provide:I.JU,useExisting:r,multi:!0},{provide:I.Cf,useExisting:r,multi:!0}]),t.qOj]}),r})(),ht=0,mt=(()=>{class r{constructor(e,a,n,o,_){if(this._changeDetectorRef=e,this._elementRef=a,this._dateAdapter=o,this._formField=_,this._closedSubscription=L.w.EMPTY,this.id="mat-date-range-input-"+ht++,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 N.xQ,_?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){const O=a.nativeElement.classList;O.add("mat-mdc-input-element"),O.add("mat-mdc-form-field-input-control")}this.ngControl=n}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const e=this._startInput?._getPlaceholder()||"",a=this._endInput?._getPlaceholder()||"";return e||a?`${e} ${this.separator} ${a}`:""}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}set required(e){this._required=(0,h.Ig)(e)}get dateFilter(){return this._dateFilter}set dateFilter(e){const a=this._startInput,n=this._endInput,o=a&&a._matchesFilter(a.value),_=n&&n._matchesFilter(a.value);this._dateFilter=e,a&&a._matchesFilter(a.value)!==o&&a._validatorOnChange(),n&&n._matchesFilter(n.value)!==_&&n._validatorOnChange()}get min(){return this._min}set min(e){const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._min)||(this._min=a,this._revalidate())}get max(){return this._max}set max(e){const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._max)||(this._max=a,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(e){const a=(0,h.Ig)(e);a!==this._groupDisabled&&(this._groupDisabled=a,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(),a=!!this._endInput&&this._endInput.isEmpty();return e&&a}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,Z.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(e){Ge(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(){return this._startInput?this._startInput.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)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(I.gN,10),t.Y36(D._A,8),t.Y36(U.G_,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-date-range-input"]],contentQueries:function(e,a,n){if(1&e&&(t.Suo(n,Je,5),t.Suo(n,Xe,5)),2&e){let o;t.iGM(o=t.CRH())&&(a._startInput=o.first),t.iGM(o=t.CRH())&&(a._endInput=o.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(e,a){2&e&&(t.uIk("id",a.id)("aria-labelledby",a._getAriaLabelledby())("aria-describedby",a._ariaDescribedBy)("data-mat-calendar",a.rangePicker?a.rangePicker.id:null),t.ekj("mat-date-range-input-hide-placeholders",a._shouldHidePlaceholders())("mat-date-range-input-required",a.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[t._Bn([{provide:U.Eo,useExisting:r},{provide:Be,useExisting:r}]),t.TTD],ngContentSelectors:ie,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(e,a){1&e&&(t.F$t(be),t.TgZ(0,"div",0),t.NdJ("cdkFocusChange",function(o){return a._updateFocus(o)}),t.TgZ(1,"div",1),t.Hsn(2),t.TgZ(3,"span",2),t._uU(4),t.qZA()(),t.TgZ(5,"span",3),t._uU(6),t.qZA(),t.TgZ(7,"div",4),t.Hsn(8,1),t.qZA()()),2&e&&(t.xp6(4),t.Oqu(a._getInputMirrorValue()),t.xp6(1),t.ekj("mat-date-range-input-separator-hidden",a._shouldHideSeparator()),t.xp6(1),t.Oqu(a.separator))},dependencies:[i.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-inner{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%}.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-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0}),r})(),pt=(()=>{class r extends ye{_forwardContentValues(e){super._forwardContentValues(e);const a=this.datepickerInput;a&&(e.comparisonStart=a.comparisonStart,e.comparisonEnd=a.comparisonEnd,e.startDateAccessibleName=a._getStartDateAccessibleName(),e.endDateAccessibleName=a._getEndDateAccessibleName())}}return r.\u0275fac=function(){let d;return function(a){return(d||(d=t.n5z(r)))(a||r)}}(),r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[t._Bn([z,G,{provide:ye,useExisting:r}]),t.qOj],decls:0,vars:0,template:function(e,a){},encapsulation:2,changeDetection:0}),r})(),ut=(()=>{class r{constructor(e){this._datepicker=e}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(ye))},r.\u0275dir=t.lG2({type:r,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(e,a){1&e&&t.NdJ("click",function(){return a._applySelection()})}}),r})(),_t=(()=>{class r{constructor(e){this._datepicker=e}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(ye))},r.\u0275dir=t.lG2({type:r,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(e,a){1&e&&t.NdJ("click",function(){return a._datepicker.close()})}}),r})(),ft=(()=>{class r{constructor(e,a){this._datepicker=e,this._viewContainerRef=a}ngAfterViewInit(){this._portal=new V.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 r.\u0275fac=function(e){return new(e||r)(t.Y36(ye),t.Y36(t.s_b))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(e,a){if(1&e&&t.Gf(t.Rgc,5),2&e){let n;t.iGM(n=t.CRH())&&(a._template=n.first)}},ngContentSelectors:ee,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(e,a){1&e&&(t.F$t(),t.YNc(0,ne,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}),r})(),gt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({providers:[J,et],imports:[y.ez,B.ot,k.U8,i.rt,V.eL,D.BQ,Y.ZD]}),r})()},9549:(Te,q,u)=>{u.d(q,{Eo:()=>p,G_:()=>S,KE:()=>Oe,R9:()=>de,TO:()=>le,bx:()=>ie,hX:()=>xe,lN:()=>Ve,qo:()=>Pe});var i=u(4650),k=u(445),V=u(3353),y=u(8929),t=u(6787),B=u(7625),Y=u(6895),D=u(1281),N=u(7340),L=u(9643),Z=u(3238);const F=["matFormFieldNotchedOutline",""],x=["*"],E=["textField"],w=["iconPrefixContainer"],T=["textPrefixContainer"];function f(s,v){1&s&&i._UZ(0,"span",19)}function h(s,v){if(1&s){const l=i.EpF();i.TgZ(0,"label",17),i.NdJ("cdkObserveContent",function(){i.CHM(l);const A=i.oxw(2);return i.KtG(A._refreshOutlineNotchWidth())}),i.Hsn(1,1),i.YNc(2,f,1,0,"span",18),i.qZA()}if(2&s){const l=i.oxw(2);i.Q6J("floating",l._shouldLabelFloat())("cdkObserveContentDisabled",!l._hasOutline())("id",l._labelId),i.uIk("for",l._control.id)("aria-owns",l._control.id),i.xp6(2),i.Q6J("ngIf",!l.hideRequiredMarker&&l._control.required)}}function b(s,v){if(1&s&&i.YNc(0,h,3,6,"label",16),2&s){const l=i.oxw();i.Q6J("ngIf",l._hasFloatingLabel())}}function M(s,v){1&s&&i._UZ(0,"div",20)}function I(s,v){}function U(s,v){if(1&s&&i.YNc(0,I,0,0,"ng-template",22),2&s){i.oxw(2);const l=i.MAs(1);i.Q6J("ngTemplateOutlet",l)}}function W(s,v){if(1&s&&(i.TgZ(0,"div",21),i.YNc(1,U,1,1,"ng-template",9),i.qZA()),2&s){const l=i.oxw();i.Q6J("matFormFieldNotchedOutlineOpen",l._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",l._labelWidth),i.xp6(1),i.Q6J("ngIf",!l._forceDisplayInfixLabel())}}function _e(s,v){1&s&&(i.TgZ(0,"div",23,24),i.Hsn(2,2),i.qZA())}function fe(s,v){1&s&&(i.TgZ(0,"div",25,26),i.Hsn(2,3),i.qZA())}function ge(s,v){}function me(s,v){if(1&s&&i.YNc(0,ge,0,0,"ng-template",22),2&s){i.oxw();const l=i.MAs(1);i.Q6J("ngTemplateOutlet",l)}}function $(s,v){1&s&&(i.TgZ(0,"div",27),i.Hsn(1,4),i.qZA())}function re(s,v){1&s&&(i.TgZ(0,"div",28),i.Hsn(1,5),i.qZA())}function ee(s,v){1&s&&i._UZ(0,"div",29)}function Q(s,v){if(1&s&&(i.TgZ(0,"div",30),i.Hsn(1,6),i.qZA()),2&s){const l=i.oxw();i.Q6J("@transitionMessages",l._subscriptAnimationState)}}function Ie(s,v){if(1&s&&(i.TgZ(0,"mat-hint",34),i._uU(1),i.qZA()),2&s){const l=i.oxw(2);i.Q6J("id",l._hintLabelId),i.xp6(1),i.Oqu(l.hintLabel)}}function Fe(s,v){if(1&s&&(i.TgZ(0,"div",31),i.YNc(1,Ie,2,2,"mat-hint",32),i.Hsn(2,7),i._UZ(3,"div",33),i.Hsn(4,8),i.qZA()),2&s){const l=i.oxw();i.Q6J("@transitionMessages",l._subscriptAnimationState),i.xp6(1),i.Q6J("ngIf",l.hintLabel)}}const we=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],oe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let xe=(()=>{class s{}return s.\u0275fac=function(l){return new(l||s)},s.\u0275dir=i.lG2({type:s,selectors:[["mat-label"]]}),s})(),Se=0;const Ee=new i.OlP("MatError");let le=(()=>{class s{constructor(l,m){this.id="mat-mdc-error-"+Se++,l||m.nativeElement.setAttribute("aria-live","polite")}}return s.\u0275fac=function(l){return new(l||s)(i.$8M("aria-live"),i.Y36(i.SBq))},s.\u0275dir=i.lG2({type:s,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(l,m){2&l&&i.Ikx("id",m.id)},inputs:{id:"id"},features:[i._Bn([{provide:Ee,useExisting:s}])]}),s})(),be=0,ie=(()=>{class s{constructor(){this.align="start",this.id="mat-mdc-hint-"+be++}}return s.\u0275fac=function(l){return new(l||s)},s.\u0275dir=i.lG2({type:s,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(l,m){2&l&&(i.Ikx("id",m.id),i.uIk("align",null),i.ekj("mat-mdc-form-field-hint-end","end"===m.align))},inputs:{align:"align",id:"id"}}),s})();const ne=new i.OlP("MatPrefix");let Pe=(()=>{class s{constructor(l){this._isText=!1,this._isText=l.nativeElement.hasAttribute("matTextPrefix")}}return s.\u0275fac=function(l){return new(l||s)(i.Y36(i.SBq))},s.\u0275dir=i.lG2({type:s,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],features:[i._Bn([{provide:ne,useExisting:s}])]}),s})();const J=new i.OlP("MatSuffix");let de=(()=>{class s{constructor(l){this._isText=!1,this._isText=l.nativeElement.hasAttribute("matTextSuffix")}}return s.\u0275fac=function(l){return new(l||s)(i.Y36(i.SBq))},s.\u0275dir=i.lG2({type:s,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],features:[i._Bn([{provide:J,useExisting:s}])]}),s})(),se=(()=>{class s{constructor(l){this._elementRef=l,this.floating=!1}getWidth(){return function te(s){if(null!==s.offsetParent)return s.scrollWidth;const l=s.cloneNode(!0);l.style.setProperty("position","absolute"),l.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(l);const m=l.scrollWidth;return l.remove(),m}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return s.\u0275fac=function(l){return new(l||s)(i.Y36(i.SBq))},s.\u0275dir=i.lG2({type:s,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(l,m){2&l&&i.ekj("mdc-floating-label--float-above",m.floating)},inputs:{floating:"floating"}}),s})();const pe="mdc-line-ripple--active",ae="mdc-line-ripple--deactivating";let ce=(()=>{class s{constructor(l,m){this._elementRef=l,this._handleTransitionEnd=A=>{const R=this._elementRef.nativeElement.classList,De=R.contains(ae);"opacity"===A.propertyName&&De&&R.remove(pe,ae)},m.runOutsideAngular(()=>{l.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const l=this._elementRef.nativeElement.classList;l.remove(ae),l.add(pe)}deactivate(){this._elementRef.nativeElement.classList.add(ae)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return s.\u0275fac=function(l){return new(l||s)(i.Y36(i.SBq),i.Y36(i.R0b))},s.\u0275dir=i.lG2({type:s,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),s})(),ve=(()=>{class s{constructor(l,m){this._elementRef=l,this._ngZone=m,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const l=this._elementRef.nativeElement.querySelector(".mdc-floating-label");l?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(l.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>l.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return s.\u0275fac=function(l){return new(l||s)(i.Y36(i.SBq),i.Y36(i.R0b))},s.\u0275cmp=i.Xpm({type:s,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(l,m){2&l&&i.ekj("mdc-notched-outline--notched",m.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:F,ngContentSelectors:x,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(l,m){1&l&&(i.F$t(),i._UZ(0,"div",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i._UZ(3,"div",2)),2&l&&(i.xp6(1),i.Udp("width",m._getNotchWidth()))},encapsulation:2,changeDetection:0}),s})();const H={transitionMessages:(0,N.X$)("transitionMessages",[(0,N.SB)("enter",(0,N.oB)({opacity:1,transform:"translateY(0%)"})),(0,N.eR)("void => enter",[(0,N.oB)({opacity:0,transform:"translateY(-5px)"}),(0,N.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let p=(()=>{class s{}return s.\u0275fac=function(l){return new(l||s)},s.\u0275dir=i.lG2({type:s}),s})();const S=new i.OlP("MatFormField"),P=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let z=0;const X="fill",K="fixed";let Oe=(()=>{class s{constructor(l,m,A,R,De,j,Re,Ye){this._elementRef=l,this._changeDetectorRef=m,this._ngZone=A,this._dir=R,this._platform=De,this._defaults=j,this._animationMode=Re,this._document=Ye,this._hideRequiredMarker=!1,this.color="primary",this._appearance=X,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+z++,this._hintLabelId="mat-mdc-hint-"+z++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new y.xQ,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,j&&(j.appearance&&(this.appearance=j.appearance),this._hideRequiredMarker=Boolean(j?.hideRequiredMarker),j.color&&(this.color=j.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(l){this._hideRequiredMarker=(0,D.Ig)(l)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(l){l!==this._floatLabel&&(this._floatLabel=l,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(l){const m=this._appearance;this._appearance=l||this._defaults?.appearance||X,"outline"===this._appearance&&this._appearance!==m&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||K}set subscriptSizing(l){this._subscriptSizing=l||this._defaults?.subscriptSizing||K}get hintLabel(){return this._hintLabel}set hintLabel(l){this._hintLabel=l,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(l){this._explicitFormFieldControl=l}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),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 l=this._control;l.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${l.controlType}`),l.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),l.ngControl&&l.ngControl.valueChanges&&l.ngControl.valueChanges.pipe((0,B.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(l=>!l._isText),this._hasTextPrefix=!!this._prefixChildren.find(l=>l._isText),this._hasIconSuffix=!!this._suffixChildren.find(l=>!l._isText),this._hasTextSuffix=!!this._suffixChildren.find(l=>l._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,t.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,B.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,B.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(l){const m=this._control?this._control.ngControl:null;return m&&m[l]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let l=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&l.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const m=this._hintChildren?this._hintChildren.find(R=>"start"===R.align):null,A=this._hintChildren?this._hintChildren.find(R=>"end"===R.align):null;m?l.push(m.id):this._hintLabel&&l.push(this._hintLabelId),A&&l.push(A.id)}else this._errorChildren&&l.push(...this._errorChildren.map(m=>m.id));this._control.setDescribedByIds(l)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const l=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(l.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const m=this._iconPrefixContainer?.nativeElement,A=this._textPrefixContainer?.nativeElement,R=m?.getBoundingClientRect().width??0,De=A?.getBoundingClientRect().width??0;l.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${R+De}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const l=this._elementRef.nativeElement;if(l.getRootNode){const m=l.getRootNode();return m&&m!==l}return document.documentElement.contains(l)}}return s.\u0275fac=function(l){return new(l||s)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(k.Is),i.Y36(V.t4),i.Y36(P,8),i.Y36(i.QbO,8),i.Y36(Y.K0))},s.\u0275cmp=i.Xpm({type:s,selectors:[["mat-form-field"]],contentQueries:function(l,m,A){if(1&l&&(i.Suo(A,xe,5),i.Suo(A,xe,7),i.Suo(A,p,5),i.Suo(A,ne,5),i.Suo(A,J,5),i.Suo(A,Ee,5),i.Suo(A,ie,5)),2&l){let R;i.iGM(R=i.CRH())&&(m._labelChildNonStatic=R.first),i.iGM(R=i.CRH())&&(m._labelChildStatic=R.first),i.iGM(R=i.CRH())&&(m._formFieldControl=R.first),i.iGM(R=i.CRH())&&(m._prefixChildren=R),i.iGM(R=i.CRH())&&(m._suffixChildren=R),i.iGM(R=i.CRH())&&(m._errorChildren=R),i.iGM(R=i.CRH())&&(m._hintChildren=R)}},viewQuery:function(l,m){if(1&l&&(i.Gf(E,5),i.Gf(w,5),i.Gf(T,5),i.Gf(se,5),i.Gf(ve,5),i.Gf(ce,5)),2&l){let A;i.iGM(A=i.CRH())&&(m._textField=A.first),i.iGM(A=i.CRH())&&(m._iconPrefixContainer=A.first),i.iGM(A=i.CRH())&&(m._textPrefixContainer=A.first),i.iGM(A=i.CRH())&&(m._floatingLabel=A.first),i.iGM(A=i.CRH())&&(m._notchedOutline=A.first),i.iGM(A=i.CRH())&&(m._lineRipple=A.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(l,m){2&l&&i.ekj("mat-mdc-form-field-label-always-float",m._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",m._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",m._hasIconSuffix)("mat-form-field-invalid",m._control.errorState)("mat-form-field-disabled",m._control.disabled)("mat-form-field-autofilled",m._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===m._animationMode)("mat-form-field-appearance-fill","fill"==m.appearance)("mat-form-field-appearance-outline","outline"==m.appearance)("mat-form-field-hide-placeholder",m._hasFloatingLabel()&&!m._shouldLabelFloat())("mat-focused",m._control.focused)("mat-primary","accent"!==m.color&&"warn"!==m.color)("mat-accent","accent"===m.color)("mat-warn","warn"===m.color)("ng-untouched",m._shouldForward("untouched"))("ng-touched",m._shouldForward("touched"))("ng-pristine",m._shouldForward("pristine"))("ng-dirty",m._shouldForward("dirty"))("ng-valid",m._shouldForward("valid"))("ng-invalid",m._shouldForward("invalid"))("ng-pending",m._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[i._Bn([{provide:S,useExisting:s}])],ngContentSelectors:oe,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","matFormFieldNotchedOutlineLabelWidth",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","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["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","matFormFieldNotchedOutlineLabelWidth"],[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(l,m){1&l&&(i.F$t(we),i.YNc(0,b,1,1,"ng-template",null,0,i.W1O),i.TgZ(2,"div",1,2),i.NdJ("click",function(R){return m._control.onContainerClick&&m._control.onContainerClick(R)}),i.YNc(4,M,1,0,"div",3),i.TgZ(5,"div",4),i.YNc(6,W,2,3,"div",5),i.YNc(7,_e,3,0,"div",6),i.YNc(8,fe,3,0,"div",7),i.TgZ(9,"div",8),i.YNc(10,me,1,1,"ng-template",9),i.Hsn(11),i.qZA(),i.YNc(12,$,2,0,"div",10),i.YNc(13,re,2,0,"div",11),i.qZA(),i.YNc(14,ee,1,0,"div",12),i.qZA(),i.TgZ(15,"div",13),i.YNc(16,Q,2,1,"div",14),i.YNc(17,Fe,5,2,"div",15),i.qZA()),2&l&&(i.xp6(2),i.ekj("mdc-text-field--filled",!m._hasOutline())("mdc-text-field--outlined",m._hasOutline())("mdc-text-field--no-label",!m._hasFloatingLabel())("mdc-text-field--disabled",m._control.disabled)("mdc-text-field--invalid",m._control.errorState),i.xp6(2),i.Q6J("ngIf",!m._hasOutline()&&!m._control.disabled),i.xp6(2),i.Q6J("ngIf",m._hasOutline()),i.xp6(1),i.Q6J("ngIf",m._hasIconPrefix),i.xp6(1),i.Q6J("ngIf",m._hasTextPrefix),i.xp6(2),i.Q6J("ngIf",!m._hasOutline()||m._forceDisplayInfixLabel()),i.xp6(2),i.Q6J("ngIf",m._hasTextSuffix),i.xp6(1),i.Q6J("ngIf",m._hasIconSuffix),i.xp6(1),i.Q6J("ngIf",!m._hasOutline()),i.xp6(1),i.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===m.subscriptSizing),i.Q6J("ngSwitch",m._getDisplayedMessages()),i.xp6(1),i.Q6J("ngSwitchCase","error"),i.xp6(1),i.Q6J("ngSwitchCase","hint"))},dependencies:[Y.O5,Y.tP,Y.RF,Y.n9,L.wD,ie,se,ve,ce],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::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[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%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.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;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.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}.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}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{--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}.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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-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(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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)}'],encapsulation:2,data:{animation:[H.transitionMessages]},changeDetection:0}),s})(),Ve=(()=>{class s{}return s.\u0275fac=function(l){return new(l||s)},s.\u0275mod=i.oAB({type:s}),s.\u0275inj=i.cJS({imports:[Z.BQ,Y.ez,L.Q8,Z.BQ]}),s})()},284:(Te,q,u)=>{u.d(q,{Jk:()=>L,Nt:()=>E,c:()=>w});var i=u(1281),k=u(3353),V=u(9349),y=u(4650),t=u(4006),B=u(3238),Y=u(9549),D=u(8929);const L=new y.OlP("MAT_INPUT_VALUE_ACCESSOR"),Z=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let F=0;const x=(0,B.FD)(class{constructor(T,f,h,b){this._defaultErrorStateMatcher=T,this._parentForm=f,this._parentFormGroup=h,this.ngControl=b,this.stateChanges=new D.xQ}});let E=(()=>{class T extends x{constructor(h,b,M,I,U,W,_e,fe,ge,me){super(W,I,U,M),this._elementRef=h,this._platform=b,this._autofillMonitor=fe,this._formField=me,this._uid="mat-input-"+F++,this.focused=!1,this.stateChanges=new D.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(ee=>(0,k.qK)().has(ee)),this._iOSKeyupListener=ee=>{const Q=ee.target;!Q.value&&0===Q.selectionStart&&0===Q.selectionEnd&&(Q.setSelectionRange(1,1),Q.setSelectionRange(0,0))};const $=this._elementRef.nativeElement,re=$.nodeName.toLowerCase();this._inputValueAccessor=_e||$,this._previousNativeValue=this.value,this.id=this.id,b.IOS&&ge.runOutsideAngular(()=>{h.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===re,this._isTextarea="textarea"===re,this._isInFormField=!!me,this._isNativeSelect&&(this.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(h){this._disabled=(0,i.Ig)(h),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(h){this._id=h||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(t.kI.required)??!1}set required(h){this._required=(0,i.Ig)(h)}get type(){return this._type}set type(h){this._type=h||"text",this._validateType(),!this._isTextarea&&(0,k.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(h){h!==this.value&&(this._inputValueAccessor.value=h,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(h){this._readonly=(0,i.Ig)(h)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(h=>{this.autofilled=h.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(h){this._elementRef.nativeElement.focus(h)}_focusChanged(h){h!==this.focused&&(this.focused=h,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const h=this._elementRef.nativeElement.value;this._previousNativeValue!==h&&(this._previousNativeValue=h,this.stateChanges.next())}_dirtyCheckPlaceholder(){const h=this._getPlaceholder();if(h!==this._previousPlaceholder){const b=this._elementRef.nativeElement;this._previousPlaceholder=h,h?b.setAttribute("placeholder",h):b.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Z.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let h=this._elementRef.nativeElement.validity;return h&&h.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const h=this._elementRef.nativeElement,b=h.options[0];return this.focused||h.multiple||!this.empty||!!(h.selectedIndex>-1&&b&&b.label)}return this.focused||!this.empty}setDescribedByIds(h){h.length?this._elementRef.nativeElement.setAttribute("aria-describedby",h.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const h=this._elementRef.nativeElement;return this._isNativeSelect&&(h.multiple||h.size>1)}}return T.\u0275fac=function(h){return new(h||T)(y.Y36(y.SBq),y.Y36(k.t4),y.Y36(t.a5,10),y.Y36(t.F,8),y.Y36(t.sg,8),y.Y36(B.rD),y.Y36(L,10),y.Y36(V.Lq),y.Y36(y.R0b),y.Y36(Y.G_,8))},T.\u0275dir=y.lG2({type:T,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(h,b){1&h&&y.NdJ("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){return b._onInput()}),2&h&&(y.Ikx("id",b.id)("disabled",b.disabled)("required",b.required),y.uIk("name",b.name||null)("readonly",b.readonly&&!b._isNativeSelect||null)("aria-invalid",b.empty&&b.required?null:b.errorState)("aria-required",b.required)("id",b.id),y.ekj("mat-input-server",b._isServer)("mat-mdc-form-field-textarea-control",b._isInFormField&&b._isTextarea)("mat-mdc-form-field-input-control",b._isInFormField)("mdc-text-field__input",b._isInFormField)("mat-mdc-native-select-inline",b._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:[y._Bn([{provide:Y.Eo,useExisting:T}]),y.qOj,y.TTD]}),T})(),w=(()=>{class T{}return T.\u0275fac=function(h){return new(h||T)},T.\u0275mod=y.oAB({type:T}),T.\u0275inj=y.cJS({imports:[B.BQ,Y.lN,Y.lN,V.Ky,B.BQ]}),T})()}}]);