{"version":3,"file":"shade.mjs","sources":["../../../../../../../../node_modules/chroma-js/src/ops/shade.js"],"sourcesContent":["import '../io/lab/index.js';\nimport Color from '../Color.js';\nimport mix from '../generator/mix.js';\n\nColor.prototype.tint = function (f = 0.5, ...rest) {\n    return mix(this, 'white', f, ...rest);\n};\n\nColor.prototype.shade = function (f = 0.5, ...rest) {\n    return mix(this, 'black', f, ...rest);\n};\n"],"names":[],"mappings":";;;;AAIA,KAAK,CAAC,SAAS,CAAC,IAAI,GAAG,UAAU,CAAC,GAAG,GAAG,EAAE,GAAG,IAAI,EAAE;AACnD,IAAI,OAAO,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC;AACzC,CAAC;;AAED,KAAK,CAAC,SAAS,CAAC,KAAK,GAAG,UAAU,CAAC,GAAG,GAAG,EAAE,GAAG,IAAI,EAAE;AACpD,IAAI,OAAO,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC;AACzC,CAAC","x_google_ignoreList":[0]}