System.register(["@angular/core","@angular/material/core","@angular/cdk/platform","@angular/common"],(function(t){"use strict";var o,e,a,r,i;return{setters:[function(t){o=t,t.Directive,t.Component,t.ChangeDetectionStrategy,t.ViewEncapsulation,t.Inject,t.ContentChildren,t.NgModule},function(t){e=t.mixinColor,a=t.MatCommonModule},function(t){r=t},function(t){i=t.DOCUMENT}],execute:function(){t("throwToolbarMixedModesError",b);const l=["*",[["mat-toolbar-row"]]],n=["*","mat-toolbar-row"],c=e(class{constructor(t){this._elementRef=t}});class m{static{this.\u0275fac=function(t){return new(t||m)}}static{this.\u0275dir=o.\u0275\u0275defineDirective({type:m,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}}t("MatToolbarRow",m);class s extends c{constructor(t,o,e){super(t),this._platform=o,this._document=e}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((()=>this._checkToolbarMixedModes())))}_checkToolbarMixedModes(){this._toolbarRows.length,0}static{this.\u0275fac=function(t){return new(t||s)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(r.Platform),o.\u0275\u0275directiveInject(i))}}static{this.\u0275cmp=o.\u0275\u0275defineComponent({type:s,selectors:[["mat-toolbar"]],contentQueries:function(t,e,a){if(1&t&&o.\u0275\u0275contentQuery(a,m,5),2&t){let t;o.\u0275\u0275queryRefresh(t=o.\u0275\u0275loadQuery())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&o.\u0275\u0275classProp("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:n,decls:2,vars:0,template:function(t,e){1&t&&(o.\u0275\u0275projectionDef(l),o.\u0275\u0275projection(0),o.\u0275\u0275projection(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}}function b(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}t("MatToolbar",s);class h{static{this.\u0275fac=function(t){return new(t||h)}}static{this.\u0275mod=o.\u0275\u0275defineNgModule({type:h})}static{this.\u0275inj=o.\u0275\u0275defineInjector({imports:[a,a]})}}t("MatToolbarModule",h)}}}));