"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../lib/hexColors.cjs"),r=require("../../../lib/constants.cjs"),s=require("../../../lib/utils.cjs");exports.parseData=(s,a)=>s.map(((s,l)=>{const o=l<a.length?a[l]:r.BaseColors.Gray,t=e.hexColors[null!=o?o:r.BaseColors.Gray];return Object.assign(Object.assign({},s),{color:o,fill:t})})),exports.parseLabelInput=(e,r,a,l)=>e||r(((e,r)=>s.sumNumericArray(e.map((e=>e[r]))))(a,l));
