import{getColorFromGradient as l}from"../utils/color-gradient";exportfunctioncomputeHeatmapTicks(o,t,c){const r=t-o,n=r<=0?2:Math.min(r+1,5);returnArray.from({length:n},(s,a)=>{const u=a/(n-1),e=Math.round(o+(t-o)*u);return{value:e,color:l(e,o,t,c)}})}