{"version":3,"sources":["webpack:///./packages/mdc-tab/mdc-tab.scss","webpack:///./packages/material-components-web/node_modules/@material/typography/_typography.scss","webpack:///./packages/material-components-web/node_modules/@material/theme/_css.scss","webpack:///./packages/material-components-web/node_modules/@material/theme/_gss.scss","webpack:///./packages/material-components-web/node_modules/@material/tab-indicator/_mixins.scss","webpack:///mdc-tab.scss","webpack:///./packages/material-components-web/node_modules/@material/focus-ring/_focus-ring.scss","webpack:///./packages/material-components-web/node_modules/@material/dom/_dom.scss","webpack:///./packages/mdc-tab/_variables.scss","webpack:///./packages/material-components-web/node_modules/@material/rtl/_rtl.scss","webpack:///./packages/material-components-web/node_modules/@material/ripple/_ripple.scss","webpack:///./packages/material-components-web/node_modules/@material/animation/_animation.scss","webpack:///./packages/material-components-web/node_modules/@material/ripple/_ripple-theme.scss"],"names":[],"mappings":";;;;;;;AAqJE;ECoLE;EACA;ECxQE;ECZF;EDwBA;EAZE;ECZF;EDwBA;EAZE;ECZF;EDwBA;EAZE;ECZF;EDwBA;EAZE;ECZF;EDwBA;EAZE;ECZF;EDwBA;UAAA;EAZE;ECZF;EDwBA;EE8CA;ACnGJ;AL8KE;EEzHE;AGlDJ;ALqLE;EEnIE;EFuIE;AKrLN;AL8RI;EMxPA;EACA;EACA;EACA;EACA;EACA;EHhBA;EAAc;EGkBd;EHlBA;EAAc;EGoBd;UAAA;EACA;;KAzB0B;EA0B1B;;KApB4B;EN0QxB;EAEA;AKnRR;AE2CI;EP6NA;IM1OE;ED1BJ;AACF;AC4BI;EACE;EACA;EACA,mBNuOgB;EMtOhB;EACA;EACA;EHlCF;EAAc;EGoCZ;EHpCF;EAAc;EGsCZ;UAAA;EACA,wBA/BgB;EAgChB,uBAhCgB;ADQtB;AEsBI;EDVA;IAeI;EDvBN;AACF;AL6PI;EMvQA;EACA;EACA;EACA;EACA;EACA;EHhBA;EAAc;EGkBd;EHlBA;EAAc;EGoBd;UAAA;EACA;;KAzB0B;EA0B1B;;KApB4B;EN0RxB;AKlP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;IACE;YAAA;IACA;ELrEJ;EKwEE;IACE;ELtEJ;AACF;AKyEE;EACE;IACE;YAAA;IACA;ELvEJ;EK0EE;IACE;ELxEJ;AACF;AKgEE;EACE;IACE;YAAA;IACA;ELvEJ;EK0EE;IACE;ELxEJ;AACF;ALkFE;EU9OE;EACA;EACA;EACA;EACA;EACA;EAEA;AL8JJ;AKvJE;;EAGI;EACA;EACA;EACA;EACA;ALwJN;AKpJE;EAGI;ER5EA;ECZF;EDwBA;AGuNJ;AK1IE;ERzFI;ECZF;EDwBA;AG4NJ;AKnII;EAEI;UAAA;ALoIR;AKhII;EAEI;EPpHJ;EAAc;EOsHV;EACA;UAAA;EACA;UAAA;ALkIR;AK5HI;EAEI;EPhIJ;EAAc;EOkIV;AL8HR;AKxHI;EAEI;UAAA;ALyHR;AKjHI;EAEI;UAAA;EPpJJ;EAAc;EO0JV;UAAA;AL+GR;AKjGE;;EAGI;EP3KF;EAAc;EO6KZ;EACA;EACA;ALmGN;AK9FI;EAEI;EACA;AL+FR;AOvLI;EVxFE;ECZF;EDwBA;AGwQJ;AO4ME;EVheI;ECZF;EDwBA;AG6QJ;AOuME;EA9QI;EVlNA;ECZF;EDwBA;AGmRJ;AOnDM;EAEI;APoDV;AO/CQ;EAEI,yBA/QO;EV0Bb;ECZF;EDwBA;AG4RJ;AOxCI;EVpPA;AG+RJ;;ALIE;EAEI;EACA;EACA;EACA;EACA;EACA;EAEA;AKHN,C","file":"mdc.tab.css","sourcesContent":["//\n// Copyright 2018 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// stylelint-disable selector-class-pattern --\n// Selector '.mdc-*' should only be used in this project.\n\n@use '@material/feature-targeting/feature-targeting';\n@use '@material/focus-ring/focus-ring';\n@use '@material/ripple/ripple';\n@use '@material/ripple/ripple-theme';\n@use '@material/theme/theme';\n@use '@material/typography/typography';\n@use '@material/rtl/rtl';\n@use '@material/tab-indicator/mixins' as tab-indicator-mixins;\n@use './variables';\n\n// Public mixins\n\n@mixin core-styles($query: feature-targeting.all()) {\n @include without-ripple($query);\n @include ripple($query);\n}\n\n@mixin static-styles($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n $feat-animation: feature-targeting.create-target($query, animation);\n\n .mdc-tab {\n @include min-width(variables.$min-width, $query);\n @include horizontal-padding(variables.$horizontal-padding, $query);\n\n @include feature-targeting.targets($feat-structure) {\n display: flex;\n flex: 1 0 auto;\n justify-content: center;\n box-sizing: border-box;\n // Explicitly setting margin to 0 is to override safari default margin for button elements.\n margin: 0;\n padding-top: 0;\n padding-bottom: 0;\n border: none;\n outline: none;\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n -webkit-appearance: none;\n z-index: 1;\n\n // Firefox still draws a dotted border around focused buttons unless specifically overridden.\n &::-moz-focus-inner {\n padding: 0;\n border: 0;\n }\n\n &[hidden] {\n display: none;\n }\n }\n }\n\n .mdc-tab--min-width {\n @include feature-targeting.targets($feat-structure) {\n flex: 0 1 auto;\n }\n }\n\n .mdc-tab__content {\n @include feature-targeting.targets($feat-structure) {\n display: flex;\n align-items: center;\n justify-content: center;\n height: inherit;\n pointer-events: none;\n }\n }\n\n .mdc-tab__text-label {\n @include feature-targeting.targets($feat-animation) {\n transition: 150ms color linear;\n }\n\n @include feature-targeting.targets($feat-structure) {\n display: inline-block;\n // Setting line-height here overrides the line-height from the typography\n // mixin above. The line-height needs to be overridden so that the spacing\n // between the text label and the icon as well as the text label and the\n // bottom of the tab remain the same.\n line-height: 1;\n z-index: 2;\n }\n }\n\n .mdc-tab__icon {\n @include feature-targeting.targets($feat-animation) {\n transition: 150ms color linear;\n }\n\n @include feature-targeting.targets($feat-structure) {\n z-index: 2;\n }\n }\n\n .mdc-tab--stacked {\n @include stacked_($query);\n }\n\n .mdc-tab--active {\n .mdc-tab__text-label,\n .mdc-tab__icon {\n @include feature-targeting.targets($feat-animation) {\n transition-delay: 100ms;\n }\n }\n }\n\n .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon + .mdc-tab__text-label {\n @include feature-targeting.targets($feat-structure) {\n @include rtl.reflexive-box(padding, left, 8px);\n }\n }\n}\n\n// This API is intended for use by frameworks that may want to separate the ripple-related styles\n// from the other tah styles. It is recommended that most users use `mdc-tab-core-styles` instead.\n@mixin without-ripple($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n $feat-animation: feature-targeting.create-target($query, animation);\n\n // postcss-bem-linter: define tab\n\n .mdc-tab {\n @include base_($query);\n }\n\n .mdc-tab__content {\n @include content_($query);\n }\n\n .mdc-tab__icon {\n @include feature-targeting.targets($feat-structure) {\n width: variables.$icon-size;\n height: variables.$icon-size;\n font-size: variables.$icon-size;\n }\n }\n\n .mdc-tab--active {\n @include active_($query);\n }\n\n .mdc-tab {\n @include feature-targeting.targets($feat-structure) {\n background: none;\n }\n }\n\n @include static-styles($query: $query);\n // postcss-bem-linter: end\n}\n\n// This API is intended for use by frameworks that may want to separate the ripple-related styles\n// from the other tah styles. It is recommended that most users use `mdc-tab-core-styles` instead.\n@mixin ripple($query: feature-targeting.all()) {\n @include ripple.common($query); // COPYBARA_COMMENT_THIS_LINE\n\n @include ripple_($query);\n}\n\n@mixin horizontal-padding($padding, $query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n padding-right: $padding;\n padding-left: $padding;\n }\n}\n\n@mixin text-label-color($color, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n .mdc-tab__text-label {\n @include feature-targeting.targets($feat-color) {\n @include theme.property(color, $color);\n }\n }\n}\n\n@mixin icon-color($color, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n .mdc-tab__icon {\n @include feature-targeting.targets($feat-color) {\n @include theme.property(color, $color);\n\n fill: currentColor;\n }\n }\n}\n\n@mixin states-color($color, $query: feature-targeting.all()) {\n @include ripple-theme.states(\n $color,\n $query: $query,\n $ripple-target: variables.$ripple-target\n );\n}\n\n@mixin ink-color($color, $query: feature-targeting.all()) {\n @include icon-color($color, $query);\n @include states-color($color, $query);\n @include text-label-color($color, $query);\n}\n\n@mixin active-text-label-color($color, $query: feature-targeting.all()) {\n &.mdc-tab--active {\n @include text-label-color($color, $query);\n }\n}\n\n@mixin active-icon-color($color, $query: feature-targeting.all()) {\n &.mdc-tab--active {\n @include icon-color($color, $query);\n }\n}\n\n@mixin active-states-color($color, $query: feature-targeting.all()) {\n &.mdc-tab--active {\n @include states-color($color, $query);\n }\n}\n\n@mixin parent-positioning($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n position: relative;\n }\n}\n\n@mixin fixed-width($width, $query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n flex: 0 1 $width;\n }\n}\n\n///\n/// Sets tab height\n///\n/// @param {Number} $height Height value in `px`.\n///\n@mixin height($height, $query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n height: $height;\n }\n}\n\n///\n/// Sets tab text transform\n///\n/// @param {String} $transform The text-transform property to apply.\n///\n@mixin text-transform($transform, $query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n text-transform: $transform;\n }\n}\n\n///\n/// Sets tab min-width.\n///\n/// @param {Number} $min-width Minimum width value in `px`.\n///\n@mixin min-width($min-width, $query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n min-width: $min-width;\n }\n}\n\n//\n// Private\n//\n\n@mixin base_($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include typography.typography(button, $query);\n @include text-label-color(variables.$text-label-color-default, $query);\n @include icon-color(variables.$icon-color-default, $query);\n @include tab-indicator-mixins.surface($query);\n\n @include ripple-theme.focus() {\n &.mdc-tab--active .mdc-tab__focus-ring {\n @include focus-ring.focus-ring(\n $query: $query,\n $ring-radius: 10px,\n $container-outer-padding-vertical: -6px,\n $container-outer-padding-horizontal: -4px\n );\n\n @include feature-targeting.targets($feat-structure) {\n margin-top: -2px;\n // Set z-index to +1 above the .mdc-tab\n z-index: 2;\n }\n }\n\n .mdc-tab__focus-ring {\n @include focus-ring.focus-ring(\n $query: $query,\n $ring-radius: 10px,\n $container-outer-padding-vertical: -4px,\n $container-outer-padding-horizontal: -4px\n );\n\n @include feature-targeting.targets($feat-structure) {\n // Set z-index to +1 above the .mdc-tab\n z-index: 2;\n }\n }\n }\n}\n\n@mixin ripple_($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n .mdc-tab {\n @include ripple.surface(\n $query,\n $ripple-target: variables.$ripple-target,\n $include-will-change: false\n );\n @include ripple.radius-bounded(\n $query: $query,\n $ripple-target: variables.$ripple-target\n );\n @include ripple-theme.states(\n $color: primary,\n $query: $query,\n $ripple-target: variables.$ripple-target\n );\n }\n\n #{variables.$ripple-target} {\n @include feature-targeting.targets($feat-structure) {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n // TODO(b/151931961): Remove the following line once resolved\n will-change: transform, opacity;\n }\n }\n}\n\n@mixin content_($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include tab-indicator-mixins.surface($query);\n}\n\n@mixin stacked_($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n .mdc-tab__content {\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n .mdc-tab__text-label {\n padding-top: 6px;\n padding-bottom: 4px;\n }\n }\n}\n\n@mixin active_($query: feature-targeting.all()) {\n $feat-animation: feature-targeting.create-target($query, animation);\n\n @include text-label-color(variables.$text-label-color-active, $query);\n @include icon-color(variables.$icon-color-active, $query);\n}\n","//\n// Copyright 2017 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// stylelint-disable selector-class-pattern --\n// Selector '.mdc-*' should only be used in this project.\n\n@use 'sass:math';\n@use 'sass:list';\n@use 'sass:map';\n@use 'sass:meta';\n@use 'sass:string';\n@use '@material/feature-targeting/feature-targeting';\n@use '@material/theme/custom-properties';\n@use '@material/theme/keys';\n@use '@material/theme/theme';\n\n/// @deprecated Avoid calling this function directly. Instead, configure the\n/// `$styles-