-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path29-es5.0921b36e93f8920905ad.js
1 lines (1 loc) · 66.6 KB
/
29-es5.0921b36e93f8920905ad.js
1
!function(){function e(t,n,i){return(e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(n):a.value}})(t,n,i||t)}function t(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,i=d(e);if(t){var a=d(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?s(e):t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{d3UM:function(n,i,o){"use strict";o.d(i,"a",function(){return $}),o.d(i,"b",function(){return te}),o.d(i,"c",function(){return U});var c=o("rDax"),f=o("ofXK"),m=o("fXoL"),p=o("FKr1"),h=o("kmnG"),b=o("vxfF"),g=o("u47x"),_=o("8LU1"),v=o("0EQZ"),y=o("FtGj"),O=o("XNiG"),k=o("NXyV"),w=o("VRyK"),C=o("JX91"),x=o("eIep"),j=o("IzEk"),M=o("pLZG"),S=o("lJxs"),I=o("/uUt"),F=o("1G5W"),R=o("R0Ic"),L=o("cH1L"),A=o("3Pt+"),D=["trigger"],P=["panel"];function E(e,t){if(1&e&&(m.ec(0,"span",8),m.Sc(1),m.dc()),2&e){var n=m.pc();m.Mb(1),m.Tc(n.placeholder||"\xa0")}}function z(e,t){if(1&e&&(m.ec(0,"span"),m.Sc(1),m.dc()),2&e){var n=m.pc(2);m.Mb(1),m.Tc(n.triggerValue||"\xa0")}}function B(e,t){1&e&&m.tc(0,0,["*ngSwitchCase","true"])}function T(e,t){if(1&e&&(m.ec(0,"span",9),m.Qc(1,z,2,1,"span",10),m.Qc(2,B,1,0,"ng-content",11),m.dc()),2&e){var n=m.pc();m.vc("ngSwitch",!!n.customTrigger),m.Mb(2),m.vc("ngSwitchCase",!0)}}function Y(e,t){if(1&e){var n=m.fc();m.ec(0,"div",12),m.ec(1,"div",13,14),m.lc("@transformPanel.done",function(e){return m.Gc(n),m.pc()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return m.Gc(n),m.pc()._handleKeydown(e)}),m.tc(3,1),m.dc(),m.dc()}if(2&e){var i=m.pc();m.vc("@transformPanelWrap",void 0),m.Mb(1),m.Pb("mat-select-panel ",i._getPanelTheme(),""),m.Nc("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),m.vc("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),m.Nb("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var V=[[["mat-select-trigger"]],"*"],G=["mat-select-trigger","*"],N={transformPanelWrap:Object(R.m)("transformPanelWrap",[Object(R.l)("* => void",Object(R.h)("@transformPanel",[Object(R.f)()],{optional:!0}))]),transformPanel:Object(R.m)("transformPanel",[Object(R.j)("void",Object(R.k)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(R.j)("showing",Object(R.k)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(R.j)("showing-multiple",Object(R.k)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(R.l)("void => *",Object(R.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(R.l)("* => void",Object(R.e)("100ms 25ms linear",Object(R.k)({opacity:0})))])},W=0,q=new m.x("mat-select-scroll-strategy"),Q=new m.x("MAT_SELECT_CONFIG"),K={provide:q,deps:[c.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Z=function e(t,n){u(this,e),this.source=t,this.value=n},H=Object(p.A)(Object(p.E)(Object(p.B)(Object(p.C)(function e(t,n,i,a,r){u(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=a,this.ngControl=r})))),X=new m.x("MatSelectTrigger"),U=function(){var e=function e(){u(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=m.Tb({type:e,selectors:[["mat-select-trigger"]],features:[m.Lb([{provide:X,useExisting:e}])]}),e}(),J=function(){var e=function(e){r(i,e);var n=l(i);function i(e,a,r,o,l,c,d,f,p,h,b,g,_,v){var y,I,F,R;return u(this,i),(y=n.call(this,l,o,d,f,h))._viewportRuler=e,y._changeDetectorRef=a,y._ngZone=r,y._dir=c,y._parentFormField=p,y.ngControl=h,y._liveAnnouncer=_,y._defaultOptions=v,y._panelOpen=!1,y._compareWith=function(e,t){return e===t},y._uid="mat-select-"+W++,y._triggerAriaLabelledBy=null,y._destroy=new O.a,y._onChange=function(){},y._onTouched=function(){},y._valueId="mat-select-value-"+W++,y._panelDoneAnimatingStream=new O.a,y._overlayPanelClass=(null===(I=y._defaultOptions)||void 0===I?void 0:I.overlayPanelClass)||"",y._focused=!1,y.controlType="mat-select",y._required=!1,y._multiple=!1,y._disableOptionCentering=null!==(R=null===(F=y._defaultOptions)||void 0===F?void 0:F.disableOptionCentering)&&void 0!==R&&R,y.ariaLabel="",y.optionSelectionChanges=Object(k.a)(function(){var e=y.options;return e?e.changes.pipe(Object(C.a)(e),Object(x.a)(function(){return Object(w.a).apply(void 0,t(e.map(function(e){return e.onSelectionChange})))})):y._ngZone.onStable.pipe(Object(j.a)(1),Object(x.a)(function(){return y.optionSelectionChanges}))}),y.openedChange=new m.s,y._openedStream=y.openedChange.pipe(Object(M.a)(function(e){return e}),Object(S.a)(function(){})),y._closedStream=y.openedChange.pipe(Object(M.a)(function(e){return!e}),Object(S.a)(function(){})),y.selectionChange=new m.s,y.valueChange=new m.s,y.ngControl&&(y.ngControl.valueAccessor=s(y)),null!=(null==v?void 0:v.typeaheadDebounceInterval)&&(y._typeaheadDebounceInterval=v.typeaheadDebounceInterval),y._scrollStrategyFactory=g,y._scrollStrategy=y._scrollStrategyFactory(),y.tabIndex=parseInt(b)||0,y.id=y.id,y}return a(i,[{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new v.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(I.a)(),Object(F.a)(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(Object(F.a)(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(Object(C.a)(null),Object(F.a)(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value: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()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=t===y.e||t===y.q||t===y.j||t===y.n,i=t===y.g||t===y.o,a=this._keyManager;if(!a.isTyping()&&i&&!Object(y.t)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var r=this.selected;a.onKeydown(e);var o=this.selected;o&&r!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=n===y.e||n===y.q,a=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(a||n!==y.g&&n!==y.o||!t.activeItem||Object(y.t)(e))if(!a&&this._multiple&&n===y.a&&e.ctrlKey){e.preventDefault();var r=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(r?e.select():e.deselect())})}else{var o=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==o&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this.overlayDir.positionChange.pipe(Object(j.a)(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-"+this._parentFormField.color:""}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})}},{key:"_setSelectionByValue",value: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()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find(function(n){try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new g.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(F.a)(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe(Object(F.a)(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()})}},{key:"_resetOptions",value:function(){var e=this,n=Object(w.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(F.a)(n)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),Object(w.a).apply(void 0,t(this.options.map(function(e){return e._stateChanges}))).pipe(Object(F.a)(n)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{key:"_onSelect",value: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()}},{key:"_sortValues",value: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()}}},{key:"_propagateChanges",value: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()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){if(this.ariaLabel)return null;var e=this._getLabelId();return this.ariaLabelledby?e+" "+this.ariaLabelledby:e}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getLabelId",value:function(){var e;return(null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId())||""}},{key:"_getTriggerAriaLabelledby",value:function(){if(this.ariaLabel)return null;var e=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(_.c)(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=Object(_.c)(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=Object(_.c)(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){e!==this._value&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=Object(_.f)(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"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}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),i}(H);return e.\u0275fac=function(t){return new(t||e)(m.Yb(b.j),m.Yb(m.i),m.Yb(m.I),m.Yb(p.d),m.Yb(m.p),m.Yb(L.c,8),m.Yb(A.p,8),m.Yb(A.i,8),m.Yb(h.a,8),m.Yb(A.m,10),m.jc("tabindex"),m.Yb(q),m.Yb(g.m),m.Yb(Q,8))},e.\u0275dir=m.Tb({type:e,viewQuery:function(e,t){var n;(1&e&&(m.Wc(D,!0),m.Wc(P,!0),m.Wc(c.a,!0)),2&e)&&(m.Bc(n=m.mc())&&(t.trigger=n.first),m.Bc(n=m.mc())&&(t.panel=n.first),m.Bc(n=m.mc())&&(t.overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[m.Jb,m.Kb]}),e}(),$=function(){var t=function(t){r(i,t);var n=l(i);function i(){var e;return u(this,i),(e=n.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return a(i,[{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"ngOnInit",value:function(){var t=this;e(d(i.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(Object(F.a)(this._destroy)).subscribe(function(){t.panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var t=this;e(d(i.prototype),"_canOpen",this).call(this)&&(e(d(i.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Object(j.a)(1)).subscribe(function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")}))}},{key:"_scrollOptionIntoView",value:function(e){var t=Object(p.x)(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=Object(p.y)((e+t)*n,n,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(t){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),e(d(i.prototype),"_panelDoneAnimating",this).call(this,t)}},{key:"_getChangeEvent",value:function(e){return new Z(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),a=this.multiple?56:32;if(this.multiple)e=40;else{var r=this._selectionModel.selected[0]||this.options.first;e=r&&r.group?32:16}i||(e*=-1);var o=0-(t.left+e-(i?a:0)),l=t.right+e-n.width+(i?0:a);o>0?e+=o+8:l>0&&(e-=l+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,a=this._getItemHeight(),r=(a-this._triggerRect.height)/2,o=Math.floor(256/a);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*a:this._scrollTop===n?(e-(this._getItemCount()-o))*a+(a-(this._getItemCount()*a-256)%a):t-a/2,Math.round(-1*i-r))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,a=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*t,256)-r-this._triggerRect.height;o>a?this._adjustPanelUp(o,a):r>i?this._adjustPanelDown(r,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value: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")}},{key:"_adjustPanelDown",value: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")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,256),a=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=Object(p.x)(e,this.options,this.optionGroups);var r=i/2;this._scrollTop=this._calculateOverlayScroll(e,r,a),this._offsetY=this._calculateOverlayOffsetY(e,r,a),this._checkOverlayWithinViewport(a)}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),i}(J);return t.\u0275fac=function(e){return ee(e||t)},t.\u0275cmp=m.Sb({type:t,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;(1&e&&(m.Rb(n,X,!0),m.Rb(n,p.o,!0),m.Rb(n,p.g,!0)),2&e)&&(m.Bc(i=m.mc())&&(t.customTrigger=i.first),m.Bc(i=m.mc())&&(t.options=i),m.Bc(i=m.mc())&&(t.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&m.lc("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(m.Nb("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),m.Qb("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[m.Lb([{provide:h.d,useExisting:t},{provide:p.h,useExisting:t}]),m.Jb],ngContentSelectors:G,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(m.uc(V),m.ec(0,"div",0,1),m.lc("click",function(){return t.toggle()}),m.ec(3,"div",2),m.Qc(4,E,2,1,"span",3),m.Qc(5,T,3,2,"span",4),m.dc(),m.ec(6,"div",5),m.Zb(7,"div",6),m.dc(),m.dc(),m.Qc(8,Y,4,14,"ng-template",7),m.lc("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var n=m.Cc(1);m.Nb("aria-owns",t.panelOpen?t.id+"-panel":null),m.Mb(3),m.vc("ngSwitch",t.empty),m.Nb("id",t._valueId),m.Mb(1),m.vc("ngSwitchCase",!0),m.Mb(1),m.vc("ngSwitchCase",!1),m.Mb(3),m.vc("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[c.b,f.x,f.y,c.a,f.z,f.q],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}\n"],encapsulation:2,data:{animation:[N.transformPanelWrap,N.transformPanel]},changeDetection:0}),t}(),ee=m.gc($),te=function(){var e=function e(){u(this,e)};return e.\u0275mod=m.Wb({type:e}),e.\u0275inj=m.Vb({factory:function(t){return new(t||e)},providers:[K],imports:[[f.c,c.f,p.p,p.j],b.c,h.e,p.p,p.j]}),e}()},kmnG:function(e,n,i){"use strict";i.d(n,"a",function(){return re}),i.d(n,"b",function(){return G}),i.d(n,"c",function(){return oe}),i.d(n,"d",function(){return W}),i.d(n,"e",function(){return le}),i.d(n,"f",function(){return H}),i.d(n,"g",function(){return X}),i.d(n,"h",function(){return $}),i.d(n,"i",function(){return te}),i.d(n,"j",function(){return q}),i.d(n,"k",function(){return Q}),i.d(n,"l",function(){return N});var o=i("GU7r"),c=i("ofXK"),s=i("fXoL"),d=i("FKr1"),f=i("8LU1"),m=i("XNiG"),p=i("VRyK"),h=i("xgIS"),b=i("JX91"),g=i("1G5W"),_=i("IzEk"),v=i("R0Ic"),y=i("R1ws"),O=i("cH1L"),k=i("nLfN"),w=["underline"],C=["connectionContainer"],x=["inputContainer"],j=["label"];function M(e,t){1&e&&(s.cc(0),s.ec(1,"div",14),s.Zb(2,"div",15),s.Zb(3,"div",16),s.Zb(4,"div",17),s.dc(),s.ec(5,"div",18),s.Zb(6,"div",15),s.Zb(7,"div",16),s.Zb(8,"div",17),s.dc(),s.bc())}function S(e,t){1&e&&(s.ec(0,"div",19),s.tc(1,1),s.dc())}function I(e,t){if(1&e&&(s.cc(0),s.tc(1,2),s.ec(2,"span"),s.Sc(3),s.dc(),s.bc()),2&e){var n=s.pc(2);s.Mb(3),s.Tc(n._control.placeholder)}}function F(e,t){1&e&&s.tc(0,3,["*ngSwitchCase","true"])}function R(e,t){1&e&&(s.ec(0,"span",23),s.Sc(1," *"),s.dc())}function L(e,t){if(1&e){var n=s.fc();s.ec(0,"label",20,21),s.lc("cdkObserveContent",function(){return s.Gc(n),s.pc().updateOutlineGap()}),s.Qc(2,I,4,1,"ng-container",12),s.Qc(3,F,1,0,"ng-content",12),s.Qc(4,R,2,0,"span",22),s.dc()}if(2&e){var i=s.pc();s.Qb("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),s.vc("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),s.Nb("for",i._control.id)("aria-owns",i._control.id),s.Mb(2),s.vc("ngSwitchCase",!1),s.Mb(1),s.vc("ngSwitchCase",!0),s.Mb(1),s.vc("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function A(e,t){1&e&&(s.ec(0,"div",24),s.tc(1,4),s.dc())}function D(e,t){if(1&e&&(s.ec(0,"div",25,26),s.Zb(2,"span",27),s.dc()),2&e){var n=s.pc();s.Mb(2),s.Qb("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function P(e,t){if(1&e&&(s.ec(0,"div"),s.tc(1,5),s.dc()),2&e){var n=s.pc();s.vc("@transitionMessages",n._subscriptAnimationState)}}function E(e,t){if(1&e&&(s.ec(0,"div",31),s.Sc(1),s.dc()),2&e){var n=s.pc(2);s.vc("id",n._hintLabelId),s.Mb(1),s.Tc(n.hintLabel)}}function z(e,t){if(1&e&&(s.ec(0,"div",28),s.Qc(1,E,2,2,"div",29),s.tc(2,6),s.Zb(3,"div",30),s.tc(4,7),s.dc()),2&e){var n=s.pc();s.vc("@transitionMessages",n._subscriptAnimationState),s.Mb(1),s.vc("ngIf",n.hintLabel)}}var B=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],T=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Y=0,V=new s.x("MatError"),G=function(){var e=function e(){u(this,e),this.id="mat-error-"+Y++};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.Tb({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&s.Nb("id",t.id)},inputs:{id:"id"},features:[s.Lb([{provide:V,useExisting:e}])]}),e}(),N={transitionMessages:Object(v.m)("transitionMessages",[Object(v.j)("enter",Object(v.k)({opacity:1,transform:"translateY(0%)"})),Object(v.l)("void => enter",[Object(v.k)({opacity:0,transform:"translateY(-100%)"}),Object(v.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},W=function(){var e=function e(){u(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.Tb({type:e}),e}();function q(e){return Error("A hint was already declared for 'align=\"".concat(e,"\"'."))}function Q(){return Error("mat-form-field must contain a MatFormFieldControl.")}var K=0,Z=new s.x("MatHint"),H=function(){var e=function e(){u(this,e),this.align="start",this.id="mat-hint-"+K++};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.Tb({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(s.Nb("id",t.id)("align",null),s.Qb("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[s.Lb([{provide:Z,useExisting:e}])]}),e}(),X=function(){var e=function e(){u(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.Tb({type:e,selectors:[["mat-label"]]}),e}(),U=function(){var e=function e(){u(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.Tb({type:e,selectors:[["mat-placeholder"]]}),e}(),J=new s.x("MatPrefix"),$=function(){var e=function e(){u(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.Tb({type:e,selectors:[["","matPrefix",""]],features:[s.Lb([{provide:J,useExisting:e}])]}),e}(),ee=new s.x("MatSuffix"),te=function(){var e=function e(){u(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.Tb({type:e,selectors:[["","matSuffix",""]],features:[s.Lb([{provide:ee,useExisting:e}])]}),e}(),ne=0,ie=Object(d.z)(function e(t){u(this,e),this._elementRef=t},"primary"),ae=new s.x("MAT_FORM_FIELD_DEFAULT_OPTIONS"),re=new s.x("MatFormField"),oe=function(){var e=function(e){r(i,e);var n=l(i);function i(e,t,a,r,o,l,c,s){var d;return u(this,i),(d=n.call(this,e))._elementRef=e,d._changeDetectorRef=t,d._dir=r,d._defaults=o,d._platform=l,d._ngZone=c,d._outlineGapCalculationNeededImmediately=!1,d._outlineGapCalculationNeededOnStable=!1,d._destroyed=new m.a,d._showAlwaysAnimate=!1,d._subscriptAnimationState="",d._hintLabel="",d._hintLabelId="mat-hint-"+ne++,d._labelId="mat-form-field-label-"+ne++,d.floatLabel=d._getDefaultFloatLabelState(),d._animationsEnabled="NoopAnimations"!==s,d.appearance=o&&o.appearance?o.appearance:"legacy",d._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,d}return a(i,[{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Object(b.a)(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(g.a)(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe(Object(g.a)(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),Object(p.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(b.a)(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(b.a)(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(g.a)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(h.a)(this._label.nativeElement,"transitionend").pipe(Object(_.a)(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,t(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var n=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,i=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&e.push.apply(e,t(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,a=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var l=this._getStartEnd(o),c=e.children,s=this._getStartEnd(c[0].getBoundingClientRect()),d=0,u=0;u<c.length;u++)d+=c[u].offsetWidth;t=Math.abs(s-l)-5,n=d>0?.75*d+10:0}for(var f=0;f<a.length;f++)a[f].style.width=t+"px";for(var m=0;m<r.length;m++)r[m].style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0}},{key:"_getStartEnd",value:function(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}},{key:"_isAttachedToDOM",value:function(){var e=this._elementRef.nativeElement;if(e.getRootNode){var t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}},{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=Object(f.c)(e)}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}}]),i}(ie);return e.\u0275fac=function(t){return new(t||e)(s.Yb(s.p),s.Yb(s.i),s.Yb(s.p),s.Yb(O.c,8),s.Yb(ae,8),s.Yb(k.a),s.Yb(s.I),s.Yb(y.a,8))},e.\u0275cmp=s.Sb({type:e,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){var i;(1&e&&(s.Rb(n,W,!0),s.Lc(n,W,!0),s.Rb(n,X,!0),s.Lc(n,X,!0),s.Rb(n,U,!0),s.Rb(n,V,!0),s.Rb(n,Z,!0),s.Rb(n,J,!0),s.Rb(n,ee,!0)),2&e)&&(s.Bc(i=s.mc())&&(t._controlNonStatic=i.first),s.Bc(i=s.mc())&&(t._controlStatic=i.first),s.Bc(i=s.mc())&&(t._labelChildNonStatic=i.first),s.Bc(i=s.mc())&&(t._labelChildStatic=i.first),s.Bc(i=s.mc())&&(t._placeholderChild=i.first),s.Bc(i=s.mc())&&(t._errorChildren=i),s.Bc(i=s.mc())&&(t._hintChildren=i),s.Bc(i=s.mc())&&(t._prefixChildren=i),s.Bc(i=s.mc())&&(t._suffixChildren=i))},viewQuery:function(e,t){var n;(1&e&&(s.Wc(w,!0),s.Mc(C,!0),s.Wc(x,!0),s.Wc(j,!0)),2&e)&&(s.Bc(n=s.mc())&&(t.underlineRef=n.first),s.Bc(n=s.mc())&&(t._connectionContainerRef=n.first),s.Bc(n=s.mc())&&(t._inputContainerRef=n.first),s.Bc(n=s.mc())&&(t._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&s.Qb("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat())("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[s.Lb([{provide:re,useExisting:e}]),s.Jb],ngContentSelectors:T,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(s.uc(B),s.ec(0,"div",0),s.ec(1,"div",1,2),s.lc("click",function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)}),s.Qc(3,M,9,0,"ng-container",3),s.Qc(4,S,2,0,"div",4),s.ec(5,"div",5,6),s.tc(7),s.ec(8,"span",7),s.Qc(9,L,5,16,"label",8),s.dc(),s.dc(),s.Qc(10,A,2,0,"div",9),s.dc(),s.Qc(11,D,3,4,"div",10),s.ec(12,"div",11),s.Qc(13,P,2,1,"div",12),s.Qc(14,z,5,2,"div",13),s.dc(),s.dc()),2&e&&(s.Mb(3),s.vc("ngIf","outline"==t.appearance),s.Mb(1),s.vc("ngIf",t._prefixChildren.length),s.Mb(5),s.vc("ngIf",t._hasFloatingLabel()),s.Mb(1),s.vc("ngIf",t._suffixChildren.length),s.Mb(1),s.vc("ngIf","outline"!=t.appearance),s.Mb(1),s.vc("ngSwitch",t._getDisplayedMessages()),s.Mb(1),s.vc("ngSwitchCase","error"),s.Mb(1),s.vc("ngSwitchCase","hint"))},directives:[c.t,c.x,c.y,o.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[N.transitionMessages]},changeDetection:0}),e}(),le=function(){var e=function e(){u(this,e)};return e.\u0275mod=s.Wb({type:e}),e.\u0275inj=s.Vb({factory:function(t){return new(t||e)},imports:[[c.c,d.j,o.c],d.j]}),e}()},onAg:function(e,t,n){"use strict";n.r(t),n.d(t,"CdkA11yExamplesModule",function(){return b}),n.d(t,"FocusMonitorDirectivesExample",function(){return s}),n.d(t,"FocusMonitorFocusViaExample",function(){return f}),n.d(t,"FocusMonitorOverviewExample",function(){return h});var i=n("u47x"),r=n("fXoL"),o=n("d3UM"),l=n("kmnG"),c=n("FKr1"),s=function(){var e=function(){function e(t,n){u(this,e),this._ngZone=t,this._cdr=n,this.elementOrigin=this.formatOrigin(null),this.subtreeOrigin=this.formatOrigin(null)}return a(e,[{key:"formatOrigin",value:function(e){return e?e+" focused":"blurred"}},{key:"markForCheck",value:function(){var e=this;this._ngZone.run(function(){return e._cdr.markForCheck()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Object(r.Yb)(r.I),Object(r.Yb)(r.i))},e.\u0275cmp=Object(r.Sb)({type:e,selectors:[["focus-monitor-directives-example"]],decls:11,vars:2,consts:[[1,"example-focus-monitor"],["cdkMonitorSubtreeFocus","",3,"cdkFocusChange"]],template:function(e,t){1&e&&(Object(r.ec)(0,"div",0),Object(r.ec)(1,"button",1),Object(r.lc)("cdkFocusChange",function(e){return t.elementOrigin=t.formatOrigin(e),t.markForCheck()}),Object(r.Sc)(2),Object(r.dc)(),Object(r.dc)(),Object(r.ec)(3,"div",0),Object(r.ec)(4,"div",1),Object(r.lc)("cdkFocusChange",function(e){return t.subtreeOrigin=t.formatOrigin(e),t.markForCheck()}),Object(r.ec)(5,"p"),Object(r.Sc)(6),Object(r.dc)(),Object(r.ec)(7,"button"),Object(r.Sc)(8,"Child Button 1"),Object(r.dc)(),Object(r.ec)(9,"button"),Object(r.Sc)(10,"Child Button 2"),Object(r.dc)(),Object(r.dc)(),Object(r.dc)()),2&e&&(Object(r.Mb)(2),Object(r.Uc)(" Focus Monitored Element (",t.elementOrigin,") "),Object(r.Mb)(4),Object(r.Uc)("Focus Monitored Subtree (",t.subtreeOrigin,")"))},directives:[i.e],styles:[".example-focus-monitor[_ngcontent-%COMP%] {\n padding: 20px;\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-mouse-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-keyboard-focused[_ngcontent-%COMP%] {\n background: rgba(0, 255, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-touch-focused[_ngcontent-%COMP%] {\n background: rgba(0, 0, 255, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-program-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 255, 0.5);\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 12px;\n}"]}),e}(),d=["monitored"],f=function(){var e=function(){function e(t,n,i){u(this,e),this.focusMonitor=t,this._cdr=n,this._ngZone=i,this.origin=this.formatOrigin(null)}return a(e,[{key:"ngAfterViewInit",value:function(){var e=this;this.focusMonitor.monitor(this.monitoredEl).subscribe(function(t){return e._ngZone.run(function(){e.origin=e.formatOrigin(t),e._cdr.markForCheck()})})}},{key:"ngOnDestroy",value:function(){this.focusMonitor.stopMonitoring(this.monitoredEl)}},{key:"formatOrigin",value:function(e){return e?e+" focused":"blurred"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Object(r.Yb)(i.h),Object(r.Yb)(r.i),Object(r.Yb)(r.I))},e.\u0275cmp=Object(r.Sb)({type:e,selectors:[["focus-monitor-focus-via-example"]],viewQuery:function(e,t){var n;(1&e&&Object(r.Wc)(d,!0),2&e)&&(Object(r.Bc)(n=Object(r.mc)())&&(t.monitoredEl=n.first))},decls:24,vars:1,consts:[[1,"example-focus-monitor"],["monitored",""],["unmonitored",""],["value","mouse"],["simulatedOrigin",""],["value","keyboard"],["value","touch"],["value","program"],[3,"click"]],template:function(e,t){if(1&e){var n=Object(r.fc)();Object(r.ec)(0,"div",0),Object(r.ec)(1,"button",null,1),Object(r.Sc)(3),Object(r.dc)(),Object(r.ec)(4,"button",null,2),Object(r.Sc)(6,"2. Not Monitored"),Object(r.dc)(),Object(r.dc)(),Object(r.ec)(7,"mat-form-field"),Object(r.ec)(8,"mat-label"),Object(r.Sc)(9,"Simulated focus origin"),Object(r.dc)(),Object(r.ec)(10,"mat-select",3,4),Object(r.ec)(12,"mat-option",3),Object(r.Sc)(13,"Mouse"),Object(r.dc)(),Object(r.ec)(14,"mat-option",5),Object(r.Sc)(15,"Keyboard"),Object(r.dc)(),Object(r.ec)(16,"mat-option",6),Object(r.Sc)(17,"Touch"),Object(r.dc)(),Object(r.ec)(18,"mat-option",7),Object(r.Sc)(19,"Programmatic"),Object(r.dc)(),Object(r.dc)(),Object(r.dc)(),Object(r.ec)(20,"button",8),Object(r.lc)("click",function(){Object(r.Gc)(n);var e=Object(r.Cc)(2),i=Object(r.Cc)(11);return t.focusMonitor.focusVia(e,i.value)}),Object(r.Sc)(21," Focus button #1\n"),Object(r.dc)(),Object(r.ec)(22,"button",8),Object(r.lc)("click",function(){Object(r.Gc)(n);var e=Object(r.Cc)(5),i=Object(r.Cc)(11);return t.focusMonitor.focusVia(e,i.value)}),Object(r.Sc)(23," Focus button #2\n"),Object(r.dc)()}2&e&&(Object(r.Mb)(3),Object(r.Uc)("1. Focus Monitored Element (",t.origin,")"))},directives:[l.c,l.g,o.a,c.o],styles:[".example-focus-monitor[_ngcontent-%COMP%] {\n padding: 20px;\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-mouse-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-keyboard-focused[_ngcontent-%COMP%] {\n background: rgba(0, 255, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-touch-focused[_ngcontent-%COMP%] {\n background: rgba(0, 0, 255, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-program-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 255, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus {\n box-shadow: 0 0 30px cyan;\n}\n\nmat-form-field[_ngcontent-%COMP%], button[_ngcontent-%COMP%] {\n margin-right: 12px;\n}"]}),e}(),m=["element"],p=["subtree"],h=function(){var e=function(){function e(t,n,i){u(this,e),this._focusMonitor=t,this._cdr=n,this._ngZone=i,this.elementOrigin=this.formatOrigin(null),this.subtreeOrigin=this.formatOrigin(null)}return a(e,[{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this.element).subscribe(function(t){return e._ngZone.run(function(){e.elementOrigin=e.formatOrigin(t),e._cdr.markForCheck()})}),this._focusMonitor.monitor(this.subtree,!0).subscribe(function(t){return e._ngZone.run(function(){e.subtreeOrigin=e.formatOrigin(t),e._cdr.markForCheck()})})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this.element),this._focusMonitor.stopMonitoring(this.subtree)}},{key:"formatOrigin",value:function(e){return e?e+" focused":"blurred"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Object(r.Yb)(i.h),Object(r.Yb)(r.i),Object(r.Yb)(r.I))},e.\u0275cmp=Object(r.Sb)({type:e,selectors:[["focus-monitor-overview-example"]],viewQuery:function(e,t){var n;(1&e&&(Object(r.Wc)(m,!0),Object(r.Wc)(p,!0)),2&e)&&(Object(r.Bc)(n=Object(r.mc)())&&(t.element=n.first),Object(r.Bc)(n=Object(r.mc)())&&(t.subtree=n.first))},decls:13,vars:2,consts:[[1,"example-focus-monitor"],["element",""],["subtree",""]],template:function(e,t){1&e&&(Object(r.ec)(0,"div",0),Object(r.ec)(1,"button",null,1),Object(r.Sc)(3),Object(r.dc)(),Object(r.dc)(),Object(r.ec)(4,"div",0),Object(r.ec)(5,"div",null,2),Object(r.ec)(7,"p"),Object(r.Sc)(8),Object(r.dc)(),Object(r.ec)(9,"button"),Object(r.Sc)(10,"Child Button 1"),Object(r.dc)(),Object(r.ec)(11,"button"),Object(r.Sc)(12,"Child Button 2"),Object(r.dc)(),Object(r.dc)(),Object(r.dc)()),2&e&&(Object(r.Mb)(3),Object(r.Uc)("Focus Monitored Element (",t.elementOrigin,")"),Object(r.Mb)(5),Object(r.Uc)("Focus Monitored Subtree (",t.subtreeOrigin,")"))},styles:[".example-focus-monitor[_ngcontent-%COMP%] {\n padding: 20px;\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-mouse-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-keyboard-focused[_ngcontent-%COMP%] {\n background: rgba(0, 255, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-touch-focused[_ngcontent-%COMP%] {\n background: rgba(0, 0, 255, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-program-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 255, 0.5);\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 12px;\n}"]}),e}(),b=function(){var e=function e(){u(this,e)};return e.\u0275mod=Object(r.Wb)({type:e}),e.\u0275inj=Object(r.Vb)({factory:function(t){return new(t||e)},imports:[[i.a,o.b]]}),e}()}}])}();