import n from"@babel/runtime/helpers/toConsumableArray";import{StatusColors as t}from"../constants.js";var e=["active","paused","complete","idle","unknown"],r=function(n,e){return t[n][e].default.fill},c=function(t){var c=[];e.slice(0,-1).forEach((function(o,a){var u=e.slice(a+1);c.push(function(t,e){var r=e.map((function(n){return[">=",["get","count_".concat(t)],["get","count_".concat(n)]]}));return 1===r.length?r[0]:["all"].concat(n(r))}(o,u),r(t,o))}));var o=e[e.length-1];return["case"].concat(c,[r(t,o)])};export{c as getClusterColorExpression};
//# sourceMappingURL=getClusterColorExpression.js.map
