@angular/material 11.1.2 → 11.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/_theming.scss +162 -155
  2. package/autocomplete/_autocomplete-theme.import.scss +2 -0
  3. package/autocomplete/autocomplete.d.ts +1 -1
  4. package/badge/_badge-theme.import.scss +5 -0
  5. package/bottom-sheet/_bottom-sheet-theme.import.scss +4 -0
  6. package/bottom-sheet/bottom-sheet-container.d.ts +2 -0
  7. package/bottom-sheet/index.metadata.json +1 -1
  8. package/bundles/material-autocomplete.umd.js.map +1 -1
  9. package/bundles/material-bottom-sheet.umd.js +11 -3
  10. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  11. package/bundles/material-bottom-sheet.umd.min.js +1 -1
  12. package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
  13. package/bundles/material-core.umd.js +3 -3
  14. package/bundles/material-core.umd.js.map +1 -1
  15. package/bundles/material-core.umd.min.js +3 -3
  16. package/bundles/material-core.umd.min.js.map +1 -1
  17. package/bundles/material-datepicker.umd.js +21 -2
  18. package/bundles/material-datepicker.umd.js.map +1 -1
  19. package/bundles/material-datepicker.umd.min.js +1 -1
  20. package/bundles/material-datepicker.umd.min.js.map +1 -1
  21. package/bundles/material-form-field-testing.umd.js +137 -140
  22. package/bundles/material-form-field-testing.umd.js.map +1 -1
  23. package/bundles/material-form-field-testing.umd.min.js +3 -3
  24. package/bundles/material-form-field-testing.umd.min.js.map +1 -1
  25. package/bundles/material-form-field.umd.js +1 -1
  26. package/bundles/material-form-field.umd.min.js +1 -1
  27. package/bundles/material-form-field.umd.min.js.map +1 -1
  28. package/bundles/material-input.umd.js +4 -2
  29. package/bundles/material-input.umd.js.map +1 -1
  30. package/bundles/material-input.umd.min.js +1 -1
  31. package/bundles/material-input.umd.min.js.map +1 -1
  32. package/bundles/material-menu.umd.js +2 -2
  33. package/bundles/material-menu.umd.js.map +1 -1
  34. package/bundles/material-menu.umd.min.js +1 -1
  35. package/bundles/material-menu.umd.min.js.map +1 -1
  36. package/bundles/material-select.umd.js +8 -2
  37. package/bundles/material-select.umd.js.map +1 -1
  38. package/bundles/material-select.umd.min.js +5 -5
  39. package/bundles/material-select.umd.min.js.map +1 -1
  40. package/bundles/material-slide-toggle-testing.umd.js +60 -51
  41. package/bundles/material-slide-toggle-testing.umd.js.map +1 -1
  42. package/bundles/material-slide-toggle-testing.umd.min.js +2 -2
  43. package/bundles/material-slide-toggle-testing.umd.min.js.map +1 -1
  44. package/bundles/material-sort.umd.js +11 -3
  45. package/bundles/material-sort.umd.js.map +1 -1
  46. package/bundles/material-sort.umd.min.js +3 -3
  47. package/bundles/material-sort.umd.min.js.map +1 -1
  48. package/bundles/material-stepper.umd.js +6 -2
  49. package/bundles/material-stepper.umd.js.map +1 -1
  50. package/bundles/material-stepper.umd.min.js +1 -1
  51. package/bundles/material-stepper.umd.min.js.map +1 -1
  52. package/bundles/material-tabs.umd.js +8 -2
  53. package/bundles/material-tabs.umd.js.map +1 -1
  54. package/bundles/material-tabs.umd.min.js +4 -4
  55. package/bundles/material-tabs.umd.min.js.map +1 -1
  56. package/bundles/material-tooltip-testing.umd.js +44 -16
  57. package/bundles/material-tooltip-testing.umd.js.map +1 -1
  58. package/bundles/material-tooltip-testing.umd.min.js +1 -1
  59. package/bundles/material-tooltip-testing.umd.min.js.map +1 -1
  60. package/button/_button-base.import.scss +4 -0
  61. package/button/_button-theme.import.scss +3 -0
  62. package/button-toggle/_button-toggle-theme.import.scss +6 -0
  63. package/button-toggle/_button-toggle-variables.import.scss +1 -0
  64. package/card/_card-theme.import.scss +4 -0
  65. package/checkbox/_checkbox-theme.import.scss +3 -0
  66. package/chips/_chips-theme.import.scss +4 -0
  67. package/core/_core.import.scss +10 -0
  68. package/core/color/_all-color.import.scss +3 -0
  69. package/core/density/private/_all-density.import.scss +9 -0
  70. package/core/density/private/_compatibility.import.scss +1 -0
  71. package/core/focus-indicators/_focus-indicators.import.scss +3 -0
  72. package/core/index.metadata.json +1 -1
  73. package/core/option/_optgroup-theme.import.scss +4 -0
  74. package/core/option/_option-theme.import.scss +4 -0
  75. package/core/ripple/_ripple.import.scss +3 -0
  76. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.import.scss +2 -0
  77. package/core/style/_button-common.import.scss +2 -0
  78. package/core/style/_checkbox-common.import.scss +2 -0
  79. package/core/style/_elevation.import.scss +2 -0
  80. package/core/style/_form-common.import.scss +2 -0
  81. package/core/style/_layout-common.import.scss +1 -0
  82. package/core/style/_list-common.import.scss +1 -0
  83. package/core/style/_menu-common.import.scss +5 -0
  84. package/core/style/_private.import.scss +2 -0
  85. package/core/style/_variables.import.scss +1 -0
  86. package/core/style/_vendor-prefixes.import.scss +1 -0
  87. package/core/theming/_all-theme.import.scss +37 -0
  88. package/core/theming/_palette.import.scss +1 -0
  89. package/core/theming/_theming.import.scss +2 -0
  90. package/core/theming/_theming.scss +7 -4
  91. package/core/typography/_all-typography.import.scss +38 -0
  92. package/core/typography/_typography-utils.import.scss +1 -0
  93. package/core/typography/_typography.import.scss +2 -0
  94. package/datepicker/_datepicker-theme.import.scss +4 -0
  95. package/datepicker/datepicker-base.d.ts +9 -0
  96. package/datepicker/index.metadata.json +1 -1
  97. package/dialog/_dialog-theme.import.scss +4 -0
  98. package/divider/_divider-offset.import.scss +1 -0
  99. package/divider/_divider-theme.import.scss +3 -0
  100. package/esm2015/autocomplete/autocomplete.js +1 -1
  101. package/esm2015/bottom-sheet/bottom-sheet-container.js +12 -4
  102. package/esm2015/core/common-behaviors/common-module.js +1 -1
  103. package/esm2015/core/option/optgroup.js +2 -2
  104. package/esm2015/core/version.js +1 -1
  105. package/esm2015/datepicker/datepicker-base.js +13 -2
  106. package/esm2015/datepicker/datepicker-toggle.js +6 -2
  107. package/esm2015/form-field/form-field.js +1 -1
  108. package/esm2015/form-field/testing/form-field-harness.js +68 -76
  109. package/esm2015/input/input.js +5 -3
  110. package/esm2015/menu/menu-trigger.js +2 -2
  111. package/esm2015/menu/menu.js +1 -1
  112. package/esm2015/select/select.js +9 -3
  113. package/esm2015/slide-toggle/testing/slide-toggle-harness.js +29 -24
  114. package/esm2015/sort/sort.js +12 -5
  115. package/esm2015/stepper/stepper-animations.js +7 -3
  116. package/esm2015/tabs/tab-body.js +2 -2
  117. package/esm2015/tabs/tab-group.js +8 -2
  118. package/esm2015/tooltip/testing/tooltip-harness.js +14 -2
  119. package/expansion/_expansion-mixins.import.scss +1 -0
  120. package/expansion/_expansion-theme.import.scss +6 -0
  121. package/expansion/_expansion-variables.import.scss +1 -0
  122. package/fesm2015/autocomplete.js.map +1 -1
  123. package/fesm2015/bottom-sheet.js +11 -3
  124. package/fesm2015/bottom-sheet.js.map +1 -1
  125. package/fesm2015/core.js +3 -3
  126. package/fesm2015/core.js.map +1 -1
  127. package/fesm2015/datepicker.js +17 -2
  128. package/fesm2015/datepicker.js.map +1 -1
  129. package/fesm2015/form-field/testing.js +69 -77
  130. package/fesm2015/form-field/testing.js.map +1 -1
  131. package/fesm2015/form-field.js +1 -1
  132. package/fesm2015/input.js +4 -2
  133. package/fesm2015/input.js.map +1 -1
  134. package/fesm2015/menu.js +2 -2
  135. package/fesm2015/menu.js.map +1 -1
  136. package/fesm2015/select.js +8 -2
  137. package/fesm2015/select.js.map +1 -1
  138. package/fesm2015/slide-toggle/testing.js +29 -24
  139. package/fesm2015/slide-toggle/testing.js.map +1 -1
  140. package/fesm2015/sort.js +12 -5
  141. package/fesm2015/sort.js.map +1 -1
  142. package/fesm2015/stepper.js +6 -2
  143. package/fesm2015/stepper.js.map +1 -1
  144. package/fesm2015/tabs.js +8 -2
  145. package/fesm2015/tabs.js.map +1 -1
  146. package/fesm2015/tooltip/testing.js +13 -1
  147. package/fesm2015/tooltip/testing.js.map +1 -1
  148. package/form-field/_form-field-fill-theme.import.scss +5 -0
  149. package/form-field/_form-field-legacy-theme.import.scss +5 -0
  150. package/form-field/_form-field-outline-theme.import.scss +5 -0
  151. package/form-field/_form-field-standard-theme.import.scss +5 -0
  152. package/form-field/_form-field-theme.import.scss +9 -0
  153. package/form-field/index.metadata.json +1 -1
  154. package/form-field/testing/form-field-harness.d.ts +47 -32
  155. package/grid-list/_grid-list-theme.import.scss +5 -0
  156. package/icon/_icon-theme.import.scss +2 -0
  157. package/input/_input-theme.import.scss +6 -0
  158. package/input/index.metadata.json +1 -1
  159. package/list/_list-theme.import.scss +5 -0
  160. package/menu/_menu-theme.import.scss +4 -0
  161. package/menu/index.metadata.json +1 -1
  162. package/package.json +2 -2
  163. package/paginator/_paginator-theme.import.scss +5 -0
  164. package/paginator/_paginator-variables.import.scss +1 -0
  165. package/prebuilt-themes/deeppurple-amber.css +1 -1
  166. package/prebuilt-themes/indigo-pink.css +1 -1
  167. package/prebuilt-themes/pink-bluegrey.css +1 -1
  168. package/prebuilt-themes/purple-green.css +1 -1
  169. package/progress-bar/_progress-bar-theme.import.scss +3 -0
  170. package/progress-spinner/_progress-spinner-theme.import.scss +3 -0
  171. package/radio/_radio-theme.import.scss +4 -0
  172. package/schematics/ng-add/index.js +1 -1
  173. package/select/_select-theme.import.scss +5 -0
  174. package/select/index.metadata.json +1 -1
  175. package/select/select.d.ts +1 -1
  176. package/sidenav/_sidenav-theme.import.scss +3 -0
  177. package/slide-toggle/_slide-toggle-theme.import.scss +4 -0
  178. package/slide-toggle/testing/slide-toggle-harness.d.ts +19 -15
  179. package/slider/_slider-theme.import.scss +4 -0
  180. package/snack-bar/_snack-bar-theme.import.scss +4 -0
  181. package/sort/_sort-theme.import.scss +2 -0
  182. package/sort/index.metadata.json +1 -1
  183. package/sort/sort.d.ts +10 -1
  184. package/stepper/_stepper-theme.import.scss +5 -0
  185. package/stepper/_stepper-variables.import.scss +1 -0
  186. package/stepper/index.metadata.json +1 -1
  187. package/table/_table-flex-styles.import.scss +1 -0
  188. package/table/_table-flex-styles.scss +72 -0
  189. package/table/_table-theme.import.scss +4 -0
  190. package/tabs/_tabs-common.import.scss +4 -0
  191. package/tabs/_tabs-theme.import.scss +4 -0
  192. package/tabs/_tabs-theme.scss +3 -1
  193. package/tabs/index.metadata.json +1 -1
  194. package/tabs/tab-group.d.ts +3 -0
  195. package/toolbar/_toolbar-theme.import.scss +6 -0
  196. package/toolbar/_toolbar-variables.import.scss +1 -0
  197. package/tooltip/_tooltip-theme.import.scss +4 -0
  198. package/tree/_tree-theme.import.scss +4 -0
  199. package/tree/_tree-variables.import.scss +1 -0
