1import{s as M}from"./CCSQaJV-.js";function x({imageSize:o="M standaard",width:t=1500,height:e=1500,index:f=1,debug:l=!1}){f!==1&&(o="XL");const g={XS:{top:.15,bottom:.023,side:.15},S:{top:.1,bottom:.023,side:.1},"M standaard":{top:.05,bottom:.023,side:.075},L:{top:.025,bottom:.023,side:.05},XL:{top:.01,bottom:.023,side:.025}},r=g[o||"XL"]||g.XL,d=Math.round(e*r.top),c=Math.round(e*r.bottom),i=Math.round(t*r.side);let s=t-2*i,n=e-d-c;s+=t-(s+2*i),n+=e-(n+d+c),s=Math.round(s),n=Math.round(n);const p=`f=rs:fit:${s}:${n}:0:0`,m=`pd:${d}:${i}:${c}:${i}`,a="exar:1:so:0:0";return l&&(console.log("--- Image Params Debug ---"),console.log("index:",f),console.log("imageSize:",o),console.log("padding:",m),console.log("size:",p),console.log("exar:",a)),{size:p,padding:m,exar:a}}function L(o,t,e={}){if(!o)return"";const{width:f=400,height:l=400,imageSize:g="M standaard",index:r=1,quality:d=100,stripMetadata:c=1,stripColorProfile:i=1}=e,{size:s,padding:n,exar:p}=x({width:f,height:l,imageSize:g,index:r}),a=[s,"t:5:ffffff",`q:${d}`,`sm:${c}`,`scp:${i}`,p,"bg:ffffff",n].filter(Boolean).join("/");if(!t)return a?`${o}?${a}`:o;if(o.includes(t)&&o.includes(a))return o;const u=M(t),$=o.split("."),b=$.pop();return`${$.join(".")}/${u}.${b}?sf&${a}`}export{x as a,L as g}; 2//# sourceMappingURL=DZjoeq9H.js.map
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.