1import{t as r}from"./chunk-DcxQp08X.js";import{$r as pm,At as Og,Cn as Zw,Ct as NH,Er as ky,Fr as mT,Gt as Ss,Hn as df,Hr as nm,In as bm,Oi as uo,P as FT,Q as IT,Qi as yT,Qn as et$1,U as Gw,Ui as x$1,V as Gs,Vi as we,Wn as du,Xt as Tm,Yt as TH,Zi as yH,Zn as ee$1,_i as tT,_t as MH,a as $r,aa as zg,an as Ww,ar as fu,br as im,dn as Xu,dt as Kb,fi as sC,fr as gu,hr as hd,i as $m,ia as zT,in as Wg,it as Jd,j as ET,jn as aT,jr as lw,jt as Oi,ki as uu,kr as lo,kt as Od,ln as Xd,lt as K,mi as se$1,mr as hT,nr as fm,q as He$1,qi as xg,qr as om,rt as Jb,sr as gD,st as Jv,ti as qg,tr as ff,tt as J,u as Ah,un as Xg,ut as KT,v as C,vr as hs,wt as Nm,yi as tm,yn as Zc,yt as Mm,z as Gg,zr as nT}from"./chunk-BVHH3bEM.js";import{At as bf,C as Gn,Cn as sn,F as Ki,Ft as ee$2,Jt as hf,K as Pa$1,Lt as en,Rt as eo,T as Hd,Ut as fo,_n as qn,it as Ta$1,kn as tn,ln as of,o as Be$1,p as Dd,pn as pa$1,pt as Vi,q as Pe$1,qt as ha$1,tt as Sa$1}from"./chunk-D62C7sYk.js";import{E as ae$1,I as pn,L as ri,N as li,O as ct,R as si,_ as Qo,k as eo$1,v as Qt}from"./chunk-CO-O6Jks.js";var Je=[`*`,[[``,`progressIndicator`,``]]];var ta=[`*`,`[progressIndicator]`];function ea(i,s){i&1&&(du(0,`div`,1),yT(1,1),fu())}var aa=new x$1(`MAT_BUTTON_CONFIG`);function Pe(i){return i==null?void 0:NH(i)}var $t=(()=>{class i{_elementRef=C(uo);_ngZone=C(se$1);_animationsDisabled=tn();_config=C(aa,{optional:!0});_focusMonitor=C(Ki);_cleanupClick;_renderer=C(Zc);_rippleLoader=C(bf);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(t){this.tabIndex=t}showProgress=yH(!1,{transform:MH});constructor(){C(Be$1).load(of);let t=this._elementRef.nativeElement;this._isAnchor=t.tagName===`A`,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(t,{className:`mat-mdc-button-ripple`})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t=`program`,e){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,e):this._elementRef.nativeElement.focus(e)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,`click`,t=>{this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}))}static ɵfac=function(e){return new(e||i)};static ɵdir=Zw({type:i,hostAttrs:[1,`mat-mdc-button-base`],hostVars:15,hostBindings:function(e,a){e&2&&(Wg(`disabled`,a._getDisabledAttribute())(`aria-disabled`,a._getAriaDisabled())(`tabindex`,a._getTabIndex()),FT(a.color?`mat-`+a.color:``),pm(`mat-mdc-button-progress-indicator-shown`,a.showProgress())(`mat-mdc-button-disabled`,a.disabled)(`mat-mdc-button-disabled-interactive`,a.disabledInteractive)(`mat-unthemed`,!a.color)(`_mat-animation-noopable`,a._animationsDisabled))},inputs:{color:`color`,disableRipple:[2,`disableRipple`,`disableRipple`,MH],disabled:[2,`disabled`,`disabled`,MH],ariaDisabled:[2,`aria-disabled`,`ariaDisabled`,MH],disabledInteractive:[2,`disabledInteractive`,`disabledInteractive`,MH],tabIndex:[2,`tabIndex`,`tabIndex`,Pe],_tabindex:[2,`tabindex`,`_tabindex`,Pe],showProgress:[1,`showProgress`]}})}return i})();var Tt=(()=>{class i extends $t{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[`button`,`mat-icon-button`,``],[`a`,`mat-icon-button`,``],[`button`,`matIconButton`,``],[`a`,`matIconButton`,``]],hostAttrs:[1,`mdc-icon-button`,`mat-mdc-icon-button`],exportAs:[`matButton`,`matAnchor`],features:[xg],ngContentSelectors:ta,decls:5,vars:1,consts:[[1,`mat-mdc-button-persistent-ripple`,`mdc-icon-button__ripple`],[1,`mat-mdc-button-progress-indicator-container`],[1,`mat-focus-indicator`],[1,`mat-mdc-button-touch-target`]],template:function(e,a){e&1&&(mT(Je),zg(0,`span`,0),yT(1),Kb(2,ea,2,0,`div`,1),zg(3,`span`,2)(4,`span`,3)),e&2&&(gD(2),Jb(a.showProgress()?2:-1))},styles:[`.mat-mdc-icon-button { 2 -webkit-user-select: none; 3 user-select: none; 4 display: inline-block; 5 position: relative; 6 box-sizing: border-box; 7 border: none; 8 outline: none; 9 background-color: transparent; 10 fill: currentColor; 11 text-decoration: none; 12 cursor: pointer; 13 z-index: 0; 14 overflow: visible; 15 border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%)); 16 flex-shrink: 0; 17 text-align: center; 18 width: var(--%NS%mat-icon-button-state-layer-size, 40px); 19 height: var(--%NS%mat-icon-button-state-layer-size, 40px); 20 padding: calc(calc(var(--%NS%mat-icon-button-state-layer-size, 40px) - var(--%NS%mat-icon-button-icon-size, 24px)) / 2); 21 font-size: var(--%NS%mat-icon-button-icon-size, 24px); 22 color: var(--%NS%mat-icon-button-icon-color, var(--%NS%mat-sys-on-surface-variant)); 23 -webkit-tap-highlight-color: transparent; 24} 25.mat-mdc-icon-button .mat-mdc-button-ripple, 26.mat-mdc-icon-button .mat-mdc-button-persistent-ripple, 27.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 28 top: 0; 29 left: 0; 30 right: 0; 31 bottom: 0; 32 position: absolute; 33 pointer-events: none; 34 border-radius: inherit; 35} 36.mat-mdc-icon-button .mat-mdc-button-ripple { 37 overflow: hidden; 38} 39.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 40 content: ""; 41 opacity: 0; 42} 43.mat-mdc-icon-button .mdc-button__label, 44.mat-mdc-icon-button .mat-icon { 45 z-index: 1; 46 position: relative; 47} 48.mat-mdc-icon-button .mat-focus-indicator { 49 top: 0; 50 left: 0; 51 right: 0; 52 bottom: 0; 53 position: absolute; 54 border-radius: inherit; 55} 56.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before { 57 content: ""; 58 border-radius: inherit; 59} 60.mat-mdc-icon-button .mat-ripple-element { 61 background-color: var(--%NS%mat-icon-button-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface-variant) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 62} 63.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 64 background-color: var(--%NS%mat-icon-button-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); 65} 66.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 67 background-color: var(--%NS%mat-icon-button-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); 68} 69.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before { 70 opacity: var(--%NS%mat-icon-button-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); 71} 72.mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 73 opacity: var(--%NS%mat-icon-button-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); 74} 75.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before { 76 opacity: var(--%NS%mat-icon-button-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); 77} 78.mat-mdc-icon-button .mat-mdc-button-touch-target { 79 position: absolute; 80 top: 50%; 81 height: var(--%NS%mat-icon-button-touch-target-size, 48px); 82 display: var(--%NS%mat-icon-button-touch-target-display, block); 83 left: 50%; 84 width: var(--%NS%mat-icon-button-touch-target-size, 48px); 85 transform: translate(-50%, -50%); 86} 87.mat-mdc-icon-button._mat-animation-noopable { 88 transition: none !important; 89 animation: none !important; 90} 91.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled { 92 cursor: default; 93 pointer-events: none; 94 color: var(--%NS%mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); 95} 96.mat-mdc-icon-button.mat-mdc-button-disabled-interactive { 97 pointer-events: auto; 98} 99.mat-mdc-icon-button img, 100.mat-mdc-icon-button svg { 101 width: var(--%NS%mat-icon-button-icon-size, 24px); 102 height: var(--%NS%mat-icon-button-icon-size, 24px); 103 vertical-align: baseline; 104} 105.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__determinate-circle-graphic { 106 width: inherit; 107 height: inherit; 108} 109.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__indeterminate-circle-graphic { 110 height: 100%; 111} 112.mat-mdc-icon-button .mat-mdc-button-persistent-ripple { 113 border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%)); 114} 115.mat-mdc-icon-button[hidden] { 116 display: none; 117} 118.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before { 119 background: transparent; 120 opacity: 1; 121} 122 123.mat-mdc-button-progress-indicator-container { 124 position: absolute; 125 inset-inline-start: 0; 126 inset-block-start: 0; 127 display: flex; 128 align-items: center; 129 justify-content: center; 130 width: 100%; 131 height: 100%; 132 box-sizing: border-box; 133} 134 135.mat-mdc-button-progress-indicator-shown mat-icon { 136 visibility: hidden; 137} 138`,`@media (forced-colors: active) { 139 .mat-mdc-button:not(.mdc-button--outlined), 140 .mat-mdc-unelevated-button:not(.mdc-button--outlined), 141 .mat-mdc-raised-button:not(.mdc-button--outlined), 142 .mat-mdc-outlined-button:not(.mdc-button--outlined), 143 .mat-mdc-button-base.mat-tonal-button, 144 .mat-mdc-icon-button.mat-mdc-icon-button, 145 .mat-mdc-outlined-button .mdc-button__ripple { 146 outline: solid 1px; 147 } 148} 149`],encapsulation:2})}return i})();var na=[[[``,8,`material-icons`,3,`iconPositionEnd`,``],[`mat-icon`,3,`iconPositionEnd`,``],[``,`matButtonIcon`,``,3,`iconPositionEnd`,``]],`*`,[[``,`iconPositionEnd`,``,8,`material-icons`],[`mat-icon`,`iconPositionEnd`,``],[``,`matButtonIcon`,``,`iconPositionEnd`,``]],[[``,`progressIndicator`,``]]];var ia=[`.material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])`,`*`,`.material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]`,`[progressIndicator]`];function ra(i,s){i&1&&(du(0,`div`,2),yT(1,3),fu())}var Oe=new Map([[`text`,[`mat-mdc-button`]],[`filled`,[`mdc-button--unelevated`,`mat-mdc-unelevated-button`]],[`elevated`,[`mdc-button--raised`,`mat-mdc-raised-button`]],[`outlined`,[`mdc-button--outlined`,`mat-mdc-outlined-button`]],[`tonal`,[`mat-tonal-button`]]]);var Zt=(()=>{class i extends $t{get appearance(){return this._appearance}set appearance(t){this.setAppearance(t||this._config?.defaultAppearance||`text`)}_appearance=null;constructor(){super();let t=oa(this._elementRef.nativeElement);t&&this.setAppearance(t)}setAppearance(t){if(t===this._appearance)return;let e=this._elementRef.nativeElement.classList,a=this._appearance?Oe.get(this._appearance):null,n=Oe.get(t);a&&e.remove(...a),e.add(...n),this._appearance=t}static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[`button`,`matButton`,``],[`a`,`matButton`,``],[`button`,`mat-button`,``],[`button`,`mat-raised-button`,``],[`button`,`mat-flat-button`,``],[`button`,`mat-stroked-button`,``],[`a`,`mat-button`,``],[`a`,`mat-raised-button`,``],[`a`,`mat-flat-button`,``],[`a`,`mat-stroked-button`,``]],hostAttrs:[1,`mdc-button`],inputs:{appearance:[0,`matButton`,`appearance`]},exportAs:[`matButton`,`matAnchor`],features:[xg],ngContentSelectors:ia,decls:8,vars:5,consts:[[1,`mat-mdc-button-persistent-ripple`],[1,`mdc-button__label`],[1,`mat-mdc-button-progress-indicator-container`],[1,`mat-focus-indicator`],[1,`mat-mdc-button-touch-target`]],template:function(e,a){e&1&&(mT(na),zg(0,`span`,0),yT(1),du(2,`span`,1),yT(3,1),fu(),yT(4,2),Kb(5,ra,2,0,`div`,2),zg(6,`span`,3)(7,`span`,4)),e&2&&(pm(`mdc-button__ripple`,!a._isFab)(`mdc-fab__ripple`,a._isFab),gD(
1495),Jb(a.showProgress()?5:-1))},styles:[`.mat-mdc-button-base { 150 text-decoration: none; 151} 152.mat-mdc-button-base .mat-icon { 153 min-height: fit-content; 154 flex-shrink: 0; 155} 156@media (hover: none) { 157 .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before { 158 opacity: 0; 159 } 160} 161 162.mdc-button { 163 -webkit-user-select: none; 164 user-select: none; 165 position: relative; 166 display: inline-flex; 167 align-items: center; 168 justify-content: center; 169 box-sizing: border-box; 170 min-width: 64px; 171 border: none; 172 outline: none; 173 line-height: inherit; 174 -webkit-appearance: none; 175 overflow: visible; 176 vertical-align: middle; 177 background: transparent; 178 padding: 0 8px; 179} 180.mdc-button::-moz-focus-inner { 181 padding: 0; 182 border: 0; 183} 184.mdc-button:active { 185 outline: none; 186} 187.mdc-button:hover { 188 cursor: pointer; 189} 190.mdc-button:disabled { 191 cursor: default; 192 pointer-events: none; 193} 194.mdc-button[hidden] { 195 display: none; 196} 197.mdc-button .mdc-button__label { 198 position: relative; 199} 200 201.mat-mdc-button { 202 padding: 0 var(--%NS%mat-button-text-horizontal-padding, 12px); 203 height: var(--%NS%mat-button-text-container-height, 40px); 204 font-family: var(--%NS%mat-button-text-label-text-font, var(--%NS%mat-sys-label-large-font)); 205 font-size: var(--%NS%mat-button-text-label-text-size, var(--%NS%mat-sys-label-large-size)); 206 letter-spacing: var(--%NS%mat-button-text-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); 207 text-transform: var(--%NS%mat-button-text-label-text-transform); 208 font-weight: var(--%NS%mat-button-text-label-text-weight, var(--%NS%mat-sys-label-large-weight)); 209} 210.mat-mdc-button, .mat-mdc-button .mdc-button__ripple { 211 border-radius: var(--%NS%mat-button-text-container-shape, var(--%NS%mat-sys-corner-full)); 212} 213.mat-mdc-button:not(:disabled) { 214 color: var(--%NS%mat-button-text-label-text-color, var(--%NS%mat-sys-primary)); 215} 216.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled { 217 cursor: default; 218 pointer-events: none; 219 color: var(--%NS%mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); 220} 221.mat-mdc-button.mat-mdc-button-disabled-interactive { 222 pointer-events: auto; 223} 224.mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) { 225 padding: 0 var(--%NS%mat-button-text-with-icon-horizontal-padding, 16px); 226} 227.mat-mdc-button > .mat-icon { 228 margin-right: var(--%NS%mat-button-text-icon-spacing, 8px); 229 margin-left: var(--%NS%mat-button-text-icon-offset, -4px); 230} 231[dir=rtl] .mat-mdc-button > .mat-icon { 232 margin-right: var(--%NS%mat-button-text-icon-offset, -4px); 233 margin-left: var(--%NS%mat-button-text-icon-spacing, 8px); 234} 235.mat-mdc-button .mdc-button__label + .mat-icon { 236 margin-right: var(--%NS%mat-button-text-icon-offset, -4px); 237 margin-left: var(--%NS%mat-button-text-icon-spacing, 8px); 238} 239[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon { 240 margin-right: var(--%NS%mat-button-text-icon-spacing, 8px); 241 margin-left: var(--%NS%mat-button-text-icon-offset, -4px); 242} 243.mat-mdc-button .mat-ripple-element { 244 background-color: var(--%NS%mat-button-text-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 245} 246.mat-mdc-button .mat-mdc-button-persistent-ripple::before { 247 background-color: var(--%NS%mat-button-text-state-layer-color, var(--%NS%mat-sys-primary)); 248} 249.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 250 background-color: var(--%NS%mat-button-text-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); 251} 252.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before { 253 opacity: var(--%NS%mat-button-text-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); 254} 255.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 256 opacity: var(--%NS%mat-button-text-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); 257} 258.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before { 259 opacity: var(--%NS%mat-button-text-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); 260} 261.mat-mdc-button .mat-mdc-button-touch-target { 262 position: absolute; 263 top: 50%; 264 height: var(--%NS%mat-button-text-touch-target-size, 48px); 265 display: var(--%NS%mat-button-text-touch-target-display, block); 266 left: 0; 267 right: 0; 268 transform: translateY(-50%); 269} 270 271.mat-mdc-unelevated-button { 272 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 273 height: var(--%NS%mat-button-filled-container-height, 40px); 274 font-family: var(--%NS%mat-button-filled-label-text-font, var(--%NS%mat-sys-label-large-font)); 275 font-size: var(--%NS%mat-button-filled-label-text-size, var(--%NS%mat-sys-label-large-size)); 276 letter-spacing: var(--%NS%mat-button-filled-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); 277 text-transform: var(--%NS%mat-button-filled-label-text-transform); 278 font-weight: var(--%NS%mat-button-filled-label-text-weight, var(--%NS%mat-sys-label-large-weight)); 279 padding: 0 var(--%NS%mat-button-filled-horizontal-padding, 24px); 280} 281.mat-mdc-unelevated-button > .mat-icon { 282 margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px); 283 margin-left: var(--%NS%mat-button-filled-icon-offset, -8px); 284} 285[dir=rtl] .mat-mdc-unelevated-button > .mat-icon { 286 margin-right: var(--%NS%mat-button-filled-icon-offset, -8px); 287 margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px); 288} 289.mat-mdc-unelevated-button .mdc-button__label + .mat-icon { 290 margin-right: var(--%NS%mat-button-filled-icon-offset, -8px); 291 margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px); 292} 293[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon { 294 margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px); 295 margin-left: var(--%NS%mat-button-filled-icon-offset, -8px); 296} 297.mat-mdc-unelevated-button .mat-ripple-element { 298 background-color: var(--%NS%mat-button-filled-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 299} 300.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before { 301 background-color: var(--%NS%mat-button-filled-state-layer-color, var(--%NS%mat-sys-on-primary)); 302} 303.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 304 background-color: var(--%NS%mat-button-filled-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); 305} 306.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before { 307 opacity: var(--%NS%mat-button-filled-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); 308} 309.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 310 opacity: var(--%NS%mat-button-filled-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); 311} 312.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before { 313 opacity: var(--%NS%mat-button-filled-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); 314} 315.mat-mdc-unelevated-button .mat-mdc-button-touch-target { 316 position: absolute; 317 top: 50%; 318 height: var(--%NS%mat-button-filled-touch-target-size, 48px); 319 display: var(--%NS%mat-button-filled-touch-target-display, block); 320 left: 0; 321 right: 0; 322 transform: translateY(-50%); 323} 324.mat-mdc-unelevated-button:not(:disabled) { 325 color: var(--%NS%mat-button-filled-label-text-color, var(--%NS%mat-sys-on-primary)); 326 background-color: var(--%NS%mat-button-filled-container-color, var(--%NS%mat-sys-primary)); 327} 328.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple { 329 border-radius: var(--%NS%mat-button-filled-container-shape, var(--%NS%mat-sys-corner-full)); 330} 331.mat-mdc-unelevated-button .mat-mdc-button-progress-indicator-container { 332 --%NS%mat-progress-spinner-active-indicator-color: var(--%NS%mat-button-filled-progress-active-indicator-color, var(--%NS%mat-sys-on-primary)); 333} 334.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled { 335 cursor: default; 336 pointer-events: none; 337 color: var(--%NS%mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); 338 background-color: var(--%NS%mat-button-filled-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); 339} 340.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive { 341 pointer-events: auto; 342} 343 344.mat-mdc-raised-button { 345 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 346 box-shadow: var(--%NS%mat-button-protected-container-elevation-shadow, var(--%NS%mat-sys-level1)); 347 height: var(--%NS%mat-button-protected-container-height, 40px); 348 font-family: var(--%NS%mat-button-protected-label-text-font, var(--%NS%mat-sys-label-large-font)); 349 font-size: var(--%NS%mat-button-protected-label-text-size, var(--%NS%mat-sys-label-large-size)); 350 letter-spacing: var(--%NS%mat-button-protected-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); 351 text-transform: var(--%NS%mat-button-protected-label-text-transform); 352 font-weight: var(--%NS%mat-button-protected-label-text-weight, var(--%NS%mat-sys-label-large-weight)); 353 padding: 0 var(--%NS%mat-button-protected-horizontal-padding, 24px); 354} 355.mat-mdc-raised-button > .mat-icon { 356 margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px); 357 margin-left: var(--%NS%mat-button-protected-icon-offset, -8px); 358} 359[dir=rtl] .mat-mdc-raised-button > .mat-icon { 360 margin-right: var(--%NS%mat-button-protected-icon-offset, -8px); 361 margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px); 362} 363.mat-mdc-raised-button .mdc-button__label + .mat-icon { 364 margin-right: var(--%NS%mat-button-protected-icon-offset, -8px); 365 margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px); 366} 367[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon { 368 margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px); 369 margin-left: var(--%NS%mat-button-protected-icon-offset, -8px); 370} 371.mat-mdc-raised-button .mat-ripple-element { 372 background-color: var(--%NS%mat-button-protected-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 373} 374.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before { 375 background-color: var(--%NS%mat-button-protected-state-layer-color, var(--%NS%mat-sys-primary)); 376} 377.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 378 background-color: var(--%NS%mat-button-protected-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); 379} 380.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before { 381 opacity: var(--%NS%mat-button-protected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); 382} 383.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 384 opacity: var(--%NS%mat-button-protected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); 385} 386.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before { 387 opacity: var(--%NS%mat-button-protected-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); 388} 389.mat-mdc-raised-button .mat-mdc-button-touch-target { 390 position: absolute; 391 top: 50%; 392 height: var(--%NS%mat-button-protected-touch-target-size, 48px); 393 display: var(--%NS%mat-button-protected-touch-target-display, block); 394 left: 0; 395 right: 0; 396 transform: translateY(-50%); 397} 398.mat-mdc-raised-button:not(:disabled) { 399 color: var(--%NS%mat-button-protected-label-text-color, var(--%NS%mat-sys-primary)); 400 background-color: var(--%NS%mat-button-protected-container-color, var(--%NS%mat-sys-surface)); 401} 402.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple { 403 border-radius: var(--%NS%mat-button-protected-container-shape, var(--%NS%mat-sys-corner-full)); 404} 405@media (hover: hover) { 406 .mat-mdc-raised-button:hover { 407 box-shadow: var(--%NS%mat-button-protected-hover-container-elevation-shadow, var(--%NS%mat-sys-level2)); 408 } 409} 410.mat-mdc-raised-button:focus { 411 box-shadow: var(--%NS%mat-button-protected-focus-container-elevation-shadow, var(--%NS%mat-sys-level1)); 412} 413.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active { 414 box-shadow: var(--%NS%mat-button-protected-pressed-container-elevation-shadow, var(--%NS%mat-sys-level1)); 415} 416.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled { 417 cursor: default; 418 pointer-events: none; 419 color: var(--%NS%mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); 420 background-color: var(--%NS%mat-button-protected-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); 421} 422.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled { 423 box-shadow: var(--%NS%mat-button-protected-disabled-container-elevation-shadow, var(--%NS%mat-sys-level0)); 424} 425.mat-mdc-raised-button.mat-mdc-button-disabled-interactive { 426 pointer-events: auto; 427} 428 429.mat-mdc-outlined-button { 430 border-style: solid; 431 transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1); 432 height: var(--%NS%mat-button-outlined-container-height, 40px); 433 font-family: var(--%NS%mat-button-outlined-label-text-font, var(--%NS%mat-sys-label-large-font)); 434 font-size: var(--%NS%mat-button-outlined-label-text-size, var(--%NS%mat-sys-label-large-size)); 435 letter-spacing: var(--%NS%mat-button-outlined-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); 436 text-transform: var(--%NS%mat-button-outlined-label-text-transform); 437 font-weight: var(--%NS%mat-button-outlined-label-text-weight, var(--%NS%mat-sys-label-large-weight)); 438 border-radius: var(--%NS%mat-button-outlined-container-shape, var(--%NS%mat-sys-corner-full)); 439 border-width: var(--%NS%mat-button-outlined-outline-width, 1px); 440 padding: 0 var(--%NS%mat-button-outlined-horizontal-padding, 24px); 441} 442.mat-mdc-outlined-button > .mat-icon { 443 margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px); 444 margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px); 445} 446[dir=rtl] .mat-mdc-outlined-button > .mat-icon { 447 margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px); 448 margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px); 449} 450.mat-mdc-outlined-button .mdc-button__label + .mat-icon { 451 margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px); 452 margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px); 453} 454[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon { 455 margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px); 456 margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px); 457} 458.mat-mdc-outlined-button .mat-ripple-element { 459 background-color: var(--%NS%mat-button-outlined-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 460} 461.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before { 462 background-color: var(--%NS%mat-button-outlined-state-layer-color, var(--%NS%mat-sys-primary)); 463} 464.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 465 background-color: var(--%NS%mat-button-outlined-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); 466} 467.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before { 468 opacity: var(--%NS%mat-button-outlined-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); 469} 470.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::
470before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 471 opacity: var(--%NS%mat-button-outlined-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); 472} 473.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before { 474 opacity: var(--%NS%mat-button-outlined-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); 475} 476.mat-mdc-outlined-button .mat-mdc-button-touch-target { 477 position: absolute; 478 top: 50%; 479 height: var(--%NS%mat-button-outlined-touch-target-size, 48px); 480 display: var(--%NS%mat-button-outlined-touch-target-display, block); 481 left: 0; 482 right: 0; 483 transform: translateY(-50%); 484} 485.mat-mdc-outlined-button:not(:disabled) { 486 color: var(--%NS%mat-button-outlined-label-text-color, var(--%NS%mat-sys-primary)); 487 border-color: var(--%NS%mat-button-outlined-outline-color, var(--%NS%mat-sys-outline)); 488} 489.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled { 490 cursor: default; 491 pointer-events: none; 492 color: var(--%NS%mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); 493 border-color: var(--%NS%mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); 494} 495.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive { 496 pointer-events: auto; 497} 498 499.mat-tonal-button { 500 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 501 height: var(--%NS%mat-button-tonal-container-height, 40px); 502 font-family: var(--%NS%mat-button-tonal-label-text-font, var(--%NS%mat-sys-label-large-font)); 503 font-size: var(--%NS%mat-button-tonal-label-text-size, var(--%NS%mat-sys-label-large-size)); 504 letter-spacing: var(--%NS%mat-button-tonal-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); 505 text-transform: var(--%NS%mat-button-tonal-label-text-transform); 506 font-weight: var(--%NS%mat-button-tonal-label-text-weight, var(--%NS%mat-sys-label-large-weight)); 507 padding: 0 var(--%NS%mat-button-tonal-horizontal-padding, 24px); 508} 509.mat-tonal-button:not(:disabled) { 510 color: var(--%NS%mat-button-tonal-label-text-color, var(--%NS%mat-sys-on-secondary-container)); 511 background-color: var(--%NS%mat-button-tonal-container-color, var(--%NS%mat-sys-secondary-container)); 512} 513.mat-tonal-button, .mat-tonal-button .mdc-button__ripple { 514 border-radius: var(--%NS%mat-button-tonal-container-shape, var(--%NS%mat-sys-corner-full)); 515} 516.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled { 517 cursor: default; 518 pointer-events: none; 519 color: var(--%NS%mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); 520 background-color: var(--%NS%mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); 521} 522.mat-tonal-button.mat-mdc-button-disabled-interactive { 523 pointer-events: auto; 524} 525.mat-tonal-button > .mat-icon { 526 margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px); 527 margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px); 528} 529[dir=rtl] .mat-tonal-button > .mat-icon { 530 margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px); 531 margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px); 532} 533.mat-tonal-button .mdc-button__label + .mat-icon { 534 margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px); 535 margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px); 536} 537[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon { 538 margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px); 539 margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px); 540} 541.mat-tonal-button .mat-ripple-element { 542 background-color: var(--%NS%mat-button-tonal-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-secondary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 543} 544.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 545 background-color: var(--%NS%mat-button-tonal-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); 546} 547.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 548 background-color: var(--%NS%mat-button-tonal-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); 549} 550.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before { 551 opacity: var(--%NS%mat-button-tonal-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); 552} 553.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 554 opacity: var(--%NS%mat-button-tonal-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); 555} 556.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before { 557 opacity: var(--%NS%mat-button-tonal-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); 558} 559.mat-tonal-button .mat-mdc-button-touch-target { 560 position: absolute; 561 top: 50%; 562 height: var(--%NS%mat-button-tonal-touch-target-size, 48px); 563 display: var(--%NS%mat-button-tonal-touch-target-display, block); 564 left: 0; 565 right: 0; 566 transform: translateY(-50%); 567} 568 569.mat-mdc-button, 570.mat-mdc-unelevated-button, 571.mat-mdc-raised-button, 572.mat-mdc-outlined-button, 573.mat-tonal-button { 574 -webkit-tap-highlight-color: transparent; 575} 576.mat-mdc-button .mat-mdc-button-ripple, 577.mat-mdc-button .mat-mdc-button-persistent-ripple, 578.mat-mdc-button .mat-mdc-button-persistent-ripple::before, 579.mat-mdc-unelevated-button .mat-mdc-button-ripple, 580.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple, 581.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, 582.mat-mdc-raised-button .mat-mdc-button-ripple, 583.mat-mdc-raised-button .mat-mdc-button-persistent-ripple, 584.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, 585.mat-mdc-outlined-button .mat-mdc-button-ripple, 586.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple, 587.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, 588.mat-tonal-button .mat-mdc-button-ripple, 589.mat-tonal-button .mat-mdc-button-persistent-ripple, 590.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 591 top: 0; 592 left: 0; 593 right: 0; 594 bottom: 0; 595 position: absolute; 596 pointer-events: none; 597 border-radius: inherit; 598} 599.mat-mdc-button .mat-mdc-button-ripple, 600.mat-mdc-unelevated-button .mat-mdc-button-ripple, 601.mat-mdc-raised-button .mat-mdc-button-ripple, 602.mat-mdc-outlined-button .mat-mdc-button-ripple, 603.mat-tonal-button .mat-mdc-button-ripple { 604 overflow: hidden; 605} 606.mat-mdc-button .mat-mdc-button-persistent-ripple::before, 607.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, 608.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, 609.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, 610.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 611 content: ""; 612 opacity: 0; 613} 614.mat-mdc-button .mdc-button__label, 615.mat-mdc-button .mat-icon, 616.mat-mdc-unelevated-button .mdc-button__label, 617.mat-mdc-unelevated-button .mat-icon, 618.mat-mdc-raised-button .mdc-button__label, 619.mat-mdc-raised-button .mat-icon, 620.mat-mdc-outlined-button .mdc-button__label, 621.mat-mdc-outlined-button .mat-icon, 622.mat-tonal-button .mdc-button__label, 623.mat-tonal-button .mat-icon { 624 z-index: 1; 625 position: relative; 626} 627.mat-mdc-button .mat-focus-indicator, 628.mat-mdc-unelevated-button .mat-focus-indicator, 629.mat-mdc-raised-button .mat-focus-indicator, 630.mat-mdc-outlined-button .mat-focus-indicator, 631.mat-tonal-button .mat-focus-indicator { 632 top: 0; 633 left: 0; 634 right: 0; 635 bottom: 0; 636 position: absolute; 637 border-radius: inherit; 638} 639.mat-mdc-button:focus-visible > .mat-focus-indicator::before, 640.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before, 641.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before, 642.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before, 643.mat-tonal-button:focus-visible > .mat-focus-indicator::before { 644 content: ""; 645 border-radius: inherit; 646} 647.mat-mdc-button._mat-animation-noopable, 648.mat-mdc-unelevated-button._mat-animation-noopable, 649.mat-mdc-raised-button._mat-animation-noopable, 650.mat-mdc-outlined-button._mat-animation-noopable, 651.mat-tonal-button._mat-animation-noopable { 652 transition: none !important; 653 animation: none !important; 654} 655.mat-mdc-button > .mat-icon, 656.mat-mdc-unelevated-button > .mat-icon, 657.mat-mdc-raised-button > .mat-icon, 658.mat-mdc-outlined-button > .mat-icon, 659.mat-tonal-button > .mat-icon { 660 display: inline-block; 661 position: relative; 662 vertical-align: top; 663 font-size: 1.125rem; 664 height: 1.125rem; 665 width: 1.125rem; 666} 667 668.mat-mdc-outlined-button .mat-mdc-button-ripple, 669.mat-mdc-outlined-button .mdc-button__ripple { 670 top: -1px; 671 left: -1px; 672 bottom: -1px; 673 right: -1px; 674} 675 676.mat-mdc-unelevated-button .mat-focus-indicator::before, 677.mat-tonal-button .mat-focus-indicator::before, 678.mat-mdc-raised-button .mat-focus-indicator::before { 679 margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1); 680} 681 682.mat-mdc-outlined-button .mat-focus-indicator::before { 683 margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 3px) * -1); 684} 685 686.mat-mdc-button-progress-indicator-container { 687 position: absolute; 688 inset-inline-start: 0; 689 inset-block-start: 0; 690 display: flex; 691 align-items: center; 692 justify-content: center; 693 width: 100%; 694 height: 100%; 695 box-sizing: border-box; 696} 697 698.mat-mdc-button-progress-indicator-shown mat-icon, 699.mat-mdc-button-progress-indicator-shown [matButtonIcon], 700.mat-mdc-button-progress-indicator-shown .mdc-button__label { 701 visibility: hidden; 702} 703`,`@media (forced-colors: active) { 704 .mat-mdc-button:not(.mdc-button--outlined), 705 .mat-mdc-unelevated-button:not(.mdc-button--outlined), 706 .mat-mdc-raised-button:not(.mdc-button--outlined), 707 .mat-mdc-outlined-button:not(.mdc-button--outlined), 708 .mat-mdc-button-base.mat-tonal-button, 709 .mat-mdc-icon-button.mat-mdc-icon-button, 710 .mat-mdc-outlined-button .mdc-button__ripple { 711 outline: solid 1px; 712 } 713} 714`],encapsulation:2})}return i})();function oa(i){return i.hasAttribute(`mat-raised-button`)?`elevated`:i.hasAttribute(`mat-stroked-button`)?`outlined`:i.hasAttribute(`mat-flat-button`)?`filled`:i.hasAttribute(`mat-button`)?`text`:null}var Be=(()=>
714{class i{static ɵfac=function(e){return new(e||i)};static ɵmod=Gw({type:i});static ɵinj=Od({imports:[hf,fo]})}return i})();var sa=[`tooltip`];var da=20;var la=new x$1(`mat-tooltip-scroll-strategy`,{providedIn:`root`,factory:()=>{let i=C(we);return()=>ri(i,{scrollThrottle:da})}});var ca=new x$1(`mat-tooltip-default-options`,{providedIn:`root`,factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var Le=`tooltip-panel`;var ma={passive:!0};var ua=8;var pa=8;var ha=24;var ba=200;var Ye=(()=>{class i{_elementRef=C(uo);_ngZone=C(se$1);_platform=C(ee$2);_ariaDescriber=C(Dd);_focusMonitor=C(Ki);_dir=C(Pa$1);_injector=C(we);_viewContainerRef=C(Ss);_mediaMatcher=C(en);_document=C($r);_renderer=C(Zc);_animationsDisabled=tn();_defaultOptions=C(ca,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position=`below`;_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=_a;_viewportMargin=8;_currentPosition;_cssClassPrefix=`mat-mdc`;_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=Hd(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let e=Hd(t);this._disabled!==e&&(this._disabled=e,e?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=ha$1(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=ha$1(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures=`auto`;get message(){return this._message}set message(t){let e=this._message;this._message=t!=null?String(t).trim():``,!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(e)}_message=``;get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new K;_isDestroyed=!1;constructor(){let t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._viewportMargin=ua}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(hd(this._destroyed)).subscribe(t=>{t?t===`keyboard`&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(e=>e()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(t,this.message,`tooltip`),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let a=this._createOverlay(e);this._detach(),this._portal=this._portal||new ae$1(this._tooltipComponent,this._viewContainerRef);let n=this._tooltipInstance=a.attach(this._portal).instance;n._triggerElement=this._elementRef.nativeElement,n._mouseLeaveHideDelay=this._hideDelay,n.afterHidden().pipe(hd(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),n.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;
714if((!this.positionAtOrigin||!t)&&r._origin instanceof uo)return this._overlayRef;this._detach()}let e=this._injector.get(ct).getAncestorScrollContainers(this._elementRef),a=`${this._cssClassPrefix}-${Le}`,n=si(this._injector,this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e).withPopoverLocation(`global`);return n.positionChanges.pipe(hd(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=li(this._injector,{direction:this._dir,positionStrategy:n,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,a]:a,scrollStrategy:this._injector.get(la)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(hd(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(hd(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(hd(this._destroyed)).subscribe(r=>{r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(hd(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,a=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([this._addOffset(r(r({},a.main),n.main)),this._addOffset(r(r({},a.fallback),n.fallback))])}_addOffset(t){let e=pa,a=!this._dir||this._dir.value==`ltr`;return t.originY===`top`?t.offsetY=-e:t.originY===`bottom`?t.offsetY=e:t.originX===`start`?t.offsetX=a?-e:e:t.originX===`end`&&(t.offsetX=a?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value==`ltr`,e=this.position,a;e==`above`||e==`below`?a={originX:`center`,originY:e==`above`?`top`:`bottom`}:e==`before`||e==`left`&&t||e==`right`&&!t?a={originX:`start`,originY:`center`}:(e==`after`||e==`right`&&t||e==`left`&&!t)&&(a={originX:`end`,originY:`center`});let{x:n,y:r}=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:n,originY:r}}}_getOverlayPosition(){let t=!this._dir||this._dir.value==`ltr`,e=this.position,a;e==`above`?a={overlayX:`center`,overlayY:`bottom`}:e==`below`?a={overlayX:`center`,overlayY:`top`}:e==`before`||e==`left`&&t||e==`right`&&!t?a={overlayX:`end`,overlayY:`center`}:(e==`after`||e==`right`&&t||e==`left`&&!t)&&(a={overlayX:`start`,overlayY:`center`});let{x:n,y:r}=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:n,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Ah(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t instanceof Set?Array.from(t):t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position===`above`||this.position===`below`?e===`top`?e=`bottom`:e===`bottom`&&(e=`top`):t===`end`?t=`start`:t===`start`&&(t=`end`),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:a,originY:n}=t,r;if(e===`center`?this._dir&&this._dir.value===`rtl`?r=a===`end`?`left`:`right`:r=a===`start`?`left`:`right`:r=e===`bottom`&&n===`top`?`above`:`below`,r!==this._currentPosition){let h=this._overlayRef;if(h){let ht=`${this._cssClassPrefix}-${Le}-`;h.removePanelClass(ht+this._currentPosition),h.addPanelClass(ht+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!==`off`&&(this._disableNativeGesturesIfNecessary(),this._addListener(`touchstart`,t=>{let e=t.targetTouches?.[0],a=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let n=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,a)},this._defaultOptions?.touchLongPressShowDelay??n)})):this._addListener(`mouseenter`,t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener(`mouseleave`,t=>{let e=t.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}),this._addListener(`wheel`,t=>{if(this._isTooltipVisible()){let e=this._document.elementFromPoint(t.clientX,t.clientY),a=this._elementRef.nativeElement;e!==a&&!a.contains(e)&&this.hide()}});else if(this.touchGestures!==`off`){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener(`touchend`,t),this._addListener(`touchcancel`,t)}}}_addListener(t,e){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,t,e,ma))}_isTouchPlatform(){let t=this._defaultOptions?.detectHoverCapability;return typeof t==`function`?!t():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!t&&this._mediaMatcher.matchMedia(`(any-hover: none)`).matches:!1}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!==`off`){let e=this._elementRef.nativeElement,a=e.style;(t===`on`||e.nodeName!==`INPUT`&&e.nodeName!==`TEXTAREA`)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect=`none`),(t===`on`||!e.draggable)&&(a.webkitUserDrag=`none`),a.touchAction=`none`,a.webkitTapHighlightColor=`transparent`}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,`tooltip`),this._isDestroyed||Ah({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,`tooltip`)}},{injector:this._injector}))}_overlayEventPredicate=t=>t.type===`keydown`?this._isTooltipVisible()&&t.keyCode===27&&!eo(t):!0;static ɵfac=function(e){return new(e||i)};static ɵdir=Zw({type:i,selectors:[[``,`matTooltip`,``]],hostAttrs:[1,`mat-mdc-tooltip-trigger`],hostVars:2,hostBindings:function(e,a){e&2&&pm(`mat-mdc-tooltip-disabled`,a.disabled)},inputs:{position:[0,`matTooltipPosition`,`position`],positionAtOrigin:[0,`matTooltipPositionAtOrigin`,`positionAtOrigin`],disabled:[0,`matTooltipDisabled`,`disabled`],showDelay:[0,`matTooltipShowDelay`,`showDelay`],hideDelay:[0,`matTooltipHideDelay`,`hideDelay`],touchGestures:[0,`matTooltipTouchGestures`,`touchGestures`],message:[0,`matTooltip`,`message`],tooltipClass:[0,`matTooltipClass`,`tooltipClass`]},exportAs:[`matTooltip`]})}return i})();var _a=(()=>{class i{_changeDetectorRef=C(TH);_elementRef=C(uo);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=tn();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new K;_showAnimation=`mat-mdc-tooltip-show`;_hideAnimation=`mat-mdc-tooltip-hide`;show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>ha&&t.width>=ba}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,a=this._showAnimation,n=this._hideAnimation;if(e.classList.remove(t?n:a),e.classList.add(t?a:n),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle==`function`){let r=getComputedStyle(e);(r.getPropertyValue(`animation-duration`)===`0s`||r.getPropertyValue(`animation-name`)===`none`)&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add(`_mat-animation-noopable`),this._finalizeAnimation(t))}static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[`mat-tooltip-component`]],viewQuery:function(e,a){if(e&1&&im(sa,7),e&2){let n;ET(n=IT())&&(a._tooltip=n.first)}},hostAttrs:[`aria-hidden`,`true`],hostBindings:function(e,a){e&1&&tm(`mouseleave`,function(r){return a._handleMouseLeave(r)})},decls:4,vars:5,consts:[[`tooltip`,``],[1,`mdc-tooltip`,`mat-mdc-tooltip`,3,`animationend`],[1,`mat-mdc-tooltip-surface`,`mdc-tooltip__surface`]],template:function(e,a){e&1&&(du(0,`div`,1,0),nm(`animationend`,function(r){return a._handleAnimationEnd(r)}),du(2,`div`,2),zT(3),fu()()),e&2&&(FT(a.tooltipClass),pm(`mdc-tooltip--multiline`,a._isMultiline),gD(3),bm(a.message))},styles:[`.mat-mdc-tooltip { 715 position: relative; 716 transform: scale(0); 717 display: inline-flex; 718} 719.mat-mdc-tooltip::before { 720 content: ""; 721 top: 0; 722 right: 0; 723 bottom: 0; 724 left: 0; 725 z-index: -1; 726 position: absolute; 727} 728.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before { 729 top: -8px; 730} 731.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before { 732 bottom: -8px; 733} 734.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before { 735 left: -8px; 736} 737.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before { 738 right: -8px; 739} 740.mat-mdc-tooltip._mat-animation-noopable { 741 animation: none; 742 transform: scale(1); 743} 744 745.mat-mdc-tooltip-surface { 746 word-break: normal;
747 overflow-wrap: anywhere; 748 padding: 4px 8px; 749 min-width: 40px; 750 max-width: 200px; 751 min-height: 24px; 752 max-height: 40vh; 753 box-sizing: border-box; 754 overflow: hidden; 755 text-align: center; 756 will-change: transform, opacity; 757 background-color: var(--%NS%mat-tooltip-container-color, var(--%NS%mat-sys-inverse-surface)); 758 color: var(--%NS%mat-tooltip-supporting-text-color, var(--%NS%mat-sys-inverse-on-surface)); 759 border-radius: var(--%NS%mat-tooltip-container-shape, var(--%NS%mat-sys-corner-extra-small)); 760 font-family: var(--%NS%mat-tooltip-supporting-text-font, var(--%NS%mat-sys-body-small-font)); 761 font-size: var(--%NS%mat-tooltip-supporting-text-size, var(--%NS%mat-sys-body-small-size)); 762 font-weight: var(--%NS%mat-tooltip-supporting-text-weight, var(--%NS%mat-sys-body-small-weight)); 763 line-height: var(--%NS%mat-tooltip-supporting-text-line-height, var(--%NS%mat-sys-body-small-line-height)); 764 letter-spacing: var(--%NS%mat-tooltip-supporting-text-tracking, var(--%NS%mat-sys-body-small-tracking)); 765} 766.mat-mdc-tooltip-surface::before { 767 position: absolute; 768 box-sizing: border-box; 769 width: 100%; 770 height: 100%; 771 top: 0; 772 left: 0; 773 border: 1px solid transparent; 774 border-radius: inherit; 775 content: ""; 776 pointer-events: none; 777} 778.mdc-tooltip--multiline .mat-mdc-tooltip-surface { 779 text-align: left; 780} 781[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface { 782 text-align: right; 783} 784 785.mat-mdc-tooltip-panel { 786 line-height: normal; 787} 788.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive { 789 pointer-events: none; 790} 791 792@keyframes mat-mdc-tooltip-show { 793 0% { 794 opacity: 0; 795 transform: scale(0.8); 796 } 797 100% { 798 opacity: 1; 799 transform: scale(1); 800 } 801} 802@keyframes mat-mdc-tooltip-hide { 803 0% { 804 opacity: 1; 805 transform: scale(1); 806 } 807 100% { 808 opacity: 0; 809 transform: scale(0.8); 810 } 811} 812.mat-mdc-tooltip-show { 813 animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards; 814} 815 816.mat-mdc-tooltip-hide { 817 animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards; 818} 819`],encapsulation:2})}return i})();function fa(i,s){return this._trackRow(s)}var We=(i,s)=>s.id;function ga(i,s){if(i&1&&(du(0,`tr`,0)(1,`td`,3),zT(2),fu()()),i&2){let t=hT();gD(),fm(`padding-top`,t._cellPadding)(`padding-bottom`,t._cellPadding),Wg(`colspan`,t.numCols),gD(),gu(` `,t.label,` `)}}function va(i,s){if(i&1&&(du(0,`td`,3),zT(1),fu()),i&2){let t=hT(2);fm(`padding-top`,t._cellPadding)(`padding-bottom`,t._cellPadding),Wg(`colspan`,t._firstRowOffset),gD(),gu(` `,t._firstRowOffset>=t.labelMinRequiredCells?t.label:``,` `)}}function ya(i,s){if(i&1){let t=aT();du(0,`td`,6)(1,`button`,7),nm(`click`,function(a){let n=Jd(t).$implicit;return Xd(hT(2)._cellClicked(n,a))})(`focus`,function(a){let n=Jd(t).$implicit;return Xd(hT(2)._emitActiveDateChange(n,a))}),du(2,`span`,8),zT(3),fu(),zg(4,`span`,9),fu()()}if(i&2){let t=s.$implicit,e=s.$index,a=hT().$index,n=hT();fm(`width`,n._cellWidth)(`padding-top`,n._cellPadding)(`padding-bottom`,n._cellPadding),Wg(`data-mat-row`,a)(`data-mat-col`,e),gD(),FT(t.cssClasses),pm(`mat-calendar-body-disabled`,!t.enabled)(`mat-calendar-body-active`,n._isActiveCell(a,e))(`mat-calendar-body-range-start`,n._isRangeStart(t.compareValue))(`mat-calendar-body-range-end`,n._isRangeEnd(t.compareValue))(`mat-calendar-body-in-range`,n._isInRange(t.compareValue))(`mat-calendar-body-comparison-bridge-start`,n._isComparisonBridgeStart(t.compareValue,a,e))(`mat-calendar-body-comparison-bridge-end`,n._isComparisonBridgeEnd(t.compareValue,a,e))(`mat-calendar-body-comparison-start`,n._isComparisonStart(t.compareValue))(`mat-calendar-body-comparison-end`,n._isComparisonEnd(t.compareValue))(`mat-calendar-body-in-comparison-range`,n._isInComparisonRange(t.compareValue))(`mat-calendar-body-preview-start`,n._isPreviewStart(t.compareValue))(`mat-calendar-body-preview-end`,n._isPreviewEnd(t.compareValue))(`mat-calendar-body-in-preview`,n._isInPreview(t.compareValue)),Xg(`tabIndex`,n._isActiveCell(a,e)?0:-1),Wg(`aria-label`,t.ariaLabel)(`aria-disabled`,!t.enabled||null)(`aria-pressed`,n._isSelected(t.compareValue))(`aria-current`,n.todayValue===t.compareValue?`date`:null)(`aria-describedby`,n._getDescribedby(t.compareValue)),gD(),pm(`mat-calendar-body-selected`,n._isSelected(t.compareValue))(`mat-calendar-body-comparison-identical`,n._isComparisonIdentical(t.compareValue))(`mat-calendar-body-today`,n.todayValue===t.compareValue),gD(),gu(` `,t.displayValue,` `)}}function Da(i,s){if(i&1&&(du(0,`tr`,1),Kb(1,va,2,6,`td`,4),tT(2,ya,5,49,`td`,5,We),fu()),i&2){let t=s.$implicit,e=s.$index,a=hT();gD(),Jb(e===0&&a._firstRowOffset?1:-1),gD(),nT(t)}}function Sa(i,s){if(i&1&&(hs(0,`th`,2)(1,`span`,6),zT(2),uu(),hs(3,`span`,3),zT(4),uu()()),i&2){let t=s.$implicit;gD(2),bm(t.long),gD(2),bm(t.narrow)}}var wa=[`*`];function Ca(i,s){}function xa(i,s){if(i&1){let t=aT();hs(0,`mat-month-view`,4),Nm(`activeDateChange`,function(a){Jd(t);let n=hT();return KT(n.activeDate,a)||(n.activeDate=a),Xd(a)}),tm(`_userSelection`,function(a){Jd(t);return Xd(hT()._dateSelected(a))})(`dragStarted`,function(a){Jd(t);return Xd(hT()._dragStarted(a))})(`dragEnded`,function(a){Jd(t);return Xd(hT()._dragEnded(a))}),uu()}if(i&2){let t=hT();Mm(`activeDate`,t.activeDate),qg(`selected`,t.selected)(`dateFilter`,t.dateFilter)(`maxDate`,t.maxDate)(`minDate`,t.minDate)(`dateClass`,t.dateClass)(`comparisonStart`,t.comparisonStart)(`comparisonEnd`,t.comparisonEnd)(`startDateAccessibleName`,t.startDateAccessibleName)(`endDateAccessibleName`,t.endDateAccessibleName)(`activeDrag`,t._activeDrag)}}function Na(i,s){if(i&1){let t=aT();hs(0,`mat-year-view`,5),Nm(`activeDateChange`,function(a){Jd(t);let n=hT();return KT(n.activeDate,a)||(n.activeDate=a),Xd(a)}),tm(`monthSelected`,function(a){Jd(t);return Xd(hT()._monthSelectedInYearView(a))})(`selectedChange`,function(a){Jd(t);return Xd(hT()._goToDateInView(a,`month`))}),uu()}if(i&2){let t=hT();Mm(`activeDate`,t.activeDate),qg(`selected`,t.selected)(`dateFilter`,t.dateFilter)(`maxDate`,t.maxDate)(`minDate`,t.minDate)(`dateClass`,t.dateClass)}}function ka(i,s){if(i&1){let t=aT();hs(0,`mat-multi-year-view`,6),Nm(`activeDateChange`,function(a){Jd(t);let n=hT();return KT(n.activeDate,a)||(n.activeDate=a),Xd(a)}),tm(`yearSelected`,function(a){Jd(t);return Xd(hT()._yearSelectedInMultiYearView(a))})(`selectedChange`,function(a){Jd(t);return Xd(hT()._goToDateInView(a,`year`))}),uu()}if(i&2){let t=hT();Mm(`activeDate`,t.activeDate),qg(`selected`,t.selected)(`dateFilter`,t.dateFilter)(`maxDate`,t.maxDate)(`minDate`,t.minDate)(`dateClass`,t.dateClass)}}function Aa(i,s){}var Ma=[`button`];var Ea=[[[``,`matDatepickerToggleIcon`,``]]];var Ia=[`[matDatepickerToggleIcon]`];function Va(i,s){i&1&&(df(),hs(0,`svg`,2),Gg(1,`path`,3),uu())}var at=(()=>{class i{changes=new K;calendarLabel=`Calendar`;openCalendarLabel=`Open calendar`;closeCalendarLabel=`Close calendar`;prevMonthLabel=`Previous month`;nextMonthLabel=`Next month`;prevYearLabel=`Previous year`;nextYearLabel=`Next year`;prevMultiYearLabel=`Previous 24 years`;nextMultiYearLabel=`Next 24 years`;switchToMonthViewLabel=`Choose date`;switchToMultiYearViewLabel=`Choose month and year`;startDateLabel=`Start date`;endDateLabel=`End date`;comparisonDateLabel=`Comparison range`;formatYearRange(t,e){return`${t} \u2013 ${e}`}formatYearRangeLabel(t,e){return`${t} to ${e}`}static ɵfac=function(e){return new(e||i)};static ɵprov=lo({token:i,factory:i.ɵfac})}return i})();var Ta=0;var pt=class{value;displayValue;ariaLabel;enabled;compareValue;rawValue;id=Ta++;
819cssClasses;constructor(s,t,e,a,n,r=s,h){this.value=s,this.displayValue=t,this.ariaLabel=e,this.enabled=a,this.compareValue=r,this.rawValue=h,this.cssClasses=n instanceof Set?Array.from(n):n}};var Ra={passive:!1,capture:!0};var Rt={passive:!0,capture:!0};var ze={passive:!0};var et=(()=>{class i{_elementRef=C(uo);_ngZone=C(se$1);_platform=C(ee$2);_intl=C(at);_eventCleanups;_skipNextFocus=!1;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart=null;comparisonEnd=null;previewStart=null;previewEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedValueChange=new et$1;previewChange=new et$1;activeDateChange=new et$1;dragStarted=new et$1;dragEnded=new et$1;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=C(we);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=t=>t;constructor(){let t=C(Zc),e=C(qn);this._startDateLabelId=e.getId(`mat-calendar-body-start-`),this._endDateLabelId=e.getId(`mat-calendar-body-end-`),this._comparisonStartDateLabelId=e.getId(`mat-calendar-body-comparison-start-`),this._comparisonEndDateLabelId=e.getId(`mat-calendar-body-comparison-end-`),C(Be$1).load(of),this._ngZone.runOutsideAngular(()=>{let a=this._elementRef.nativeElement,n=[t.listen(a,`touchmove`,this._touchmoveHandler,Ra),t.listen(a,`mouseenter`,this._enterHandler,Rt),t.listen(a,`focus`,this._enterHandler,Rt),t.listen(a,`mouseleave`,this._leaveHandler,Rt),t.listen(a,`blur`,this._leaveHandler,Rt),t.listen(a,`mousedown`,this._mousedownHandler,ze),t.listen(a,`touchstart`,this._mousedownHandler,ze)];this._platform.isBrowser&&n.push(t.listen(`window`,`mouseup`,this._mouseupHandler),t.listen(`window`,`touchend`,this._touchendHandler)),this._eventCleanups=n})}_cellClicked(t,e){this._didDragSinceMouseDown||t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_emitActiveDateChange(t,e){t.enabled&&this.activeDateChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){let e=t.numCols,{rows:a,numCols:n}=this;(t.rows||e)&&(this._firstRowOffset=a&&a.length&&a[0].length?n-a[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/n}%`),(e||!this._cellWidth)&&(this._cellWidth=`${100/n}%`)}ngOnDestroy(){this._eventCleanups.forEach(t=>t())}_isActiveCell(t,e){let a=t*this.numCols+e;return t&&(a-=this._firstRowOffset),a==this.activeCell}_focusActiveCell(t=!0){Ah(()=>{setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector(`.mat-calendar-body-active`);e&&(t||(this._skipNextFocus=!0),e.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(t){return ae(t,this.startValue,this.endValue)}_isRangeEnd(t){return ne(t,this.startValue,this.endValue)}_isInRange(t){return ie(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return ae(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,a){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let n=this.rows[e][a-1];if(!n){let r=this.rows[e-1];n=r&&r[r.length-1]}return n&&!this._isRangeEnd(n.compareValue)}_isComparisonBridgeEnd(t,e,a){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let n=this.rows[e][a+1];if(!n){let r=this.rows[e+1];n=r&&r[0]}return n&&!this._isRangeStart(n.compareValue)}_isComparisonEnd(t){return ne(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return ie(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return ae(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return ne(t,this.previewStart,this.previewEnd)}_isInPreview(t){return ie(t,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(t){if(!this.isRange)return null;if(this.startValue===t&&this.endValue===t)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===t)return this._startDateLabelId;if(this.endValue===t)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(t===this.comparisonStart&&t===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(t===this.comparisonStart)return this._comparisonStartDateLabelId;if(t===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=t=>{if(this._skipNextFocus&&t.type===`focus`){this._skipNextFocus=!1;return}if(t.target&&this.isRange){let e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}};_touchmoveHandler=t=>{if(!this.isRange)return;let e=He(t),a=e?this._getCellFromElement(e):null;e!==t.target&&(this._didDragSinceMouseDown=!0),ee(t.target)&&t.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:a?.enabled?a:null,event:t}))};_leaveHandler=t=>{this.previewEnd!==null&&this.isRange&&(t.type!==`blur`&&(this._didDragSinceMouseDown=!0),t.target&&this._getCellFromElement(t.target)&&!(t.relatedTarget&&this._getCellFromElement(t.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t})))};_mousedownHandler=t=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let e=t.target&&this._getCellFromElement(t.target);!e||!this._isInRange(e.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:e.rawValue,event:t})})};_mouseupHandler=t=>{if(!this.isRange)return;let e=ee(t.target);if(!e){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:t})});return}e.closest(`.mat-calendar-body`)===this._elementRef.nativeElement&&this._ngZone.run(()=>{let a=this._getCellFromElement(e);this.dragEnded.emit({value:a?.rawValue??null,event:t})})};_touchendHandler=t=>{let e=He(t);e&&this._mouseupHandler({target:e})};_getCellFromElement(t){let e=ee(t);if(e){let a=e.getAttribute(`data-mat-row`),n=e.getAttribute(`data-mat-col`);if(a&&n)return this.rows[parseInt(a)]?.[parseInt(n)]||null}return null}static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[``,`mat-calendar-body`,``]],hostAttrs:[1,`mat-calendar-body`],inputs:{label:`label`,rows:`rows`,todayValue:`todayValue`,startValue:`startValue`,endValue:`endValue`,labelMinRequiredCells:`labelMinRequiredCells`,numCols:`numCols`,activeCell:`activeCell`,isRange:`isRange`,cellAspectRatio:`cellAspectRatio`,comparisonStart:`comparisonStart`,comparisonEnd:`comparisonEnd`,previewStart:`previewStart`,previewEnd:`previewEnd`,startDateAccessibleName:`startDateAccessibleName`,endD
819ateAccessibleName:`endDateAccessibleName`},outputs:{selectedValueChange:`selectedValueChange`,previewChange:`previewChange`,activeDateChange:`activeDateChange`,dragStarted:`dragStarted`,dragEnded:`dragEnded`},exportAs:[`matCalendarBody`],features:[Jv],decls:11,vars:11,consts:[[`aria-hidden`,`true`],[`role`,`row`],[1,`mat-calendar-body-hidden-label`,3,`id`],[1,`mat-calendar-body-label`],[1,`mat-calendar-body-label`,3,`paddingTop`,`paddingBottom`],[`role`,`gridcell`,1,`mat-calendar-body-cell-container`,3,`width`,`paddingTop`,`paddingBottom`],[`role`,`gridcell`,1,`mat-calendar-body-cell-container`],[`type`,`button`,1,`mat-calendar-body-cell`,3,`click`,`focus`,`tabindex`],[1,`mat-calendar-body-cell-content`,`mat-focus-indicator`],[`aria-hidden`,`true`,1,`mat-calendar-body-cell-preview`]],template:function(e,a){e&1&&(Kb(0,ga,3,6,`tr`,0),tT(1,Da,4,1,`tr`,1,fa,!0),du(3,`span`,2),zT(4),fu(),du(5,`span`,2),zT(6),fu(),du(7,`span`,2),zT(8),fu(),du(9,`span`,2),zT(10),fu()),e&2&&(Jb(a._firstRowOffset<a.labelMinRequiredCells?0:-1),gD(),nT(a.rows),gD(2),Xg(`id`,a._startDateLabelId),gD(),gu(` `,a.startDateAccessibleName,` 820`),gD(),Xg(`id`,a._endDateLabelId),gD(),gu(` `,a.endDateAccessibleName,` 821`),gD(),Xg(`id`,a._comparisonStartDateLabelId),gD(),Tm(` `,a.comparisonDateAccessibleName,` `,a.startDateAccessibleName,` 822`),gD(),Xg(`id`,a._comparisonEndDateLabelId),gD(),Tm(` `,a.comparisonDateAccessibleName,` `,a.endDateAccessibleName,` 823`))},styles:[`.mat-calendar-body { 824 min-width: 224px; 825} 826 827.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 828 border-color: var(--%NS%mat-datepicker-calendar-date-today-outline-color, var(--%NS%mat-sys-primary)); 829} 830 831.mat-calendar-body-label { 832 height: 0; 833 line-height: 0; 834 text-align: start; 835 padding-left: 4.7142857143%; 836 padding-right: 4.7142857143%; 837 font-size: var(--%NS%mat-datepicker-calendar-body-label-text-size, var(--%NS%mat-sys-title-small-size)); 838 font-weight: var(--%NS%mat-datepicker-calendar-body-label-text-weight, var(--%NS%mat-sys-title-small-weight)); 839 color: var(--%NS%mat-datepicker-calendar-body-label-text-color, var(--%NS%mat-sys-on-surface)); 840} 841 842.mat-calendar-body-hidden-label { 843 display: none; 844} 845 846.mat-calendar-body-cell-container { 847 position: relative; 848 height: 0; 849 line-height: 0; 850} 851 852.mat-calendar-body-cell { 853 position: absolute; 854 top: 0; 855 left: 0; 856 width: 100%; 857 height: 100%; 858 background: none; 859 text-align: center; 860 outline: none; 861 margin: 0; 862 font-family: var(--%NS%mat-datepicker-calendar-text-font, var(--%NS%mat-sys-body-medium-font)); 863 font-size: var(--%NS%mat-datepicker-calendar-text-size, var(--%NS%mat-sys-body-medium-size)); 864 -webkit-user-select: none; 865 user-select: none; 866 cursor: pointer; 867 outline: none; 868 border: none; 869 -webkit-tap-highlight-color: transparent; 870} 871.mat-calendar-body-cell::-moz-focus-inner { 872 border: 0; 873} 874 875.mat-calendar-body-cell::before, 876.mat-calendar-body-cell::after, 877.mat-calendar-body-cell-preview { 878 content: ""; 879 position: absolute; 880 top: 5%; 881 left: 0; 882 z-index: 0; 883 box-sizing: border-box; 884 display: block; 885 height: 90%; 886 width: 100%; 887} 888 889.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before, 890.mat-calendar-body-range-start::after, 891.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before, 892.mat-calendar-body-comparison-start::after, 893.mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 894 left: 5%; 895 width: 95%; 896 border-top-left-radius: 999px; 897 border-bottom-left-radius: 999px; 898} 899[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before, 900[dir=rtl] .mat-calendar-body-range-start::after, 901[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before, 902[dir=rtl] .mat-calendar-body-comparison-start::after, 903[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 904 left: 0; 905 border-radius: 0; 906 border-top-right-radius: 999px; 907 border-bottom-right-radius: 999px; 908} 909 910.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before, 911.mat-calendar-body-range-end::after,
912.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before, 913.mat-calendar-body-comparison-end::after, 914.mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 915 width: 95%; 916 border-top-right-radius: 999px; 917 border-bottom-right-radius: 999px; 918} 919[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before, 920[dir=rtl] .mat-calendar-body-range-end::after, 921[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before, 922[dir=rtl] .mat-calendar-body-comparison-end::after, 923[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 924 left: 5%; 925 border-radius: 0; 926 border-top-left-radius: 999px; 927 border-bottom-left-radius: 999px; 928} 929 930[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after, 931[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after { 932 width: 95%; 933 border-top-right-radius: 999px; 934 border-bottom-right-radius: 999px; 935} 936 937.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after, [dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after, 938.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after, 939[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after { 940 width: 90%; 941} 942 943.mat-calendar-body-in-preview { 944 color: var(--%NS%mat-datepicker-calendar-date-preview-state-outline-color, var(--%NS%mat-sys-primary)); 945} 946.mat-calendar-body-in-preview .mat-calendar-body-cell-preview { 947 border-top: dashed 1px; 948 border-bottom: dashed 1px; 949} 950 951.mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 952 border-left: dashed 1px; 953} 954[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 955 border-left: 0; 956 border-right: dashed 1px; 957} 958 959.mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 960 border-right: dashed 1px; 961} 962[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 963 border-right: 0; 964 border-left: dashed 1px; 965} 966 967.mat-calendar-body-disabled { 968 cursor: default; 969} 970.mat-calendar-body-disabled > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 971 color: var(--%NS%mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); 972} 973.mat-calendar-body-disabled > .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 974 border-color: var(--%NS%mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); 975} 976@media (forced-colors: active) { 977 .mat-calendar-body-disabled { 978 opacity: 0.5; 979 } 980} 981 982.mat-calendar-body-cell-content { 983 top: 5%; 984 left: 5%; 985 z-index: 1; 986 display: flex; 987 align-items: center; 988 justify-content: center; 989 box-sizing: border-box; 990 width: 90%; 991 height: 90%; 992 line-height: 1; 993 border-width: 1px; 994 border-style: solid; 995 border-radius: 999px; 996 color: var(--%NS%mat-datepicker-calendar-date-text-color, var(--%NS%mat-sys-on-surface)); 997 border-color: var(--%NS%mat-datepicker-calendar-date-outline-color, transparent); 998} 999.mat-calendar-body-cell-content.mat-focus-indicator { 1000 position: absolute; 1001} 1002.mat-calendar-body-cell-content::before { 1003 border-radius: 50%; 1004} 1005@media (forced-colors: active) { 1006 .mat-calendar-body-cell-content { 1007 border: none; 1008 } 1009} 1010 1011.cdk-keyboard-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .cdk-program-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 1012 background-color: var(--%NS%mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-focus-state-layer-opacity) * 100%), transparent)); 1013} 1014 1015@media (hover: hover) { 1016 .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 1017 background-color: var(--%NS%mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-hover-state-layer-opacity) * 100%), transparent)); 1018 } 1019} 1020.mat-calendar-body-selected { 1021 background-color: var(--%NS%mat-datepicker-calendar-date-selected-state-background-color, var(--%NS%mat-sys-primary)); 1022 color: var(--%NS%mat-datepicker-calendar-date-selected-state-text-color, var(--%NS%mat-sys-on-primary)); 1023} 1024.mat-calendar-body-disabled > .mat-calendar-body-selected { 1025 background-color: var(--%NS%mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); 1026} 1027.mat-calendar-body-selected.mat-calendar-body-today { 1028 box-shadow: inset 0 0 0 1px var(--%NS%mat-datepicker-calendar-date-today-selected-state-outline-color, var(--%NS%mat-sys-primary)); 1029} 1030 1031.mat-calendar-body-in-range::before { 1032 background: var(--%NS%mat-datepicker-calendar-date-in-range-state-background-color, var(--%NS%mat-sys-primary-container)); 1033} 1034 1035.mat-calendar-body-comparison-identical, 1036.mat-calendar-body-in-comparison-range::before { 1037 background: var(--%NS%mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--%NS%mat-sys-tertiary-container)); 1038} 1039 1040.mat-calendar-body-comparison-identical, 1041.mat-calendar-body-in-comparison-range::before { 1042 background: var(--%NS%mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--%NS%mat-sys-tertiary-container)); 1043} 1044 1045.mat-calendar-body-comparison-bridge-start::before, 1046[dir=rtl] .mat-calendar-body-comparison-bridge-end::before { 1047 background: linear-gradient(to right, var(--%NS%mat-datepicker-calendar-date-in-range-state-background-color, var(--%NS%mat-sys-primary-container)) 50%, var(--%NS%mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--%NS%mat-sys-tertiary-container)) 50%); 1048} 1049 1050.mat-calendar-body-comparison-bridge-end::before, 1051[dir=rtl] .mat-calendar-body-comparison-bridge-start::before { 1052 background: linear-gradient(to left, var(--%NS%mat-datepicker-calendar-date-in-range-state-background-color, var(--%NS%mat-sys-primary-container)) 50%, var(--%NS%mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--%NS%mat-sys-tertiary-container)) 50%); 1053} 1054 1055.mat-calendar-body-in-range > .mat-calendar-body-comparison-identical, 1056.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after { 1057 background: var(--%NS%mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--%NS%mat-sys-secondary-container)); 1058} 1059 1060.mat-calendar-body-comparison-identical.mat-calendar-body-selected, 1061.mat-calendar-body-in-comparison-range > .mat-calendar-body-selected { 1062 background: var(--%NS%mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--%NS%mat-sys-secondary)); 1063} 1064 1065@media (forced-colors: active) { 1066 .mat-datepicker-popup:not(:empty), 1067 .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected { 1068 outline: solid 1px; 1069 } 1070 .mat-calendar-body-today { 1071 outline: dotted 1px; 1072 } 1073 .mat-calendar-body-cell::before, 1074 .mat-calendar-body-cell::after, 1075 .mat-calendar-body-selected { 1076 background: none; 1077 } 1078 .mat-calendar-body-in-range::before, 1079 .mat-calendar-body-comparison-bridge-start::before, 1080 .mat-calendar-body-comparison-bridge-end::before { 1081 border-top: solid 1px; 1082 border-bottom: solid 1px; 1083 } 1084 .mat-calendar-body-range-start::before { 1085 border-left: solid 1px; 1086 } 1087 [dir=rtl] .mat-calendar-body-range-start::before { 1088 border-left: 0; 1089 border-right: solid 1px; 1090 } 1091 .mat-calendar-body-range-end::before { 1092 border-right: solid 1px; 1093 } 1094 [dir=rtl] .mat-calendar-body-range-end::before { 1095 border-right: 0; 1096 border-left: solid 1px; 1097 } 1098 .mat-calendar-body-in-comparison-range::before { 1099 border-top: dashed 1px; 1100 border-bottom: dashed 1px; 1101 } 1102 .mat-calendar-body-comparison-start::before { 1103 border-left: dashed 1px; 1104 } 1105 [dir=rtl] .mat-calendar-body-comparison-start::before { 1106 border-left: 0; 1107 border-right: dashed 1px; 1108 }
1109 .mat-calendar-body-comparison-end::before { 1110 border-right: dashed 1px; 1111 } 1112 [dir=rtl] .mat-calendar-body-comparison-end::before { 1113 border-right: 0; 1114 border-left: dashed 1px; 1115 } 1116} 1117`],encapsulation:2})}return i})();function te(i){return i?.nodeName===`TD`}function ee(i){let s;return te(i)?s=i:te(i.parentNode)?s=i.parentNode:te(i.parentNode?.parentNode)&&(s=i.parentNode.parentNode),s?.getAttribute(`data-mat-row`)!=null?s:null}function ae(i,s,t){return t!==null&&s!==t&&i<t&&i===s}function ne(i,s,t){return s!==null&&s!==t&&i>=s&&i===t}function ie(i,s,t,e){return e&&s!==null&&t!==null&&s!==t&&i>=s&&i<=t}function He(i){let s=i.changedTouches[0];return document.elementFromPoint(s.clientX,s.clientY)}var A=class{start;end;_disableStructuralEquivalency;constructor(s,t){this.start=s,this.end=t}};var Ft=(()=>{class i{selection;_adapter;_selectionChanged=new K;selectionChanged=this._selectionChanged;constructor(t,e){this.selection=t,this._adapter=e,this.selection=t}updateSelection(t,e){let a=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:e,oldValue:a})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}static ɵfac=function(e){lw()};static ɵprov=ee$1({token:i,factory:i.ɵfac})}return i})();var Fa=(()=>{class i extends Ft{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let t=new i(this._adapter);return t.updateSelection(this.selection,this),t}static ɵfac=function(e){return new(e||i)(He$1(Pe$1))};static ɵprov=ee$1({token:i,factory:i.ɵfac})}return i})();var Pa={provide:Ft,useFactory:()=>C(Ft,{optional:!0,skipSelf:!0})||new Fa(C(Pe$1))};var qe=new x$1(`MAT_DATE_RANGE_SELECTION_STRATEGY`);var re=7;var Oa=0;var je=(()=>{class i{_changeDetectorRef=C(TH);_dateFormats=C(Vi,{optional:!0});_dateAdapter=C(Pe$1,{optional:!0});_dir=C(Pa$1,{optional:!0});_rangeStrategy=C(qe,{optional:!0});_rerenderSubscription=J.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(t){t instanceof A?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}_selected=null;get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}_maxDate=null;dateFilter;dateClass;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;activeDrag=null;selectedChange=new et$1;_userSelection=new et$1;dragStarted=new et$1;dragEnded=new et$1;activeDateChange=new et$1;_matCalendarBody;_monthLabel=Oi(``);_weeks=Oi([]);_firstWeekOffset=Oi(0);_rangeStart=Oi(null);_rangeEnd=Oi(null);_comparisonRangeStart=Oi(null);_comparisonRangeEnd=Oi(null);_previewStart=Oi(null);_previewEnd=Oi(null);_isRange=Oi(!1);_todayDate=Oi(null);_weekdays=Oi([]);constructor(){C(Be$1).load(sn),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Xu(null)).subscribe(()=>this._init())}ngOnChanges(t){let e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected),t.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){let e=t.value,a=this._getDateFromDayOfMonth(e),n,r;this._selected instanceof A?(n=this._getDateInCurrentMonth(this._selected.start),r=this._getDateInCurrentMonth(this._selected.end)):n=r=this._getDateInCurrentMonth(this._selected),(n!==e||r!==e)&&this.selectedChange.emit(a),this._userSelection.emit({value:a,event:t.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(t){let e=t.value,a=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e),this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(t){let e=this._activeDate,a=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&t.preventDefault();return;case 27:this._previewEnd()!=null&&!eo(t)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:t}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t})),t.preventDefault(),t.stopPropagation());return;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames(`short`)[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((re+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%re),this._initWeek
1117days(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:t,value:e}){if(this._rangeStrategy){let a=e?e.rawValue:null,n=this._rangeStrategy.createPreview(a,this.selected,t);if(this._previewStart.set(this._getCellCompareValue(n.start)),this._previewEnd.set(this._getCellCompareValue(n.end)),this.activeDrag&&a){let r=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,a,t);r&&(this._previewStart.set(this._getCellCompareValue(r.start)),this._previewEnd.set(this._getCellCompareValue(r.end)))}}}_dragEnded(t){if(this.activeDrag)if(t.value){let e=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,t.value,t.event);this.dragEnded.emit({value:e??null,event:t.event})}else this.dragEnded.emit({value:null,event:t.event})}_getDateFromDayOfMonth(t){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),t)}_initWeekdays(){let t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames(`narrow`),n=this._dateAdapter.getDayOfWeekNames(`long`).map((r,h)=>({long:r,narrow:e[h],id:Oa++}));this._weekdays.set(n.slice(t).concat(n.slice(0,t)))}_createWeekCells(){let t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames(),a=[[]];for(let n=0,r=this._firstWeekOffset();n<t;n++,r++){r==re&&(a.push([]),r=0);let h=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),ht=this._shouldEnableDate(h),$e=this._dateAdapter.format(h,this._dateFormats.display.dateA11yLabel),Ze=this.dateClass?this.dateClass(h,`month`):void 0;a[a.length-1].push(new pt(n+1,e[n],$e,ht,Ze,this._getCellCompareValue(h),h))}this._weeks.set(a)}_shouldEnableDate(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!!(t&&e&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e)&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){let e=this._dateAdapter.getYear(t),a=this._dateAdapter.getMonth(t),n=this._dateAdapter.getDate(t);return new Date(e,a,n).getTime()}return null}_isRtl(){return this._dir&&this._dir.value===`rtl`}_setRanges(t){t instanceof A?(this._rangeStart.set(this._getCellCompareValue(t.start)),this._rangeEnd.set(this._getCellCompareValue(t.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(t)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(t){return!this.dateFilter||this.dateFilter(t)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[`mat-month-view`]],viewQuery:function(e,a){if(e&1&&im(et,5),e&2){let n;ET(n=IT())&&(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`,activeDrag:`activeDrag`},outputs:{selectedChange:`selectedChange`,_userSelection:`_userSelection`,dragStarted:`dragStarted`,dragEnded:`dragEnded`,activeDateChange:`activeDateChange`},exportAs:[`matMonthView`],features:[Jv],decls:8,vars:14,consts:[[`role`,`grid`,1,`mat-calendar-table`],[1,`mat-calendar-table-header`],[`scope`,`col`],[`aria-hidden`,`true`],[`colspan`,`7`,1,`mat-calendar-table-header-divider`],[`mat-calendar-body`,``,3,`selectedValueChange`,`activeDateChange`,`previewChange`,`dragStarted`,`dragEnded`,`keyup`,`keydown`,`label`,`rows`,`todayValue`,`startValue`,`endValue`,`comparisonStart`,`comparisonEnd`,`previewStart`,`previewEnd`,`isRange`,`labelMinRequiredCells`,`activeCell`,`startDateAccessibleName`,`endDateAccessibleName`],[1,`cdk-visually-hidden`]],template:function(e,a){e&1&&(hs(0,`table`,0)(1,`thead`,1)(2,`tr`),tT(3,Sa,5,2,`th`,2,We),uu(),hs(5,`tr`,3),Gg(6,`th`,4),uu()(),hs(7,`tbody`,5),tm(`selectedValueChange`,function(r){return a._dateSelected(r)})(`activeDateChange`,function(r){return a._updateActiveDate(r)})(`previewChange`,function(r){return a._previewChanged(r)})(`dragStarted`,function(r){return a.dragStarted.emit(r)})(`dragEnded`,function(r){return a._dragEnded(r)})(`keyup`,function(r){return a._handleCalendarBodyKeyup(r)})(`keydown`,function(r){return a._handleCalendarBodyKeydown(r)}),uu()()),e&2&&(gD(3),nT(a._weekdays()),gD(4),qg(`label`,a._monthLabel())(`rows`,a._weeks())(`todayValue`,a._todayDate(
1117))(`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:[et],encapsulation:2})}return i})();var x=24;var oe=4;var Ke=(()=>{class i{_changeDetectorRef=C(TH);_dateAdapter=C(Pe$1,{optional:!0});_dir=C(Pa$1,{optional:!0});_rerenderSubscription=J.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),Ue(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(t){t instanceof A?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}_selected=null;get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}_maxDate=null;dateFilter;dateClass;selectedChange=new et$1;yearSelected=new et$1;activeDateChange=new et$1;_matCalendarBody;_years=Oi([]);_todayYear=Oi(0);_selectedYear=Oi(null);constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Xu(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));let e=this._dateAdapter.getYear(this._activeDate)-ut(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),a=[];for(let n=0,r=[];n<x;n++)r.push(e+n),r.length==oe&&(a.push(r.map(h=>this._createCellForYear(h))),r=[]);this._years.set(a),this._changeDetectorRef.markForCheck()}_yearSelected(t){let e=t.value,a=this._dateAdapter.createDate(e,0,1),n=this._getDateFromYear(e);this.yearSelected.emit(a),this.selectedChange.emit(n)}_updateActiveDate(t){let e=t.value,a=this._activeDate;this.activeDate=this._getDateFromYear(e),this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){let e=this._activeDate,a=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-oe);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,oe);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ut(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,x-ut(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-x*10:-x);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?x*10:x);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_getActiveCell(){return ut(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(t){let e=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));return this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),a))}_createCellForYear(t){let e=this._dateAdapter.createDate(t,0,1),a=this._dateAdapter.getYearName(e),n=this.dateClass?this.dateClass(e,`multi-year`):void 0;return new pt(t,a,a,this._shouldEnableYear(t),n)}_shouldEnableYear(t){if(t==null||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let e=this._dateAdapter.createDate(t,0,1);for(let a=e;this._dateAdapter.getYear(a)==t;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isRtl(){return this._dir&&this._dir.value===`rtl`}_setSelectedYear(t){if(this._selectedYear.set(null),t instanceof A){let e=t.start||t.end;e&&this._selectedYear.set(this._dateAdapter.getYear(e))}else t&&this._selectedYear.set(this._dateAdapter.getYear(t))}static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[`mat-multi-year-view`]],viewQuery:function(e,a){if(e&1&&im(et,5),e&2){let n;ET(n=IT())&&(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,`selectedValueChange`,`activeDateChange`,`keyup`,`keydown`,`rows`,`todayValue`,`startValue`,`endValue`,`numCols`,`cellAspectRatio`,`activeCell`]],template:function(e,a){e&1&&(hs(0,`table`,0)(1,`thead`,1)(2,`tr`),Gg(3,`th`,2),uu()(),hs(4,`tbody`,3),tm(`selectedValueChange`,function(r){return a._yearSelected(r)})(`activeDateChange`,function(r){return a._updateActiveDate(r)})(`keyup`,function(r){return a._handleCalendarBodyKeyup(r)})(`keydown`,function(r){return a._handleCalendarBodyKeydown(r)}),uu()()),e&2&&(gD(4),qg(`rows`,a._years())(`todayValue`,a._todayYear())(`startValue`,a._selectedYear())(`endValue`,a._selectedYear())(`numCols`,4)(`cellAspectRatio`,4/7)(`activeCell`,a._getActiveCell()))},dependencies:[et],encapsulation:2})}return i})();function Ue(i,s,t,e,a){let n=i.getYear(s),r=i.getYear(t),h=Qe(i,e,a);return Math.floor((n-h)/x)===Math.floor((r-h)/x)}function ut(i,s,t,e){return Ba(i.getYear(s)-Qe(i,t,e),x)}function Qe(i,s,t){let e=0;return t?e=i.getYear(t)-x+1:s&&(e=i.getYear(s)),e}function Ba(i,s){return(i%s+s)%s}var Ge=(()=>{class i{_changeDetectorRef=C(TH);_dateFormats=C(Vi,{optional:!0});_dateAdapter=C(Pe$1,{optional:!0});_dir=C(Pa$1,{optional:!0});_rerenderSubscription=J.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(t){t instanceof A?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}_selected=null;
1117get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}_maxDate=null;dateFilter;dateClass;selectedChange=new et$1;monthSelected=new et$1;activeDateChange=new et$1;_matCalendarBody;_months=Oi([]);_yearLabel=Oi(``);_todayMonth=Oi(null);_selectedMonth=Oi(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Xu(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){let e=t.value,a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(a);let n=this._getDateFromMonth(e);this.selectedChange.emit(n)}_updateActiveDate(t){let e=t.value,a=this._activeDate;this.activeDate=this._getDateFromMonth(e),this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){let e=this._activeDate,a=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let t=this._dateAdapter.getMonthNames(`short`);this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(a=>this._createCellForMonth(a,t[a])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_getDateFromMonth(t){let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),a=this._dateAdapter.getNumDaysInMonth(e);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),a))}_createCellForMonth(t,e){let a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),n=this._dateAdapter.format(a,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(a,`year`):void 0;return new pt(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t),r)}_shouldEnableMonth(t){let e=this._dateAdapter.getYear(this.activeDate);if(t==null||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;let a=this._dateAdapter.createDate(e,t,1);for(let n=a;this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){let a=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return t>a||t===a&&e>n}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){let a=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return t<a||t===a&&e<n}return!1}_isRtl(){return this._dir&&this._dir.value===`rtl`}_setSelectedMonth(t){t instanceof A?this._selectedMonth.set(this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end)):this._selectedMonth.set(this._getMonthInCurrentYear(t))}static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[`mat-year-view`]],viewQuery:function(e,a){if(e&1&&im(et,5),e&2){let n;ET(n=IT())&&(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,`selectedValueChange`,`activeDateChange`,`keyup`,`keydown`,`label`,`rows`,`todayValue`,`startValue`,`endValue`,`labelMinRequiredCells`,`numCols`,`cellAspectRatio`,`activeCell`]],template:function(e,a){e&1&&(hs(0,`table`,0)(1,`thead`,1)(2,`tr`),Gg(3,`th`,2),uu()(),hs(4,`tbody`,3),tm(`selectedValueChange`,function(r){return a._monthSelected(r)})(`activeDateChange`,function(r){return a._updateActiveDate(r)})(`keyup`,function(r){return a._handleCalendarBodyKeyup(r)})(`keydown`,function(r){return a._handleCalendarBodyKeydown(r)}),uu()()),e&2&&(gD(4),qg(`label`,a._yearLabel())(`rows`,a._months())(`todayValue`,a._todayMonth())(`startValue`,a._selectedMonth())(`endValue`,a._selectedMonth())(`labelMinRequiredCells`,2)(`numC
1117ols`,4)(`cellAspectRatio`,4/7)(`activeCell`,a._dateAdapter.getMonth(a.activeDate)))},dependencies:[et],encapsulation:2})}return i})();var Xe=(()=>{class i{_intl=C(at);calendar=C(se);_dateAdapter=C(Pe$1,{optional:!0});_dateFormats=C(Vi,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){C(Be$1).load(sn);let t=C(TH);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),t.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView==`month`?`multi-year`:`month`}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate=this.calendar.currentView==`month`?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView==`year`?-1:-x))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate=this.calendar.currentView==`month`?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView==`year`?1:x))}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){let t=this.calendar,e=this._intl,a=this._dateAdapter;t.currentView===`month`?(this._periodButtonText=a.format(t.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=a.format(t.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=e.switchToMultiYearViewLabel,this._prevButtonLabel=e.prevMonthLabel,this._nextButtonLabel=e.nextMonthLabel):t.currentView===`year`?(this._periodButtonText=a.getYearName(t.activeDate),this._periodButtonDescription=a.getYearName(t.activeDate),this._periodButtonLabel=e.switchToMonthViewLabel,this._prevButtonLabel=e.prevYearLabel,this._nextButtonLabel=e.nextYearLabel):(this._periodButtonText=e.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=e.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=e.switchToMonthViewLabel,this._prevButtonLabel=e.prevMultiYearLabel,this._nextButtonLabel=e.nextMultiYearLabel)}_isSameView(t,e){return this.calendar.currentView==`month`?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):this.calendar.currentView==`year`?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):Ue(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let e=this._dateAdapter.getYear(this.calendar.activeDate)-ut(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),a=e+x-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1))]}_periodButtonLabelId=C(qn).getId(`mat-calendar-period-label-`);static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[`mat-calendar-header`]],exportAs:[`matCalendarHeader`],ngContentSelectors:wa,decls:17,vars:13,consts:[[1,`mat-calendar-header`],[1,`mat-calendar-controls`],[`aria-live`,`polite`,1,`cdk-visually-hidden`,3,`id`],[`matButton`,``,`type`,`button`,1,`mat-calendar-period-button`,3,`click`],[`aria-hidden`,`true`],[`viewBox`,`0 0 10 5`,`focusable`,`false`,`aria-hidden`,`true`,1,`mat-calendar-arrow`],[`points`,`0,0 5,5 10,0`],[1,`mat-calendar-spacer`],[`matIconButton`,``,`type`,`button`,`disabledInteractive`,``,1,`mat-calendar-previous-button`,3,`click`,`disabled`,`matTooltip`],[`viewBox`,`0 0 24 24`,`focusable`,`false`,`aria-hidden`,`true`],[`d`,`M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z`],[`matIconButton`,``,`type`,`button`,`disabledInteractive`,``,1,`mat-calendar-next-button`,3,`click`,`disabled`,`matTooltip`],[`d`,`M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z`]],template:function(e,a){e&1&&(mT(),hs(0,`div`,0)(1,`div`,1)(2,`span`,2),zT(3),uu(),hs(4,`button`,3),tm(`click`,function(){return a.currentPeriodClicked()}),hs(5,`span`,4),zT(6),uu(),df(),hs(7,`svg`,5),Gg(8,`polygon`,6),uu()(),ff(),Gg(9,`div`,7),yT(10),hs(11,`button`,8),tm(`click`,function(){return a.previousClicked()}
1117),df(),hs(12,`svg`,9),Gg(13,`path`,10),uu()(),ff(),hs(14,`button`,11),tm(`click`,function(){return a.nextClicked()}),df(),hs(15,`svg`,9),Gg(16,`path`,12),uu()()()()),e&2&&(gD(2),qg(`id`,a._periodButtonLabelId),gD(),bm(a.periodButtonDescription),gD(),Wg(`aria-label`,a.periodButtonLabel)(`aria-describedby`,a._periodButtonLabelId),gD(2),bm(a.periodButtonText),gD(),pm(`mat-calendar-invert`,a.calendar.currentView!==`month`),gD(4),qg(`disabled`,!a.previousEnabled())(`matTooltip`,a.prevButtonLabel),Wg(`aria-label`,a.prevButtonLabel),gD(3),qg(`disabled`,!a.nextEnabled())(`matTooltip`,a.nextButtonLabel),Wg(`aria-label`,a.nextButtonLabel))},dependencies:[Zt,Tt,Ye],encapsulation:2})}return i})();var se=(()=>{class i{_dateAdapter=C(Pe$1,{optional:!0});_dateFormats=C(Vi,{optional:!0});_changeDetectorRef=C(TH);_elementRef=C(uo);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}_startAt=null;startView=`month`;get selected(){return this._selected}set selected(t){t instanceof A?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}_selected=null;get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}_maxDate=null;dateFilter;dateClass;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedChange=new et$1;yearSelected=new et$1;monthSelected=new et$1;viewChanged=new et$1(!0);_userSelection=new et$1;_userDragDrop=new et$1;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(t){let e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&(this.stateChanges.next(),this.viewChanged.emit(e))}_currentView;_activeDrag=null;stateChanges=new K;constructor(){this._intlChanges=C(at).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new ae$1(this.headerComponent||Xe),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){let e=t.minDate&&!this._dateAdapter.sameDate(t.minDate.previousValue,t.minDate.currentValue)?t.minDate:void 0,a=t.maxDate&&!this._dateAdapter.sameDate(t.maxDate.previousValue,t.maxDate.currentValue)?t.maxDate:void 0,n=e||a||t.dateFilter;if(n&&!n.firstChange){let r=this._getCurrentViewComponent();r&&(this._elementRef.nativeElement.contains(Gn())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),r._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()?._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()?._init()}_dateSelected(t){let e=t.value;(this.selected instanceof A||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_dragStarted(t){this._activeDrag=t}_dragEnded(t){this._activeDrag&&(t.value&&this._userDragDrop.emit(t),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[`mat-calendar`]],viewQuery:function(e,a){if(e&1&&im(je,5)(Ge,5)(Ke,5),e&2){let n;ET(n=IT())&&(a.monthView=n.first),ET(n=IT())&&(a.yearView=n.first),ET(n=IT())&&(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`,endD
1117ateAccessibleName:`endDateAccessibleName`},outputs:{selectedChange:`selectedChange`,yearSelected:`yearSelected`,monthSelected:`monthSelected`,viewChanged:`viewChanged`,_userSelection:`_userSelection`,_userDragDrop:`_userDragDrop`},exportAs:[`matCalendar`],features:[sC([Pa]),Jv],decls:5,vars:2,consts:[[3,`cdkPortalOutlet`],[`cdkMonitorSubtreeFocus`,``,`tabindex`,`-1`,1,`mat-calendar-content`],[3,`activeDate`,`selected`,`dateFilter`,`maxDate`,`minDate`,`dateClass`,`comparisonStart`,`comparisonEnd`,`startDateAccessibleName`,`endDateAccessibleName`,`activeDrag`],[3,`activeDate`,`selected`,`dateFilter`,`maxDate`,`minDate`,`dateClass`],[3,`activeDateChange`,`_userSelection`,`dragStarted`,`dragEnded`,`activeDate`,`selected`,`dateFilter`,`maxDate`,`minDate`,`dateClass`,`comparisonStart`,`comparisonEnd`,`startDateAccessibleName`,`endDateAccessibleName`,`activeDrag`],[3,`activeDateChange`,`monthSelected`,`selectedChange`,`activeDate`,`selected`,`dateFilter`,`maxDate`,`minDate`,`dateClass`],[3,`activeDateChange`,`yearSelected`,`selectedChange`,`activeDate`,`selected`,`dateFilter`,`maxDate`,`minDate`,`dateClass`]],template:function(e,a){if(e&1&&(Og(0,Ca,0,0,`ng-template`,0),hs(1,`div`,1),Kb(2,xa,1,11,`mat-month-view`,2)(3,Na,1,6,`mat-year-view`,3)(4,ka,1,6,`mat-multi-year-view`,3),uu()),e&2){let n;qg(`cdkPortalOutlet`,a._calendarHeaderPortal),gD(2),Jb((n=a.currentView)===`month`?2:n===`year`?3:n===`multi-year`?4:-1)}},dependencies:[pn,pa$1,je,Ge,Ke],styles:[`.mat-calendar { 1118 display: block; 1119 line-height: normal; 1120 font-family: var(--%NS%mat-datepicker-calendar-text-font, var(--%NS%mat-sys-body-medium-font)); 1121 font-size: var(--%NS%mat-datepicker-calendar-text-size, var(--%NS%mat-sys-body-medium-size)); 1122} 1123 1124.mat-calendar-header { 1125 padding: 8px 8px 0 8px; 1126} 1127 1128.mat-calendar-content { 1129 padding: 0 8px 8px 8px; 1130 outline: none; 1131} 1132 1133.mat-calendar-controls { 1134 display: flex; 1135 align-items: center; 1136 margin: 5% calc(4.7142857143% - 16px); 1137} 1138 1139.mat-calendar-spacer { 1140 flex: 1 1 auto; 1141} 1142 1143.mat-calendar-period-button { 1144 min-width: 0; 1145 margin: 0 8px; 1146 font-size: var(--%NS%mat-datepicker-calendar-period-button-text-size, var(--%NS%mat-sys-title-small-size)); 1147 font-weight: var(--%NS%mat-datepicker-calendar-period-button-text-weight, var(--%NS%mat-sys-title-small-weight)); 1148 --%NS%mat-button-text-label-text-color: var(--%NS%mat-datepicker-calendar-period-button-text-color, var(--%NS%mat-sys-on-surface-variant)); 1149} 1150 1151.mat-calendar-arrow { 1152 display: inline-block; 1153 width: 10px; 1154 height: 5px; 1155 margin: 0 0 0 5px; 1156 vertical-align: middle; 1157 fill: var(--%NS%mat-datepicker-calendar-period-button-icon-color, var(--%NS%mat-sys-on-surface-variant)); 1158} 1159.mat-calendar-arrow.mat-calendar-invert { 1160 transform: rotate(180deg); 1161} 1162[dir=rtl] .mat-calendar-arrow { 1163 margin: 0 5px 0 0; 1164} 1165@media (forced-colors: active) { 1166 .mat-calendar-arrow { 1167 fill: CanvasText; 1168 } 1169} 1170 1171.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled), 1172.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled) { 1173 color: var(--%NS%mat-datepicker-calendar-navigation-button-icon-color, var(--%NS%mat-sys-on-surface-variant)); 1174} 1175[dir=rtl] .mat-calendar-previous-button, 1176[dir=rtl] .mat-calendar-next-button { 1177 transform: rotate(180deg); 1178} 1179 1180.mat-calendar-table { 1181 border-spacing: 0; 1182 border-collapse: collapse; 1183 width: 100%; 1184} 1185 1186.mat-calendar-table-header th { 1187 text-align: center; 1188 padding: 0 0 8px 0; 1189 color: var(--%NS%mat-datepicker-calendar-header-text-color, var(--%NS%mat-sys-on-surface-variant)); 1190 font-size: var(--%NS%mat-datepicker-calendar-header-text-size, var(--%NS%mat-sys-title-small-size)); 1191 font-weight: var(--%NS%mat-datepicker-calendar-header-text-weight, var(--%NS%mat-sys-title-small-weight)); 1192} 1193 1194.mat-calendar-table-header-divider { 1195 position: relative; 1196 height: 1px; 1197} 1198.mat-calendar-table-header-divider::after { 1199 content: ""; 1200 position: absolute; 1201 top: 0; 1202 left: -8px; 1203 right: -8px; 1204 height: 1px; 1205 background: var(--%NS%mat-datepicker-calendar-header-divider-color, transparent); 1206} 1207 1208.mat-calendar-body-cell-content::before { 1209 margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 3px) * -1); 1210} 1211 1212.mat-calendar-body-cell:focus-visible .mat-focus-indicator::before { 1213 content: ""; 1214} 1215`],encapsulation:2})}return i})();var La=(()=>{class i{_elementRef=C(uo);_animationsDisabled=tn();_changeDetectorRef=C(TH);_globalModel=C(Ft);_dateAdapter=C(Pe$1);_ngZone=C(se$1);_rangeSelectionStrategy=C(qe,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;_isAbove=!1;_animationDone=new K;_isAnimating=!1;_closeButtonText;
1215_closeButtonFocused=!1;_actionsPortal=null;_dialogLabelId=null;constructor(){if(C(Be$1).load(sn),this._closeButtonText=C(at).closeCalendarLabel,!this._animationsDisabled){let t=this._elementRef.nativeElement,e=C(Zc);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[e.listen(t,`animationstart`,this._handleAnimationEvent),e.listen(t,`animationend`,this._handleAnimationEvent),e.listen(t,`animationcancel`,this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(t=>t()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){let e=this._model.selection,a=t.value,n=e instanceof A;if(n&&this._rangeSelectionStrategy){let r=this._rangeSelectionStrategy.selectionFinished(a,e,t.event);this._model.updateSelection(r,this)}else a&&(n||!this._dateAdapter.sameDate(a,e))&&this._model.add(a);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(t){this._model.updateSelection(t.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add(`mat-datepicker-content-exit`),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=t=>{let e=this._elementRef.nativeElement;t.target!==e||!t.animationName.startsWith(`_mat-datepicker-content`)||(clearTimeout(this._animationFallback),this._isAnimating=t.type===`animationstart`,e.classList.toggle(`mat-datepicker-content-animating`,this._isAnimating),this._isAnimating||this._animationDone.next())};_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(t,e){this._model=t?this._globalModel.clone():this._globalModel,this._actionsPortal=t,e&&this._changeDetectorRef.detectChanges()}static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[`mat-datepicker-content`]],viewQuery:function(e,a){if(e&1&&im(se,5),e&2){let n;ET(n=IT())&&(a._calendar=n.first)}},hostAttrs:[1,`mat-datepicker-content`],hostVars:6,hostBindings:function(e,a){e&2&&(FT(a.color?`mat-`+a.color:``),pm(`mat-datepicker-content-touch`,a.datepicker.touchUi)(`mat-datepicker-content-animations-enabled`,!a._animationsDisabled))},inputs:{color:`color`},exportAs:[`matDatepickerContent`],decls:5,vars:26,consts:[[`cdkTrapFocus`,``,`role`,`dialog`,1,`mat-datepicker-content-container`],[3,`yearSelected`,`monthSelected`,`viewChanged`,`_userSelection`,`_userDragDrop`,`id`,`startAt`,`startView`,`minDate`,`maxDate`,`dateFilter`,`headerComponent`,`selected`,`dateClass`,`comparisonStart`,`comparisonEnd`,`startDateAccessibleName`,`endDateAccessibleName`],[3,`cdkPortalOutlet`],[`type`,`button`,`matButton`,`elevated`,1,`mat-datepicker-close-button`,3,`focus`,`blur`,`click`,`color`]],template:function(e,a){e&1&&(hs(0,`div`,0)(1,`mat-calendar`,1),tm(`yearSelected`,function(r){return a.datepicker._selectYear(r)})(`monthSelected`,function(r){return a.datepicker._selectMonth(r)})(`viewChanged`,function(r){return a.datepicker._viewChanged(r)})(`_userSelection`,function(r){return a._handleUserSelection(r)})(`_userDragDrop`,function(r){return a._handleUserDragDrop(r)}),uu(),Og(2,Aa,0,0,`ng-template`,2),hs(3,`button`,3),tm(`focus`,function(){return a._closeButtonFocused=!0})(`blur`,function(){return a._closeButtonFocused=!1})(`click`,function(){return a.datepicker.close()}),zT(4),uu()()),e&2&&(pm(`mat-datepicker-content-container-with-custom-header`,a.datepicker.calendarHeaderComponent)(`mat-datepicker-content-container-with-actions`,a._actionsPortal),Wg(`aria-modal`,!0)(`aria-labelledby`,a._dialogLabelId??void 0),gD(),FT(a.datepicker.panelClass),qg(`id`,a.datepicker.id)(`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)(`startDateAccessibleName`,a.startDateAccessibleName)(`endDateAccessibleName`,a.endDateAccessibleName),gD(),qg(`cdkPortalOutlet`,a._actionsPortal),gD(),pm(`cdk-visually-hidden`,!a._closeButtonF
1215ocused),qg(`color`,a.color||`primary`),gD(),bm(a._closeButtonText))},dependencies:[Sa$1,se,pn,Zt],styles:[`@keyframes _mat-datepicker-content-dropdown-enter { 1216 from { 1217 opacity: 0; 1218 transform: scaleY(0.8); 1219 } 1220 to { 1221 opacity: 1; 1222 transform: none; 1223 } 1224} 1225@keyframes _mat-datepicker-content-dialog-enter { 1226 from { 1227 opacity: 0; 1228 transform: scale(0.8); 1229 } 1230 to { 1231 opacity: 1; 1232 transform: none; 1233 } 1234} 1235@keyframes _mat-datepicker-content-exit { 1236 from { 1237 opacity: 1; 1238 } 1239 to { 1240 opacity: 0; 1241 } 1242} 1243.mat-datepicker-content { 1244 display: block; 1245 background-color: var(--%NS%mat-datepicker-calendar-container-background-color, var(--%NS%mat-sys-surface-container-high)); 1246 color: var(--%NS%mat-datepicker-calendar-container-text-color, var(--%NS%mat-sys-on-surface)); 1247 box-shadow: var(--%NS%mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)); 1248 border-radius: var(--%NS%mat-datepicker-calendar-container-shape, var(--%NS%mat-sys-corner-large)); 1249} 1250.mat-datepicker-content.mat-datepicker-content-animations-enabled { 1251 animation: _mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1); 1252} 1253.mat-datepicker-content .mat-calendar { 1254 width: 296px; 1255 height: 354px; 1256} 1257.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar { 1258 height: auto; 1259} 1260.mat-datepicker-content .mat-datepicker-close-button { 1261 position: absolute; 1262 top: 100%; 1263 left: 0; 1264 margin-top: 8px; 1265} 1266.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button { 1267 display: none; 1268} 1269 1270.mat-datepicker-content-container { 1271 display: flex; 1272 flex-direction: column; 1273 justify-content: space-between; 1274} 1275 1276.mat-datepicker-content-touch { 1277 display: block; 1278 max-height: 80vh; 1279 box-shadow: var(--%NS%mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)); 1280 border-radius: var(--%NS%mat-datepicker-calendar-container-touch-shape, var(--%NS%mat-sys-corner-extra-large)); 1281 position: relative; 1282 overflow: visible; 1283 min-height: fit-content; 1284} 1285.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled { 1286 animation: _mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1); 1287} 1288.mat-datepicker-content-touch .mat-datepicker-content-container { 1289 min-height: fit-content; 1290 max-height: 788px; 1291 min-width: 250px; 1292 max-width: 750px; 1293} 1294.mat-datepicker-content-touch .mat-calendar { 1295 width: 100%; 1296 height: auto; 1297} 1298 1299.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled { 1300 animation: _mat-datepicker-content-exit 100ms linear; 1301} 1302 1303@media all and (orientation: landscape) { 1304 .mat-datepicker-content-touch .mat-datepicker-content-container { 1305 width: 64vh; 1306 height: 80vh; 1307 } 1308} 1309@media all and (orientation: portrait) { 1310 .mat-datepicker-content-touch .mat-datepicker-content-container { 1311 width: 80vw; 1312 height: 100vw; 1313 } 1314} 1315`],encapsulation:2})}return i})();var Ya=(()=>{class i{static ɵfac=function(e){return new(e||i)};static ɵdir=Zw({type:i,selectors:[[``,`matDatepickerToggleIcon`,``]]})}return i})();var za=(()=>{class i{_intl=C(at);_changeDetectorRef=C(TH);_stateChanges=J.EMPTY;datepicker;tabIndex=null;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=t}_disabled;disableRipple=!1;_customIcon;_button;constructor(){let t=C(new $m(`tabindex`),{optional:!0}),e=Number(t);this.tabIndex=e||e===0?e:null}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){let t=this.datepicker?this.datepicker.stateChanges:Gs(),e=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Gs(),a=this.datepicker?ky(this.datepicker.openedStream,this.datepicker.closedStream):Gs();this._stateChanges.unsubscribe(),this._stateChanges=ky(this._intl.changes,t,e,a).subscribe(()=>this._changeDetectorRef.markForCheck())}static ɵfac=function(e){return new(e||i)};static ɵcmp=Ww({type:i,selectors:[[`mat-datepicker-toggle`]],contentQueries:function(e,a,n){if(e&1&&om(n,Ya,5),e&2){let r;ET(r=IT())&&(a._customIcon=r.first)}},viewQuery:function(e,a){if(e&1&&im(Ma,5),e&2){let n;ET(n=IT())&&(a._button=n.first)}},hostAttrs:[1,`mat-datepicker-toggle`],hostVars:8,hostBindings:function(e,a){e&1&&tm(`click`,function(r){return a._open(r)}),e&2&&(Wg(`tabindex`,null)(`data-mat-calendar`,a.datepicker?a.datepicker.id:null),pm(`mat-datepicker-toggle-active`,a.datepicker&&a.datepicker.opened)(`mat-accent`,a.datepicker&&a.datepicker.color===`accent`)(`mat-warn`,a.datepicker&&a.datepicker.color===`warn`))},inputs:{datepicker:[0,`for`,`datepicker`],tabIndex:`tabIndex`,ariaLabel:[0,`aria-label`,`ariaLabel`],disabled:[2,`disabled`,`disabled`,MH],disableRipple:`disableRipple`},exportAs:[`matDatepickerToggle`],features:[Jv],ngContentSelectors:Ia,decls:4,vars:7,consts:[[`button`,``],[`matIconButton`,``,`type`,`button`,3,`tabIndex`,`disabled`,`disableRipple`],[`viewBox`,`0 0 24 24`,`width`,`24px`,`height`,`24px`,`fill`,`currentColor`,`focusable`,`false`,`aria-hidden`,`true`,1,`mat-datepicker-toggle-default-icon`],[`d`,`M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z`]],template:function(e,a){e&1&&(mT(Ea),hs(0,`button`,1,0),Kb(2,Va,2,0,`:svg:svg`,2),yT(3),uu()),e&2&&(qg(`tabIndex`,a.disabled?-1:a.tabIndex)(`disabled`,a.disabled)(`disableRipple`,a.disableRipple),Wg(`aria-haspopup`,a.datepicker?`dialog`:null)(`aria-label`,a.ariaLabel||a._intl.openCalendarLabel)(`aria-expanded`,a.datepicker?a.datepicker.opened:null),gD(2),Jb(a._customIcon?-1:2))},dependencies:[Tt],styles:[`.mat-datepicker-toggle { 1316 pointer-events: auto; 1317 color: var(--%NS%mat-datepicker-toggle-icon-color, var(--%NS%mat-sys-on-surface-variant)); 1318} 1319.mat-datepicker-toggle button { 1320 color: inherit; 1321} 1322 1323.mat-datepicker-toggle-active { 1324 color: var(--%NS%mat-datepicker-toggle-active-state-icon-color, var(--%NS%mat-sys-primary)); 1325} 1326 1327@media (forced-colors: active) { 1328 .mat-datepicker-toggle-default-icon { 1329 color: CanvasText; 1330 } 1331} 1332`],encapsulation:2})}return i})();var di=(()=>
1332{class i{static ɵfac=function(e){return new(e||i)};static ɵmod=Gw({type:i});static ɵinj=Od({providers:[at],imports:[Be,Qo,Ta$1,eo$1,La,za,Xe,fo,Qt]})}return i})();export{se as i,at as n,di as r,A as t};
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.