@@ -36,7 +36,7 @@ var C,k=new o.InjectionToken("MatTabContent");(C=function C(t){this.template=t})
36
36
  * Use of this source code is governed by an MIT-style license that can be
37
37
  * found in the LICENSE file at https://angular.io/license
38
38
  */
39
- var R={translateTab:p.trigger("translateTab",[p.state("center, void, left-origin-center, right-origin-center",p.style({transform:"none"})),p.state("left",p.style({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),p.state("right",p.style({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),p.transition("* => left, * => right, left => center, right => center",p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),p.transition("void => left-origin-center",[p.style({transform:"translate3d(-100%, 0, 0)"}),p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),p.transition("void => right-origin-center",[p.style({transform:"translate3d(100%, 0, 0)"}),p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},O=function(t){function e(e,a,n,i){var o=t.call(this,e,a,i)||this;return o._host=n,o._centeringSub=l.Subscription.EMPTY,o._leavingSub=l.Subscription.EMPTY,o}return v(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(d.startWith(this._host._isCenterPosition(this._host._position))).subscribe((function(t){t&&!e.hasAttached()&&e.attach(e._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){e.detach()}))},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e}(n.CdkPortalOutlet);O.decorators=[{type:o.Directive,args:[{selector:"[matTabBodyHost]"}]}],O.ctorParameters=function(){return[{type:o.ComponentFactoryResolver},{type:o.ViewContainerRef},{type:S,decorators:[{type:o.Inject,args:[o.forwardRef((function(){return S}))]}]},{type:void 0,decorators:[{type:o.Inject,args:[i.DOCUMENT]}]}]};var L=function(){function t(t,e,a){var n=this;this._elementRef=t,this._dir=e,this._dirChangeSubscription=l.Subscription.EMPTY,this._translateTabComplete=new l.Subject,this._onCentering=new o.EventEmitter,this._beforeCentering=new o.EventEmitter,this._afterLeavingCenter=new o.EventEmitter,this._onCentered=new o.EventEmitter(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe((function(t){n._computePositionAnimationState(t),a.markForCheck()}))),this._translateTabComplete.pipe(d.distinctUntilChanged((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){n._isCenterPosition(t.toState)&&n._isCenterPosition(n._position)&&n._onCentered.emit(),n._isCenterPosition(t.fromState)&&!n._isCenterPosition(n._position)&&n._afterLeavingCenter.emit()}))}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))},t.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},t.prototype._onTranslateTabStarted=function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._isCenterPosition=function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t},t.prototype._computePositionAnimationState=function(t){void 0===t&&(t=this._getLayoutDirection()),this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"},t.prototype._computePositionFromOrigin=function(t){var e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"},t}();L.decorators=[{type:o.Directive}],L.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.ChangeDetectorRef}]},L.propDecorators={_onCentering:[{type:o.Output}],_beforeCentering:[{type:o.Output}],_afterLeavingCenter:[{type:o.Output}],_onCentered:[{type:o.Output}],_content:[{type:o.Input,args:["content"]}],origin:[{type:o.Input}],animationDuration:[{type:o.Input}],position:[{type:o.Input}]};var S=function(t){function e(e,a,n){return t.call(this,e,a,n)||this}return v(e,t),e}(L);S.decorators=[{type:o.Component,args:[{selector:"mat-tab-body",template:'<div class="mat-tab-body-content" #content\n [@translateTab]="{\n value: _position,\n params: {animationDuration: animationDuration}\n }"\n (@translateTab.start)="_onTranslateTabStarted($event)"\n (@translateTab.done)="_translateTabComplete.next($event)">\n <ng-template matTabBodyHost></ng-template>\n</div>\n',encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,animations:[R.translateTab],host:{class:"mat-tab-body"},styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"]}]}],S.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.ChangeDetectorRef}]},S.propDecorators={_portalHost:[{type:o.ViewChild,args:[n.CdkPortalOutlet]}]};
39
+ var R={translateTab:p.trigger("translateTab",[p.state("center, void, left-origin-center, right-origin-center",p.style({transform:"none"})),p.state("left",p.style({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),p.state("right",p.style({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),p.transition("* => left, * => right, left => center, right => center",p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),p.transition("void => left-origin-center",[p.style({transform:"translate3d(-100%, 0, 0)"}),p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),p.transition("void => right-origin-center",[p.style({transform:"translate3d(100%, 0, 0)"}),p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},O=function(t){function e(e,a,n,i){var o=t.call(this,e,a,i)||this;return o._host=n,o._centeringSub=l.Subscription.EMPTY,o._leavingSub=l.Subscription.EMPTY,o}return v(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(d.startWith(this._host._isCenterPosition(this._host._position))).subscribe((function(t){t&&!e.hasAttached()&&e.attach(e._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){e.detach()}))},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e}(n.CdkPortalOutlet);O.decorators=[{type:o.Directive,args:[{selector:"[matTabBodyHost]"}]}],O.ctorParameters=function(){return[{type:o.ComponentFactoryResolver},{type:o.ViewContainerRef},{type:S,decorators:[{type:o.Inject,args:[o.forwardRef((function(){return S}))]}]},{type:void 0,decorators:[{type:o.Inject,args:[i.DOCUMENT]}]}]};var L=function(){function t(t,e,a){var n=this;this._elementRef=t,this._dir=e,this._dirChangeSubscription=l.Subscription.EMPTY,this._translateTabComplete=new l.Subject,this._onCentering=new o.EventEmitter,this._beforeCentering=new o.EventEmitter,this._afterLeavingCenter=new o.EventEmitter,this._onCentered=new o.EventEmitter(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe((function(t){n._computePositionAnimationState(t),a.markForCheck()}))),this._translateTabComplete.pipe(d.distinctUntilChanged((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){n._isCenterPosition(t.toState)&&n._isCenterPosition(n._position)&&n._onCentered.emit(),n._isCenterPosition(t.fromState)&&!n._isCenterPosition(n._position)&&n._afterLeavingCenter.emit()}))}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))},t.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},t.prototype._onTranslateTabStarted=function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._isCenterPosition=function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t},t.prototype._computePositionAnimationState=function(t){void 0===t&&(t=this._getLayoutDirection()),this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"},t.prototype._computePositionFromOrigin=function(t){var e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"},t}();L.decorators=[{type:o.Directive}],L.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.ChangeDetectorRef}]},L.propDecorators={_onCentering:[{type:o.Output}],_beforeCentering:[{type:o.Output}],_afterLeavingCenter:[{type:o.Output}],_onCentered:[{type:o.Output}],_content:[{type:o.Input,args:["content"]}],origin:[{type:o.Input}],animationDuration:[{type:o.Input}],position:[{type:o.Input}]};var S=function(t){function e(e,a,n){return t.call(this,e,a,n)||this}return v(e,t),e}(L);S.decorators=[{type:o.Component,args:[{selector:"mat-tab-body",template:'<div class="mat-tab-body-content" #content\n [@translateTab]="{\n value: _position,\n params: {animationDuration: animationDuration}\n }"\n (@translateTab.start)="_onTranslateTabStarted($event)"\n (@translateTab.done)="_translateTabComplete.next($event)"\n cdkScrollable>\n <ng-template matTabBodyHost></ng-template>\n</div>\n',encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,animations:[R.translateTab],host:{class:"mat-tab-body"},styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"]}]}],S.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.ChangeDetectorRef}]},S.propDecorators={_portalHost:[{type:o.ViewChild,args:[n.CdkPortalOutlet]}]};
40
40
  /**
41
41
  * @license
42
42
  * Copyright Google LLC All Rights Reserved.
@@ -44,7 +44,7 @@ var R={translateTab:p.trigger("translateTab",[p.state("center, void, left-origin
44
44
  * Use of this source code is governed by an MIT-style license that can be
45
45
  * found in the LICENSE file at https://angular.io/license
46
46
  */
47
- var M=new o.InjectionToken("MAT_TABS_CONFIG"),A=0,j=function j(){},B=function(t){function e(e,a,n,i){var r=t.call(this,e)||this;return r._changeDetectorRef=a,r._animationMode=i,r._tabs=new o.QueryList,r._indexToSelect=0,r._tabBodyWrapperHeight=0,r._tabsSubscription=l.Subscription.EMPTY,r._tabLabelSubscription=l.Subscription.EMPTY,r._selectedIndex=null,r.headerPosition="above",r.selectedIndexChange=new o.EventEmitter,r.focusChange=new o.EventEmitter,r.animationDone=new o.EventEmitter,r.selectedTabChange=new o.EventEmitter(!0),r._groupId=A++,r.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",r.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,r.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight,r}return v(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=b.coerceNumberProperty(t,null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!1,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var a=null==this._selectedIndex;a||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then((function(){t._tabs.forEach((function(t,a){return t.isActive=a===e})),a||t.selectedIndexChange.emit(e)}))}this._tabs.forEach((function(a,n){a.position=n-e,null==t._selectedIndex||0!=a.position||a.origin||(a.origin=e-t._selectedIndex)})),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),a=0;a<e.length;a++)if(e[a].isActive){t._indexToSelect=t._selectedIndex=a;break}t._changeDetectorRef.markForCheck()}))},e.prototype._subscribeToAllTabChanges=function(){var t=this;this._allTabs.changes.pipe(d.startWith(this._allTabs)).subscribe((function(e){t._tabs.reset(e.filter((function(e){return e._closestTabGroup===t}))),t._tabs.notifyOnChanges()}))},e.prototype.ngOnDestroy=function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},e.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},e.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},e.prototype._createChangeEvent=function(t){var e=new j;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},e.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=l.merge.apply(void 0,function e(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(x(arguments[e]));return t}(this._tabs.map((function(t){return t._stateChanges})))).subscribe((function(){return t._changeDetectorRef.markForCheck()}))},e.prototype._clampTabIndex=function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))},e.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},e.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},e.prototype._setTabBodyWrapperHeight=function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}},e.prototype._removeTabBodyWrapperHeight=function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()},e.prototype._handleClick=function(t,e,a){t.disabled||(this.selectedIndex=e.focusIndex=a)},e.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},e}(r.mixinColor(r.mixinDisableRipple((function N(t){this._elementRef=t})),"primary"));B.decorators=[{type:o.Directive}],B.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[M]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},B.propDecorators={dynamicHeight:[{type:o.Input}],selectedIndex:[{type:o.Input}],headerPosition:[{type:o.Input}],animationDuration:[{type:o.Input}],disablePagination:[{type:o.Input}],backgroundColor:[{type:o.Input}],selectedIndexChange:[{type:o.Output}],focusChange:[{type:o.Output}],animationDone:[{type:o.Output}],selectedTabChange:[{type:o.Output}]};var H=function(t){function e(e,a,n,i){return t.call(this,e,a,n,i)||this}return v(e,t),e}(B);H.decorators=[{type:o.Component,args:[{selector:"mat-tab-group",exportAs:"matTabGroup",template:'<mat-tab-header #tabHeader\n [selectedIndex]="selectedIndex || 0"\n [disableRipple]="disableRipple"\n [disablePagination]="disablePagination"\n (indexFocused)="_focusChanged($event)"\n (selectFocusedIndex)="selectedIndex = $event">\n <div class="mat-tab-label mat-focus-indicator" role="tab" matTabLabelWrapper mat-ripple cdkMonitorElementFocus\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabLabelId(i)"\n [attr.tabIndex]="_getTabIndex(tab, i)"\n [attr.aria-posinset]="i + 1"\n [attr.aria-setsize]="_tabs.length"\n [attr.aria-controls]="_getTabContentId(i)"\n [attr.aria-selected]="selectedIndex == i"\n [attr.aria-label]="tab.ariaLabel || null"\n [attr.aria-labelledby]="(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null"\n [class.mat-tab-label-active]="selectedIndex == i"\n [disabled]="tab.disabled"\n [matRippleDisabled]="tab.disabled || disableRipple"\n (click)="_handleClick(tab, tabHeader, i)">\n\n\n <div class="mat-tab-label-content">\n \x3c!-- If there is a label template, use it. --\x3e\n <ng-template [ngIf]="tab.templateLabel">\n <ng-template [cdkPortalOutlet]="tab.templateLabel"></ng-template>\n </ng-template>\n\n \x3c!-- If there is not a label template, fall back to the text label. --\x3e\n <ng-template [ngIf]="!tab.templateLabel">{{tab.textLabel}}</ng-template>\n </div>\n </div>\n</mat-tab-header>\n\n<div\n class="mat-tab-body-wrapper"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabBodyWrapper>\n <mat-tab-body role="tabpanel"\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabContentId(i)"\n [attr.aria-labelledby]="_getTabLabelId(i)"\n [class.mat-tab-body-active]="selectedIndex == i"\n [content]="tab.content!"\n [position]="tab.position!"\n [origin]="tab.origin"\n [animationDuration]="animationDuration"\n (_onCentered)="_removeTabBodyWrapperHeight()"\n (_onCentering)="_setTabBodyWrapperHeight($event)">\n </mat-tab-body>\n</div>\n',encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,inputs:["color","disableRipple"],providers:[{provide:D,useExisting:H}],host:{class:"mat-tab-group","[class.mat-tab-group-dynamic-height]":"dynamicHeight","[class.mat-tab-group-inverted-header]":'headerPosition === "below"'},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"]}]}],H.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[M]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},H.propDecorators={_allTabs:[{type:o.ContentChildren,args:[E,{descendants:!0}]}],_tabBodyWrapper:[{type:o.ViewChild,args:["tabBodyWrapper"]}],_tabHeader:[{type:o.ViewChild,args:["tabHeader"]}]};var F=function(t){function e(e){var a=t.call(this)||this;return a.elementRef=e,a}return v(e,t),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e}(r.mixinDisabled((function W(){})));F.decorators=[{type:o.Directive,args:[{selector:"[matTabLabelWrapper]",inputs:["disabled"],host:{"[class.mat-tab-disabled]":"disabled","[attr.aria-disabled]":"!!disabled"}}]}],F.ctorParameters=function(){return[{type:o.ElementRef}]};
47
+ var M=new o.InjectionToken("MAT_TABS_CONFIG"),A=0,j=function j(){},B=function(t){function e(e,a,n,i){var r=t.call(this,e)||this;return r._changeDetectorRef=a,r._animationMode=i,r._tabs=new o.QueryList,r._indexToSelect=0,r._tabBodyWrapperHeight=0,r._tabsSubscription=l.Subscription.EMPTY,r._tabLabelSubscription=l.Subscription.EMPTY,r._selectedIndex=null,r.headerPosition="above",r.selectedIndexChange=new o.EventEmitter,r.focusChange=new o.EventEmitter,r.animationDone=new o.EventEmitter,r.selectedTabChange=new o.EventEmitter(!0),r._groupId=A++,r.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",r.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,r.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight,r}return v(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=b.coerceNumberProperty(t,null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!1,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var a=null==this._selectedIndex;a||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then((function(){t._tabs.forEach((function(t,a){return t.isActive=a===e})),a||t.selectedIndexChange.emit(e)}))}this._tabs.forEach((function(a,n){a.position=n-e,null==t._selectedIndex||0!=a.position||a.origin||(a.origin=e-t._selectedIndex)})),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),a=0;a<e.length;a++)if(e[a].isActive){t._indexToSelect=t._selectedIndex=a;break}t._changeDetectorRef.markForCheck()}))},e.prototype._subscribeToAllTabChanges=function(){var t=this;this._allTabs.changes.pipe(d.startWith(this._allTabs)).subscribe((function(e){t._tabs.reset(e.filter((function(e){return e._closestTabGroup===t}))),t._tabs.notifyOnChanges()}))},e.prototype.ngOnDestroy=function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},e.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},e.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},e.prototype._createChangeEvent=function(t){var e=new j;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},e.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=l.merge.apply(void 0,function e(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(x(arguments[e]));return t}(this._tabs.map((function(t){return t._stateChanges})))).subscribe((function(){return t._changeDetectorRef.markForCheck()}))},e.prototype._clampTabIndex=function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))},e.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},e.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},e.prototype._setTabBodyWrapperHeight=function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}},e.prototype._removeTabBodyWrapperHeight=function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()},e.prototype._handleClick=function(t,e,a){t.disabled||(this.selectedIndex=e.focusIndex=a)},e.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},e.prototype._tabFocusChanged=function(t,e){t&&(this._tabHeader.focusIndex=e)},e}(r.mixinColor(r.mixinDisableRipple((function N(t){this._elementRef=t})),"primary"));B.decorators=[{type:o.Directive}],B.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[M]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},B.propDecorators={dynamicHeight:[{type:o.Input}],selectedIndex:[{type:o.Input}],headerPosition:[{type:o.Input}],animationDuration:[{type:o.Input}],disablePagination:[{type:o.Input}],backgroundColor:[{type:o.Input}],selectedIndexChange:[{type:o.Output}],focusChange:[{type:o.Output}],animationDone:[{type:o.Output}],selectedTabChange:[{type:o.Output}]};var H=function(t){function e(e,a,n,i){return t.call(this,e,a,n,i)||this}return v(e,t),e}(B);H.decorators=[{type:o.Component,args:[{selector:"mat-tab-group",exportAs:"matTabGroup",template:'<mat-tab-header #tabHeader\n [selectedIndex]="selectedIndex || 0"\n [disableRipple]="disableRipple"\n [disablePagination]="disablePagination"\n (indexFocused)="_focusChanged($event)"\n (selectFocusedIndex)="selectedIndex = $event">\n <div class="mat-tab-label mat-focus-indicator" role="tab" matTabLabelWrapper mat-ripple cdkMonitorElementFocus\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabLabelId(i)"\n [attr.tabIndex]="_getTabIndex(tab, i)"\n [attr.aria-posinset]="i + 1"\n [attr.aria-setsize]="_tabs.length"\n [attr.aria-controls]="_getTabContentId(i)"\n [attr.aria-selected]="selectedIndex == i"\n [attr.aria-label]="tab.ariaLabel || null"\n [attr.aria-labelledby]="(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null"\n [class.mat-tab-label-active]="selectedIndex == i"\n [disabled]="tab.disabled"\n [matRippleDisabled]="tab.disabled || disableRipple"\n (click)="_handleClick(tab, tabHeader, i)"\n (cdkFocusChange)="_tabFocusChanged($event, i)">\n\n\n <div class="mat-tab-label-content">\n \x3c!-- If there is a label template, use it. --\x3e\n <ng-template [ngIf]="tab.templateLabel">\n <ng-template [cdkPortalOutlet]="tab.templateLabel"></ng-template>\n </ng-template>\n\n \x3c!-- If there is not a label template, fall back to the text label. --\x3e\n <ng-template [ngIf]="!tab.templateLabel">{{tab.textLabel}}</ng-template>\n </div>\n </div>\n</mat-tab-header>\n\n<div\n class="mat-tab-body-wrapper"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabBodyWrapper>\n <mat-tab-body role="tabpanel"\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabContentId(i)"\n [attr.aria-labelledby]="_getTabLabelId(i)"\n [class.mat-tab-body-active]="selectedIndex == i"\n [content]="tab.content!"\n [position]="tab.position!"\n [origin]="tab.origin"\n [animationDuration]="animationDuration"\n (_onCentered)="_removeTabBodyWrapperHeight()"\n (_onCentering)="_setTabBodyWrapperHeight($event)">\n </mat-tab-body>\n</div>\n',encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,inputs:["color","disableRipple"],providers:[{provide:D,useExisting:H}],host:{class:"mat-tab-group","[class.mat-tab-group-dynamic-height]":"dynamicHeight","[class.mat-tab-group-inverted-header]":'headerPosition === "below"'},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"]}]}],H.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[M]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},H.propDecorators={_allTabs:[{type:o.ContentChildren,args:[E,{descendants:!0}]}],_tabBodyWrapper:[{type:o.ViewChild,args:["tabBodyWrapper"]}],_tabHeader:[{type:o.ViewChild,args:["tabHeader"]}]};var F=function(t){function e(e){var a=t.call(this)||this;return a.elementRef=e,a}return v(e,t),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e}(r.mixinDisabled((function W(){})));F.decorators=[{type:o.Directive,args:[{selector:"[matTabLabelWrapper]",inputs:["disabled"],host:{"[class.mat-tab-disabled]":"disabled","[attr.aria-disabled]":"!!disabled"}}]}],F.ctorParameters=function(){return[{type:o.ElementRef}]};
48
48
  /**
49
49
  * @license
50
50
  * Copyright Google LLC All Rights Reserved.
@@ -52,7 +52,7 @@ var M=new o.InjectionToken("MAT_TABS_CONFIG"),A=0,j=function j(){},B=function(t)
52
52
  * Use of this source code is governed by an MIT-style license that can be
53
53
  * found in the LICENSE file at https://angular.io/license
54
54
  */
55
- var V=u.normalizePassiveListenerOptions({passive:!0}),z=function(){function t(t,e,a,n,i,r,s){var c=this;this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=a,this._dir=n,this._ngZone=i,this._platform=r,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new l.Subject,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new l.Subject,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,i.runOutsideAngular((function(){l.fromEvent(t.nativeElement,"mouseleave").pipe(d.takeUntil(c._destroyed)).subscribe((function(){c._stopInterval()}))}))}return Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=b.coerceNumberProperty(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))},enumerable:!1,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;l.fromEvent(this._previousPaginator.nativeElement,"touchstart",V).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("before")})),l.fromEvent(this._nextPaginator.nativeElement,"touchstart",V).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("after")}))},t.prototype.ngAfterContentInit=function(){var t=this,a=this._dir?this._dir.change:l.of(null),n=this._viewportRuler.change(150),i=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new e.FocusKeyManager(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),l.merge(a,n,this._items.changes).pipe(d.takeUntil(this._destroyed)).subscribe((function(){Promise.resolve().then(i),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())})),this._keyManager.change.pipe(d.takeUntil(this._destroyed)).subscribe((function(e){t.indexFocused.emit(e),t._setTabFocus(e)}))},t.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},t.prototype._handleKeydown=function(t){if(!m.hasModifierKey(t))switch(t.keyCode){case m.ENTER:case m.SPACE:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}},t.prototype._onContentChanges=function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run((function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()})))},t.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(t.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)},enumerable:!1,configurable:!0}),t.prototype._isValidIndex=function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled},t.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,a=this._getLayoutDirection();e.scrollLeft="ltr"==a?0:e.scrollWidth-e.offsetWidth}},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._updateTabScrollPosition=function(){if(!this.disablePagination){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX("+Math.round(e)+"px)",(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}},Object.defineProperty(t.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)},enumerable:!1,configurable:!0}),t.prototype._scrollHeader=function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)},t.prototype._handlePaginatorClick=function(t){this._stopInterval(),this._scrollHeader(t)},t.prototype._scrollToLabel=function(t){if(!this.disablePagination){var e=this._items?this._items.toArray()[t]:null;if(e){var a,n,i=this._tabListContainer.nativeElement.offsetWidth,o=e.elementRef.nativeElement,r=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?n=(a=r)+s:a=(n=this._tabList.nativeElement.offsetWidth-r)-s;var l=this.scrollDistance,c=this.scrollDistance+i;a<l?this.scrollDistance-=l-a+60:n>c&&(this.scrollDistance+=n-c+60)}}},t.prototype._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}},t.prototype._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()},t.prototype._stopInterval=function(){this._stopScrolling.next()},t.prototype._handlePaginatorPress=function(t,e){var a=this;e&&null!=e.button&&0!==e.button||(this._stopInterval(),l.timer(650,100).pipe(d.takeUntil(l.merge(this._stopScrolling,this._destroyed))).subscribe((function(){var e=a._scrollHeader(t),n=e.distance;(0===n||n>=e.maxScrollDistance)&&a._stopInterval()})))},t.prototype._scrollTo=function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}},t}();z.decorators=[{type:o.Directive}],z.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},z.propDecorators={disablePagination:[{type:o.Input}]};var U=function(t){function e(e,a,n,i,o,r,s){var l=t.call(this,e,a,n,i,o,r,s)||this;return l._disableRipple=!1,l}return v(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(t){t.preventDefault()},e}(z);U.decorators=[{type:o.Directive}],U.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},U.propDecorators={disableRipple:[{type:o.Input}]};var q=function(t){function e(e,a,n,i,o,r,s){return t.call(this,e,a,n,i,o,r,s)||this}return v(e,t),e}(U);q.decorators=[{type:o.Component,args:[{selector:"mat-tab-header",template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-label-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n #tabList\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n role="tablist"\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-labels">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',inputs:["selectedIndex"],outputs:["selectFocusedIndex","indexFocused"],encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,host:{class:"mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'"},styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n']}]}],q.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},q.propDecorators={_items:[{type:o.ContentChildren,args:[F,{descendants:!1}]}],_inkBar:[{type:o.ViewChild,args:[y,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]};var Y=function(t){function e(e,a,n,i,o,r,s){var l=t.call(this,e,i,o,a,n,r,s)||this;return l._disableRipple=!1,l.color="primary",l}return v(e,t),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(){},e.prototype.ngAfterContentInit=function(){var e=this;this._items.changes.pipe(d.startWith(null),d.takeUntil(this._destroyed)).subscribe((function(){e.updateActiveLink()})),t.prototype.ngAfterContentInit.call(this)},e.prototype.updateActiveLink=function(){if(this._items){for(var t=this._items.toArray(),e=0;e<t.length;e++)if(t[e].active)return this.selectedIndex=e,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}},e}(z);Y.decorators=[{type:o.Directive}],Y.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},Y.propDecorators={backgroundColor:[{type:o.Input}],disableRipple:[{type:o.Input}],color:[{type:o.Input}]};var G=function(t){function e(e,a,n,i,o,r,s){return t.call(this,e,a,n,i,o,r,s)||this}return v(e,t),e}(Y);G.decorators=[{type:o.Component,args:[{selector:"[mat-tab-nav-bar]",exportAs:"matTabNavBar, matTabNav",inputs:["color"],template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-link-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabList\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-links">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',host:{class:"mat-tab-nav-bar mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'","[class.mat-primary]":'color !== "warn" && color !== "accent"',"[class.mat-accent]":'color === "accent"',"[class.mat-warn]":'color === "warn"'},encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n']}]}],G.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},G.propDecorators={_items:[{type:o.ContentChildren,args:[o.forwardRef((function(){return Q})),{descendants:!0}]}],_inkBar:[{type:o.ViewChild,args:[y,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]};var $=function(t){function e(e,a,n,i,o,r){var s=t.call(this)||this;return s._tabNavBar=e,s.elementRef=a,s._focusMonitor=o,s._isActive=!1,s.rippleConfig=n||{},s.tabIndex=parseInt(i)||0,"NoopAnimations"===r&&(s.rippleConfig.animation={enterDuration:0,exitDuration:0}),s}return v(e,t),Object.defineProperty(e.prototype,"active",{get:function(){return this._isActive},set:function(t){b.coerceBooleanProperty(t)!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled},enumerable:!1,configurable:!0}),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)},e}(r.mixinTabIndex(r.mixinDisableRipple(r.mixinDisabled((function Z(){})))));$.decorators=[{type:o.Directive}],$.ctorParameters=function(){return[{type:Y},{type:o.ElementRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},$.propDecorators={active:[{type:o.Input}]};var K,Q=function(t){function e(e,a,n,i,o,s,l,c){var p=t.call(this,e,a,o,s,l,c)||this;return p._tabLinkRipple=new r.RippleRenderer(p,n,a,i),p._tabLinkRipple.setupTriggerEvents(a.nativeElement),p}return v(e,t),e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._tabLinkRipple._removeTriggerEvents()},e}($);Q.decorators=[{type:o.Directive,args:[{selector:"[mat-tab-link], [matTabLink]",exportAs:"matTabLink",inputs:["disabled","disableRipple","tabIndex"],host:{class:"mat-tab-link mat-focus-indicator","[attr.aria-current]":'active ? "page" : null',"[attr.aria-disabled]":"disabled","[attr.tabIndex]":"tabIndex","[class.mat-tab-disabled]":"disabled","[class.mat-tab-label-active]":"active"}}]}],Q.ctorParameters=function(){return[{type:G},{type:o.ElementRef},{type:o.NgZone},{type:u.Platform},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},(K=function K(){}).decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule,r.MatCommonModule,n.PortalModule,r.MatRippleModule,a.ObserversModule,e.A11yModule],exports:[r.MatCommonModule,H,P,E,G,Q,C],declarations:[H,P,E,y,F,G,Q,S,O,q,C]}]}],
55
+ var V=u.normalizePassiveListenerOptions({passive:!0}),z=function(){function t(t,e,a,n,i,r,s){var c=this;this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=a,this._dir=n,this._ngZone=i,this._platform=r,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new l.Subject,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new l.Subject,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,i.runOutsideAngular((function(){l.fromEvent(t.nativeElement,"mouseleave").pipe(d.takeUntil(c._destroyed)).subscribe((function(){c._stopInterval()}))}))}return Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=b.coerceNumberProperty(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))},enumerable:!1,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;l.fromEvent(this._previousPaginator.nativeElement,"touchstart",V).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("before")})),l.fromEvent(this._nextPaginator.nativeElement,"touchstart",V).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("after")}))},t.prototype.ngAfterContentInit=function(){var t=this,a=this._dir?this._dir.change:l.of(null),n=this._viewportRuler.change(150),i=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new e.FocusKeyManager(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),l.merge(a,n,this._items.changes).pipe(d.takeUntil(this._destroyed)).subscribe((function(){Promise.resolve().then(i),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())})),this._keyManager.change.pipe(d.takeUntil(this._destroyed)).subscribe((function(e){t.indexFocused.emit(e),t._setTabFocus(e)}))},t.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},t.prototype._handleKeydown=function(t){if(!m.hasModifierKey(t))switch(t.keyCode){case m.ENTER:case m.SPACE:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}},t.prototype._onContentChanges=function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run((function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()})))},t.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(t.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)},enumerable:!1,configurable:!0}),t.prototype._isValidIndex=function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled},t.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,a=this._getLayoutDirection();e.scrollLeft="ltr"==a?0:e.scrollWidth-e.offsetWidth}},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._updateTabScrollPosition=function(){if(!this.disablePagination){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX("+Math.round(e)+"px)",(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}},Object.defineProperty(t.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)},enumerable:!1,configurable:!0}),t.prototype._scrollHeader=function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)},t.prototype._handlePaginatorClick=function(t){this._stopInterval(),this._scrollHeader(t)},t.prototype._scrollToLabel=function(t){if(!this.disablePagination){var e=this._items?this._items.toArray()[t]:null;if(e){var a,n,i=this._tabListContainer.nativeElement.offsetWidth,o=e.elementRef.nativeElement,r=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?n=(a=r)+s:a=(n=this._tabList.nativeElement.offsetWidth-r)-s;var l=this.scrollDistance,c=this.scrollDistance+i;a<l?this.scrollDistance-=l-a+60:n>c&&(this.scrollDistance+=n-c+60)}}},t.prototype._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}},t.prototype._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()},t.prototype._stopInterval=function(){this._stopScrolling.next()},t.prototype._handlePaginatorPress=function(t,e){var a=this;e&&null!=e.button&&0!==e.button||(this._stopInterval(),l.timer(650,100).pipe(d.takeUntil(l.merge(this._stopScrolling,this._destroyed))).subscribe((function(){var e=a._scrollHeader(t),n=e.distance;(0===n||n>=e.maxScrollDistance)&&a._stopInterval()})))},t.prototype._scrollTo=function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}},t}();z.decorators=[{type:o.Directive}],z.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},z.propDecorators={disablePagination:[{type:o.Input}]};var U=function(t){function e(e,a,n,i,o,r,s){var l=t.call(this,e,a,n,i,o,r,s)||this;return l._disableRipple=!1,l}return v(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(t){t.preventDefault()},e}(z);U.decorators=[{type:o.Directive}],U.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},U.propDecorators={disableRipple:[{type:o.Input}]};var q=function(t){function e(e,a,n,i,o,r,s){return t.call(this,e,a,n,i,o,r,s)||this}return v(e,t),e}(U);q.decorators=[{type:o.Component,args:[{selector:"mat-tab-header",template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-label-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n #tabList\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n role="tablist"\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-labels">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',inputs:["selectedIndex"],outputs:["selectFocusedIndex","indexFocused"],encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,host:{class:"mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'"},styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n']}]}],q.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},q.propDecorators={_items:[{type:o.ContentChildren,args:[F,{descendants:!1}]}],_inkBar:[{type:o.ViewChild,args:[y,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]};var Y=function(t){function e(e,a,n,i,o,r,s){var l=t.call(this,e,i,o,a,n,r,s)||this;return l._disableRipple=!1,l.color="primary",l}return v(e,t),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(){},e.prototype.ngAfterContentInit=function(){var e=this;this._items.changes.pipe(d.startWith(null),d.takeUntil(this._destroyed)).subscribe((function(){e.updateActiveLink()})),t.prototype.ngAfterContentInit.call(this)},e.prototype.updateActiveLink=function(){if(this._items){for(var t=this._items.toArray(),e=0;e<t.length;e++)if(t[e].active)return this.selectedIndex=e,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}},e}(z);Y.decorators=[{type:o.Directive}],Y.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},Y.propDecorators={backgroundColor:[{type:o.Input}],disableRipple:[{type:o.Input}],color:[{type:o.Input}]};var $=function(t){function e(e,a,n,i,o,r,s){return t.call(this,e,a,n,i,o,r,s)||this}return v(e,t),e}(Y);$.decorators=[{type:o.Component,args:[{selector:"[mat-tab-nav-bar]",exportAs:"matTabNavBar, matTabNav",inputs:["color"],template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-link-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabList\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-links">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',host:{class:"mat-tab-nav-bar mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'","[class.mat-primary]":'color !== "warn" && color !== "accent"',"[class.mat-accent]":'color === "accent"',"[class.mat-warn]":'color === "warn"'},encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n']}]}],$.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},$.propDecorators={_items:[{type:o.ContentChildren,args:[o.forwardRef((function(){return Q})),{descendants:!0}]}],_inkBar:[{type:o.ViewChild,args:[y,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]};var G=function(t){function e(e,a,n,i,o,r){var s=t.call(this)||this;return s._tabNavBar=e,s.elementRef=a,s._focusMonitor=o,s._isActive=!1,s.rippleConfig=n||{},s.tabIndex=parseInt(i)||0,"NoopAnimations"===r&&(s.rippleConfig.animation={enterDuration:0,exitDuration:0}),s}return v(e,t),Object.defineProperty(e.prototype,"active",{get:function(){return this._isActive},set:function(t){b.coerceBooleanProperty(t)!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled},enumerable:!1,configurable:!0}),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)},e}(r.mixinTabIndex(r.mixinDisableRipple(r.mixinDisabled((function Z(){})))));G.decorators=[{type:o.Directive}],G.ctorParameters=function(){return[{type:Y},{type:o.ElementRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},G.propDecorators={active:[{type:o.Input}]};var K,Q=function(t){function e(e,a,n,i,o,s,l,c){var p=t.call(this,e,a,o,s,l,c)||this;return p._tabLinkRipple=new r.RippleRenderer(p,n,a,i),p._tabLinkRipple.setupTriggerEvents(a.nativeElement),p}return v(e,t),e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._tabLinkRipple._removeTriggerEvents()},e}(G);Q.decorators=[{type:o.Directive,args:[{selector:"[mat-tab-link], [matTabLink]",exportAs:"matTabLink",inputs:["disabled","disableRipple","tabIndex"],host:{class:"mat-tab-link mat-focus-indicator","[attr.aria-current]":'active ? "page" : null',"[attr.aria-disabled]":"disabled","[attr.tabIndex]":"tabIndex","[class.mat-tab-disabled]":"disabled","[class.mat-tab-label-active]":"active"}}]}],Q.ctorParameters=function(){return[{type:$},{type:o.ElementRef},{type:o.NgZone},{type:u.Platform},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},(K=function K(){}).decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule,r.MatCommonModule,n.PortalModule,r.MatRippleModule,a.ObserversModule,e.A11yModule],exports:[r.MatCommonModule,H,P,E,$,Q,C],declarations:[H,P,E,y,F,$,Q,S,O,q,C]}]}],
56
56
  /**
57
57
  * @license
58
58
  * Copyright Google LLC All Rights Reserved.
@@ -67,4 +67,4 @@ var V=u.normalizePassiveListenerOptions({passive:!0}),z=function(){function t(t,
67
67
  * Use of this source code is governed by an MIT-style license that can be
68
68
  * found in the LICENSE file at https://angular.io/license
69
69
  */
70
- t.MAT_TABS_CONFIG=M,t.MAT_TAB_GROUP=D,t.MatInkBar=y,t.MatTab=E,t.MatTabBody=S,t.MatTabBodyPortal=O,t.MatTabChangeEvent=j,t.MatTabContent=C,t.MatTabGroup=H,t.MatTabHeader=q,t.MatTabLabel=P,t.MatTabLabelWrapper=F,t.MatTabLink=Q,t.MatTabNav=G,t.MatTabsModule=K,t._MAT_INK_BAR_POSITIONER=g,t._MatTabBodyBase=L,t._MatTabGroupBase=B,t._MatTabHeaderBase=U,t._MatTabLinkBase=$,t._MatTabNavBase=Y,t.matTabsAnimations=R,t.ɵangular_material_src_material_tabs_tabs_a=f,t.ɵangular_material_src_material_tabs_tabs_b=I,t.ɵangular_material_src_material_tabs_tabs_c=k,t.ɵangular_material_src_material_tabs_tabs_d=z,Object.defineProperty(t,"__esModule",{value:!0})}));
70
+ t.MAT_TABS_CONFIG=M,t.MAT_TAB_GROUP=D,t.MatInkBar=y,t.MatTab=E,t.MatTabBody=S,t.MatTabBodyPortal=O,t.MatTabChangeEvent=j,t.MatTabContent=C,t.MatTabGroup=H,t.MatTabHeader=q,t.MatTabLabel=P,t.MatTabLabelWrapper=F,t.MatTabLink=Q,t.MatTabNav=$,t.MatTabsModule=K,t._MAT_INK_BAR_POSITIONER=g,t._MatTabBodyBase=L,t._MatTabGroupBase=B,t._MatTabHeaderBase=U,t._MatTabLinkBase=G,t._MatTabNavBase=Y,t.matTabsAnimations=R,t.ɵangular_material_src_material_tabs_tabs_a=f,t.ɵangular_material_src_material_tabs_tabs_b=I,t.ɵangular_material_src_material_tabs_tabs_c=k,t.ɵangular_material_src_material_tabs_tabs_d=z,Object.defineProperty(t,"__esModule",{value:!0})}));