PageSourceSearch

https://atiyeonline.ir/_next/static/chunks/2976.628332be0e02d01e.js

js atiyeonline.ir collected 2026-10-08 04:29:55 UTC 1,053 bytes, 1 lines download raw bytes

1(()=>{let e=self,a=new Set(["image/jpeg","image/png","image/webp"]);e.onmessage=async t=>{let o=null,r=null;try{let[l,s]=await Promise.all([fetch(t.data.imageUrl,{mode:"cors"}),fetch(t.data.watermarkUrl)]);if(!l.ok)throw Error("Image response was not ok (".concat(l.status,")"));if(!s.ok)throw Error("Watermark response was not ok (".concat(s.status,")"));let[i,n]=await Promise.all([l.blob(),s.blob()]);[o,r]=await Promise.all([createImageBitmap(i),createImageBitmap(n)]);let m=new OffscreenCanvas(o.width,o.height),g=m.getContext("2d");if(!g)throw Error("Canvas context is unavailable.");g.drawImage(o,0,0);let h=Math.max(16,Math.round(.015*o.width)),w=Math.max(0,o.width-r.width-h),c=Math.max(0,o.height-r.height-h);g.drawImage(r,w,c);let p=a.has(i.type)?i.type:"image/jpeg",d=await m.convertToBlob({type:p,quality:"image/jpeg"===p||"image/webp"===p?.92:void 0});e.postMessage({ok:!0,blob:d,mimeType:p})}catch(a){e.postMessage({ok:!1,error:a instanceof Error?a.message:"Download failed."})}finally{null==o||o.close(),null==r||r.close()}},_N_E={}})();

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.