PageSourceSearch

https://albumentations.ai/_next/static/chunks/3344.559ed2f6c63a4670.js

js albumentations.ai collected 2026-10-02 05:31:07 UTC 1,487 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3344],{23344:(e,r,t)=>{t.r(r),t.d(r,{default:()=>l});var o=t(44610);class l extends o.A{decodeBlock(e){return e}}},44610:(e,r,t)=>{t.d(r,{A:()=>o});class o{constructor(e){this.parameters=e}decodeBlock(e){throw Error("decodeBlock not implemented")}async decode(e){let r=await this.decodeBlock(e),{tileWidth:t,tileHeight:o,predictor:l,bitsPerSample:a,planarConfiguration:i}=this.parameters;return 1!==l?function(e,r,t,o,l,a){if(!r||1===r)return e;for(let e=0;e<l.length;++e){if(l[e]%8!=0)throw Error("When decoding with predictor, only multiple of 8 bits are supported.");if(l[e]!==l[0])throw Error("When decoding with predictor, all samples must have the same size.")}let i=l[0]/8,n=2===a?1:l.length;for(let a=0;a<o;++a){let o;if(a*n*t*i>=e.byteLength)break;if(2===r){switch(l[0]){case 8:o=new Uint8Array(e,a*n*t*i,n*t*i);break;case 16:o=new Uint16Array(e,a*n*t*i,n*t*i/2);break;case 32:o=new Uint32Array(e,a*n*t*i,n*t*i/4);break;default:throw Error(`Predictor 2 not allowed with ${l[0]} bits per sample.`)}!function(e,r){let t=e.length-r,o=0;do{for(let t=r;t>0;t--)e[o+r]+=e[o],o++;t-=r}while(t>0)}(o,n)}else 3===r&&function(e,r,t){let o=0,l=e.length,a=l/t;for(;l>r;){for(let t=r;t>0;--t)e[o+r]+=e[o],++o;l-=r}let i=e.slice();for(let r=0;r<a;++r)for(let o=0;o<t;++o)e[t*r+o]=i[(t-o-1)*a+r]}(o=new Uint8Array(e,a*n*t*i,n*t*i),n,i)}return e}(r,l,t,o,Array.isArray(a)||ArrayBuffer.isView(a)?Array.from(a):[a],i):r}}}}]);

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.