1"use strict";(self.webpackChunkgudsho=self.webpackChunkgudsho||[]).push([[9500],{9500:(ie,R,l)=>{l.d(R,{X:()=>a});var w=l(6895),v=l(5080),C=l(9602),_=l(4650);let a=(()=>{class g{}return g.\u0275fac=function(h){return new(h||g)},g.\u0275mod=_.\u0275\u0275defineNgModule({type:g}),g.\u0275inj=_.\u0275\u0275defineInjector({imports:[w.ez,v.m,C.FA]}),g})()},9602:(ie,R,l)=>{l.d(R,{FA:()=>ze,Mq:()=>Be,hl:()=>G,nW:()=>Ue});var w=l(2687),v=l(8184),C=l(9316),_=l(6895),a=l(4650),g=l(9101),F=l(7376),h=l(3238),b=l(7579),f=l(727),T=l(6451),P=l(9646),d=l(9521),I=l(445),O=l(5698),Y=l(8675),ne=l(9300),y=l(1281),re=l(3353),u=l(7340),B=l(4006),se=l(9549),oe=l(4144);const de=["mat-calendar-body",""];function le(r,s){if(1&r&&(a.\u0275\u0275elementStart(0,"tr",2)(1,"td",3),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd()()),2&r){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275styleProp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),a.\u0275\u0275attribute("colspan",e.numCols),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1(" ",e.label," ")}}function ce(r,s){if(1&r&&(a.\u0275\u0275elementStart(0,"td",3),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&r){const e=a.\u0275\u0275nextContext(2);a.\u0275\u0275styleProp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),a.\u0275\u0275attribute("colspan",e._firstRowOffset),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function he(r,s){if(1&r){const e=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"td",7)(1,"button",8),a.\u0275\u0275listener("click",function(i){const o=a.\u0275\u0275restoreView(e).$implicit,c=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(c._cellClicked(o,i))})("focus",function(i){const o=a.\u0275\u0275restoreView(e).$implicit,c=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(c._emitActiveDateChange(o,i))}),a.\u0275\u0275elementStart(2,"div",9),a.\u0275\u0275text(3),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(4,"div",10),a.\u0275\u0275elementEnd()()}if(2&r){const e=s.$implicit,t=s.index,i=a.\u0275\u0275nextContext().index,n=a.\u0275\u0275nextContext();a.\u0275\u0275styleProp("width",n._cellWidth)("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),a.\u0275\u0275attribute("data-mat-row",i)("data-mat-col",t),a.\u0275\u0275advance(1),a.\u0275\u0275classProp("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",n._isActiveCell(i,t))("mat-calendar-body-range-start",n._isRangeStart(e.compareValue))("mat-calendar-body-range-end",n._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",n._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",n._isComparisonBridgeStart(e.compareValue,i,t))("mat-calendar-body-comparison-bridge-end",n._isComparisonBridgeEnd(e.compareValue,i,t))("mat-calendar-body-comparison-start",n._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",n._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",n._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",n._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",n._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",n._isInPreview(e.compareValue)),a.\u0275\u0275property("ngClass",e.cssClasses)("tabindex",n._isActiveCell(i,t)?0:-1),a.\u0275\u0275attribute("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",n._isSelected(e.compareValue))("aria-current",n.todayValue===e.compareValue?"date":null),a.\u0275\u0275advance(1),a.\u0275\u0275classProp("mat-calendar-body-selected",n._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",n._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",n.todayValue===e.compareValue),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1(" ",e.displayValue," ")}}function ue(r,s){if(1&r&&(a.\u0275\u0275elementStart(0,"tr",4),a.\u0275\u0275template(1,ce,2,6,"td",5),a.\u0275\u0275template(2,he,5,47,"td",6),a.\u0275\u0275elementEnd()),2&r){const e=s.$implicit,t=s.index,i=a.\u0275\u0275nextContext();
1a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",0===t&&i._firstRowOffset),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngForOf",e)}}function pe(r,s){if(1&r&&(a.\u0275\u0275elementStart(0,"th",5)(1,"span",6),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"span",7),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()),2&r){const e=s.$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(e.long),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(e.narrow)}}const _e=["*"];function me(r,s){}function ge(r,s){if(1&r){const e=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"mat-month-view",5),a.\u0275\u0275listener("activeDateChange",function(i){a.\u0275\u0275restoreView(e);const n=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(n.activeDate=i)})("_userSelection",function(i){a.\u0275\u0275restoreView(e);const n=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(n._dateSelected(i))}),a.\u0275\u0275elementEnd()}if(2&r){const e=a.\u0275\u0275nextContext();a.\u0275\u0275property("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function fe(r,s){if(1&r){const e=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"mat-year-view",6),a.\u0275\u0275listener("activeDateChange",function(i){a.\u0275\u0275restoreView(e);const n=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(n.activeDate=i)})("monthSelected",function(i){a.\u0275\u0275restoreView(e);const n=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(n._monthSelectedInYearView(i))})("selectedChange",function(i){a.\u0275\u0275restoreView(e);const n=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(n._goToDateInView(i,"month"))}),a.\u0275\u0275elementEnd()}if(2&r){const e=a.\u0275\u0275nextContext();a.\u0275\u0275property("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function De(r,s){if(1&r){const e=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"mat-multi-year-view",7),a.\u0275\u0275listener("activeDateChange",function(i){a.\u0275\u0275restoreView(e);const n=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(n.activeDate=i)})("yearSelected",function(i){a.\u0275\u0275restoreView(e);const n=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(n._yearSelectedInMultiYearView(i))})("selectedChange",function(i){a.\u0275\u0275restoreView(e);const n=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(n._goToDateInView(i,"year"))}),a.\u0275\u0275elementEnd()}if(2&r){const e=a.\u0275\u0275nextContext();a.\u0275\u0275property("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function ve(r,s){}const Ce=["button"];function ye(r,s){1&r&&(a.\u0275\u0275namespaceSVG(),a.\u0275\u0275elementStart(0,"svg",3),a.\u0275\u0275element(1,"path",4),a.\u0275\u0275elementEnd())}const be=[[["","matDatepickerToggleIcon",""]]],Me=["[matDatepickerToggleIcon]"];let k=(()=>{class r{constructor(){this.changes=new b.x,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,t){return`${e} \u2013 ${t}`}formatYearRangeLabel(e,t){return`${e} to ${t}`}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=a.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();class L{constructor(s,e,t,i,n={},o=s,c){this.value=s,this.displayValue=e,this.ariaLabel=t,this.enabled=i,this.cssClasse
1s=n,this.compareValue=o,this.rawValue=c}}let M=(()=>{class r{constructor(e,t){this._elementRef=e,this._ngZone=t,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new a.EventEmitter,this.previewChange=new a.EventEmitter,this.activeDateChange=new a.EventEmitter,this._enterHandler=i=>{if(this._skipNextFocus&&"focus"===i.type)this._skipNextFocus=!1;else if(i.target&&this.isRange){const n=this._getCellFromElement(i.target);n&&this._ngZone.run(()=>this.previewChange.emit({value:n.enabled?n:null,event:i}))}},this._leaveHandler=i=>{null!==this.previewEnd&&this.isRange&&i.target&&this._getCellFromElement(i.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:i}))},t.runOutsideAngular(()=>{const i=e.nativeElement;i.addEventListener("mouseenter",this._enterHandler,!0),i.addEventListener("focus",this._enterHandler,!0),i.addEventListener("mouseleave",this._leaveHandler,!0),i.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_emitActiveDateChange(e,t){e.enabled&&this.activeDateChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const t=e.numCols,{rows:i,numCols:n}=this;(e.rows||t)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),(t||!this._cellWidth)&&(this._cellWidth=100/n+"%")}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,t){let i=e*this.numCols+t;return e&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,O.q)(1)).subscribe(()=>{setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return j(e,this.startValue,this.endValue)}_isRangeEnd(e){return N(e,this.startValue,this.endValue)}_isInRange(e){return H(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return j(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,i){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let n=this.rows[t][i-1];if(!n){const o=this.rows[t-1];n=o&&o[o.length-1]}return n&&!this._isRangeEnd(n.compareValue)}_isComparisonBridgeEnd(e,t,i){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let n=this.rows[t][i+1];if(!n){const o=this.rows[t+1];n=o&&o[0]}return n&&!this._isRangeStart(n.compareValue)}_isComparisonEnd(e){return N(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return H(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return j(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return N(e,this.previewStart,this.previewEnd)}_isInPreview(e){return H(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(W(e)?t=e:W(e.parentNode)&&(t=e.parentNode),t){const i=t.getAttribute("data-mat-row"),n=t.getAttribute("data-mat-col");if(i&&n)return this.rows[parseInt(i)][parseInt(n)]}return null}}return r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone))},r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numC
1ols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange"},exportAs:["matCalendarBody"],features:[a.\u0275\u0275NgOnChangesFeature],attrs:de,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["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,t){1&e&&(a.\u0275\u0275template(0,le,3,6,"tr",0),a.\u0275\u0275template(1,ue,3,2,"tr",1)),2&e&&(a.\u0275\u0275property("ngIf",t._firstRowOffset<t.labelMinRequiredCells),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngForOf",t.rows))},dependencies:[_.mk,_.sg,_.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-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-e
1nd.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 W(r){return"TD"===r.nodeName}function j(r,s,e){return null!==e&&s!==e&&r<e&&r===s}function N(r,s,e){return null!==s&&s!==e&&r>=s&&r===e}function H(r,s,e,t){return t&&null!==s&&null!==e&&s!==e&&r>=s&&r<=e}class p{constructor(s,e){this.start=s,this.end=e}}let D=(()=>{class r{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new b.x,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){const i=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:i})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return r.\u0275fac=function(e){a.\u0275\u0275invalidFactory()},r.\u0275prov=a.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac}),r})(),Ae=(()=>{class r extends D{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)(a.\u0275\u0275inject(h._A))},r.\u0275prov=a.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac}),r})();const $={provide:D,deps:[[new a.Optional,new a.SkipSelf,D],h._A],useFactory:function ke(r,s){return r||new Ae(s)}},V=new a.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let Q=(()=>
1{class r{constructor(e,t,i,n,o){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=i,this._dir=n,this._rangeStrategy=o,this._rerenderSubscription=f.w0.EMPTY,this.selectedChange=new a.EventEmitter,this._userSelection=new a.EventEmitter,this.activeDateChange=new a.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof p?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,Y.O)(null)).subscribe(()=>this._init())}ngOnChanges(e){const t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,i=this._getDateFromDayOfMonth(t);let n,o;this._selected instanceof p?(n=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):n=o=this._getDateInCurrentMonth(this._selected),(n!==t||o!==t)&&this.selectedChange.emit(i),this._userSelection.emit({value:i,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const i=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case d.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case d.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case d.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case d.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case d.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case d.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case d.Ku:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case d.VM:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case d.K5:case d.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case d.hY:return void(null!=this._previewEnd&&!(0,d.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(t,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===d.L_||e.keyCode===d.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._initWeek
1days(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.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(),t=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((o,c)=>({long:o,narrow:t[c]}));this._weekdays=n.slice(e).concat(n.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let i=0,n=this._firstWeekOffset;i<e;i++,n++){7==n&&(this._weeks.push([]),n=0);const o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),i+1),c=this._shouldEnableDate(o),A=this._dateAdapter.format(o,this._dateFormats.display.dateA11yLabel),x=this.dateClass?this.dateClass(o,"month"):void 0;this._weeks[this._weeks.length-1].push(new L(i+1,t[i],A,c,x,this._getCellCompareValue(o),o))}}_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,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),i=this._dateAdapter.getMonth(e),n=this._dateAdapter.getDate(e);return new Date(t,i,n).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof p?(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)(a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(h.sG,8),a.\u0275\u0275directiveInject(h._A,8),a.\u0275\u0275directiveInject(I.Is,8),a.\u0275\u0275directiveInject(V,8))},r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&a.\u0275\u0275viewQuery(M,5),2&e){let i;a.\u0275\u0275queryRefresh(i=a.\u0275\u0275loadQuery())&&(t._matCalendarBody=i.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[a.\u0275\u0275NgOnChangesFeature],decls:7,vars:13,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","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,t){1&e&&(a.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),a.\u0275\u0275template(3,pe,5,2,"th",2),a.\u0275\u0275elementEnd(),a.\u
10275\u0275elementStart(4,"tr"),a.\u0275\u0275element(5,"th",3),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(6,"tbody",4),a.\u0275\u0275listener("selectedValueChange",function(n){return t._dateSelected(n)})("activeDateChange",function(n){return t._updateActiveDate(n)})("previewChange",function(n){return t._previewChanged(n)})("keyup",function(n){return t._handleCalendarBodyKeyup(n)})("keydown",function(n){return t._handleCalendarBodyKeydown(n)}),a.\u0275\u0275elementEnd()()),2&e&&(a.\u0275\u0275advance(3),a.\u0275\u0275property("ngForOf",t._weekdays),a.\u0275\u0275advance(3),a.\u0275\u0275property("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},dependencies:[_.sg,M],encapsulation:2,changeDetection:0}),r})();const m=24;let X=(()=>{class r{constructor(e,t,i){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=i,this._rerenderSubscription=f.w0.EMPTY,this.selectedChange=new a.EventEmitter,this.yearSelected=new a.EventEmitter,this.activeDateChange=new a.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),q(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof p?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,Y.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-E(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let i=0,n=[];i<m;i++)n.push(t+i),4==n.length&&(this._years.push(n.map(o=>this._createCellForYear(o))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value,i=this._dateAdapter.createDate(t,0,1),n=this._getDateFromYear(t);this.yearSelected.emit(i),this.selectedChange.emit(n)}_updateActiveDate(e){const i=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case d.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case d.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case d.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case d.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case d.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-E(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case d.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,m-E(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case d.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*-m:-m);break;case d.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*m:m);break;case d.K5:case d.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===d.L_||e.keyCode===d.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return E(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const t=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));return this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),i))}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1
1),i=this._dateAdapter.getYearName(t),n=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new L(e,i,i,this._shouldEnableYear(e),n)}_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 i=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(i)==e;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(e){if(this._selectedYear=null,e instanceof p){const t=e.start||e.end;t&&(this._selectedYear=this._dateAdapter.getYear(t))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}}return r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(h._A,8),a.\u0275\u0275directiveInject(I.Is,8))},r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["mat-multi-year-view"]],viewQuery:function(e,t){if(1&e&&a.\u0275\u0275viewQuery(M,5),2&e){let i;a.\u0275\u0275queryRefresh(i=a.\u0275\u0275loadQuery())&&(t._matCalendarBody=i.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,t){1&e&&(a.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),a.\u0275\u0275element(3,"th",2),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(4,"tbody",3),a.\u0275\u0275listener("selectedValueChange",function(n){return t._yearSelected(n)})("activeDateChange",function(n){return t._updateActiveDate(n)})("keyup",function(n){return t._handleCalendarBodyKeyup(n)})("keydown",function(n){return t._handleCalendarBodyKeydown(n)}),a.\u0275\u0275elementEnd()()),2&e&&(a.\u0275\u0275advance(4),a.\u0275\u0275property("rows",t._years)("todayValue",t._todayYear)("startValue",t._selectedYear)("endValue",t._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._getActiveCell()))},dependencies:[M],encapsulation:2,changeDetection:0}),r})();function q(r,s,e,t,i){const n=r.getYear(s),o=r.getYear(e),c=Z(r,t,i);return Math.floor((n-c)/m)===Math.floor((o-c)/m)}function E(r,s,e,t){return function Se(r,s){return(r%s+s)%s}(r.getYear(s)-Z(r,e,t),m)}function Z(r,s,e){let t=0;return e?t=r.getYear(e)-m+1:s&&(t=r.getYear(s)),t}let J=(()=>{class r{constructor(e,t,i,n){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=f.w0.EMPTY,this.selectedChange=new a.EventEmitter,this.monthSelected=new a.EventEmitter,this.activeDateChange=new a.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof p?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,Y.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(i);const n=this._getDateFromMonth(t);this.selectedChange.emit(n)}_updateActiveDate(e){const i=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case d.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case d.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case d.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case d.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case d.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case d.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case d.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case d.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case d.K5:case d.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===d.L_||e.keyCode===d.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(t=>t.map(i=>this._createCellForMonth(i,e[i]))),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 t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),i=this._dateAdapter.getNumDaysInMonth(t);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i))}_createCellForMonth(e,t){const i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),n=this._dateAdapter.format(i,this._dateFormats.display.monthYearA11yLabel),o=this.dateClass?this.dateClass(i,"year"):void 0;return new L(e,t.toLocaleUpperCase(),n,this._shouldEnableMonth(e),o)}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const i=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return e>i||e===i&&t>n}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return e<i||e===i&&t<n}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(e){this._selectedMonth=e instanceof p?this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._getMonthInCurrentYear(e)}}return r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(h.sG,8),a.\u0275\u0275directiveInject(h._A,8),a.\u0275\u0275directiveInject(I.Is,8))},r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["mat-year-view"]],viewQuery:function(e,t){if(1&e&&a.\u0275\u0275viewQuery(M,5),2&e){let i;a.\u0275\u0275queryRefresh(i=a.\u0275\u0275loadQuery())&&(t._matCalendarBody=i.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,t){1&e&&(a.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),a.\u0275\u0275element(3,"th",2),a.\u0275\u0275elementEnd()(),a.\u
10275\u0275elementStart(4,"tbody",3),a.\u0275\u0275listener("selectedValueChange",function(n){return t._monthSelected(n)})("activeDateChange",function(n){return t._updateActiveDate(n)})("keyup",function(n){return t._handleCalendarBodyKeyup(n)})("keydown",function(n){return t._handleCalendarBodyKeydown(n)}),a.\u0275\u0275elementEnd()()),2&e&&(a.\u0275\u0275advance(4),a.\u0275\u0275property("label",t._yearLabel)("rows",t._months)("todayValue",t._todayMonth)("startValue",t._selectedMonth)("endValue",t._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._dateAdapter.getMonth(t.activeDate)))},dependencies:[M],encapsulation:2,changeDetection:0}),r})(),xe=0,Re=(()=>{class r{constructor(e,t,i,n,o){this._intl=e,this.calendar=t,this._dateAdapter=i,this._dateFormats=n,this._buttonDescriptionId="mat-calendar-button-"+xe++,this.calendar.stateChanges.subscribe(()=>o.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-E(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),i=t+m-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),o=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1));return this._intl.formatYearRange(n,o)}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:-m)}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:m)}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,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):q(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(k),a.\u0275\u0275directiveInject((0,a.forwardRef)(()=>z)),a.\u0275\u0275directiveInject(h._A,8),a.\u0275\u0275directiveInject(h.sG,8),a.\u0275\u0275directiveInject(a.ChangeDetectorRef))},r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:_e,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",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"]],template:function(e,t){1&e&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),a.\u0275\u0275listener("click",function(){return t.currentPeriodClicked()}),a.\u0275\u0275elementStart(3,"span"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u
10275\u0275namespaceSVG(),a.\u0275\u0275elementStart(5,"svg",3),a.\u0275\u0275element(6,"polygon",4),a.\u0275\u0275elementEnd()(),a.\u0275\u0275namespaceHTML(),a.\u0275\u0275element(7,"div",5),a.\u0275\u0275projection(8),a.\u0275\u0275elementStart(9,"button",6),a.\u0275\u0275listener("click",function(){return t.previousClicked()}),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(10,"button",7),a.\u0275\u0275listener("click",function(){return t.nextClicked()}),a.\u0275\u0275elementEnd()()()),2&e&&(a.\u0275\u0275advance(2),a.\u0275\u0275attribute("aria-label",t.periodButtonLabel)("aria-describedby",t._buttonDescriptionId),a.\u0275\u0275advance(1),a.\u0275\u0275attribute("id",t._buttonDescriptionId),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(t.periodButtonText),a.\u0275\u0275advance(1),a.\u0275\u0275classProp("mat-calendar-invert","month"!==t.calendar.currentView),a.\u0275\u0275advance(4),a.\u0275\u0275property("disabled",!t.previousEnabled()),a.\u0275\u0275attribute("aria-label",t.prevButtonLabel),a.\u0275\u0275advance(1),a.\u0275\u0275property("disabled",!t.nextEnabled()),a.\u0275\u0275attribute("aria-label",t.nextButtonLabel))},dependencies:[g.lW],encapsulation:2,changeDetection:0}),r})(),z=(()=>{class r{constructor(e,t,i,n){this._dateAdapter=t,this._dateFormats=i,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.EventEmitter,this.yearSelected=new a.EventEmitter,this.monthSelected=new a.EventEmitter,this.viewChanged=new a.EventEmitter(!0),this._userSelection=new a.EventEmitter,this.stateChanges=new b.x,this._intlChanges=e.changes.subscribe(()=>{n.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 p?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 t=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),t&&this.viewChanged.emit(t)}ngAfterContentInit(){this._calendarHeaderPortal=new C.C5(this.headerComponent||Re),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 t=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,i=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,n=t||i||e.dateFilter;if(n&&!n.firstChange){const o=this._getCurrentViewComponent();o&&(this._changeDetectorRef.detectChanges(),o._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const t=e.value;(this.selected instanceof p||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(k),a.\u0275\u0275directiveInject(h._A,8),a.\u0275\u0275directiveInject(h.sG,8),a.\u0275\u0275directiveInject(a.ChangeDetectorRef))},r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(a.\u0275\u0275viewQuery(Q,5),a.\u
10275\u0275viewQuery(J,5),a.\u0275\u0275viewQuery(X,5)),2&e){let i;a.\u0275\u0275queryRefresh(i=a.\u0275\u0275loadQuery())&&(t.monthView=i.first),a.\u0275\u0275queryRefresh(i=a.\u0275\u0275loadQuery())&&(t.yearView=i.first),a.\u0275\u0275queryRefresh(i=a.\u0275\u0275loadQuery())&&(t.multiYearView=i.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"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[a.\u0275\u0275ProvidersFeature([$]),a.\u0275\u0275NgOnChangesFeature],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","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","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,t){1&e&&(a.\u0275\u0275template(0,me,0,0,"ng-template",0),a.\u0275\u0275elementStart(1,"div",1),a.\u0275\u0275template(2,ge,1,8,"mat-month-view",2),a.\u0275\u0275template(3,fe,1,6,"mat-year-view",3),a.\u0275\u0275template(4,De,1,6,"mat-multi-year-view",4),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275property("cdkPortalOutlet",t._calendarHeaderPortal),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngSwitch",t.currentView),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngSwitchCase","month"),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngSwitchCase","year"),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngSwitchCase","multi-year"))},dependencies:[_.RF,_.n9,w.kH,C.Pl,Q,J,X],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;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.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:""}'],encapsulation:2,changeDetection:0}),r})();const ee={transformPanel:(0,u.X$)("transformPanel",[(0,u.eR)("void => enter-dropdown",(0,u.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,u.F4)([(0,u.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,u.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,u.eR)("void => enter-dialog",(0,u.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,u.F4)([(0,u.oB)({opacity:0,transform:"scale(0.7)"}),(0,u.oB)({transform:"none",opacity:1})]))),(0,u.eR)("* => void",(0,u.jt)("100ms linear",(0,u.oB)({opacity:0}
1)))]),fadeInCalendar:(0,u.X$)("fadeInCalendar",[(0,u.SB)("void",(0,u.oB)({opacity:0})),(0,u.SB)("enter",(0,u.oB)({opacity:1})),(0,u.eR)("void => *",(0,u.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Fe=0;const te=new a.InjectionToken("mat-datepicker-scroll-strategy"),Pe={provide:te,deps:[v.aV],useFactory:function Te(r){return()=>r.scrollStrategies.reposition()}},Oe=(0,h.pj)(class{constructor(r){this._elementRef=r}});let Ye=(()=>{class r extends Oe{constructor(e,t,i,n,o,c){super(e),this._changeDetectorRef=t,this._globalModel=i,this._dateAdapter=n,this._rangeSelectionStrategy=o,this._subscriptions=new f.w0,this._animationDone=new b.x,this._actionsPortal=null,this._closeButtonText=c.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 t=this._model.selection,i=e.value,n=t instanceof p;if(n&&this._rangeSelectionStrategy){const o=this._rangeSelectionStrategy.selectionFinished(i,t,e.event);this._model.updateSelection(o,this)}else i&&(n||!this._dateAdapter.sameDate(i,t))&&this._model.add(i);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,t){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,t&&this._changeDetectorRef.detectChanges()}}return r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(D),a.\u0275\u0275directiveInject(h._A),a.\u0275\u0275directiveInject(V,8),a.\u0275\u0275directiveInject(k))},r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&a.\u0275\u0275viewQuery(z,5),2&e){let i;a.\u0275\u0275queryRefresh(i=a.\u0275\u0275loadQuery())&&(t._calendar=i.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&a.\u0275\u0275syntheticHostListener("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(a.\u0275\u0275syntheticHostProperty("@transformPanel",t._animationState),a.\u0275\u0275classProp("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[a.\u0275\u0275InheritDefinitionFeature],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),a.\u0275\u0275listener("yearSelected",function(n){return t.datepicker._selectYear(n)})("monthSelected",function(n){return t.datepicker._selectMonth(n)})("viewChanged",function(n){return t.datepicker._viewChanged(n)})("_userSelection",function(n){return t._handleUserSelection(n)}),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(2,ve,0,0,"ng-template",2),a.\u0275\u0275elementStart(3,"button",3),a.\u0275\u0275listener("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()),2&e){let i;a.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",t.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",t._actionsPortal),a.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(i=t._dialogLabelId)&&void 0!==i?i:void 0),a.\u0275\u0275advance(1),a.\u
10275\u0275property("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter"),a.\u0275\u0275advance(1),a.\u0275\u0275property("cdkPortalOutlet",t._actionsPortal),a.\u0275\u0275advance(1),a.\u0275\u0275classProp("cdk-visually-hidden",!t._closeButtonFocused),a.\u0275\u0275property("color",t.color||"primary"),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(t._closeButtonText)}},dependencies:[_.mk,g.lW,w.mK,C.Pl,z],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:[ee.transformPanel,ee.fadeInCalendar]},changeDetection:0}),r})(),ae=(()=>{class r{constructor(e,t,i,n,o,c,A){this._overlay=e,this._ngZone=t,this._viewContainerRef=i,this._dateAdapter=o,this._dir=c,this._model=A,this._inputStateChanges=f.w0.EMPTY,this._document=(0,a.inject)(_.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new a.EventEmitter,this.monthSelected=new a.EventEmitter,this.viewChanged=new a.EventEmitter(!0),this.openedStream=new a.EventEmitter,this.closedStream
1=new a.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+Fe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new b.x,this._scrollStrategy=n}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,y.Ig)(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const t=(0,y.Ig)(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=(0,y.Ig)(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=(0,y.du)(e)}get opened(){return this._opened}set opened(e){(0,y.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 t=e.xPosition||e.yPosition;if(t&&!t.firstChange&&this._overlayRef){const i=this._overlayRef.getConfig().positionStrategy;i instanceof v._G&&(this._setConnectedPositions(i),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._focusedElementBeforeOpen=(0,re.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;const e=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:i,location:n}=this._componentRef;i._startExitAnimation(),i._animationDone.pipe((0,O.q)(1)).subscribe(()=>{const o=this._document.activeElement;e&&(!o||o===this._document.activeElement||n.nativeElement.contains(o))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(t):t()}_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,t=new C.C5(Ye,this._viewContainerRef),i=this._overlayRef=this._overlay.create(new v.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(i).subscribe(n=>{n&&n.preventDefault(),this.close()}),i.keydownEvents().subscribe(n=>{const o=n.keyCode;(o===d.LH||o===d.JH||o===d.oh||o===d.SV||o===d.Ku||o===d.VM)&&n.preventDefault()}),this._componentRef=i.attach(t),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,O.q)(1)).subscribe(()=>i.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 t="end"===this.xPosition?"end":"start",i="start"===t?"end":"start",n="above"===this.yPosition?"bottom":"top",o="top"===n?"bottom":"top";return e.withPositions([{originX:t,originY:o,overlayX:t,overlayY:n},{originX:t,originY:n,overlayX:t,overlayY:o},{originX:i,originY:o,overlayX:i,overlayY:n},{originX:i,originY:n,overlayX:i,overlayY:o}])}_getCloseStream(e){return(0,T.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,ne.h)(t=>t.keyCode===d.hY&&!(0,d.Vb)(t)||this.datepickerInput&&(0,d.Vb)(t,"altKey")&&t.keyCode===d.LH)))}}return r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(v.aV),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(te),a.\u0275\u0275directiveInject(h._A,8),a.\u0275\u0275directiveInject(I.Is,8),a.\u0275\u0275directiveInject(D))},r.\u0275dir=a.\u0275\u0275defineDirective({type:r,inputs:{calendarHeaderComponent:"
1calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[a.\u0275\u0275NgOnChangesFeature]}),r})(),Be=(()=>{class r extends ae{}return r.\u0275fac=function(){let s;return function(t){return(s||(s=a.\u0275\u0275getInheritedFactory(r)))(t||r)}}(),r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[a.\u0275\u0275ProvidersFeature([$,{provide:ae,useExisting:r}]),a.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),r})();class S{constructor(s,e){this.target=s,this.targetElement=e,this.value=this.target.value}}let Le=(()=>{class r{constructor(e,t,i){this._elementRef=e,this._dateAdapter=t,this._dateFormats=i,this.dateChange=new a.EventEmitter,this.dateInput=new a.EventEmitter,this.stateChanges=new b.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=f.w0.EMPTY,this._localeSubscription=f.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=n=>{const o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n.value));return!o||this._matchesFilter(o)?null:{matDatepickerFilter:!0}},this._minValidator=n=>{const o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n.value)),c=this._getMinDate();return!c||!o||this._dateAdapter.compareDate(c,o)<=0?null:{matDatepickerMin:{min:c,actual:o}}},this._maxValidator=n=>{const o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n.value)),c=this._getMaxDate();return!c||!o||this._dateAdapter.compareDate(c,o)>=0?null:{matDatepickerMax:{max:c,actual:o}}},this._lastValueValid=!1,this._localeSubscription=t.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 t=(0,y.Ig)(e),i=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&i.blur&&i.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(t=>{if(this._shouldHandleChangeEvent(t)){const i=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(i),this._cvaOnChange(i),this._onTouched(),this._formatValue(i),this.dateInput.emit(new S(this,this._elementRef.nativeElement)),this.dateChange.emit(new S(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function je(r,s){const e=Object.keys(r);for(let t of e){const{previousValue:i,currentValue:n}=r[t];if(!s.isDateInstance(i)||!s.isDateInstance(n))return!0;if(!s.sameDate(i,n))return!0}return!1})(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===d.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let i=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i);const n=!this._dateAdapter.sameDate(i,this.value);!i||n?this._cvaOnChange(i):(e&&!this.value&&this._cvaOnChange(i),t!==this._lastValueValid&&this._val
1idatorOnChange()),n&&(this._assignValue(i),this.dateInput.emit(new S(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new S(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 t=this._getDateFilter();return!t||t(e)}}return r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(h._A,8),a.\u0275\u0275directiveInject(h.sG,8))},r.\u0275dir=a.\u0275\u0275defineDirective({type:r,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a.\u0275\u0275NgOnChangesFeature]}),r})();const Ne={provide:B.NG_VALUE_ACCESSOR,useExisting:(0,a.forwardRef)(()=>G),multi:!0},He={provide:B.NG_VALIDATORS,useExisting:(0,a.forwardRef)(()=>G),multi:!0};let G=(()=>{class r extends Le{constructor(e,t,i,n){super(e,t,i),this._formField=n,this._closedSubscription=f.w0.EMPTY,this._validator=B.Validators.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 t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const t=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==t&&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)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(h._A,8),a.\u0275\u0275directiveInject(h.sG,8),a.\u0275\u0275directiveInject(se.G_,8))},r.\u0275dir=a.\u0275\u0275defineDirective({type:r,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&a.\u0275\u0275listener("input",function(n){return t._onInput(n.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(n){return t._onKeydown(n)}),2&e&&(a.\u0275\u0275hostProperty("disabled",t.disabled),a.\u0275\u0275attribute("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]}
1,exportAs:["matDatepickerInput"],features:[a.\u0275\u0275ProvidersFeature([Ne,He,{provide:oe.Jk,useExisting:r}]),a.\u0275\u0275InheritDefinitionFeature]}),r})(),Ke=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=a.\u0275\u0275defineDirective({type:r,selectors:[["","matDatepickerToggleIcon",""]]}),r})(),Ue=(()=>{class r{constructor(e,t,i){this._intl=e,this._changeDetectorRef=t,this._stateChanges=f.w0.EMPTY;const n=Number(i);this.tabIndex=n||0===n?n:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=(0,y.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,P.of)(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,P.of)(),i=this.datepicker?(0,T.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,P.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,T.T)(this._intl.changes,e,t,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(k),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275injectAttribute("tabindex"))},r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,i){if(1&e&&a.\u0275\u0275contentQuery(i,Ke,5),2&e){let n;a.\u0275\u0275queryRefresh(n=a.\u0275\u0275loadQuery())&&(t._customIcon=n.first)}},viewQuery:function(e,t){if(1&e&&a.\u0275\u0275viewQuery(Ce,5),2&e){let i;a.\u0275\u0275queryRefresh(i=a.\u0275\u0275loadQuery())&&(t._button=i.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&a.\u0275\u0275listener("click",function(n){return t._open(n)}),2&e&&(a.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",t.datepicker?t.datepicker.id:null),a.\u0275\u0275classProp("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[a.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Me,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,t){1&e&&(a.\u0275\u0275projectionDef(be),a.\u0275\u0275elementStart(0,"button",0,1),a.\u0275\u0275template(2,ye,2,0,"svg",2),a.\u0275\u0275projection(3),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275property("disabled",t.disabled)("disableRipple",t.disableRipple),a.\u0275\u0275attribute("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t.ariaLabel||t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",!t._customIcon))},dependencies:[_.O5,g.lW],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),r})(),ze=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=a.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=a.\u0275\u0275defineInjector({providers:[k,Pe],imports:[_.ez,g.ot,v.U8,w.rt,C.eL,h.BQ,F.ZD]}),r})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.