Liferay.Loader.define("commerce-dashboard-web$d3-scale-chromatic@1.3.3/src/scheme", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    export default function (ranges) {
      ranges = ranges.map(function (colors) {
        return colors.match(/.{6}/g).map(function (x) {
          return "#" + x;
        });
      });
      var n0 = ranges[0].length;
      return function (n) {
        return ranges[n - n0];
      };
    }
  }
});
//# sourceMappingURL=scheme.js.map