{"version":3,"sources":["","file:///Users/ket/Documents/work/dsfr/module/media-query/mixin/_respond-from.scss","file:///Users/ket/Documents/work/dsfr/module/shame/media-query/mixin/_order.scss","%3Cinput%20css%20BT1_Hm%3E","file:///Users/ket/Documents/work/dsfr/module/legacy/mixin/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/component/range/style/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_size.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_space.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.scss","file:///Users/ket/Documents/work/dsfr/module/selector/mixin/_range.scss","file:///Users/ket/Documents/work/dsfr/module/elevation/mixin/_z-index.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_z-index.scss","file:///Users/ket/Documents/work/dsfr/src/component/range/style/_scheme.scss"],"names":[],"mappings":"AAAA;;GAAA;ACeI;ECRI,cAAA;ACLR;AFaI;ECRI,cAAA;ACFR;AFUI;ECRI,cAAA;ACCR;AFOI;ECRI,cAAA;ACIR;ACFI;ECIA;;;ICKE,iBAAA;EHHJ;;EEIE;IEcA,UAfE;EJAJ;;EEKE;IAEE,2BAAA;EFJJ;;EKLA;IAGI,aHKe;IIiBjB,yBAAA;ENjBF;;EEGI;IEEA,iBAXA;EJSJ;;EEII;IEFA,oBAXA;EJYJ;;EOYA;IJRI,eAAA;IDEI,uBAAA;IACA,yBAAA;IACA,wBAAA;IACA,kBAAA;EFFR;;EOWA;IJdI,eAAA;IDWI,uBAAA;EFJR;;EOLA;IJsBI,aAAA;IAGA,cAAA;IDXI,kBAAA;IMzCF,YAAA;IFgCJ,sBAAA;IAAA,yBAAA;ENYF;;EEAM;IACE,oBAAA;EFIR;;EEMI;IAEE,+BAAA;IACA,4BAAA;EFEN;;EEAM;ICnDF,eAAA;EH6DJ;;EENM;IACE,0BAAA;EFUR;;EOpCA;IL6BU,6BAAA;EFUV;;EEPQ;IEnDJ,oBAXA;IKFJ,UAAA;ET2EA;;EENQ;IACE,YAAA;EFQV;;EECQ;;;IC7EJ,eAAA;EHiFJ;;EOzDA;IJRI,cAAA;IDuEM,sBAAA;EFFV;;EOvDA;IJdI,cAAA;EHwEJ;;EOtEA;IJsBI,WAAA;IAGA,YAAA;EHiDJ;;EEOM;IACE,6BAAA;EFLR;;EEOQ;ICtGJ,eAAA;EHkGJ;;EEQQ;IACE,wBAAA;EFNV;;EEQU;IElGN,kBAXA;EJwGJ;;EESU;IACE,UAAA;EFPZ;;EK7GA;ICyBE,mCAAA;ENyFF;;EOvHE;ID8BA,yBAAA;ENuHF;;EU5HE;IJKA,cAAA;EN6HF;;EU9HE;;IJCA,WAAA;ENkIF;;EK3JA;ICyBE,6FAAA;ENuIF;;EKhKA;ICyBE,6FAAA;IAAA,+DAAA;EN4IF;;EKrKA;ICyBE,6DAAA;ENsJF;;EK/KA;ICyBE,yDAAA;EN4JF;;EKrLA;ICyBE,yDAAA;ENiKF;;EK1LA;ICyBE,mCAAA;ENsKF;;EK/LA;ICyBE,yBAAA;EN2KF;;EKpMA;ICyBE,6FAAA;ENgLF;;EKzMA;ICyBE,uFAAA;ENqLF;;EUtGM;;;IJ/EJ,cAAA;EN0LF;AAzLF;ACjCI;EMuCF;IDPE,yBAAA;ENKF;;EOEA;IDPE,yBAAA;ENsBF;;EECI;IIvBF,oEAAA;ENiCF;AA3BF","file":"range.legacy.css","sourcesContent":[null,"@use '../variable/breakpoints';\n\n/// Set media query styles\n///\n/// @param {String} $media [md] - Layout size `['xs', 'sm', 'md', 'lg', 'xl']`\n///\n/// @example scss -\n/// .foo {\n/// @include respond-from(md) {\n/// }\n/// }\n@mixin respond-from($media) {\n $limits: map_get(breakpoints.$values, $media);\n\n @if $limits != null {\n @media (min-width: nth($limits, 1)) {\n @content;\n }\n }\n @else {\n @content;\n }\n}\n","@use 'module/media-query/variable/breakpoints';\n@use 'module/media-query';\n\n@mixin order () {\n @each $bp, $limits in breakpoints.$values {\n @if $bp != xs {\n @include media-query.respond-from($bp) {\n /*! media #{$bp} */\n }\n }\n }\n}\n","@media (min-width: 36em) {\n /*! media sm */\n}\n@media (min-width: 48em) {\n /*! media md */\n}\n@media (min-width: 62em) {\n /*! media lg */\n}\n@media (min-width: 78em) {\n /*! media xl */\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range__output, .fr-range__min, .fr-range__max {\n min-width: 1.5rem;\n }\n .fr-range input[type=range] {\n padding: 0;\n }\n .fr-range[data-fr-js-range] {\n justify-content: flex-start;\n }\n .fr-range[data-fr-js-range]::after {\n content: none;\n }\n .fr-range[data-fr-js-range] .fr-range__max {\n margin-left: auto;\n }\n .fr-range[data-fr-js-range] input[type=range] {\n margin-top: -0.25rem;\n }\n .fr-range[data-fr-js-range] input[type=range]::-ms-track {\n height: 0.75rem;\n background: transparent;\n border-color: transparent;\n border-width: 0.625rem 0;\n color: transparent;\n }\n .fr-range[data-fr-js-range] input[type=range]::-ms-fill-lower {\n height: 0.75rem;\n border-radius: 0.375rem;\n }\n}\n@media all and (-ms-high-contrast: none) and (-ms-high-contrast: none), (-ms-high-contrast: none) and (-ms-high-contrast: active), (-ms-high-contrast: active) and (-ms-high-contrast: none), (-ms-high-contrast: active) and (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range] input[type=range]::-ms-fill-lower {\n background-color: #000091;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range] input[type=range]::-ms-thumb {\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 50%;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range] input[type=range]:not(:only-of-type) {\n pointer-events: auto;\n }\n}\n@media all and (-ms-high-contrast: none) and (-ms-high-contrast: none), (-ms-high-contrast: none) and (-ms-high-contrast: active), (-ms-high-contrast: active) and (-ms-high-contrast: none), (-ms-high-contrast: active) and (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range] input[type=range]:disabled::-ms-fill-lower {\n background-color: #e5e5e5;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range].fr-range--double {\n background-position-y: 1.625rem;\n background-repeat: no-repeat;\n }\n}\n@media all and (-ms-high-contrast: none) and (-ms-high-contrast: none), (-ms-high-contrast: none) and (-ms-high-contrast: active), (-ms-high-contrast: active) and (-ms-high-contrast: none), (-ms-high-contrast: active) and (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range].fr-range--double {\n background-image: linear-gradient(to right, #000091 0, #000091 100%);\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range].fr-range--double .fr-range__output {\n min-width: 3rem;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range].fr-range--double input[type=range] {\n width: calc(100% - 1.5rem);\n }\n .fr-range[data-fr-js-range].fr-range--double input[type=range]::-ms-fill-lower {\n background-color: transparent;\n }\n .fr-range[data-fr-js-range].fr-range--double input[type=range]:nth-of-type(1) {\n margin-right: 1.5rem;\n z-index: 2;\n }\n .fr-range[data-fr-js-range].fr-range--double input[type=range]:nth-of-type(2) {\n left: 1.5rem;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range--sm[data-fr-js-range] .fr-range__output, .fr-range--sm[data-fr-js-range] .fr-range__min, .fr-range--sm[data-fr-js-range] .fr-range__max {\n min-width: 1rem;\n }\n .fr-range--sm[data-fr-js-range] input[type=range]::-ms-track {\n height: 0.5rem;\n border-width: 0.5rem 0;\n }\n .fr-range--sm[data-fr-js-range] input[type=range]::-ms-fill-lower {\n height: 0.5rem;\n }\n .fr-range--sm[data-fr-js-range] input[type=range]::-ms-thumb {\n width: 1rem;\n height: 1rem;\n }\n .fr-range--sm[data-fr-js-range].fr-range--double {\n background-position-y: 1.5rem;\n }\n .fr-range--sm[data-fr-js-range].fr-range--double .fr-range__output {\n min-width: 2rem;\n }\n .fr-range--sm[data-fr-js-range].fr-range--double input[type=range] {\n width: calc(100% - 1rem);\n }\n .fr-range--sm[data-fr-js-range].fr-range--double input[type=range]:nth-of-type(1) {\n margin-right: 1rem;\n }\n .fr-range--sm[data-fr-js-range].fr-range--double input[type=range]:nth-of-type(2) {\n left: 1rem;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range]::before {\n box-shadow: inset 0 0 0 1px #000091;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range]::after {\n background-color: #000091;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range] input[type=range]::-ms-thumb {\n z-index: 500;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range] input[type=range]::-ms-thumb {\n background-color: #fff;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range] input[type=range]::-ms-thumb {\n background-color: #fff;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range] input[type=range]::-ms-thumb {\n border: 1px solid #000091;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range[data-fr-js-range] input[type=range]:disabled::-ms-thumb {\n border: 1px solid #e5e5e5;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range__output {\n color: #000091;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range__min, .fr-range__max {\n color: #666;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range--step[data-fr-js-range]::before {\n background-image: radial-gradient(circle at 2px 50%, #000091 0, #000091 1px, transparent 1px);\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range--step[data-fr-js-range]::after {\n background-image: radial-gradient(circle at 2px 50%, #e3e3fd 0, #e3e3fd 2px, transparent 2px);\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range--step[data-fr-js-range]::after {\n box-shadow: inset 10px 0 0 0 #000091, inset -10px 0 0 0 #000091;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range--step.fr-range--sm[data-fr-js-range]::after {\n box-shadow: inset 6px 0 0 0 #000091, inset -6px 0 0 0 #000091;\n }\n}\n\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range-group--error::before {\n background-image: linear-gradient(0deg, #ce0500, #ce0500);\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range-group--valid::before {\n background-image: linear-gradient(0deg, #18753c, #18753c);\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range-group--disabled .fr-range[data-fr-js-range]::before {\n box-shadow: inset 0 0 0 1px #e5e5e5;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range-group--disabled .fr-range[data-fr-js-range]::after {\n background-color: #e5e5e5;\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range-group--disabled .fr-range--step[data-fr-js-range]::before {\n background-image: radial-gradient(circle at 2px 50%, #e5e5e5 0, #e5e5e5 1px, transparent 1px);\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range-group--disabled .fr-range--step[data-fr-js-range]::after {\n background-image: radial-gradient(circle at 2px 50%, #fff 0, #fff 2px, transparent 2px);\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-range-group--disabled .fr-range__output, .fr-range-group--disabled .fr-range__min, .fr-range-group--disabled .fr-range__max {\n color: #929292;\n }\n}","/// Styles spécifiques pour les plateformes antérieures\n///\n/// @example scss -\n/// .foo {\n/// @include ie-hack() {\n/// }\n/// }\n@mixin is($target) {\n @if $target == ie10 or $target == ie11 {\n @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n @content;\n }\n }\n @else {\n @content;\n }\n}\n\n/// Styles spécifiques pour les plateformes modernes, excluant les plateformes antérieures\n///\n/// @example scss -\n/// .foo {\n/// @include ie-hack() {\n/// }\n/// }\n@mixin is-not($target) {\n @if $target == ie10 or $target == ie11 {\n @supports not (-ms-high-contrast: none) {\n @content;\n }\n }\n}\n","////\n/// Input Legacy\n/// @group input\n////\n\n@use 'module/legacy';\n@use 'module/selector';\n@use 'module/disabled';\n@use 'module/color';\n@use 'module/spacing';\n\n@include legacy.is(ie11) {\n #{selector.ns(range)} {\n &__output,\n &__min,\n &__max {\n @include min-width(6v);\n }\n\n input[type=range] {\n @include padding(0);\n }\n\n &#{selector.ns-attr(js-range)} {\n @include after(none);\n justify-content: flex-start;\n\n #{selector.ns(range__max)} {\n @include margin-left(auto);\n }\n\n input[type=range] {\n @include margin-top(-1v);\n\n @include selector.range-ms-track {\n @include height(3v);\n background: transparent;\n border-color: transparent;\n border-width: #{spacing.space(2.5v)} 0;\n color: transparent;\n }\n\n @include selector.range-ms-fill-lower {\n @include height(3v);\n @include color.background(active blue-france, (legacy: true));\n border-radius: spacing.space(1.5v);\n }\n\n @include selector.range-ms-thumb {\n @include size(6v, 6v);\n border-radius: 50%;\n }\n\n &:not(:only-of-type) {\n pointer-events: auto;\n }\n\n @include disabled.selector {\n @include selector.range-ms-fill-lower {\n @include color.background(disabled grey, (legacy: true));\n }\n }\n }\n\n &#{selector.ns(range)}--double {\n @include color.background-image(active blue-france, (legacy: true), 'linear-gradient(to right, $COLOR 0, $COLOR 100%)');\n background-position-y: spacing.space(6.5v);\n background-repeat: no-repeat;\n\n #{selector.ns(range__output)} {\n @include min-width(12v);\n }\n\n input[type=range] {\n width: calc(100% - #{spacing.space(6v)});\n\n @include selector.range-ms-fill-lower {\n background-color: transparent;\n }\n\n &:nth-of-type(1) {\n @include margin-right(6v);\n @include z-index(above);\n }\n\n &:nth-of-type(2) {\n left: #{spacing.space(6v)};\n }\n }\n }\n }\n\n &--sm {\n &#{selector.ns-attr(js-range)} {\n #{selector.ns(range)} {\n &__output,\n &__min,\n &__max {\n @include min-width(4v);\n }\n }\n\n input[type=range] {\n @include selector.range-ms-track {\n @include height(2v);\n border-width: #{spacing.space(2v)} 0;\n }\n\n @include selector.range-ms-fill-lower {\n @include height(2v);\n }\n\n @include selector.range-ms-thumb {\n @include size(4v, 4v);\n }\n }\n\n &#{selector.ns(range)}--double {\n background-position-y: spacing.space(6v);\n\n #{selector.ns(range__output)} {\n @include min-width(8v);\n }\n\n input[type=range] {\n width: calc(100% - #{spacing.space(4v)});\n\n &:nth-of-type(1) {\n @include margin-right(4v);\n }\n\n &:nth-of-type(2) {\n left: #{spacing.space(4v)};\n }\n }\n }\n }\n }\n }\n}\n","////\n/// Core Tool : Spacing size\n/// @group core\n////\n\n@use '../../../../../module/spacing';\n\n@mixin width($width:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n width: #{spacing.space($width)};\n }\n }\n}\n\n@mixin min-width($width:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n min-width: #{spacing.space($width)};\n }\n }\n}\n\n@mixin max-width($width:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n max-width: #{spacing.space($width)};\n }\n }\n}\n\n@mixin height($height:null, $from: null) {\n @include respond-from($from) {\n @if $height != null {\n height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin min-height($height:null, $from: null) {\n @include respond-from($from) {\n @if $height != null {\n min-height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin max-height($height:null, $from: null) {\n @include respond-from($from) {\n @if $height != null {\n max-height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin size($width:null, $height:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n width: #{spacing.space($width)};\n }\n @if $height != null {\n height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin min-size($min-width:null, $min-height:null, $from: null) {\n @include respond-from($from) {\n @if $min-width != null {\n min-width: #{spacing.space($min-width)};\n }\n @if $min-height != null {\n min-height: #{spacing.space($min-height)};\n }\n }\n}\n\n@mixin max-size($max-width:null, $max-height:null, $from: null) {\n @include respond-from($from) {\n @if $max-width != null {\n max-width: #{spacing.space($max-width)};\n }\n @if $max-height != null {\n max-height: #{spacing.space($max-height)};\n }\n }\n}\n","////\n/// Core Tool : Spacing space\n/// @group core\n////\n\n@use 'module/spacing';\n\n/// Set space property\n///\n/// @param {String} $property ['margin'] - propriété à appliquer à l'espacement `['margin', 'padding']`\n/// @param {Number | list} $value [2] - valeur de l'espacement en v ou w. peut être une liste si la direction n'est pas renseignée\n/// @param {String} $direction - direction de l'espacement `['x', 'y', 'top', 'right', 'bottom', 'left']`\n///\n/// @example scss - Set margin-bottom to 24px\n/// .foo {\n/// @include _spacing('margin', 6v, 'bottom');\n/// }\n@mixin _spacing($property: margin, $value: 0, $direction: null) {\n $v: spacing.space($value);\n @if $direction != null {\n @if $direction == 'x' {\n #{$property}-left: $v;\n #{$property}-right: $v;\n }\n @else if $direction == 'y' {\n #{$property}-top: $v;\n #{$property}-bottom: $v;\n }\n @else {\n #{$property}-#{$direction}: $v;\n }\n }\n @else {\n #{$property}: $v;\n }\n}\n\n@mixin _spacing-from($property: margin, $value: 0, $direction: null, $from: null) {\n @include respond-from($from) {\n @include _spacing($property, $value, $direction);\n }\n}\n\n@mixin padding($values: 0 0 0 0, $from: null) {\n @include _spacing-from(padding, $values, null, $from);\n}\n\n@mixin padding-x($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'x', $from);\n}\n\n@mixin padding-y($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'y', $from);\n}\n\n@mixin padding-top($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'top', $from);\n}\n\n@mixin padding-right($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'right', $from);\n}\n\n@mixin padding-bottom($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'bottom', $from);\n}\n\n@mixin padding-left($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'left', $from);\n}\n\n@mixin margin($values: 0 0 0 0, $from: null) {\n @include _spacing-from(margin, $values, null, $from);\n}\n\n@mixin margin-x($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'x', $from);\n}\n\n@mixin margin-y($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'y', $from);\n}\n\n@mixin margin-top($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'top', $from);\n}\n\n@mixin margin-right($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'right', $from);\n}\n\n@mixin margin-bottom($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'bottom', $from);\n}\n\n@mixin margin-left($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'left', $from);\n}\n","////\n/// Core Tool : Selector pseudo\n/// @group core\n////\n\n@mixin _pseudo($type:before, $content:null, $display:null) {\n @if $type != after and $type != before and $type != marker and $type != (before after) {\n @error '$type must be before or after element';\n }\n\n $selector: ();\n\n @each $pseudo in $type {\n $selector: append($selector, '&::#{$pseudo}', 'comma');\n }\n\n #{$selector} {\n\n @if $content != null {\n content: $content;\n }\n\n @if $display != null {\n display: #{$display};\n }\n\n @content;\n }\n}\n\n@mixin before($content: null, $display: null) {\n @include _pseudo(before, $content, $display) {\n @content;\n }\n}\n\n@mixin after($content: null, $display: null) {\n @include _pseudo(after, $content, $display) {\n @content;\n }\n}\n\n@mixin marker($content: null, $display: null) {\n @include _pseudo(marker, $content, $display) {\n @content;\n }\n}\n","@use 'sass:list';\n@use 'sass:map';\n@use 'module/legacy';\n@use 'module/media-query';\n@use 'module/spacing';\n@use 'module/specificity';\n@use 'module/string';\n@use 'module/utilities';\n@use '../variable/constant';\n@use '../function/box-shadow' as bs;\n@use '../function/colors';\n@use '../function/result';\n@use '../function/token';\n\n$COLOR: constant.$value;\n\n@mixin element($prop, $context, $tokens, $options: (), $value: $COLOR) {\n $legacy: map.get($options, legacy);\n $important: map.get($options, important);\n $hover: map.get($options, hover);\n $standalone: map.get($options, standalone);\n\n $legacy-target: null;\n @if $legacy == true {\n $legacy-target: ie11;\n }\n\n $tokens: token.normalise($tokens, $context);\n $type: decision;\n $options: (var: true);\n\n @if $legacy or $standalone {\n $type: hex;\n $option: (theme: light);\n }\n\n $colors: colors.from-list($tokens, $type, $options);\n $result: result.get($colors, $value);\n $result: specificity.important($result, $important);\n\n @include legacy.is($legacy-target) {\n #{$prop}: #{string.unstringify($result)};\n }\n\n @if ($hover == true or ($hover == inherit and $legacy == false)) and ($context == background and list.length($tokens) == 1) {\n\n $token: nth($tokens, 1);\n @if $legacy or $standalone {\n @include _apply-pseudos($token, false, true, $legacy-target, $prop, $value, $important);\n }\n @else {\n @if $prop == background-color {\n --idle: transparent; // #{$result};\n @include _apply-pseudos($token, true, false, null, $prop, $value, $important);\n }\n @else {\n @include _apply-pseudos($token, true, true, null, $prop, $value, $important);\n }\n }\n }\n}\n\n@mixin _apply-pseudos($token, $decision: true, $pseudo: false, $target: null, $prop: background-color, $value: constant.$value, $important: false) {\n @include legacy.is($target) {\n @include _apply-pseudo($token, hover, $decision, $pseudo, $prop, $value, $important);\n @include _apply-pseudo($token, active, $decision, $pseudo, $prop, $value, $important);\n }\n}\n\n@mixin _apply-pseudo($token, $type, $decision: true, $pseudo: false, $prop: background-color, $value: constant.$value, $important: false) {\n $nest: null;\n $p: --#{$type};\n @if $pseudo {\n $nest: '&:#{$type}';\n $p: $prop;\n }\n\n $t: hex;\n $options: (#{$type}: true);\n @if $decision {\n $t: decision;\n $options: (var: true, #{$type}: true);\n }\n\n $color: colors.from($token, $t, $options);\n $result: result.get($color, $value);\n $result: specificity.important($result, $important);\n\n @include utilities.nest($nest) {\n #{$p}: #{string.unstringify($result)};\n }\n}\n\n/// Ajout d'une couleur de background sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin background($tokens, $options:()) {\n @if not map.has-key($options, hover) {\n $options: map.merge($options, (hover: inherit));\n }\n @include element(background-color, background, $tokens, $options);\n}\n\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n/// - hover {boolean}: si true, surcharge la valeur de blend pour être héritée\n@mixin transparent-background($options) {\n $legacy: map.get($options, legacy);\n $important: map.get($options, important);\n $hover: map.get($options, hover);\n $tokens: token.normalise(default grey, background);\n $value: specificity.important(transparent, $important);\n\n @if $legacy {\n @include legacy.is(ie11) {\n background-color: transparent;\n\n @if $hover {\n &:hover {\n background-color: rgba(0, 0, 0, 0.05);\n }\n\n &:active {\n background-color: rgba(0, 0, 0, 0.1);\n }\n }\n }\n }\n @else {\n background-color: #{$value};\n @if $hover {\n --hover: inherit;\n --active: inherit;\n }\n }\n}\n\n/// Ajout d'une couleur de background sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin background-image($tokens, $options, $value: linear-gradient(0deg, $COLOR, $COLOR)) {\n $d: token.length($tokens);\n @if $d > 1 and $value == linear-gradient(0deg, $COLOR, $COLOR) {\n $transformed: ();\n @for $i from 1 through $d {\n $c: string.unquote('$color##{$i}');\n $transformed: list.append($transformed, linear-gradient(0deg, $c, $c), comma);\n }\n $value: $transformed;\n }\n @include element(background-image, background, $tokens, $options, $value);\n}\n\n/// Ajout d'une couleur de texte sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin text($tokens, $options) {\n @include element(color, text, $tokens, $options);\n}\n\n/// Ajout d'une couleur de texte sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin text-fill($tokens, $options) {\n @include element(-webkit-text-fill-color, text, $tokens, $options);\n}\n\n/// Ajout d'une couleur de fill sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin fill($tokens, $options) {\n @include element(fill, background , $tokens, $options);\n}\n\n/// Ajout d'une couleur de border sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n/// - side {String}: le côté affecté. valeurs: top, right, bottom, left\n/// @param {List} $value - définition des propriétés de border\n@mixin border($tokens, $options, $value:1px solid $COLOR) {\n $prop:border;\n @if map.has-key($options, side) {\n $prop:border-#{map.get($options, side)};\n }\n @include element($prop, border, $tokens, $options, $value);\n}\n\n@mixin no-border($options: ()) {\n $breakpoint: map.get($options, breakpoint);\n $legacy: map.get($options, legacy);\n @include media-query.respond-from($breakpoint) {\n @if $legacy {\n @include legacy.is(ie11) {\n border: 0;\n }\n }\n @else {\n border: 0;\n }\n }\n}\n\n/// Ajout d'une couleur d'outline sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n/// @param {List} $value - définition des propriétés d'outline\n@mixin outline($tokens, $options, $value:1px solid $COLOR) {\n @include element(outline, border, $tokens, $options, $value);\n}\n\n/// Ajout d'une couleur de box-shadow sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n/// @param {List} $value - définition des propriétés de box-shadow\n@mixin box-shadow($tokens, $options, $value: all-1-in) {\n $has-keys: true;\n $transformed: ();\n $d: token.length($tokens);\n $i: 1;\n @each $v in $value {\n @if bs.has($v) {\n $transformed: append($transformed, bs.get($v, $i), comma);\n @if $i < $d {\n $i: $i + 1;\n }\n }\n @else {\n $has-keys: false;\n }\n }\n @if $has-keys {\n $value: $transformed;\n }\n @include element(box-shadow, border, $tokens, $options, spacing.space($value));\n}\n\n/// Supprime la shadow-box sur l'élément\n/// @access public\n/// @param {string} $breakpoint - la shadow-box est retiré à partir d'un breakpoint si celui-ci est défini\n@mixin no-box-shadow($options) {\n $breakpoint: map.get($options, breakpoint);\n $legacy: map.get($options, legacy);\n @include media-query.respond-from($breakpoint) {\n @if $legacy {\n @include legacy.is(ie11) {\n box-shadow: none;\n }\n }\n @else {\n box-shadow: none;\n }\n }\n}\n","@mixin range-thumb($legacy: false) {\n @if not $legacy {\n &::-webkit-slider-thumb {\n @content;\n }\n\n &::-moz-range-thumb {\n @content;\n }\n }\n @else {\n &::-ms-thumb {\n @content;\n }\n }\n}\n\n@mixin range-track {\n &::-webkit-slider-runnable-track {\n @content;\n }\n}\n\n@mixin range-moz-track {\n &::-moz-range-track {\n @content;\n }\n}\n\n@mixin range-moz-progress {\n &::-moz-range-progress {\n @content;\n }\n}\n\n@mixin range-ms-thumb {\n &::-ms-thumb {\n @content;\n }\n}\n\n@mixin range-ms-track {\n &::-ms-track {\n @content;\n }\n}\n\n@mixin range-ms-fill-lower {\n &::-ms-fill-lower {\n @content;\n }\n}\n\n@mixin range-ms-fill-upper {\n &::-ms-fill-upper {\n @content;\n }\n}\n","@use 'sass:map';\n@use 'module/elevation/variable/z-indexes';\n@use 'module/legacy';\n\n@mixin z-index($level, $legacy: false) {\n @if map.has-key(z-indexes.$values, $level) {\n $z-index: map.get(z-indexes.$values, $level);\n @if $legacy {\n @include legacy.is(ie11) {\n z-index: #{$z-index};\n }\n }\n @else {\n z-index: calc(var(--ground) + #{$z-index});\n }\n }\n}\n","////\n/// Core Tool : Spacing z-index\n/// @group core\n////\n\n/// Fonction de gestion des z-index\n/// @access public\n/// @param {String} $index-name - nom du calque de z-index\n@function z-index($index-name) {\n @return map-get($z-indexes, $index-name);\n}\n\n/// Mixin de gestion des z-index\n/// @access public\n/// @param {String} $index-name - nom du calque de z-index\n@mixin z-index($index-name) {\n z-index: z-index($index-name);\n}\n","////\n/// Range Module\n/// @group range\n////\n\n@use 'module/color';\n@use 'module/selector';\n@use 'module/elevation';\n@use 'module/disabled';\n\n@mixin _range-scheme($legacy: false) {\n #{selector.ns(range)} {\n &#{selector.ns-attr(js-range)} {\n @include before {\n @include color.box-shadow(action-high blue-france, (legacy:$legacy), );\n }\n\n @include after {\n @include color.background(active blue-france, (legacy:$legacy));\n }\n\n input[type=range] {\n @include selector.range-thumb($legacy) {\n @include elevation.elevate(raised, (legacy: $legacy));\n @include color.background(default grey, (legacy:$legacy));\n @include color.border(action-high blue-france, (legacy:$legacy));\n }\n\n @include disabled.selector {\n @include selector.range-thumb($legacy) {\n @include color.border(disabled grey, (legacy:$legacy));\n }\n }\n }\n }\n\n &__output {\n @include color.text(active blue-france, (legacy:$legacy));\n }\n\n &__min,\n &__max {\n @include color.text(mention grey, (legacy:$legacy));\n }\n\n &--step {\n &#{selector.ns-attr(js-range)} {\n @include before {\n @include color.background-image(action-high blue-france, (legacy:$legacy), $range-track-gradient);\n }\n\n @include after {\n @include color.background-image(action-low blue-france, (legacy:$legacy), $range-progress-gradient);\n @include color.box-shadow(active blue-france, (legacy:$legacy), left-10-in right-10-in);\n }\n }\n }\n\n &--step#{&}--sm {\n &#{selector.ns-attr(js-range)} {\n @include after {\n @include color.box-shadow(active blue-france, (legacy:$legacy), left-6-in right-6-in);\n }\n }\n }\n\n // &--double#{&}--step {\n // &#{selector.ns-attr(js-range)} {\n // @include after {\n // @include color.box-shadow(active blue-france, (legacy:$legacy), left-22-in right-22-in);\n // }\n // }\n // }\n\n // &--double#{&}--step#{&}--sm {\n // &#{selector.ns-attr(js-range)} {\n // @include after {\n // @include color.box-shadow(active blue-france, (legacy:$legacy), left-14-in right-14-in);\n // }\n // }\n // }\n }\n\n #{selector.ns-group(range)} {\n &--error {\n @include before {\n @include color.background-image(border plain error, (legacy:$legacy));\n }\n }\n\n &--valid {\n @include before {\n @include color.background-image(border plain success, (legacy:$legacy));\n }\n }\n\n &--disabled {\n #{selector.ns(range)} {\n &#{selector.ns-attr(js-range)} {\n @include before {\n @include color.box-shadow(disabled grey, (legacy:$legacy));\n }\n\n @include after {\n @include color.background(disabled grey, (legacy:$legacy));\n }\n }\n\n &--step {\n &#{selector.ns-attr(js-range)} {\n @include before {\n @include color.background-image(disabled grey, (legacy:$legacy), $range-track-gradient);\n }\n\n @include after {\n @include color.background-image(default grey, (legacy:$legacy), $range-progress-gradient);\n }\n }\n }\n\n &__output,\n &__min,\n &__max {\n @include color.text(disabled grey, (legacy:$legacy));\n }\n }\n }\n }\n}\n"]}