| */function w(e){return function(){return e.scrollStrategies.reposition()}}var k,M=new i.InjectionToken("MAT_SELECT_CONFIG"),I={provide:C,deps:[t.Overlay],useFactory:w},S=function S(e,t){this.source=e,this.value=t},x=r.mixinDisableRipple(r.mixinTabIndex(r.mixinDisabled(r.mixinErrorState((function E(e,t,n,i,r){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}))))),A=new i.InjectionToken("MatSelectTrigger");(k=function k(){}).decorators=[{type:i.Directive,args:[{selector:"mat-select-trigger",providers:[{provide:A,useExisting:k}]}]}];var T=function(e){function t(t,n,r,o,a,l,s,c,p,u,h,m,_,y){var f,b,C,w=this;return(w=e.call(this,a,o,s,c,u)||this)._viewportRuler=t,w._changeDetectorRef=n,w._ngZone=r,w._dir=l,w._parentFormField=p,w.ngControl=u,w._liveAnnouncer=_,w._defaultOptions=y,w._panelOpen=!1,w._compareWith=function(e,t){return e===t},w._uid="mat-select-"+O++,w._triggerAriaLabelledBy=null,w._destroy=new d.Subject,w._onChange=function(){},w._onTouched=function(){},w._valueId="mat-select-value-"+O++,w._panelDoneAnimatingStream=new d.Subject,w._overlayPanelClass=(null===(f=w._defaultOptions)||void 0===f?void 0:f.overlayPanelClass)||"",w._focused=!1,w.controlType="mat-select",w._required=!1,w._multiple=!1,w._disableOptionCentering=null!==(C=null===(b=w._defaultOptions)||void 0===b?void 0:b.disableOptionCentering)&&void 0!==C&&C,w.ariaLabel="",w.optionSelectionChanges=d.defer((function(){var e=w.options;return e?e.changes.pipe(g.startWith(e),g.switchMap((function(){return d.merge.apply(void 0,v(e.map((function(e){return e.onSelectionChange}))))}))):w._ngZone.onStable.pipe(g.take(1),g.switchMap((function(){return w.optionSelectionChanges})))})),w.openedChange=new i.EventEmitter,w._openedStream=w.openedChange.pipe(g.filter((function(e){return e})),g.map((function(){}))),w._closedStream=w.openedChange.pipe(g.filter((function(e){return!e})),g.map((function(){}))),w.selectionChange=new i.EventEmitter,w.valueChange=new i.EventEmitter,w.ngControl&&(w.ngControl.valueAccessor=w),null!=(null==y?void 0:y.typeaheadDebounceInterval)&&(w._typeaheadDebounceInterval=y.typeaheadDebounceInterval),w._scrollStrategyFactory=m,w._scrollStrategy=w._scrollStrategyFactory(),w.tabIndex=parseInt(h)||0,w.id=w.id,w}return y(t,e),Object.defineProperty(t.prototype,"focused",{get:function(){return this._focused||this._panelOpen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(e){this._required=c.coerceBooleanProperty(e),this.stateChanges.next()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"multiple",{get:function(){return this._multiple},set:function(e){this._multiple=c.coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=c.coerceBooleanProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"typeaheadDebounceInterval",{get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=c.coerceNumberProperty(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var e=this;this._selectionModel=new p.SelectionModel(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(g.distinctUntilChanged(),g.takeUntil(this._destroy)).subscribe((function(){return e._panelDoneAnimating(e.panelOpen)}))},t.prototype.ngAfterContentInit=function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(g.takeUntil(this._destroy)).subscribe((function(e){e.added.forEach((function(e){return e.select()})),e.removed.forEach((function(e){return e.deselect()}))})),this.options.changes.pipe(g.startWith(null),g.takeUntil(this._destroy)).subscribe((function(){e._resetOptions(),e._initializeSelection()}))},t.prototype.ngDoCheck=function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()},t.prototype.ngOnChanges=function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)},t.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},t.prototype.toggle=function(){this.panelOpen?this.close():this.open()},t.prototype.open=function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())},t.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},t.prototype.writeValue=function(e){this.value=e},t.prototype.registerOnChange=function(e){this._onChange=e},t.prototype.registerOnTouched=function(e){this._onTouched=e},t.prototype.setDisabledState=function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(t.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map((function(e){return e.viewValue}));return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!1,configurable:!0}),t.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},t.prototype._handleKeydown=function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))},t.prototype._handleClosedKeydown=function(e){var t=e.keyCode,n=t===u.DOWN_ARROW||t===u.UP_ARROW||t===u.LEFT_ARROW||t===u.RIGHT_ARROW,i=t===u.ENTER||t===u.SPACE,r=this._keyManager;if(!r.isTyping()&&i&&!u.hasModifierKey(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;r.onKeydown(e);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}},t.prototype._handleOpenKeydown=function(e){var t=this._keyManager,n=e.keyCode,i=n===u.DOWN_ARROW||n===u.UP_ARROW,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||n!==u.ENTER&&n!==u.SPACE||!t.activeItem||u.hasModifierKey(e))if(!r&&this._multiple&&n===u.A&&e.ctrlKey){e.preventDefault();var o=this.options.some((function(e){return!e.disabled&&!e.selected}));this.options.forEach((function(e){e.disabled||(o?e.select():e.deselect())}))}else{var a=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()},t.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},t.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},t.prototype._onAttached=function(){var e=this;this.overlayDir.positionChange.pipe(g.take(1)).subscribe((function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()}))},t.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(t.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!1,configurable:!0}),t.prototype._initializeSelection=function(){var e=this;Promise.resolve().then((function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()}))},t.prototype._setSelectionByValue=function(e){var t=this;if(this._selectionModel.selected.forEach((function(e){return e.setInactiveStyles()})),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach((function(e){return t._selectValue(e)})),this._sortValues();else{var n=this._selectValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()},t.prototype._selectValue=function(e){var t=this,n=this.options.find((function(n){if(t._selectionModel.isSelected(n))return!1;try{return null!=n.value&&t._compareWith(n.value,e)}catch(e){return!1}}));return n&&this._selectionModel.select(n),n},t.prototype._initKeyManager=function(){var e=this;this._keyManager=new l.ActiveDescendantKeyManager(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(g.takeUntil(this._destroy)).subscribe((function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())})),this._keyManager.change.pipe(g.takeUntil(this._destroy)).subscribe((function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()}))},t.prototype._resetOptions=function(){var e=this,t=d.merge(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(g.takeUntil(t)).subscribe((function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())})),d.merge.apply(void 0,v(this.options.map((function(e){return e._stateChanges})))).pipe(g.takeUntil(t)).subscribe((function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()}))},t.prototype._onSelect=function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()},t.prototype._sortValues=function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort((function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)})),this.stateChanges.next()}},t.prototype._propagateChanges=function(e){var t;t=this.multiple?this.selected.map((function(e){return e.value})):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()},t.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},t.prototype._canOpen=function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0},t.prototype.focus=function(e){this._elementRef.nativeElement.focus(e)},t.prototype._getPanelAriaLabelledby=function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t},t.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},t.prototype._getTriggerAriaLabelledby=function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n},t.prototype._panelDoneAnimating=function(e){this.openedChange.emit(e)},t.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},t.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(t.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder},enumerable:!1,configurable:!0}),t}(x);T.decorators=[{type:i.Directive}],T.ctorParameters=function(){return[{type:a.ViewportRuler},{type:i.ChangeDetectorRef},{type:i.NgZone},{type:r.ErrorStateMatcher},{type:i.ElementRef},{type:s.Directionality,decorators:[{type:i.Optional}]},{type:h.NgForm,decorators:[{type:i.Optional}]},{type:h.FormGroupDirective,decorators:[{type:i.Optional}]},{type:o.MatFormField,decorators:[{type:i.Optional},{type:i.Inject,args:[o.MAT_FORM_FIELD]}]},{type:h.NgControl,decorators:[{type:i.Self},{type:i.Optional}]},{type:String,decorators:[{type:i.Attribute,args:["tabindex"]}]},{type:void 0,decorators:[{type:i.Inject,args:[C]}]},{type:l.LiveAnnouncer},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[M]}]}]},T.propDecorators={trigger:[{type:i.ViewChild,args:["trigger"]}],panel:[{type:i.ViewChild,args:["panel"]}],overlayDir:[{type:i.ViewChild,args:[t.CdkConnectedOverlay]}],panelClass:[{type:i.Input}],placeholder:[{type:i.Input}],required:[{type:i.Input}],multiple:[{type:i.Input}],disableOptionCentering:[{type:i.Input}],compareWith:[{type:i.Input}],value:[{type:i.Input}],ariaLabel:[{type:i.Input,args:["aria-label"]}],ariaLabelledby:[{type:i.Input,args:["aria-labelledby"]}],errorStateMatcher:[{type:i.Input}],typeaheadDebounceInterval:[{type:i.Input}],sortComparator:[{type:i.Input}],id:[{type:i.Input}],openedChange:[{type:i.Output}],_openedStream:[{type:i.Output,args:["opened"]}],_closedStream:[{type:i.Output,args:["closed"]}],selectionChange:[{type:i.Output}],valueChange:[{type:i.Output}]};var D,R=function(e){function t(){var t=e.apply(this,v(arguments))||this;return t._scrollTop=0,t._triggerFontSize=0,t._transformOrigin="top",t._offsetY=0,t._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],t}return y(t,e),t.prototype._calculateOverlayScroll=function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)},t.prototype.ngOnInit=function(){var t=this;e.prototype.ngOnInit.call(this),this._viewportRuler.change().pipe(g.takeUntil(this._destroy)).subscribe((function(){t.panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())}))},t.prototype.open=function(){var t=this;e.prototype._canOpen.call(this)&&(e.prototype.open.call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(g.take(1)).subscribe((function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")})))},t.prototype._scrollOptionIntoView=function(e){var t=r._countGroupLabelsBeforeOption(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=r._getOptionScrollPosition((e+t)*n,n,this.panel.nativeElement.scrollTop,256)},t.prototype._positioningSettled=function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop},t.prototype._panelDoneAnimating=function(t){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),e.prototype._panelDoneAnimating.call(this,t)},t.prototype._getChangeEvent=function(e){return new S(this,e)},t.prototype._calculateOverlayOffsetX=function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}i||(e*=-1);var a=0-(t.left+e-(i?r:0)),l=t.right+e-n.width+(i?0:r);a>0?e+=a+8:l>0&&(e-=l+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()},t.prototype._calculateOverlayOffsetY=function(e,t,n){var i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-o))},t.prototype._checkOverlayWithinViewport=function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,e):this._transformOrigin=this._getOriginBasedOnOption()},t.prototype._adjustPanelUp=function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},t.prototype._adjustPanelDown=function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},t.prototype._calculateOverlayPosition=function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,256),o=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=r._countGroupLabelsBeforeOption(e,this.options,this.optionGroups);var a=i/2;this._scrollTop=this._calculateOverlayScroll(e,a,o),this._offsetY=this._calculateOverlayOffsetY(e,a,o),this._checkOverlayWithinViewport(o)},t.prototype._getOriginBasedOnOption=function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-t+e/2)+"px 0px"},t.prototype._getItemHeight=function(){return 3*this._triggerFontSize},t.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},t}(T);R.decorators=[{type:i.Component,args:[{selector:"mat-select",exportAs:"matSelect",template:'\x3c!--\n Note that the select trigger element specifies `aria-owns` pointing to the listbox overlay.\n While aria-owns is not required for the ARIA 1.2 `role="combobox"` interaction pattern,\n it fixes an issue with VoiceOver when the select appears inside of an `aria-model="true"`\n element (e.g. a dialog). Without this `aria-owns`, the `aria-modal` on a dialog prevents\n VoiceOver from "seeing" the select\'s listbox overlay for aria-activedescendant.\n Using `aria-owns` re-parents the select overlay so that it works again.\n See https://github.com/angular/components/issues/20694\n--\x3e\n<div cdk-overlay-origin\n [attr.aria-owns]="panelOpen ? id + \'-panel\' : null"\n class="mat-select-trigger"\n (click)="toggle()"\n #origin="cdkOverlayOrigin"\n #trigger>\n <div class="mat-select-value" [ngSwitch]="empty" [attr.id]="_valueId">\n <span class="mat-select-placeholder mat-select-min-line" *ngSwitchCase="true">{{placeholder}}</span>\n <span class="mat-select-value-text" *ngSwitchCase="false" [ngSwitch]="!!customTrigger">\n <span class="mat-select-min-line" *ngSwitchDefault>{{triggerValue}}</span>\n <ng-content select="mat-select-trigger" *ngSwitchCase="true"></ng-content>\n </span>\n </div>\n\n <div class="mat-select-arrow-wrapper"><div class="mat-select-arrow"></div></div>\n</div>\n\n<ng-template\n cdk-connected-overlay\n cdkConnectedOverlayLockPosition\n cdkConnectedOverlayHasBackdrop\n cdkConnectedOverlayBackdropClass="cdk-overlay-transparent-backdrop"\n [cdkConnectedOverlayPanelClass]="_overlayPanelClass"\n [cdkConnectedOverlayScrollStrategy]="_scrollStrategy"\n [cdkConnectedOverlayOrigin]="origin"\n [cdkConnectedOverlayOpen]="panelOpen"\n [cdkConnectedOverlayPositions]="_positions"\n [cdkConnectedOverlayMinWidth]="_triggerRect?.width!"\n [cdkConnectedOverlayOffsetY]="_offsetY"\n (backdropClick)="close()"\n (attach)="_onAttached()"\n (detach)="close()">\n <div class="mat-select-panel-wrap" [@transformPanelWrap]>\n <div\n #panel\n role="listbox"\n tabindex="-1"\n class="mat-select-panel {{ _getPanelTheme() }}"\n [attr.id]="id + \'-panel\'"\n [attr.aria-multiselectable]="multiple"\n [attr.aria-label]="ariaLabel || null"\n [attr.aria-labelledby]="_getPanelAriaLabelledby()"\n [ngClass]="panelClass"\n [@transformPanel]="multiple ? \'showing-multiple\' : \'showing\'"\n (@transformPanel.done)="_panelDoneAnimatingStream.next($event.toState)"\n [style.transformOrigin]="_transformOrigin"\n [style.font-size.px]="_triggerFontSize"\n (keydown)="_handleKeydown($event)">\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n',inputs:["disabled","disableRipple","tabIndex"],encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,host:{role:"combobox","aria-autocomplete":"none","aria-haspopup":"true",class:"mat-select","[attr.id]":"id","[attr.tabindex]":"tabIndex","[attr.aria-controls]":'panelOpen ? id + "-panel" : null',"[attr.aria-expanded]":"panelOpen","[attr.aria-label]":"ariaLabel || null","[attr.aria-required]":"required.toString()","[attr.aria-disabled]":"disabled.toString()","[attr.aria-invalid]":"errorState","[attr.aria-describedby]":"_ariaDescribedby || null","[attr.aria-activedescendant]":"_getAriaActiveDescendant()","[class.mat-select-disabled]":"disabled","[class.mat-select-invalid]":"errorState","[class.mat-select-required]":"required","[class.mat-select-empty]":"empty","[class.mat-select-multiple]":"multiple","(keydown)":"_handleKeydown($event)","(focus)":"_onFocus()","(blur)":"_onBlur()"},animations:[b.transformPanelWrap,b.transformPanel],providers:[{provide:o.MatFormFieldControl,useExisting:R},{provide:r.MAT_OPTION_PARENT_COMPONENT,useExisting:R}],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n']}]}],R.propDecorators={options:[{type:i.ContentChildren,args:[r.MatOption,{descendants:!0}]}],optionGroups:[{type:i.ContentChildren,args:[r.MAT_OPTGROUP,{descendants:!0}]}],customTrigger:[{type:i.ContentChild,args:[A]}]},(D=function D(){}).decorators=[{type:i.NgModule,args:[{imports:[n.CommonModule,t.OverlayModule,r.MatOptionModule,r.MatCommonModule],exports:[a.CdkScrollableModule,o.MatFormFieldModule,R,k,r.MatOptionModule,r.MatCommonModule],declarations:[R,k],providers:[I]}]}], |