@angular/material
Version:
Angular Material
9 lines • 69.8 kB
JavaScript
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core"),require("@angular/cdk/a11y"),require("@angular/cdk/bidi"),require("@angular/platform-browser"),require("@angular/cdk/coercion"),require("rxjs/Subject"),require("@angular/cdk/keycodes"),require("@angular/cdk/scrolling"),require("@angular/cdk/platform"),require("@angular/cdk/overlay"),require("@angular/cdk/portal"),require("@angular/cdk/rxjs"),require("@angular/cdk/collections"),require("rxjs/observable/merge"),require("rxjs/Subscription")):"function"==typeof define&&define.amd?define(["exports","@angular/common","@angular/core","@angular/cdk/a11y","@angular/cdk/bidi","@angular/platform-browser","@angular/cdk/coercion","rxjs/Subject","@angular/cdk/keycodes","@angular/cdk/scrolling","@angular/cdk/platform","@angular/cdk/overlay","@angular/cdk/portal","@angular/cdk/rxjs","@angular/cdk/collections","rxjs/observable/merge","rxjs/Subscription"],e):e((t.ng=t.ng||{},t.ng.material=t.ng.material||{},t.ng.material.list=t.ng.material.list||{}),t.ng.common,t.ng.core,t.ng.cdk.a11y,t.ng.cdk.bidi,t.ng.platformBrowser,t.ng.cdk.coercion,t.Rx,t.ng.cdk.keycodes,t.ng.cdk.scrolling,t.ng.cdk.platform,t.ng.cdk.overlay,t.ng.cdk.portal,t.ng.cdk.rxjs,t.ng.cdk.collections,t.Rx.Observable,t.Rx)}(this,function(t,e,i,n,a,s,o,l,r,m,c,p,d,u,h,g,f){"use strict";function v(t,e){function i(){this.constructor=t}M(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}function b(t,e){return Error('The "'+t+'-" prefix cannot be used in ng-material v1 compatibility mode. It was used on an "'+e.toLowerCase()+'" element.')}function y(t){return function(t){function e(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var n=t.apply(this,e)||this;return n._disabled=!1,n}return v(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=o.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),e}(t)}function x(t){return function(t){function e(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var n=t.apply(this,e)||this;return n._disableRipple=!1,n}return v(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=o.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),e}(t)}function _(t){return t||new A}function D(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(null==t)throw TypeError("Cannot convert undefined or null to object");for(var n=0,a=e;n<a.length;n++){var s=a[n];if(null!=s)for(var o in s)s.hasOwnProperty(o)&&(t[o]=s[o])}return t}function w(t,e){for(var i=Array(t),n=0;n<t;n++)i[n]=e(n);return i}function C(t){window.getComputedStyle(t).getPropertyValue("opacity")}function k(t,e,i){var n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),a=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+a*a)}var M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},I=function(){function t(){}return t}();I.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",I.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",I.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",I.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";var R=function(){function t(){}return t}();R.COMPLEX="375ms",R.ENTERING="225ms",R.EXITING="195ms";var E=new i.InjectionToken("md-compatibility-mode"),O=function(){function t(t,e){if(!t)throw b("mat",e.nativeElement.nodeName)}return t}();O.decorators=[{type:i.Directive,args:[{selector:"\n [mat-button],\n [mat-fab],\n [mat-icon-button],\n [mat-mini-fab],\n [mat-raised-button],\n [matCardSubtitle],\n [matCardTitle],\n [matCellDef],\n [matColumnDef],\n [matDialogActions],\n [matDialogClose],\n [matDialogContent],\n [matDialogTitle],\n [matHeaderCellDef],\n [matHeaderRowDef],\n [matLine],\n [matRowDef],\n [matStepLabel],\n [matStepperNext],\n [matStepperPrevious],\n [matTabLabel],\n [matTabLink],\n [matTabNav],\n [matTooltip],\n [matInput],\n [matPrefix],\n [matSuffix],\n mat-autocomplete,\n mat-button-toggle,\n mat-button-toggle,\n mat-button-toggle-group,\n mat-card,\n mat-card-actions,\n mat-card-content,\n mat-card-footer,\n mat-card-header,\n mat-card-subtitle,\n mat-card-title,\n mat-card-title-group,\n mat-cell,\n mat-checkbox,\n mat-chip,\n mat-dialog-actions,\n mat-dialog-container,\n mat-dialog-content,\n mat-divider,\n mat-error,\n mat-grid-list,\n mat-grid-tile,\n mat-grid-tile-footer,\n mat-grid-tile-header,\n mat-header-cell,\n mat-header-row,\n mat-hint,\n mat-horizontal-stepper,\n mat-icon,\n mat-input-container,\n mat-form-field,\n mat-list,\n mat-list-item,\n mat-menu,\n mat-nav-list,\n mat-option,\n mat-placeholder,\n mat-progress-bar,\n mat-pseudo-checkbox,\n mat-radio-button,\n mat-radio-group,\n mat-row,\n mat-select,\n mat-sidenav,\n mat-sidenav-container,\n mat-slider,\n mat-spinner,\n mat-step,\n mat-tab,\n mat-table,\n mat-tab-group,\n mat-toolbar,\n mat-vertical-stepper"}]}],O.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[E]}]},{type:i.ElementRef}]};var S=function(){function t(t,e){if(t)throw b("md",e.nativeElement.nodeName)}return t}();S.decorators=[{type:i.Directive,args:[{selector:"\n [md-button],\n [md-fab],\n [md-icon-button],\n [md-mini-fab],\n [md-raised-button],\n [mdCardSubtitle],\n [mdCardTitle],\n [mdCellDef],\n [mdColumnDef],\n [mdDialogActions],\n [mdDialogClose],\n [mdDialogContent],\n [mdDialogTitle],\n [mdHeaderCellDef],\n [mdHeaderRowDef],\n [mdLine],\n [mdRowDef],\n [mdStepLabel],\n [mdStepperNext],\n [mdStepperPrevious],\n [mdTabLabel],\n [mdTabLink],\n [mdTabNav],\n [mdTooltip],\n [mdInput],\n [mdPrefix],\n [mdSuffix],\n md-autocomplete,\n md-button-toggle,\n md-button-toggle,\n md-button-toggle-group,\n md-card,\n md-card-actions,\n md-card-content,\n md-card-footer,\n md-card-header,\n md-card-subtitle,\n md-card-title,\n md-card-title-group,\n md-cell,\n md-checkbox,\n md-chip,\n md-dialog-actions,\n md-dialog-container,\n md-dialog-content,\n md-divider,\n md-error,\n md-grid-list,\n md-grid-tile,\n md-grid-tile-footer,\n md-grid-tile-header,\n md-header-cell,\n md-header-row,\n md-hint,\n md-horizontal-stepper,\n md-icon,\n md-input-container,\n md-form-field,\n md-list,\n md-list-item,\n md-menu,\n md-nav-list,\n md-option,\n md-placeholder,\n md-progress-bar,\n md-pseudo-checkbox,\n md-radio-button,\n md-radio-group,\n md-row,\n md-select,\n md-sidenav,\n md-sidenav-container,\n md-slider,\n md-spinner,\n md-step,\n md-tab,\n md-table,\n md-tab-group,\n md-toolbar,\n md-vertical-stepper"}]}],S.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[E]}]},{type:i.ElementRef}]};var L=function(){function t(){}return t}();L.decorators=[{type:i.NgModule,args:[{declarations:[O,S],exports:[O,S]}]}],L.ctorParameters=function(){return[]};var P=function(){function t(){}return t}();P.decorators=[{type:i.NgModule,args:[{providers:[{provide:E,useValue:!0}]}]}],P.ctorParameters=function(){return[]};var T=new i.InjectionToken("md-sanity-checks"),N=function(){function t(t,e){this._document=t,this._hasDoneGlobalChecks=!1,e&&!this._hasDoneGlobalChecks&&t&&i.isDevMode()&&(this._checkDoctype(),this._checkTheme(),this._hasDoneGlobalChecks=!0)}return t.prototype._checkDoctype=function(){this._document.doctype||console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},t.prototype._checkTheme=function(){if("function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t),"none"!==getComputedStyle(t).display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}},t}();N.decorators=[{type:i.NgModule,args:[{imports:[L,a.BidiModule],exports:[L,a.BidiModule],providers:[{provide:T,useValue:!0}]}]}],N.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[s.DOCUMENT]}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[T]}]}]};var A=function(){function t(){this._listeners=[]}return t.prototype.notify=function(t,e){for(var i=0,n=this._listeners;i<n.length;i++){(0,n[i])(t,e)}},t.prototype.listen=function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter(function(e){return t!==e})}},t}();A.decorators=[{type:i.Injectable}],A.ctorParameters=function(){return[]};var F=(new i.Optional,new i.SkipSelf,new i.InjectionToken("MAT_DATE_LOCALE")),j={provide:F,useExisting:i.LOCALE_ID},z=function(){function t(){this._localeChanges=new l.Subject}return Object.defineProperty(t.prototype,"localeChanges",{get:function(){return this._localeChanges},enumerable:!0,configurable:!0}),t.prototype.getYear=function(t){},t.prototype.getMonth=function(t){},t.prototype.getDate=function(t){},t.prototype.getDayOfWeek=function(t){},t.prototype.getMonthNames=function(t){},t.prototype.getDateNames=function(){},t.prototype.getDayOfWeekNames=function(t){},t.prototype.getYearName=function(t){},t.prototype.getFirstDayOfWeek=function(){},t.prototype.getNumDaysInMonth=function(t){},t.prototype.clone=function(t){},t.prototype.createDate=function(t,e,i){},t.prototype.today=function(){},t.prototype.parse=function(t,e){},t.prototype.format=function(t,e){},t.prototype.addCalendarYears=function(t,e){},t.prototype.addCalendarMonths=function(t,e){},t.prototype.addCalendarDays=function(t,e){},t.prototype.toIso8601=function(t){},t.prototype.fromIso8601=function(t){},t.prototype.isDateInstance=function(t){},t.prototype.isValid=function(t){},t.prototype.setLocale=function(t){this.locale=t,this._localeChanges.next()},t.prototype.compareDate=function(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)},t.prototype.sameDate=function(t,e){return t&&e?!this.compareDate(t,e):t==e},t.prototype.clampDate=function(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t},t}(),V="undefined"!=typeof Intl,B={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},W=w(31,function(t){return String(t+1)}),Y={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},H=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,U=function(t){function e(e){var i=t.call(this)||this;return i.useUtcForDisplay=!0,t.prototype.setLocale.call(i,e),i}return v(e,t),e.prototype.getYear=function(t){return t.getFullYear()},e.prototype.getMonth=function(t){return t.getMonth()},e.prototype.getDate=function(t){return t.getDate()},e.prototype.getDayOfWeek=function(t){return t.getDay()},e.prototype.getMonthNames=function(t){var e=this;if(V){var i=new Intl.DateTimeFormat(this.locale,{month:t});return w(12,function(t){return e._stripDirectionalityCharacters(i.format(new Date(2017,t,1)))})}return B[t]},e.prototype.getDateNames=function(){var t=this;if(V){var e=new Intl.DateTimeFormat(this.locale,{day:"numeric"});return w(31,function(i){return t._stripDirectionalityCharacters(e.format(new Date(2017,0,i+1)))})}return W},e.prototype.getDayOfWeekNames=function(t){var e=this;if(V){var i=new Intl.DateTimeFormat(this.locale,{weekday:t});return w(7,function(t){return e._stripDirectionalityCharacters(i.format(new Date(2017,0,t+1)))})}return Y[t]},e.prototype.getYearName=function(t){if(V){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric"});return this._stripDirectionalityCharacters(e.format(t))}return String(this.getYear(t))},e.prototype.getFirstDayOfWeek=function(){return 0},e.prototype.getNumDaysInMonth=function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))},e.prototype.clone=function(t){return this.createDate(this.getYear(t),this.getMonth(t),this.getDate(t))},e.prototype.createDate=function(t,e,i){if(e<0||e>11)throw Error('Invalid month index "'+e+'". Month index has to be between 0 and 11.');if(i<1)throw Error('Invalid date "'+i+'". Date has to be greater than 0.');var n=this._createDateWithOverflow(t,e,i);if(n.getMonth()!=e)throw Error('Invalid date "'+i+'" for month with index "'+e+'".');return n},e.prototype.today=function(){return new Date},e.prototype.parse=function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null},e.prototype.format=function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(V){this.useUtcForDisplay&&(t=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())),e=D({},e,{timeZone:"utc"}));var i=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(i.format(t))}return this._stripDirectionalityCharacters(t.toDateString())},e.prototype.addCalendarYears=function(t,e){return this.addCalendarMonths(t,12*e)},e.prototype.addCalendarMonths=function(t,e){var i=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(i)!=((this.getMonth(t)+e)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i},e.prototype.addCalendarDays=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)},e.prototype.toIso8601=function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")},e.prototype.fromIso8601=function(t){if(H.test(t)){var e=new Date(t);if(this.isValid(e))return e}return null},e.prototype.isDateInstance=function(t){return t instanceof Date},e.prototype.isValid=function(t){return!isNaN(t.getTime())},e.prototype._createDateWithOverflow=function(t,e,i){var n=new Date(t,e,i);return t>=0&&t<100&&n.setFullYear(this.getYear(n)-1900),n},e.prototype._2digit=function(t){return("00"+t).slice(-2)},e.prototype._stripDirectionalityCharacters=function(t){return t.replace(/[\u200e\u200f]/g,"")},e}(z);U.decorators=[{type:i.Injectable}],U.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[F]}]}]};var q=new i.InjectionToken("md-date-formats"),G={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},J=function(){function t(){}return t}();J.decorators=[{type:i.NgModule,args:[{providers:[{provide:z,useClass:U},j]}]}],J.ctorParameters=function(){return[]};var Z=function(){function t(){}return t}();Z.decorators=[{type:i.NgModule,args:[{imports:[J],providers:[{provide:q,useValue:G}]}]}],Z.ctorParameters=function(){return[]};var K=(new i.InjectionToken("md-error-global-options"),function(t){function e(){var e=t.call(this)||this;return e._hammer="undefined"!=typeof window?window.Hammer:null,e.events=e._hammer?["longpress","slide","slidestart","slideend","slideright","slideleft"]:[],!e._hammer&&i.isDevMode()&&console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),e}return v(e,t),e.prototype.buildHammer=function(t){var e=new this._hammer(t),i=new this._hammer.Pan,n=new this._hammer.Swipe,a=new this._hammer.Press,s=this._createRecognizer(i,{event:"slide",threshold:0},n),o=this._createRecognizer(a,{event:"longpress",time:500});return i.recognizeWith(n),e.add([n,a,i,s,o]),e},e.prototype._createRecognizer=function(t,e){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var a=new t.constructor(e);return i.push(t),i.forEach(function(t){return a.recognizeWith(t)}),a},e}(s.HammerGestureConfig));K.decorators=[{type:i.Injectable}],K.ctorParameters=function(){return[]};var X=function(){function t(){}return t}();X.decorators=[{type:i.Directive,args:[{selector:"[md-line], [mat-line], [mdLine], [matLine]",host:{class:"mat-line"}}]}],X.ctorParameters=function(){return[]};var $=function(){function t(t,e,i){var n=this;this._lines=t,this._renderer=e,this._element=i,this._setLineClass(this._lines.length),this._lines.changes.subscribe(function(){n._setLineClass(n._lines.length)})}return t.prototype._setLineClass=function(t){this._resetClasses(),2===t||3===t?this._setClass("mat-"+t+"-line",!0):t>3&&this._setClass("mat-multi-line",!0)},t.prototype._resetClasses=function(){this._setClass("mat-2-line",!1),this._setClass("mat-3-line",!1),this._setClass("mat-multi-line",!1)},t.prototype._setClass=function(t,e){e?this._renderer.addClass(this._element.nativeElement,t):this._renderer.removeClass(this._element.nativeElement,t)},t}(),Q=function(){function t(){}return t}();Q.decorators=[{type:i.NgModule,args:[{imports:[N],exports:[X,N],declarations:[X]}]}],Q.ctorParameters=function(){return[]};var tt={};tt.FADING_IN=0,tt.VISIBLE=1,tt.FADING_OUT=2,tt.HIDDEN=3,tt[tt.FADING_IN]="FADING_IN",tt[tt.VISIBLE]="VISIBLE",tt[tt.FADING_OUT]="FADING_OUT",tt[tt.HIDDEN]="HIDDEN";var et=function(){function t(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=tt.HIDDEN}return t.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},t}(),it=function(){function t(t,e,i,n){this._ngZone=e,this._ruler=i,this._isMousedown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this.rippleConfig={},this.rippleDisabled=!1,n.isBrowser&&(this._containerElement=t.nativeElement,this._triggerEvents.set("mousedown",this.onMousedown.bind(this)),this._triggerEvents.set("mouseup",this.onMouseup.bind(this)),this._triggerEvents.set("mouseleave",this.onMouseLeave.bind(this)),this.setTriggerElement(this._containerElement))}return t.prototype.fadeInRipple=function(t,e,i){var n=this;void 0===i&&(i={});var a=this._containerElement.getBoundingClientRect();if(i.centered)t=a.left+a.width/2,e=a.top+a.height/2;else{var s=this._ruler.getViewportScrollPosition();t-=s.left,e-=s.top}var o=i.radius||k(t,e,a),l=1/(i.speedFactor||1)*450,r=t-a.left,m=e-a.top,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=r-o+"px",c.style.top=m-o+"px",c.style.height=2*o+"px",c.style.width=2*o+"px",c.style.backgroundColor=i.color||null,c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),C(c),c.style.transform="scale(1)";var p=new et(this,c,i);return p.state=tt.FADING_IN,this._activeRipples.add(p),this.runTimeoutOutsideZone(function(){p.state=tt.VISIBLE,i.persistent||n._isMousedown||p.fadeOut()},l),p},t.prototype.fadeOutRipple=function(t){if(this._activeRipples.delete(t)){var e=t.element;e.style.transitionDuration="400ms",e.style.opacity="0",t.state=tt.FADING_OUT,this.runTimeoutOutsideZone(function(){t.state=tt.HIDDEN,e.parentNode.removeChild(e)},400)}},t.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(t){return t.fadeOut()})},t.prototype.setTriggerElement=function(t){var e=this;this._triggerElement&&this._triggerEvents.forEach(function(t,i){e._triggerElement.removeEventListener(i,t)}),t&&this._ngZone.runOutsideAngular(function(){e._triggerEvents.forEach(function(e,i){return t.addEventListener(i,e)})}),this._triggerElement=t},t.prototype.onMousedown=function(t){this.rippleDisabled||(this._isMousedown=!0,this.fadeInRipple(t.pageX,t.pageY,this.rippleConfig))},t.prototype.onMouseup=function(){this._isMousedown=!1,this._activeRipples.forEach(function(t){t.config.persistent||t.state!==tt.VISIBLE||t.fadeOut()})},t.prototype.onMouseLeave=function(){this._isMousedown&&this.onMouseup()},t.prototype.runTimeoutOutsideZone=function(t,e){void 0===e&&(e=0),this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})},t}(),nt=new i.InjectionToken("md-ripple-global-options"),at=function(){function t(t,e,i,n,a){this.radius=0,this.speedFactor=1,this._rippleRenderer=new it(t,e,i,n),this._globalOptions=a||{},this._updateRippleRenderer()}return Object.defineProperty(t.prototype,"_matRippleTrigger",{get:function(){return this.trigger},set:function(t){this.trigger=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleCentered",{get:function(){return this.centered},set:function(t){this.centered=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleDisabled",{get:function(){return this.disabled},set:function(t){this.disabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleRadius",{get:function(){return this.radius},set:function(t){this.radius=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleSpeedFactor",{get:function(){return this.speedFactor},set:function(t){this.speedFactor=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleColor",{get:function(){return this.color},set:function(t){this.color=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleUnbounded",{get:function(){return this.unbounded},set:function(t){this.unbounded=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){(t.trigger||t._matRippleTrigger)&&this.trigger&&this._rippleRenderer.setTriggerElement(this.trigger),this._updateRippleRenderer()},t.prototype.ngOnDestroy=function(){this._rippleRenderer.setTriggerElement(null)},t.prototype.launch=function(t,e,i){return void 0===i&&(i=this.rippleConfig),this._rippleRenderer.fadeInRipple(t,e,i)},t.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(t.prototype,"rippleConfig",{get:function(){return{centered:this.centered,speedFactor:this.speedFactor*(this._globalOptions.baseSpeedFactor||1),radius:this.radius,color:this.color}},enumerable:!0,configurable:!0}),t.prototype._updateRippleRenderer=function(){this._rippleRenderer.rippleDisabled=this._globalOptions.disabled||this.disabled,this._rippleRenderer.rippleConfig=this.rippleConfig},t}();at.decorators=[{type:i.Directive,args:[{selector:"[md-ripple], [mat-ripple], [mdRipple], [matRipple]",exportAs:"mdRipple, matRipple",host:{class:"mat-ripple","[class.mat-ripple-unbounded]":"unbounded"}}]}],at.ctorParameters=function(){return[{type:i.ElementRef},{type:i.NgZone},{type:m.ViewportRuler},{type:c.Platform},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[nt]}]}]},at.propDecorators={trigger:[{type:i.Input,args:["mdRippleTrigger"]}],centered:[{type:i.Input,args:["mdRippleCentered"]}],disabled:[{type:i.Input,args:["mdRippleDisabled"]}],radius:[{type:i.Input,args:["mdRippleRadius"]}],speedFactor:[{type:i.Input,args:["mdRippleSpeedFactor"]}],color:[{type:i.Input,args:["mdRippleColor"]}],unbounded:[{type:i.Input,args:["mdRippleUnbounded"]}],_matRippleTrigger:[{type:i.Input,args:["matRippleTrigger"]}],_matRippleCentered:[{type:i.Input,args:["matRippleCentered"]}],_matRippleDisabled:[{type:i.Input,args:["matRippleDisabled"]}],_matRippleRadius:[{type:i.Input,args:["matRippleRadius"]}],_matRippleSpeedFactor:[{type:i.Input,args:["matRippleSpeedFactor"]}],_matRippleColor:[{type:i.Input,args:["matRippleColor"]}],_matRippleUnbounded:[{type:i.Input,args:["matRippleUnbounded"]}]};var st=function(){function t(){}return t}();st.decorators=[{type:i.NgModule,args:[{imports:[N,c.PlatformModule,m.ScrollDispatchModule],exports:[at,N],declarations:[at],providers:[m.VIEWPORT_RULER_PROVIDER]}]}],st.ctorParameters=function(){return[]};var ot=function(){function t(){this.state="unchecked",this.disabled=!1}return t}();ot.decorators=[{type:i.Component,args:[{encapsulation:i.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:i.ChangeDetectionStrategy.OnPush,selector:"md-pseudo-checkbox, mat-pseudo-checkbox",styles:[".mat-pseudo-checkbox{width:20px;height:20px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:9px;left:2px;width:16px;opacity:1}.mat-pseudo-checkbox-checked::after{top:5px;left:3px;width:12px;height:5px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],template:"",host:{class:"mat-pseudo-checkbox","[class.mat-pseudo-checkbox-indeterminate]":'state === "indeterminate"',"[class.mat-pseudo-checkbox-checked]":'state === "checked"',"[class.mat-pseudo-checkbox-disabled]":"disabled"}}]}],ot.ctorParameters=function(){return[]},ot.propDecorators={state:[{type:i.Input}],disabled:[{type:i.Input}]};var lt=function(){function t(){}return t}();lt.decorators=[{type:i.NgModule,args:[{exports:[ot],declarations:[ot]}]}],lt.ctorParameters=function(){return[]};var rt=function(){function t(){}return t}(),mt=y(rt),ct=0,pt=function(t){function e(){var e=t.apply(this,arguments)||this;return e._labelId="mat-optgroup-label-"+ct++,e}return v(e,t),e}(mt);pt.decorators=[{type:i.Component,args:[{selector:"md-optgroup, mat-optgroup",template:'<label class="mat-optgroup-label" [id]="_labelId">{{ label }}</label><ng-content select="md-option, mat-option"></ng-content>',encapsulation:i.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:i.ChangeDetectionStrategy.OnPush,inputs:["disabled"],host:{class:"mat-optgroup",role:"group","[class.mat-optgroup-disabled]":"disabled","[attr.aria-disabled]":"disabled.toString()","[attr.aria-labelledby]":"_labelId"}}]}],pt.ctorParameters=function(){return[]},pt.propDecorators={label:[{type:i.Input}]};var dt=0,ut=function(){function t(t,e){void 0===e&&(e=!1),this.source=t,this.isUserInput=e}return t}(),ht=function(){function t(t,e,n){this._element=t,this._changeDetectorRef=e,this.group=n,this._selected=!1,this._active=!1,this._multiple=!1,this._disableRipple=!1,this._disabled=!1,this._id="md-option-"+dt++,this.onSelectionChange=new i.EventEmitter}return Object.defineProperty(t.prototype,"multiple",{get:function(){return this._multiple},set:function(t){t!==this._multiple&&(this._multiple=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=o.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=t,this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),t.prototype.select=function(){this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent()},t.prototype.deselect=function(){this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent()},t.prototype.focus=function(){var t=this._getHostElement();"function"==typeof t.focus&&t.focus()},t.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},t.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},t.prototype.getLabel=function(){return this.viewValue},t.prototype._handleKeydown=function(t){t.keyCode!==r.ENTER&&t.keyCode!==r.SPACE||(this._selectViaInteraction(),t.preventDefault())},t.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},t.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},t.prototype._getHostElement=function(){return this._element.nativeElement},t.prototype._emitSelectionChangeEvent=function(t){void 0===t&&(t=!1),this.onSelectionChange.emit(new ut(this,t))},t.countGroupLabelsBeforeOption=function(t,e,i){if(i.length){for(var n=e.toArray(),a=i.toArray(),s=0,o=0;o<t+1;o++)n[o].group&&n[o].group===a[s]&&s++;return s}return 0},t}();ht.decorators=[{type:i.Component,args:[{selector:"md-option, mat-option",host:{role:"option","[attr.tabindex]":"_getTabIndex()","[class.mat-selected]":"selected","[class.mat-option-multiple]":"multiple","[class.mat-active]":"active","[id]":"id","[attr.aria-selected]":"selected.toString()","[attr.aria-disabled]":"disabled.toString()","[class.mat-option-disabled]":"disabled","(click)":"_selectViaInteraction()","(keydown)":"_handleKeydown($event)",class:"mat-option"},template:'<span *ngIf="multiple"><mat-pseudo-checkbox class="mat-option-pseudo-checkbox" [state]="selected ? \'checked\' : \'\'" [disabled]="disabled"></mat-pseudo-checkbox></span><ng-content></ng-content><div class="mat-option-ripple" mat-ripple [matRippleTrigger]="_getHostElement()" [matRippleDisabled]="disabled || disableRipple"></div>',encapsulation:i.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:i.ChangeDetectionStrategy.OnPush,viewProviders:[{provide:E,useValue:!0}]}]}],ht.ctorParameters=function(){return[{type:i.ElementRef},{type:i.ChangeDetectorRef},{type:pt,decorators:[{type:i.Optional}]}]},ht.propDecorators={value:[{type:i.Input}],disabled:[{type:i.Input}],onSelectionChange:[{type:i.Output}]};var gt=function(){function t(){}return t}();gt.decorators=[{type:i.NgModule,args:[{imports:[st,e.CommonModule,lt],exports:[ht,pt],declarations:[ht,pt]}]}],gt.ctorParameters=function(){return[]};var ft=(new i.InjectionToken("md-placeholder-global-options"),function(){function t(){}return t}());ft.decorators=[{type:i.NgModule,args:[{imports:[n.A11yModule],exports:[n.A11yModule]}]}],ft.ctorParameters=function(){return[]};var vt=function(){function t(){}return t}(),bt=x(vt),yt=function(){function t(){}return t}(),xt=x(yt),_t=function(){function t(){}return t}();_t.decorators=[{type:i.Directive,args:[{selector:"md-divider, mat-divider",host:{role:"separator","aria-orientation":"horizontal"}}]}],_t.ctorParameters=function(){return[]};var Dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e}(bt);Dt.decorators=[{type:i.Component,args:[{selector:"md-list, mat-list, md-nav-list, mat-nav-list",host:{role:"list"},template:"<ng-content></ng-content>",
styles:[".mat-subheader{display:block;box-sizing:border-box;padding:16px}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-nav-list .mat-list-item,.mat-selection-list .mat-list-item{display:block}.mat-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;height:48px;padding:0 16px;position:relative}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-avatar .mat-list-item-content,.mat-nav-list .mat-list-item.mat-list-item-avatar .mat-list-item-content,.mat-selection-list .mat-list-item.mat-list-item-avatar .mat-list-item-content{height:56px}.mat-list .mat-list-item.mat-2-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-2-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-2-line .mat-list-item-content{height:72px}.mat-list .mat-list-item.mat-3-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-3-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-3-line .mat-list-item-content{height:88px}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content{height:100%;padding:8px 16px}.mat-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0 16px}.mat-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-text:nth-child(2),.mat-nav-list .mat-list-item .mat-list-text:nth-child(2),.mat-selection-list .mat-list-item .mat-list-text:nth-child(2){padding:0}.mat-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon{width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-option,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-option{display:block}.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;height:48px;padding:0 16px;position:relative}.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-option.mat-list-item-avatar .mat-list-item-content,.mat-nav-list .mat-list-option.mat-list-item-avatar .mat-list-item-content,.mat-selection-list .mat-list-option.mat-list-item-avatar .mat-list-item-content{height:56px}.mat-list .mat-list-option.mat-2-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-2-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-2-line .mat-list-item-content{height:72px}.mat-list .mat-list-option.mat-3-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-3-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-3-line .mat-list-item-content{height:88px}.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{height:100%;padding:8px 16px}.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0 16px}.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-option .mat-list-text:nth-child(2),.mat-nav-list .mat-list-option .mat-list-text:nth-child(2),.mat-selection-list .mat-list-option .mat-list-text:nth-child(2){padding:0}.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-item{display:block}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;height:40px;padding:0 16px;position:relative}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-avatar .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-list-item-avatar .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-list-item-avatar .mat-list-item-content{height:48px}.mat-list[dense] .mat-list-item.mat-2-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-2-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-2-line .mat-list-item-content{height:60px}.mat-list[dense] .mat-list-item.mat-3-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-3-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-3-line .mat-list-item-content{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content{height:100%;padding:8px 16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0 16px}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-text:nth-child(2),.mat-nav-list[dense] .mat-list-item .mat-list-text:nth-child(2),.mat-selection-list[dense] .mat-list-item .mat-list-text:nth-child(2){padding:0}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon{width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-option{display:block}.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;height:40px;padding:0 16px;position:relative}.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-option.mat-list-item-avatar .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-list-item-avatar .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-list-item-avatar .mat-list-item-content{height:48px}.mat-list[dense] .mat-list-option.mat-2-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-2-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-2-line .mat-list-item-content{height:60px}.mat-list[dense] .mat-list-option.mat-3-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-3-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-3-line .mat-list-item-content{height:76px}.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{height:100%;padding:8px 16px}.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0 16px}.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-option .mat-list-text:nth-child(2),.mat-nav-list[dense] .mat-list-option .mat-list-text:nth-child(2),.mat-selection-list[dense] .mat-list-option .mat-list-text:nth-child(2){padding:0}.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-divider{display:block;border-top-style:solid;border-top-width:1px;margin:0}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item-content{cursor:pointer}.mat-nav-list .mat-list-item-content.mat-list-item-focus,.mat-nav-list .mat-list-item-content:hover{outline:0}.mat-list-option:not([disabled]){cursor:pointer}"],inputs:["disableRipple"],encapsulation:i.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:i.ChangeDetectionStrategy.OnPush}]}],Dt.ctorParameters=function(){return[]};var wt=function(){function t(){}return t}();wt.decorators=[{type:i.Directive,args:[{selector:"md-list, mat-list",host:{class:"mat-list"}}]}],wt.ctorParameters=function(){return[]};var Ct=function(){function t(){}return t}();Ct.decorators=[{type:i.Directive,args:[{selector:"md-nav-list, mat-nav-list",host:{class:"mat-nav-list"}}]}],Ct.ctorParameters=function(){return[]};var kt=function(){function t(){}return t}();kt.decorators=[{type:i.Directive,args:[{selector:"md-divider, mat-divider",host:{class:"mat-divider"}}]}],kt.ctorParameters=function(){return[]};var Mt=function(){function t(){}return t}();Mt.decorators=[{type:i.Directive,args:[{selector:"[md-list-avatar], [mat-list-avatar], [mdListAvatar], [matListAvatar]",host:{class:"mat-list-avatar"}}]}],Mt.ctorParameters=function(){return[]};var It=function(){function t(){}return t}();It.decorators=[{type:i.Directive,args:[{selector:"[md-list-icon], [mat-list-icon], [mdListIcon], [matListIcon]",host:{class:"mat-list-icon"}}]}],It.ctorParameters=function(){return[]};var Rt=function(){function t(){}return t}();Rt.decorators=[{type:i.Directive,args:[{selector:"[md-subheader], [mat-subheader], [mdSubheader], [matSubheader]",host:{class:"mat-subheader"}}]}],Rt.ctorParameters=function(){return[]};var Et=function(t){function e(e,i,n,a){var s=t.call(this)||this;return s._renderer=e,s._element=i,s._list=n,s._isNavList=!1,s._isNavList=!!a,s}return v(e,t),Object.defineProperty(e.prototype,"_hasAvatar",{set:function(t){null!=t?this._renderer.addClass(this._element.nativeElement,"mat-list-item-avatar"):this._renderer.removeClass(this._element.nativeElement,"mat-list-item-avatar")},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._lineSetter=new $(this._lines,this._renderer,this._element)},e.prototype._isRippleDisabled=function(){return!this._isNavList||this.disableRipple||this._list.disableRipple},e.prototype._handleFocus=function(){this._renderer.addClass(this._element.nativeElement,"mat-list-item-focus")},e.prototype._handleBlur=function(){this._renderer.removeClass(this._element.nativeElement,"mat-list-item-focus")},e.prototype._getHostElement=function(){return this._element.nativeElement},e}(xt);Et.decorators=[{type:i.Component,args:[{selector:"md-list-item, mat-list-item, a[md-list-item], a[mat-list-item]",host:{role:"listitem",class:"mat-list-item","(focus)":"_handleFocus()","(blur)":"_handleBlur()"},inputs:["disableRipple"],template:'<div class="mat-list-item-content"><div class="mat-list-item-ripple" mat-ripple [matRippleTrigger]="_getHostElement()" [matRippleDisabled]="_isRippleDisabled()"></div><ng-content select="[md-list-avatar], [md-list-icon], [mat-list-avatar], [mat-list-icon], [mdListAvatar], [mdListIcon], [matListAvatar], [matListIcon]"></ng-content><div class="mat-list-text"><ng-content select="[md-line], [mat-line], [mdLine], [matLine]"></ng-content></div><ng-content></ng-content></div>',encapsulation:i.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:i.ChangeDetectionStrategy.OnPush,viewProviders:[{provide:E,useValue:!0}]}]}],Et.ctorParameters=function(){return[{type:i.Renderer2},{type:i.ElementRef},{type:Dt,decorators:[{type:i.Optional}]},{type:Ct,decorators:[{type:i.Optional}]}]},Et.propDecorators={_lines:[{type:i.ContentChildren,args:[X]}],_hasAvatar:[{type:i.ContentChild,args:[Mt]}]};var Ot=function(){function t(){}return t}(),St=x(y(Ot)),Lt=function(){function t(){}return t}(),Pt=x(Lt),Tt=function(t){function e(e,n,a,s){var o=t.call(this)||this;return o._renderer=e,o._element=n,o._changeDetector=a,o.selectionList=s,o._selected=!1,o._disabled=!1,o._hasFocus=!1,o.checkboxPosition="after",o.onFocus=new i.EventEmitter,o.selectChange=new i.EventEmitter,o.deselected=new i.EventEmitter,o.destroyed=new i.EventEmitter,o}return v(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.selectionList&&this.selectionList.disabled||this._disabled},set:function(t){this._disabled=o.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=o.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._lineSetter=new $(this._lines,this._renderer,this._element),this.selectionList.disabled&&(this.disabled=!0)},e.prototype.ngOnDestroy=function(){this.destroyed.emit({option:this})},e.prototype.toggle=function(){this.selected=!this.selected,this.selectionList.selectedOptions.toggle(this),this._changeDetector.markF