{"ast":null,"code":"import { cubehelix as colorCubehelix } from \"d3-color\";\nimport color, { hue } from \"./color.js\";\nfunction cubehelix(hue) {\n return function cubehelixGamma(y) {\n y = +y;\n function cubehelix(start, end) {\n var h = hue((start = colorCubehelix(start)).h, (end = colorCubehelix(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function (t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(Math.pow(t, y));\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n cubehelix.gamma = cubehelixGamma;\n return cubehelix;\n }(1);\n}\nexport default cubehelix(hue);\nexport var cubehelixLong = cubehelix(color);","map":{"version":3,"names":["cubehelix","colorCubehelix","color","hue","cubehelixGamma","y","start","end","h","s","l","opacity","t","Math","pow","gamma","cubehelixLong"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/d3-interpolate/src/cubehelix.js"],"sourcesContent":["import {cubehelix as colorCubehelix} from \"d3-color\";\nimport color, {hue} from \"./color.js\";\n\nfunction cubehelix(hue) {\n return (function cubehelixGamma(y) {\n y = +y;\n\n function cubehelix(start, end) {\n var h = hue((start = colorCubehelix(start)).h, (end = colorCubehelix(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(Math.pow(t, y));\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n cubehelix.gamma = cubehelixGamma;\n\n return cubehelix;\n })(1);\n}\n\nexport default cubehelix(hue);\nexport var cubehelixLong = cubehelix(color);\n"],"mappings":"AAAA,SAAQA,SAAS,IAAIC,cAAc,QAAO,UAAU;AACpD,OAAOC,KAAK,IAAGC,GAAG,QAAO,YAAY;AAErC,SAASH,SAASA,CAACG,GAAG,EAAE;EACtB,OAAQ,SAASC,cAAcA,CAACC,CAAC,EAAE;IACjCA,CAAC,GAAG,CAACA,CAAC;IAEN,SAASL,SAASA,CAAC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