1// Fixed-size positions. Item count chooses only the 3- or 6-column cabinet. 2export const MINI_PEG_CAPACITY=18; 3export const MINI_PEG_PITCH=.46; 4export function miniPegColumns(count){return count<10?3:6;} 5export function miniPegWidth(columns){return columns*MINI_PEG_PITCH+.25;} 6export function miniPegSlots(columns){ 7 if(columns!==3&&columns!==6)throw new Error('Mini Peg requires three or six columns.'); 8 return Array.from({length:columns*3},(_,index)=>({index,row:Math.floor(index/columns),column:index%columns,x:(index%columns-(columns-1)/2)*MINI_PEG_PITCH,y:1.88-Math.floor(index/columns)*.59})); 9}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.