jpegxl 8.4.0 → 8.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +294 -229
- package/dist/animation.browser.mjs +2 -2
- package/dist/animation.mjs +2 -2
- package/dist/capture-complete.browser.mjs +2 -2
- package/dist/capture-complete.mjs +2 -2
- package/dist/capture-groups.mjs +2 -2
- package/dist/capture.browser.mjs +2 -2
- package/dist/capture.mjs +2 -2
- package/dist/cli-add.mjs +2 -2
- package/dist/cli-astro.mjs +2 -2
- package/dist/cli-cloudflare.mjs +2 -2
- package/dist/cli-emdash.mjs +2 -2
- package/dist/cli-places.mjs +2 -2
- package/dist/cli-selftest.mjs +2 -2
- package/dist/cli-workers.mjs +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/decode.browser.mjs +2 -2
- package/dist/decode.mjs +2 -2
- package/dist/decode.node.mjs +2 -2
- package/dist/format.browser.mjs +2 -2
- package/dist/format.mjs +2 -2
- package/dist/hdr.mjs +2 -2
- package/dist/helpers.mjs +2 -2
- package/dist/index.browser.mjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/jpeg.browser.mjs +2 -2
- package/dist/jpeg.mjs +2 -2
- package/dist/jpeg.node.mjs +2 -2
- package/dist/metadata.mjs +2 -2
- package/dist/polyfill.mjs +2 -2
- package/dist/resumable.mjs +2 -2
- package/dist/resumable.node.mjs +2 -2
- package/dist/serve.mjs +2 -2
- package/dist/serve.node.mjs +2 -2
- package/dist/upload.browser.mjs +2 -2
- package/dist/upload.mjs +2 -2
- package/dist/verify.mjs +2 -2
- package/dist/verify.node.mjs +2 -2
- package/dist/wasm-modules.mjs +2 -2
- package/examples/agents/jxl-tools.mjs +8 -8
- package/examples/android/prepare-assets.mjs +2 -2
- package/examples/capacitor/prepare-assets.mjs +2 -2
- package/examples/emdash/admin-work.mjs +1 -1
- package/examples/emdash/backfill.mjs +4 -4
- package/examples/emdash/background.mjs +5 -5
- package/examples/emdash/browser-candidate.mjs +1 -1
- package/examples/emdash/deliver.mjs +2 -2
- package/examples/emdash/host-policy.mjs +6 -6
- package/examples/emdash/index.mjs +3 -3
- package/examples/emdash/job-runner.mjs +31 -31
- package/examples/emdash/job-store.mjs +21 -21
- package/examples/emdash/jpeg-source.mjs +2 -2
- package/examples/emdash/library-jobs.mjs +21 -21
- package/examples/emdash/local-store.mjs +16 -16
- package/examples/emdash/media-admin.mjs +9 -9
- package/examples/emdash/media-plugin.mjs +62 -62
- package/examples/emdash/media-storage.mjs +55 -55
- package/examples/emdash/media-words.mjs +89 -89
- package/examples/emdash/media-worker.mjs +1 -1
- package/examples/emdash/original-envelope.mjs +2 -2
- package/examples/emdash/originals.mjs +77 -77
- package/examples/emdash/r2-store.mjs +3 -3
- package/examples/emdash/read-all.mjs +14 -14
- package/examples/emdash/server-only.mjs +1 -1
- package/examples/emdash/storage.mjs +1 -1
- package/examples/emdash/structural-delivery.mjs +42 -42
- package/examples/emdash/thread-driver.mjs +15 -15
- package/examples/emdash/thread-worker.mjs +3 -3
- package/examples/emdash/work-queue.mjs +11 -11
- package/examples/flutter/prepare-assets.mjs +3 -3
- package/examples/ios/prepare-assets.mjs +3 -3
- package/examples/page-rects.js +14 -14
- package/examples/react-native/src/JXLProvider.tsx +19 -9
- package/examples/snapdom/jxl.js +3 -2
- package/examples/svg-jxl.js +10 -10
- package/package.json +1 -1
- package/types/animation.d.mts +2 -2
- package/types/capture-complete.d.mts +5 -5
- package/types/capture.d.mts +1 -1
- package/types/format.d.mts +2 -2
- package/types/index.d.mts +6 -6
- package/types/jpeg.d.mts +1 -1
- package/types/result.d.mts +5 -4
- package/types/resumable.d.mts +7 -7
- package/types/serve.d.mts +1 -1
- package/types/types.d.mts +19 -18
- package/types/upload.d.mts +1 -1
- package/types/verify.d.mts +4 -4
package/dist/jpeg.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! rapier-jxl 8.4.
|
|
2
|
-
var uo=Object.defineProperty,po={};((e,t)=>{for(var r in t)uo(e,r,{get:t[r],enumerable:!0})})(po,{close:()=>yp,configure:()=>Mp,prepare:()=>gp,recompress:()=>dp,restore:()=>pp,supported:()=>co});var go=Number.MAX_SAFE_INTEGER,Mo=Object.freeze({pixels:go,edge:1073741824}),yo=(e,t)=>Object.assign(new Error(t),{code:e}),bo=()=>"function"==typeof DOMException?new DOMException("The operation was aborted.","AbortError"):Object.assign(new Error("The operation was aborted."),{name:"AbortError"}),wo=/allocation failed|out of memory|(?:cannot|could not) allocate|failed to grow|maximum memory size|declared maximum|allocation size overflow|invalid string length/i,Lo=e=>{try{return(e instanceof RangeError||"RangeError"===e?.name||"InternalError"===e?.name)&&!e.code&&wo.test(String(e.message))}catch{return!1}},Oo=e=>e?.message?` (${String(e.message)})`:"",Ao=[1];for(let e=1;e<=32;e++)Ao.push(2*Ao[e-1]);new Uint8Array(Uint32Array.of(1).buffer)[0];var Io,vo=class{constructor(e=4096,t=1/0){if(t!==1/0&&(!Number.isSafeInteger(t)||t<0))throw yo("JXL_INTERNAL","Invalid encoded picture allocation limit.");this.bytes=new Uint8Array(t===1/0?e:Math.min(e,t)),this.maxBytes=t,this.at=0,this.acc=0,this.pending=0}write(e,t){if(!(t>=0&&t<Ao[e]))throw yo("JXL_INTERNAL","bit write out of range: "+e+" bits, "+t);let r=this.pending+e;this.at+5>=this.bytes.length&&this.grow();let n=this.bytes;if(r<32){let e=this.acc|t<<this.pending;for(;r>=8;)n[this.at++]=255&e,e>>>=8,r-=8;return this.acc=e,void(this.pending=r)}let i=this.acc+t*(1<<this.pending);for(;r>=8;)n[this.at++]=255&i,i=Math.floor(i/256),r-=8;this.acc=i,this.pending=r}writeU32(e,t){for(let r=0;r<4;r++){let[n,i]=e[r];if(t>=i&&t-i<Ao[n])return this.write(2,r),void(n&&this.write(n,t-i))}throw yo("JXL_INTERNAL","U32 value out of range: "+t)}zeroPadToByte(){this.pending&&(this.at+1>=this.bytes.length&&this.grow(),this.bytes[this.at++]=this.acc,this.acc=0,this.pending=0)}get bitLength(){return 8*this.at+this.pending}grow(e=0){let t=this.at+e+16;if(!Number.isSafeInteger(t)||t<0)throw yo("JXL_INTERNAL","The encoded picture cannot be allocated.");if(t>this.maxBytes)throw Object.assign(new RangeError("The encoded picture exceeds its allocation limit."),{code:"JXL_MEMORY"});let r,n=Math.min(this.maxBytes,Math.max(2*this.bytes.length,t));try{r=new Uint8Array(n)}catch(e){if(!Lo(e)||n===t)throw e;r=new Uint8Array(t)}r.set(this.bytes.subarray(0,this.at)),this.bytes=r}append(e){if(this.at+e.at+8>=this.bytes.length&&this.grow(e.at+8),this.pending){let t=this.bytes,r=e.bytes,n=this.pending,i=e.at,o=this.acc,a=this.at;for(let e=0;e<i;e++){let i=o|r[e]<<n;t[a++]=255&i,o=i>>>8}this.at=a,this.acc=o}else this.bytes.set(e.bytes.subarray(0,e.at),this.at),this.at+=e.at;e.pending&&this.write(e.pending,e.acc)}finish(){let e=this.at+(this.pending?1:0),t=this.bytes.slice(0,e);return this.pending&&(t[this.at]=this.acc),t}},Fo=(e,t)=>"number"==typeof e?t(e):{...e,at:r=>t(e.at(r))},No=[[8,0],[11,256],[14,2304],[30,18688]],xo=256,ko=196608,Eo=(e,t,r)=>1===e&&1===r?1:2+t+e*r,Co=[1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15],Jo=[2,4,3,2,2,4],Uo=[0,7,3,2,1,15],Bo=Uint8Array.from({length:256},(e,t)=>{let r=0,n=t;for(let e=0;e<8;e++)r=r<<1|1&n,n>>=1;return r}),Ho=(e,t)=>(Bo[255&e]<<8|Bo[e>>>8&255])>>>16-t,Ko=new Float64Array(1024),To=new Int32Array(1024),Go=new Float64Array(1024),Do=new Uint32Array(17),Po=new Uint32Array(17),So=new Uint32Array(1024),jo=new Uint32Array(0),Xo=new Float64Array(0),_o=new Int32Array(0),Ro=new Int32Array(256),qo=[0,0,0],zo=N(8),Vo=N(4),Yo=N(0),Wo=w(Uint32Array.of(1)),Zo=new Uint32Array(257),Qo=new Uint16Array(4096),$o=new Uint32Array(4096),ea=N(4),ta=Object.freeze({minSymbol:224,minLength:7,lengthConfig:ea}),ra=N(0),na=257,ia=new Map([[-8193,-8192],[8191,8190]]),oa=[[0],[1],[2],[3],[4],[4,1,1],[4,2,0],[4,1,2],[5,1,1],[2,0,1],[3,0,1]].map(e=>N(...e)),aa=Uint8Array.of(0,1,2,3,3,3),la=new Uint8Array(6),sa=new Uint8Array(1),ma={kernels:"6gzyrq",jpeg:"1fjin7z",decode:"17x8vsf",rebuild:"fgbogf",general:"1sc0v86"},ca=e=>{let t=e.length,r=new Uint8Array(t),n=e.charCodeAt(0);for(let i=0;i<t;i++){let t=e.charCodeAt(i)^n;r[i]=65===t?119:119===t?65:t}return r},ha=e=>{let t=2166136261;for(let r of e.map(e=>e.name+":"+e.kind).sort().join(" "))t=Math.imul(t^r.charCodeAt(0),16777619);return(t>>>0).toString(36)},fa=new Map,ua=new Map,da=!1,pa=e=>Object.assign(new Error(e),{code:"JXL_WASM"}),ga=Symbol.for("rapier-jxl/8.4.0 wasm "+Object.entries(ma).map(([e,t])=>e+":"+t).join(";")),Ma=null,ya=()=>{let e=globalThis[ga];if(!e||e===Ma)return;Ma=e;let t=Object.entries(e).filter(([e])=>!fa.has(e));t.length&&_(Object.fromEntries(t))},ba=new Map,wa=new Map,La=[0,97,115,109,1,0,0,0],Oa=()=>{try{return new WebAssembly.Instance(new WebAssembly.Module(Uint8Array.of(...La))),!1}catch{return"object"==typeof WebAssembly}},Aa=(e=(()=>wa.values().next().value)())=>Object.assign(yo("JXL_WASM",Oa()?"Host refuses WebAssembly; allow 'wasm-unsafe-eval' in script-src or use the workerd or edge-light condition.":(()=>{try{return!WebAssembly.validate(Uint8Array.of(...La,1,4,1,96,0,0,3,2,1,0,10,23,1,21,0,253,12,...Array(16).fill(0),26,11))}catch{return!0}})()?"WebAssembly SIMD is unavailable; use a host with SIMD.":`The WebAssembly module failed${Oo(e)}; check the host's memory.`),e?{cause:e}:{}),Ia={channel:null,weighted:null,fill:null,palette:null,rct:null,tuple:null,passLevels:null,group:null,screen:null,sampled:null,dct:null,ycbcrTile:null,ycbcrTiles:null,rgbTiles:null,rgbBand:null,photoTile:null,acGroup:null,acGroupPair:null,acDeferred:null,nonzero:null,entropy:null,varblock:null,gaborish:null,strategyFill:null,strategyWrite:null,xybPlanes:null,gabBand:null,dcEvents:null,dcPlan:null,planTokens:null,shape:null,nativeRGBA:null,s2cChannel:null,opaque:null,arena:null,ensure:null},va=()=>(Ia.ensure?.(),Ia),Fa=()=>{throw Aa()},Na=e=>yo("JXL_INTERNAL",`The ${e} kernel refused a call it takes.`),xa=65536,ka=Symbol.for("rapier-jxl.journal.unread"),Ea=Symbol.for("rapier-jxl.journal.join"),Ca=Symbol.for("rapier-jxl.journal.active"),Ja=e=>globalThis[Ca].join(e),Ua=e=>globalThis[Ca].tools[e],Ba=()=>!!globalThis[Ca]&&!globalThis[Ca].plain,Ha=Symbol.for("rapier-jxl.journal.passed"),Ka=(Object.getPrototypeOf(Uint8Array.prototype),Symbol.for("rapier-jxl.journal.slice")),Ta=Ea,Ga=e=>(Z(e.map(e=>()=>e?.[Ta])),e),Da=e=>!0===e?.[ka],Pa=["rTRC","rXYZ","cprt","wtpt","bkpt","rXYZ","gXYZ","bXYZ","kXYZ","rTRC","gTRC","bTRC","kTRC","chad","desc","chrm","dmnd","dmdd","lumi"],Sa=["XYZ ","desc","text","mluc","para","curv","sf32","gbd "],ja=new Set(["rXYZ","gXYZ","bXYZ","kXYZ","wtpt","bkpt","lumi"]),Xa=class{constructor(e,t,r=0,n=e.length,i=ne(e)){this.bytes=e,this.require=t,this.at=r,this.end=n,this.read=i}byte(){return this.require(this.at<this.end,"Truncated JPEG XL ICC stream."),this.read(this.at++)}integer(){let e=0,t=1;for(let r=0;r<10;r++){let n=this.byte();if(9===r&&this.require(n<2,"Invalid JPEG XL ICC integer."),e+=(127&n)*t,this.require(Number.isSafeInteger(e),"JPEG XL ICC integer exceeds the safe range."),!(128&n))return e;t*=128}this.require(!1,"Invalid JPEG XL ICC integer.")}take(e){return this.require(e>=0&&e<=this.end-this.at,"Truncated JPEG XL ICC payload."),Array.from({length:e},()=>this.byte())}},_a=N(8),Ra=N(4),qa=N(4),za=new WeakMap,Va=[0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63],Ya=[.436,.2225,.0139,.3851,.7169,.0971,.143,.0606,.7139],Wa=[.5151,.2412,-.001,.292,.6922,.0419,.1571,.0666,.7841],Za=[0,.00516,.01435,.02934,.05088,.07958,.11602,.16068,.21404,.27652,.34851,.43039,.52252,.62523,.73884,.86367,1],Qa=[2.4,1/1.055,.055/1.055,1/12.92,.04045],$a=["perceptual","relative","saturation","absolute"],el=(e,t)=>"display-p3"===e?{space:"rgb",whitePoint:"d65",primaries:e,transferFunction:"srgb",renderingIntent:t}:{space:"rgb",transferFunction:"srgb",renderingIntent:t},tl=e=>$a[e.length>=68?(e[64]<<24|e[65]<<16|e[66]<<8|e[67])>>>0:1]??"relative",rl=65536,nl=class{constructor(e,t,r,n,i,o,a,l,s,m){this.padding=m,this.bytes=e,this.pos=t,this.clean=new Uint8Array(0),this.bit=0,this.limit=0,this.pieced=!ArrayBuffer.isView(e),this.spanAt=0,this.spanBytes=this.pieced?new Uint8Array(0):e,this.base=t,this.n=0,this.ended=!1,this.scan=n,this.ss=i,this.se=o,this.ah=a,this.al=l,this.choices=s,this.progressive=r.progressive,this.eobrun=-1,this.blockIndex=0,this.mode=this.progressive?0===i?0===a?1:2:0===a?3:4:0}load(){this.base=this.pos,this.n=0,this.bit=0,this.ended=!1,this.refill()}rawAfter(e,t){let[r,n]=this.span(e,e+2*t+2),i=e-n;for(;t>0;){if(i+1>=r.length&&i+n+1<this.bytes.length){let e=i+n;[r,n]=this.span(e,e+2*t+2),i=e-n}255!==r[i]?(i++,t--):0===r[i+1]?(i+=2,t--):i++}return i+n}span(e,t){return this.pieced?(t=Math.min(this.bytes.length,t),(e<this.spanAt||t>this.spanAt+this.spanBytes.length)&&(this.spanAt=e,this.spanBytes=this.bytes.subarray(e,Math.min(this.bytes.length,Math.max(t,e+4*rl)))),[this.spanBytes,this.spanAt]):[this.bytes,0]}refill(){let e=this.bytes,t=this.bit>>>3;if(t&&(this.base=this.rawAfter(this.base,t),this.clean.copyWithin(0,t,this.n),this.n-=t,this.bit&=7),this.clean.length<this.n+rl+4){let e=new Uint8Array(this.n+rl+4);e.set(this.clean.subarray(0,this.n)),this.clean=e}let r=this.clean,n=this.n+rl,i=e.length,o=this.n,a=this.pos,l=!0,[s,m]=this.span(a,a+2*(n-o)+2);for(;a<i;){if(o===n){l=!1;break}a+1-m>=s.length&&a+1<i&&([s,m]=this.span(a,a+2*(n-o)+2));let e=s[a-m];if(255===e){let e=a+1<i?s[a+1-m]:void 0;if(0===e){r[o++]=255,a+=2;continue}if(255===e){a++;continue}break}r[o++]=e,a++}r.fill(0,o,o+4),this.pos=a,this.n=o,this.limit=8*o,this.ended=l}ensure(){!this.ended&&this.limit-this.bit<65536&&this.refill()}here(){return{pos:this.rawAfter(this.base,this.bit>>>3),bit:7&this.bit}}window(){let e=this.clean,t=this.bit,r=t>>>3;return(e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3])<<(7&t)>>>0}receive(e){if(!e)return 0;if(this.bit+e>this.limit)throw ge("a scan cut short");let t=this.window()>>>32-e;return this.bit+=e,t}decode(e){if(!e)throw ge("a scan without its Huffman table");let t=e[this.window()>>>16];if(!t)throw ge("bad Huffman code");if(this.bit+(t>>8)>this.limit)throw ge("a scan cut short");return this.bit+=t>>8,255&t}atMarker(e=!1){for(;!this.ended;)this.refill();let t=this.limit-this.bit,r=7&t,n=t>>>3,i=this.bytes;if(n){if(!e||this.clean.subarray(this.bit+7>>>3,this.limit>>>3).some(e=>255!==e))throw ge("bytes left over in a scan");this.choices&&(this.choices.fill=n)}if(this.eobrun>0)throw ge("an end-of-band run past its interval");if(r){let e=this.window()>>>32-r,t=this.padding;if(e!==(1<<r)-1){if(!t)throw ge("bad scan padding");t.zero=!0}if(t)for(let n=r-1;n>=0;n--)t.bits.push(e>>>n&1)}for(;this.pos+1<i.length&&255===i[this.pos]&&255===i[this.pos+1];)this.pos++}restart(e){if(this.atMarker(),255!==this.bytes[this.pos]||this.bytes[this.pos+1]!==208+(7&e))throw ge("a restart marker missing or out of order");this.pos+=2,this.load();for(let e of this.scan)e.component.pred=0;this.eobrun=-1}dcValue(e,t){if(t>11)throw ge("a DC value out of range");let r=t?il(this.receive(t),t):0;if(e.component.pred+=r,e.component.pred>2047||e.component.pred<-2048)throw ge("a DC value out of range");return e.component.pred}acValue(e,t){if(e>10)throw ge("an AC value out of range");let r=il(this.receive(e),e)*(1<<t);if(r>1023||r<-1023)throw ge("an AC value out of range");return r}block(e,t,r){switch(this.mode){case 0:t[r]=this.dcValue(e,this.decode(e.dc)),this.acFirst(e,t,r);break;case 1:{let n=this.dcValue(e,this.decode(e.dc))*(1<<this.al);if(n>2047||n<-2048)throw ge("a DC value out of range");t[r]=n;break}case 2:this.receive(1)&&(t[r]|=1<<this.al);break;case 3:this.acFirst(e,t,r);break;default:this.acRefine(e,t,r)}this.blockIndex++}pastBand(){return ge("coefficients past the "+(this.progressive?"band":"block"))}acFirst(e,t,r){if(this.eobrun>0)return void this.eobrun--;let n=0===this.eobrun,{ss:i,se:o,al:a,progressive:l,choices:s}=this;this.eobrun=-1;let m=0;for(let c=i||1;c<=o;){let h=this.decode(e.ac),f=h>>4,u=15&h;if(u){if(c+=f,c>o)throw this.pastBand();t[r+Va[c]]=this.acValue(u,a),m=0,c++}else{if(f<15){if(f&&!l)throw ge("an end-of-band run in a sequential scan");l&&c===i&&n&&s?.resets.push(this.blockIndex),this.eobrun=(1<<f)-1+(f?this.receive(f):0);break}if(c+=16,m++,c>o+1)throw this.pastBand()}}m&&s?.zeros.push({block:this.blockIndex,count:m})}acRefine(e,t,r){let{ss:n,se:i,al:o,choices:a}=this,l=1<<o,s=-1<<o,m=n;if(this.eobrun<=0){let o=0===this.eobrun;for(this.eobrun=-1;m<=i;m++){let c=this.decode(e.ac),h=c>>4,f=0,u=15&c;if(u){if(1!==u)throw ge("a bad refinement code");f=this.receive(1)?l:s}else if(15!==h){m===n&&o&&a?.resets.push(this.blockIndex),this.eobrun=1<<h,h&&(this.eobrun+=this.receive(h));break}for(;m<=i;m++){let e=r+Va[m];if(0!==t[e])this.receive(1)&&0===(t[e]&l)&&(t[e]+=t[e]>=0?l:s);else if(--h<0)break}if(h>=0||f&&m>i)throw ge("coefficients past the band");f&&(t[r+Va[m]]=f)}}if(this.eobrun>0){for(;m<=i;m++){let e=r+Va[m];0!==t[e]&&this.receive(1)&&0===(t[e]&l)&&(t[e]+=t[e]>=0?l:s)}this.eobrun--}}},il=(e,t)=>e<1<<t-1?e-(1<<t)+1:e,ol=(e,t)=>1===t.length?t[0].component.blocksW*(32*t[0].component.v/e.vmax):e.mcusX*(32/e.vmax),al=32<<20,ll=class{constructor(e){this.Type=e,this.values=new e(0),this.n=0}push(e){if(this.n===this.values.length){let e=new this.Type(Math.max(1024,2*this.n));e.set(this.values),this.values=e}this.values[this.n++]=e}take(){let e=this.values.slice(0,this.n);return this.n=0,e}},sl=524288,ml=592128,cl=592384,hl=1261568,fl=2048e3,ul=2637824,dl=2646016,pl=12576,gl=5853184,Ml=5881856,yl=2637824,bl=2638080,wl=2646560,Ll=5853184,Ol=1048576,Al=1049600,Il=1261568,vl=7426048,Fl=9523200,Nl=10309632,xl=11882496,kl=196608,El=xl,Cl=El+4*kl,Jl=Cl+2*kl,Ul=67108864,Bl=1/0,Hl=null,Kl="M,> LMMMLµOS-L2L2-O22L2-I2222M-J2222222M-O22M-N222L2-L2M-A222222222222L2-K222222M-N222M-F22222222222M-F22222222222L2-D222222222L2-^2222222222222222222L2-@2222222222222L2-H22222L2-A222222222222M-G2222222222M-K222222L2-\\22222222222222222L2-@2222222222222M-O22L3-Z22222222222222222222222L2-E22222222L2-_222222222222222222L2-^2222221222222222222L2-L3L3-I2222L2-J2222222L2-\\22222222222222222MOBLN(#;K ( \"?4OMLNspEN@CLIIKKHIINDODMOOGOMLLMMBHNKOJ]FL\\M_J^YEX[ZUTWFAHVQLMHJAGPNKÎLW2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF3LMF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MFJ¿ORE?(>$)8,!MMI+$!!MLF>, =!()\")(MOA>, =!()=!$9MNE/49(>\0,5MIJ,.\n?\"8=MJE,#>\v!8>%MED,#>\v!8>%MFF8#=,.&\n?\"8=MA@#\"#7(?\"\"8#9>M@G*?,)\b;(#9>M^E%=\"&(#>MYH>%,=(MPK.95)>MSK9\"&(#>MRB.,=98?(($*%9()MmD>9,*(\"\f>MlK=?$.(>MnK.\"=$(>MjK=$(.(>MeK> \"\"9%Md@.,=98?(\"&(#>MfD&(4\"8#9>MaD,#>\"&(#>M`F.%,##(!\")(McD=((!\b<8,!MG9\"&:#>,.&M~F9\"&:#>?$9(MyE9?((,!&MwG9?((, =!(MvA.89$>9\"*?, MqG¯÷LpIOJ2N6mL:O9lFN\r:MlGN\rO2mA:M\nmG:M\n<mN:N\vmN:H\v?mG:I'mL\0<<I\rmM:I&°MIMoBmMmF&°MIMo@°ãLlCmHmM°MIMmN:N\vI6mCmC:R°áL°ALMMMLMMMLMMMLMMM°°ãL:L°áLHmBm@°ûLmBm@°õLmCmMmF&:I&°MIM°üL°ûL°õLF°üLmI°\\°üLo@:L°æLm@:R°áL°°FIMmH:]'lHmG:I'lGmM:]'ALF:MlEmNI\rmGI2mM:I&eOMHmAI2mMmF&eOMH:MFFlKmAI2mMmF&eOMHmKFlJmG:M\nmA:M\n<I2mMmF&:I&eOMHmKFlDmK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°MIm°AMMMMMMMMMMMMMMMM°c°ÜLlHmKmM°MI}°AMMMMMMMMMMMMMMMM°c°ÜLlKmJmM°MI\r°AMMMMMMMMMMMMMMMM°c°ÜLlJmEmM°MI°AMMMMMMMMMMMMMMMM°c°ÜLlEmDmM°MI-°AMMMMMMMMMMMMMMMM°c°ÜLlDmGmM°MI=°AMMMMMMMMMMMMMMMM°c°ÜLlGmM:ÍL'lMALFFmOmOeOMmN°äL°VM'{OMmOmOeOImN°äL°VL'{OImOmOeOEmN°äL°VO'{OEmOmOeOAmN°äL°VN'{OAmOmOeO]mN°çL°VM'{O]mOmOeOYmN°çL°VL'{OYmOmOeOUmN°çL°VO'{OUmOmOeOQmN°çL°VN'{OQmOmOeOmmIoN°äL°VM'{OmmOmOeOimN°äL°VL'{OimOmOeOemN°äL°VO'{OemOmOeOamN°äL°VN'{OamOmOeO}mN°çL°VM'{O}mOmOeOymN°çL°VL'{OymOmOeOumN°çL°VO'{OumOmOeOqmN°çL°VN'{OqmOmOeO\rmHoN°äL°VM'{O\rmOmOeO\tmN°äL°VL'{O\tmOmOeOmN°äL°VO'{OmOmOeOmN°äL°VN'{OmOmOeOmN°çL°VM'{OmOmOeOmN°çL°VL'{OmOmOeOmN°çL°VO'{OmOmOeOmN°çL°VN'{OmOmOeO-mKoN°äL°VM'{O-mOmOeO)mN°äL°VL'{O)mOmOeO%mN°äL°VO'{O%mOmOeO!mN°äL°VN'{O!mOmOeO=mN°çL°VM'{O=mOmOeO9mN°çL°VL'{O9mOmOeO5mN°çL°VO'{O5mOmOeO1mN°çL°VN'{O1mOmOeOÍLmJoN°äL°VM'{OÍLmOmOeOÉLmN°äL°VL'{OÉLmOmOeOÅLmN°äL°VO'{OÅLmOmOeOÁLmN°äL°VN'{OÁLmOmOeOÝLmN°çL°VM'{OÝLmOmOeOÙLmN°çL°VL'{OÙLmOmOeOÕLmN°çL°VO'{OÕLmOmOeOÑLmN°çL°VN'{OÑLmOmOeOíLmEoN°äL°VM'{OíLmOmOeOéLmN°äL°VL'{OéLmOmOeOåLmN°äL°VO'{OåLmOmOeOáLmN°äL°VN'{OáLmOmOeOýLmN°çL°VM'{OýLmOmOeOùLmN°çL°VL'{OùLmOmOeOõLmN°çL°VO'{OõLmOmOeOñLmN°çL°VN'{OñLmOmOeOLmDoN°äL°VM'{OLmOmOeOLmN°äL°VL'{OLmOmOeO
LmN°äL°VO'{O
LmOmOeOLmN°äL°VN'{OLmOmOeOLmN°çL°VM'{OLmOmOeOLmN°çL°VL'{OLmOmOeOLmN°çL°VO'{OLmOmOeOLmN°çL°VN'{OLmOmOeOLmGoN°äL°VM'{OLmOmOeO©LmN°äL°VL'{O©LmOmOeO¥LmN°äL°VO'{O¥LmOmOeO¡LmN°äL°VN'{O¡LmOmOeO½LmN°çL°VM'{O½LmOmOeO¹LmN°çL°VL'{O¹LmOmOeOµLmN°çL°VO'{OµLmOmOeO±LmN°çL°VN'{O±LFÅLLL2mMmN:O9'lImMmN:1<:O9'oNmMI\rN\rmMmL°MIMmO°MIM°üL°FIMmL:]'lLmO:]'lOmNmM:]'oM@MFFmMmII\rN\rmMmLeOMmOeOM&{OMmL:I'lLmO:I'lOmImM:I'oM@MFFFsMn_nX:O9'mMmL:D9?{OMn^nX:O9'mO{OMnX:L'iXnYmM:O9'oMmMeOM:L'{OMF_Mn]I2mMeOMHmMcLMFFLLL2mN:ÍÍEI2mMmN:O9'HmN:ü¾¼4!:B;lIN\rmNn\\mI:N9'oMeOM\nI\rmMeOMI\rmI:L':²²J<lIAOHmMmN{OMFFFmM:I'FoIeOMoM\bI\rmLmOeOE:O9'mN{OMmOmOeOE:L'{OEFmImM:L'{OMmOmOeOM:L'{OMn_I\rmNI\r:RmN*&oM:L'mMmN:LmM9&]BH:M:M:M]BFFFìLLL2mN:EI\rmMmLmO:M]\\mN:E&oN:]I\rmNlLH:RmN*&oI:A'lLmOmOeOImI'{OIFn_I\rmL:L'mImN:LmI9&:MmIV]BFmMmL:ÍÍE':O9'oLmLeOM:L'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:MVFo\\:]I\rm\\:L:Rm\\*&o\\9&oW:N<mWm\\:L&;:L<:O9?m\\:I&:N9?:]'l\\Fm]mKm_!mX''m\\wMMm_:L'l_ALFFmX:L'lXALFFF¢LLK2mH:MmI:L':}!oA:O9±FMmK:MmI:L':N9±FMN\rmOmGI\rmLmG:O9'eOMlF:MlDmIlJN\rmJmDI\rmFmNmJmD':L8oE:O9'eOMI\rmE:L'lDHmElJFALFFmMmG:O9'eOMoJ:]I\rmJ:SmJ*oF&;:L<:VmF&:L9?:]'lJmKmD:N9'oEmEfNM:SmF&õítNMFmAmD:}!mJ'oJI\rmHmJ:O9'oEmEeOM:L'{OMFmG:L'lGALFFF",Tl=()=>"object"==typeof WebAssembly&&1===new Uint8Array(new Uint32Array([1]).buffer)[0]&&(ya(),fa.has("kernels")||(e=>{try{return WebAssembly.validate(e)}catch{return!1}})(ca('M,> LMMMLHL-ML2NOLMJDLH=?"/(MMGFLDM:M°\\°VMF'))),Gl=()=>q("kernels",()=>ca(Kl)),Dl=null,Pl=null,Sl=[],jl=[];for(let e=1,t=0;t<16;t++){jl.push(e);let t=2*e*e;do{e++}while(e*e<t)}jl.slice().reverse().map(e=>-e);var Xl,_l,Rl,ql,zl=0,Vl=new Set,Yl=new Set,Wl=()=>zl>0,Zl=(e,t)=>{Vl.add(e),Yl.add(t)},{ensureKernels:Ql,disableEntropyKernels:$l,prepareKernels:es,arenaKernels:ts,releaseArena:rs,lendEntropy:ns,orientBlock:is,pngRow:os,sampleTable:as,sampleBands:ls,captureAnsWrite:ss,writeAnsTokens:ms}=(()=>{function e(){let{memory:e,exports:t}=Be();l=He(()=>{if(T)throw yo("JXL_INTERNAL","The kernels' arena was taken under deferred AC counts.");C=!1,U=null,B=!1,H=!1,M=null,g=null,K=null,Ue=null,ke=-1,we=-1,f=-1,u="",y++},()=>{r.u8=new Uint8Array(e.buffer),r.i32=new Int32Array(e.buffer)},()=>h?.(new Int32Array(e.buffer)));let n=Te(t,l),i=new Uint8Array(e.buffer),o=new Int32Array(e.buffer);return h?.(o),{memory:e,simd:n,u8:i,i32:o}}function t(){if("simd"===n)return!0;try{if("object"!=typeof WebAssembly||1!==new Uint8Array(new Uint32Array([1]).buffer)[0]||!Tl())return!1;r||=e(),n="simd",Ia.channel=p,Ia.weighted=null,Ia.sampled=Ne,Ia.acGroup=te,Ia.acGroupPair=null,Ia.acDeferred=null,Ia.nonzero=Ae,Ia.dcEvents=ae,Ia.dcPlan=de,Ia.planTokens=pe,Ia.shape=Oe,i&&(Ia.entropy=z);for(let e of c)Ia[e]&&(Ia[e]=m(Ia[e]))}catch{n="off";for(let e of c)Ia[e]=null}return"simd"===n}let r,n="off",i=!0,o=e=>!e||e instanceof vo&&e.write===vo.prototype.write&&e.grow===vo.prototype.grow,a={split:0,msb:0,lsb:0},l=null,s=new Map,m=e=>s.get(e)??s.set(e,function(...t){return Ke(l),e.apply(this,t)}).get(e),c=["channel","weighted","fill","palette","rct","tuple","passLevels","group","screen","sampled","dct","ycbcrTile","ycbcrTiles","rgbTiles","rgbBand","photoTile","acGroup","acGroupPair","acDeferred","opaque","nonzero","entropy","varblock","gaborish","strategyFill","strategyWrite","xybPlanes","gabBand","dcEvents","dcPlan","planTokens","shape","nativeRGBA","s2cChannel"],h=null,f=-1,u="",d=Object.freeze({residual:327680,table:1642496,output:1114128}),p=function(e,t,n,i,l,s,m){C=!1,U=null,B=!1,H=!1,M=null,K=null,y++;let c=s.config||a;if(!((e,t,r,n,i=65536)=>e instanceof Int16Array&&Number.isInteger(t)&&Number.isInteger(r)&&t>0&&r>0&&t<=16384&&t*r<=i&&e.length>=t*r&&Number.isInteger(n)&&Math.abs(n)<=32768)(n,i,l,s.offset)||1!==s.multiplier||!Number.isInteger(s.predictor)||s.predictor<0||s.predictor>5||!o(e)||(h=c,!(Number.isInteger(h.split)&&Number.isInteger(h.msb)&&Number.isInteger(h.lsb)&&h.split>=0&&h.split<=15&&h.msb>=0&&h.lsb>=0&&h.msb+h.lsb<=h.split&&(1<<h.split)+(19-h.split<<h.msb+h.lsb)<=224))||m&&(e||!(t instanceof Uint32Array)||t.length<34||t.length>4129))return!1;var h;let f=i*l;return!(e&&e.at+8*f+32>2147483647)&&(r.i32.set(n.subarray(0,f),16384),r.simd.residual(65536,i,l,s.predictor,s.offset,327680),function(e,t,n,i,l=a,s=0,m=d){C=!1,U=null,B=!1,H=!1,M=null,K=null,y++;let{simd:c,i32:h,u8:f}=r,u=s||257;if(!o(e)||!t.length||t.length>34)return!1;let{residual:p,table:g,output:b}=m;if(e){h.fill(0,g>>2,(g>>2)+257*t.length*2);for(let e=0;e<t.length;e++){let r=t[e];if(!r?.lengths||!r?.codes||r.lengths.length>257)return!1;for(let t=0;t<r.lengths.length;t++)h[(g>>2)+2*(257*e+t)]=r.lengths[t],h[(g>>2)+2*(257*e+t)+1]=r.codes[t]}}else for(let e=0;e<t.length;e++){if(!(t[e]instanceof Uint32Array)||t[e].length!==u)return!1;h.set(t[e],(g>>2)+e*u)}let w=c.tokens(p,i,n,g,b,e?1:0,e?e.acc:0,e?e.pending:0,l.split,l.msb,l.lsb,s);if(e)e.at+w+8>=e.bytes.length&&e.grow(w+8),e.bytes.set(f.subarray(b,b+w),e.at),e.at+=w,e.acc=h[b-8>>2],e.pending=h[b-4>>2];else for(let e=0;e<t.length;e++)t[e].set(h.subarray((g>>2)+e*u,(g>>2)+(e+1)*u));return!0}(e,[t],f,0,c,m?t.length:0))},g=(new WeakMap,new WeakMap,new WeakMap,null),M=null,y=0,b=4194304,w=b+128,L=131072,O=4587648,A=4590720,I=4591744,v=4592768,F=v+256,N=4613504,x=4621696,E=4625792,C=!1,J=0,U=null,B=!1,H=!1,K=null,T=null,G=new WeakMap,D=e=>{let t=G.get(e);return t||G.set(e,t={}),t},P=e=>e.contexts,S=new WeakMap,j=null,X=function(){if(j)return j;let e=new Int32Array(8194);for(let t=1;t<=4096;t++){let r=32-Math.clz32(t-1),n=2**(32+r),i=Math.floor(n/t),o=n-i*t;o<0?(i--,o+=t):o>=t&&(i++,o-=t),e[2*t]=i+(o?1:0)-2**32|0,e[2*t+1]=r}return j=e},_=function(e){let t=S.get(e);if(t)return t;let{histograms:r}=e,n=r.length,i=[0,0,0],o=Math.max(...r.map(e=>Math.max(e.counts.length,e.starts.length)));return t={ids:n,alphabet:o,small:new Int32Array(64*n),freqs:new Int32Array(64*n),starts:new Int32Array(64*n),reverse:new Uint16Array(4096*n),configs:new Int32Array(4*n),counts:new Int32Array(n*o),symbolStarts:new Int32Array(n*o)},r.forEach((e,r)=>{for(let n=0;n<64;n++)k(e.config,n,i),t.small[64*r+n]=i[1]<<6|i[2],t.freqs[64*r+n]=e.counts[i[0]],t.starts[64*r+n]=e.starts[i[0]];t.reverse.set(e.reverse,4096*r),t.configs.set([e.config.splitToken,e.config.split,e.config.msb,e.config.lsb],4*r);for(let n=0;n<e.counts.length;n++)t.counts[r*o+n]=e.counts[n];for(let n=0;n<e.starts.length;n++)t.symbolStarts[r*o+n]=e.starts[n]}),S.set(e,t),t},q=function(t,n,i,o,a){r||=e(),Ke(l),C=!1,B=!1,H=!1,M=null,K=null,y++;let s=_(n),m=E,c=m+256*s.ids,h=c+256*s.ids,f=h+256*s.ids,u=f+8192*s.ids,d=u+16*s.ids,p=d+s.ids*s.alphabet*4,g=p+s.ids*s.alphabet*4+7&-8,b=g+32776,w=b+4*a,L=w+a+8&-8,O=L+4*a,A=O+a+8&-8,I=A+2*a+8&-8,v=I+8*a+16;if(v>r.memory.buffer.byteLength){try{r.memory.grow(Math.ceil((v-r.memory.buffer.byteLength)/65536))}catch(e){throw Object.assign(yo("JXL_MEMORY","The ANS writer cannot grow its kernel memory."),{cause:e})}r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer)}let F=r.memory.buffer,N=new Uint8Array(F),x=new Int32Array(F),k=new Uint16Array(F);U!==n&&(x.set(s.small,m>>2),x.set(s.freqs,c>>2),x.set(s.starts,h>>2),k.set(s.reverse,f>>1),x.set(s.configs,u>>2),x.set(s.counts,d>>2),x.set(s.symbolStarts,p>>2),x.set(X(),g>>2),U=n),new Uint32Array(F).set(i.subarray(0,a),b>>2),N.set(o.subarray(0,a),w);let J=4625664;x.set([b,w,a,m,c,h,f,u,d,p,s.alphabet,L,O,A,I,t.acc,t.pending,0,g],J>>2),r.simd.ansFlush(J),V(t,J,I)},z=()=>Ee(q),V=function(e,t,n){let i=new Int32Array(r.memory.buffer),o=i[17+(t>>2)];e.at+o+8>=e.bytes.length&&e.grow(o+8),e.bytes.set(new Uint8Array(r.memory.buffer,n,o),e.at),e.at+=o,e.acc=i[15+(t>>2)],e.pending=i[16+(t>>2)]},Y=null;Zl(()=>{Y&&(Y.at=0)},()=>{Y=null});let W=function({groupStarts:e,starts:t,segment:r},n,i,o,a){if(e)return e[i*Math.ceil(a/32)+o/32];let l=Math.floor(o/r),s=t[i*Math.ceil(a/r)+l];for(let e=i*a+l*r;e<i*a+o;e++)s+=n[e];return s},Z=17825792,Q=Z,$=Z+256,ee=function(e,t,n,i,o){if(e.whole?t.loaded:e.current===t)return;let a=r.memory.buffer;new Uint8Array(a).set(n.at.subarray(t.from,t.to),t.at),new Int16Array(a).set(n.levels.subarray(t.from,t.to),t.val>>1),new Uint8Array(a).set(i.subarray((e.by0+t.y0)*o,(e.by0+t.y1)*o),t.cnt),t.loaded=!0,e.current=t},te=function(e,t,a,l,s,m=null){y++;let{authoredOrderPasses:c,groupsX:h,strategyData:f,progression:u,contexts:d,lumaBuckets:p,lumaW:g,xsizeBlocks:k,ysizeBlocks:G,comps:S,grey:j,orders:R,counted:q,blockCounts:z,nonZero:Z,hshifts:te,vshifts:ne}=e;if("simd"!==n||f||u||c?.[a]||j||!Z&&(!q||!i)||te.some(Boolean)||ne.some(Boolean)||S.some(e=>!(e.coeffs instanceof Int16Array||!e.coeffs&&e.packed?.starts))||d.contexts>65536||d.map.length>8192)return!1;M=null;let ie=null,oe=0,ae=null,le=null;if(!l.counts){let e=l.coding.model;if(!e||e.histograms.length>256||e.contextMap.length>8192||!o(l.w))return!1;if("ans"===e.kind){if(!l.coding.flush||e.histograms.some(e=>!(e.reverse instanceof Uint16Array)||4096!==e.reverse.length))return!1;le=_(e)}else{if("prefix"!==e.kind)return!1;ie=e.histograms,oe=Math.max(...ie.map(e=>e.code.lengths.length))}ae=l.w}let se=t%h*32,me=32*(t/h|0),ce=Math.min(32,k-se),he=Math.min(32,G-me),fe=ce*he,ue=S[0].stride,de=q?z:Z,pe=!S[0].coeffs;if(pe&&!Z)return!1;if(!Z){if(ce<1||he<1||!Number.isInteger(ue)||ue<se+ce||!Number.isInteger(d.numDc)||d.numDc<1||d.numDc>16||!Number.isInteger(d.numCtxs)||d.numCtxs<1||d.numCtxs>16||4096!==s.length)return!1;let e=(me+he-1)*ue+se+ce;for(let t=0;t<3;t++){if(S[t].stride!==ue||S[t].coeffs.length<64*e||!(de[t]instanceof Uint8Array)||de[t].length<e||64!==R[t].length)return!1;for(let e of R[t])if(!Number.isInteger(e)||e<0||e>63)return!1;for(let e=0;e<he;e++)for(let r=0;r<ce;r++)if(de[t][(me+e)*ue+se+r]>63)return!1}}let ge=3*fe*64,Me=256*d.contexts,ye=E+Math.max(8,ie?ie.length*oe*8:8),be=!(!l.counts||!l.defer);if(T&&(!be||T.counts!==l.counts||T.hist!==P(d)))throw yo("JXL_INTERNAL","Deferred AC counts were not taken.");let we,Le,Oe,Ae,Ie,ve,Fe,Ne,xe,ke,Ee,Ce,Je,Ue=ye+Me,Be=Ue+(be?Math.max(4*ge,Me):4*ge),He=Be+8*ge,Ke=He+8*ge+16;le&&(we=E,Le=we+256*le.ids,Oe=Le+256*le.ids,Ae=Oe+256*le.ids,Ie=Ae+8192*le.ids,ve=Ie+16*le.ids,Fe=ve+le.ids*le.alphabet*4,Ne=Fe+le.ids*le.alphabet*4+7&-8,xe=Ne+32776,ke=xe+4*ge,Ee=ke+ge+8&-8,Ce=Ee+4*ge,Je=Ce+ge+8&-8,He=Je+2*ge+8&-8,Ke=He+8*ge+16);let Te=pe?Ke+15&-16:0,Ge=Te+ge;pe&&(Ke=Ge+2*ge);let De=!pe||le&&l.kept?null:function(e,t,n,i,o,a){let l=K?.held;if(l&&l.by0===n&&l.stride===a&&l.packs.every((t,r)=>t===e[r].packed)&&l.counts.every((e,r)=>e===t[r]))return l;let s=Math.min(32,o-n),m=(Math.ceil(a/32),Math.ceil(i/32)),c=e.map(({packed:e},r)=>Array.from({length:s},(o,l)=>{let s=1/0,c=0;for(let o=0;o<m;o++){let m=W(e,t[r],n+l,32*o,a),h=(n+l)*a+32*o,f=m;for(let e=h;e<h+Math.min(32,i-32*o);e++)f+=t[r][e];m<s&&(s=m),f>c&&(c=f)}return[s,c]})),h=(e,t,r)=>{let n=c[e][r-1][1]-c[e][t][0];return(n+15&-16)+(2*n+15&-16)+((r-t)*a+15&-16)},f=24116992,u=[[],[],[]],d=h(0,0,s)+h(1,0,s)+h(2,0,s)<=f,p=$;for(let e=0;e<3;e++)for(let t=0;t<s;){let r=s;for(;r-t>1&&h(e,t,r)>f;)r=t+(r-t>>1);let n=c[e][r-1][1]-c[e][t][0],i=d?p:$,o={y0:t,y1:r,from:c[e][t][0],to:c[e][r-1][1],at:i,val:i+(n+15&-16),cnt:i+(n+15&-16)+(2*n+15&-16),loaded:!1};d&&(p+=h(e,t,r)),u[e].push(o),t=r}let g=d?p:$+Math.max(...u.flat().map(e=>e.cnt-e.at+(e.y1-e.y0)*a))+16;if(g>r.memory.buffer.byteLength){try{r.memory.grow(Math.ceil((g-r.memory.buffer.byteLength)/65536))}catch(e){throw Object.assign(yo("JXL_MEMORY","The AC writer cannot hold a group row in its kernel memory."),{cause:e})}r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer)}return{by0:n,stride:a,packs:e.map(e=>e.packed),counts:[t[0],t[1],t[2]],chunks:u,whole:d,offs:Q,current:null}}(S,de,me,k,G,ue);if(Ke>r.memory.buffer.byteLength){try{r.memory.grow(Math.ceil((Ke-r.memory.buffer.byteLength)/65536))}catch{return!1}r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer)}let Pe=r.memory.buffer,Se=new Uint8Array(Pe),je=new Int32Array(Pe),Xe=new Int16Array(Pe),_e=new Uint16Array(Pe);if(l.counts){if(!C||J<Me){if(T)throw yo("JXL_INTERNAL","Deferred AC counts were overwritten.");Se.fill(0,ye,ye+Me),C=!0}J=Me}else C=!1;le?U!==l.coding.model&&(je.set(le.small,we>>2),je.set(le.freqs,Le>>2),je.set(le.starts,Oe>>2),_e.set(le.reverse,Ae>>1),je.set(le.configs,Ie>>2),je.set(le.counts,ve>>2),je.set(le.symbolStarts,Fe>>2),je.set(X(),Ne>>2),U=l.coding.model):U=null;let Re=le?l.kept??null:null,qe=!(!l.counts||!l.keep);if(Re){if(!(Re.values instanceof Int32Array)||!(Re.ctxs instanceof Uint16Array)||Re.values.length!==Re.ctxs.length||Re.values.length>ge)return!1;K=null,Se.set(l.coding.model.contextMap,N),je.set(Re.values,xe>>2),_e.set(Re.ctxs,Ee>>1),r.simd.ctxIds(Ee,ke,Re.values.length,N)}else{let e=D(S[0].coeffs??S[0].packed),n=D(S[1].coeffs??S[1].packed),i=D(S[2].coeffs??S[2].packed),o=D(de[0]),a=D(de[1]),m=D(de[2]),c=K&&K.g===t&&K.bw===ce&&K.bh===he&&K.c0===e&&K.c1===n&&K.c2===i&&K.s0===o&&K.s1===a&&K.s2===m,h=0;for(let e=0;e<3;e++){if(!c&&pe)for(let t of De.chunks[e]){ee(De,t,S[e].packed,de[e],ue);let n=new Int32Array(r.memory.buffer),i=Math.min(t.y1,he)-t.y0;if(!(i<=0)){for(let r=0;r<i;r++)n[(De.offs>>2)+r]=W(S[e].packed,de[e],me+t.y0+r,se,ue)-t.from;h+=r.simd.stageRows(t.at,t.val,t.cnt,De.offs,ce,i,ue,se,Te+h,Ge+2*h,O+e*fe+t.y0*ce)}}else if(c){if(!q&&z[e]!==Z[e])for(let t=0;t<he;t++){let r=(me+t)*ue+se;z[e].set(Z[e].subarray(r,r+ce),r)}}else{let t=S[e].coeffs,r=de[e];for(let n=0;n<he;n++){let i=(me+n)*ue+se;Xe.set(t.subarray(64*i,64*(i+ce)),w+e*L+n*ce*128>>1),Se.set(r.subarray(i,i+ce),O+e*fe+n*ce),!q&&z[e]!==Z[e]&&z[e].set(Z[e].subarray(i,i+ce),i)}}let t=R[e];for(let r=0;r<64;r++)Se[v+64*e+r]=t[r];for(let t=0;t<d.numDc;t++)je[(I>>2)+e*d.numDc+t]=d.contextOf(e,t)}if(!c&&pe&&r.simd.unpackGroup(w,L,ce,he,O,Te,Ge),K={g:t,bw:ce,bh:he,c0:e,c1:n,c2:i,s0:o,s1:a,s2:m,held:De??(c?K.held:null)},d.thresholds.length){H=!1;for(let e=0;e<he;e++){let t=(me+e)*g+se;Se.set(p.subarray(t,t+ce),A+e*ce)}}else H||(Se.fill(0,A,4591744),H=!0);if(B||(_e.set(s,F>>1),B=!0),le&&Se.set(l.coding.model.contextMap,N),ie&&function(e,t,n){let i=new Uint8Array(r.memory.buffer),o=new Int32Array(r.memory.buffer);i.set(e.contextMap,N),o.fill(0,E>>2,(E>>2)+t.length*n*2);for(let e=0;e<t.length;e++){let{config:r,code:i}=t[e];o.set([r.splitToken,r.split,r.msb,r.lsb],(x>>2)+4*e);for(let t=0;t<i.lengths.length;t++)o[(E>>2)+2*(e*n+t)]=i.lengths[t],o[(E>>2)+2*(e*n+t)+1]=i.codes[t]}}(l.coding.model,ie,oe),je.set([w,L,ce,he,O,A,I,d.numDc,d.numCtxs,v,F,4601216,le?2:ie?1:qe?3:0,ye,Ue+4*(T?.touched??0),Be,0,0,N,x,E,oe,He,ae?ae.acc:0,ae?ae.pending:0,0,le?xe:qe?He:0,le?ke:qe?He+4*ge:0,0],b>>2),r.simd.acGroup(b),qe){let e=je[1048604];l.kept=function(e,t){if(!Wl())return{values:e.slice(),ctxs:t.slice()};let r=e.length;if(!Y||Y.at+r>Y.values.length){let e=Math.max(r,1048576,Y?2*Y.values.length:0);Y={values:new Int32Array(e),ctxs:new Uint16Array(e),at:0}}let n=Y.at;return Y.values.set(e,n),Y.ctxs.set(t,n),Y.at=n+r,{values:Y.values.subarray(n,n+r),ctxs:Y.ctxs.subarray(n,n+r)}}(je.subarray(He>>2,(He>>2)+e),_e.subarray(He+4*ge>>1,(He+4*ge>>1)+e))}}if(le){let e=4625664,t=Re?Re.values.length:je[1048604],n=[we,Le,Oe,Ae,Ie,ve,Fe,le.alphabet];if(m&&!m.args){let e=xe+4521984+256+15&-16,i=e+4*t,o=i+t+8&-8,a=o+4*t,s=a+t+8&-8,c=s+2*t+8&-8,h=c+8*t+16;if(h>17825792)return!1;if(h>r.memory.buffer.byteLength){try{r.memory.grow(Math.ceil((h-r.memory.buffer.byteLength)/65536))}catch{return!1}r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer)}let f=new Uint8Array(r.memory.buffer);return f.copyWithin(e,xe,xe+4*t),f.copyWithin(i,ke,ke+t),m.args=[e,i,t,...n,o,a,s,c,ae.acc,ae.pending,0,Ne],m.w=ae,m.out=c,m.model=l.coding.model,3}if(je.set([xe,ke,t,...n,Ee,Ce,Je,He,ae.acc,ae.pending,0,Ne],e>>2),m){if(m.model!==l.coding.model)throw yo("JXL_INTERNAL","A pair of AC groups crosses models.");let t=4625536;return je.set(m.args,t>>2),r.simd.ansFlush2(t,e),V(m.w,t,m.out),V(ae,e,He),2}r.simd.ansFlush(e);let i=je[17+(e>>2)];return ae.at+i+8>=ae.bytes.length&&ae.grow(i+8),ae.bytes.set(Se.subarray(He,He+i),ae.at),ae.at+=i,ae.acc=je[15+(e>>2)],ae.pending=je[16+(e>>2)],2}if(ie)return function(e,t){let n=new Int32Array(r.memory.buffer),i=n[1048601];e.at+i+8>=e.bytes.length&&e.grow(i+8),e.bytes.set(new Uint8Array(r.memory.buffer,t,i),e.at),e.at+=i,e.acc=n[1048599],e.pending=n[1048600]}(ae,He),!0;let ze=l.counts,Ve=je[1048592],Ye=je[1048593];be?T={counts:ze,hist:P(d),at:ye,list:Ue,bytes:Me,touched:(T?.touched??0)+Ve}:re(ze,ye,Ue,Ve,Me);for(let e=0;e<Ye;e++)ze.add(je[(Be>>2)+2*e],je[(Be>>2)+2*e+1]);return!0},re=function(e,t,n,i,o){let a=new Int32Array(r.memory.buffer),l=new Uint32Array(r.memory.buffer,t,o>>2);for(let t=0;t<i;t++){let r=a[(n>>2)+t],i=l[r];e.small[r]+=i,e.totals[r>>6]+=i,l[r]=0}},ne=196608,ie=721040,oe=983184,ae=function(e){if("simd"!==n||e.some(e=>!(e.data instanceof Int16Array)||!(e.w>0&&e.h>0)||e.w*e.h>65536||e.data.length<e.w*e.h))return null;C=!1,U=null,B=!1,H=!1,M=null,K=null,y++;let t=r.memory.buffer,i=new Int16Array(t),o=new Uint32Array(t);return e.map(({data:e,w:t,h:n})=>{o.fill(0,49152,180257),i.set(e.subarray(0,t*n),32768),r.simd.gradEvents(65536,t,n,ne,ie,oe,0,0,0,0,0);let a=o[245798],l=new Uint32Array(2*a);for(let e=0;e<a;e++){let t=o[(ie>>2)+e];l[2*e]=t,l[2*e+1]=o[49152+t]}return{literalPairs:l,literalPairsLen:2*a,lengths:o.slice(180224,180257)}})},le=oe+16,se=1245344,me=1507488,ce=1508528,he=1770672,fe=2819248,ue=(e,t)=>{if(t<131072)return e[49152+t];for(let r=Math.imul(t,2654435761)>>>15;;r=r+1&131071)if(e[(he>>2)+2*r]===t)return e[(he>>2)+2*r+1]},de=function(e,t,i,o){if("simd"!==n||!(e instanceof Int16Array||e instanceof Int32Array)||!(t>0&&i>0)||t*i>65536||e.length<t*i||257!==o.length)return null;let a=t*i,l=e[0],s=e[0];for(let t=1;t<a;t++){let r=e[t];r<l?l=r:r>s&&(s=r)}let m=l<-32768||s>32767?1:0;C=!1,U=null,B=!1,H=!1,M=null,K=null,y++,m&&fe>r.memory.buffer.byteLength&&(Ge(fe),r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer));let c=r.memory.buffer,h=new Int16Array(c),f=new Uint32Array(c),u=m?131072:Math.min(131072,Math.max(2*(s-l),2*Math.abs(e[0]))+2);f.fill(0,49152,49152+u),f.fill(0,180224,180257),f.fill(0,me>>2,377129),m?(f.fill(0,he>>2,fe>>2),new Int32Array(c,ce,a).set(e.subarray(0,a))):h.set(e.subarray(0,a),32768),r.simd.gradEvents(m?ce:65536,t,i,ne,ie,oe,le,se,me,m,he);let d=f[245798],p=f[245799],g=new Uint32Array(2*d),b=0;for(let e=0;e<2;e++)for(let t=0;t<d;t++){let r=f[(ie>>2)+t];r<4096==!e&&(g[b++]=r,g[b++]=ue(f,r))}for(let e=0;e<257;e++)o[e]+=f[(me>>2)+e];return{tags:f.slice(le>>2,(le>>2)+p),extra:f.slice(se>>2,(se>>2)+p),used:p,literalPairs:g,literalPairsLen:b,lengths:f.slice(180224,180257)}},pe=function(e,t){let{tags:i,extra:o,used:a}=e;if("simd"!==n||!(i instanceof Uint32Array)||!(o instanceof Uint32Array)||!Number.isInteger(a)||a<0||a>65536||i.length<a||o.length<a||!(t.split>=0&&t.split<=30)||t.splitToken!==2**t.split||!(t.msb>=0&&t.lsb>=0&&t.msb+t.lsb<=t.split))return!1;C=!1,U=null,B=!1,H=!1,M=null,K=null,y++;let l=r.memory.buffer,s=new Uint32Array(l),m=new Int32Array(l);return s.set(i.subarray(0,a),ge>>2),s.set(o.subarray(0,a),Me>>2),m.set([t.splitToken,t.split,t.msb,t.lsb],ye>>2),r.simd.hpTokens(ge,Me,a,ye),i.set(s.subarray(ge>>2,(ge>>2)+a)),o.set(s.subarray(Me>>2,(Me>>2)+a)),!0},ge=65536,Me=327680,ye=591872,be=131152,we=-1,Le=null,Oe=function(e,t,i,o,a,l){if("simd"!==n||!(t>=3&&t<=512)||!(i>=1&&i<=4294967295)||!(o>=0&&o<t)||e.length<t)return null;let s=r.memory.buffer,m=new Int32Array(s),c=new Uint32Array(s),h=new Float64Array(s);(we!==y||Le!==a)&&(h.set(a.log2,8200),h.set(a.symbolBits,12297),m.set(a.logLengths,32788),m.set(a.repeats,32804),Le=a),C=!1,U=null,B=!1,H=!1,M=null,K=null,we=++y;for(let r=0;r<t;r++)c[32820+r]=e[r];m.set([131280,t,i,o,65600,98376,be,131216,133328,0,0,0,l?1:0],16384),r.simd.shape(65536);let f=m[16393];return f<0?{none:!0}:{counts:Uint16Array.from(m.subarray(39476,39476+t)),shift:f,omit:o,bits:h[8197]}},Ae=function(e,t,i,o){if("simd"!==n||!(e instanceof Int16Array)||t%64||(i-t)%64)return!1;C=!1,U=null,B=!1,H=!1,M=null,K=null,y++;let a=new Int16Array(r.memory.buffer),l=new Int32Array(r.memory.buffer),s=458752;l.fill(0,s>>2,114752);for(let n=t;n<i;n+=65536){let t=Math.min(i,n+65536);a.set(e.subarray(n,t),32768),r.simd.nonzeroCounts(65536,t-n>>6,s)}for(let e=0;e<64;e++)o[e]+=l[(s>>2)+e];return!0},Ie=e=>8*Math.ceil(e/8),ve=null,Fe=Object.freeze({live:()=>!0,peak:0,allocate:()=>null,release(){},propose:(e,t,r,n=null)=>(n&&(n.handle=null),null)}),Ne=function(e,t,n,i,o,a,s){if(Number.isInteger(e)&&e>=0&&e<64)return Fe;if(!r||!Number.isSafeInteger(e)||e<0||!t||t>16||o.length!==t||!Number.isInteger(n)||n<1||n>256||!(a instanceof Float64Array)||a.length<e+1||!(s instanceof Float64Array)||s.length!==n||o.some(t=>!(t instanceof Uint8Array)||t.length!==e))return null;let m=0;for(let t of i){let r=t.cuts.length;if(!(t.indices instanceof Uint8Array)||t.indices.length!==e||r>255)return null;m=Math.max(m,r)}if(!m)return Fe;let c=i.length,h=m+1,f=t*n,u=65536,d=u+t*e,p=Ie(d+c*e),g=Ie(p+4*c),b=g+8*(e+1),w=Ie(b+8*n),L=w+4*e,O=L+t*e,A=Ie(O+e),I=Ie(A+4*f),v=I+64,F=Ie(v+32*t+8*f+h*f*4+4*e+4*(2*h+1)+4*t),N=F+4*e,x=N+4*e,k=x+8*f,E=0,J=(i.map(e=>{let t=E;return E+=e.cuts.length?(e.cuts.length+1)*f*4:0,t}),64*Math.ceil(k/64)),T=Math.floor(25165824/E),G=-1,D=0,P=[],S=0,j=e=>{if(e<=r.memory.buffer.byteLength)return!0;try{Ge(e)}catch{return!1}return!0},X={live:()=>ve?.deref()===X&&G===y,get peak(){return S},allocate(){if(!X.live()||!P.length)return null;let e=P.pop();return j(e+E)?(S=Math.max(S,T-P.length),{at:e,generation:D}):(P.push(e),null)},release(e){e&&e.generation===D&&X.live()&&P.push(e.at)},propose(m,h,f,S=null){Ke(l),C=!1,U=null,B=!1,H=!1,M=null,K=null,we=-1;let _=m.length;if(S&&(S.handle=null),!(m instanceof Uint32Array)||_<64||_>e||h.length!==t||h.some(e=>!(e instanceof Uint32Array)||e.length!==n)||!Number.isSafeInteger(f))throw Na("sampled");if(!X.live()){if(!j(k))throw yo("JXL_MEMORY","Not enough memory for the learned tree.");let{u8:l,i32:m}=r,h=new Float64Array(r.memory.buffer);for(let r=0;r<t;r++)l.set(o[r],u+r*e);for(let t=0;t<c;t++)l.set(i[t].indices,d+t*e),m[(p>>>2)+t]=i[t].cuts.length;if(r.simd.bytesMax(u,t*e)>=n||i.some((t,n)=>r.simd.bytesMax(d+n*e,e)>t.cuts.length))throw Na("sampled");h.set(a.subarray(0,e+1),g>>>3),h.set(s,b>>>3),ve=new WeakRef(X),G=y,D++,P=Array.from({length:T},(e,t)=>J+(T-1-t)*E)}let R=!(!S?.parent||!S?.sibling||S.parent.generation!==D||S.sibling.generation!==D),q=!!S?.save&&T>0;if(q&&!R)for(let e of i)if(e.cuts.length&&4*_<=(e.cuts.length+1)*n){q=!1;break}let z=q?X.allocate():null,{i32:V}=r,Y=new Float64Array(r.memory.buffer);new Uint32Array(r.memory.buffer,w,_).set(m);for(let e=0;e<t;e++)V.set(h[e],(A>>>2)+e*n);let W=r.simd.sampledNode(u,d,e,w,_,t,n,c,p,A,g,b,L,O,v,I,R?S.parent.at:0,R?S.sibling.at:0,z?z.at:0);if(-2===W)throw X.release(z),Na("sampled");if(S&&(S.handle=z),W<0)return null;let Z=Y[I+16>>>3],Q=Y[I+24>>>3],$=V[I+4>>>2],ee={gain:f-Z-Q,column:i[W],bin:$,lo:{selected:V[I+8>>>2],bits:Z},hi:{selected:V[I+12>>>2],bits:Q}};if(ee.gain<=0)return ee;let te=r.simd.sampledSplit(u,d,e,w,_,t,n,W,$,F,N,A,x),re=r.memory.buffer,ne=te<=_-te;ee.lowIds=new Uint32Array(re,F,te).slice(),ee.highIds=new Uint32Array(re,N,_-te).slice();let ie=[0,1].map(e=>Array.from({length:t},(r,i)=>new Uint32Array(re,x+(e*t+i)*n*4,n).slice()));return ee.low=ie[ne?0:1],ee.high=ie[ne?1:0],ee}};return X},xe=(new Int32Array(81),new Uint8Array(6144));for(let e=0;e<256;e++)for(let t=0,r=0;t<8;t++)e>>t&1&&(xe[16*e+2*r]=2*t,xe[16*e+2*r+1]=2*t+1,xe[4096+8*e+r++]=t);let ke=-1,Ue=null,De=(new Map,Ce),Pe=Je;return Ia.arena={lend:()=>Ce(25165824),release:Je},Ia.ensure=t,{ensureKernels:t,disableEntropyKernels:function(){i=!1,Ia.entropy=null},prepareKernels:async function(){return!("object"!=typeof WebAssembly||1!==new Uint8Array(new Uint32Array([1]).buffer)[0]||!Tl())&&R("kernels",()=>ca(Kl))},arenaKernels:De,releaseArena:Pe,lendEntropy:null,orientBlock:null,pngRow:null,sampleTable:null,sampleBands:null,captureAnsWrite:function(t,n,i,o,a){r||=e(),Ke(l),C=!1,U=null,B=!1,H=!1,M=null,K=null,we=-1,y++;let s=65536,m=s+9232*a.length,c=m+4*o,h=c+(2*o+3&-4),f=h+4*o,u=e=>{if(e<=r.memory.buffer.byteLength)return!0;try{r.memory.grow(Math.ceil((e-r.memory.buffer.byteLength)/65536))}catch{return!1}return r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer),!0};if(!u(f))throw yo("JXL_MEMORY","The ANS writer cannot grow its kernel memory.");let d=new Uint16Array(r.memory.buffer);if(a.forEach((e,t)=>{let r=s+9232*t>>1;d.fill(0,r,r+520),d.set(e.counts,r),d.set(e.starts,r+256),d.set(e.reverse,r+520)}),r.i32.set(n.subarray(0,o),m>>2),r.i32.set(i.subarray(0,o),h>>2),!u(f+(r.simd.tokAnsBack(m,o,s,c)+t.pending>>3)+16))throw yo("JXL_MEMORY","The ANS stream exceeds available kernel memory.");let p=r.simd.tokAnsWrite(m,h,o,c,t.acc,t.pending,f),g=p>>3,b=7&p;return t.at+g+8>=t.bytes.length&&t.grow(g+8),t.bytes.set(r.u8.subarray(f,f+g),t.at),t.at+=g,t.acc=b?r.u8[f+g]&(1<<b)-1:0,t.pending=b,!0},writeAnsTokens:q}})(),cs=(e,t)=>Object.assign(new Error(t),{code:e}),hs="pass pixels {data, width, height}, ImageData, a canvas, a bitmap, or an image file as a Blob.",fs=new Set(["JXL_OPTIONS","JXL_INPUT","JXL_DIMENSIONS","JXL_JPEG","JXL_DECODE","JXL_RECONSTRUCTION","JXL_TARGET","JXL_PLATFORM","JXL_MEMORY","JXL_LIMIT","JXL_WASM","JXL_WEBGPU","JXL_WORKER","JXL_CLOSED","JXL_UNSUPPORTED","JXL_INTERNAL","JXL_IO","JXL_SETUP"]),us={JXL_SIZE:"JXL_LIMIT",JXL_INVALID:"JXL_DECODE",JXL_FRAMING:"JXL_INPUT",JXL_RGBA:"JXL_INPUT",JXL_PROTOCOL:"JXL_WORKER",JXL_WORKER_LEASE:"JXL_WORKER",JXL_THREAD_REQUIRED:"JXL_PLATFORM",JXL_UNAVAILABLE:"JXL_PLATFORM",JXL_QUEUE_FULL:"JXL_MEMORY",JXL_BUSY:"JXL_INTERNAL",JXL_CODEC:"JXL_INTERNAL",JXL_DICTIONARY:"JXL_INTERNAL",JXL_ENCODE:"JXL_INTERNAL",JXL_GPU:"JXL_INTERNAL",JXL_GPU_NATIVE_UNPROVEN:"JXL_INTERNAL",JXL_INITIALIZE:"JXL_INTERNAL",JXL_MEMORY_GPU_UNPROVEN:"JXL_INTERNAL",JXL_OPERATION:"JXL_INTERNAL",JXL_PART:"JXL_INTERNAL"},ds=new WeakSet,ps=new WeakMap,gs="File contains no original JPEG to restore; decode it for its pixels or pass a file made by recompress().",Ms=()=>yo("JXL_RECONSTRUCTION","Invalid or unsupported JPEG reconstruction data."),ys=class{constructor(e){this.bytes=e,this.bit=0,this.offset=0,this.input=null,this.part=null}window(e){return(this.input!==this.bytes||e<this.offset||e+5>this.offset+this.part.length)&&(this.input=this.bytes,this.offset=e,this.part=this.bytes.subarray(e,Math.min(this.bytes.length,e+65536))),this.part}read(e){let t=this.bit;Ze(e>=0&&e<=32&&t+e<=8*this.bytes.length);let r=this.window(t>>>3);if(e<=24){let n=(t>>>3)-this.offset;return this.bit=t+e,(r[n]|r[n+1]<<8|r[n+2]<<16|r[n+3]<<24)>>>(7&t)&(1<<e)-1}let n=0,i=0;for(;e;){let t=Math.min(e,8-(7&this.bit));n+=(r[(this.bit>>>3)-this.offset]>>>(7&this.bit)&(1<<t)-1)*(1<<i>>>0),this.bit+=t,i+=t,e-=t}return n}peek(e){let t=this.window(this.bit>>>3),r=(this.bit>>>3)-this.offset;return(t[r]|t[r+1]<<8|t[r+2]<<16|t[r+3]<<24)>>>(7&this.bit)&(1<<e)-1}skip(e){Ze(this.bit+e<=8*this.bytes.length),this.bit+=e}expect(e,t){Ze(this.read(e)===t)}u32(e){let[t,r]=e[this.read(2)];return this.read(t)+r}align(){this.expect(7&-this.bit,0)}end(){this.align(),Ze(this.bit===8*this.bytes.length)}},bs=[[9,1],[13,1],[18,1],[30,1]],ws=[null,[1,1],[12,10],[4,3],[3,2],[16,9],[5,4],[2,1]],Ls=["perceptual","relative","saturation","absolute"],Os=(e,t)=>(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0,As=[[0,0],[0,1],[4,2],[6,18]],Is=(Promise.resolve(),"function"!=typeof WorkerGlobalScope&&(()=>{try{return!1!==globalThis.process?.getBuiltinModule?.("node:worker_threads")?.isMainThread}catch{return!0}})()),vs=e=>{let t=-1/0;return async()=>{!Is||performance.now()-t<=8||(await new Promise(e=>{try{return void setImmediate(e)}catch{}try{let t=new MessageChannel;return t.port1.onmessage=()=>{t.port1.close(),e()},void t.port2.postMessage(0)}catch{}setTimeout(e,0)}),je(e),t=performance.now())}},Fs=Symbol.for("rapier-jxl.jpeg.pixels"),Ns=Symbol.for("rapier-jxl.jpeg.geometry"),xs=new Map,ks=e=>e&&"string"==typeof e.code&&/^JXL_[A-Z_0-9]+$/.test(e.code)&&"string"==typeof e.message&&Pe(e)===e,Es=e=>Number.isSafeInteger(e)&&e>0,Cs=e=>"number"==typeof e&&Number.isFinite(e),Js=e=>Cs(e)&&e>=1&&e<=100,Us=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,Bs=Object.getPrototypeOf(Uint8Array.prototype),Hs=Object.fromEntries(["buffer","byteOffset","byteLength"].map(e=>[e,Object.getOwnPropertyDescriptor(Bs,e).get])),Ks=Object.getOwnPropertyDescriptor(Bs,Symbol.toStringTag).get,Ts=[0,0,0,12,74,88,76,32,13,10,135,10],Gs=/^function Object\(\) \{\s*\[native code\]\s*\}$/,Ds=Number.MAX_SAFE_INTEGER,Ps=Symbol.for("rapier-jxl.retain-input"),Ss=new WeakMap,js=new WeakSet,Xs=Object.fromEntries(["buffer","byteOffset","byteLength"].map(e=>[e,Object.getOwnPropertyDescriptor(DataView.prototype,e).get])),_s=Uint8Array.prototype.slice,Rs={Uint8Array,Uint8ClampedArray,Int8Array,Uint16Array,Int16Array,Uint32Array,Int32Array,..."function"==typeof Float16Array&&{Float16Array},Float32Array,Float64Array,BigInt64Array,BigUint64Array,DataView},qs=class extends Error{},zs={},Vs={},Ys=e=>(e/2**20).toFixed(e<2**20?2:0),Ws=["jpeg-bytes","pixels","lossy"],Zs=null,Qs=e=>({code:"JXL_TARGET",message:e}),$s=Object.freeze([-29.97381362,-6.940466435,-1.25470135,3.3893708399999998,7.09033958,10.51464371,12.665079515,16.713258590000002,18.673968705,21.105531125,22.957540065,25.223973105,27.00507493,27.978122579999997,29.825917805,31.415932750000003,32.572708275,33.175092295,34.309781265,36.30099314,37.208438494999996,38.08691582,38.7998353,40.32459973,40.950025395,42.170106745,42.883824669999996,43.57407828,44.420829839999996,45.20957972,46.18172579,47.134427525,47.931344015,48.609038235,49.61987626,49.979236875,50.20559565,51.045848305,51.456134975,52.06415233,52.861199325,53.531656915,54.32905192,54.71133428,55.176613775,55.90871946,56.076872475,57.025085585,57.467758305000004,57.89373923,59.026523275,59.48238025,59.7317854,60.170542575,60.566979685,60.566979685,61.38655503,61.8244871,62.142594079999995,62.522252935,62.717870965,63.065376825,63.533200355,64.03046348,64.335776255,64.817456795,65.15700075000001,65.78047209,66.17071418,66.69645169,66.69645169,67.78941277,68.17985284,68.45086642999999,68.79570254000001,68.95193511,69.87394918999999,71.26413471000001,71.997727835,73.194730445,74.03065663,75.124830855,76.03320187,77.12701476000001,78.305614905,78.98458758000001,79.99187979,81.120978295,82.28456064,83.014497415,84.132846075,85.044493085,85.82950024499999,86.81750979,87.38892515,88.12254154,88.758621995,89.20636776,89.60070468,90.069661795,100].map((e,t)=>Object.freeze([t,e]))),em=["ssimulacra2","max-error"],tm=Symbol.for("rapier-jxl.drive"),rm=(Symbol("capture facts"),Symbol("capture record")),nm=["colorSpace","colorEncoding","transferFunction","bitDepth","sampleFormat","intensityTarget","alphaPremultiplied","icc","orientation","extraChannels"],im=Symbol("selected capture protection"),om=Symbol("result reference"),am=Symbol("raw operation"),lm=Symbol("device ran"),sm=Symbol("profile named"),mm=(Symbol("preview"),Symbol("encode features")),cm=["fidelity","effort","firstRegion","readAs","jpeg","webgpu","maxPixels","maxBytes","icc","signal","onProgress","onPreview","exactRects","photoRects","textComplete","withoutText","outputs"],hm=(e,t)=>It(Ot,e,t),fm=new Set,um=(Object.freeze({exact:!0}),[1,1,1,1,2,4,1,2,1,4,2,4,1,1,1,1,1,1,8,4,8,16,8,16,32,16,32]),dm=[1,1,1,1,2,4,2,1,4,1,4,2,1,1,1,1,1,1,8,8,4,16,16,8,32,32,16],pm=[0,1,2,3,4,5,6,6,7,7,8,8,9,9,10,10,10,10,11,12,12,13,14,14,15,16,16],gm=Object.freeze(["dct8","identity","dct2","dct4","dct16","dct32","dct16x8","dct8x16","dct32x8","dct8x32","dct32x16","dct16x32","dct4x8","dct8x4","afv0","afv1","afv2","afv3","dct64","dct64x32","dct32x64","dct128","dct128x64","dct64x128","dct256","dct256x128","dct128x256"].map((e,t)=>Object.freeze({name:e,id:t,width:8*um[t],height:8*dm[t],table:pm[t]}))),Mm=[0,1,1,1,2,3,4,4,5,5,6,6,1,1,1,1,1,1,7,8,8,9,10,10,11,12,12],ym=(Object.freeze(["dct8","small","dct16","dct32","dct16x8","dct32x8","dct32x16","dct64","dct64x32","dct128","dct128x64","dct256","dct256x128"].map((e,t)=>{let r=gm.filter(e=>Mm[e.id]===t),n=r[0],i=Math.max(n.width,n.height),o=Math.min(n.width,n.height);return Object.freeze({name:e,id:t,width:i,height:o,lowFrequencyCount:i*o/64,strategies:Object.freeze(r.map(e=>e.name))})})),(e,t)=>{let r=e*t;if(!(r>=1&&r<=256))throw yo("JXL_INTERNAL",`A quantization multiplier of ${r} is outside 1 to 256.`);return r-1}),bm=37,wm=458,Lm=13,Om=Array.from({length:64},(e,t)=>t<2?0:t<16?t-1:t<32?7+(t>>1):15+(t>>2)),Am=Array.from({length:64},(e,t)=>t<2?0:t<3?31:t<5?62:t<9?93:t<13?123:t<21?152:t<33?180:206),Im=Va.map(e=>(7&e)<<3|e>>3),vm=Int32Array.from({length:4096},(e,t)=>2*(Am[t>>6]+Om[63&t])),Fm=(Object.freeze({mode:0,library:!0}),[0,1,2,2,3,4,5,6,7,7,7,7,7]),Nm={dcBuckets:e=>(t,r,n,i)=>0===t?n:e?i:1===t?i+(n>>1):i+(i-1>>1)+1+(n>>1),sizes:e=>(t,r)=>2*(e&&t?1:t)+(r?1:0),sizesShared:()=>(e,t)=>(e?2:0)+(t?1:0),sizes3:e=>(t,r)=>3*(e&&t?1:t)+(0===Fm[r]?0:2===Fm[r]?1:2),sizes3Shared:()=>(e,t)=>(e?3:0)+(0===Fm[t]?0:2===Fm[t]?1:2),sizesDc:e=>(t,r,n,i)=>{let o=i<=2?n:2*n/i|0;return 0===t?(Fm[r]?2:0)+o:e?4+(Fm[r]?1:0):4+2*(t-1)+(Fm[r]?1:0)},fine:()=>(e,t,r,n)=>(8*e+Fm[t])*n+r,standard:()=>(e,t)=>(e?km:xm)[t]},xm=[0,1,2,2,3,3,4,5,6,6,6,6,6],km=[7,8,9,9,10,11,12,13,14,14,14,14,14],Em=(e,t,r,n=null)=>({T:e,size:t,bytes:t*e.BYTES_PER_ELEMENT,put:r,back:n}),Cm=e=>e.fill(0),Jm=(e,t,r=t.length,n)=>Em(e,r,e=>e.set(r===t.length?t:t.subarray(0,r)),n?r:null),Um=(e,t,r)=>Em(e,t,r?Cm:null,t),Bm=(e,t,r,n)=>Em(e,t,n?Cm:null,r),Hm=(e,t)=>Em(Uint8Array,e,t?Cm:null),Km=Em,Tm=()=>{throw yo("JXL_INTERNAL","A capture kernel was called outside its bounds.")},Gm=[-200,-100,-50,-25,-12,-6,-3,-1,0,2,4,7,13,26,51,101,201],Dm=Uint8Array.from({length:511},(e,t)=>Gm.filter(e=>e<t-255).length),Pm=Uint8Array.of(0,1,3,4,5,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,22,23,24,25,26,27,27,28,29,30,31,31),Sm=e=>Oa()?Aa(e):Object.assign(new Error("The capture WebAssembly kernel could not run: check memory.",{cause:e}),{code:"JXL_WASM"}),jm=Tl,Xm=1===new Uint8Array(new Uint32Array([1]).buffer)[0],_m=65536,Rm=null,qm=[];Zl(()=>{},()=>{qm.length=0});var zm,Vm,Ym=41943040,Wm=1<<18,Zm=e=>{throw e?.code?e:Sm(e)},Qm=e=>Int32Array.of(e.split,e.msb,e.lsb,e.splitToken),$m=(e,t=e.length)=>Km(Int32Array,4*t,r=>{for(let n=0;n<t;n++){let t=e[n];r[4*n]=t.split,r[4*n+1]=t.msb,r[4*n+2]=t.lsb,r[4*n+3]=t.splitToken}}),ec=(e,t)=>$m([e,t]),tc=(e,t,r,n)=>{e.at+n+16>=e.bytes.length&&e.grow(n+16),e.bytes.set(t.subarray(r,r+n),e.at),e.at+=n},rc=(e,t,r)=>{new BigInt64Array(e,t,1)[0]=BigInt(r.acc),new Int32Array(e)[2+(t>>2)]=r.pending},nc=(e,t,r)=>{r.acc=Number(new BigInt64Array(e,t,1)[0]),r.pending=new Int32Array(e)[2+(t>>2)]},ic=(zm=e=>{Rt(),Pt();let t=e(_m);return St(t.end),{k:_l,at:t}},Vm=Zm,(e,t,r)=>{try{let n=t.map(e=>"number"==typeof e?null:ArrayBuffer.isView(e)?Jm(e.constructor,e):e),{k:i,at:o}=zm(e=>{let t=e;return{offsets:n.map(e=>e&&(t=(t+15&-16)+e.bytes)-e.bytes),end:t}}),a=i.memory.buffer,l=(e,t,r)=>new e.T(a,o.offsets[t],r),s=[e(i)(...t.map((e,t)=>n[t]?(n[t].put?.(l(n[t],t,n[t].size)),o.offsets[t]):e))];return n.forEach((e,t)=>{if(null==e?.back)return;let n=l(e,t,"function"==typeof e.back?e.back(s[0]):e.back);s.push(r?n:n.slice())}),s}catch(e){return Vm(e)}}),oc=(Float64Array.from({length:256},(e,t)=>Math.log2(1+t)),{residual:ra,run:ea,minSymbol:224,minLength:7}),ac=(e,t,r,n)=>r.rowValues?function(e,t,r,n,i,o){let a=o.predictor,l=o.config||ra,s=0,m=(r,n=l,i=0)=>{e?C(e,t,n,r,i):E(n,r,t,i)},c=()=>{if(s){if(s>=8)m(0),m(s-7-1,ea,224);else for(let e=0;e<s;e++)m(0);s=0}},h=5===a;if(r>0)for(let e=0;e<n;e++){let t=i[e]-(h&&e?i[e-1]:0)|0;if(t){c();for(let e=0,n=t>=0?t+t:-t-t-1;e<(h?1:r);e++)m(n);h&&(s+=r-1)}else s+=r}c()}(e,t,r.w,r.h,r.rowValues,n):function(e,t,r,n,i,o,a=!1,l,s=0){if(n&&i&&(l||!Ia.channel?.(e,t,r,n,i,o,a))&&!function(e,t,r,n,i,o,a,l,s,m){let c=n*i,h=r instanceof Int16Array,f=r instanceof Uint8Array||r instanceof Uint16Array||r instanceof Int8Array;if(!(r instanceof Int32Array||h||f&&1===o.multiplier)||n<1||i<1||r.length<c||!(o.multiplier>=1)||s<0||e&&!(e instanceof vo&&e.write===vo.prototype.write&&e.grow===vo.prototype.grow))return!1;let u=l?3:e?2:a?1:0,d=u<2?t.length:2===u?t.lengths.length:c,p=u<2?Jm(Uint32Array,t):3===u?Hm(4*c):((e,t)=>Km(Uint32Array,e.length*t*2,r=>e.forEach(({lengths:e,codes:n},i)=>{for(let o=0,a=i*t*2;o<t;o++){let t=o<e.length;r[a+2*o]=t?n[o]:0,r[a+2*o+1]=t?e[o]:255}})))([t],257);return ic(a=>(f,p,g,M,y)=>{let b=a.memory.buffer,w=new Int32Array(b);return 2===u&&(rc(b,g,e),w[3+(g>>2)]=y),!(a.channelCode(f,n,i,s,o.predictor,o.offset,o.multiplier,h?1:0,u,M,d,p,p+16,m.minSymbol,m.minLength,M,257,y,g)<0||(1!==o.multiplier&&r.set(h?Int16Array.from(new Int32Array(b,f,c)):new Int32Array(b,f,c)),u<2?t.set(new Uint32Array(b,M,d)):3===u?l.set(new Int32Array(b,M+s*n*4,c-s*n),s*n):(tc(e,new Uint8Array(b),y,w[3+(g>>2)]-y),nc(b,g,e)),0))},[Jm(Int32Array,r,c),ec(o.config??m.residual,m.run),Hm(16),p,Hm(2===u?6*c+64:0)])[0]}(e,t,r,n,i,o,a,l,s,oc))throw Na("channel")}(e,t,r.data,r.w,r.h,n),lc=[N(0),N(1),N(2),N(3),N(4),N(4,1,1),N(4,2,0),N(4,1,2),N(5,1,1),N(2,0,1),N(3,0,1)],sc=[...lc,N(3,1,0),N(4,0,1),N(4,1,0),N(4,2,1),N(5,1,0),N(5,2,0),N(5,2,1)],mc=[...sc,N(1,1,0),N(1,0,1),N(2,1,1),N(2,2,0),N(2,0,2),N(3,1,2),N(3,2,1),N(3,3,0),N(3,0,3),N(4,0,2),N(5),N(5,0,1)],cc=N(4,1,1),hc=new Uint32Array(2048),fc=(()=>{let e=[];for(let t=0;t<=7;t++)for(let r=0;r<=t;r++)for(let n=0;r+n<=t;n++)sc.some(e=>e.split===t&&e.msb===r&&e.lsb===n)||e.push(N(t,r,n));return e})(),uc=class e{constructor(e){this.contexts=e,this.small=new Uint32Array(64*e),this.large=new Array(e).fill(null),this.totals=new Float64Array(e)}add(e,t){if(this.totals[e]++,t<64)return void this.small[64*e+t]++;let r=this.large[e]||(this.large[e]=new Map);r.set(t,(r.get(t)||0)+1)}addTokens(e,t,r){let n=this.totals,i=this.small;for(let o=0;o<r;o++){let r=e[o],a=t[o];a<64?(n[r]++,i[64*r+a]++):this.add(r,a)}}merge(e){for(let t=0;t<this.small.length;t++)this.small[t]+=e.small[t];for(let t=0;t<this.contexts;t++){if(this.totals[t]+=e.totals[t],!e.large[t])continue;let r=this.large[t]||(this.large[t]=new Map);for(let[n,i]of e.large[t])r.set(n,(r.get(n)||0)+i)}}tokens(e,t,r=128){let n=new Uint32Array(r);for(let r of e){let e=64*r;for(let r=0;r<64;r++)this.small[e+r]&&(n[Yt(t,r)]+=this.small[e+r]);let i=this.large[r];if(i)for(let[e,r]of i)n[Yt(t,e)]+=r}return n}aggregate(t){let r=new e(1),n=r.small,i=this.small,o=this.totals,a=this.large,l=0;for(let e=0;e<t.length;e++){let s=t[e],m=64*s;l+=o[s];for(let e=0;e<64;e++)n[e]+=i[m+e];if(a[s]){let e=r.large[0]||(r.large[0]=new Map);for(let[t,r]of a[s])e.set(t,(e.get(t)||0)+r)}}return r.totals[0]=l,r}cost(e,t){return Wt(this.tokens(e,t))+this.rawBits(e,t)}rawBits(e,t){let r=0;for(let i of e){let e=64*i;for(let i=t.splitToken;i<64;i++)this.small[e+i]&&(r+=this.small[e+i]*(n(i)-t.msb-t.lsb));let o=this.large[i];if(o)for(let[e,i]of o)e>=t.splitToken&&(r+=i*(n(e)-t.msb-t.lsb))}return r}},dc=[0,0,0],pc=Uint8Array.from({length:64},(e,t)=>Yt(cc,t)),gc=e=>e<64?pc[e]:Yt(cc,e),Mc=new Float64Array(65536),yc=e=>e<2?0:e<Mc.length?Mc[e]||(Mc[e]=e*Math.log2(e)):e*Math.log2(e),bc=new Uint32Array(64),wc=Symbol("loaded rows"),Lc=({contexts:e,ends:t,freqs:r,fends:n,bits:i,last:o,cost:a})=>Array.from(t,(l,s)=>({contexts:Array.from(e.subarray(s?t[s-1]:0,l)),freqs:r.slice(s?n[s-1]:0,n[s]),bits:i[s],last:o[s],cost:a[s]})),Oc=(e,t,r,i,o)=>W("cluster",()=>function*(e,{maxClusters:t=48,newClusterCost:r=320,seeds:i=96,passes:o,switchCost:a,everyConfig:l=!1,shapedMerge:s=!1,jpeg:m=null,kernels:c=null}={},h,f,u){o??=f?4:2,a??=f?4:0;let d=c&&(f?Math.min(i,2*t):t)<=c.clusters?c:null,p=e.totals,g=e.contexts,M=[],y=0;for(let e=0;e<g;e++)p[e]>0&&y++;let b=new Float64Array(y);for(let e=0,t=0;e<g;e++)p[e]>0&&(b[t++]=e-p[e]*g);b.sort();let w=new Array(y);for(let e=0;e<y;e++){let t=b[e]%g;w[e]=t?t+g:0}let L=[],O=f?Math.min(i,2*t):t,A=e=>{d&&d[wc]!==e&&(e.forEach((e,t)=>d.row(t,e.freqs,e.bits)),d[wc]=e)},I=()=>({clusters:er(L),contexts:tr(M)}),v=e=>{null===e||e===Ha||(L=Lc(e.clusters),M.length=0,M.push(...(({ctx:e,ends:t,runs:r})=>Array.from(e,(e,n)=>({ctx:e,sparse:Array.from(r.subarray(n?t[n-1]:0,t[n]))})))(e.contexts)))};if(d?.seedAll&&w.length)for(let t=0;t<w.length;t+=Ic)v(yield*Y("seeds",()=>{A(L);let n=w.slice(t,t+Ic),i=d.seedAll(n,e,gc,O,r/(f?2:1),L);if(L=d[wc]=i.clusters,f){let{runs:e,offsets:t}=i;for(let r=0;r<n.length;r++)M.push({ctx:n[r],sparse:e.subarray(2*t[r],2*t[r+1])})}return null},I));else for(let t=0;t<w.length;t+=Ac)v(yield*Y("seeds",()=>{A(L);for(let n=t;n<Math.min(w.length,t+Ac);n++){let t=w[n],i=e.tokens([t],cc,64),o=Wt(i),a=d?0:i.findLastIndex(Boolean)+1;if(f){let e=[];for(let t=0;t<i.length;t++)i[t]&&e.push(t,i[t]);M.push({ctx:t,sparse:e})}let l=-1,s=1/0;if(d)d.own(i),[l,s]=d.seedBest(L.length,o);else for(let e=0;e<L.length;e++){let t=L[e],r=Zt(t.freqs,i,Math.max(t.last,a))-t.bits-o;r<s&&(s=r,l=e)}if(l<0||L.length<O&&s>r/(f?2:1))L.push({contexts:[t],freqs:i,bits:o,last:a,cost:-1}),d?.row(L.length-1,i,o);else{let e=L[l];e.contexts.push(t),e.last=Math.max(e.last,a);for(let t=0;t<64;t++)e.freqs[t]+=i[t];e.bits=Wt(e.freqs),d?.row(l,e.freqs,e.bits)}}return d&&(d[wc]=L),null},I));f&&L.length>1&&(L=yield*function*(e,t,r,n,i,o=2,a=0,l=null,s=8192,m=()=>{}){let c=yield*V("merge",()=>{m(e);let t=e.length,n=l?null:new Float64Array(t*t),o=bc,a=(t,r)=>Zt(e[t].freqs,e[r].freqs,Math.max(e[t].last,e[r].last))-e[t].bits-e[r].bits;if(l)l.pairsInit(t);else for(let e=0;e<t;e++)for(let r=e+1;r<t;r++)n[e*t+r]=a(e,r);for(let s=t;s>1;s--){let m=-1,c=-1,h=1/0;if(l)[m,c,h]=l.pairMin(t);else for(let r=0;r<t;r++)if(e[r])for(let i=r+1;i<t;i++)e[i]&&n[r*t+i]<h&&(m=r,c=i,h=n[r*t+i]);let f=e[m],u=e[c];if(s<=r){for(let e=0;e<64;e++)o[e]=f.freqs[e]+u.freqs[e];if(f.cost<0&&(f.cost=i(f.freqs,cc)),u.cost<0&&(u.cost=i(u.freqs,cc)),i(o,cc)>=f.cost+u.cost)break}f.contexts.push(...u.contexts),f.last=Math.max(f.last,u.last);for(let e=0;e<f.freqs.length;e++)f.freqs[e]+=u.freqs[e];if(f.bits=Wt(f.freqs),f.cost=-1,e[c]=null,l)l.row(m,f.freqs,f.bits),l.alive(c,!1),l.pairsUpdate(t,m);else for(let r=0;r<t;r++)e[r]&&r!==m&&(n[Math.min(r,m)*t+Math.max(r,m)]=a(r,m))}return e=e.filter(Boolean),null},()=>er(e));null!==c&&(e=Lc(c));let h=new Int32Array(s).fill(-1);e.forEach((e,t)=>{for(let r of e.contexts)h[r]=t});let f=null;if(a>0){let e=new Array(s);for(let r of t)e[r.ctx]=r;f=[];for(let t=0;t<s;t++)e[t]&&f.push(e[t])}let u=l&&f?l.flatten(f):null;for(let r=0;r<o;r++){let r=!1,i=yield*Y("pass",()=>{let i=e.map(e=>n(e.freqs)),o=e.map(()=>({contexts:[],freqs:new Uint32Array(64),bits:0,last:0,cost:-1}));if(a>0){let e,t=f.length,n=i.length,s=0;if(u)[s,e]=l.assign(u,i,a);else{e=new Int16Array(t*n);let r=new Float64Array(n),o=new Float64Array(n);for(let l=0;l<t;l++){let t=1/0,s=0;for(let e=0;e<n;e++)r[e]<t&&(t=r[e],s=e);let{sparse:m}=f[l];for(let c=0;c<n;c++){let h=i[c],f=0;for(let e=0;e<m.length;e+=2)f+=m[e+1]*h[m[e]];let u=l?r[c]:0,d=l?t+a:0;u<=d?(o[c]=f+u,e[l*n+c]=c):(o[c]=f+d,e[l*n+c]=s)}[r,o]=[o,r]}for(let e=1;e<n;e++)r[e]<r[s]&&(s=e)}for(let i=t-1;i>=0;i--){let{ctx:t,sparse:a}=f[i],l=o[s];l.contexts.push(t);for(let e=0;e<a.length;e+=2)l.freqs[a[e]]+=a[e+1];h[t]!==s&&(r=!0),s=e[i*n+s]}}else for(let{ctx:e,sparse:n}of t){let t=h[e],a=t,l=1/0;for(let e=-1;e<i.length;e++){let r=e<0?t:e,o=i[r],s=0;for(let e=0;e<n.length;e+=2)s+=n[e+1]*o[n[e]];s<l&&(a=r,l=s)}let s=o[a];s.contexts.push(e);for(let e=0;e<n.length;e+=2)s.freqs[n[e]]+=n[e+1];a!==t&&(r=!0)}return(e=o.filter(e=>e.contexts.length)).forEach((e,t)=>{for(let r of e.contexts)h[r]=t}),null},()=>({clusters:er(e),assignments:h.slice(),changed:r}));if(i!==Ha&&(null!==i&&(e=Lc(i.clusters),h.set(i.assignments),r=i.changed),!r))break}return e}(L,M,t,f,s&&u?u:h,o,a,d,e.contexts,A)),L.length||L.push({contexts:[],freqs:new Uint32Array(64),bits:0,last:0,cost:-1});let F=[];for(let t=0;t<L.length;t+=vc)F.push(...yield*V("histogram-prices",()=>L.slice(t,t+vc).map(t=>{let r,o,a=e.aggregate(t.contexts),c=lc[0],f=1/0,p=[],g=[],M=[];for(let e=0;e<64;e++)a.small[e]&&(g.push(e),M.push(a.small[e]));let y=g.length?g[g.length-1]:0;if(a.large[0])for(let[e,t]of a.large[0])g.push(e),M.push(t),e>y&&(y=e);let b=m?y<16384?m.configs:mc:128===i?mc:sc,w=d?.priceConfigs&&h?.kernelTables&&!l&&y<1<<17?d.priceConfigs(g,M,b,h.kernelTables):null;if(w&&!(m&&y>=128))return{config:b[w.index],freqs:w.tokens,extra:w.raw};if(l&&!m&&d?.priceEvery&&h?.kernelTables&&y<1<<17){for(let e of d.priceEvery(g,M,b,fc,y,h.kernelTables)){let t=e.raw+u(e.tokens,e.candidate);t<f&&(f=t,c=e.candidate,r=e.tokens,o=e.raw)}return{config:c,freqs:r,extra:o}}let L=g.length,O=new Int32Array(L),A=new Int32Array(L);for(let e=0;e<L;e++){let t=g[e];t&&(O[e]=n(t),A[e]=t-(1<<O[e]))}let I=(e,t)=>{let{split:r,msb:n,lsb:i,splitToken:o}=e,a=n+i,l=(1<<i)-1,s=0,m=0;for(let e=0;e<L;e++){let c=g[e],h=M[e],f=c;if(c>=o){let t=O[e],m=A[e];f=o+(t-r<<a|m>>t-n<<i|m&l),s+=h*(t-a)}t[f]+=h,f>m&&(m=f)}return[s,m]};if(w)return m.high({config:b[w.index],freqs:w.tokens,extra:w.raw,cost:w.cost},y,I,h,s&&u);for(let e of h?b:lc){let t=y>=e.splitToken?e.splitToken+(n(y)-e.split<<e.msb+e.lsb|(1<<e.msb+e.lsb)-1)+1:0,i=new Uint32Array(Math.max(128,t)),[a]=I(e,i),s=a+(h?h(i,e):Wt(i)+18*e.split+28*(e.msb+e.lsb));l&&p.push({candidate:e,tokens:i,raw:a,cost:s}),s<f&&(f=s,c=e,r=i,o=a)}if(l){let e=p.find(e=>e.candidate===c),t=[],n=new Set(p.map(e=>Vt(e.tokens,e.tokens.findLastIndex(Boolean)+1,e.raw))),i=0,a=!1;for(let e of g)e>i&&(i=e);for(let e of fc){if(e.splitToken>i){if(a)continue;a=!0}let r=hc,[o,l]=I(e,r),s=l>255?0:Vt(r,l+1,o);if(l>255||n.has(s)){r.fill(0,0,l+1);continue}n.add(s);let m=r.slice(0,l+1);r.fill(0,0,l+1),t.push({candidate:e,tokens:m,raw:o,rough:o+Wt(m)})}t.sort((e,t)=>e.rough-t.rough);for(let e of t.slice(0,6))e.cost=e.raw+h(e.tokens,e.candidate),p.push(e);let l=p.sort((e,t)=>e.cost-t.cost).slice(0,4);l.includes(e)||l.push(e),f=1/0;for(let e of l){let t=e.raw+u(e.tokens,e.candidate);t<f&&(f=t,c=e.candidate,r=e.tokens,o=e.raw)}}return{config:c,freqs:r,extra:o}})));return yield*V("histograms",()=>{let t=new Uint8Array(e.contexts),r=F;if(L.forEach((e,r)=>{for(let n of e.contexts)t[n]=r}),f){let n=0;for(;n<e.contexts&&!e.totals[n];)n++;for(let r=0;r<e.contexts;r++)e.totals[r]||(t[r]=r<n?t[n]:t[r-1]);let i=new Int16Array(r.length).fill(-1),o=0;for(let e of t)i[e]<0&&(i[e]=o++);for(let e=0;e<i.length;e++)i[e]<0&&(i[e]=o++);let a=new Array(r.length);r.forEach((e,t)=>{a[i[t]]=e});for(let e=0;e<t.length;e++)t[e]=i[t[e]];return{contextMap:t,histograms:a}}for(let r=0;r+1<e.contexts;){if(!e.totals[r]){r++;continue}let n=r+1;for(;n<e.contexts&&!e.totals[n];)n++;n<e.contexts&&t[r]===t[n]&&t.fill(t[r],r+1,n),r=n}return{contextMap:t,histograms:r}})}(e,t,r,i,o)),Ac=128,Ic=768,vc=16,Fc=Object.assign(nr,{steps:function*(e,t){let r=yield*V("prefix-coding",()=>nr("function"==typeof e?e():e,t),({model:e,bits:t,header:r})=>({contextMap:e.contextMap,histograms:e.histograms,bits:t,header:{...r,bytes:r.bytes.slice(0,r.at+1)}}));if(r.writeHistograms)return r;let{contextMap:n,histograms:i,bits:o}=r,a={kind:"prefix",contextMap:n,histograms:i},l=Object.assign(new vo(0),r.header),{write:s,writeTokens:m}=rr(a);return{contextMap:n,histograms:i,model:a,write:s,writeTokens:m,writeFilled:t?.kernels?.prefixFilled?.(a)||void 0,bits:o,header:l,writeHistograms:e=>e.append(l)}}}),Nc=[N(0),N(4),N(4,1,1),N(3,0,1),N(4,2,0),N(4,2,1),N(4,1,2)],xc=new vo(128),kc=e=>!1,Ec=Object.getPrototypeOf(Uint8Array.prototype),Cc=Object.getOwnPropertyDescriptor(Ec,"length").get,Jc=Object.getOwnPropertyDescriptor(Ec,"buffer").get,Uc=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,Bc=new WeakMap,Hc=Ut(new Int32Array(0),0,!1),Kc=Ut(new Int32Array(0),0,!0),Tc=(()=>{let e=new vo(64);return Kt(e,Hc),e})(),Gc=(()=>{let e=new vo(64);return Kt(e,Kc),e})(),Dc=({candidate:e,header:t},r)=>({candidate:e,codings:r,header:t,total:r.reduce((e,t)=>e+t.bits,t.bitLength)}),Pc=e=>({bytes:e.bytes,at:e.at,pending:e.pending,acc:e.acc}),Sc=e=>({...e,bytes:e.bytes.slice(0,e.at+1)}),jc=e=>e?e.pending?Ja([Q(e.bytes,0,e.at),Uint8Array.of(e.acc)]):Q(e.bytes,0,e.at):new Uint8Array(0),Xc=new WeakMap,_c=null,Rc=Object.freeze({maxClusters:32,newClusterCost:160}),qc=Object.freeze({fast:!0,clusters:Object.freeze({fixed:!0})}),zc=[N(0),N(1),N(2),N(3),N(4),N(4,1,1),N(5,1,1),N(2,0,1),N(3,0,1)],Vc=N(8),Yc=N(4),Wc=N(0),Zc=224,Qc=new Uint8Array(1),$c=new Uint8Array([1,0]),eh=new Uint8Array(256),th=new Int32Array(32768).fill(-1),rh=new Int32Array(0),nh=new Uint32Array(0),ih=new Uint8Array(4096),oh=new Uint32Array(4096),ah=new Uint32Array(4096),lh=new Uint8Array(4096),sh=new Uint8Array(4096),mh=new Uint32Array(4096),ch=new Uint8Array(4096),hh=new Uint8Array(4096),fh=new Uint32Array(4096),uh=new Uint32Array(264),dh=new Uint32Array(40),ph=[0,0,0],gh=[5,4,4,4,4,4,3,3,3,3,3,6,7],Mh=[17,11,15,3,9,7,4,2,5,6,0,33,1],yh=new Float64Array(4097);for(let e=1;e<=4096;e++)yh[e]=12-Math.log2(e);var bh=(e,t)=>Math.max(0,Math.min(e,t-(12-e>>1))),wh=e=>{let t=n(e+1);return 2*t+(t<3?1:0)},Lh=Array.from({length:13},(e,t)=>t<12&&wh(t)===wh(t+1)&&Array.from({length:11},(e,t)=>t+1).every(e=>bh(e,t)===bh(e,t+1))),Oh=new Float64Array(4097);for(let e=1;e<=4096;e++)Oh[e]=Math.log2(e);var Ah=Object.freeze({log2:Oh,symbolBits:yh,logLengths:Int32Array.from(gh),repeats:Int32Array.from(Lh,Number)}),Ih=e=>e?4+n(e):1,vh=new Int32Array(256),Fh=new Uint16Array(256),Nh=new Int32Array(256),xh=new Uint16Array(256),kh=new Uint16Array(256),Eh=Uint16Array.from({length:4096},(e,t)=>t),Ch=class{constructor(){this.bitLength=0}write(e){this.bitLength+=e}};Ur.kernelTables={symbolBits:yh,logLengths:Uint8Array.from(gh)},new Map;var Jh=new WeakMap;Kr.steps=Tr;var Uh=new WeakMap,Bh=[N(7),N(7,1,0),N(7,0,1),N(7,2,0),N(7,1,1),N(7,0,2),N(7,3,0),N(7,2,1),N(7,1,2),N(6,4,0),N(6,3,1),N(6,2,2)],Hh=new Uint32Array(2048),Kh=Object.freeze({configs:[...sc,N(2,1,1),N(3,1,2),N(3,2,1),N(4,0,2),N(5),N(5,0,1),N(5,1,2),N(6),N(6,1,0),N(6,0,1),N(6,2,0),N(6,1,1),N(6,0,2),N(6,2,1),N(6,1,2)],high(e,t,r,i,o){let a=null;for(let e of Bh){if((t>=e.splitToken?e.splitToken+(n(t)-e.split<<e.msb+e.lsb|(1<<e.msb+e.lsb)-1)+1:t+1)>256)continue;let[o,l]=r(e,Hh);if(l>255){Hh.fill(0,0,l+1);continue}let s=Hh.slice(0,l+1);Hh.fill(0,0,l+1);let m=o+i(s,e);(!a||m<a.cost)&&(a={candidate:e,tokens:s,raw:o,cost:m})}let{config:l,freqs:s,extra:m}=e;return a&&(o?a.raw+o(a.tokens,a.candidate)<m+o(s,l):a.cost<e.cost)?{config:a.candidate,freqs:a.tokens,extra:a.raw}:{config:l,freqs:s,extra:m}}}),Th=[15,9,10,11,12,13,14,4,5,6,7,8,2,3],Gh=[5,6,1,2,3,4,0,11,7,10,12],Dh=65536,Ph=4096,Sh=(Object.freeze({split:4,splitToken:16,msb:1,lsb:2}),new Float64Array(1)),jh=e=>{let t=new Uint32Array(na);return t.set(e),t},Xh=(e,t,r)=>Math.min(e,255+Math.floor(t*r/16)),_h=function*(e,t,r,n,i=[]){let o=$h(t,r),a=ef(n,i,o);return o&&a.predictors.length<3?null:yield*function*(e,t,r,{nodes:n=119,samples:i=Dh,bins:o=32,properties:a=Th,predictors:l=Gh,references:s=[],referenceKinds:m=[0,1,2,3],least:c=4096,depth:h=24,charge:f=32,clustered:u=!1,clusters:d=192}={},p=null){let g=(n=Xh(n,t,r))+1>>1,M={leaves:Math.min(g,255),depth:h,samples:i,bins:o,properties:a,predictors:l,references:s,referenceKinds:m,least:c,charge:f,clustered:!1,clusters:d};if(!Ba())return Yr(e,t,r,{nodes:n,...M},p);let y=yield*V("tree-columns",()=>Vr(e,t,r,M,p??Pr(e,t,r)));if(!y)return null;let b=e=>_r(y.quantized,y.symbolSets,l,t*r,M,e),w=null;do{let e=yield*Y("tree-splits",()=>{let e=b(w);return Rr(e,8),qr(e)});e!==Ha&&(w=e)}while(!w?.done);return Wr(zr(b(w)))}(e,t,r,a,o)},Rh=new Int32Array(0),qh=e=>(Rh.length<e&&(Rh=new Int32Array(e)),Rh.subarray(0,e)),zh=new Map,Vh=[5,6,1,2,3,4,0],Yh=[5,1,2,7],Wh=[],Zh=16384,Qh=1<<20,$h=(e,t)=>e>Zh||e*t>Qh?{residuals:new Uint32Array(e*t),properties:new Int32Array(e*t)}:null,ef=(e,t,r)=>r?{...e,references:t,predictors:e.predictors.filter(e=>6!==e),properties:e.properties.filter(e=>15!==e)}:{...e,references:t},tf=[[4],[0],[1],[2],[3],[6],[8],[4,0,1],[4,0,2],[4,0,3],[4,0,4],[4,1,3],[4,1,1],[4,2,2],[3,0,1]].map(e=>N(...e)),rf=(()=>{let e=[];for(let t=0;t<8;t++)for(let r=-7;r<9;r++)(t||r>0)&&e.push([r,t]);return Int8Array.from(e.sort(([e,t],[r,n])=>e*e+t*t-r*r-n*n||Math.abs(e)-Math.abs(r)||r-e).flat())})(),nf=j,of={prices:4},af=(e,t)=>t(),lf=new Map,sf=[...tf,...[[4,2,1],[5,1,1],[5,2,1],[6,1,1],[6,2,1],[7,2,1],[5],[6],[7],[8],[9],[10],[11],[12],[13]].map(e=>N(...e))],mf=[];for(let e=0;e<=8;e++)for(let t=0;t<=e;t++)for(let r=0;t+r<=e;r++)mf.push(N(e,t,r));var cf=512,hf=32768,ff=new Uint32Array(hf),uf=new Uint16Array(hf),df=0,pf={values:new Int32Array(0),counts:new Uint32Array(0)},gf=[[8,4,4],[10,4,3],[10,5,4],[10,5,5],[12,5,5],[12,6,5],[12,6,6],[13,6,6],[14,6,6],[14,7,7]].map(e=>N(...e)),Mf=[...tf,...gf],yf=(N(4,1,1),[new Uint32Array(0),new Uint32Array(0),new Uint32Array(0)]),bf=(e,t,r)=>{if(yf[e].length<t+r){let n=new Uint32Array(Math.max(t+r,2*yf[e].length));n.set(yf[e].subarray(0,t)),yf[e]=n}return yf[e]},wf=e=>e.some(e=>e.pieceValue.some(e=>e>65535))?null:e.map(e=>e.count>1&&e.width<=16384&&e.count<=1<<20?function(e,t,r){return af("copies",()=>{let n=function(e,t,r,n,i,o,a,l,s,m,c=1<<30,h=1<<30){try{if(!Tt())throw Aa();let f=n*i,u=!1;(!(e instanceof Uint16Array||u&&t===n&&!r&&null===o)||n<1||n>16384||i<1||f>1048576||t<n||r<0||r+(i-1)*t+n>e.length||null!==o&&!(o instanceof Uint8Array&&o.length>=f)||!(m instanceof Uint8Array)||m.length>8*n+64||a<0||a>64||l<1||s<1||s>2||c<0||c>1<<30||h<1||h>1<<30)&&Tm();let d=u||!!o,p=f+1>>1,g=d?null:`${n},${i},${a},${l},${s},${c},${h},${m.length}`;return ic(M=>(y,b,w,L,O,A,I,v)=>{let F=M.memory.buffer,N=new Uint16Array(F,L,f);if(u)new Int16Array(F,A,f).set(e.subarray(0,f)),M.smooth(A,n,0,i,L,v);else{if(t===n)N.set(e.subarray(r,r+f));else for(let o=0,a=r;o<i;o++,a+=t)N.set(e.subarray(a,a+n),o*n);o&&new Uint8Array(F).set(o.subarray(0,f),v)}let x=g&&Wl()?qm.find(e=>e.key===g):null,k=v+f+19&-4;if(x){let e=new Uint16Array(F);if(e[(L>>1)+f]=0,e.set(x.values,k>>1),M.peelEqual(L,k,p))return{count:x.count,value:x.value.slice(),distance:x.distance.slice(),context:new Uint8Array(x.count)}}let E=M.copies(L,d?v:0,f,n,a,l,s,y,m.length,w,O,b,A,I,v,c,h),C={count:E,value:new Int32Array(F.slice(A,A+4*E)),distance:new Int32Array(F.slice(I,I+4*E)),context:d?new Uint8Array(F.slice(v,v+E)):new Uint8Array(E)};if(g&&Wl()){let e=new Uint16Array(2*p);e.set(N),qm.unshift({key:g,values:e,count:E,value:C.value.slice(),distance:C.distance.slice()}),qm.length=Math.min(qm.length,4)}return C},[m,Hm(832),Hm(a?262144:0),Hm(2*f+19&-4),Hm(a?4*f:0),Hm(4*f),Hm(4*f),Hm(f+20+4*p)])[0]}catch(e){Zm(e)}}(Uint16Array.from(e.pieceValue),t,0,t,r,e.pieceContext,0,4,1,rn(t)[0]);return{...e,count:n.count,pieceValue:n.value,pieceDistance:n.distance,pieceContext:n.context}})}(e,e.width,e.height):e),Lf=Object.freeze({tokens:function(e,t,r,n,i,o){let a=n?1:0,l=n?.spatial?n.sCodes.length:0,s=i+a,m=1;for(let t of e)m=Math.max(m,Math.min(262144,t.count));let[c,h]=ic(t=>(r,i,s,c,h,f,u,d,p,g,M)=>{let y=t.memory.buffer,b=new Int32Array(y),w=new Uint8Array(y),L=new Uint32Array(o),O=new Uint32Array(o),A=0;for(let o of e)for(let e=0;e<o.count;e+=m){let I=Math.min(o.count,e+m);b.set(o.pieceValue.subarray(e,I),f>>2),b.set(o.pieceDistance.subarray(e,I),u>>2),w.set(o.pieceContext.subarray(e,I),d);let v=t.ansTokens(f,u,d,I-e,r+4*o.base,i,a,n?Math.min(n.minSymbol,256):256,s,c,n?n.minSymbol:0,n?.spatial?1:0,l,h,p,g,0,M);if(v<0)return null;L.set(new Uint32Array(y,p,v),A),O.set(new Uint32Array(y,g,v),A),A+=v}return{tags:L,bits:O,n:A}},[Jm(Int32Array,t),$m(r,i),n?Qm(n.lengthConfig):Hm(16),n?Qm(n.distanceConfig):Hm(16),l?Jm(Int16Array,n.sCodes,l):Hm(0),Hm(4*m),Hm(4*m),Hm(m),Hm(8*m),Hm(8*m),Um(Uint32Array,256*s,1)]);return c&&{...c,freqs:Array.from({length:s},(e,t)=>h.subarray(256*t,256*t+256))}},write:function(e,t,{lz77:r,contextMap:n,configs:o},a){let l=e,{tags:s,bits:m,n:c,freqs:h}=a,f=0;for(let e of h)for(let t=255;t>f;t--)if(e[t]){f=t;break}let u=Math.max(5,i(f+1),...o.map(e=>e.split));if(u>8)return!1;let d=[];for(let e of h){let t=Fr(e);if(!t)return!1;d.push({...t,...Er(t.counts,u)})}return l.write(1,r?1:0),r&&(l.writeU32([[0,224],[0,512],[0,4096],[15,8]],r.minSymbol),l.writeU32([[0,3],[0,4],[2,5],[8,9]],r.minLength),x(l,r.lengthConfig,8)),Jr(l,n,u,o,d),ss(t,s,m,c,d),!0},distanceConfig:function({values:e,counts:t}){let r=null,n=1/0,i=[0,0,0];for(let o of tf){let a=new Map,l=0,s=0,m=!0;for(let r=0;r<e.length&&m;r++)k(o,e[r],i),i[0]>255&&(m=!1),a.set(i[0],(a.get(i[0])||0)+t[r]),l+=i[1]*t[r],s+=t[r];if(m){for(let e of a.values())l+=e*Math.log2(s/e);l<n&&(n=l,r=o)}}return r},lengthConfig:function(e,t){let r=null,n=1/0,i=[0,0,0];for(let o of tf){let a=0,l=!0;for(let r of e){if(!r.copies)continue;let e=new Map,{values:n,counts:s}=r.lengths;for(let r=0;r<n.length&&l;r++)k(o,n[r],i),i[0]>=t&&(l=!1),e.set(i[0],(e.get(i[0])||0)+s[r]),a+=i[1]*s[r];for(let t of e.values())a+=t*Math.log2(r.copies/t)}l&&a<n&&(n=a,r=o)}return r}}),Of=(Object.freeze({top:9,next:null,ans:Lf,signs:!0,trees:Object.freeze({model:function(e,t,r,n=null,i=void 0,o=[]){i?.leaf&&t*r<=4096&&(i={...i,least:64,charge:2,...i.small});let a=Qr(e,t,r);n||=function(e,t,r,n){let i=Wh.find(t=>t.key===n&&(t=>{if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0})(t.plane));if(i)return i.answer;let o=Pr(e,t,r);return Wh.unshift({key:n,plane:e.slice(),answer:o}),Wh.length>1&&Wh.pop(),o}(e,t,r,a);let l=a+(i?":"+JSON.stringify(i):"")+o.map(e=>"|"+Qr(e,t,r)).join(""),s=zh.get(l);if(void 0===s)zh.size>=256&&zh.delete(zh.keys().next().value),s=Yr(e,t,r,o.length?{...i,references:o}:i,n),zh.set(l,s&&{tree:s.tree,leaves:s.leaves,classes:s.classes});else if(s){let{residuals:i,properties:a}=n||Pr(e,t,r);s={...s,...Zr(s.tree,e,t,r,i,a,o)}}if(!s&&i?.leaf){let{residuals:a,properties:l}=n,m=t*r<=4096||i.whole,c=null;for(let n of i.predictors??(m?Vh:Yh)){let i=Object.assign(H(n),{local:0}),s=Zr(i,e,t,r,a,l,o),h=s.values,f=h[0],u=0,d=0;for(;d<h.length&&h[d]===f;)d++;if(d<h.length){let e=new Map;for(let t of h)e.set(t,(e.get(t)??0)+1);for(let t of e.values())u-=t*Math.log2(t/h.length)}if((!c||u<c.bits)&&(c={bits:u,tree:i,coded:s}),!m&&u<=.01*t*r)break}(m||c.bits<=.01*t*r)&&(s={tree:c.tree,leaves:[c.tree],...c.coded})}if(!s)return null;let{tree:m,leaves:c,classes:h=c.length,values:f,contexts:u}=s,d=t*r;return{kind:"smooth",tree:m,leaves:c,classes:h,width:t,height:r,stride:t,origin:0,plane:e,minimum:4,count:d,pieceValue:f,pieceDistance:qh(d),pieceContext:u}},letGo:function(e){zh.clear(),Wh.length=0,Rh=new Int32Array(0),Sh.length>e&&(Sh=Sh.slice(0,e))}}),transform:function(e,t){return{type:e,fill(r,n,i,o,a,l,s){(Ia.rct??va().rct??Fa())(n,i,o,a,l,s,e,t,r)}}},gpu:Object.freeze({pixels:1<<20})}),{samples:65536,bins:128,leaves:64,depth:12,properties:Object.freeze([15,9,10,11,12,13,14,4,5,6,7,8,2,3]),predictors:Object.freeze([5,3,6,1,2,4,13,0]),weighted:!0,references:!0,referenceKinds:[0,1,2,3],ans:!0}),Af={broad:Of,jpegBroad:{...Of,clustered:!0},fast:{...Of,samples:16384,bins:64},rich:{...Of,samples:4096,bins:32,leaves:32,depth:8},quick:{...Of,samples:2048,bins:16,leaves:16,depth:6}},If=e=>{if(e instanceof Int16Array)return e;for(let t of e)if(t<-32768||t>32767)return null;return Int16Array.from(e)},vf=[],Ff=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0},Nf=function*(e,t){return t()},xf=e=>Ba()&&e.reduce((e,t)=>e+t.w*t.h,0)>=16384,kf=function*(e,t,r,n,i,o){let a=xf(t)?V:Nf,l=t.map(e=>If(e.data)),s=Object.assign(new vo(0),yield*a("lf-plain",()=>{let e=new vo(256);return n(e),{...e,bytes:e.bytes.slice(0,e.at+1)}}));if(l.includes(null)||t.some(e=>!e.w||!e.h))return void e.append(s);let m=function(e){let t=Bf.get(e);if(!t){let r={nodes:2*e.leaves-1,samples:Math.max(e.samples,Cf),bins:e.bins,depth:e.depth,least:64,charge:Jf,properties:e.properties.filter(t=>15!==t||!1!==e.weighted),predictors:e.predictors??[5,6,1,2,3,4,0],referenceKinds:e.referenceKinds??[0,1,2,3],references:!!e.references,ans:!!e.ans},n=JSON.stringify(r);t=[...Bf.values()].find(e=>e.key===n)??Object.freeze({...r,key:n}),Bf.set(e,t)}return t}(r),c=a===Nf&&function(e,t,r,n,i){return vf.find(o=>o.options===r&&o.together===i&&o.data.length===t.length&&e.every((e,r)=>e.w===o.shapes[r][0]&&e.h===o.shapes[r][1]&&Ff(t[r],o.data[r]))&&((e,t)=>e.at===t.at&&e.pending===t.pending&&e.acc===t.acc&&Ff(e.bytes.subarray(0,e.at),t.bytes.subarray(0,t.at)))(n,o.fallback))?.chosen}(t,l,m,s,i);if(c)return void e.append(c);let h=i&&m.references&&t.every(e=>e.w===t[0].w&&e.h===t[0].h),f=e=>h?l.slice(0,e).reverse():[],u=[];for(let e=0;e<t.length;e++)u.push(a===V?yield*W("lf-tree",()=>_h(l[e],t[e].w,t[e].h,m,f(e))):tn(l[e],t[e].w,t[e].h,m,f(e)));let d=(e,r)=>a(e,()=>{let e=r(Ga(u).map((e,r)=>e?.pieceValue?e:((e,t,r,n,i=[])=>$r(e,t,r,n,i,$h(t,r)))(l[r],t[r].w,t[r].h,e,f(r))));if(!e)return null;let n=new vo(256);return sn(n,e,m.ans?Uf:null),{...n,bytes:n.bytes.slice(0,n.at+1)}}),p=Object.assign(new vo(0),yield*d("lf-stream",e=>e)),g=yield*d("lf-runs",wf),M=g&&Object.assign(new vo(0),g),y=M&&M.bitLength<p.bitLength?M:p,b=y.bitLength<s.bitLength?y:s;a===Nf&&function(e,t,r,n,i,o){vf.unshift({options:r,together:i,shapes:e.map(e=>[e.w,e.h]),data:t.map(e=>e.slice()),fallback:n,chosen:o}),vf.length>32&&vf.pop()}(t,l,m,s,i,b),e.append(b)},Ef=(t,r,n,i,o,a)=>e(kf(t,r,n,i,o)),Cf=8192,Jf=8,Uf=Lf,Bf=new Map,Hf=new Map,Kf=[[0,0,0]],Tf=Object.freeze({ans:!0,hybrid:!0,sharing:Object.freeze([])}),Gf=Object.freeze({...Tf,projected:!0}),Df=Object.freeze({dc:(t,r,n,i,o)=>e(hn(t,r,n,0,o)),dcSteps:hn,metadata:(e,t,r)=>r(e),plainMetadata:!0}),Pf=Object.freeze({dc:(t,r,n,i)=>e(fn(t,r,n)),dcSteps:fn,metadata:(e,t,r)=>r(e),plainMetadata:!0}),Sf=2*Math.log2(17/16),jf=4096/(65536*Math.LN2*15/16),Xf=cn("quick"),_f=[],Rf=Object.freeze({*dcSteps(e,t,r,n){let i=!xf(t),o=i&&(e=>{let t=2166136261;for(let{w:r,h:n,data:i}of e){t=Math.imul(t^r,16777619),t=Math.imul(t^n,16777619);for(let e=0;e<i.length;e++)t=Math.imul(t^i[e],16777619)}return t>>>0})(t),a=i&&_f.find(e=>e.hash===o&&e.kernels===n&&((e,t)=>e.length===t.length&&e.every((e,r)=>{let n=t[r];if(e.w!==n.w||e.h!==n.h||e.data.constructor!==n.data.constructor||e.data.length!==n.data.length)return!1;for(let t=0;t<e.data.length;t++)if(e.data[t]!==n.data[t])return!1;return!0}))(e.planes,t));if(a)return void e.append(a.bits);let l=new vo(256),s=new vo(256);yield*mn(t,Xf.dcSteps(l,t,r,n)),yield*mn(t,hn(s,t,r));let m=l.bitLength<=s.bitLength?l:s;if(e.append(m),!i)return;let c=t.map(({w:e,h:t,data:r})=>({w:e,h:t,data:r.slice()}));_f.push({hash:o,kernels:n,planes:c,bits:m,bytes:c.reduce((e,t)=>e+t.data.byteLength,0)});for(let e=_f.reduce((e,t)=>e+t.bytes,0);e>8388608;)e-=_f.shift().bytes},dc:(t,r,n,i)=>e(Rf.dcSteps(t,r,n,i)),metadata:Xf.metadata,metadataSteps:Xf.metadataSteps}),qf=(e,t)=>e[t+"Steps"]??function*(r,n,i,o){e[t](r,n,i,o)},zf=(t,r)=>Object.freeze(Object.fromEntries(["dc","metadata"].flatMap(n=>{let i=(e,i,o,a)=>function*(e,t,r,n,i,o,a){let l=new vo(256),s=new vo(256),m=(e=>{let t=null;return r=>{t||(t=new vo(256),e(t)),r.append(t)}})(o);yield*mn(i,qf(e,r)(l,i,m,a)),yield*mn(i,qf(t,r)(s,i,m,a)),n.append(l.bitLength<=s.bitLength?l:s)}(t,r,n,e,i,o,a);return[[n,(...t)=>e(i(...t))],[n+"Steps",i]]}))),Vf=zf(cn("rich"),Rf),Yf=(zf(cn("jpegBroad"),Vf),zf(cn("fast"),Vf)),Wf=zf(zf(cn("jpegBroad"),cn("broad")),Yf),Zf=zf(cn("jpegBroad"),Yf),Qf=e=>1&e?-(e+1)/2:e/2,$f=Int32Array.from({length:4096},(e,t)=>((e,t)=>2*(Am[e]+Om[t])+0)(t>>6,63&t)),eu=e=>e.read(1)?(t=>(1<<t)+e.read(t))(e.read(3)):0,tu=10,ru=1073741824,nu=e=>({table:Int32Array.of(e<<5),bits:0}),iu=(e,t,r)=>{let n=e[t&(1<<Math.min(r,tu))-1];return n>=ru?e[n-ru+(t>>>tu&(1<<r-tu)-1)]:n},ou=e=>e>=97&&e<=122||e>=65&&e<=90?0:e>=48&&e<=57||46===e||44===e?1:0===e?2:1===e?3:e<16?4:255===e?6:e>240?5:7,au=e=>e>=97&&e<=122||e>=65&&e<=90?0:e>=48&&e<=57||46===e||44===e?1:e<16?2:e>240?3:4,lu=Int32Array.from({length:64},(e,t)=>Math.floor(16777216/(t+1))),su=(e,t)=>{let r=Math.max(0,26-Math.clz32(e+1));return 4+(t*lu[e>>r]>>r)},mu=(e,t,r)=>Math.max(Math.min(e,t),Math.min(Math.max(e,t),e+t-r)),cu=new Uint8Array([0,0,0,12,74,88,76,32,13,10,135,10]),hu=1718909296,fu=1786276896,uu=1786276963,du=1786276976,pu=1651666786,gu=1784836708,Mu=1786276972,yu=e=>yo("JXL_INPUT",e),bu=65536,wu=()=>({at:cu.length,first:!0,next:0,complete:!1,stream:0,minorVersion:0,level:5,lastIndex:-1,count:0,levelSeen:!1,indexBoxes:0,gainBoxes:0,prefixes:new Map}),Lu=[["",0,""],["",0," "],[" ",0," "],["",3,""],["",1," "],["",0," the "],[" ",0,""],["s ",0," "],["",0," of "],["",1,""],["",0," and "],["",4,""],["",12,""],[", ",0," "],["",0,", "],[" ",1," "],["",0," in "],["",0," to "],["e ",0," "],["",0,'"'],["",0,"."],["",0,'">'],["",0,"\n"],["",14,""],["",0,"]"],["",0," for "],["",5,""],["",13,""],["",0," a "],["",0," that "],[" ",1,""],["",0,". "],[".",0,""],[" ",0,", "],["",6,""],["",0," with "],["",0,"'"],["",0," from "],["",0," by "],["",7,""],["",8,""],[" the ",0,""],["",15,""],["",0,". The "],["",2,""],["",0," on "],["",0," as "],["",0," is "],["",18,""],["",12,"ing "],["",0,"\n\t"],["",0,":"],[" ",0,". "],["",0,"ed "],["",11,""],["",9,""],["",17,""],["",0,"("],["",1,", "],["",19,""],["",0," at "],["",0,"ly "],[" the ",0," of "],["",16,""],["",20,""],[" ",1,", "],["",1,'"'],[".",0,"("],["",2," "],["",1,'">'],["",0,'="'],[" ",0,"."],[".com/",0,""],[" the ",0," of the "],["",1,"'"],["",0,". This "],["",0,","],[".",0," "],["",1,"("],["",1,"."],["",0," not "],[" ",0,'="'],["",0,"er "],[" ",2," "],["",0,"al "],[" ",2,""],["",0,"='"],["",2,'"'],["",1,". "],[" ",0,"("],["",0,"ful "],[" ",1,". "],["",0,"ive "],["",0,"less "],["",2,"'"],["",0,"est "],[" ",1,"."],["",2,'">'],[" ",0,"='"],["",1,","],["",0,"ize "],["",2,"."],[" ",0,""],[" ",0,","],["",1,'="'],["",2,'="'],["",0,"ous "],["",2,", "],["",1,"='"],[" ",1,","],[" ",2,'="'],[" ",2,", "],["",2,","],["",2,"("],["",2,". "],[" ",2,"."],["",2,"='"],[" ",2,". "],[" ",1,'="'],[" ",2,"='"],[" ",1,"='"]],Ou=[0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,12,14,24],Au=[0,0,0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,24],Iu=[0,0,0,0,8,8,0,16,8,16,16],vu=[0,8,0,8,0,8,16,0,16,8,16],Fu=(e,t)=>e.map(e=>{let r=t;return t+=1<<e,r}),Nu=Fu(Ou,0),xu=Fu(Au,2),ku=[2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,7,8,9,10,11,12,13,24],Eu=Fu(ku,1),Cu=[0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5],Ju=Cu.reduce((e,t,r)=>[...e,e[r]+(r<4?0:r<<t)],[0]),Uu=Uint8Array.from([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0]),Bu=Uint8Array.from({length:256},(e,t)=>t<33||t>=127&&t<224?0:t>=224||t>=48&&t<=57||t>=65&&t<=90?2:t>=97&&t<=122?3:1),Hu=Uint8Array.from({length:256},(e,t)=>t?t<16?1:t<64?2:t<128?3:t<192?4:t<240?5:t<255?6:7:0),Ku=e=>yo("JXL_INPUT","Portable Brotli: "+e),Tu=(e,t="invalid compressed data.")=>{if(!e)throw Ku(t)},Gu=()=>yo("JXL_SIZE","The Brotli result exceeds maxOutputLength."),Du=[128,192,384,256,320,512,448,576,640],Pu=(e,t,r)=>e.write(t.lengths[r],t.codes[r]),Su=(e,t,r)=>{if(ArrayBuffer.isView(e))return e;let n=new Uint8Array(e.length);return n.set(e.subarray(t,Math.min(e.length,r+8)),t),n},ju=function*(e,t){return t()},Xu=class{constructor(e,t=0){this.bytes=e,this.pos=t,this.start=0,this.part=null}byte(e){return(!this.part||e<this.start||e>=this.start+this.part.length)&&(this.start=e,this.part=this.bytes.subarray(e,Math.min(this.bytes.length,e+65536))),this.part[e-this.start]}read(e){Tu(this.pos+e<=8*this.bytes.length,"the compressed stream is truncated.");let t=0,r=0;for(;e;){let n=Math.min(e,8-(7&this.pos));t+=(this.byte(this.pos>>3)>>(7&this.pos)&(1<<n)-1)*(1<<r),this.pos+=n,e-=n,r+=n}return t}pad(){Tu(0===this.read((8-this.pos%8)%8),"padding bits must be zero.")}get bit(){return this.pos}skip(e){Tu(this.pos+e<=8*this.bytes.length,"the compressed stream is truncated."),this.pos+=e}align(){this.pad()}end(){this.align(),Tu(this.pos===8*this.bytes.length,"bytes follow the final meta-block.")}},_u=function(e,t,r,n,i,o){function a(t){let r={count:g(t),current:0,previous:1,remaining:1/0};return r.count>1&&(r.types=e(t,r.count+2),r.lengths=e(t,26),r.remaining=M(t,r.lengths)),r}function l(e,n){if(!n.remaining){let i=t(e,n.types),o=0===i?n.previous:1===i?(n.current+1)%n.count:i-2;r(o<n.count,"Invalid Brotli block type.",e),n.previous=n.current,n.current=o,n.remaining=M(e,n.lengths)}return n.remaining--,n.current}function s(n,i){let o=g(n),a=new Uint8Array(i);if(1===o)return{count:o,map:a};let l=n.read(1)?n.read(4)+1:0,s=e(n,o+l);for(let e=0;e<i;){let m=t(n,s);if(m>0&&m<=l){let t=(1<<m)+n.read(m);r(t<=i-e,"Brotli context run exceeds its map.",n),e+=t}else r(m-l<o,"Invalid Brotli context map.",n),a[e++]=m?m-l:0}if(n.read(1)){let e=Uint8Array.from({length:256},(e,t)=>t);for(let t=0;t<i;t++){let r=a[t],n=e[r];e.copyWithin(1,0,r),e[0]=n,a[t]=n}}return{count:o,map:a}}function m(e,t,r,n,i){if(t<4)return i[t];if(t<16){let e=t<10?t-4:t-10;return i[t<10?0:1]+(1&e?1:-1)*((e>>>1)+1)}if(t<16+n)return t-15;let o=t-16-n,a=o>>>r,l=o&(1<<r)-1,s=1+(a>>>1);return((2+(1&a))*(1<<s)-4+e.read(s))*(1<<r)+l+n+1}function c(e,t,n,i,o,a){r(n<=2147483644&&e>=4&&e<=24,"Invalid Brotli dictionary word length.",i);let l=1<<Cu[e],s=Lu[Math.floor(t/l)];r(s,"Invalid Brotli dictionary transformation.",i);let[m,c,h]=s,f=c>=3&&c<=11?Math.min(e,c-2):0,u=c>=12?Math.max(0,e-(c-11)):e,d=Math.max(0,u-f),p=m.length+d+h.length;r(p<=a&&!(0===p&&n<=120),"Brotli dictionary word exceeds its meta-block.",i);let g=o(),M=new Uint8Array(p),y=0;for(let e=0;e<m.length;e++)M[y++]=m.charCodeAt(e);let b=y,w=Ju[e]+t%l*e+f;if(d&&M.set(g.subarray(w,w+d),y),y+=d,1===c||2===c)for(let e=b;e<y;){let t=M[e],r=t<192?1:t<224?2:3;if(1===r?t>=97&&t<=122&&(M[e]^=32):e+r<=y&&(M[e+r-1]^=2===r?32:5),1===c)break;e+=r}for(let e=0;e<h.length;e++)M[y++]=h.charCodeAt(e);return M}function h(e){let t=i(e),n=16;if(t.read(1)){let e=t.read(3);if(e)n=e+17;else{let e=t.read(3);r(1!==e,"Invalid Brotli window size.",t),n=e?e+8:17}}return{window:(1<<n)-16,history:[4,11,15,16],at:0,last:!1,blocks:0,bit:t.bit}}function f(e,t,o){let l={...t},m=i(e,l.bit);if(++l.blocks>o.maxBlocks&&n(!0),l.last=!!m.read(1),l.last&&m.read(1))return l.bit=m.bit,{state:l,kind:"end"};let c=m.read(2)+4;if(7===c){r(!m.read(1),"Invalid Brotli metadata reserved bit.",m);let e=m.read(2),t=m.read(8*e);return r(e<=1||t>=1<<8*(e-1),"Noncanonical Brotli metadata length.",m),m.align(),m.skip(8*(e?t+1:0)),l.bit=m.bit,{state:l,kind:"skip"}}let h=m.read(4*c)+1,f=l.at+h;if(r(4===c||h>1<<4*(c-1),"Noncanonical Brotli meta-block length.",m),f>o.maxOutput&&n(!1),!l.last&&m.read(1)){m.align();let e=m.bit/8;return m.skip(8*h),l.bit=m.bit,{state:l,kind:"stored",end:f,body:e}}let u=a(m),d=a(m),p=a(m),g=m.read(2),M=m.read(4)<<g,y=Uint8Array.from({length:u.count},()=>m.read(2)),b=s(m,64*u.count),w=s(m,4*p.count);return l.bit=m.bit,{state:l,kind:"compressed",end:f,literalBlocks:u,commandBlocks:d,distanceBlocks:p,postfix:g,direct:M,modes:y,literals:b,distances:w}}function u(e,n,o,a,s,h,f=4096){let u={...a,history:[...a.history],run:a.run&&{...a.run}},d=u.at,p=Math.min(65536,n.end-d),g=new Uint8Array(p);if("stored"===n.kind){let t=n.body+d-n.state.at;return u.at+=p,g.set(e.subarray(t,t+p)),{bytes:g,state:u}}let M=e=>e<d?s(e):g[e-d],y=i(e,u.bit),b={...n.literalBlocks,...u.literal},L={...n.commandBlocks,...u.command},O={...n.distanceBlocks,...u.distance},[A,I,v]=o.trees,F=0;for(;u.at<n.end&&F<f;){if(!u.run){let e=u.at,i=y.bit,o=t(y,I[l(y,L)]),a=o>>>6,s=Iu[a]+(o>>>3&7),m=vu[a]+(7&o),c=Nu[s]+y.read(Ou[s]),h=xu[m]+y.read(Au[m]);r(c<=n.end-u.at,"Brotli literals exceed their meta-block.",y),u.run={phase:"insert",left:c,copy:h,value:o,started:e,bit:i},F++}let e=u.run;if("insert"===e.phase){let r=Math.min(e.left,g.length-(u.at-d));for(let e=0;e<r;e++){let e=l(y,b),r=jn(n.modes[e],u.at?M(u.at-1):0,u.at>1?M(u.at-2):0);g[u.at++-d]=t(y,A[n.literals.map[64*e+r]])}if(e.left-=r,e.left)break;if(u.at===n.end){u.run=null;break}e.phase="distance"}if("distance"===e.phase){let i=e.value<128?0:t(y,v[n.distances.map[4*l(y,O)+Math.min(3,e.copy-2)]]),o=m(y,i,n.postfix,n.direct,u.history),a=Math.min(u.at,u.window);r(o>0,"Invalid Brotli backward distance.",y),o>a?(e.word=c(e.copy,o-a-1,o,y,h,n.end-u.at),e.index=0,e.left=e.word.length):(r(e.copy<=n.end-u.at,"Brotli copy exceeds its meta-block.",y),i&&(u.history.pop(),u.history.unshift(o)),e.distance=o,e.left=e.copy),e.phase="copy"}let i=Math.min(e.left,g.length-(u.at-d));if(e.word)g.set(e.word.subarray(e.index,e.index+i),u.at-d),e.index+=i,u.at+=i;else if(1===e.distance)g.fill(M(u.at-1),u.at-d,u.at-d+i),u.at+=i;else for(let t=0;t<i;t++)g[u.at-d]=M(u.at-e.distance),u.at++;if(e.left-=i,e.left)break;r(u.at>e.started||y.bit>e.bit,"Brotli command does not advance.",y),u.run=null}return u.bit=y.bit,u.literal=w(b),u.command=w(L),u.distance=w(O),{bytes:g.length===u.at-d?g:g.subarray(0,u.at-d),state:u}}function d(e){let{literal:t,command:r,distance:n,run:i,...o}=e;return o}function p(e,t){i(e,t.bit).end()}let g=e=>{return e.read(1)?(1<<(t=e.read(3)))+e.read(t)+1:1;var t},M=(e,r)=>{let n=t(e,r);return Eu[n]+e.read(ku[n])},y=e=>[[e.literals.count,256],[e.commandBlocks.count,704],[e.distances.count,16+e.direct+(48<<e.postfix)]],b=(t,r,n)=>Array.from({length:r},()=>e(t,n)),w=e=>({current:e.current,previous:e.previous,remaining:e.remaining});return{read:function(e,t){let r,n=o(e,t),a=h(e),l=[],s=e=>{if(!r||e<r.from||e>=r.at){let t=0,n=l.length;for(;t<n;){let r=t+n>>>1;l[r].at<=e?t=r+1:n=r}r=l[t]}return r.bytes[e-r.from]};for(;!a.last;){let t=f(e,a,n);if(a=t.state,"end"===t.kind||"skip"===t.kind)continue;let r=null;if("compressed"===t.kind){let n=i(e,a.bit);r={trees:y(t).map(([e,t])=>b(n,e,t)),bit:n.bit},a.bit=n.bit}for(;a.at<t.end;){let i=a.at,o=u(e,t,r,a,s,n.dictionary,1/0);a=o.state,l.push({bytes:o.bytes,from:i,at:a.at})}a=d(a)}if(p(e,a),1===l.length)return l[0].bytes;let m=new Uint8Array(a.at);for(let e of l)m.set(e.bytes,e.from);return m},owner:{limits:o,start:h,header:f,groups:y,reader:i,trees:b,part:u,metaEnd:d,end:p,require:r}}}(function(e,t){let r=e.read(2),n=new Uint8Array(t);if(1===r){let r=e.read(2)+1,o=Array.from({length:r},()=>e.read(i(t)));if(Tu(new Set(o).size===r&&o.every(e=>e<t),"invalid simple prefix tree."),1===r)return{only:o[0],maximum:0,levels:[]};let a=2===r?[1,1]:3===r?[1,2,2]:e.read(1)?[1,2,3,3]:[2,2,2,2];for(let e=0;e<r;e++)n[o[e]]=a[e]}else{let i=[1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15],o=new Uint8Array(18),a=oi([2,4,3,2,2,4],[0,7,3,2,1,15]),l=32,s=0;for(let t=r;t<i.length&&l>0;t++){let r=ai(a,e);o[i[t]]=r,r&&(l-=32>>r,s++)}Tu(0===l||1===s,"invalid code-length prefix tree.");let m=oi(o),c=0,h=8,f=-1,u=0;for(l=32768;c<t&&l>0;){let r=ai(m,e);if(r<16)n[c++]=r,r&&(h=r,l-=32768>>r),f=-1,u=0;else{let i=16===r?h:0,o=16===r?2:3;i!==f&&(u=0);let a=u;u=(u?(u-2)*(1<<o):0)+e.read(o)+3;let s=u-a;Tu(s>0&&c+s<=t,"prefix repeat exceeds the alphabet."),n.fill(i,c,c+s),c+=s,f=i,i&&(l-=s*(32768>>i))}Tu(l>=0,"oversubscribed prefix tree.")}Tu(0===l,"incomplete prefix tree.")}return oi(n)},(e,t)=>ai(t,e),Tu,e=>{throw e?yo("JXL_SIZE","The Brotli stream exceeds maxBlocks."):Gu()},(e,t=0)=>new Xu(e,t),function(e,t={}){let r,n=Xn(e,t),i=t.maxBlocks??Number.MAX_SAFE_INTEGER,{dictionary:o}=t;return Tu(Number.isSafeInteger(i)&&i>0,"maxBlocks is a positive safe integer."),{maxOutput:n,maxBlocks:i,dictionary(){if(r)return r;if(r="function"==typeof o?o():o,!r)throw Object.assign(Ku("static dictionary references require a full decoder or the dictionary."),{dictionary:!0});return Tu(r instanceof Uint8Array&&122784===r.length,"Invalid Brotli dictionary bytes."),r}}}),Ru=[[0,1],[0,2],[0,3],[0,4]],qu=[[0,0],[0,1],[3,2],[8,0]],zu=[[2,0],[2,4],[4,8],[8,1]],Vu=[[0,0],[2,1],[4,4],[16,20]],Yu=[[0,0],[3,1],[5,9],[28,41]],Wu=[[0,4],[3,2],[4,10],[6,26]],Zu=[[0,0],[8,1],[16,257],[22,65793]],Qu=4194304,$u=(e,t)=>e.length===t.length&&e.every((e,r)=>e===t[r]),ed=({index:e,resets:t,zeros:r,...n},i,o)=>({...n,resets:i,zeros:o}),td=(e,t)=>e.comments.reduce((e,t)=>e+t.length,e.inter.reduce((e,t)=>e+t.length,t)),rd=(e,t)=>e.filter((r,n)=>r>0&&r<t&&(0===n||r>e[n-1])),nd=function(e){function t(t,n=268435456,i=ne(t)){e(t instanceof Uint8Array&&t.length>=2,"Invalid JPEG XL ICC bytes.");let o=new Xa(t,e,0,t.length,i),a=o.integer(),l=o.integer();((e,t)=>{Ze(Number.isSafeInteger(e)&&e>=0&&e<=t)})(a,n),e(l<=t.length-o.at,"Invalid JPEG XL ICC command size.");let s={size:a,at:0,commandAt:o.at,commandEnd:o.at+l,dataAt:o.at+l,phase:"count",done:!1},m=new Xa(t,e,s.dataAt,t.length,i),c=new Uint8Array(Math.min(a,128)),h=new Uint8Array(128);for(h[0]=a>>>24,h[1]=a>>>16,h[2]=a>>>8,h[3]=a,h[8]=4,h.set(Uint8Array.from("mntrRGB XYZ ",e=>e.charCodeAt(0)),12),h.set(Uint8Array.from("acsp",e=>e.charCodeAt(0)),36),h.set([0,0,246,214,0,1,0,0,0,0,211,45],68);s.at<c.length;s.at++){let e=s.at;8===e&&h.set(c.subarray(4,8),80),41===e&&(65===c[40]||77===c[40])&&h.set(65===c[40]?[80,80,76]:[83,70,84],41),42===e&&83===c[40]&&(71===c[41]||85===c[41])&&h.set(71===c[41]?[73,32]:[78,87],42),c[e]=m.byte()+h[e]}return s.dataAt=m.at,a<=128&&r(s,t.length),{bytes:c,state:s}}function r(t,r){e(t.at===t.size&&t.commandAt===t.commandEnd&&t.dataAt===r,"JPEG XL ICC stream has trailing or missing bytes."),t.done=!0}function n(t,n,i,o=ne(t)){let a={...n,run:n.run&&{...n.run}},l=a.at,s=new Uint8Array(Math.min(65536,a.size-l)),m=e=>e<l?i(e):s[e-l],c=new Xa(t,e,a.commandAt,a.commandEnd,o),h=new Xa(t,e,a.dataAt,t.length,o),f=(e,t)=>{a.pending=Uint8Array.from(e),a.pendingAt=0,a.next=t,a.phase="pending"},u=()=>{let t=[],r=r=>{e(r.length<=a.size-a.at-t.length,"JPEG XL ICC command exceeds output size."),t.push(...r)};return{values:t,append:r,text:e=>r(Array.from(e,e=>e.charCodeAt(0))),word:t=>{e(Number.isInteger(t)&&t>=0&&t<=4294967295,"JPEG XL ICC field exceeds 32 bits."),r([t>>>24,t>>>16,t>>>8,t])}}},d=0;for(;!a.done&&d<4096;)if("pending"===a.phase){let e=Math.min(a.pending.length-a.pendingAt,s.length-(a.at-l));if(s.set(a.pending.subarray(a.pendingAt,a.pendingAt+e),a.at-l),a.at+=e,a.pendingAt+=e,a.pendingAt<a.pending.length)break;a.pending=null,a.phase=a.next}else if("run"===a.phase){let e=a.run,t=Math.min(e.length-e.i,s.length-(a.at-l));for(let r=0;r<t;r++,e.i++){if(e.predict&&e.i%e.width===0){let t=[];for(let r=1;r<=e.order+1;r++){let n=0;for(let t=0;t<e.width;t++)n=256*n+m(a.at-e.stride*r+t);t.push(n)}e.predicted=(0===e.order?t[0]:1===e.order?2*t[0]-t[1]:3*(t[0]-t[1])+t[2])>>>0}let t=e.predict?e.predicted>>>8*(e.width-1-e.i%e.width):0;s[a.at++-l]=o(e.source+e.shuffled)+t,e.shuffled+=e.height,e.shuffled>=e.length&&(e.shuffled=++e.column)}if(e.i<e.length)break;a.run=null,a.phase="commands"}else if("count"===a.phase){d++;let e=c.integer();if(!e){a.phase="commands";continue}let t=u();t.word(e-1),a.previousStart=128+12*(e-1),a.previousSize=0,f(t.values,"tags")}else{if(c.at===c.end){a.commandAt=c.at,a.dataAt=h.at,r(a,t.length);break}let n=c.byte();if(d++,"tags"===a.phase){let t=63&n;if(!t){a.phase="commands";continue}e(t<=20,"Invalid JPEG XL ICC tag command.");let r=1===t?String.fromCharCode(...h.take(4)):Pa[t-2],i=64&n?c.integer():a.previousStart+a.previousSize,o=128&n?c.integer():ja.has(r)?20:a.previousSize,l=u();l.text(r),l.word(i),l.word(o),2===t&&(l.text("gTRC"),l.word(i),l.word(o),l.text("bTRC"),l.word(i),l.word(o)),3===t&&(l.text("gXYZ"),l.word(i+o),l.word(o),l.text("bXYZ"),l.word(i+2*o),l.word(o)),a.previousStart=i,a.previousSize=o,f(l.values,"tags")}else if(n>=1&&n<=4){let r=2===n?2:3===n?4:1,i=0,o=0;if(4===n){let t=c.byte();r=1+(3&t),i=t>>>2&3,e(3!==r&&3!==i,"Invalid JPEG XL ICC predictor."),o=16&t?c.integer():r,e(o>=r&&a.at&&a.at-1>>>2>=o&&c.at<c.end,"Invalid JPEG XL ICC prediction stride.")}let l=c.integer();4===n&&e(l<=a.size-a.at,"JPEG XL ICC predictor exceeds output size."),e(l>=0&&l<=t.length-h.at,"Truncated JPEG XL ICC payload."),4!==n&&e(l<=a.size-a.at,"JPEG XL ICC command exceeds output size."),a.run={source:h.at,length:l,width:r,order:i,stride:o,predict:4===n,i:0,shuffled:0,column:0,height:Math.ceil(l/r)},h.at+=l,a.phase="run"}else{let t=u();10===n?(t.text("XYZ "),t.word(0),t.append(h.take(12))):n>=16&&n<24?(t.text(Sa[n-16]),t.word(0)):e(!1,"Invalid JPEG XL ICC command."),f(t.values,"commands")}}return a.commandAt=c.at,a.dataAt=h.at,{bytes:s.subarray(0,a.at-l),state:a}}return{decode:function(e,r=268435456){let i=ne(e),o=t(e,r,i),a=new Uint8Array(o.state.size);a.set(o.bytes);let l=e=>a[e],s=o.state;for(;!s.done;){let t=s.at,r=n(e,s,l,i);s=r.state,a.set(r.bytes,t)}return a},owner:{start:t,part:n,require:e}}}(Ze),id=Uint8Array.of(69,120,105,102,0,0),od=Uint8Array.of(73,67,67,95,80,82,79,70,73,76,69,0),ad=Uint8Array.from("http://ns.adobe.com/xap/1.0/\0",e=>e.charCodeAt(0)),ld=4260096,sd=1785227117,md="urn:iso:std:iso:ts:21496:-1\0",cd=1970628964,hd=Uint8Array.of(172,2,154,59,24,136,74,109,155,44,247,145,18,117,187,27),fd=(e,t)=>{let r=(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0;return r>=16&&r%4==0},ud=1<<20,dd=class{constructor(e=null,t=1/0){this.limit=t,this.parts=Ba()&&!e?[]:null,this.expected=e,this.same=!0,this.chunks=[],this.done=0,this.bytes=new Uint8Array(e?Math.min(ud,e.length+16):4096),this.at=0,this.acc=0,this.pending=0}spill(e){let t=this.bytes.subarray(0,this.at),r=this.done+this.at;if(a(r+e),Ze(r+e<=this.limit),this.expected){let n=this.expected,i=this.same?n.subarray(this.done,this.done+t.length):null;if(i)for(let e=0;e<t.length;e++)if(t[e]!==i[e]){this.same=!1;break}r+e>n.length+16&&(this.same=!1)}else this.chunks.push(t);this.done=r,this.at=0,(e>this.bytes.length||!this.expected)&&(this.bytes=new Uint8Array(Math.max(e,Math.min(this.expected?this.bytes.length:Math.min(ud,Math.max(4096,r)),this.limit-r))))}reserve(e){this.at+e>this.bytes.length&&this.spill(e)}byte(e){this.at>=this.bytes.length&&this.spill(1),this.bytes[this.at++]=e}chunk(e){e instanceof Uint8Array||(e=Uint8Array.from(e));for(let t=0;t<e.length;){this.at===this.bytes.length&&this.spill(1);let r=Math.min(e.length-t,this.bytes.length-this.at);this.bytes.set(e.subarray(t,t+r),this.at),this.at+=r,t+=r}}marker(e){Ze(!this.pending),this.byte(255),this.byte(e)}segment(e,t){Ze(t.length<=65533),this.marker(e),this.byte(t.length+2>>8),this.byte(t.length+2&255),this.chunk(t)}bits(e,t){Ze(e>=0&&e<=16&&t>=0&&t<1<<e),this.put(e,t)}put(e,t){let r=this.acc<<e|t,n=this.pending+e;if(n>=8){this.at+6>this.bytes.length&&this.reserve(6);let e=this.bytes;do{n-=8;let t=r>>>n&255;e[this.at++]=t,255===t&&(e[this.at++]=0)}while(n>=8);r&=(1<<n)-1}this.acc=r,this.pending=n}align(e){let t=7&-this.pending;if(!t)return;if(!e)return void this.bits(t,(1<<t)-1);let r=0;(!e.window||e.at<e.start||e.at+t>e.start+e.window.length)&&(e.start=e.at,e.window=e.bits.subarray(e.at,Math.min(e.bits.length,e.at+65536)));for(let n=0;n<t;n++){let t=e.window[e.at-e.start];Ze(e.at<e.bits.length&&t<=1),r=2*r+t,e.at++}this.bits(t,r)}take(){this.spill(0);let e=li(this.chunks);return this.chunks=[],e}finish(){if(Ze(!this.pending),this.spill(0),this.expected)return this.same&&this.done===this.expected.length;let e=this.chunks,t=new Uint8Array(this.done);for(let r=0,n=0;r<e.length;n+=e[r].length,e[r++]=null)t.set(e[r],n);return this.chunks=[],t}},pd=e=>e?32-Math.clz32(e<0?-e:e):0,gd=new Int32Array(257),Md=Int32Array.from(Va),yd=class{constructor(e,t,r){this.out=e,this.ss=t.ss,this.se=t.se,this.al=t.al,this.ah=t.ah,this.zeros=r,this.blockIndex=0,this.eob=0,this.eobTable=gd,this.pending=new Uint8Array(1024),this.pendingBits=0,this.corrections=new Uint8Array(64),this.band=Ld(t.ss,t.se)}emit(e){Ze(e),this.out.put(e>>>16,65535&e)}extra(){return this.zeros&&this.zeros.get(this.blockIndex)||0}hold(e){if(this.pendingBits+e>this.pending.length){let t=new Uint8Array(Math.max(2*this.pending.length,this.pendingBits+e));t.set(this.pending.subarray(0,this.pendingBits)),this.pending=t}this.pending.set(this.corrections.subarray(0,e),this.pendingBits),this.pendingBits+=e}flush(){let e=this.out;if(this.eob){let t=pd(this.eob)-1,r=this.eobTable[t<<4];Ze(r),Ui(e,r,t,this.eob-(1<<t)),this.eob=0}for(let t=0;t<this.pendingBits;t++)e.put(1,this.pending[t]);this.pendingBits=0}endBand(e,t){this.eobTable=e,this.eob++,t&&this.hold(t),32767===this.eob&&this.flush()}sequential(e,t,r){r[e.index]=function(e,t,r,n,i,o,a){let l=t[r],s=l-o,m=pd(s),c=n[m];Ze(m<=11&&c),Ui(e,c,m,s<0?s+(1<<m)-1:s);let h=0;for(let n=1;n<64;n++){let o=t[r+Md[n]];if(o){for(;h>=16;h-=16)c=i[240],Ze(c),e.put(c>>>16,65535&c);m=pd(o),c=i[h<<4|m],Ze(m<=10&&c),Ui(e,c,m,o<0?o+(1<<m)-1:o),h=0}else h++}if(a){Ze(h>=16*a),h-=16*a;for(let t=0;t<a;t++)c=i[240],Ze(c),e.put(c>>>16,65535&c)}return h&&(c=i[0],Ze(c),e.put(c>>>16,65535&c)),l}(this.out,e.co,t,e.dc,e.ac,r[e.index],this.extra()),this.blockIndex++}progressive(e,t,r){let n=e.co,i=e.ac,o=this.out,{ss:a,se:l,al:s,ah:m}=this;if(!a){if(m)o.put(1,n[t]>>s&1);else{let i=n[t]>>s,a=i-r[e.index],l=pd(a),m=e.dc[l];Ze(l<=11&&m),Ui(o,m,l,a<0?a+(1<<l)-1:a),r[e.index]=i}return void this.blockIndex++}let c=e.nonzero,h=this.band,f=c[t>>5]&h[0],u=c[1+(t>>5)]&h[1];if(m){Ze(m===s+1);let e=this.corrections,r=a-1,c=0,h=0,d=a-1;for(let e=f,i=u;e||i;){let o;if(e){let t=e&-e;o=31-Math.clz32(t),e^=t}else{let e=i&-i;o=63-Math.clz32(e),i^=e}let a=n[t+Md[o]];(a<0?-a:a)>>s===1&&(r=o)}for(let a=f,l=u;a||l;){let m;if(a){let e=a&-a;m=31-Math.clz32(e),a^=e}else{let e=l&-l;m=63-Math.clz32(e),l^=e}let f=n[t+Md[m]],u=(f<0?-f:f)>>s;if(u){for(c+=m-d-1,d=m;c>=16&&m<=r;){this.flush(),this.emit(i[240]),c-=16;for(let t=0;t<h;t++)o.put(1,e[t]);h=0}if(u>1)e[h++]=1&u;else{this.flush(),this.emit(i[c<<4|1]),o.put(1,f>0?1:0);for(let t=0;t<h;t++)o.put(1,e[t]);h=0,c=0}}}c+=l-d,(c||h)&&this.endBand(i,h)}else{let e=a-1;for(let r=f,a=u;r||a;){let l;if(r){let e=r&-r;l=31-Math.clz32(e),r^=e}else{let e=a&-a;l=63-Math.clz32(e),a^=e}let m=n[t+Md[l]],c=m<0?-(-m>>s):m>>s;if(!c)continue;let h=l-e-1;for((this.eob||this.pendingBits)&&this.flush();h>=16;h-=16)this.emit(i[240]);let f=pd(c),u=i[h<<4|f];Ze(f<=10&&u),Ui(o,u,f,c<0?c+(1<<f)-1:c),e=l}let r=l-e,m=this.extra();if(m){this.flush(),Ze(r>=16*m);for(let e=0;e<m;e++)this.emit(i[240]);r-=16*m}r&&this.endBand(i,0)}this.blockIndex++}},bd=new Int32Array(64);for(let e=0;e<64;e++)bd[Md[e]]=e;var wd=e=>e>=31?-1:e<0?0:(1<<e+1)-1,Ld=(e,t)=>[wd(Math.min(t,31))&~wd(e-1),wd(t-32)&~wd(e-33)],Od="Cloudflare-Workers"===globalThis.navigator?.userAgent||"string"==typeof globalThis.EdgeRuntime,Ad=1<<21,Id=(e,t,r=!1)=>{let n=[t];return r&&t.jpeg&&t.headerAware&&n.push({...t,headerAware:!1,shapedMerge:!1}),e.width*e.height<=Ad&&t.jpeg&&n.push({maxClusters:t.maxClusters,seeds:t.seeds,newClusterCost:t.newClusterCost,...t.everyConfig&&{everyConfig:!0}}),n},vd={maxClusters:128,seeds:255,newClusterCost:160,jpeg:Kh},Fd={...vd,headerAware:!0,shapedMerge:!0},Nd={maxClusters:255,seeds:255,newClusterCost:80,headerAware:!0,shapedMerge:!0,jpeg:Kh},xd={maxClusters:48},kd={...Fd,everyConfig:!0},Ed={...Nd,everyConfig:!0},Cd=e=>e<=3?Df:e>=9?Zf:8===e?un("monotonic-8"):e>=5?(e=>un((e=>e>=9?"effort-9":e>=8?"effort-8":e>=7?"effort-7":e>=5?"quick-or-fixed":e>=3?"plain-or-fixed":null)(e)))(e):Rf;qi.contextsFrom=2;var Jd,Ud=131072,Bd="http://ns.adobe.com/xap/1.0/\0",Hd="http://ns.adobe.com/xmp/extension/\0",Kd=new TextDecoder,Td=1<<20,Gd=(e,t)=>e.length>=t.length&&[...t].every((t,r)=>e[r]===t.charCodeAt(0)),Dd=/Semantic\s*=\s*"GainMap"|<Item:Semantic>\s*GainMap\s*<\/Item:Semantic>/,Pd=[1747,229,2159,230,2311,232,2491,228,2535,231,2603,233,3103,236,7194,227,7195,130,7589,227,7590,131,43952,255,43953,255,43954,255,43955,255,43964,255,43965,255,43966,255,43967,255,43992,255,43993,255,44002,255,44003,255],Sd=(new Set(["data","width","height",...nm]),new Set(["width","height","frames","loops",...nm]),"Input is not a JPEG; pass a valid JPEG file."),jd="Invalid JPEG marker; pass a valid JPEG file.",Xd="JPEG defers its height to a scan marker; decode it with a host reader and pass its pixels.",_d="JPEG dimensions are missing or truncated; pass a valid JPEG file.",Rd=[192,193,194,195,197,198,199,201,202,203,205,206,207],qd=({width:e,height:t,orientation:r})=>r>=5?{width:t,height:e}:{width:e,height:t};Zs=function(e,t){let r={at:0,phase:"signature",width:void 0,height:void 0,orientation:null,done:!1};for(;!r.done;)r=io(e,r);return qd(no(r,t))};var zd=(e,t)=>{if(!(e=>e&&"object"==typeof e&&!Array.isArray(e))(e))throw cs("JXL_OPTIONS","Invalid JPEG options; pass a plain record.");let r=Object.keys(e).find(e=>!t.includes(e));if(r)throw cs("JXL_OPTIONS",`Unknown resumable JPEG option: ${r}; use ${t.join(", ")}.`)},Vd=Object.freeze({id:"jpeg:restore",prepare:null,eager:!1,normalize(e){return zd(e,["maxPixels"]),{options:{...e},maxPixels:We(e.maxPixels)}},*open(e,t){let r=t.subarray(0,2);if(255===r[0]&&10===r[1])throw cs("JXL_RECONSTRUCTION",gs);let n=yield*Si(t,eo,{maxPixels:e.maxPixels});if(!n)throw cs("JXL_RECONSTRUCTION",gs);let i=yield*function*(e,t){let r=yield*W("jpeg-geometry",function*(){let r={at:0,phase:"signature",width:void 0,height:void 0,orientation:null,done:!1};for(;!r.done;){let t=yield*Y("jpeg-geometry-window",()=>io(e,r));t!==Ha&&(r=t)}return no(r,t)});return qd(r)}(n,e.maxPixels);return{bytes:n,facts:{...i,originalBytes:t.length}}},record:(e,t,r,n)=>Ot(e,n,{format:"jpeg",fidelity:"exact",kept:"jpeg-bytes",originalBytes:n.originalBytes,owned:!0})}),Yd=Symbol.for("rapier-jxl.steps"),Wd=(new Set(["width","height","rows",...nm]),"rapier-jxl/8.4.0"),Zd=Symbol.for("rapier-jxl.jpeg-source"),Qd="originalJpegSource",$d=(Object.freeze({7:0,8:0,9:0}),Symbol.for("rapier-jxl.configured-webgpu")),ep=e=>"encode"===e||"fit"===e||"variants"===e,tp=(Symbol.for("rapier-jxl.decoder"),(e,t)=>e+" "+t),rp=()=>{try{return globalThis.importScripts("about:blank"),!0}catch(e){return!(e instanceof TypeError)}},np=(e,t=()=>new URL(globalThis.location&&"blob:"!==globalThis.location.protocol?globalThis.location.href:import.meta.url))=>{let r=(e=>()=>{let t=e();return"file:"===t.protocol&&globalThis.location&&!["file:","blob:"].includes(globalThis.location.protocol)?new URL(globalThis.location.href):t})(t);return Object.freeze({role:e,url:r,worker:()=>new Worker(r(),{type:rp()?"classic":"module",name:e})})},ip=["encode","fit","variants","capture"],op=e=>function(t,r){let n;try{n=null!==r&&"object"==typeof r?Object.getOwnPropertyDescriptor(r,"transfer"):void 0}catch{return e.apply(this,arguments)}if(!n)return e.apply(this,arguments);try{if(!("value"in n)||!0!==n.value)throw cs("JXL_OPTIONS","Invalid transfer; set it to true or omit it.");let i=(e=>{let t=ArrayBuffer.isView(e?.data)?[e.data]:Array.isArray(e?.frames)?e.frames.map(e=>e?.data):[];return[...new Set(t.filter(e=>ArrayBuffer.isView(e)).map(e=>e.buffer))]})(t);if(i.some(e=>!(e instanceof ArrayBuffer)||e.detached))throw cs("JXL_INPUT","ArrayBuffer cannot be transferred; copy it to a new ArrayBuffer.");let o=Object.create(Object.getPrototypeOf(r));for(let[e,t]of Object.entries(Object.getOwnPropertyDescriptors(r)))"transfer"!==e&&Object.defineProperty(o,e,t);for(let e of Object.getOwnPropertySymbols(r))Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(r,e));return Promise.resolve(e.call(this,t,o)).then(e=>{try{structuredClone(i,{transfer:i})}catch{}return e})}catch(e){return Promise.reject(e)}},ap=new Set(["workerFactory","workerStartupTimeout","maxPendingBytes","maxPendingJobs"]),lp=(e,t)=>{if("workerFactory"===e?"function"!=typeof t:!(Number.isSafeInteger(t)&&t>0&&("workerStartupTimeout"!==e||t<=2147483647)))throw cs("JXL_OPTIONS",`Invalid ${e}; ${"workerFactory"===e?"pass a function":"use a positive whole number"}.`)},sp=Symbol.for("rapier-jxl.worker-runtime"),mp=We,cp=e=>e.catch(e=>{throw Pe(e)}),hp=hm((e,t)=>cp(function(e,t){try{let r=Ve(t);for(let e of Object.keys(r))if(!["effort","maxPixels","gainMap","signal","onProgress"].includes(e))throw cs("JXL_OPTIONS",`Unknown JPEG option ${e}; remove it.`);if(void 0!==r.gainMap&&"boolean"!=typeof r.gainMap)throw cs("JXL_OPTIONS","Invalid gainMap; pass true or false.");let n,{signal:i}=r,o=ho(r),a=oo(r),m=mp(r.maxPixels),c={effort:a,maxPixels:m,...r.gainMap&&{gainMap:$i},tails:Vi,outside:e=>{n={missing:e,reason:"past-jbrd"}}};je(i);let h=fo(e,i,e=>to(e,m,Mo.edge),m);return(async()=>{let e=await h;At(r,e),to(e,m,Mo.edge),await mo(),je(i);let t=await async function(e,{signal:t,progress:r}){let n=0,i=performance.now(),o=!1;try{for(;;){je(t);let o=e.next();if(o.done)return r(1),await(r.finish?.()),je(t),o.value??e.bytes;"number"==typeof o.value&&o.value>n&&o.value<1&&(n=o.value,r(n),je(t)),performance.now()-i>=8&&(await new Promise(e=>setTimeout(e,0)),i=performance.now())}}catch(e){throw o=!0,e}finally{try{e.return?.()}catch(e){if(!o)throw e}}}(function(e,t){return function(e,t){let r=function(e,t=!1){let r=function*(){let n,i,o;try{for(;!(n=s(()=>e.next(o))).done;)t&&n.value?.capture?o=yield n.value:n.value?.capture||n.value?.split||n.value?.gpu?o=void 0:void 0===n.value?.unit&&void 0===n.value?.unitDone&&void 0===n.value?.unitFailed?(yield i=n.value,o=r.hurry):o=yield n.value}finally{n?.done||e.return?.()}return i<1&&(yield 1),r.bytes=l(n.value)}();return r.bytes=null,r.hurry=!1,r}(Xi(e,t,qi,e=>Object.assign(r,e)));return r}(e,t)}(e,c),o);return n&&((e,t)=>{e?.[om]?.(void 0,void 0,t)})(r,{otherDecoders:n}),t})()}catch(e){return Promise.reject(e)}}(e,t)),{fidelity:"exact",kept:"jpeg-bytes"});Object.defineProperty(hp,Yd,{value:function(e){return Object.freeze({id:"jpeg:recompress",prepare:e,eager:!1,restore:Vd,normalize(e){if(zd(e,["effort","maxPixels","gainMap"]),void 0!==e?.gainMap&&"boolean"!=typeof e.gainMap)throw cs("JXL_OPTIONS","Invalid gainMap; pass true or false.");let t=oo(e),r=We(e.maxPixels);return{options:{...e},effort:t,maxPixels:r,gainMap:!!e?.gainMap}},*open(e,t,r,n=!1){let i=null,o=null;return{bytes:l(yield*Xi(t,{effort:e.effort,maxPixels:e.maxPixels,...e.gainMap&&{gainMap:$i},tails:Vi,outside:e=>{o={missing:e,reason:"past-jbrd"}},...!n&&{bands:{from:0,packed:0}}},qi,e=>{i={width:e.width,height:e.height}})),facts:{...i,originalBytes:t.length,...o&&{otherDecoders:o}}}},record:(e,t,r,n)=>Ot(e,n,{fidelity:"exact",kept:"jpeg-bytes",originalBytes:n.originalBytes,owned:!0,...n?.otherDecoders&&{otherDecoders:n.otherDecoders}})})}(mo)});var fp=hm((t,r)=>cp(async function(t,r){let n=Ve(r);for(let e of Object.keys(n))if(!["maxPixels","signal","onProgress"].includes(e))throw cs("JXL_OPTIONS",`Unknown restore option ${e}; remove it.`);let{signal:i}=n,o=ho(n),a=mp(n.maxPixels);je(i),t=await fo(t,i,e=>{(function(e){if(!(255===e[0]&&10===e[1]||e.length>=12&&Ts.every((t,r)=>e[r]===t)))throw cs("JXL_INPUT","Invalid JPEG XL signature; pass a JPEG XL file.")})(e);let t=function(e){try{if(255===e[0]&&10===e[1])return Qe(new ys(e));if(!cu.every((t,r)=>e[r]===t))return null;let t=null,r=0,n=0,i=new Map;for(let o of Hn(e)){if(o.type===uu)return Qe(new ys(e.subarray(o.body,o.end)));if(o.type!==du)continue;t||=new Uint8Array(16);let a=o.body,l=16777216*(127&e[a])+65536*e[a+1]+256*e[a+2]+e[a+3];for(i.set(l,o);i.has(n)&&r<t.length;){let o=i.get(n++);i.delete(n-1);let a=Math.min(t.length-r,o.end-o.body-4);t.set(e.subarray(o.body+4,o.body+4+a),r),r+=a}if(r===t.length)break}return t&&Qe(new ys(t.subarray(0,r)))}catch{return null}}(e);if(t&&Ye(t.width,t.height,a),255===e[0]&&10===e[1])throw cs("JXL_RECONSTRUCTION",gs)}),At(n,t);let l=((t,r,n)=>e(Si(t,eo,n)))(t,0,{maxPixels:a});if(!l)throw cs("JXL_RECONSTRUCTION",gs);return je(i),o.progress(1),await(o.progress.finish?.()),je(i),l}(t,r)),{format:"jpeg",fidelity:"exact",kept:"jpeg-bytes"});Object.defineProperty(fp,Yd,{value:Vd}),Object.defineProperty(fp,Symbol.for("rapier-jxl.verify.source"),{value:hp[Yd]}),Object.defineProperty(hp,Fs,{value:async function(t,{maxPixels:r,signal:n,outputs:i,scale:o}={}){if(je(n),!await es()||!Ql()||!Ee())throw Aa();je(n);let a=function(e,t,r,n){if(!(e.length>4)||255!==e[0]||216!==e[1])throw ge("not a JPEG");let i=[],o=[[],[]],a=new Set,l={count:0,parts:[]},s=(e,t)=>{let r=o[e][t];return r&&(r.lookup??=function(e,t){let r=new Uint16Array(65536),n=0,i=0;for(let o=1;o<=16;o++){for(let a=0;a<e[o-1];a++){let e=t[i++],a=n<<16-o,l=1<<16-o;if(a+l>=65536)throw ge("bad Huffman table");r.fill(o<<8|e,a,a+l),n++}n<<=1}return r}(r.counts,r.symbols))},m=t=>e[t]<<8|e[t+1],c=(t,r)=>{for(let n=0;n<r.length;n++)if(e[t+n]!==r.charCodeAt(n))return!1;return!0},h=null,f=0,u=-1,d=!1,p=null,g=!1,M=2,y=0,b=0,w=Math.min(Mo.pixels,t??Mo.pixels);for(;;){if(M>=e.length)throw ge("truncated");if(255!==e[M])throw ge("marker expected");for(;255===e[M];)M++;let t=e[M++];if(++y>16384)throw ge("more than 16384 JPEG markers");if(217===t)throw ge("no picture");if(216===t)throw ge("a second start");if(t>=208&&t<=215)throw ge("a restart marker outside a scan");if(1===t)continue;if(M+2>e.length)throw ge("truncated");let L=m(M),O=M+2,A=M+L;if(L<2||A>e.length)throw ge("bad segment");if(M=A,219===t)for(let t=O;t<A;){let r=e[t]>>4,n=15&e[t];if(r>1||n>3||t+1+(r?128:64)>A)throw ge("bad quantisation table");t++;let o=new Int32Array(64);for(let n=0;n<64;n++)if(o[Va[n]]=r?m(t):e[t],t+=r?2:1,!o[Va[n]])throw ge("a zero quantisation step");i[n]=o}else if(196===t)for(let t=O;t<A;){if(++b>89)throw ge("more than 89 JPEG Huffman tables");let r=e[t]>>4,n=15&e[t];if(r>1||n>3||t+17>A)throw ge("bad Huffman table");t++;let i=e.subarray(t,t+16),l=0;for(let e of i)l+=e;if(l>256||t+16+l>A)throw ge("bad Huffman table");let s=e.subarray(t+16,t+16+l);tt(i),o[r][n]={counts:i,symbols:s,lookup:null},0===r&&(s.some(e=>e>15)?a.add(n):a.delete(n)),t+=16+l}else if(192===t||193===t){if(h)throw ge("two frames");if(A-O<6)throw ge("bad frame header");if(8!==e[O])throw ge("only 8-bit samples");let t=m(O+1),r=m(O+3),n=e[O+5];if(!r||!t)throw ge("a height left to a DNL marker");if(4===n)return null;if(1!==n&&3!==n)throw ge("only gray or three components");if(A-O<6+3*n)throw ge("bad frame header");if(r>Mo.edge||t>Mo.edge)throw ge("a picture past "+Mo.edge+" pixels on a side","JXL_DIMENSIONS");if(r*t>w)throw ge("a picture past "+w+" pixels","JXL_DIMENSIONS");let i=[];for(let t=0,r=O+6;t<n;t++,r+=3){let t=e[r+1]>>4,n=15&e[r+1],o=e[r+2];if(t<1||t>4||n<1||n>4)throw ge("bad sampling");if(o>3)throw ge("bad quantisation table");if(i.some(t=>t.id===e[r]))throw ge("two components with one id");i.push({id:e[r],h:t,v:n,tq:o,pred:0})}let o=Math.max(...i.map(e=>e.h)),a=Math.max(...i.map(e=>e.v)),l=Math.ceil(r/(8*o)),s=Math.ceil(t/(8*a));for(let e of i)e.blocksW=Math.ceil(Math.ceil(r*e.h/o)/8),e.blocksH=Math.ceil(Math.ceil(t*e.v/a)/8),e.stride=l*e.h,e.rows=s*e.v;h={width:r,height:t,components:i,hmax:o,vmax:a,mcusX:l,mcusY:s}}else{if(194===t)return null;if(195===t||t>=197&&t<=199||t>=201&&t<=203||t>=205&&t<=207)throw ge("lossless, hierarchical or arithmetic coding");if(221===t){if(L<4)throw ge("bad segment");f=m(O)}else{if(220===t)throw ge("a DNL marker");if(218===t){if(!h)throw ge("a scan before the frame");let t=e[O];if(t!==h.components.length||O+1+2*t+3>A)return null;let o=[],m=O+1;for(let r=0;r<t;r++,m+=2){let t=h.components[r];if(t.id!==e[m])return null;if(t.quant=i[t.tq],!t.quant)throw ge("a scan without its quantisation table");let n=e[m+1]>>4,l=15&e[m+1];if(n>3||l>3)throw ge("a scan table selector above 3");if(a.has(n))throw ge("bad Huffman table");o.push({component:t,dc:s(0,n),ac:s(1,l)})}if(t>1&&o.reduce((e,t)=>e+t.component.h*t.component.v,0)>10)throw ge("bad sampling");let c=e[m],M=e[m+1],y=e[m+2]>>4,b=15&e[m+2];if(0!==c||63!==M||0!==y||0!==b)throw ge("a bad spectral selection");if(8*(e.length-A)<h.components.reduce((e,t)=>e+t.blocksW*t.blocksH,0))throw ge("a scan cut short");let w=p??1;n;let L=w>=5,I=L?h.height:h.width,v=L?h.width:h.height,F="number"==typeof r?r:rt(I,v,r),N=ye(h.components,d,u),x=nt(h.width,h.height,h.components,N,F);if(!x)return null;let k=Ee();if(!k?.scaledDecode)return null;let E=null,C=(e,t,r)=>{E??=new Uint8Array(x.outW*x.outH*4),E.set(r,e*x.outW*4)},J=k.scaledDecode(e,A,h,o,f,Va,x,C,w);if(!J)return null;let U=1===t?h.components[0].blocksW*h.components[0].blocksH:h.mcusX*h.mcusY,B=ot(e,J.pos,U,f,p);if(!B||B.orientation!==w&&(F<8||J.oriented))return null;let H=it(l.parts,l.count,h.components.length,g),K=!!J.oriented;return{data:J.oriented??E,width:K&&L?x.outH:x.outW,height:K&&L?x.outW:x.outH,origWidth:h.width,origHeight:h.height,orientation:B.orientation,alreadyOriented:K,colorSpace:H.colorSpace,icc:H.icc,renderingIntent:H.renderingIntent,scale:F}}if(224===t)c(O,"JFIF")&&(d=!0);else if(225===t)c(O,"Exif")&&0===e[O+4]&&(p??=Me(e,O+6,A));else if(226===t)if(L>=16&&c(O,"ICC_PROFILE\0")){let t=e[O+12],r=e[O+13];if(!t||!r||t>r||l.count&&l.count!==r||l.parts[t])throw ge("a color profile cut short");l.count=r,l.parts[t]=Q(e,O+14,A)}else L>=35&&c(O,"urn:iso:std:iso:ts:21496:-1\0")&&(g=!0);else 238===t&&L>=14&&c(O,"Adobe")&&(u=e[O+11])}}}}(t=Q(t),r,o??i,null);if(!a){let l=((t,r,n)=>e(Ae(t,!1,n,void 0)))(t,0,{maxPixels:r??Mo.pixels,preserveICC:!1,allowFourComponents:!0});je(n);let s=l.orientation>=5,m=s?l.height:l.width,c=s?l.width:l.height,h=o??rt(m,c,i),f=nt(l.width,l.height,l.components,l.ycbcr,h);if(f||(h=8,f=nt(l.width,l.height,l.components,l.ycbcr,8)),4===l.components.length&&(l.iccBytes||l.profile))throw ge("CMYK or YCCK JPEG with an ICC profile requires a host color-managed pixel decoder; pass its RGBA pixels.","JXL_UNSUPPORTED");if(4===l.components.length&&![0,2].includes(l.adobeTransform))throw ge(l.adobeTransform<0?"Four-component CMYK/YCCK JPEG without Adobe APP14 has ambiguous ink polarity; decode its pixels with a color-managed host.":"CMYK/YCCK JPEG has an unrecognized Adobe APP14 color transform; decode its pixels with a color-managed host.","JXL_UNSUPPORTED");let u,d=l.width,p=l.height;f?(d=f.outW,p=f.outH,u=new Uint8Array(d*p*4),Ee().renderParsedBands(l,f,(e,t,r)=>{u.set(r,e*d*4)})):(h=8,u=new Uint8Array(d*p*4),await Ee().renderGeneralBands(l,(e,t,r)=>{u.set(r,e*d*4)})),a={data:u,width:d,height:p,origWidth:l.width,origHeight:l.height,orientation:l.orientation,alreadyOriented:!1,colorSpace:l.colorSpace,icc:l.iccBytes,renderingIntent:l.renderingIntent,scale:h}}je(n);let l=a.orientation>=5,s=l?a.origHeight:a.origWidth,m=l?a.origWidth:a.origHeight;Ye(s,m,r??4e7);let c={data:a.data,width:a.width,height:a.height,...a.icc?{icc:a.icc}:a.renderingIntent&&"relative"!==a.renderingIntent?{colorEncoding:el(a.colorSpace,a.renderingIntent)}:{colorSpace:a.colorSpace}};return a.orientation>1&&!a.alreadyOriented&&(c=await async function(e,{signal:t}={}){je(t);let{orientation:r=1,width:n,height:i,data:o,...a}=e;if(!Number.isInteger(r)||r<1||r>8)throw cs("JXL_INPUT","orientation is an integer from 1 through 8.");if(1===r)return{data:o,width:n,height:i,...a};if(void 0!==a.extraChannels)throw cs("JXL_UNSUPPORTED","Orienting extra channels needs a channel transform.");if(!await es()||!Ql())throw Aa();if(je(t),r<=4)return{data:await et(o,n,i,r,t),width:n,height:i,...a};let l=r>=5,s=l?i:n,m=l?n:i,c=new o.constructor(o.length),h=4*o.BYTES_PER_ELEMENT,f=new Uint8Array(o.buffer,o.byteOffset,o.byteLength),u=new Uint8Array(c.buffer),d=vs(t);for(let e=0;e<i;e+=256)for(let o=0;o<n;o+=256){je(t);let a=Math.min(256,n-o),m=Math.min(256,i-e);is(f,u,n,s,o,e,a,m,2===r||3===r?n-o-a:6===r||7===r?i-e-m:l?e:o,3===r||4===r?i-e-m:7===r||8===r?n-o-a:l?o:e,h,r),await d()}return{data:c,width:s,height:m,...a}}({...c,orientation:a.orientation},{signal:n,maxPixels:r})),(c.width!==s||c.height!==m)&&Object.defineProperty(c,Ns,{value:{width:s,height:m},configurable:!0}),c}}),function(e,t){let r=function(){if("function"==typeof WorkerGlobalScope&&globalThis instanceof WorkerGlobalScope)return"string"==typeof globalThis.name?globalThis.name:"";let e;try{e=globalThis.process?.getBuiltinModule?.("node:worker_threads")}catch{}return!e||e.isMainThread?"":"string"==typeof e.workerData?e.workerData:"string"==typeof e.threadName?e.threadName:""}();if(!r.startsWith("rapier-jxl/jpeg "))return;let n=t[r.slice(16)];n&&n()}(0,{worker:()=>function(e,t=[],r,n){let{run:i,prepare:o}=r;if(!e||"function"!=typeof e.postMessage||"function"!=typeof e.on&&"function"!=typeof e.addEventListener||e[sp])return;try{Object.defineProperty(e,sp,{value:!0})}catch{}let a,l=!1,s=n?.(e),m={},c=new Map,h=(t,r)=>e.postMessage({id:t,ok:!1,error:so(r,!0)}),f=t=>{if(!t||s?.ack(t))return;if(t.wasmModules){try{_(t.wasmModules)}catch(t){a={code:t?.code||"JXL_WASM",message:t?.message||"The precompiled WebAssembly modules are invalid; prepare them again in this host."},e.postMessage({configurationError:a})}return}if(a)return void(t.prepare?e.postMessage({prepared:!0,attempt:t.attempt,ok:!1,error:a}):t.id&&h(t.id,a));if("string"==typeof t.prepare)return void o(t.prepare,{webgpu:t.webgpu,owner:m,helpers:t.helpers}).then(()=>e.postMessage({prepared:!0,attempt:t.attempt,ok:!0}),r=>e.postMessage({prepared:!0,attempt:t.attempt,ok:!1,error:so(r)}));if(void 0!==t.cancel)return void c.get(t.cancel)?.controller.abort(bo());if(void 0!==t.inputAck){let e=c.get(t.id),r=e?.waiting;return void(r?.sequence===t.inputAck&&(e.waiting=null,!0===t.ok?r.resolve():r.reject(Object.assign(new Error(t.error?.message||"Input reservation refused."),{code:t.error?.code||"JXL_WORKER"}))))}if(!Number.isSafeInteger(t.id)||t.id<1)return;let{id:r,operation:n,input:f,options:u,maxPixels:d,helpers:p,webgpu:g,lane:M,alone:y}=t,b="function"==typeof ImageBitmap&&f instanceof ImageBitmap||"function"==typeof VideoFrame&&f instanceof VideoFrame;if(!0===t.bitmap&&!b)return void h(r,Object.assign(new Error("Bitmap did not reach the worker; pass a live bitmap and retry."),{code:"JXL_INPUT"}));let w=1===M&&p&&c.size-l<p.count;if(c.has(r)||l&&!w)return void h(r,Object.assign(new Error("Worker already has an active operation; wait for it to finish."),{code:"JXL_BUSY"}));let L=new AbortController,O=!0===t.preview?s?.start(r,L.signal):void 0,A={controller:L,sequence:0,waiting:null};c.set(r,A);let I=()=>{let e=A.waiting;A.waiting=null,e?.reject(L.signal.reason??bo())};L.signal.addEventListener("abort",I,{once:!0});let v=t=>new Promise((n,i)=>{if(L.signal.aborted)return void i(L.signal.reason);let o=++A.sequence;A.waiting={sequence:o,resolve:n,reject:i};try{e.postMessage({id:r,inputBytes:t,inputSequence:o})}catch(e){A.waiting=null,i(e)}});w||(l=!0);let F=()=>{O?.close(),I(),L.signal.removeEventListener("abort",I),c.delete(r),w||(l=!1)};Promise.resolve().then(()=>i(n,f,u,{maxPixels:d,retainInput:v,helpers:p,webgpu:g,owner:m,lane:w?1:0,alone:y,signal:L.signal,onProgress:t=>e.postMessage({id:r,progress:t}),...O&&{onPreview:O.send}})).then(t=>{F();try{e.postMessage({id:r,ok:!0,value:t},[...lo(t)])}catch(e){h(r,e)}},e=>{F(),h(r,e)})};"function"==typeof e.on?e.on("message",f):(e.addEventListener("message",e=>f(e.data)),e.start?.()),e.postMessage({ready:Wd,...r.module&&{module:r.module}});for(let e of t)f(e)}(function(){try{let e=globalThis.process?.getBuiltinModule?.("node:worker_threads")?.parentPort;if(e)return e}catch{}let e=globalThis;return"function"==typeof e.postMessage&&"function"==typeof e.addEventListener&&typeof e.document>"u"?e:null}(),[],ao(po,{name:"rapier-jxl/jpeg"}))});var up=function(e,t,{gpu:r=!1,webgpu:n=!!r,pool:i,url:o,prepareOp:a,runtime:l}={}){let s,m=null,c={},h=0,f=null,u=null,d=null,p=1/0,g=0,M=new Set,y=[...n?["webgpu"]:[],"maxPixels"],b=e=>d&&Re(d.promise,e),w=()=>f??=l?l(b):ao(t,{name:e,gpu:r,ready:b,...i&&{helpers:async()=>i,helper:np(tp(e,"helper"),o)}}),L=(e,t)=>new Promise(r=>r(f.release(e,t))).catch(e=>{throw l?e:Object.assign(cs("JXL_WORKER","Helper cleanup failed; check the worker terminate() method."),{cause:e})}),O=()=>cs("JXL_CLOSED","The module is closing; call again once close() has resolved.");return{configure:e=>{let t=Ve(e,"configure options");for(let e of Object.keys(t))if(ap.has(e))void 0!==t[e]&&lp(e,t[e]);else if(!y.includes(e))throw cs("JXL_OPTIONS",`Unknown configuration option: ${e}; use only ${y.join(", ")}.`);if(u)throw cs("JXL_OPTIONS","The module is closing; configure it after close() resolves.");if(h||g)throw cs("JXL_OPTIONS","A call is active; wait for it to settle before configuring the module.");p=t.maxPendingJobs??1/0;for(let e of ap)delete t[e];We(t.maxPixels),function(e){if(void 0!==e&&"required"!==e&&!1!==e)throw cs("JXL_OPTIONS","Invalid webgpu; pass 'required' or false, or leave it out.")}(t.webgpu);let r=s&&(void 0!==s.count||void 0!==s.memoryBytes);m=Object.keys(t).length?t:null,s=void 0,f&&r&&(()=>{if(d)return;let e,t=d={promise:new Promise(t=>{e=t})};t.promise.then(()=>{d===t&&(d=null)},()=>{}),e(L(c,!1))})()},close:()=>{if(u)return u;let e=c,t=[...M],r=O(),n=d;c={};for(let e of t)e.cancel(r);return u=(async()=>{await Promise.all(t.map(e=>e.done));let r=(await Promise.allSettled([n?.promise,f&&L(e,!0)])).find(e=>"rejected"===e.status);if(r)throw r.reason;d===n&&(d=null)})().finally(()=>{u=null})},wrap:e=>{let n=t[e],i=function(e,t){if(u)return Promise.reject(O());if(p!==1/0){if(g>=p)return Promise.reject(cs("JXL_MEMORY","Calls at maxPendingJobs; wait or raise it."));g++;let e,t=()=>{g--};try{e=m||d?o.apply(this,arguments):n.apply(this,arguments)}catch(e){throw t(),e}return Promise.resolve(e).finally(t)}return m||d?o.apply(this,arguments):n.apply(this,arguments)},o=function(t,i){let o,l,f,u=!!m,p=m??{},g=s,y=c,b=d?.promise,L=(h++,!1),O={done:new Promise(e=>{f=e}),cancel(e){o=e,l?.(e)}};return M.add(O),(async()=>{try{if(Se((i=Ve(i,"Options",["signal","onProgress","onPreview","onEncoded"])).signal),je(i.signal),o)throw o;let s=!1;if(s instanceof Promise&&await Promise.race([Re(s,i.signal),new Promise((e,t)=>{l=t,o&&t(o)})]),je(i.signal),o)throw o;M.delete(O);let m=1===h;L="prepare"!==e&&!1;let c={signal:i.signal,onProgress:i.onProgress,onPreview:i.onPreview,onEncoded:i.onEncoded,maxPixels:p.maxPixels,webgpu:p.webgpu,helpers:g,owner:y,owned:!1,lane:L,alone:m},f=await(u?"prepare"!==e?w().run(e,t,i,c):r&&"required"===p.webgpu?w().prepare(t??a,{webgpu:p.webgpu,owner:y,helpers:g}):n.call(this,t):n.call(this,t,i));return b&&await Re(b,i.signal),je(i.signal),f}finally{h--,M.delete(O),f()}})()};return Object.defineProperties(ip.includes(e)?op(i):i,Object.getOwnPropertyDescriptors(n))}}}("rapier-jxl/jpeg",{recompress:hp,restore:fp,prepare:e=>void 0===e?(async()=>{try{await mo()}catch(e){throw Pe(e)}})():Promise.reject(cs("JXL_OPTIONS","This module has one operation; call prepare() without an argument."))},{url:()=>new URL(import.meta.url)}),dp=up.wrap("recompress"),pp=up.wrap("restore"),gp=up.wrap("prepare"),{configure:Mp,close:yp}=up;export{yp as close,Mp as configure,gp as prepare,dp as recompress,pp as restore,co as supported};function e(e){let t;for(;!(t=e.next()).done;);return t.value}function*t(e,t,r){let n,i,o=!1;try{for(;!(n=e.next(i)).done;)i=yield Fo(n.value,e=>(t+e)/r);return o=!0,n.value}finally{try{e.return?.()}catch(e){if(o)throw e}}}function r(e){return e>=0?2*e:2*-e-1}function n(e){return 31-Math.clz32(e)}function i(e){return e<=1?0:32-Math.clz32(e-1)}function o(e){let t=e<0||Object.is(e,-0)?32768:0;if(0===e)return t;if(!((e=Math.abs(e))<65520))throw yo("JXL_INTERNAL","half float out of range: "+e);let r=0,n=e;for(;n>=2;)n/=2,r++;for(;n<1;)n*=2,r--;r<-14?(n=16384*e,r=-15):n-=1;let i=1024*n,o=Math.round(i);return o-i===.5&&1&o&&o--,1024===o&&(o=0,r++),t|r+15<<10|o}function a(e){if(!Number.isSafeInteger(e)||e<0)throw yo("JXL_MEMORY","The encoded picture cannot be allocated.")}function l(e){return a(e.length),e}function s(e){try{return e()}catch(e){throw Lo(e)?Object.assign(yo("JXL_MEMORY",`Not enough memory for this picture${Oo(e)}.`),{cause:e}):e}}function m(e,t){e.writeU32([[9,1],[13,1],[18,1],[30,1]],t)}function c(e,t,r,n,i,{xyb:a=!1,orientation:l=1,colorSpace:s,bitDepth:c=8,exponentBits:u=0,transferFunction:d="srgb",intensityTarget:p=255,alphaPremultiplied:g=!1,modular16bit:M=c<=12&&!u,colorData:y,toneData:b,iccData:w,imageFields:L,extraChannelData:O,transformData:A}={},I){"string"==typeof s&&s.includes(";")&&({colorSpace:s,transferFunction:d,intensityTarget:p,alphaPremultiplied:g}=(e=>{let[t,r,n,i]=e.split(";");return{colorSpace:t,transferFunction:r,intensityTarget:+n,alphaPremultiplied:"p"===i}})(s)),s&&"object"==typeof s&&({colorData:y,iccData:w}=I(s,a)),e.write(16,2815),e.write(1,0),m(e,r),e.write(3,0),m(e,t),e.write(1,0);let v=1!==l||255!==p||!!b||!!L;e.write(1,v?1:0),v&&(L?e.append(L):e.write(6,l-1)),h(e,c,u),e.write(1,M?1:0),O?e.append(O):!i||8!==c||u||g?i?(e.write(3,1),e.write(2,0),h(e,c,u),e.write(4,0),e.write(1,g?1:0)):e.write(2,0):e.write(3,5),e.write(1,a?1:0),y?e.append(y):"srgb"!==d||"rec2020"===s?(e.write(2,0),f(e,3===n?0:1),f(e,1),3===n&&f(e,"rec2020"===s?9:"display-p3"===s?11:1),e.write(1,0),f(e,"linear"===d?8:"pq"===d?16:"hlg"===d?18:13),f(e,1)):3===n&&"display-p3"===s?e.write(21,903568):3===n?e.write(1,1):e.write(15,14100),v&&(b?e.append(b):(e.write(1,255===p?1:0),255!==p&&(e.write(16,o(p)),e.write(32,0),e.write(1,0)))),e.write(2,0),A?e.append(A):e.write(1,1),w&&e.append(w),e.zeroPadToByte()}function h(e,t,r){e.write(1,r?1:0),e.writeU32(r?[[0,32],[0,16],[0,24],[6,1]]:[[0,8],[0,10],[0,12],[6,1]],t),r&&e.write(4,r-1)}function f(e,t){e.writeU32([[0,0],[0,1],[4,2],[6,18]],t)}function u(e,t){e.write(1,0),e.zeroPadToByte(),function(e,t,r=0,n=t.length){for(let i=r;i<n;i++)e.writeU32([[10,0],[14,1024],[22,17408],[30,4211712]],t[i])}(e,t),e.zeroPadToByte()}function d(e,t,r=5,n=null){return u(e,n?n(t).sizes:t.map(e=>e.length)),p(e.finish(),t,r,n)}function p(e,t,r=5,n=null){let i=n?n(t).sizes:t.map(e=>e.length),o=10===r?49:0,l=o+e.length+i.reduce((e,t)=>e+t,0);if(a(l),o&&l-41>4294967295)throw yo("JXL_SIZE","The codestream exceeds a 4 GiB JPEG XL box.");let s=new Uint8Array(n?o:l);if(o&&(s.set([0,0,0,12,74,88,76,32,13,10,135,10,0,0,0,20,102,116,121,112,106,120,108,32,0,0,0,0,106,120,108,32,0,0,0,9,106,120,108,108,10,0,0,0,0,106,120,108,99]),new DataView(s.buffer).setUint32(41,l-41)),n)return n([s,e,...t]);s.set(e,o);let m=o+e.length;for(let e of t)s.set(e,m),m+=e.length;return s}function g(e,t,r,n,i,o){let a=2*r-1,l=0,s=r,m=0;for(let n=r;n<a;n++){let i=l<r&&(s>=n||e[l]<=e[s])?l++:s++,o=l<r&&(s>=n||e[l]<=e[s])?l++:s++;e[n]=e[i]+e[o],t[i]=n,t[o]=n}t[a-1]=0;for(let e=a-2;e>=r;e--)t[e]=t[t[e]]+1;for(let e=0;e<r;e++)m=Math.max(m,n[i[e]]=t[t[e]]+1);return m<=o}function M(e,t,r,n=e.length){let i=new Uint8Array(n);if(!r){r=[];for(let t=0;t<n;t++)e[t]>0&&r.push(t)}let o=r.length;if(!o)return i;if(1===o)return i[r[0]]=1,i;let a=2*o-1,l=a<=1024?Ko:new Float64Array(a),s=a<=1024?To:new Int32Array(a),m=n<=4096&&o<=1024;for(let t=0;m&&t<o;t++){let n=e[r[t]];m=n===Math.floor(n)&&n<2**40}let c=m?Go.subarray(0,o):null;for(let n=1;;n*=2){if(m){for(let t=0;t<o;t++){let i=r[t];c[t]=4096*Math.max(e[i],n)+i}c.sort();for(let e=0;e<o;e++){let t=c[e],n=t%4096;r[e]=n,l[e]=(t-n)/4096}}else{r.sort((t,r)=>Math.max(e[t],n)-Math.max(e[r],n)||t-r);for(let t=0;t<o;t++)l[t]=Math.max(e[r[t]],n)}if(g(l,s,o,i,r,t))return i}}function y(e,t,r,n,i,o){let a=[];for(;a.push(n&i),n>>=o;)n--;for(let n=a.length-1;n>=0;n--)e.push(r),t.push(a[n])}function b(e){let t=Do,r=Po,n=new Uint16Array(e.length);t.fill(0);for(let r=0;r<e.length;r++)t[e[r]]++;t[0]=0;for(let e=1,n=0;e<=16;e++)n=n+t[e-1]<<1,r[e]=n;for(let t=0;t<e.length;t++){let i=e[t];i&&(n[t]=Ho(r[i]++,i))}return n}function w(e){let t=L(e);return t.codes=b(t.lengths),t}function L(e,t){if(t)t=[...t];else{t=[];for(let r=0;r<e.length;r++)e[r]>0&&t.push(r)}let r=t.length,n=t[r-1]+1||1,i=r<=4?new Uint8Array(n):M(e,15,t,n),o=0;if(r<=4){t.sort((t,r)=>e[r]-e[t]||t-r),o=4===r&&e[t[0]]>e[t[2]]+e[t[3]]?1:0;let n=r<2?[0]:2===r?[1,1]:3===r?[1,2,2]:o?[1,2,3,3]:[2,2,2,2];for(let e=0;e<r;e++)i[t[e]]=n[e];t.sort((e,t)=>i[e]-i[t]||e-t)}return{alphabetSize:n,lengths:i,codes:null,simple:r&&r<=4?t:null,treeSelect:o}}function O(e,t){let r=new Uint8Array(t);jo.length<4*t&&(jo=new Uint32Array(4*t),Xo=new Float64Array(2*t),_o=new Int32Array(2*t));let n=jo.subarray(0,t),i=jo.subarray(t,2*t),o=jo.subarray(2*t,3*t),a=jo.subarray(3*t,4*t),l=Xo,s=_o;for(let m=1;;m*=2){for(let r=0;r<t;r++)n[r]=Math.max(e[r],m),i[r]=r;for(let e=0;e<32;e+=8){Ro.fill(0);for(let r=0;r<t;r++)Ro[n[r]>>>e&255]++;if(Ro[n[0]>>>e&255]===t)continue;for(let e=0,t=0;e<256;e++){let r=Ro[e];Ro[e]=t,t+=r}for(let r=0;r<t;r++){let t=Ro[n[r]>>>e&255]++;o[t]=n[r],a[t]=i[r]}let r=n;n=o,o=r,r=i,i=a,a=r}for(let e=0;e<t;e++)l[e]=n[e];if(g(l,s,t,r,i,15))return r}}function A(e,t){let r=t.length;if(r<=4)return L(e,t);So.length<r&&(So=new Uint32Array(Math.max(r,2*So.length)));for(let n=0;n<r;n++)So[n]=e[t[n]];let n=t[r-1]+1,i=new Uint8Array(n),o=O(So,r);for(let e=0;e<r;e++)i[t[e]]=o[e];return{alphabetSize:n,lengths:i,codes:null,simple:null,treeSelect:0}}function I(e,t){let r=0;for(let t of e)t&&r++;1===r&&(e[t?0:1]=e[t]);let n=M(e,5),i=18;for(;i>0&&!n[Co[i-1]];)i--;return[n,i]}function v(e,t,r,n){for(;t<=r&&e[t]===n;)t++;return t}function F(e,t){if(t.alphabetSize<=1)return;if(t.simple){let r=n(t.alphabetSize-1)+1;e.write(2,1),e.write(2,t.simple.length-1);for(let n of t.simple)e.write(r,n);return void(4===t.simple.length&&e.write(1,t.treeSelect))}let r=t.lengths,i=[],o=[],a=r.length-1;for(;a>0&&!r[a];)a--;let l=8;for(let e=0;e<=a;){let t=r[e],n=v(r,e+1,a,t)-e,s=n;if(t&&t!==l&&(i.push(t),o.push(0),s--,l=t),s<3)for(let e=0;e<s;e++)i.push(t),o.push(0);else y(i,o,t?16:17,s-3,t?3:7,t?2:3);e+=n}let s=new Uint32Array(18);for(let e of i)s[e]++;let[m,c]=I(s,i[0]),h=b(m);e.write(2,0);for(let t=0;t<c;t++){let r=m[Co[t]];e.write(Jo[r],Uo[r])}for(let t=0;t<i.length;t++){let r=i[t];e.write(m[r],h[r]),16===r?e.write(2,o[t]):17===r&&e.write(3,o[t])}}function N(e,t=0,r=0){return{split:e,msb:t,lsb:r,splitToken:1<<e}}function x(e,t,r=15){e.write(i(r+1),t.split),t.split!==r&&(e.write(i(t.split+1),t.msb),e.write(i(t.split-t.msb+1),t.lsb))}function k(e,t,r){if(t<e.splitToken)return r[0]=t,r[1]=0,void(r[2]=0);let i=n(t),o=t-(1<<i),a=i-e.msb-e.lsb;r[0]=e.splitToken+(i-e.split<<e.msb+e.lsb|o>>i-e.msb<<e.lsb|o&(1<<e.lsb)-1),r[1]=a,r[2]=t>>e.lsb&(1<<a)-1}function E(e,t,r,n=0){k(e,t,qo),r[n+qo[0]]++}function C(e,t,r,n,i=0){k(r,n,qo);let o=i+qo[0];e.write(t.lengths[o],t.codes[o]),qo[1]&&e.write(qo[1],qo[2])}function J(e,t){let r=0;for(let e=0;e<t.length;e++)t[e]>r&&(r=t[e]);let n=r?i(r+1):0;if(n<=3){if(n&&t.length>=64){let i=new vo(64);if(U(i,t,r),i.bitLength<3+n*t.length)return void e.append(i)}if(e.write(1,1),e.write(2,n),n)for(let r=0;r<t.length;r++)e.write(n,t[r])}else U(e,t,r)}function U(e,t,r){e.write(1,0),e.write(1,0);let n=zo,i=Vo,o=224,a=t.length>=64&&r<o,l=a?257:r+1,s=l<=257?Zo.subarray(0,l):new Uint32Array(l);s.fill(0),Qo.length<t.length&&(Qo=new Uint16Array(t.length),$o=new Uint32Array(t.length));let m=Qo,c=$o,h=0;for(let e=0;e<t.length;){let r=t[e],n=1;for(;a&&e+n<t.length&&t[e+n]===r;)n++;if(n>=8)m[h]=r,c[h++]=n-1,s[r]++,E(i,n-1-7,s,o),e+=n;else{for(let e=0;e<n;e++)m[h]=r,c[h++]=0,s[r]++;e+=n}}let f=w(s);if(a){B(e,{lz77:{minSymbol:o,minLength:7,lengthConfig:i},contextMap:new Uint8Array([1,0]),histograms:[{config:Yo,code:Wo},{config:n,code:f}]});for(let t=0;t<h;t++){let r=m[t],n=c[t];e.write(f.lengths[r],f.codes[r]),n&&C(e,f,i,n-7,o)}}else{B(e,{contextMap:new Uint8Array(1),histograms:[{config:n,code:f}]});for(let t=0;t<h;t++)C(e,f,n,m[t])}}function B(e,{lz77:t=null,contextMap:r,histograms:i}){e.write(1,t?1:0),t&&(e.writeU32([[0,224],[0,512],[0,4096],[15,8]],t.minSymbol),e.writeU32([[0,3],[0,4],[2,5],[8,9]],t.minLength),x(e,t.lengthConfig,8)),r.length>1&&J(e,r),e.write(1,1);for(let t of i)x(e,t.config,15);for(let t of i){let r=t.code.alphabetSize-1;if(r){let t=n(r);e.write(1,1),e.write(4,t),e.write(t,r-(1<<t))}else e.write(1,0)}for(let t of i)F(e,t.code)}function H(e,t=0,r=1){return{predictor:e,offset:t,multiplier:r,context:-1}}function K(e,t,r,n){return(9===e||15===e)&&ia.has(t)&&(t=ia.get(t)),{property:e,splitval:t,left:r,right:n}}function T(e){return function(e){let t=(r,n)=>{if(r===n)return e[r];let i=r+n>>1;return K(0,i,t(i+1,n),t(r,i))};return t(0,e.length-1)}(e)}function G(e,t,n=!1){let i=[t],o=[],a=[],l=n?[]:null;for(let e of i){if(e.left){if(!(e.property>=0&&e.property<=255))throw yo("JXL_INTERNAL",`An MA tree property of ${e.property} is outside 0 to 255.`);o.push(e.property+1,r(e.splitval)),l?.push(1,0),i.push(e.left,e.right);continue}e.context=a.length,a.push(e);let t=1===e.multiplier?0:31-Math.clz32(e.multiplier&-e.multiplier);o.push(0,e.predictor,r(e.offset),t,(e.multiplier>>t)-1),l?.push(1,2,3,3,3)}let s=new Uint32Array(64);for(let e of o)E(ra,e,s);let m=w(s);if(l)return function(e,t,r,n){let i=Array.from({length:4},()=>new Map),o=new Map;for(let e=0;e<t.length;e++){let n=t[e],a=i[r[e]];a.set(n,(a.get(n)??0)+1),o.set(n,(o.get(n)??0)+1)}let a=D([{config:ra,code:n}],la),l=a.bitLength+P(o,n,ra),s=i.map(e=>{let t=null;for(let r of oa){let n=new Uint32Array(256),i=[0,0,0],o=!0;for(let[t,a]of e){if(k(r,t,i),i[0]>=n.length){o=!1;break}n[i[0]]+=a}if(!o)continue;let a=L(n),l=P(e,a,r),s=D([{config:r,code:a}],sa).bitLength+l;if((!t||s<t.bits)&&(t={config:r,code:a,dataBits:l,bits:s}),!e.size||1===e.size&&e.has(0))break}return t}),m=D(s,aa),c=m.bitLength+s.reduce((e,t)=>e+t.dataBits,0)<l;if(c){a=m;for(let e of s)e.code.codes=b(e.code.lengths)}let h={code:n,config:ra};e.append(a);for(let n=0;n<t.length;n++){let i=c?s[r[n]]:h;C(e,i.code,i.config,t[n])}}(e,o,l,m),a;B(e,{contextMap:new Uint8Array(6),histograms:[{config:ra,code:m}]});for(let t of o)C(e,m,ra,t);return a}function D(e,t){let r=new vo(256);return B(r,{contextMap:t,histograms:e}),r}function P(e,t,r){let n=[0,0,0],i=0;for(let[o,a]of e)k(r,o,n),i+=a*(t.lengths[n[0]]+n[1]);return i}function S(e,t){let r=[[3,0],[6,8],[10,72],[13,1096]];if("rct"===t.type)e.write(2,0),e.writeU32(r,t.beginC),e.writeU32([[0,6],[2,0],[4,2],[6,10]],t.rctType??6);else if("palette"===t.type)e.write(2,1),e.writeU32(r,t.beginC),e.writeU32([[0,1],[0,3],[0,4],[13,1]],t.numC),e.writeU32([[8,0],[10,256],[12,1280],[16,5376]],t.nbColors),e.writeU32([[0,0],[8,1],[10,257],[16,1281]],t.nbDeltas??0),e.write(4,t.predictor??0);else{if("squeeze"!==t.type)throw yo("JXL_INTERNAL","unknown transform "+t.type);{e.write(2,2);let n=t.params??[];e.writeU32([[0,0],[4,1],[6,9],[8,41]],n.length);for(let t of n)e.write(1,t.horizontal?1:0),e.write(1,t.inPlace?1:0),e.writeU32(r,t.beginC),e.writeU32([[0,1],[0,2],[0,3],[4,4]],t.numC)}}}function j(e,{useGlobalTree:t=!0,transforms:r=[]}={}){e.write(1,t?1:0),e.write(1,1),e.writeU32([[0,0],[0,1],[4,2],[8,18]],r.length);for(let t of r)S(e,t)}function X(e,t,r,n=e=>e.context,i=()=>ra){let o=new Uint8Array(t.length+1);for(let e of t){let t=n(e)+1;if(t>255)throw yo("JXL_INTERNAL","A stream names more than 256 histograms.");o[e.context]=t}let a=new Uint32Array(2);a[1]=1;let l=[{config:ra,code:w(a)}],s=Math.max(...o);for(let e=0;e<s;e++)l.push({config:i(e),code:w(r[e])});return B(e,{lz77:ta,contextMap:o,histograms:l}),l}function _(e){if(!e||"object"!=typeof e||Array.isArray(e)||!Object.keys(e).length)throw pa("Supply named precompiled WebAssembly.Module objects.");let t=Object.entries(e);for(let[e,r]of t){if(!Object.hasOwn(ma,e))throw pa(`Unknown WebAssembly module: ${e}.`);let t,n;try{t=WebAssembly.Module.imports(r),n=WebAssembly.Module.exports(r)}catch{throw pa(`${e} must be a compiled WebAssembly.Module.`)}let i="kernels"===e||"general"===e;if(ha(n)!==ma[e]||(i?1!==t.length||"env"!==t[0].module||"memory"!==t[0].name||"memory"!==t[0].kind:0!==t.length))throw pa(`The ${e} module does not match; use this package's.`);if(fa.has(e)&&fa.get(e)!==r||ua.has(e)&&ua.get(e)!==r)throw pa(`The ${e} module is already set; configure modules before any work.`)}for(let[e,r]of t)fa.set(e,r);da=!0}async function R(e,t){return ya(),!(!ua.get(e)&&!fa.has(e))||(ba.has(e)||(ua.has(e)||ua.set(e,null),ba.set(e,(async()=>{let r=await WebAssembly.compile(t());return await WebAssembly.instantiate(Uint8Array.of(0,97,115,109,1,0,0,0)),ua.get(e)||ua.set(e,r),wa.delete(e),!0})().catch(t=>(ba.delete(e),wa.set(e,t),!1)))),ba.get(e))}function q(e,t){if(ya(),ua.get(e))return ua.get(e);ua.set(e,null);let r,n=fa.get(e);if(n)return ua.set(e,n),n;try{r=new WebAssembly.Module(t())}catch(t){throw da?pa(`The ${e} module is missing; supply this package's.`):t}return ua.set(e,r),r}function z(e,t,r=4,n=7,i=null,o=1/0){if(!i){let t=e.length<xa*(r-1);i={i:0,phase:0,length:0,distance:0,probe:0,at:-1,span:0,inserted:0,head:t?new Int32Array(xa).fill(-1):null,history:new Int32Array(t?e.length:xa*r).fill(-1)}}let{head:a,history:l}=i,s=t=>(Math.imul(e[t]+1,506832829)^Math.imul(e[t+1]+1,1821285621)^Math.imul(e[t+2]+1,739982445))>>>16;for(;i.i<e.length&&o>0;){let m=i.i;if(!i.phase)if(i.length=0,i.distance=0,i.probe=0,i.span=0,m+n<=e.length){let e=s(m);i.bucket=e*r,i.at=a?a[e]:l[i.bucket],i.phase=1}else i.phase=2;if(1===i.phase){if(i.probe>=r||i.at<0){i.phase=2;continue}let t=i.at;if(!i.span){if(o--,e[t]!==e[m]||e[t+1]!==e[m+1]||e[t+2]!==e[m+2]){i.probe++,i.at=a?l[t]:l[i.bucket+i.probe];continue}i.span=3}let n=i.span,s=Math.min(e.length-m,n+o);for(;n<s&&e[t+n]===e[m+n];)n++;if(o-=n-i.span,i.span=n,m+n<e.length&&n===s)continue;n>i.length&&(i.length=n,i.distance=m-t),m+n===e.length?i.phase=2:(i.probe++,i.at=a?l[t]:l[i.bucket+i.probe],i.span=0)}else if(2===i.phase)i.length<n&&(i.length=0,i.distance=0),t(i.length?0:e[m],i.length,i.distance),i.inserted=0,i.phase=3;else if(3===i.phase){let t=i.length||1,n=Math.min(t,i.inserted+o),c=i.inserted;for(let t=c;t<n;t++)if(m+t+2<e.length){let e=s(m+t);if(a)l[m+t]=a[e],a[e]=m+t;else{let n=e*r;for(let e=r-1;e>0;e--)l[n+e]=l[n+e-1];l[n]=m+t}}o-=n-c,i.inserted=n,n===t&&(i.i+=t,i.phase=0)}}return i}function*V(e,t,r,n=!1,i=!1){return globalThis[Ca]?yield*globalThis[Ca].step(e,t,r,0,n,i):t()}function*Y(e,t,r,n=!1,i=!1){return globalThis[Ca]?yield*globalThis[Ca].step(e,t,r,1,n,i):t()}function*W(e,t,r,n=!1,i=!1){return globalThis[Ca]?yield*globalThis[Ca].step(e,t,r,2,n,i):yield*t()}function Z(e){let t=null,r=e.map(e=>{try{return e()}catch(e){if(!0!==e?.[ka])throw e;t??=e}});if(t)throw t;return r}function Q(e,t,r){let n=e[Ka];return n?n(t,r):e.subarray(t,r)}function $(e,t,r){if(void 0!==r&&!["rgb","gray","cmyk"].includes(r))throw yo("JXL_INPUT","The expected ICC source space is rgb, gray or cmyk.");if(!(e instanceof Uint8Array)||e.length<132)throw yo("JXL_INPUT","ICC is a Uint8Array of the complete profile.");if(5===t&&e.length>4194304)throw yo("JXL_SIZE","Level 5 ICC profiles are at most 4 MiB.");let n=e.subarray(0,132),i=new DataView(n.buffer,n.byteOffset,n.byteLength),o=e=>String.fromCharCode(n[e],n[e+1],n[e+2],n[e+3]);if(i.getUint32(0)!==e.length||"acsp"!==o(36))throw yo("JXL_INPUT","ICC size or profile signature is invalid.");let a=o(16),l=o(20);if(!["RGB ","XYZ ","Lab ","Luv ","YCbr","Yxy ","HSV ","HLS ","CMY ","3CLR","GRAY"].includes(a)&&("CMYK"!==a||"cmyk"!==r))throw yo("JXL_INPUT","ICC needs RGB, GRAY, or CMYK with a planar-channel context.");if(void 0!==r&&a!=={rgb:"RGB ",gray:"GRAY",cmyk:"CMYK"}[r])throw yo("JXL_INPUT","The ICC space does not match the channels.");if("CMYK"===a&&5===t)throw yo("JXL_INPUT","CMYK and black channels need level 10.");if("XYZ "!==l&&"Lab "!==l)throw yo("JXL_INPUT","ICC profile connection space must be XYZ or Lab.");let s=i.getUint32(128);if(s>Math.floor((e.length-132)/12))throw yo("JXL_INPUT","ICC tag table exceeds the profile.");return{count:s,end:132+12*s,channels:"GRAY"===a?1:3}}function ee(e,t,r,n){let i=e.subarray(132+12*r,132+12*n),o=new DataView(i.buffer,i.byteOffset,i.byteLength);for(let i=0;i<n-r;i++){let r=12*i,n=o.getUint32(r+4),a=o.getUint32(r+8);if(n<t.end||n%4||a<8||n>e.length||a>e.length-n)throw yo("JXL_INPUT","ICC tag data is unaligned or outside the profile.")}}function te(e,t,r){let n=$(e,t,r);for(let t=0;t<n.count;t+=4096)ee(e,n,t,Math.min(n.count,t+4096));return n.channels}function*re(e,t,r){return Ba()?yield*Ua("inspectICC")(e,t,r,{header:$,tags:ee}):te(e,t,r)}function ne(e){let t=new Map;return r=>{if(r<0||r>=e.length)return;let n=65536*Math.floor(r/65536),i=t.get(n);return i||(i=e.subarray(n,Math.min(e.length,n+65536)),t.set(n,i),t.size>8&&t.delete(t.keys().next().value)),i[r-n]}}function ie(e,t){do{let r=t%128;t=Math.floor(t/128),e.push(r+(t?128:0))}while(t)}function oe(e,t=!0){let r=[0,1];ie(r,e.length-128);let n=[];ie(n,e.length),ie(n,r.length);let i=n.length+r.length,o=new Uint8Array(i+(t?e.length:128));o.set(n),o.set(r,n.length);let a=new Uint8Array(128);a.set(e.subarray(0,4)),a[8]=4;for(let[e,t]of[[12,"mntrRGB XYZ "],[36,"acsp"]])for(let r=0;r<t.length;r++)a[e+r]=t.charCodeAt(r);a.set([0,0,246,214,0,1,0,0,0,0,211,45],68),a.set(e.subarray(4,8),80);let l=65===e[40]?"PPL":77===e[40]?"SFT":null;if(l)for(let e=0;e<3;e++)a[41+e]=l.charCodeAt(e);83===e[40]&&(71===e[41]||85===e[41])&&(a[42]=71===e[41]?73:78,a[43]=71===e[41]?32:87);for(let t=0;t<128;t++)o[i+t]=e[t]-a[t]&255;return t&&o.set(e.subarray(128),i+128),o}function ae(e,t,r){let n=w(t),i=r?w(r):null,o=new vo(Math.min(e+128,65536)),a=new Uint8Array(r?42:41);return r&&(a[41]=1),function(e,t){if(t){if(t<=16)return e.write(2,1),void e.write(4,t-1);if(t<=272)return e.write(2,2),void e.write(8,t-17);for(e.write(2,3),e.write(12,t%4096),t=Math.floor(t/4096);t;)e.write(1,1),e.write(8,t%256),t=Math.floor(t/256);e.write(1,0)}else e.write(2,0)}(o,e),B(o,{contextMap:a,...r&&{lz77:{minSymbol:256,minLength:7,lengthConfig:Ra}},histograms:[{config:_a,code:n},...r?[{config:qa,code:i}]:[]]}),{writer:o,code:n,distanceCode:i}}function le(e,t,r,n,i){n?e?(C(e,t.code,Ra,n-7,256),C(e,t.distanceCode,qa,i-1)):(E(Ra,n-7,t.frequencies,256),E(qa,i-1,t.distances)):e?C(e,t.code,_a,r):t.frequencies[r]++}function se(e,t,r,n,i,o){if(i&&o>1048576){let n=e.subarray(r,r+i);for(let e of n)t(e,0,0)}else if(i&&e.length>65536){let n=0;for(;i-n>=7;){let e=Math.min(256,i-n);t(0,e,o),n+=e}for(;n<i;)t(e[r+n++],0,0)}else t(n,i,o)}function me(e,t){let r=0;z(e,(n,i,o)=>{se(e,t,r,n,i,o),r+=i||1},4,7)}function ce({level:e,compression:t="auto"}={}){if(void 0!==e&&5!==e&&10!==e)throw yo("JXL_INPUT","JPEG XL level is 5 or 10.");if(!["auto","prefix","lz77"].includes(t))throw yo("JXL_INPUT","ICC compression is auto, prefix or lz77.");return t}function he(e,{level:t,colorSpace:r,colorEncoding:n}={},i){let o=3===i?0:1;if(void 0!==n){if(!n||"object"!=typeof n||Array.isArray(n)||Object.entries(n).some(([e,t])=>"space"!==e&&void 0!==t))throw yo("JXL_INPUT","With ICC, colorEncoding gives only space.");if(o=new Map([["rgb",0],["gray",1],["xyb",2],["unknown",3]]).get(n.space),void 0===o||1===o!=(1===i))throw yo("JXL_INPUT","ICC colorEncoding.space does not match the channel count.")}let a=t??("cmyk"===r||e.length>4194304?10:5),l=new vo(16);return l.write(2,2),l.writeU32([[0,0],[0,1],[4,2],[6,18]],o),{colorData:l,colorChannels:i,level:a}}function fe(e,t={}){let r,n=ce(t),i=he(e,t,te(e,t.level,t.colorSpace)),o=oe(Uint8Array.from(e)),a=null;if("lz77"!==n)try{a=function(e){let t=new Uint32Array(256);for(let r of e)t[r]++;let r=ae(e.length,t);for(let t of e)le(r.writer,r,t,0,0);return r.writer}(o)}catch(e){if("auto"!==n||"JXL_SIZE"!==e.code)throw e;r=e}if("prefix"!==n)try{let e=function(e){let t=new Uint32Array(320),r=new Uint32Array(64),n={frequencies:t,distances:r};me(e,(e,t,r)=>le(null,n,e,t,r));let i=ae(e.length,t,r);return me(e,(e,t,r)=>le(i.writer,i,e,t,r)),i.writer}(o);(!a||e.bitLength<a.bitLength)&&(a=e)}catch(e){if(!a||"JXL_SIZE"!==e.code)throw e}if(!a)throw r;return{...i,iccData:a}}function*ue(e,t={}){return Ba()?yield*Ua("prepareICC")(e,t,{BitWriter:vo,options:ce,fields:he,inspect:re,transform:oe,matches:z,match:se,model:ae,symbol:le}):fe(e,t)}function de(e,t=!1){if(e.header)return e.header;let r=za.get(e);return r||za.set(e,r=fe(e.icc,{level:e.level,compression:e.compression})),r}function pe(e,t,r,n,i,o={}){return c(e,t,r,n,i,o,de)}function ge(e,t="JXL_JPEG"){return Object.assign(new Error("JPEG: "+e),{code:t})}function Me(e,t,r,n){let i=73===e[t]&&73===e[t+1];if(!i&&(77!==e[t]||77!==e[t+1]))return null;let o=new DataView(e.buffer,e.byteOffset,e.byteLength),a=e=>e+2>r?0:o.getUint16(e,i),l=e=>e+4>r?0:o.getUint32(e,i);if(42!==a(t+2)||l(t+4)<8)return null;let s=t+l(t+4),m=a(s);for(let e=0,t=s+2;e<m&&t+12<=r;e++,t+=12){let e=a(t+8);if(274===a(t)&&3===a(t+2)&&1===l(t+4)&&e>=1&&e<=8)return n?.(t+8,!i),e}return null}function ye(e,t,r){return!(3===e.length&&!t)||(r>=0?0!==r:82!==e[0].id||71!==e[1].id||66!==e[2].id)}function be(e,t){let r=new Uint16Array(65536),n=0,i=0;for(let o=1;o<=16;o++){for(let a=0;a<e[o-1];a++){let e=t[i++],a=n<<16-o,l=1<<16-o;if(a+l>=65536)throw ge("bad Huffman table");r.fill(o<<8|e,a,a+l),n++}n<<=1}return r}function we(e){let t=0;for(let r=1;r<=16;r++){let n=e[r-1];if(n&&(t+n)*(1<<16-r)>=65536)throw ge("bad Huffman table");t=2*(t+n)}}function Le(e){if(e<=.04045)return e/12.92;let t=(e+.055)/1.055,r=1;for(let e=0;e<24;e++)r=(4*r+t/(r*r*r*r))/5;return t*t*r*r}function*Oe(e){return yield*W("icc-space",function*(){let t=e.length,r=t=>e[t]<<8|e[t+1],n=r=>r+4<=t?(e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3])>>>0:0,i=r=>r+4<=t?String.fromCharCode(e[r],e[r+1],e[r+2],e[r+3]):"",o=e=>(0|n(e))/65536,a=n(128);if(t<132||132+12*a>t||"acsp"!==i(36)||"XYZ "!==i(20))return null;let l=function*(e){for(let r=0;r<a;r+=4096){let o=yield*V("icc-space-tags",()=>{for(let o=r;o<Math.min(a,r+4096);o++){let r=132+12*o,a=n(r+4);if(i(r)===e)return a+n(r+8)<=t?a:-1}return-2});if(-2!==o)return o}return-1},s=function*(e){let a=yield*l(e);if(a<0)return!1;if("para"===i(a)){let e=r(a+8),t=[1,3,4,5,7][e];if(3!==e&&4!==e)return!1;for(let e=0;e<t;e++)if(Math.abs(o(a+12+4*e)-(e<5?Qa[e]:0))>(e?.002:.01))return!1;return!0}let s="curv"===i(a)?n(a+8):0;if(s<2||a+12+2*s>t)return!1;for(let e=0;e<s;e+=256)if(!(yield*V("icc-space-curve",()=>{for(let t=e;t<Math.min(s,e+256);t++)if(Math.abs(r(a+12+2*t)/65535-Le(t/(s-1)))>.001)return!1;return!0})))return!1;return Za.every((e,t)=>{let n=t*(s-1)/16,i=Math.floor(n),o=Math.min(s-1,i+1),l=n-i;return Math.abs((r(a+12+2*i)*(1-l)+r(a+12+2*o)*l)/65535-e)<=.001})};for(let e of["A2B0","A2B1","A2B2"])if((yield*l(e))>=0)return null;if("GRAY"===i(16))return(yield*s("kTRC"))?"srgb":null;if("RGB "!==i(16))return null;for(let e of["rTRC","gTRC","bTRC"])if(!(yield*s(e)))return null;let m=[];for(let e of["rXYZ","gXYZ","bXYZ"]){let t=yield*l(e);m.push(...t>=0&&"XYZ "===i(t)?[o(t+8),o(t+12),o(t+16)]:[9,9,9])}let c=e=>e.every((e,t)=>Math.abs(m[t]-e)<=.004);return c(Ya)?"srgb":c(Wa)?"display-p3":null})}function*Ae(e,t=!1,{preserveICC:r=!1,compression:n="auto",bands:i=!1,maxPixels:o=Mo.pixels,allowFourComponents:a=!1}={},l=!0){if(!((e=Q(e)).length>4)||255!==e[0]||216!==e[1])throw ge("not a JPEG");let s=[],m=[[],[]],c=new Set,h={count:0,parts:[]},f=t?[]:null,u=(e,t)=>{let r=m[e][t];return r&&(r.lookup??=be(r.counts,r.symbols))},d=(e,t)=>{let r=m[e][t];return r?{counts:r.counts,symbols:r.symbols}:null},p=null,g=0,M=-1,y=!1,b=null,w=!1,L=2,O=0,A=0,I=t?{bits:[],zero:!1,kernelScans:0}:null,v=t=>e[t]<<8|e[t+1],F=(t,r)=>{for(let n=0;n<r.length;n++)if(e[t+n]!==r.charCodeAt(n))return!1;return!0};for(;;){if(L>=e.length){if(p&&p.scans)break;throw ge("truncated")}if(255!==e[L])throw ge("marker expected");for(;255===e[L];)L++;let t=e[L++];if(++O>16384)throw ge("more than 16384 JPEG markers");if(217===t)break;if(216===t)throw ge("a second start");if(t>=208&&t<=215)throw ge("a restart marker outside a scan");if(1===t)continue;if(L+2>e.length)throw ge("truncated");let r=v(L),n=L+2,N=L+r;if(r<2||N>e.length)throw ge("bad segment");if(L=N,219===t)for(let t=n;t<N;){let r=e[t]>>4,n=15&e[t];if(r>1||n>3||t+1+(r?128:64)>N)throw ge("bad quantisation table");t++;let i=new Int32Array(64);for(let n=0;n<64;n++)if(i[Va[n]]=r?v(t):e[t],t+=r?2:1,!i[Va[n]])throw ge("a zero quantisation step");if(p?.progressive&&p.components.some(e=>e.tq===n&&e.quant&&e.coverage.some(e=>0!==e)&&e.quant.some((e,t)=>e!==i[t])))throw ge("a quantisation table changed between progressive scans");s[n]=i}else if(196===t)for(let t=n;t<N;){if(++A>89)throw ge("more than 89 JPEG Huffman tables");let r=e[t]>>4,n=15&e[t];if(r>1||n>3||t+17>N)throw ge("bad Huffman table");t++;let i=e.subarray(t,t+16),o=0;for(let e of i)o+=e;if(o>256||t+16+o>N)throw ge("bad Huffman table");let a=e.subarray(t+16,t+16+o);we(i),m[r][n]={counts:i,symbols:a,lookup:null},0===r&&(a.some(e=>e>15)?c.add(n):c.delete(n)),t+=16+o}else if(192===t||193===t||194===t){if(p)throw ge("two frames");if(N-n<6)throw ge("bad frame header");if(8!==e[n])throw ge("only 8-bit samples");let r=v(n+1),l=v(n+3),s=e[n+5];if(!l||!r)throw ge("a height left to a DNL marker");if(4===s&&!a)throw ge("four-component CMYK or YCCK JPEG cannot be preserved by JPEG XL reconstruction; decode its pixels instead");if(1!==s&&3!==s&&(!a||4!==s))throw ge("only gray, RGB/YCbCr or four-component CMYK/YCCK JPEGs");if(N-n<6+3*s)throw ge("bad frame header");if(l>Mo.edge||r>Mo.edge)throw ge("a picture past "+Mo.edge+" pixels on a side","JXL_DIMENSIONS");let m=Math.min(Mo.pixels,o);if(l*r>m)throw ge("a picture past "+m+" pixels","JXL_DIMENSIONS");let c=[];for(let t=0,r=n+6;t<s;t++,r+=3){let t=e[r+1]>>4,n=15&e[r+1],i=e[r+2];if(t<1||t>4||n<1||n>4)throw ge("bad sampling");if(i>3)throw ge("bad quantisation table");if(c.some(t=>t.id===e[r]))throw ge("two components with one id");c.push({id:e[r],h:t,v:n,tq:i,pred:0,coverage:new Int8Array(64).fill(-1)})}let h=Math.max(...c.map(e=>e.h)),f=Math.max(...c.map(e=>e.v)),u=Math.ceil(l/(8*h)),d=Math.ceil(r/(8*f)),g=c.reduce((e,t)=>e+Math.ceil(l/(8*h))*t.h*Math.ceil(r/(8*f))*t.v*128,0),M=!!i&&(194!==t||Ba())&&g>(i.from??0);for(let e of c)e.blocksW=Math.ceil(Math.ceil(l*e.h/h)/8),e.blocksH=Math.ceil(Math.ceil(r*e.v/f)/8),e.stride=u*e.h,e.rows=d*e.v;if(8*(e.length-N)<c.reduce((e,t)=>e+t.blocksW*t.blocksH,0))throw ge("a scan cut short");for(let e of c)M?(e.dc=new Int16Array(e.stride*e.rows),e.natural=new Uint32Array(64),e.coeffs=null,e.row0=-1,194===t&&(e.parts=[])):e.coeffs=new Int16Array(e.stride*e.rows*64);p={progressive:194===t,width:l,height:r,components:c,hmax:h,vmax:f,mcusX:u,mcusY:d,scans:0,bands:M?[]:null,packedLimit:i?.packed??al}}else{if(195===t||t>=197&&t<=199||t>=201&&t<=203||t>=205&&t<=207)throw ge("lossless, hierarchical or arithmetic coding");if(221===t){if(r<4)throw ge("bad segment");g=v(n)}else{if(220===t)throw ge("a DNL marker");if(218===t){if(!p)throw ge("a scan before the frame");let t=e[n],r=[];if(t<1||t>4||n+1+2*t+3>N)throw ge("bad scan header");let i=n+1;for(let n=0;n<t;n++,i+=2){let t=p.components.find(t=>t.id===e[i]);if(!t)throw ge("a scan of an unknown component");if(r.some(e=>e.component===t))throw ge("a component twice in one scan");if(t.quant||(t.quant=s[t.tq]),!t.quant)throw ge("a scan without its quantisation table");let n=e[i+1]>>4,o=15&e[i+1];if(n>3||o>3)throw ge("a scan table selector above 3");r.push({component:t,dc:u(0,n),ac:u(1,o),dcSlot:n,tables:[d(0,n),d(1,o)]})}if(t>1&&r.reduce((e,t)=>e+t.component.h*t.component.v,0)>10)throw ge("bad sampling");let o=e[i],a=e[i+1],m=e[i+2]>>4,h=15&e[i+2];if((!p.progressive||0===o&&0===m)&&r.some(e=>c.has(e.dcSlot)))throw ge("bad Huffman table");let M=f?{resets:[],zeros:[]}:null;L=yield*xe(e,N,p,r,o,a,m,h,g,M,I,l),M&&f.push(M),p.scans++}else if(224===t)F(n,"JFIF")&&(y=!0);else if(225===t)F(n,"Exif")&&0===e[n+4]&&(b??=Me(e,n+6,N));else if(226===t)if(r>=16&&F(n,"ICC_PROFILE\0")){let t=e[n+12],r=e[n+13];if(!t||!r||t>r||h.count&&h.count!==r||h.parts[t])throw ge("a color profile cut short");h.count=r,h.parts[t]=Q(e,n+14,N)}else r>=35&&F(n,"urn:iso:std:iso:ts:21496:-1\0")&&(w=!0);else 238===t&&r>=14&&F(n,"Adobe")&&(M=e[n+11])}}}if(!p||!p.scans)throw ge("no picture");if(I?.zero&&I.kernelScans)return yield*Ae(e,t,{preserveICC:r,compression:n,bands:i,maxPixels:o,allowFourComponents:a},!1);for(let e of p.components)for(let t=0;t<64;t++)if(0!==e.coverage[t])throw ge(p.progressive?"a progressive JPEG whose scans do not finish every coefficient":"a component without its scan");if(p.progressive&&p.bands&&(yield*Ua("jpegSummary")(p)),4===p.components.length&&h.count&&a)throw ge("CMYK/YCCK JPEG with an ICC profile needs a color-managed pixel decoder; pass its decoded RGBA.","JXL_UNSUPPORTED");let N,x,k,E="srgb";h.count&&({colorSpace:E,profile:N,iccBytes:x,renderingIntent:k}=yield*W("jpeg-profile",function*(){let e=[];for(let t=1;t<=h.count;t++){if(!h.parts[t])throw ge("a color profile cut short");e.push(h.parts[t])}let i=Ba()?Ja(e):new Uint8Array(e.reduce((e,t)=>e+t.length,0));if(!Ba())for(let t=0,r=0;t<e.length;r+=e[t].length,t++)i.set(e[t],r);let o=1===p.components.length?"gray":4===p.components.length?"cmyk":"rgb",a=i.length>=4?(i[0]<<24|i[1]<<16|i[2]<<8|i[3])>>>0:0,l=a>=132&&a<i.length?Q(i,0,a):i;try{if((yield*re(l,void 0,t&&!r&&w&&"gray"===o?void 0:o))!==p.components.length)return{colorSpace:"srgb",profile:void 0};let e=yield*Oe(l),i=r||!e;return{colorSpace:e||"srgb",profile:i?yield*ue(l,{compression:n,colorSpace:o}):void 0,iccBytes:e?void 0:l,renderingIntent:i?void 0:tl(l)}}catch(e){throw"JXL_INPUT"===e.code?ge("invalid or incompatible color profile: "+e.message):e}}));let C=ye(p.components,y,M);return{...p.bands?Ne(e,p):{},end:L,width:p.width,height:p.height,components:p.components,progressive:p.progressive,ycbcr:C,adobeTransform:M,orientation:b??1,colorSpace:E,...k&&"relative"!==k&&{renderingIntent:k},...N?{profile:N,level:N.level}:{},...x?{iccBytes:x}:{},...f?{scanChoices:f}:{},...I?.zero?{padding:Uint8Array.from(I.bits)}:{}}}function Ie(e,t,r,n,i,o){if(!e.progressive){if(0!==r||63!==n||0!==i||0!==o)throw ge("a bad spectral selection");for(let e of t){if(e.component.coverage.some(e=>-1!==e))throw ge("a component coded twice");e.component.coverage.fill(0)}return}if(o>13||i&&i!==o+1)throw ge("a bad successive approximation");if(0===r){if(0!==n)throw ge("a bad spectral selection");for(let{component:e}of t){if(e.coverage[0]!==(i||-1))throw ge(i?"a refinement scan out of order":"a DC scan twice");e.coverage[0]=o}return}if(1!==t.length)throw ge("an interleaved AC scan");if(n>63||r>n)throw ge("a bad spectral selection");let{coverage:a}=t[0].component;if(-1===a[0])throw ge("an AC scan before the DC scan");for(let e=r;e<=n;e++){if(a[e]!==(i||-1))throw ge(i?"a refinement scan out of order":"a band coded twice");a[e]=o}}function ve(e,t,r,n,i,o){let a=1===t.length,l=t[0].component;for(let s=r;s<n;s++){if(i?.(s),a){let e=s/l.blocksW|0;o(t[0],e*l.stride+s-e*l.blocksW);continue}let r=s/e.mcusX|0,n=s-r*e.mcusX;for(let e of t){let t=e.component;for(let i=0;i<t.v;i++)for(let a=0;a<t.h;a++)o(e,(r*t.v+i)*t.stride+n*t.h+a)}}}function Fe(e,t,r,n,i,o,a){ve(t,r,n,i,t=>{o&&t>0&&t%o===0&&e.restart(t/o-1),e.ensure()},a||((t,r)=>e.block(t,t.component.coeffs,64*(r-(0|t.component.row0)*t.component.stride))))}function Ne(e,t){let r=t.components,n=Math.ceil(t.mcusY/(32/t.vmax));for(let{scan:e}of t.bands)for(let t of e)void 0===t.dc&&(t.dc=t.tables[0]&&be(t.tables[0].counts,t.tables[0].symbols)),void 0===t.ac&&(t.ac=t.tables[1]&&be(t.tables[1].counts,t.tables[1].symbols));for(let e of r)e.band=new Int16Array(32*e.v/t.vmax*e.stride*64);let i={bits:[],zero:!1},o=-1,a=n=>{if(n!==o){t.progressive&&Ga(r.flatMap(e=>e.parts.slice(32*n/t.vmax,Math.min(t.mcusY,32*(n+1)/t.vmax)))),o=n;for(let e of r)e.coeffs=e.band,e.row0=n*(32*e.v/t.vmax),e.band.fill(0);if(t.progressive){for(let e of r)for(let r=32*n/t.vmax;r<Math.min(t.mcusY,32*(n+1)/t.vmax);r++)e.band.set(e.parts[r],(r*e.v-e.row0)*e.stride*64);return}for(let{scan:r,restartInterval:o,points:a,total:l,packed:s}of t.bands){let m=a[n],c=Math.min(l,m?.unit+ol(t,r));if(!m)continue;if(s){let{counts:e,at:i,levels:o}=s[n],a=0,l=0;ve(t,r,m.unit,c,null,({component:t},r)=>{let n=t.coeffs,s=64*(r-t.row0*t.stride);for(let t=e[a++];t>0;t--,l++)n[s+i[l]]=o[l]});continue}let h=a[n+1],f=e.subarray(m.pos,h?Math.min(e.length,h.pos+rl+8):e.length),u=new nl(f,0,t,r,0,63,0,0,null,i);u.load(),u.bit=m.bit,i.bits.length=0,r.forEach((e,t)=>{e.component.pred=m.preds[t]}),Fe(u,t,r,m.unit,c,o,null)}}};return{band:a,*rows(){for(let e=0;e<n;e++)a(e),yield{components:r.map(e=>({coeffs:e.coeffs,row0:e.row0}))}},bandFrame:t}}function*xe(e,t,r,n,i,o,a,l,s,m,c,h){if(Ie(r,n,i,o,a,l),r.progressive&&r.bands)return yield*Ua("jpegProgressive")(e,t,r,n,i,o,a,l,s,m,c,{ScanReader:nl,readUnits:Fe,finishScan:ke});let f=1===n.length,u=n[0].component,d=f?u.blocksW*u.blocksH:r.mcusX*r.mcusY,p=r.progressive||!h||r.bands?null:Ia.entropy?.()?.sequentialDecode(e,t,r,n,s,Va);if(p){if(c&&c.kernelScans++,m)for(let[e,t]of p.zeros)m.zeros.push({block:e,count:t});return ke(e,p.pos,d,s,m)}let g=new nl(e,t,r,n,i,o,a,l,m,c);for(let e of n)e.component.pred=0;g.load();let M=r.bands,y=M?ol(r,n):d,b=[],w=new Int16Array(64),L={scan:n,restartInterval:s,points:b,total:d,packed:!1===r.packed?null:[]},O=new ll(Uint8Array),A=new ll(Uint8Array),I=new ll(Int16Array),v=M&&((e,t)=>{g.block(e,w,0);let r=e.component,n=r.natural,i=L.packed;r.dc[t]=w[0];let o=0;for(let e=0;e<64;e++)w[e]&&(n[e]++,i&&(A.push(e),I.push(w[e]),o++),w[e]=0);i&&O.push(o)});M&&M.push(L);let F=e=>{if(M&&b.push({unit:e,...g.here(),preds:n.map(e=>e.component.pred)}),Fe(g,r,n,e,Math.min(d,e+y),s,v),!L.packed||!M)return null;let t={counts:O.take(),at:A.take(),levels:I.take()};if(r.packedBytes=(r.packedBytes||0)+t.counts.length+3*t.at.length,r.packedBytes<=r.packedLimit)return L.packed.push(t),null;r.packed=!1;for(let e of M)e.packed=null;return null},N=()=>({...g.here(),preds:n.map(e=>e.component.pred),block:g.blockIndex,points:b,dc:n.map(e=>e.component.dc),natural:n.map(e=>e.component.natural),packed:L.packed,packedBytes:r.packedBytes??0,resets:m?.resets??null,zeros:m?.zeros??null,padding:c&&{bits:c.bits,zero:c.zero}});for(let e=0;e<d;e+=y){if(!M){F(e);continue}let t=yield*Y("scan-"+r.scans,()=>F(e),N);null===t||t===Ha||(g.pos=t.pos,g.load(),g.bit=t.bit,g.blockIndex=t.block,n.forEach((e,r)=>{e.component.pred=t.preds[r],e.component.dc.set(t.dc[r]),e.component.natural.set(t.natural[r])}),b.length=0,b.push(...t.points),L.packed=t.packed,r.packedBytes=t.packedBytes,m&&(m.resets=t.resets,m.zeros=t.zeros),c&&(c.bits=t.padding.bits,c.zero=t.padding.zero))}return g.atMarker(!0),ke(e,g.pos,d,s,m)}function ke(e,t,r,n,i){if(255===e[t]&&e[t+1]>=208&&e[t+1]<=215){if(!n||r%n||e[t+1]!==208+(r/n-1&7))throw ge("a restart marker out of order");for(i&&(i.finalRestart=e[t+1]),t+=2;t+1<e.length&&255===e[t]&&255===e[t+1];)t++}if(t<e.length&&!(255===e[t]&&t+1<e.length&&0!==e[t+1]&&255!==e[t+1]))throw ge("bytes left over after a scan");return t}function Ee(e){if(e&&(Hl=e),Io)return Io;Io=null;try{let e,t,r,n,i,o,{exports:a}=new WebAssembly.Instance(q("jpeg",()=>ca("M,> LMMML³LQ-L2L2-L2M-O22M-L2L1-ML2-MM-N222L2-N222M-L1L1-O22L1-O22L2-K222222L1-O21L2-D221222222L2-I2222L2-K222222L2-I2222M-F22222212222L2-G2222222222L2-N221L1-A222222222222L2-G2222222222M-G2222222220M-N666L6-B222222222222222M-J2222222M-A222222222221L1-F22222222222MNspEEHMNNADKLOM@OICOMJLIHIMMGIHGOKMNDJLMLLKB]\\MMNFF_^YXLO[ZUTJWVHNLMmK'X3LMF2L:MF2L:MF2L:MF2L:MF3LMF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MFJOPK ( \"?4OMD$#$9,/!(MOH9(? >MHE>(()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NMmXmM:G9'mZmM:O9'eOMm@eOMm@eOImPmE]bítNMmL:L'lLmO:L'lOALFF:MlON\rmO:I\vmLmO\v?\bI\r:2lM:MlNN\rmLmN\nI\rmNm]'`MM\bI\rmM:MmTmN:N9'fNMmo.?I\rmTmN:N9'fNMlomNlMFFmN:L'lNALFFmMm]':LwMMmFmYmQmM:O9'eOMmImGm^mXm[mZmU]~mY:L'lYmO:L'lOALFFmDm]'`MM\bmD:M<I2mFmYmDmImGm^mXm[mZmU]~mY:L'HmYFFËLMmMmL:U!'lMmOmNI\rmMmImO:D9'{OMmM:ÍL{OImMmO{OEmMmHmO:I9'fNEtN]HmMmKmOmN&oL:G9'{OMmMmEmL:O9'eOM{OImMmNmJmL:O9'eOM'{OEmMmDmL:N9'fNMtN]FF©LLK6mMmM°MIMoLmM°MI]oO°@MLON]\\_^IHKJYX[ZoNmM°MImoImM°MI}oH°@MLON]\\_^IHKJYX[ZoK°@MLONIHKJ]\\_^YX[Z°FIMmMmNmK°@EDGFA@CBUTWVQPSR°FI]mMmLmO°@EDGFUTWVA@CBQPSRoLmImH°@EDGFUTWVA@CBQPSRoO°@MLONIHKJ]\\_^YX[Z°FImmMmLmO°@EDGFA@CBUTWVQPSR°FI}FðELB6°A¾Iøs¾Iøs¾Iøs¾IøslOmL°MIMlNmM:L\vI\rmLmNmO°«L°FIMBFmL°MI]lImM:O\vI\rmLmNmI°©LmO°«L°FIMmLmNmI°¨LmO°«L°FI]BFmL°MImlHmL°MI}lJmM:I\vI\rmLmNmH°©LmO°«Lo@mI°AΡsΡsΡsΡsoE°«LmJ°AX¢sX¢sX¢sX¢soD°«L°©LoG°©L°FIMmLmNmH°¨LmO°«LoNmImD°«LmJmE°«L°¨LoK°©L°FI]mLmNmK°¨L°FImmLm@mG°¨L°FI}BFmL°MI\rlKmL°MIlFmM:K\vI\rmLmNmO°«LmK°AMMÍsMMÍsMMÍsMMÍs°«L°©LoEmH°Aþsþsþsþs°«LoA°©Lo@mI°A§\vºs§\vºs§\vºs§\vºsoD°«LmJmO°«L°©LmF°A£ÎIs£ÎIs£ÎIs£ÎIsoH°«L°©LoG°©L°FIMmLmNmO°«LmK°AMMMrMMMrMMMrMMMr°«L°¨LoNmImJ°¨LmF°¨LmO°«LoK°©L°FI]mLmEmA°¨LoCmImH°«LmJmO°«L°¨LmFmD°«L°©LoO°©L°FImmLmCmO°¨L°FI}mLmNmK°¨L°FI\rmLm@mG°¨L°FIBFmNmK°©LmO°«LoEmH°AΡsΡsΡsΡs°«LmL°MI-oG°AX¢sX¢sX¢sX¢s°«L°©LoA°©Ll@mEmA°¨Ll]mNmK°¨LmO°«LoDmH°AX¢sX¢sX¢sX¢s°«LmG°AΡsΡsΡsΡs°«L°¨LoH°©LlNmDmH°¨LlCmLm@mI°AóY¶sóY¶sóY¶sóY¶soE°«LmJ°A|s|s|s|soD°«L°©LmF°AtÃstÃstÃstÃsoA°«LmL°MI=oB°AppppoH°«L°©L°©LoG°©L°FIMmLmNmImD°«LmJmH°«L°¨LmFmE°«LmBmA°«L°©L°¨LoK°©L°FI]mLmCmImA°«LmJmE°«L°¨LmFmH°«LmBmD°«L°©L°©LoO°©L°FImmLm]mImH°«LmJmA°«L°¨LmFmD°«L°©LmBmE°«L°¨LoI°©L°FI}mLm]mI°¨L°FI\rmLmCmO°¨L°FImLmNmK°¨L°FI-mLm@mG°¨L°FI=FéDNJ2O6L0mD°^l_mLgOMMMMsÙl^N\rmNmBI\r:MlAN\rmOmAI\rmMmImB!mA':J9'lFmHmK?:L\vI\rmJmEmB!mA':O9'mFcLMÿm^ÙmDßuOMHmF°MIM:M°WMl\\:LlGN\rmKmGI\rm\\mFmG:I9'°MIM°l\\mG:L'lGALFFm\\°I\rmK:N<I\r:ÝÛi°AMMMMMMMMMMMMMMMM°FIM:íÛi°AMMMMMMMMMMMMMMMM°FIM:ýÛi°AMMMMMMMMMMMMMMMM°FIM:Ûi°AMMMMMMMMMMMMMMMM°FIM:½Ûi°AMMMMMMMMMMMMMMMM°F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mNmB:L9'°MI]°øL°AMIMMMIMMMIMMMIMM°ãL:F°áL°üLlAm@m@°AMMMM²²²²²²²²²²²²°mBVo@°AMÍMMMÍMMMÍMMMÍMM°ãL°A²²MM²²MM²²MM²²MM°qmA°AMÍMMMÍMMMÍMMMÍMM°ãL°A²²MM²²MM²²MM²²MM°q°°I\r\tM
* æBFm\\mIm@°íL:N°æLo@°VM'fNMímIm@°VL'fNMímIm@°VO'fNMímIm@°VN'fNMímImA°íL:N°æLoA°VM'fNMímImA°VL'fNMímImA°VO'fNMímImA°VN'fNMíl\\FmB:]'oB:ÍL@MFmFm\\(I\rm\\BFmG:L'oGmHmGmE:E'<@MFmO:L'oOmKmOmD:E'<@MFm\\FÉHNJ2O1O6:IlFN\rmNmF'mOmF'eOM:F9mOmF'eOÍO#{OMmF:I'oF:ÍO@MFmG\bI\rmH\tMMMMMMMMtNM:LlFN\rmHmF:N9'mF:L':N9fNMmF:L'õî\tMMMMMMM\rítNMmF:L'oF:ÍÍO\0@MFFN\r:Ml@N\rmKm]'aMMlOmG\bI\r:MlOmMmLmNmImHmJmEmDm@mC:M\tM
* æ]vl_:í2lFN\rmFI\rmMmLmNmImHmJmEmDm@mCmFm_]vo^m_.I\rm^l_mFlOFFmF:K'oF:M@MFmO:H&lFN\rmF:ÍL':²L\0I\rmMmLmNmImHmJmEmDm@mCmFm_]vo^m_.I\rm^l_mFlOFFmF:L'oFmO:H'@MFmKm]'mOwMMFmOI\rmNmImO]wm@lOmClBN\rmOlFN\rmDmB!mF':J9l\\:MlAN\rmLmAm\\''mLmAm\\''°MIMoY°êLmMmAm\\''°MIMoX°êLmImA:L9'°MIM°øL°AMIMMMIMMMIMMMIMM°ãL:F°áL°üLmY°åLmX°åLmImA:L9'°MI]°øL°AMIMMMIMMMIMMMIMM°ãL:F°áL°üL°ÈL°FIMmA:]'oA:ÍL@MFmF:L'oFmJmFmO:E'<@MFmB:L'oBmEmBmC:E'<@MFFm]:L'l]m@:E'o@mJ@MFmC:E'oCmE@MFF"))),l=a.memory,s=()=>{e=new Float64Array(l.buffer),t=new Uint32Array(l.buffer),r=new Uint8Array(l.buffer),n=new Int16Array(l.buffer),i=new Int32Array(l.buffer),o=new Uint16Array(l.buffer)};s();let m=e=>{if(e>Bl)throw yo("JXL_MEMORY","Past the arena charge.");l.grow(Math.ceil((e-l.buffer.byteLength)/65536))},c=e=>{e>l.buffer.byteLength&&(m(e),s())},h=null,f=null,u=null,d=!1,p=(e,n)=>{e.at+n+8>=e.bytes.length&&e.grow(n+8),e.bytes.set(r.subarray(gl,gl+n),e.at),e.at+=n,e.acc=t[cl>>2],e.pending=t[148097]};a.initTable(),Io={memoryBytes:()=>l.buffer.byteLength,fitCfl(e,i,o,s,m,h,d,p,g){f=null,u=null;let M=xl,y=M+512,b=y+256,w=b+256,L=12145672,O=L+2*e.length,A=O+2*i.length;c(A+p.length),t.set(o,M>>2),t.set(s,2970688),n.set(e,L>>1),n.set(i,O>>1),r.set(new Uint8Array(p.buffer,p.byteOffset,p.length),A),a.fitCfl(L,O,M,y,b,w,A,m,h,d,g),i.set(n.subarray(O>>1,(O>>1)+i.length)),p.set(new Int8Array(l.buffer,A,p.length))},clusters:256,flatten:Ue,row(r,n,i){t.set(n,(sl>>2)+64*r),e[73728+r]=i,a.terms(r)},own(e){t.set(e,147968)},alive(e,t){r[ml+e]=t?1:0},priceConfigs(n,i,o,{symbolBits:c,logLengths:h}){let d=n.length,p=o.length,g=xl,M=g+8*c.length,y=M+16,b=y+16*p,w=b+768,L=w+512,O=L+16,A=O+4*d,I=A+4*d;I>l.buffer.byteLength&&(m(I),s(),f=null),u=null,f!==o&&(e.set(c,g>>3),r.set(h,M),o.forEach((e,r)=>t.set([e.split,e.msb,e.lsb,e.splitToken],(y>>2)+4*r)),f=o),t.set(n,O>>2),t.set(i,A>>2);let v=a.priceConfigs(O,A,d,y,p,g,M,b,w,L);return v<0?null:{index:v,tokens:t.slice(w>>2,128+(w>>2)),raw:e[L>>3],cost:e[1+(L>>3)]}},priceEvery(n,i,o,c,h,{symbolBits:d,logLengths:p}){let g=n.length,M=o.length,y=c.length,b=xl,w=b+8*d.length,L=w+16,O=L+16*M,A=O+16*y,I=A+4*g,v=I+4*g+7&-8,F=v+(528*M+8*(M+y)+512+1048*y+12*(M+6)+M+6+y)+7&-8,N=F+120;N>l.buffer.byteLength&&(m(N),s(),f=null),(f!==o||u!==c)&&(e.set(d,b>>3),r.set(p,w),[...o,...c].forEach((e,r)=>t.set([e.split,e.msb,e.lsb,e.splitToken],(L>>2)+4*r)),f=o,u=c),t.set(n,A>>2),t.set(i,I>>2);let x=a.priceEvery(A,I,g,L,M,O,y,h,b,w,v,F),k=[];for(let r=0;r<x;r++){let n=(F>>2)+6*r,i=t[n]>>2,a=t[n+2];k.push({candidate:a<M?o[a]:c[a-M],tokens:t.slice(i,i+t[n+1]),raw:e[(F>>3)+3*r+2]})}return k},seedBest(t,r){return[a.seedBest(t,r),e[74048]]},seedAll(r,n,i,o,c,h=[]){f=null;let u=r.length,d=xl,p=d+256*u,g=p+256,M=g+(4*(u+1)+7&-8),y=M+512*u,b=y+(4*(u+1)+7&-8),w=0;for(let e of r)if(n.large[e])for(let t of n.large[e].keys())w++;let L=b+4*u,O=L+8*w;O>l.buffer.byteLength&&(m(O),s());for(let e=0;e<64;e++)t[(p>>2)+e]=i(e);let A=0;for(let e=0;e<u;e++){let o=r[e];if(t.set(n.small.subarray(64*o,64*o+64),(d>>2)+64*e),t[(g>>2)+e]=A,n.large[o])for(let[e,r]of n.large[o])t[(L>>2)+2*A]=i(e),t[(L>>2)+2*A+1]=r,A++}t[(g>>2)+u]=A;let I=a.seedAll(u,d,g,L,p,o,c,M,y,b,h.length),v=h.slice();for(let e=0;e<u;e++){let n=t[(b>>2)+e];n===v.length?v.push({contexts:[r[e]],freqs:null,bits:0,last:0,cost:-1}):v[n].contexts.push(r[e])}for(let r=0;r<I;r++)v[r].freqs=t.slice((sl>>2)+64*r,(sl>>2)+64*r+64),v[r].bits=e[73728+r];let F=t.slice(y>>2,(y>>2)+u+1);return{clusters:v,offsets:F,runs:t.slice(M>>2,(M>>2)+2*F[u])}},pairsInit:e=>{r.fill(1,ml,ml+e),a.pairsInit(e)},pairsUpdate:(e,t)=>a.pairsUpdate(e,t),pairMin(r){return[a.pairMin(r),t[cl>>2],e[74049]]},assign(r,i,o){f=null;let c=r.offsets.length-1,h=i.length,u=xl,d=u+512*h,p=d+8*h,g=p+8*h,M=g+4*(c+1),y=M+4*r.pairs.length,b=y+(c*h*2+7&-8);b>l.buffer.byteLength&&(m(b),s());for(let t=0;t<h;t++)e.set(i[t],(u>>3)+64*t);return e.fill(0,d>>3,(d>>3)+2*h),t.set(r.offsets,g>>2),t.set(r.pairs,M>>2),[a.assign(c,h,o,g,M,u,y,d,p),n.subarray(y>>1,(y>>1)+c*h)]},fill:function(e,l,s,m){let{authoredOrderPasses:h,groupsX:f,progression:u,contexts:p,lumaBuckets:g,lumaW:M,xsizeBlocks:y,ysizeBlocks:b,comps:w,grey:L,orders:O,counted:A,blockCounts:I,nonZero:v,hshifts:F,vshifts:N}=e;if(u||v||p.map.length>2560)return null;let x=w.some((e,t)=>!(L&&1!==t)&&e.coeffs instanceof Int32Array)?1:0,k=x?El:5897216,E=x?Cl:6290432,C=x?Jl:6683648;c(x?Jl+4*kl:vl);let J=x?i:n;i.set(m,1466112),i.set(p.map,1463360);let U=h?.[s],B=l%f*32,H=32*(l/f|0),K=Math.min(32,y-B),T=Math.min(32,b-H),G=[0,1,2].map(e=>Math.ceil(K/(1<<F[e]))),D=Math.ceil(K/(1<<F[1]));i.set([K,T,p.numCtxs,p.numDc,p.thresholds.length>0?1:0,A?1:0,L?1:0,...F,...N,D,...G],1463296);for(let e=0;e<3;e++){if(i.set(U?.ordinary?.[e]||O[e],1465920+64*e),L&&1!==e)continue;let{coeffs:t,stride:n}=w[e],o=G[e],a=Math.ceil(T/(1<<N[e])),l=B>>F[e],s=H>>N[e],m=(k>>1+x)+65536*e,c=w[e].row0>0?w[e].row0*n:0;for(let i=0;i<a;i++){let a=(s+i)*n+l;J.set(t.subarray(64*(a-c),64*(a-c+o)),m+i*o*64),A&&r.set(I[e].subarray(a,a+o),Ml+1024*e+i*o)}}if(p.thresholds.length>0){let e=Math.ceil(T/(1<<N[1])),t=B>>F[1],n=H>>N[1];for(let i=0;i<e;i++)r.set(g.subarray((n+i)*M+t,(n+i)*M+t+D),5880832+i*D)}let P=a.fill(k,E,C,x);if(!A)for(let e=0;e<3;e++){if(L&&1!==e)continue;let{stride:t}=w[e],n=G[e],i=Math.ceil(T/(1<<N[e])),o=B>>F[e],a=H>>N[e];for(let l=0;l<i;l++)I[e].set(r.subarray(Ml+1024*e+l*n,Ml+1024*e+(l+1)*n),(a+l)*t+o)}d=1===x;let S=[P,o.subarray(E>>1,(E>>1)+P),x?t.subarray(C>>2,(C>>2)+P):o.subarray(C>>1,(C>>1)+P)];return x&&(S.wide=!0),S},sequentialScan(e,o,l,s,m,f,u,d){let p=o.reduce((e,t)=>e+t.v*t.stride,0);if(o.length>4||p>3072||f.size>65536||u&&u.bits.length>65536||e.pending)return!1;c(vl);let g=[...f].sort((e,t)=>e[0]-t[0]);g.forEach(([e,r],n)=>{t[(wl>>2)+2*n]=e,t[(wl>>2)+2*n+1]=r}),u&&u.bits.forEach((e,t)=>{r[3170848+t]=0===e||1===e?e:255}),i.set(d,661576),o.forEach((e,t)=>{i.set(e.dc,(bl>>2)+514*t),i.set(e.ac,(bl>>2)+514*t+257)}),h=null,a.scanStart(u?u.at:0);let M=Math.floor(3072/p);for(let t=0;t<s;t+=M){let c=Math.min(M,s-t);i.set([o.length,l,c,m,u?u.bits.length:-1,0,g.length],yl>>2);let h=3236384;o.forEach((e,r)=>{let o=t*e.v*e.stride*64,a=Math.min(e.co.length,(t+c)*e.v*e.stride*64);n.set(e.co.subarray(o,a),h>>1),i.set([e.h,e.v,e.stride,h,e.index],659464+8*r),h+=c*e.v*e.stride*128});let f=a.scanBand();if(f<0)return null;e.chunk(r.subarray(gl,gl+f))}return e.acc=t[659512],e.pending=t[659513],u&&(u.at=t[659463]),!0},sequentialDecode(e,c,f,u,d,p){let g=1===u.length,M=u[0].component,y=e.length-c,b=[],w=e=>{let t=b.indexOf(e);return t<0&&(t=b.length,b.push(e)),t},L=u.map(e=>({c:e.component,h:g?1:e.component.h,v:g?1:e.component.v,dc:e.dc,ac:e.ac}));if(u.length>4||L.some(e=>!e.dc||!e.ac))return null;let O=L.map(e=>[w(e.dc),w(e.ac)]),A=L.reduce((e,t)=>e+t.v*t.c.stride,0),I=Math.floor(1656/A);if(b.length>8||!I)return null;let v=Il+y+15&-16,F=v+524288;if(F>l.buffer.byteLength){if(F>Ul)return null;try{m(F)}catch{return null}s()}h=null;try{b.forEach((e,t)=>o.set(e,65536*t)),r.set(e.subarray(c),Il),i.set(p,262208);let l=g?M.blocksW*M.blocksH:f.mcusX*f.mcusY,s=g?M.blocksW:f.mcusX;i.set([L.length,f.mcusX,l,d,g?1:0,y,M.blocksW,0,v],Ol>>2),a.decodeStart();for(let e=0;e*s<l;e+=I){i[262151]=e;let t=Al;if(L.forEach((e,r)=>{i.set([e.h,e.v,e.c.stride,131072*O[r][0],131072*O[r][1],r,t],262160+8*r),t+=I*e.v*e.c.stride*128}),!a.decodeBand(Math.min(l,(e+I)*s),t-Al))return null;t=Al;for(let r of L){let i=e*r.v*r.c.stride*64,o=Math.min(r.c.coeffs.length,(e+I)*r.v*r.c.stride*64);r.c.coeffs.set(n.subarray(t>>1,(t>>1)+o-i),i),t+=I*r.v*r.c.stride*128}}L.forEach((e,t)=>{e.c.pred=i[262200+t]});let m=[];for(let e=0,r=t[262155];e<r;e++)m.push([t[(v>>2)+2*e],t[(v>>2)+2*e+1]]);return{pos:c+t[262154],zeros:m}}finally{a.initTable(),F>vl&&r.fill(0,vl,Math.min(Fl,F))}},scaledDecode(e,n,c,f,u,d,p,g,M=1){let y=1===f.length,b=f[0].component,w=e.length-n,L=[],O=e=>{let t=L.indexOf(e);return t<0&&(t=L.length,L.push(e)),t},A=f.map(e=>({c:e.component,h:y?1:e.component.h,v:y?1:e.component.v,dc:e.dc,ac:e.ac}));if(f.length>4||A.some(e=>!e.dc||!e.ac))return null;let I=A.map(e=>[O(e.dc),O(e.ac)]);if(L.length>8)return null;let{mxY:v,myY:F,mxC:N,myC:x,outW:k,outH:E,mode:C,clampW:J,clampH:U,yBias:B,cBias:H}=p,K=c.mcusX,T=c.mcusY,G=A.reduce((e,t)=>e+t.v*t.c.stride,0),D=Math.max(2,Math.min(T,Math.min(16,Math.max(2,Math.floor(16384/Math.max(1,G)))))),P=D*G*128,S=K*A[0].h*v+15&-4,j=A.length>1?K*A[1].h*N+15&-4:16,X=D*A[0].v*F+4,_=A.length>1?D*A[1].v*x+4:4,R=Il+w+63&-64,q=R+131072*L.length+63&-64,z=q+P+63&-64,V=z+1024,Y=V+X*S*4,W=Y+(A.length>1?_*j*4:64),Z=W+(A.length>1?_*j*4:64),Q=Z+8*(J+32)+63&-64,$=X*k*4,ee=M>1&&Q+$+k*E*4<=Ul,te=ee?Q+$+63&-64:0,re=ee?te+k*E*4:Q+$;if(re>l.buffer.byteLength){if(re>Ul)return null;try{m(re)}catch{return null}s()}h=null;let ne=new Float32Array(l.buffer);try{L.forEach((e,t)=>o.set(e,(R>>1)+65536*t)),r.set(e.subarray(n),Il),i.set(d,262208),A.forEach((e,t)=>{let r=z+256*t>>2;for(let t=0;t<64;t++)ne[r+t]=e.c.quant[t]});let l=y?b.blocksW*b.blocksH:K*T,s=y?b.blocksW:K,m=y?b.blocksH:T;i.set([A.length,K,l,u,y?1:0,w,b.blocksW,0,0],Ol>>2),a.decodeStart();let c=2===C||4===C,h=0,f=0,p=0;for(let e=0;e<m;e+=D){let t=Math.min(D,m-e);i[262151]=e;let n=q,o=[];if(A.forEach((e,r)=>{o.push(n),i.set([e.h,e.v,e.c.stride,R+131072*I[r][0],R+131072*I[r][1],r,n],262160+8*r),n+=t*e.v*e.c.stride*128}),!a.decodeBand(Math.min(l,(e+t)*s),n-q))return null;a.idctPlane(o[0],z,A[0].c.blocksW,t*A[0].v,A[0].c.stride,v,F,V+h*S*4,S,B),3===A.length&&(a.idctPlane(o[1],z+256,A[1].c.blocksW,t*A[1].v,A[1].c.stride,N,x,Y+f*j*4,j,H),a.idctPlane(o[2],z+512,A[2].c.blocksW,t*A[2].v,A[2].c.stride,N,x,W+f*j*4,j,H));let u=e*(A[1]?.v??1)*x-f,d=t*A[0].v*F,y=Math.min(h+d,E-p);if(y<=0)break;let b=c&&e+t<m&&p+y<E,w=b?y-1:y;if(w>0&&(a.jpegRgbaRows(V,Y,W,S,j,k,w,C,J,0,p,u,U,Z,Q),ee?a.orientBandRgba(Q,te,k,E,p,w,M):g(p,w,r.subarray(Q,Q+w*k*4)),p+=w),b){r.copyWithin(V,V+w*S*4,V+(w+1)*S*4);let e=f+t*A[1].v*x-1;r.copyWithin(Y,Y+e*j*4,Y+(e+1)*j*4),r.copyWithin(W,W+e*j*4,W+(e+1)*j*4),h=1,f=1}else h=0,f=0}let O=ee?r.slice(te,te+k*E*4):null;return{pos:n+t[262154],oriented:O}}finally{re>vl&&r.fill(0,vl,Math.min(Fl,re))}},async renderGeneralBands(e,t){let o,s=e.components,m=s.length,u=Math.max(...s.map(e=>e.h)),d=Math.max(...s.map(e=>e.v)),{width:p,height:g}=e,M=Math.ceil(g/(8*d)),y=Math.max(1,Math.min(8,Math.floor(131072/Math.max(1,p*d*8))));try{let e=()=>Uint8Array.from(atob("AGFzbQEAAAABHANgCn9/f39/f39/f38AYAV/f39/fwF8YAF8AX8CDwEDZW52Bm1lbW9yeQIAAgMEAwABAgQFAXABAQEGCAF/AUGAiAQLBxMBD2pwZWdHZW5lcmFsUm93cwAACvgLA4sGBAp/BHwDfwJ8QQAhCkEAIAIgA2siCyALIAJLGyEMIAFBAnQhDSAAQdQAaiEOIABBOGohDyAAQRxqIRAgB0EESSERIAhBBUchEgJAA0AgCiAERg0BIAogDEYNASAKIANqIRNBACELIAkhAgJAA0Ag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AAAhCCAAKAIQQX9qIgIhBCAJIAK4Zg0AAkACQCAJRAAAAAAAAPBBYyAJRAAAAAAAAAAAZnFFDQAgCashBAwBC0EAIQQLIARBAWohAiAJIAS4oSEICwJAAkAgBUQAAAAAAAAAAGVFDQBBACEBDAELIAAoAhRBf2oiByEBIAUgB7hmDQACQAJAIAVEAAAAAAAA8EFjIAVEAAAAAAAAAABmcUUNACAFqyEBDAELQQAhAQsgAUEBaiEHIAUgAbihIQYLRAAAAAAAAAAARAAAAAAA4G9AIAAoAgAiAyAAKAIEIgogASAAKAIYIgtrbEECdGoiACAEQQJ0IgRqKgIAIgy7IgUgBUQAAAAAAOBvQGQbIAxDAAAAAF0bIgUgCEQAAAAAAAAAAEQAAAAAAOBvQCAAIAJBAnQiAmoqAgAiDLsiCSAJRAAAAAAA4G9AZBsgDEMAAAAAXRsgBaGioCEFAkAgBkQAAAAAAAAAAGENACAFIAZEAAAAAAAAAABEAAAAAADgb0AgAyAKIAcgC2tsQQJ0aiIAIARqKgIAIgy7IgkgCUQAAAAAAOBvQGQbIAxDAAAAAF0bIgkgCEQAAAAAAAAAAEQAAAAAAOBvQCAAIAJqKgIAIgy7Ig0gDUQAAAAAAOBvQGQbIAxDAAAAAF0bIAmhoqAgBaGioCEFCyAFC18AAkBEAAAAAAAA4D9EAAAAAADgb0AgACAARAAAAAAA4G9AZBtEAAAAAAAA4D+gIABEAAAAAAAAAABjGyIARAAAAAAAAPBBYyAARAAAAAAAAAAAZnFFDQAgAKsPC0EACw=="),e=>e.charCodeAt(0));if(!await R("general",e))throw 0;o=new WebAssembly.Instance(q("general",e),{env:{memory:l}}).exports.jpegGeneralRows}catch{throw yo("JXL_WASM","JPEG layout "+s.map(e=>e.h+"x"+e.v).join("/")+(4===m?" CMYK/YCCK":"")+": WebAssembly sample kernel cannot run in this host.")}let b=1===m?0:3===m?e.ycbcr?1:2:2===e.adobeTransform?5:0===e.adobeTransform?3:4;h=null,f=null;for(let e=0;e<M;e+=y){let h=Math.min(y,M-e),f=Math.max(0,e-1),w=Math.min(M,e+h+1)-f,L=e*d*8,O=Math.min(g-L,h*d*8),A=Ol,I=[];for(let e of s)I.push(A),A+=w*e.v*e.stride*128;let v=A+63&-64;A=v+256*m;let F=[];for(let e of s){let t=8*e.stride+15&-4;F.push({base:A,stride:t}),A+=w*e.v*8*t*4}let N=A+63&-64,x=N+28*m+63&-64;c(x+O*p*4);let k=new Float32Array(l.buffer);for(let e=0;e<m;e++){let t=s[e],o=I[e],l=w*t.v*t.stride*64,m=f*t.v*t.stride*64,c=Math.min(t.coeffs.length,m+l);r.fill(0,o,o+2*l),c>m&&n.set(t.coeffs.subarray(m,c),o>>1);for(let r=0;r<64;r++)k[(v+256*e>>2)+r]=t.quant[r];a.idctPlane(o,v+256*e,t.blocksW,w*t.v,t.stride,8,8,F[e].base,F[e].stride,128),i.set([F[e].base,F[e].stride,t.h,t.v,Math.ceil(p*t.h/u),Math.ceil(g*t.v/d),f*t.v*8],(N>>2)+7*e)}o(N,p,g,L,O,u,d,m,b,x),t(L,O,r.subarray(x,x+O*p*4))}},renderParsedBands(e,t,i){let o=e.components,s=o.length,{mxY:m,myY:f,mxC:u,myC:d,outW:p,outH:g,mode:M,clampW:y,clampH:b,yBias:w,cBias:L,mcusX:O,mcusY:A}=t,I=o.reduce((e,t)=>e+t.v*t.stride,0),v=Math.max(2,Math.min(A,Math.min(16,Math.max(2,Math.floor(16384/Math.max(1,I)))))),F=v*I*128,N=O*o[0].h*m+15&-4,x=s>1?O*o[1].h*u+15&-4:16,k=v*o[0].v*f+4,E=s>1?v*o[1].v*d+4:4,C=Ol,J=C+F+63&-64,U=J+1024,B=U+k*N*4,H=B+(s>1?E*x*4:64),K=H+(s>1?E*x*4:64),T=K+8*(y+32)+63&-64,G=T+k*p*4;c(G);let D=new Float32Array(l.buffer);h=null;try{o.forEach((e,t)=>{let r=J+256*t>>2;for(let t=0;t<64;t++)D[r+t]=e.quant[t]});let e=2===M||4===M,t=0,l=0,c=0;for(let h=0;h<A;h+=v){let O=Math.min(v,A-h),I=C,F=[];for(let e of o){F.push(I);let t=h*e.v*e.stride*64,i=Math.min(e.coeffs.length,(h+O)*e.v*e.stride*64);r.fill(0,I,I+O*e.v*e.stride*128),i>t&&n.set(e.coeffs.subarray(t,i),I>>1),I+=O*e.v*e.stride*128}a.idctPlane(F[0],J,o[0].blocksW,O*o[0].v,o[0].stride,m,f,U+t*N*4,N,w),3===s&&(a.idctPlane(F[1],J+256,o[1].blocksW,O*o[1].v,o[1].stride,u,d,B+l*x*4,x,L),a.idctPlane(F[2],J+512,o[2].blocksW,O*o[2].v,o[2].stride,u,d,H+l*x*4,x,L));let k=h*(o[1]?.v??1)*d-l,E=O*o[0].v*f,G=Math.min(t+E,g-c);if(G<=0)break;let D=e&&h+O<A&&c+G<g,P=D?G-1:G;if(P>0&&(a.jpegRgbaRows(U,B,H,N,x,p,P,M,y,0,c,k,b,K,T),i(c,P,r.subarray(T,T+P*p*4)),c+=P),D){r.copyWithin(U,U+P*N*4,U+(P+1)*N*4);let e=l+O*o[1].v*d-1;r.copyWithin(B,B+e*x*4,B+(e+1)*x*4),r.copyWithin(H,H+e*x*4,H+(e+1)*x*4),t=1,l=1}else t=0,l=0}}finally{G>vl&&r.fill(0,vl,Math.min(Fl,G))}},prefixFilled:function(e){let{contextMap:t,histograms:n}=e;return n.length>255||t.length>8192||n.some(e=>e.code.lengths.length>256)?null:(l,s)=>{(()=>{if(h===e)return;c(vl);let a=[0,0,0];r.set(t,ul),n.forEach(({code:e,config:t},n)=>{let l=dl+n*pl;r.fill(0,l,l+pl);for(let r=0;r<64;r++){k(t,r,a);let n=e.lengths[a[0]],o=n+a[1],s=void 0===n||o>24;i[(l>>2)+r]=s?-1:o,i[(l+256>>2)+r]=s?0:e.codes[a[0]]|a[2]<<n}r.set(e.lengths,l+512),o.set(e.codes,l+768>>1),i.set([t.split,t.msb,t.lsb],l+1e4>>2)}),h=e})(),a.tokensIn(0,s),p(l,a.prefixWrite(s,l.acc,l.pending))}},literalClusters(n){let i=n.length;c(5984256),n.forEach((e,r)=>t.set(e.freqs,(Ll>>2)+256*r)),a.literalClusters(i);let o=[],l=new Int32Array(i);for(let n=0;n<i;n++)r[5952e3+n]&&(l[n]=o.length,o.push({freqs:t.slice((Ll>>2)+256*n,(Ll>>2)+256*(n+1)),contexts:[],bits:e[743936+n]}));for(let e=0;e<i;e++)o[l[t[1488016+e]]].contexts.push(...n[e].contexts);return o},countFilled:function(e,r){if(e.contexts>8192||d)return!1;c(xl);let n=a.countFilled(r),i=t[cl>>2],o=e.small,l=e.totals;for(let e=0;e<n;e++){let r=t[2380800+e],n=t[(vl>>2)+r];o[r]+=n,l[r>>6]+=n}a.countClear(n);for(let r=0;r<i;r++)e.add(t[(Nl>>2)+2*r],t[(Nl>>2)+2*r+1]);return!0},modularAns(e){if(e.length>255||e.some(e=>e.counts.length>256))return null;let r=0,n=null,i=0,u=u=>{if(h!==e&&(c(dl+e.length*pl),e.forEach((e,t)=>{let r=dl+t*pl;o.fill(0,r>>1,256+(r>>1)),o.set(e.counts,r>>1),o.set(e.starts,r+512>>1),o.set(e.reverse,r+1040>>1)}),a.recips(e.length),h=e,n=null),n===u)return i;f=null,r=0;let d=0;for(let e of u)r+=e.used,d+=e.histogramMap?.length??0;let p=xl+10*r+2*d;p>l.buffer.byteLength&&(m(p),s());let g=xl,M=xl+10*r,y=e.length;for(let e=u.length-1;e>=0;e--)y-=u[e].freqs.length;for(let e of u){let{tags:n,extra:i,histogramMap:l,used:s}=e;t.set(n.subarray(0,s),g>>2),t.set(i.subarray(0,s),(g>>2)+r),l&&o.set(l,M>>1),a.mtags(g,s,l?M:0,y),g+=4*s,M+=2*(l?.length??0),y+=e.freqs.length}return n=u,i=a.mbits(r,xl,xl+8*r)};return{bits:u,write(e,t){let n=u(t);return!(n+e.pending+64>12582912)&&(p(e,a.mwrite(r,xl,xl+4*r,xl+8*r,e.acc,e.pending)),n)}}},ansWriter:function(e){let{contextMap:n,histograms:l}=e;if(l.length>255||n.length>8192||l.some(e=>e.counts.length>256))return null;c(vl);let s=0;return{write(e,i,o){t[(hl>>2)+s]=o,r[fl+s++]=n[i]},writeTokens(e,i,o,a){for(let e=0;e<a;e++)t[315392+s]=o[e],r[fl+s++]=n[i[e]]},writeFilled(t,m){(()=>{if(h===e)return;let t=[0,0,0];r.set(n,ul),l.forEach((e,n)=>{let a=dl+n*pl;r.fill(0,a,a+pl),o.set(e.counts,a>>1),o.set(e.starts,a+512>>1),o.set(e.reverse,a+1040>>1);for(let r=0;r<64;r++)k(e.config,r,t),i[(a+9232>>2)+r]=t[1]<<6|t[2],i[(a+9488>>2)+r]=e.counts[t[0]]||0,i[(a+9744>>2)+r]=e.starts[t[0]]||0;i.set([e.config.split,e.config.msb,e.config.lsb],a+1e4>>2)}),a.recips(l.length),h=e})(),a.tokensIn(s,m),s+=m},flush(n){if(!Hl)throw yo("JXL_INTERNAL","The ANS writer is not installed.");Hl(n,e,t.subarray(hl>>2,(hl>>2)+s),r.subarray(fl,fl+s),s),s=0},reset(){s=0}}}}}catch{Io=null}return Io}function Ce(e,t){let r=Ee(t);return!r||r.memoryBytes()>e?null:(Bl=e,r)}function Je(){Io=void 0,Bl=1/0}function Ue(e){let t=0;for(let{sparse:r}of e)t+=r.length;let r=new Uint32Array(e.length+1),n=new Uint32Array(t),i=0;return e.forEach(({sparse:e},t)=>{r[t]=i,n.set(e,i),i+=e.length}),r[e.length]=i,{offsets:r,pairs:n}}function Be(){if(!Dl){let e=new WebAssembly.Memory({initial:48});Dl={memory:e,exports:new WebAssembly.Instance(Gl(),{env:{memory:e}}).exports}}return Dl}function He(e,t=null,r=null){let n={lose:e,refresh:t,gain:r};return Sl.push(n),n}function Ke(e){if(Pl===e)return;let t=Pl;Pl=e;for(let t of Sl)t!==e&&t.lose();t&&e.gain?.()}function Te(e,t){let r={};for(let[n,i]of Object.entries(e))r[n]="function"==typeof i?(...e)=>(Ke(t),i(...e)):i;return r}function Ge(e){let t=Be().memory,r=t.buffer.byteLength;if(!(e<=r)){t.grow(Math.ceil((e-r)/65536));for(let e of Sl)e.refresh?.()}}function De(e){try{null!==e&&("object"==typeof e||"function"==typeof e)&&ds.add(e)}catch{}return e}function Pe(e){try{if(ds.has(e))return e;if(Lo(e))return Object.assign(new Error(`Not enough memory for this picture${Oo(e)}; free memory or use a smaller picture.`,{cause:e}),{code:"JXL_MEMORY"});let t=e?.code;if("JXL_DICTIONARY"===t&&"This runtime has no Brotli decoder for RFC 7932's dictionary."===e?.message)return Object.assign(new Error("This runtime has no Brotli decoder for RFC 7932's dictionary; use a runtime with Brotli support.",{cause:e}),{code:"JXL_PLATFORM"});if("string"!=typeof t||!t.startsWith("JXL_")||fs.has(t))return e;let r=Object.hasOwn(us,t)?us[t]:"JXL_INTERNAL";return Object.assign(new Error(String(e.message??""),{cause:e}),{code:r})}catch{return e}}function Se(e){if(void 0===e)return;if(!e||"object"!=typeof e&&"function"!=typeof e)throw cs("JXL_OPTIONS","Invalid signal; pass an AbortSignal.");let t,r;try{t=e.aborted,r=e.addEventListener}catch(e){throw De(e)}if("boolean"!=typeof t||"function"!=typeof r)throw cs("JXL_OPTIONS","Invalid signal; pass an AbortSignal.");return e}function je(e){if(null==e)return;let t,r;try{t=e.aborted,t&&(r=e.reason)}catch(e){throw De(e)}if(t)throw De(void 0===r?bo():r)}async function Xe(e,t,r,n){if(0===r&&32===n){je(t);let r=await Re(function(e){let t=ps.get(e);return t||(t=_e(e,void 0,0,32),ps.set(e,t),t.catch(()=>ps.delete(e))),t}(e),t);return je(t),r.slice()}return _e(e,t,r,n)}async function _e(e,t,r,n){let i;je(t);try{let o=t&&new Promise((e,r)=>{i=()=>{try{je(t)}catch(e){r(e)}},t.addEventListener("abort",i,{once:!0})});o&&(o.catch(()=>{}),je(t));let a=void 0===r?e:e.slice(r,n),l=Promise.resolve(a.arrayBuffer());o&&l.catch(()=>{});let s=await(o?Promise.race([l,o]):l);if(je(t),!(s instanceof ArrayBuffer)||s.byteLength!==a.size)throw cs("JXL_INPUT","File changed while it was read; select it again.");return new Uint8Array(s)}catch(e){if(function(e){try{return ds.has(e)}catch{return!1}}(e)||"string"==typeof e?.code&&e.code.startsWith("JXL_"))throw e;let r=!1;try{r=!0===t?.aborted&&Object.is(t.reason,e)}catch{}throw r?e:Object.assign(Lo(e)?cs("JXL_MEMORY",`Not enough memory to read this file${Oo(e)}; free memory and retry.`):"NotReadableError"===e?.name?cs("JXL_INPUT","File changed while it was read; select it again."):cs("JXL_IO","File read failed; check that it is available and retry."),{cause:e})}finally{if(i)try{t.removeEventListener?.("abort",i)}catch{}}}function Re(e,t,r){return t?new Promise((n,i)=>{let o=!1,a=e=>{try{r?.(e)}catch{}},l=(e,r)=>{if(o)e===n&&a(r);else{o=!0;try{t.removeEventListener?.("abort",s)}catch(t){if(e===n)return a(r),void i(De(t))}e(r)}},s=()=>{try{je(t)}catch(e){l(i,e)}};Promise.resolve(e).then(e=>l(n,e),e=>l(i,e));try{t.addEventListener("abort",s,{once:!0}),s()}catch(e){l(i,De(e))}}):Promise.resolve(e)}function qe(e,t,r){if(void 0===e)return;if("function"!=typeof e)throw cs("JXL_OPTIONS","Invalid onProgress; pass a function.");let n,i=-1,o=null,a=()=>{if(o)throw De(o.reason);je(t)},l=l=>{a(),i=l;try{let t=e(l);if(t&&"function"==typeof t.then){n??=new Set;let e=Promise.resolve(t).then(()=>{n.delete(e)},t=>{throw n.delete(e),o??={reason:t},r?.(t),De(t)});e.catch(()=>{}),n.add(e)}}catch(e){throw o??={reason:e},De(e)}je(t)},s=e=>{i<0&&l(0),e>i&&e<=1&&l(e)};return s.finish=()=>(a(),n?.size?Re(Promise.all(n),t).then(a):void 0),s.isCaller=e=>!!o&&Object.is(o.reason,e),s}function ze(e,t="Options"){if(void 0===e)return{};if(!e||"object"!=typeof e||Array.isArray(e))throw cs("JXL_OPTIONS",`${t} must be an object; pass named fields in {}.`);return e}function Ve(e,t,r=[]){let n=ze(e,t);try{let e={...n};for(let t of r)!Object.hasOwn(e,t)&&t in n&&(e[t]=n[t]);return e}catch(e){throw De(e)}}function Ye(e,t,r=go,n=1073741824){if(!Number.isSafeInteger(e)||!Number.isSafeInteger(t)||e<1||t<1||e>n||t>n)throw cs("JXL_DIMENSIONS",`Image sides must be whole numbers from 1 to ${n} pixels${1073741824===n?", the JPEG XL size field":""}; resize the image to fit.`);if(e*t>r)throw cs("JXL_DIMENSIONS",`${e*t} pixels is over maxPixels (${r}): resize or raise maxPixels.`)}function We(e){if(void 0===e)return go;if(!Number.isSafeInteger(e)||e<1)throw cs("JXL_OPTIONS","Invalid maxPixels; use a positive whole number.");return e}function Ze(e){if(!e)throw Ms()}function Qe(e){e.expect(16,2815);let t=!!e.read(1),r=t?8*(e.read(5)+1):e.u32(bs),n=e.read(3);return{height:r,width:n?Math.floor(r*ws[n][0]/ws[n][1]):t?8*(e.read(5)+1):e.u32(bs)}}function $e(e,t,r){if(255!==e[0]||10!==e[1])return e;let n;try{n=function(e){let t=new ys(e),r=()=>1===t.read(1),n=e=>t.skip(16*e);if(Qe(t),r())return null;let i=r();if(i){if(t.skip(3),r()){let e=r();e?t.skip(5):t.u32([[9,1],[13,1],[18,1],[30,1]]),t.read(3)||(e?t.skip(5):t.u32([[9,1],[13,1],[18,1],[30,1]]))}if(r()||r())return null}let o=()=>{r()?(t.u32([[0,32],[0,16],[0,24],[6,1]]),t.skip(4)):t.u32([[0,8],[0,10],[0,12],[6,1]])};o(),t.skip(1);for(let e=t.u32([[0,0],[0,1],[4,2],[12,1]]);e>0;e--){if(r())continue;let e=t.u32(As);o(),t.u32([[0,0],[0,3],[0,4],[3,1]]),t.skip(8*t.u32([[0,0],[4,0],[5,16],[10,48]])),0===e?t.skip(1):2===e?n(4):5===e&&t.u32([[0,1],[2,0],[4,3],[8,19]])}let a=r(),l=t.bit,s=0,m=1;if(!r()){if(r()||(s=t.u32(As),2===s||3===s)||1!==t.u32(As)||0===s&&1!==(m=t.u32(As))&&11!==m||r()||13!==t.u32(As))return null;t.u32(As)}let c=t.bit;if(i&&!r()&&(n(2),t.skip(1),n(1)),t.read(2))return null;if(!r()){a&&!r()&&n(16);let e=t.read(3);for(let[t,r]of[[1,15],[2,55],[4,210]])e&t&&n(r)}return{space:1===s?"gray":"rgb",primaries:11===m?"display-p3":"srgb",from:l,to:c,end:t.bit}}(e)}catch{return e}if(!n)return e;let{from:i,to:o,end:a}=n,l=new ys(e),s=new vo(Math.ceil(a/8)+64),m=(e,t)=>{l.bit=e;for(let r=t-e;r>0;r-=24){let e=Math.min(24,r);s.write(e,l.read(e))}};m(0,i),s.write(2,0),s.writeU32(As,"rgb"===n.space?0:1),s.writeU32(As,1),"rgb"===n.space&&s.writeU32(As,"display-p3"===n.primaries?11:1),s.write(1,0),s.writeU32(As,13),s.writeU32(As,Ls.indexOf(t)),m(o,a);let c=s.finish(),h=Q(e,Math.ceil(a/8)),f=((e,t)=>null!==e&&"object"==typeof e&&!0!==e[ka]?e[t]:void 0)(h,Ea);if(f&&r)return r([c,...f]);let u=new Uint8Array(c.length+h.length);return u.set(c),u.set(h,c.length),u}async function et(e,t,r,n,i){let o=4*e.BYTES_PER_ELEMENT,a=t*o,l=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),s=vs(i);if(n>=3){let e=new Uint8Array(a);for(let t=0,n=r-1;t<n;t++,n--){let r=t*a,o=n*a;e.set(l.subarray(r,r+a)),l.copyWithin(r,o,o+a),l.set(e,o),63&t||(je(i),await s())}}if(n<=3){let e=new Uint8Array(Math.min(256,r)*a);for(let n=0;n<r;n+=256){je(i);let m=Math.min(256,r-n);e.set(l.subarray(n*a,(n+m)*a));for(let r=0;r<t;r+=256){let i=Math.min(256,t-r);is(e,l,t,t,r,0,i,m,t-r-i,n,o,2)}await s()}}return e}function tt(e){let t=0;for(let r=1;r<=16;r++){let n=e[r-1];if(n&&(t+n)*(1<<16-r)>=65536)throw ge("bad Huffman table");t=2*(t+n)}}function rt(e,t,r){if(!Array.isArray(r)||!r.length)return 8;let n=0,i=0;for(let o of r){if(!o||void 0===o.width&&void 0===o.height)return 8;let r=o.width??Math.max(1,Math.round(o.height*e/t)),a=o.height??Math.max(1,Math.round(o.width*t/e));r>n&&(n=r),a>i&&(i=a)}if(n>=e&&i>=t)return 8;for(let[r,o]of[[1,4],[2,2],[4,1.25],[6,1.15]]){let a=Math.max(1,Math.ceil(e*r/8)),l=Math.max(1,Math.ceil(t*r/8));if(a>=n*o&&l>=i*o)return r}return 8}function nt(e,t,r,n,i){let o=r.length,a=Math.max(1,Math.ceil(e*i/8)),l=Math.max(1,Math.ceil(t*i/8)),s=Math.max(...r.map(e=>e.h)),m=Math.max(...r.map(e=>e.v)),c=Math.ceil(e/(8*s)),h=Math.ceil(t/(8*m));if(1===o)return r[0].h!==s||r[0].v!==m?null:{scale:i,outW:a,outH:l,mcusX:c,mcusY:h,mxY:i,myY:i,mxC:i,myC:i,mode:0,clampW:0,clampH:0,yBias:128,cBias:0};if(3!==o)return null;let[f,u,d]=r;if(u.h!==d.h||u.v!==d.v||f.h!==s||f.v!==m)return null;let p=f.h/u.h,g=f.v/u.v;if(![1,2].includes(p)||![1,2].includes(g)||!n&&(1!==p||1!==g))return null;let M=i,y=i,b=n?1:5;return 2===p&&2===g?i<=4?(M=2*i,y=2*i,b=1):b=2:2===p&&1===g?i<=4?(M=2*i,y=i,b=1):b=3:1===p&&2===g&&(i<=4?(M=i,y=2*i,b=1):b=4),{scale:i,outW:a,outH:l,mcusX:c,mcusY:h,mxY:i,myY:i,mxC:M,myC:y,mode:b,clampW:Math.max(0,Math.ceil(Math.ceil(e/p)*M/8)-1),clampH:Math.max(0,Math.ceil(Math.ceil(t/g)*y/8)-1),yBias:128,cBias:n?0:128}}function it(t,r,n,i){if(!r)return{colorSpace:"srgb",icc:void 0};let o=[];for(let e=1;e<=r;e++){if(!t[e])throw ge("a color profile cut short");o.push(t[e])}let a=new Uint8Array(o.reduce((e,t)=>e+t.length,0));for(let e=0,t=0;e<o.length;t+=o[e].length,e++)a.set(o[e],t);let l=1===n?"gray":"rgb",s=a.length>=4?(a[0]<<24|a[1]<<16|a[2]<<8|a[3])>>>0:0,m=s>=132&&s<a.length?Q(a,0,s):a,c=`${n}:${i?1:0}:${function(e){let t=2166136261;for(let r=0;r<e.length;r++)t=Math.imul(t^e[r],16777619);return`${e.length}:${t>>>0}`}(m)}`,h=xs.get(c);if(h&&!h.icc)return h;try{if(te(m,void 0,i&&"gray"===l?void 0:l)!==n)return{colorSpace:"srgb",icc:void 0};let t=(t=>e(Oe(t)))(m),r=t?{colorSpace:t,icc:void 0,renderingIntent:tl(m)}:{colorSpace:"srgb",icc:m};return t&&xs.size<64&&xs.set(c,r),r}catch(e){throw"JXL_INPUT"===e.code?ge("invalid or incompatible color profile: "+e.message):e}}function ot(e,t,r,n,i){if(255===e[t]&&e[t+1]>=208&&e[t+1]<=215){if(!n||r%n||e[t+1]!==208+(r/n-1&7))return null;for(t+=2;t+1<e.length&&255===e[t]&&255===e[t+1];)t++}if(t<e.length&&!(255===e[t]&&t+1<e.length&&0!==e[t+1]&&255!==e[t+1]))return null;let o=0;for(;t<e.length;){if(255!==e[t])return null;for(;255===e[t];)t++;let r=e[t++];if(++o>16384)return null;if(217===r)return{orientation:i??1};if(218===r||216===r||r>=208&&r<=215)return null;if(1===r)continue;if(t+2>e.length)return null;let n=e[t]<<8|e[t+1],a=t+2,l=t+n;if(n<2||l>e.length)return null;if(225===r&&l-a>=6&&69===e[a]&&120===e[a+1]&&105===e[a+2]&&102===e[a+3]&&0===e[a+4])i??=Me(e,a+6,l);else if(226===r&&n>=16&&73===e[a]&&67===e[a+1]&&67===e[a+2])return null;t=l}return{orientation:i??1}}function at(e,t=!1){if("exact"===e)return!0;if(!e||"object"!=typeof e||Array.isArray(e))return!1;let r=Object.keys(e);if(1!==r.length)return!1;let n=r[0],i=e[n];return"quality"===n?!!Js(i)||!!(t&&i&&"object"==typeof i&&!Array.isArray(i)&&2===Object.keys(i).length&&Object.hasOwn(i,"min")&&Object.hasOwn(i,"max")&&Js(i.min)&&Js(i.max)&&i.min<=i.max):"maxError"===n?Cs(i)&&i>=0:"ssimulacra2"===n&&Cs(i)&&i<=100}function lt(e){if("predicted"===e?.domain)return"ssimulacra2"===e.metric&&Number.isFinite(e.floor)&&void 0===e.score&&void 0===e.limit&&void 0===e.region&&(void 0===e.view||"pu21"===e.view||"without-noise"===e.view);if(!(e&&["ssimulacra2","max-error"].includes(e.metric)&&Number.isFinite(e.score)&&["encoder-reconstruction","decoded-output","predicted"].includes(e.domain)&&(void 0===e.floor||Number.isFinite(e.floor)&&"ssimulacra2"===e.metric)&&(void 0===e.limit||Number.isFinite(e.limit)&&"ssimulacra2"!==e.metric))||void 0!==e.view&&"pu21"!==e.view&&"without-noise"!==e.view)return!1;let t=e.region;return void 0===t||t&&Number.isSafeInteger(t.x)&&t.x>=0&&Number.isSafeInteger(t.y)&&t.y>=0&&Es(t.width)&&Es(t.height)}function st(e){if(ArrayBuffer.isView(e))return null;try{return Us.call(e)}catch{return null}}function mt(e,t=!1){if("Uint8Array"!==Ks.call(e)||null===st(Hs.buffer.call(e))||!t&&0===Hs.byteLength.call(e))throw cs("JXL_INPUT","Invalid encoded input; pass a nonempty Uint8Array on an attached ArrayBuffer.");return Hs.byteLength.call(e)}function ct(e,t=!1){mt(e,t);try{return new Uint8Array(e)}catch{throw cs("JXL_INPUT","Invalid encoded input; pass a Uint8Array on an attached ArrayBuffer.")}}function ht(e,t,r){try{if(new Uint8Array(e,t,r).byteLength!==r)throw 0}catch{throw cs("JXL_INPUT","ArrayBuffer is detached or too small; pass a live one.")}}function ft(e,t,r=new Map,n=1/0){try{return ut(e,t,r,n)}catch(e){if(e instanceof qs)return 1/0;throw e instanceof RangeError?cs("JXL_MEMORY","Queue input is nested deeper than the host allows; pass a flatter record."):e}}function ut(e,t,r,n){if(null==e)return 0;if("string"==typeof e)return 2*e.length;if("number"==typeof e||"bigint"==typeof e)return 8;if("boolean"==typeof e)return 1;if("object"!=typeof e)throw cs("JXL_INPUT","Input cannot be copied; pass structured-cloneable image data.");let i=r.get(e);if(i)return i.cost??0;if(Ss.has(e)){let t=Ss.get(e);return r.set(e,{kind:"blob",cost:t}),t}if(function(e){return"function"==typeof Blob&&e instanceof Blob}(e)){let t=Object.getOwnPropertyDescriptor(Blob.prototype,"size").get.call(e);return r.set(e,{kind:"blob",cost:t}),t}let o=Array.isArray(e)||Object.getPrototypeOf(e)===Object.prototype?null:st(e);if(null!==o)return ht(e,0,o),r.set(e,{kind:"buffer",buffer:e,byteOffset:0,byteLength:o,cost:o}),o;if(ArrayBuffer.isView(e)){let t=function(e){let t,r=Hs;try{t=Ks.call(e),Hs.buffer.call(e)}catch{r=Xs,t="DataView"}let n=r.buffer.call(e),i=r.byteOffset.call(e),o=r.byteLength.call(e);if(null===st(n))throw cs("JXL_INPUT","Queue does not accept shared buffers; copy the input to an ArrayBuffer.");ht(n,i,o);let a=Rs[t];if(!a)throw cs("JXL_INPUT","This sample array type cannot be transferred to the worker; use a standard typed array such as Uint8Array or Float32Array.");return{kind:"view",buffer:n,byteOffset:i,byteLength:o,Type:a}}(e);return js.has(e)?(t.kind="handed",t.cost=st(t.buffer),r.has(Vs)||r.set(Vs,new Set),r.get(Vs).add(t.buffer)):t.cost=t.byteLength,r.set(e,t),t.cost}if(Array.isArray(e)&&512*e.length>n)throw new qs;let a=function(e){if(!function(e){if(null===e||e===Object.prototype)return!0;if(null!==Object.getPrototypeOf(e))return!1;let t=Object.getOwnPropertyDescriptor(e,"constructor");return!!t&&"value"in t&&"function"==typeof t.value&&Gs.test(Function.prototype.toString.call(t.value))}(Object.getPrototypeOf(e))&&!Array.isArray(e))throw cs("JXL_INPUT",(e=>{let t=!1;try{t=1===e?.nodeType}catch{}return t?"A page element is not an image; capture it with SnapDOM, or "+hs:"The image input is invalid; "+hs})(e));if(Object.getOwnPropertySymbols(e).some(t=>Object.getOwnPropertyDescriptor(e,t).enumerable))throw cs("JXL_INPUT","Queue records contain symbol keys; remove those keys.");return Object.entries(Object.getOwnPropertyDescriptors(e)).filter(([e,t])=>{if(!t.enumerable)return!1;if(!("value"in t))throw cs("JXL_INPUT","Queue records contain accessors; pass plain data values.");return!0})}(e);if(function(e,t,r){if(!e||"object"!=typeof e)return;let n=r?r.find(([e])=>"width"===e)?.[1]:Object.getOwnPropertyDescriptor(e,"width"),i=r?r.find(([e])=>"height"===e)?.[1]:Object.getOwnPropertyDescriptor(e,"height");if(!n&&!i)return;let o=e=>!!e&&"value"in e&&void 0!==e.value;if(o(n)!==o(i)&&(t=>{let r=Object.getOwnPropertyDescriptor(e,t);return!r||"value"in r&&void 0===r.value})(o(n)?"height":"width")){let e=(o(n)?n:i).value;if(!Number.isSafeInteger(e)||e<1||e>1073741824)throw cs("JXL_DIMENSIONS","An image side is outside the supported 1 to 1,073,741,824 pixel range; resize it to a whole number of pixels.");return}if(!n||!i)throw cs("JXL_INPUT","Invalid image dimensions; pass numeric width and height values.");if(!("value"in n)||!("value"in i))throw cs("JXL_INPUT","Invalid image dimensions; pass numeric width and height values.");let a=n.value,l=i.value;if(!Number.isSafeInteger(a)||a<1||!Number.isSafeInteger(l)||l<1)throw cs("JXL_DIMENSIONS","Invalid image dimensions; pass positive safe integers for width and height.");if(a>1073741824||l>1073741824||a>Math.floor(t/l))throw cs("JXL_DIMENSIONS","Over maxPixels or the JPEG XL size field (2^30 a side); resize, or raise maxPixels in createCodec().")}(e,t,a),((r.get(zs)??r.set(zs,{bytes:0}).get(zs)).bytes+=512*(1+a.length))>n)throw new qs;let l={kind:"record",array:Array.isArray(e),fields:a,cost:void 0};r.set(e,l);let s=512*(1+a.length);for(let[e,i]of a)if(s+=2*e.length+ut(i.value,t,r,n),!Number.isSafeInteger(s))throw cs("JXL_MEMORY","Queue input exceeds its byte budget; pass a smaller input or raise maxPendingBytes.");return l.cost=s,s}function dt(e,t,r,n=new Map){if(null===e||"object"!=typeof e)return e;if(!r){r=new Map;let e=[...t.get(Vs)??[]].filter(e=>!n.has(e));if(e.length){let t;try{t=structuredClone(e,{transfer:e})}catch{throw cs("JXL_INPUT","ArrayBuffer cannot be transferred; copy it to a new ArrayBuffer.")}for(let r=0;r<e.length;r++)n.set(e[r],t[r])}}if(r.has(e))return r.get(e);let i,o=t.get(e);if("blob"===o.kind)return e;if("handed"===o.kind)i=new o.Type(n.get(o.buffer),o.byteOffset,o.byteLength/(o.Type.BYTES_PER_ELEMENT??1));else if("buffer"===o.kind||"view"===o.kind){let e=new Uint8Array(n.get(o.buffer)??o.buffer,o.byteOffset,o.byteLength),t=_s.call(e).buffer;i="buffer"===o.kind?t:new o.Type(t)}else{i=o.array?[]:{},r.set(e,i);for(let[e,a]of o.fields)Object.defineProperty(i,e,{value:dt(a.value,t,r,n),writable:!0,enumerable:!0,configurable:!0})}return r.set(e,i),i}function pt(e,t=go,r=Ds,n){let i=new Map,o=ft(e,t,i,r);if(o>r)throw cs("JXL_MEMORY",n&&o!==1/0?n(o,r):`The input needs ${o===1/0?"more than "+Ys(r):Ys(o)} MiB, above the ${Ys(r)} MiB allowance; pass a smaller input or raise maxPendingBytes.`);return dt(e,i)}function gt(e,t){if(void 0===e)return{};if(!Number.isSafeInteger(e)||e<1)throw cs("JXL_INTERNAL","Invalid image result; report the input and options.");return{originalBytes:e,...t&&{largerThanOriginal:t.byteLength>e}}}function Mt(e){if("exact"===e)return"No exact file fits maxBytes; raise maxBytes or allow a lossy quality.";let t=e?.quality;if(void 0===t)return"No file fits maxBytes; raise maxBytes.";let r="object"==typeof t?t.min:t,n="object"==typeof t?t.max:t;return`No file at ${r===n?`quality ${n}`:`quality ${r} to ${n}`} fits maxBytes; raise maxBytes`+(r>1?" or lower the minimum quality.":".")}function yt(e){if("number"!=typeof e||!Number.isFinite(e)||e<1||e>100)throw yo("JXL_OPTIONS","quality must be a finite number from 1 to 100.");return function(e){let t=Math.floor(e),r=$s[t][1];return 100===t?r:r+(e-t)*($s[t+1][1]-r)}(e)}function bt(e,t,r){if("exact"!==e&&"pixels"!==r&&"jpeg-bytes"!==r){for(let r of["ssimulacra2"]){if("number"!=typeof e?.[r])continue;let n=t.find(e=>e.metric===r&&void 0===e.region);if(!n)return{code:"JXL_UNSUPPORTED",message:"The output has no measurement for the "+r+" target; request exact fidelity or a quality target."};let i=e[r];if("ssimulacra2"===r?n.floor=i:n.limit=i,"ssimulacra2"===r?n.score<i:n.score>i)return Qs("The output did not meet the "+r+" target; lower the target or retry at a higher effort.")}if(t.find(e=>void 0!==e.floor&&e.score<e.floor||void 0!==e.limit&&e.score>e.limit))return Qs("The output did not reach the requested quality; reduce quality or retry at a higher effort.");if("number"==typeof e?.maxError){let r=t.find(e=>"max-error"===e.metric&&void 0===e.region);if(r&&(r.limit=e.maxError,r.score>e.maxError))return Qs("The output exceeded the maximum-error target; request exact fidelity.")}}}function wt(e,t,r){let n=function(e=[]){if(!Array.isArray(e))throw cs("JXL_INTERNAL","Invalid output measurement; report the input and options.");return e.map(e=>{if("predicted"===e?.domain){if("ssimulacra2"!==e.metric||!Number.isFinite(e.floor)||void 0!==e.score||void 0!==e.region||void 0!==e.view&&"pu21"!==e.view&&"without-noise"!==e.view)throw cs("JXL_INTERNAL","Invalid output measurement; report the input and options.");return{metric:"ssimulacra2",domain:"predicted",floor:e.floor,...e.view&&{view:e.view}}}if(!(e&&em.includes(e.metric)&&Number.isFinite(e.score)&&["encoder-reconstruction","decoded-output","predicted"].includes(e.domain)))throw cs("JXL_INTERNAL","Invalid output measurement; report the input and options.");let t={metric:e.metric,score:e.score,domain:e.domain};if(void 0!==e.view){if("pu21"!==e.view&&"without-noise"!==e.view)throw cs("JXL_INTERNAL","Invalid output measurement; report the input and options.");t.view=e.view}for(let r of["floor","limit"])if(void 0!==e[r]){if(!Number.isFinite(e[r]))throw cs("JXL_INTERNAL","Invalid output measurement; report the input and options.");if("floor"===r!=("ssimulacra2"===e.metric))throw cs("JXL_INTERNAL","Invalid output measurement; report the input and options.");t[r]=e[r]}if(void 0!==e.region){let{x:r,y:n,width:i,height:o}=e.region;if(![r,n,i,o].every(Number.isSafeInteger)||r<0||n<0||i<1||o<1)throw cs("JXL_INTERNAL","Invalid output measurement; report the input and options.");t.region={x:r,y:n,width:i,height:o}}return t})}(e.measurements);return!n.length&&"lossy"===r&&"number"==typeof t?.quality&&t.quality<100&&n.push({metric:"ssimulacra2",domain:"predicted",floor:yt(t.quality)}),{measurements:n,reason:bt(t,n,r)}}function Lt(e={quality:90},t){if(!at(e,t))throw cs("JXL_OPTIONS","Invalid result fidelity; name one preservation or fidelity target, using a quality range only for a missed output.");return"exact"===e||0===e?.maxError||100===e?.quality?"exact":e}async function Ot(e,t,r){let n=await async function(e,t,r={},n,i){let o=function(e){let{signal:t,source:r,owned:n,...i}=e;return{...pt(i,go,Number.MAX_SAFE_INTEGER),signal:t}}(r),{signal:a}=o;je(a);let l=null===e||Number.isFinite(o.maxBytes)&&e.length>o.maxBytes,s=i(o.fidelity,l),m=o.format??"jxl";if(!["jxl","jpeg","png"].includes(m))throw cs("JXL_INTERNAL","Invalid result format; report the input and options.");let c=function(e,t,r){if(r.transform)return{width:r.transform.width,height:r.transform.height};if(Number.isSafeInteger(t?.width)&&Number.isSafeInteger(t?.height))return(e=>e.orientation>=5?{width:e.height,height:e.width}:{width:e.width,height:e.height})(t);if(Zs&&"jpeg"===r.format&&e)return Zs(e,go);let n=t instanceof Uint8Array?t:null;if(Zs&&(e=>255===e?.[0]&&216===e[1])(n))return Zs(n,go);throw cs("JXL_INTERNAL","Invalid image result; report the input and options.")}(e,t,{...o,format:m});if(!Number.isSafeInteger(c.width)||!Number.isSafeInteger(c.height)||c.width<1||c.height<1)throw cs("JXL_INTERNAL","Invalid image result; report the input and options.");let h=function(e){if(null==e)return null;if(!e||!["bytes","pixels"].includes(e.kind)||"string"!=typeof e.digest||!/^sha256:[a-f0-9]{64}$/.test(e.digest))throw cs("JXL_INTERNAL","Invalid result source identity; report the input and options.");return{kind:e.kind,digest:e.digest}}(r.source),f=o.originalBytes,u={...c,format:m,source:h,fidelity:s,...gt(f,l?null:e),...o.transform&&{transform:{...o.transform,...o.transform.via&&{via:o.transform.via.map(({width:e,height:t})=>({width:e,height:t}))}}},...o.readAs&&{readAs:o.readAs}};if(l)return{bytes:null,...u,kept:null,meetsTarget:!1,measurements:[],..."boolean"==typeof o.usedWebGPU&&{usedWebGPU:o.usedWebGPU},reason:Qs(Mt(s))};let d=r.owned?e:ct(e);if(!(d instanceof Uint8Array&&d.length))throw cs("JXL_INTERNAL","Incomplete output file; report the input and options.");let p=o.kept??("exact"===s?"pixels":"lossy");if(!Ws.includes(p))throw cs("JXL_INTERNAL","Invalid image result; report the input and options.");let{measurements:g,reason:M}=n(o,s,p),y="exact"===s&&"lossy"===p?Qs("The output does not preserve every sample; use fidelity 'exact'."):M;return je(a),{bytes:d,...u,kept:p,meetsTarget:!y,measurements:g,...y&&{reason:y},...o.otherDecoders&&{otherDecoders:o.otherDecoders},...o.timing&&{timing:o.timing},...o.textMarks&&{textMarks:o.textMarks},..."boolean"==typeof o.usedWebGPU&&{usedWebGPU:o.usedWebGPU}}}(e,t,r,wt,Lt);if(n.bytes&&!function(e){if(!function(e){return!(!e||"object"!=typeof e||!Number.isSafeInteger(e.width)||e.width<1||!Number.isSafeInteger(e.height)||e.height<1||!["jxl","jpeg","png"].includes(e.format)||null!==e.source&&(!["bytes","pixels"].includes(e.source?.kind)||!(e=>"string"==typeof e&&/^sha256:[a-f0-9]{64}$/.test(e))(e.source.digest))||"boolean"!=typeof e.meetsTarget||!at(e.fidelity,null===e.bytes)||!Array.isArray(e.measurements)||!e.measurements.every(lt)||void 0!==e.transform&&(!Es(e.transform?.width)||!Es(e.transform?.height)||void 0!==e.transform.frame&&(!Number.isSafeInteger(e.transform.frame)||e.transform.frame<0)||void 0!==e.transform.resizer&&"browser"!==e.transform.resizer||void 0!==e.transform.via&&("browser"!==e.transform.resizer||!Array.isArray(e.transform.via)||!e.transform.via.length||!e.transform.via.every(e=>Es(e?.width)&&Es(e?.height))))||void 0!==e.readAs&&!["srgb","display-p3"].includes(e.readAs)||void 0!==e.timing&&!["exact","rounded"].includes(e.timing)||void 0!==e.usedWebGPU&&"boolean"!=typeof e.usedWebGPU||void 0!==e.originalBytes&&!Es(e.originalBytes)||void 0===e.originalBytes&&void 0!==e.largerThanOriginal)&&(null===e.bytes?null===e.kept&&!1===e.meetsTarget&&void 0===e.largerThanOriginal&&ks(e.reason)&&"JXL_TARGET"===e.reason.code:!("[object Uint8Array]"!==Object.prototype.toString.call(e.bytes)||!e.bytes.byteLength||!["jpeg-bytes","pixels","lossy"].includes(e.kept)||void 0!==e.originalBytes&&e.largerThanOriginal!==e.bytes.byteLength>e.originalBytes||!e.meetsTarget&&!ks(e.reason)||e.meetsTarget&&void 0!==e.reason))}(e))return!1;if(e.meetsTarget){let t=e.fidelity;if(("exact"===t||100===t?.quality||0===t?.maxError)&&"lossy"===e.kept)return!1;for(let t of e.measurements)if(void 0!==t.floor&&t.score<t.floor||void 0!==t.limit&&t.score>t.limit)return!1;if("lossy"===e.kept&&t&&"object"==typeof t)for(let r of["ssimulacra2"]){if("number"!=typeof t[r])continue;let n=e.measurements.find(e=>e.metric===r&&void 0===e.region);if(!n||("ssimulacra2"===r?n.score<t[r]:n.score>t[r]))return!1}}return!0}(n))throw cs("JXL_INTERNAL","Invalid output measurement; report the input and options.");return n}function At(e,t,r=t,n){void 0!==t&&e?.[im]?.bind(t,r);{let e=(e=>typeof Blob<"u"&&e instanceof Blob?e.size:e instanceof Uint8Array?e.byteLength:void 0)(r);void 0!==e&&(n={...n,originalBytes:e})}e?.[om]?.(t,r,n)}function It(e,t,{format:r="jxl",fidelity:n={quality:90},kept:i,capture:o=!1,preview:a,device:l=!1}={}){let s=(s,m,c)=>{let h;return async function(){zl++;try{return await(async(s,m,c)=>{let h,f,u=m.options,d=pt(u.fidelity??n),p=u.readAs,g={...i&&{kept:i},...l&&{usedWebGPU:!1}},M=a?.(u,()=>{let{width:e,height:t,orientation:r}=h??{};return{width:e,height:t,orientation:r}});u[om]=(e,t,r)=>{void 0!==e&&(("srgb"===e?.colorSpace||"display-p3"===e?.colorSpace)&&(f=e.colorSpace),h=Number.isSafeInteger(e.width)&&Number.isSafeInteger(e.height)?{width:e.width,height:e.height,...void 0!==e.orientation&&{orientation:e.orientation}}:e),r&&Object.assign(g,r)},l&&(u[lm]=()=>{g.usedWebGPU=!0});try{let n=c&&t[tm],i=await(n?n(s,u,c):t(s,u));if(je(u.signal),!h)throw cs("JXL_INTERNAL","Image job lost its admitted dimensions; report the input and options.");o&&(g.kept=m.encoded?.exact?"pixels":"lossy",m.encoded?.textMarks&&(g.textMarks=m.encoded.textMarks)),void 0!==g.kept&&(g.kept=(e=>e?.[sm]&&"pixels"===e.kept?"lossy":e?.kept)(g)),delete g[sm];let a=await e(i,h,{fidelity:d,format:r,readAs:p&&(f??p),...g,signal:u.signal,owned:!0});return a.bytes&&M?.offer(i,{width:a.width,height:a.height,measurements:a.measurements}),await m.finish(),await(M?.finish()),a}finally{M?.close()}})(s,h=function(e,t=!1){let r=Ve(e,void 0,[...cm,"features"]);if("features"in r)throw cs("JXL_OPTIONS","Unknown option: features; use the options listed for this function.");r=function(e){if(!e||"object"!=typeof e||Array.isArray(e))return e;if("features"in e)throw cs("JXL_OPTIONS","Unknown option: features; remove it.");let t=e[mm],r="firstRegion"in e?e.firstRegion:void 0;if(void 0===t&&!("firstRegion"in e))return e;let{firstRegion:n,[mm]:i,...o}=e,a=void 0!==t?{...t,...void 0!==r&&{firstRegion:r}}:void 0!==r?{firstRegion:r}:void 0;return void 0===a?o:{...o,features:a}}(r);let{signal:n,onProgress:i,onPreview:o}=r;if(void 0!==i&&"function"!=typeof i)throw cs("JXL_OPTIONS","Invalid onProgress; pass a function.");if(void 0!==o&&"function"!=typeof o)throw cs("JXL_OPTIONS","Invalid onPreview; pass a function.");let a,l=qe(i,n);return i&&(r.onProgress=e=>{e<1&&l(Math.min(.999,e))}),t&&(r[rm]=e=>{a=e}),{options:r,get encoded(){return a},finish(){return je(n),l?.(1),je(n),l?.finish()}}}(m,o),c)}finally{if(0===--zl)for(let e of Yl)e()}}().then(e=>(je(h.options.signal),e),e=>{let t;try{t=h?.options?.signal?.reason}catch{}throw void 0!==e&&e===t?e:Pe(e)})},m=(e,t)=>s(e,t);return m[am]=t,m[tm]=(e,t,r)=>s(e,t,r),m}function vt(e,t,r,n,i,o,a){let l=t.comps[r],s=void 0!==l.row0&&t.grey&&1!==r,m=s?null:l.dc,c=s||!m&&t.grey&&1!==r?null:m??l.coeffs;return{w:o,h:a,x:n,y:i,stride:l.stride,source:c,step:m?1:64,scale:t.dcScale[r],lift:t.dcLift[r]}}function Ft(e,t,r,n=0,i=e.w,o){let{source:a,stride:l,x:s,y:m,step:c,scale:h,lift:f,w:u}=e;if(!a)return t.fill(f,r*u+n,r*u+i),o&&(o.column=i,o.wide=!1),t;if(1===c&&a instanceof Int16Array&&1===h&&0===f)return t.set(a.subarray((m+r)*l+s+n,(m+r)*l+s+i),r*u+n),o&&(o.column=i,o.wide=!1),t;for(let e=n;e<i;e++){let n=a[((m+r)*l+s+e)*c]*h+f;if((n<-32768||n>32767)&&t instanceof Int16Array){if(o)return o.column=e,o.wide=!0,t;t=Int32Array.from(t)}t[r*u+e]=n}return o&&(o.column=i,o.wide=!1),t}function Nt(e,t,r=0,n=e.h){for(let i=r;i<n;i++)t=Ft(e,t,i);return t}function xt(e){let t=0,r=0;for(let n of e)for(let e of n)t=Math.max(t,e),r|=e;if(t<=32767)return 0;let n=Math.ceil(Math.log2(t/32767));return r&2**n-1?0:n}function kt(e,t,n,i,a=c){let{width:l,height:s,alpha:m,auxiliary:h,xyb:f,progression:u,noiseLut:d,splineBits:p,useDCFrame:g}=t,{grey:M,ycbcr:y,rawH:b,rawV:w,epf:L}=n,{isFirstFrame:O=!0,isLastFrame:A=!0,crop:I=null,saveAsReference:v=0,imageWidth:F,imageHeight:N,alphaChannel:x=!!m,mask:k=!1,patches:E=null}=t.placement??{};if(t.frameHeader)t.frameHeader(e);else{O&&a(e,F??t.canvasWidth??l,N??t.canvasHeight??s,M?1:3,x,{xyb:f,orientation:t.orientation,colorSpace:t.colorSpace,modular16bit:i,...t.profile}),e.write(1,0),e.write(2,0),e.write(1,0);let n=(t.adaptiveLFSmoothing&&!g?0:128)+(d?1:0)+(E?2:0)+(p?16:0)+(g?32:0);if(n?n<=16?(e.write(2,1),e.write(4,n-1)):(e.write(2,2),e.write(8,n-17)):e.write(2,0),f||e.write(1,y?1:0),!g){if(y)for(let t=0;t<3;t++)e.write(2,0===b[t]&&0===w[t]?0:1===b[t]&&1===w[t]?1:1===b[t]?2:3);if(e.write(2,[1,2,4,8].indexOf(t.upsampling??1)),h)for(let t of h.factors)e.write(2,[1,2,4,8].indexOf(t));else x&&e.write(2,[1,2,4,8].indexOf(t.upsampling??1))}f&&(e.write(3,2),e.write(3,2)),function(e,t,n=0,i,a=1,l=null,s){let m="number"==typeof t?t:+!!t,{crop:c,canvas:h,last:f=!0,reference:u=0,mask:d=!1}=s??{},p=function(e,t){if(!e)return!0;if(!t)throw yo("JXL_INTERNAL","A crop needs its canvas.");return e.x<=0&&e.y<=0&&e.x+e.width>=t.width&&e.y+e.height>=t.height}(c,h);if(d&&1!==m)throw yo("JXL_INTERNAL","A mask is one extra channel.");i?e.append(i):e.write(2,0),e.write(1,c?1:0),c&&(e.writeU32(No,r(c.x)),e.writeU32(No,r(c.y)),e.writeU32(No,c.width),e.writeU32(No,c.height));for(let t=0;t<=m;t++)d?e.write(7,34):(e.write(2,0),p||e.write(2,1));if(e.write(1,f?1:0),f||(e.write(2,u),p&&!d&&e.write(1,0)),n||l){if(e.write(4,l?8:0),l&&(e.write(1,!0===l?0:1),!0!==l))for(let[t,r]of l)e.write(16,o(t)),e.write(16,o(r));if(n){e.write(2,a),e.write(3,4);for(let t of[n,.9,6.5,2/3])e.write(16,o(t));e.write(4,0)}else e.write(6,0)}else e.write(10,0)}(e,h?.count??x,L,u?.header,t.epfIterations,f?t.gab:null,{crop:I,canvas:F&&{width:F,height:N},last:A,reference:v,mask:k})}}function Et(e,t,r,n,i){let{authoredOrderPasses:o}=t,{hasOrders:a,map:l}=r;if(o)e.append(o[i].header);else if(a){e.writeU32([[0,95],[0,19],[0,0],[13,0]],1);let t=[];for(let e of l){let r=Array.from({length:64},(e,t)=>t),i=n.orders[e].map(e=>{let t=r.indexOf(e);return r.splice(t,1),t}),o=64;for(;o>1&&!i[o-1];)o--;t.push(o-1,...i.slice(1,o))}let r=N(0),i=new Uint32Array(64);for(let e of t)E(r,e,i);let o=w(i);B(e,{contextMap:new Uint8Array(8),histograms:[{config:r,code:o}]});for(let n of t)C(e,o,r,n)}else e.write(2,2)}function Ct(e,t,r){e.write(4,t[0].length-1);for(let n of r)for(let r=0;r<t[n].length;r++)e.write(16,o(t[n][r]/(r?1:64)))}function Jt(e,t,r){if(e.write(3,t.mode),t.library)return;let{kind:n}=t;if(1===n||2===n)for(let n of r)for(let r of t.weights[n])e.write(16,o(r/64));else if(3===n||4===n){for(let i of r)for(let r of 3===n?t.multipliers[i]:[t.multipliers[i]])e.write(16,o(r));Ct(e,t.bands,r)}else if(5===n){for(let n of r)for(let r=0;r<9;r++)e.write(16,o(t.weights[n][r]/(r<6?64:1)));Ct(e,t.bands4x8,r),Ct(e,t.bands4x4,r)}else Ct(e,t.bands,r)}function Ut(e,t,r,n=Nm.dcBuckets(r)){let i=[];if(t>0){let r=-1024,n=1023,o=0;for(let t of e)t<r?r=t:t>n&&(n=t);let a=new Uint32Array(n-r+1);for(let t of e)a[t-r]++,o++;let l=0,s=o/(t+1);for(let e=0;e<a.length&&i.length<t;e++)l+=a[e],l>s&&(i.push(e+r-1),s=o*(i.length+1)/(t+1))}return Bt(i,r,n)}function Bt(e,t,r=Nm.dcBuckets(t)){let n=e.length+1,i=new Uint8Array(39*n);for(let e=0;e<3;e++)for(let t=0;t<Lm;t++)for(let o=0;o<n;o++)i[(e*Lm+t)*n+o]=r(e,t,o,n);let o=0;for(let e of i)o=Math.max(o,e+1);return{thresholds:e,numDc:n,map:i,numCtxs:o,bucketOf:t=>{let r=0;for(let n of e)t>n&&r++;return r},...Ht(i,n,o)}}function Ht(e,t,r){return{contextOf:(r,n,i=0)=>e[((r<2?1^r:2)*Lm+i)*t+n],nonZero:(e,t)=>(Math.min(e,64)<8?Math.min(e,64):4+(Math.min(e,64)>>1))*r+t,zeroDensityOffset:e=>r*bm+wm*e,contexts:495*r}}function Kt(e,t){if((e=>!e.thresholds.length&&e.map.every((e,t)=>e===Nm.standard()(t>=Lm?1:0,t%Lm)))(t))e.write(1,1);else{e.write(1,0),e.write(4,0),e.write(4,t.thresholds.length);for(let n of t.thresholds)e.writeU32([[4,0],[8,16],[16,272],[32,65808]],r(n));e.write(4,0),e.write(4,0),J(e,t.map)}}function Tt(){try{return!("object"!=typeof WebAssembly||!Xm||(Rl??=jm(),!Rl)||(Xl||=Gl(),0))}catch{return!1}}function Gt(){ql=null,_m=65536}function Dt(e){(function(e){for(let t=0;t<64;t++)e[4+t]=Math.floor(16777216/(t+1));for(let t=12;t<=13;t++)for(let r=0;r<2048;r++){let n=Math.max(0,26-Math.clz32(r+1));e[68+2048*(t-12)+r]=4+(t*e[4+(r>>n)]>>n)}})(new Int32Array(e.buffer)),new Uint8Array(e.buffer).set(Dm,32768);for(let t=0;t<16;t++)new Uint8Array(e.buffer)[33535+t]=t;new Uint8Array(e.buffer).set(Pm,33792)}function Pt(){if(!_l){let{memory:e,exports:t}=Be();Dt(e),Rm=He(Gt,null,()=>Dt(e)),_l={...Te(t,Rm),memory:e}}Ke(Rm)}function St(e){ql=null,Ge(e)}function jt(e,{values:t,counts:r},n=!1){return(!(t instanceof Int32Array)||!(r instanceof Uint32Array)||t.length!==r.length||t.length>1048576||e.length<1||e.length>64)&&Tm(),ic(e=>e.prices,[t,r,t.length,$m(e),e.length,n?1:0,Hm(131072),Hm(4096),33792,Um(Float64Array,2*e.length)])[1]}function Xt(e,t,r,n,i,o){return!(e&&!(e instanceof vo&&e.write===vo.prototype.write&&e.grow===vo.prototype.grow)||n<0||t.length<n||r.length<n||o<0||o>i.length)&&function(e){Rt();try{return Pt(),e()}catch(e){Zm(e)}}(()=>{let a=_m,l=a+9232*i.length,s=l+4*n,m=s+(2*n+3&-4),c=m+4*n;St(e?c+64:m+4*n);let h=_l.memory.buffer,f=new Uint16Array(h),u=new Int32Array(h);i.forEach((e,t)=>{let r=a+9232*t>>1;f.fill(0,r,r+520),f.set(e.counts,r),f.set(e.starts,r+256),f.set(e.reverse,r+520)}),u.set(t.subarray(0,n),l>>2),u.set(r.subarray(0,n),m>>2);let d=_l.tokAnsBack(l,n,a+9232*o,s);if(!e)return d;St(c+(d+e.pending>>3)+16),h=_l.memory.buffer;let p=_l.tokAnsWrite(l,m,n,s,e.acc,e.pending,c),g=p>>3,M=7&p,y=new Uint8Array(h);return e.at+g+8>=e.bytes.length&&e.grow(g+8),e.bytes.set(y.subarray(c,c+g),e.at),e.at+=g,e.acc=M?y[c+g]&(1<<M)-1:0,e.pending=M,d})}function _t(e,t,r){let{count:n,classes:i,pieceValue:o,pieceDistance:a,pieceContext:l}=e;(n<1||n>1048576||i<1||i>4096||!(o instanceof Int32Array)||!(a instanceof Int32Array)||!(l instanceof Uint8Array)||o.length<n||a.length<n||l.length<n||t<1||t>4096||i*t>1<<21||!Tt())&&Tm();let[,s,m,c,h]=ic(e=>(o,a,l,s,m,c,h,f)=>{e.pieces(o,a,l,n,t,s,s+i*t*4,s+i*(t+1)*4,r,m,c,h,f);let u=new Int32Array(e.memory.buffer,f,2);return[u[0],u[1]]},[Jm(Int32Array,o,n),Jm(Int32Array,a,n),Jm(Uint8Array,l,n),Um(Uint32Array,i*(t+2),1),Bm(Uint32Array,n,e=>e[0]),Bm(Uint32Array,n,e=>e[1]),Bm(Uint32Array,n,e=>e[1]),Hm(8)],!0);return{counts:s.slice(),literals:s.subarray(i*t,i*(t+1)),copies:s.subarray(i*(t+1)),larges:m,lengths:c,distances:h}}function Rt(){if(!Tt())throw Aa()}function qt(e,t,r,n=1){let i=t.map(()=>H(r,0,n)),o=t.map(()=>H(r)),a=i.map(()=>new Uint32Array(na));t.forEach((e,t)=>ac(null,a[t],e,o[t])),j(e,{useGlobalTree:!1,transforms:[]});let l=G(e,T(i)),s=X(e,l,a,e=>i.indexOf(e));t.forEach((t,r)=>ac(e,s[r+1].code,t,o[r]))}function zt(e,t,r){let n=new vo(256),i=new vo(256),o=H(r),a=[new Uint32Array(na)];qt(n,t,r);for(let e of t)ac(null,a[0],e,o);j(i,{useGlobalTree:!1,transforms:[]});let l=X(i,G(i,o),a,()=>0);for(let e of t)ac(i,l[1].code,e,o);e.append(i.bitLength<n.bitLength?i:n)}function Vt(e,t,r){let n=r>>>0,i=t;for(let r=0;r<t;r++)n=Math.imul(n^e[r],2654435761),i=Math.imul(i+e[r],2246822519)^n>>>15;return 4294967296*(n>>>0)+(i>>>0)}function Yt(e,t){return k(e,t,dc),dc[0]}function Wt(e){let t=0,r=0;for(let n of e)n&&(t+=n,r-=yc(n));return r+yc(t)}function Zt(e,t,r){let n=0,i=0;for(let o=0;o<r;o++){let r=e[o]+t[o];r&&(n+=r,i-=yc(r))}return i+yc(n)}function Qt({contexts:e,small:t,totals:r,large:n}){let i=[];n.forEach((e,t)=>{if(e){i.push(t,e.size);for(let[t,r]of e)i.push(t,r)}});let o=0,a=0,l=0;for(let e=0,r=0;e<t.length;e++)t[e]&&(o++,a=Math.max(a,e-r),r=e,l=Math.max(l,t[e]));let s=a<65536,m=s?new Uint16Array(o):new Uint32Array(o),c=l<65536?new Uint16Array(o):new Uint32Array(o);for(let e=0,r=0,n=0;e<t.length;e++)t[e]&&(m[r]=s?e-n:e,c[r++]=t[e],n=e);return{contexts:e,at:m,values:c,totals:r.every(e=>e<=4294967295)?Uint32Array.from(r):r,large:Float64Array.from(i),...s&&{gaps:!0}}}function $t({contexts:e,at:t,values:r,totals:n,large:i,gaps:o=!1}){let a=new Uint32Array(64*e);for(let e=0,n=0;e<t.length;e++)n=o?n+t[e]:t[e],a[n]=r[e];let l=new Array(e).fill(null);for(let e=0;e<i.length;){let t=l[i[e]]=new Map;for(let r=i[e+1],n=e+2;r>0;r--,n+=2)t.set(i[n],i[n+1]);e+=2+2*i[e+1]}return Object.assign(Object.create(uc.prototype),{contexts:e,small:a,large:l,totals:n instanceof Float64Array?n:Float64Array.from(n)})}function er(e){let t=e.length,r=new Int32Array(t),n=new Int32Array(t),i=new Float64Array(t),o=new Int32Array(t),a=new Float64Array(t),l=0,s=0;e.forEach((e,t)=>{l+=e.contexts.length,s+=e.freqs.length,r[t]=l,n[t]=s,i[t]=e.bits,o[t]=e.last,a[t]=e.cost});let m=new Int32Array(l),c=new Uint32Array(s);return e.forEach((e,t)=>{m.set(e.contexts,t?r[t-1]:0),c.set(e.freqs,t?n[t-1]:0)}),{contexts:m,ends:r,freqs:c,fends:n,bits:i,last:o,cost:a}}function tr(e){let t=new Int32Array(e.length),r=new Int32Array(e.length),n=0;e.forEach((e,i)=>{t[i]=e.ctx,n+=e.sparse.length,r[i]=n});let i=new Uint32Array(n);return e.forEach((e,t)=>i.set(e.sparse,t?r[t-1]:0)),{ctx:t,ends:r,runs:i}}function rr({contextMap:e,histograms:t}){let r=[0,0,0],n=new Int8Array(64*t.length),i=new Int32Array(64*t.length);return t.forEach(({code:e,config:t},o)=>{for(let a=0;a<64;a++){k(t,a,r);let l=e.lengths[r[0]],s=l+r[1],m=64*o+a;void 0===l||s>24?n[m]=-1:(n[m]=s,i[m]=e.codes[r[0]]|r[2]<<l)}}),{write:(r,o,a)=>{let l=e[o];if(a>=0&&a<64){let e=64*l+a,t=n[e];if(t>=0)return void r.write(t,i[e])}let s=t[l];C(r,s.code,s.config,a)},writeTokens(r,o,a,l){for(let s=0;s<l;s++){let l=e[o[s]],m=a[s];if(m>=0&&m<64){let e=64*l+m,t=n[e];if(t>=0){r.write(t,i[e]);continue}}let c=t[l];C(r,c.code,c.config,m)}}}}function nr(t,r){let{contextMap:n,histograms:i}=((t,r)=>e(Oc(t,r,void 0,void 0,void 0)))(t,r),o=0;for(let e of i){let{freqs:t,extra:r}=e,n=e.code=w(t);o+=r;for(let e=0;e<t.length;e++)t[e]&&(o+=t[e]*n.lengths[e])}let a=new vo;B(a,{contextMap:n,histograms:i}),o+=a.bitLength;let l={kind:"prefix",contextMap:n,histograms:i.map(({config:e,code:t})=>({config:e,code:t}))},{write:s,writeTokens:m}=rr(l);return{contextMap:n,histograms:i,model:l,write:s,writeTokens:m,writeFilled:r?.kernels?.prefixFilled?.(l)||void 0,bits:o,header:a,writeHistograms:e=>e.append(a)}}function ir(e){let t=[0,0,0],r=[],i=e.lengths||e.subarray(e.length-33);if(e.literalPairs){let t=e.literalPairs,n=e.literalPairsLen??t.length;for(let e=0;e<n;e++)r.push(t[e])}else if(e.literals)for(let[t,n]of e.literals)n&&r.push(t,n);else for(let t=0,n=e.length-33;t<n;t++)e[t]&&r.push(t,e[t]);let o,a,l=0;for(let e=0;e<33;e++)l+=i[e]*Math.max(0,e-12);e:for(let e of Nc){let s=new Uint32Array(na),m=l;for(let n=0;n<r.length;n+=2){if(k(e,r[n],t),t[0]>=224)continue e;s[t[0]]+=r[n+1],m+=r[n+1]*t[1]}s.set(i,224);let c=L(s),h=xc;h.at=0,h.acc=0,h.pending=0,x(h,e),F(h,c);let f=h.bitLength+m+(1===c.alphabetSize?1:5+n(c.alphabetSize-1));for(let e=0;e<c.alphabetSize;e++)s[e]&&(f+=s[e]*c.lengths[e]);let u={config:e,freqs:s,bits:f,extra:m};o||(o=u),(!a||f<a.bits)&&(a=u)}return[o,a]}function or(e,t,r,n,i=null){let o,a="dcBuckets"===e&&0===t,l=a?r?Kc:Hc:i?Bt(t?i:[],r,Nm[e](r)):Ut(n,t,r,Nm[e](r));return l.numCtxs>16?null:(a?o=r?Gc:Tc:(o=new vo(128),Kt(o,l)),{candidate:l,header:o})}function*ar(e,t,r,n,i,o,a,l,s=null,m=13){let c=or(e,t,r,n,s);if(!c)return null;let{candidate:h}=c,f=h===i||h.numCtxs===i.numCtxs&&h.numDc===i.numDc&&h.map.every((e,t)=>e===i.map[t]),u=[];for(let e=0;e<o.length;e++){let t=()=>f?o[e]:lr(i,o[e],h,m);u.push(a.steps?yield*a.steps(t,l):a(t(),l))}return Dc(c,u)}function lr(e,t,r,n){let i=new Int16Array(e.numCtxs).fill(-1);for(let t=0;t<3;t++)for(let o=0;o<n;o++)for(let n=0;n<e.numDc;n++)i[e.map[(t*Lm+o)*e.numDc+n]]=r.map[(t*Lm+o)*r.numDc+(1===r.numDc?0:n)];let o=new uc(r.contexts),a=(e,r)=>{if(t.totals[e]){o.totals[r]+=t.totals[e];for(let n=0;n<64;n++)o.small[64*r+n]+=t.small[64*e+n];if(t.large[e]){let n=o.large[r]||(o.large[r]=new Map);for(let[r,i]of t.large[e])n.set(r,(n.get(r)||0)+i)}}};for(let t=0;t<e.numCtxs;t++){let n=i[t];if(!(n<0)){for(let i=0;i<bm;i++)a(i*e.numCtxs+t,i*r.numCtxs+n);for(let i=0;i<wm;i++)a(e.numCtxs*bm+t*wm+i,r.numCtxs*bm+n*wm+i)}}return o}function sr(e,t,r,n,i){if(!n)return qt(e,t,r);let o=t.map(()=>H(r)),a=o.map(()=>new Uint32Array(na)),l=n&&t.map((e,t)=>function(e,t,r,n,i){if(!t||!r)return{tags:new Uint32Array(0),extra:new Uint32Array(0),used:0,literalPairs:new Uint32Array(0),literalPairsLen:0,lengths:new Uint32Array(33)};if(5!==n)throw yo("JXL_INTERNAL","A modular stream plan is gradient-predicted.");let o=(Ia.dcPlan??va().dcPlan??Fa())(e,t,r,i);if(!o)throw Na("dcPlan");return o}(e.data,e.w,e.h,r,a[t]));n||t.forEach((e,t)=>ac(null,a[t],e,o[t])),j(e,{useGlobalTree:!1,transforms:[]});let s=G(e,T(o)),m=n?new vo(256):e,c=X(m,s,a,e=>o.indexOf(e));if(n){let t=m.bitLength,r=l.map((e,r)=>{let n=a[r],i=c[r+1].code.lengths;for(let e=0;e<i.length;e++)n[e]&&(t+=n[e]*(i[e]+(e<224?e>1?e-1:0:Math.max(0,e-236))));let o=ir(e)[1],l=o.config;if((0!==l.split||0!==l.msb||0!==l.lsb)&&!(Ia.planTokens??va().planTokens??Fa())(e,l))throw Na("planTokens");return e.freqs=[o.freqs],o}),h=new vo(256),f=n(h,s,r.map(e=>e.freqs),e=>o.indexOf(e),e=>r[e].config,i);if(h.bitLength+f.measure(l)<t)return f(l),void e.append(h);e.append(m)}t.forEach((t,r)=>ac(e,c[r+1].code,t,o[r]))}function mr(e,t,r=0){let n=t[0].quant,i=t[1].quant,o=t[2].quant,a=Xc.get(n),l=a?.get(i),s=l?.get(o);if(!s){let e=new vo(256),m=!1,c=[0,1,2].map(e=>{let n=new Int32Array(64);if(function(e,t,r=0,n=8){let i=!1;for(let o=r;o<n;o++)for(let r=0;r<8;r++){let n=e[8*o+r];t[8*r+o]=n,(n<-32768||n>32767)&&(i=!0)}return i}(t[e].quant,n)&&!r&&(m=!0),r)for(let e=0;e<64;e++)n[e]/=2**r;return{w:8,h:8,data:m?n:Int16Array.from(n)}});zt(e,c,5),s={writer:e,wide:m},a||Xc.set(n,a=new WeakMap),l||a.set(i,l=new WeakMap),l.set(o,s)}return e.append(s.writer),s.wide}function cr(e,t,r,n,i,o){let a=Math.min(32,r-32*n),l=t+7>>3,s=(32*n-o)*e[1].stride*64,m=a*e[1].stride*64,c=4*n*l,h=(a+7>>3)*l,f=(Ia.entropy??va().entropy??Fa())()??Fa();for(let r=0;r<2;r++){let o=2*r;f.fitCfl(e[1].coeffs.subarray(s,s+m),e[o].coeffs.subarray(s,s+m),e[1].quant,e[o].quant,t,a,e[1].stride,i[r].subarray(c,c+h),i[2][n])}i[2][n]=1}function hr(e,t,r,n){let i=t+7>>3,o=r+7>>3,a=[new Int8Array(i*o),new Int8Array(i*o),new Uint8Array(n)],l=[{...e[0],coeffs:Int16Array.from(e[0].coeffs)},e[1],{...e[2],coeffs:Int16Array.from(e[2].coeffs)}];for(let e=0;e<n;e++)cr(l,t,r,e,a,0);return{comps:l,maps:a,tw:i}}function*fr(t,r={},n){n&&n.jpeg!==t&&Object.assign(n,{jpeg:t,cflFit:void 0,cflMaps:null,blockCounts:null,countedByOrder:null,tokensByOrder:null,tokenStore:null,dcSections:null,ansDcSections:null,lfSections:null,acSections:null,modularAns:null,lfCoder:null,modular16bit:!0});let l=(n?.modular16bit??!0)&&!1!==t.modular16bit,{width:s,height:m,components:c,alpha:h,auxiliary:f,xyb:g,strategyData:M,splineBits:y,useDCFrame:b,authoredOrderPasses:w}=t,L=1===c.length,{isFirstFrame:O=!0,isLastFrame:A=!0,crop:I=null,saveAsReference:v=0,imageWidth:F,imageHeight:N,alphaChannel:x=!!h,mask:k=!1,patches:E=null}=t.placement??{};if(k&&(!x||!I))throw yo("JXL_INTERNAL","A mask needs alpha and a crop.");let C=function(e,t={},r=function(e,t={}){let{width:r,height:n,components:i,xyb:o,strategyData:a,progression:l,authoredOrderPasses:s}=e,m=1===i.length,c=void 0!==e.cflBase,h=l?.count||1,f=o&&e.epf||0,u=e.quantScale||1,d=e.quantFieldBase||1,p=1;for(;d/(2040*u)<1/16384;)d*=2,p*=2;let g=!o&&(e.ycbcr||m),M=m?[0,0,0]:g&&!e.frameOrder?[1,0,2]:[0,1,2],y=M.map(e=>i[e]),b=!(!t.orders||s||!M.some(e=>t.orders[e].some((e,t)=>e!==t))),w=b?M.map(e=>t.orders[e].map(e=>Im[e])):[Im,Im,Im],L=e=>1===e?0:2===e?1:-1,O=g?1:Math.min(...y.map(e=>e.h)),A=g?1:Math.min(...y.map(e=>e.v)),I=y.map(e=>e.h%O?-1:L(e.h/O)),v=y.map(e=>e.v%A?-1:L(e.v/A));if(I.includes(-1)||v.includes(-1))throw ge("sampling factors other than one or two");let F=Math.max(...I),N=Math.max(...v),x=I.map(e=>F-e),k=v.map(e=>N-e);if(!g&&(F||N))throw ge("an RGB JPEG with subsampling");let E=Math.ceil(r/(8<<F))<<F,C=Math.ceil(n/(8<<N))<<N,J=Math.ceil(r/xo),U=Math.ceil(n/xo),B=J*U,H=Math.ceil(E/256),K=Math.ceil(C/256),T=H*K,G=1===B&&1===h;if(a&&(F||N||t.orders&&!s))throw ge("variable transforms with subsampling or DCT8-only learned orders");return{grey:m,directRGB:c,numPasses:h,epf:f,quantScale:u,field:d,shift:p,ycbcr:g,map:M,comps:y,hasOrders:b,orders:w,rawH:I,rawV:v,maxhs:F,maxvs:N,hshifts:x,vshifts:k,xsizeBlocks:E,ysizeBlocks:C,groupsX:J,groupsY:U,numGroups:B,dcGroupsX:H,dcGroupsY:K,numDcGroups:T,single:G}}(e,t)){let{comps:n,ycbcr:i,directRGB:o}=r,{xyb:a}=e,l=!0===e.jpegReconstruction,s=e=>{let t=1024;for(;e%t;)t>>=1;return t},m=n.map(e=>i||a||o||l?1:e.quant[0]/s(e.quant[0])),c=n.map(e=>i||a||o?0:l?Math.floor(1024/e.quant[0]):1024/s(e.quant[0]));return r.dcScale=m,r.dcLift=c,r}(t,r),{directRGB:J,numPasses:U,epf:H,quantScale:K,field:T,shift:G,ycbcr:D,map:P,comps:S,hasOrders:j,orders:X,rawH:_,rawV:R,maxhs:q,maxvs:z,hshifts:Z,vshifts:Q,xsizeBlocks:$,ysizeBlocks:ee,groupsX:te,groupsY:re,numGroups:ne,dcGroupsX:ie,dcGroupsY:oe,numDcGroups:ae,single:le,dcScale:se,dcLift:me}=C,ce=!(!t.jpegReconstruction||L||q||z||D&&!(ne<=64)||M||t.cfl||!t.band&&!S.every(e=>e.coeffs)),he=-1,fe=ce?t.band?(()=>{let e=$+7>>3,t=ee+7>>3,r=n?.cflMaps||[new Int8Array(e*t),new Int8Array(e*t),new Uint8Array(re)];n&&(n.cflMaps=r);let i=new Int16Array(32*S[0].stride*64),o=new Int16Array(32*S[2].stride*64);return{comps:[{...S[0],coeffs:i},S[1],{...S[2],coeffs:o}],maps:r,tw:e,b0:i,b2:o}})():n?n.cflFit||=hr(S,$,ee,re):hr(S,$,ee,re):null,ue=fe?fe.comps:S,de=fe&&t.band?e=>{e!==he&&(t.band(e),fe.b0.set(S[0].coeffs),fe.b2.set(S[2].coeffs),ue[0].row0=S[0].row0,ue[2].row0=S[2].row0,he=e,cr(ue,$,ee,e,fe.maps,32*e))}:t.band,Me=e=>Z[e],ye=e=>Q[e],be=(Ia.entropy??va().entropy)?.(),we=function*(e,n){let o=r.lfCoder,a=new vo(4096),s=function(e,t){let r=t%e.dcGroupsX,n=Math.floor(t/e.dcGroupsX),o=256*r,a=256*n,l=Math.min(256,e.xsizeBlocks-o),s=Math.min(256,e.ysizeBlocks-a);return{gx:r,gy:n,x0:o,y0:a,rw:l,rh:s,cw:l+7>>3,ch:s+7>>3,bits:i(l*s)}}(C,e),{gx:m,gy:c,x0:h,y0:u,rw:d,rh:p,cw:g,ch:y,bits:w}=s;if(1!==n){if(!b){a.write(2,0);let e=[1,0,2].map(e=>{let t=d>>Me(e),r=p>>ye(e),n=Nt(vt(0,C,e,h>>Me(e),u>>ye(e),t,r),new Int16Array(t*r));return n instanceof Int32Array&&(l=!1),{w:t,h:r,data:n}}),t=t=>sr(t,e,5,r.modularAns,be);o?.dcSteps?yield*o.dcSteps(a,e,t,be):o?o.dc(a,e,t,be):t(a)}if(f?.group(a,2048*m,2048*c,2048,3,1/0),0===n)return a}let L=M&&M.blocks.filter(e=>e.bx>=h&&e.bx<h+d&&e.by>=u&&e.by<u+p).sort((e,t)=>e.by-t.by||e.bx-t.bx),O=!o||!0===o.plainMetadata,{count:A,uniformBlocks:I,uniformSharpness:v,sharpVal:F}=function(e,t,r,n,i){return{count:n??r.rw*r.rh,uniformBlocks:i&&null==n&&!e.quantFields,uniformSharpness:i&&!e.sharpness,sharpVal:t.epf?7:0}}(t,C,s,L?.length,O);w&&a.write(w,A-1);let N=null;ym(T,1),I||(N=new Int32Array(2*A).fill(T-1,A),L&&function(e,t,r=0,n=e.length){for(let i=r;i<n;i++)t[i]=e[i].id}(L,N),t.quantFields&&L?function(e,t,r,n,i,o=0,a=n.length){for(let l=o;l<a;l++){let o=n[l];i[n.length+l]=ym(e[o.by*t+o.bx],r)}}(t.quantFields,$,G,L,N):t.quantFields&&function(e,t,r,n,i,o,a,l,s=0,m=a){for(let c=s;c<m;c++)for(let s=0;s<o;s++)l[o*a+c*o+s]=ym(e[(i+c)*t+n+s],r)}(t.quantFields,$,G,h,u,d,p,N));let x=[new Int16Array(g*y),new Int16Array(g*y)];if(fe)for(let e=0;e<y;e++){let t=(u>>3)+e;fe.maps[2][t>>2]||de(t>>2);for(let r=0;r<g;r++){let n=t*fe.tw+(h>>3)+r;x[0][e*g+r]=fe.maps[0][n],x[1][e*g+r]=fe.maps[1][n]}}let k=[{w:g,h:y,data:x[0]},{w:g,h:y,data:x[1]},I?{w:A,h:2,rowValues:[0,T-1]}:{w:A,h:2,data:N},v?{w:d,h:p,rowValues:new Int16Array(p).fill(F)}:{w:d,h:p,data:new Int16Array(d*p)}],E=e=>zt(e,k,T>1?5:0);return o?.metadataSteps?yield*o.metadataSteps(a,k,E,be):o?o.metadata(a,k,E,be):E(a),a};if(void 0!==r.lfGroup){let t=l,n=(t=>e(we(t,void 0)))(r.lfGroup);return{bytes:n.bytes.slice(0,n.at),at:n.at,pending:n.pending,acc:n.acc,wide:t&&!l}}let Le=$>>Me(1),Oe=ee>>ye(1),Ae=!!r.fast,Ie=null,ve=()=>(Ie||(Ie=new Int32Array(Ae?0:Le*Oe),Ae||Nt(vt(0,C,1,0,0,Le,Oe),Ie)),Ie),Fe=function(e,t,r){let n=t.comps[1].quant,o=(n[8]+n[16]+n[24]+n[32]+n[40])/t.quantScale,a=t.xsizeBlocks*t.ysizeBlocks;return r||e.useDCFrame||a<256?0:Math.max(1,Math.min(7,i(a)-i(o)-(e.xyb?6:7)))}(t,C,Ae),Ne=t.jpegReconstruction?[]:["standard"],xe=r.countedMap?["dcBuckets"]:M?r.richContexts?["dcBuckets","sizes","sizesShared","sizes3","sizes3Shared","sizesDc",...Ne]:["dcBuckets","sizes","sizesShared",...Ne]:["dcBuckets",...Ne],ke=!M&&0===Fe,Ee=M?Nm.fine(L):void 0,Ce=()=>L?Kc:Hc,Je=yield*V("block-contexts",()=>{let e=ve(),t=ke?Ce():Ut(e,Fe,L,Ee),r=new Uint8Array(e.length),n=t.bucketOf,i=0,o=-1;if(e.length){i=o=e[0];for(let t of e)t<i?i=t:t>o&&(o=t)}if(o-i<e.length){let t=new Uint8Array(o-i+1);for(let e=i;e<=o;e++)t[e-i]=n(e);for(let n=0;n<e.length;n++)r[n]=t[e[n]-i]}else for(let t=0;t<e.length;t++)r[t]=n(e[t]);return{thresholds:ke?null:t.thresholds,lumaBuckets:r}}),Ue=ke?Ce():Bt(Je.thresholds,L,Ee),{lumaBuckets:Be}=Je,He=null,Ke=[0,1,2].map(()=>new Int32Array(1024)),Te=!L&&t.nonZero?P.map(e=>t.nonZero[e]):null,Ge=!(!n?.blockCounts&&!Te),De=n?.blockCounts||Te||ue.map((e,t)=>L&&1!==t?null:new Uint8Array(void 0===e.row0?e.coeffs.length/64:e.stride*e.rows)),Pe=_c||={ctxs:new Int32Array(ko),values:new Int32Array(ko)},Se=(e,r=0)=>{let n=t.band?Math.floor(e/te):-1,i={authoredOrderPasses:w,groupsX:te,strategyData:M,map:P,progression:null,contexts:Ue,lumaBuckets:Be,lumaW:Le,nzeros:Ke,xsizeBlocks:$,ysizeBlocks:ee,comps:ue,grey:L,orders:X,counted:Ge,blockCounts:De,nonZero:t.nonZero||void 0,tokenBuffer:Pe,hshifts:Z,vshifts:Q};if(!t.band||M)return{state:i,g:e};let o=32*n,a=Math.min(32,ee-o);return{g:e%te,state:{...i,ysizeBlocks:a,comps:i.comps.map(e=>({...e,row0:0})),blockCounts:De.map((e,t)=>e?.subarray((o>>ye(t))*ue[t].stride,(o+a>>ye(t))*ue[t].stride)),nonZero:t.nonZero?.map((e,t)=>e?.subarray((o>>ye(t))*ue[t].stride,(o+a>>ye(t))*ue[t].stride)),lumaBuckets:Be.subarray((o>>ye(1))*Le,(o+a>>ye(1))*Le)}}},je=null,Xe=null,_e=(e,t)=>{let{state:r,g:n}=Se(e,t);if(M){if(Ia.strategyFill||Ia.ensure?.(),!Ia.strategyFill)throw yo("JXL_WASM","The block-strategy writer is unavailable: an encoder needs WebAssembly with SIMD.");let e=Ia.strategyFill(r,n,t,Am,Om,Mm,Pe.ctxs,Pe.values);if(null==e)throw yo("JXL_INTERNAL","The kernels did not fill a block picture's AC group.");return[e,Pe.ctxs,Pe.values]}let i=be?.fill(r,n,t,vm);if(!i)throw Na("fill");return i},Re=(e,r,i)=>{de?.(e/te|0);let o=Se(e,i);if((Ia.acGroup??va().acGroup)?.(o.state,o.g,i,{counts:r,coding:null,w:null},vm))return;if(t.unpackBand?.(),!Pe)throw Na("acGroup");let[a,l,s]=_e(e,i);l.buffer!==Pe.ctxs.buffer&&be.countFilled(r,a)||r.addTokens(l,s,a),je&&!be&&!M&&(je[e]=n.tokenStore.keep({ctxs:l,values:s},a))},qe=(e,r,i,o)=>{de?.(e/te|0);let a=Se(e,o),l=(Ia.acGroup??va().acGroup)?.(a.state,a.g,o,{counts:null,coding:r,w:i},vm);if(l)return l;if(t.unpackBand&&(t.unpackBand(),a=Se(e,o)),M)return function(e,t,r,n,i){Ia.strategyWrite||Ia.ensure?.();let o=Ia.strategyWrite?.(e,t,r,Am,Om,Mm,n,i);if(!o)throw yo("JXL_INTERNAL","The kernels did not write a block picture's AC group.");return o}(a.state,a.g,o,r,i);if(!Pe||!r.writeTokens)throw Na("acGroup");if(r.writeFilled&&!M){let e=be.fill(a.state,a.g,o,vm);if(e)return void(e.wide?r.writeTokens(i,e[1],e[2],e[0]):r.writeFilled(i,e[0]))}let s=je?.[e];if(!s||!1===Xe){let[t,a,l]=_e(e,o);return je&&!be&&!M&&!Xe&&(je[e]=n.tokenStore.keep({ctxs:a,values:l},t)),void r.writeTokens(i,a,l,t)}if(!Xe)return void r.writeTokens(i,s.ctxs,s.values,s.ctxs.length);let m=Pe.ctxs,c=s.ctxs.length;for(let e=0;e<c;e++)m[e]=Xe[s.ctxs[e]];r.writeTokens(i,m,s.values,c)},ze=2*ne*U+ae,Ve=0,Ye=n?n.countedByOrder||=new Map:null,We=w||(j?r.orders:null),Ze=r.coding||Fc,Qe=Ye?.get(We),$e=Qe||Array.from({length:U},()=>new uc(Ue.contexts)),et=Pe&&Ye&&!t.band?n.tokensByOrder||=new Map:null;if(je=et?.get(We)||null,(!Qe||!je)&&et&&(et.clear(),(n.tokenStore||=function(){let e=[],t=0,r=0;return{reset(){t=0,r=0},keep({ctxs:n,values:i},o){let a=0;for(let e=0;e<o;e++)a|=n[e]|i[e];if(a>>>0>65535)return null;let l=ko<<Math.min(t,3);r+o>l&&(t++,r=0,l=ko<<Math.min(t,3));let s=e[t]||={ctxs:new Uint16Array(l),values:new Uint16Array(l)},m={ctxs:s.ctxs.subarray(r,r+o),values:s.values.subarray(r,r+o)};return m.ctxs.set(n.subarray(0,o)),m.values.set(i.subarray(0,o)),r+=o,m}}}()).reset(),je=[],et.set(We,je)),r.countGroups){for(let e=r.countGroups[0];e<r.countGroups[1];e++)Re(e,$e[0],0);return{counts:$e[0],blockCounts:De}}let tt=kc()&&!Qe&&!r.pooled&&ne>1&&(yield{offload:"run",task:{kind:"count",image:t,plan:r,groups:ne},at:()=>Ve/ze});if(Qe&&!Ba())Ve+=ne*U,yield Ve/ze;else if(tt){for(let e of tt)$e[0].merge(e.counts),e.blockCounts.forEach((e,t)=>{let r=De[t];if(e)for(let t=0;t<e.length;t++)e[t]>r[t]&&(r[t]=e[t])});Ve+=ne,yield Ve/ze}else{let e=null,t=()=>({counts:$e.map(Qt),blockCounts:De}),r=()=>{e&&(e.counts.forEach((e,t)=>{$e[t]=$t(e)}),e.blockCounts.forEach((e,t)=>e&&De[t].set(e)),e=null)};if(e=yield*W("counts",function*(){if(Qe)return Ve+=ne*U,yield Ve/ze,null;for(let n=0;n<U;n++)for(let i=0;i<ne;i+=2){let o=Math.min(ne,i+2),a=yield*Y("count",()=>{r();for(let e=i;e<o;e++)Re(e,$e[n],n);return null},t);for(a!==Ha&&null!==a&&(e=a);Ve<n*ne+o;)yield++Ve/ze}return r(),null},t,!1,!0),e&&(Ve=ne*U),Ba()){let t=e,n=yield*V("block-counts",()=>(r(),De));if(t){n.forEach((e,t)=>e&&De[t].set(e));let r=(e,t)=>Object.defineProperty($e,e,{value:t,writable:!0,enumerable:!0,configurable:!0}),i=()=>{let n=t.counts.map($t);e=null,n.forEach((e,t)=>r(t,e))};for(let e=0;e<$e.length;e++)Object.defineProperty($e,e,{get:()=>(i(),$e[e]),enumerable:!0,configurable:!0})}}else r()}Ye&&Ye.set(We,$e),Ge=!0,n&&(n.blockCounts=De);let rt=null,nt=Ue,it=[];for(let e of xe)for(let t of"standard"===e?[0]:r.fast?[Fe]:Fe>0&&"dcBuckets"===e?[0,Fe]:Fe>0&&"sizesDc"===e?[Fe]:[0])it.push([e,t]);let ot=(r.splitGroups&&M||r.remoteDesigns)&&it.length>1&&1===$e.length&&!r.fast?yield{kind:"designs",list:it,counts:$e[0],lumaDc:ve(),wanted:Fe,grey:L,fine:!!M,clusters:r.clusters,coding:Ze}:null,at=Array.isArray(ot)?ot:ot?.totals??null,lt=ot?.priced??null,st=1/0,mt=-1;for(let e=0;e<it.length;e++){let[t,n]=it[e];if(at){null!=at[e]&&(mt<0||at[e]<st)&&(st=at[e],mt=e);continue}let i=yield*ar(t,n,L,null,nt,$e,Ze,{...r.clusters,smallestMap:!0,kernels:be},Je.thresholds??[],M?Lm:1);i&&(!rt||i.total<rt.reduce((e,t)=>e+t.bits,He.bitLength))&&(rt=i.codings,Ue=i.candidate,He=i.header)}if(at&&mt>=0){let t=!lt?.[mt]&&ot.coding?.(mt),n=t?or(it[mt][0],it[mt][1],L,ve()):null;(lt?.[mt]||n)&&globalThis.__jxlTrace?.push(["the kept design built as "+(n?"a helper priced it":"priced here"),performance.now()]);let i=lt?.[mt]??(n&&Dc(n,[t]))??((...t)=>e(ar(...t)))(it[mt][0],it[mt][1],L,ve(),nt,$e,Ze,{...r.clusters,smallestMap:!0,kernels:be},null,M?Lm:1);rt=i.codings,Ue=i.candidate,He=i.header}let ct=Ue===nt||Ue.numDc===nt.numDc&&Ue.numCtxs===nt.numCtxs&&Ue.map.every((e,t)=>e===nt.map[t]);if(je&&(Xe=ct?null:function(e,t,r=13){let n=new Int16Array(e.numCtxs).fill(-1);for(let i=0;i<3;i++)for(let o=0;o<r;o++)for(let r=0;r<e.numDc;r++){let a=e.map[(i*Lm+o)*e.numDc+r],l=t.map[(i*Lm+o)*t.numDc+(1===t.numDc?0:r)];if(n[a]>=0&&n[a]!==l)return!1;n[a]=l}let i=new Int32Array(e.contexts).fill(-1);for(let r=0;r<e.numCtxs;r++){let o=n[r];if(!(o<0)){for(let n=0;n<bm;n++)i[n*e.numCtxs+r]=n*t.numCtxs+o;for(let n=0;n<wm;n++)i[e.numCtxs*bm+r*wm+n]=t.numCtxs*bm+o*wm+n}}return i}(nt,Ue,M?Lm:1)),r.writeGroups){let e=rt[0],t=[];for(let n=r.writeGroups[0];n<r.writeGroups[1];n++){let r=new vo(4096);qe(n,e,r,0),e.flush&&e.flush(r),t.push({bytes:r.bytes.slice(0,r.at+1),at:r.at,pending:r.pending,acc:r.acc})}return t}let ht=Array.from({length:Eo(ne,ae,U)},()=>null),ft=e=>ht[le?0:e]||(ht[le?0:e]=new vo(4096)),ut=new Uint32Array(ht.length),dt=0,pt=e=>{e=le?0:e;let t=Math.ceil(ht[e].bitLength/8);dt+=t-ut[e],ut[e]=t,a(dt)},gt=ft(0);E&&null(gt,E,x),y&>.append(y),function(e,t,r,n){let{comps:i,dcScale:a,quantScale:l}=r,{xyb:s}=t;e.write(1,0);for(let t=0;t<3;t++)e.write(16,o(i[t].quant[0]/a[t]/(2040*l)*128));if(e.write(2,3),e.write(16,57343),e.write(2,1),e.write(5,0),e.append(n),s)e.write(1,1);else{if(!(Math.abs(t.cflBase??0)<=4))throw yo("JXL_INTERNAL",`A base color correlation of ${t.cflBase} is outside -4 to 4.`);let r=o(t.cflBase??0);e.write(1,0),e.write(2,0),e.write(16,r),e.write(16,r),e.write(8,128),e.write(8,128)}e.write(1,0)}(gt,t,C,He),f?f.global(gt):x&&((e,t)=>{if(k)return qt(e,t,5,255);let n=e=>sr(e,t,5,r.modularAns,be);r.lfCoder&&!0!==r.lfCoder.plainMetadata?r.lfCoder.metadata(e,t,n,be):n(e)})(gt,[1===ne?(()=>{let e=0*xo,r=0*xo,n=Math.min(xo,s-e),i=Math.min(xo,m-r),o=t.alphaWords?new Int32Array(n*i):new Int16Array(n*i),a=t.alphaRows?.(r,i);return function(e,t,r,n,i,o,a,l,s=0,m=a.length/o,c=0){let h=e||t,f=l?7:0;if(!h)return void a.fill(l?1:255,s*o,m*o);let u=e?i:-c;for(let e=s;e<m;e++){let t=e*o,i=4*((u+e)*r+n)+3;for(let e=0;e<o;e++)a[t+e]=h[i+4*e]>>f}}(h,a,s,e,r,n,o,k),{w:n,h:i,data:o}})():{w:0,h:0,data:new Int32Array(0)}]),pt(0),n&&r.modularAns&&n.modularAns!==r.modularAns&&(n.ansDcSections=null,n.modularAns=r.modularAns);let Mt=r.lfCoder;n&&Mt&&n.lfCoder!==Mt&&(n.lfSections=null,n.lfCoder=Mt);let yt=Mt?"lfSections":r.modularAns?"ansDcSections":"dcSections",bt=n&&(n[yt]||(n[yt]=[])),wt=null;Mt&&r.modularAns&&(wt=((e,t)=>{let r={coder:t.lfCoder,modularAns:t.modularAns,epf:e.epf,strategyData:e.strategyData,quantFields:e.quantFields,cfl:e.cfl,auxiliary:e.auxiliary,useDCFrame:e.useDCFrame,sharpness:e.sharpness,field:e.quantFieldBase,alpha:e.alpha,xyb:e.xyb,ycbcr:e.ycbcr,reconstruction:e.jpegReconstruction,cflBase:e.cflBase},n=Bc.get(e.components);if(n&&Object.keys(r).every(e=>n[e]===r[e]))return n;let i={...r,sections:[],wide:!1};return Bc.set(e.components,i),i})(t,r),bt=wt.sections,n&&(n[yt]=bt),wt.wide&&(l=!1));let Lt=l,Ot=Ba()&&!n?.ownDc?null:bt,At=e=>({kind:"lf",image:t,plan:r,g:e}),It=kc()?Array.from({length:ae},(e,t)=>t).filter(e=>!Ot?.[e]):[];It.length&&(yield{offload:"prefetch",tasks:It.map(At),at:()=>Ve/ze});for(let e=0;e<ae;e++){if(Ot?.[e]){ft(1+e).append(bt[e]),pt(1+e),yield++Ve/ze;continue}let t,r=It.length&&(yield{offload:"run",task:At(e),at:()=>Ve/ze});if(r?.wide&&(l=!1),r)t=Object.assign(new vo(0),{bytes:r.bytes,at:r.at,pending:r.pending,acc:r.acc});else for(let r of[0,1]){let n=yield*W("dc",function*(){let t=l,n=yield*we(e,r);return{w:Pc(n),wide:t&&!l}},({w:e,wide:t})=>({w:Sc(e),wide:t}));n.wide&&(l=!1);let i=Object.assign(new vo(0),n.w);r?t.append(i):t=i}ft(1+e).append(t),pt(1+e),bt&&(t.bytes=t.bytes.slice(0,t.at),bt[e]=t),n&&(n.modular16bit=l),wt&&Lt&&!l&&(wt.wide=!0),yield++Ve/ze}let Ft=ft(1+ae);Ft.write(1,0);for(let e=0;e<17;e++){let r=M?.tables[e];if(M?!r:0!==e){Ft.write(3,0);continue}if(r?.parameters){Jt(Ft,r.parameters.syntax,P);continue}if(!r&&t.quantTable){Ft.write(3,6),Ft.write(4,5);for(let e of P)for(let r of t.quantTable[e])Ft.write(16,r);continue}r&&0===e&&8===r.w&&r.h;let n=!1;if(n){Jt(Ft,n,[0,1,2]);continue}let i=xt(r?P.map(e=>r.planes[e]):ue.map(e=>e.quant));Ft.write(3,7),Ft.write(16,o(T/(2040*K)*2**i)),r?zt(Ft,[0,1,2].map(e=>{let t=i?Int32Array.from(r.planes[P[e]],e=>e/2**i):r.planes[P[e]];for(let e of t)(e<-32768||e>32767)&&(l=!1);return{w:r.h,h:r.w,data:t}}),r.w!==r.h?0:5):mr(Ft,ue,i)&&(l=!1)}ne>1&&Ft.write(i(ne),0);for(let e=0;e<rt.length;e++){let n=rt[e];Et(Ft,t,C,r,e),n.writeHistograms?n.writeHistograms(Ft):B(Ft,{contextMap:n.contextMap,histograms:n.histograms})}if(pt(1+ae),n&&(n.modular16bit=l),r.estimate&&rt.every(e=>void 0!==e.payloadBits))return Math.ceil(dt+rt.reduce((e,t)=>e+t.payloadBits,0)/8+4*ne*U);let Ct=n?.acCoding!==Ze||le||f||r.pooled||r.estimate?null:{global:Ft.finish(),globalBits:Ft.bitLength,contexts:He.finish(),contextBits:He.bitLength,coder:Ze,entropy:Ia.entropy,group:Ia.acGroup,alphaCoder:x&&!k?r.lfCoder:void 0},Ht=Ct&&!Ba()&&n.acSections;Ht&&(Ht.coder!==Ct.coder||Ht.entropy!==Ct.entropy||Ht.group!==Ct.group||Ht.alphaCoder!==Ct.alphaCoder||Ht.globalBits!==Ct.globalBits||Ht.contextBits!==Ct.contextBits||!Ct.global.every((e,t)=>e===Ht.global[t])||!Ct.contexts.every((e,t)=>e===Ht.contexts[t]))&&(Ht=null),n&&(n.acSections=null);let Kt,Tt=e=>null!=e&&(Object.getPrototypeOf(e)===Int16Array.prototype||Object.getPrototypeOf(e)===Int32Array.prototype),Gt=!t.band&&(r.pooled||kc())&&(M?M.blocks.every(e=>e.coeffs.every(Tt)):ue.every(e=>Tt(e.coeffs)));if(!Ht&&Gt&&(ne>1||r.pooled&&le)&&!f&&rt[0].model){let e=rt[0],n=[0,1,2].map(Me),i=[0,1,2].map(ye),o={coding:e.model,grey:L,orders:X,hshifts:n,vshifts:i,authoredOrderPasses:w?.map(({byStrategy:e,ordinary:t})=>({byStrategy:e,ordinary:t})),contexts:{thresholds:Ue.thresholds,map:Ue.map,numDc:Ue.numDc,numCtxs:Ue.numCtxs}},a=(e,t=1/0)=>{let r=e%te*32,n=32*Math.floor(e/te),i=Math.min(32,$-r),o=Math.min(32,ee-n),a=i>>Me(1),l=o>>ye(1),s=a*l;if(M){let t=new Set;for(let r of M.groups[e]){for(let e of P)s+=Cc.call(r.coeffs[e])*(r.coeffs[e]instanceof Int16Array?2:4);if(ArrayBuffer.isView(r.order)){let e=Jc.call(r.order);t.has(e)||(t.add(e),s+=Uc.call(e))}}}else for(let e=0;e<ue.length;e++)L&&1!==e||(s+=(i>>Me(e))*(o>>ye(e))*(64*(ue[e].coeffs instanceof Int16Array?2:4)+1));if(t!==1/0&&(!Number.isSafeInteger(t)||t<0)||!Number.isSafeInteger(s)||s>t)throw Object.assign(new RangeError("AC group exceeds its input reservation."),{code:"JXL_MEMORY"});let m=new Uint8Array(a*l);for(let e=0;e<l;e++){let t=((n>>ye(1))+e)*Le+(r>>Me(1));m.set(Be.subarray(t,t+a),e*a)}let c=[m.buffer],h={xsizeBlocks:i,ysizeBlocks:o,lumaW:a,lumaBuckets:m};return M?h.strategyData={groups:[M.groups[e].map(e=>{let t=P.map(t=>{let r=e.coeffs[t],n=r instanceof Int16Array?new Int16Array(r):new Int32Array(r);return c.push(n.buffer),n}),{id:i,area:o,size:a,bw:l,bh:s,order:m}=e;return{id:i,area:o,size:a,bw:l,bh:s,order:m,bx:e.bx-r,by:e.by-n,coeffs:t}})]}:(h.blockCounts=[],h.comps=ue.map((e,t)=>{let a=i>>Me(t),l=o>>ye(t);if(L&&1!==t)return h.blockCounts.push(null),{stride:a,coeffs:new Int16Array(0)};let s=e.coeffs instanceof Int16Array?new Int16Array(a*l*64):new Int32Array(a*l*64),m=new Uint8Array(a*l);for(let i=0;i<l;i++){let o=((n>>ye(t))+i)*e.stride+(r>>Me(t));s.set(e.coeffs.subarray(64*o,64*(o+a)),i*a*64),m.set(De[t].subarray(o,o+a),i*a)}return h.blockCounts.push(m),c.push(s.buffer,m.buffer),{stride:a,coeffs:s}})),{data:h,transfer:c}};if(Kt=yield{kind:"ac-group",offload:r.pooled?void 0:"groups",image:t,plan:r,groups:ne,model:o,job:a,...r.splitGroups?{lumaBuckets:Be,lumaW:Le}:{},local:function(t){try{let r=new vo(4096);return 2!==qe(t,e,r,0)&&e.flush?.(r),r}finally{e.reset?.()}},at:e=>(Ve+e+1)/ze,stop:e=>r.abortable&&e+1<ne},Kt instanceof Error)throw Kt;if(!Kt&&r.pooled)return null;if(Kt)for(let e=0;e<ne;e++){if(Object.hasOwn(Kt.errors,e))throw Kt.errors[e];let t=2+ae+e,r=Object.assign(new vo(0),Kt.results[e]);Kt.results[e]=null,le?ft(t).append(r):ht[t]=r,pt(t)}Kt&&(Ve+=ne)}if(Ht)for(let e=0;e<ne;e++){let t=2+ae+e,r=Ht.groups[e];ht[t]=Object.assign(new vo(0),{bytes:r,at:r.length}),pt(t),yield++Ve/ze}if(!Ht&&!Kt){let e=(e,t)=>{let r=2+ae+t*ne+e,n=ft(r),i=rt[t];if(2!==qe(e,i,n,t)&&i.flush&&i.flush(n),f){let t={minimum:0,maximum:2};f.group(n,e%te*xo,Math.floor(e/te)*xo,xo,t.minimum,t.maximum)}return r};for(let t=0;t<U;t++)for(let r=0;r<ne;r+=2){let n=Math.min(ne,r+2);if(le)for(let i=r;i<n;i++)pt(e(i,t)),yield++Ve/ze;else{let i=yield*V("ac",()=>{let i=[];for(let o=r;o<n;o++)i.push(Pc(ht[e(o,t)]));return i},e=>e.map(Sc));for(let e=r;e<n;e++){let n=2+ae+t*ne+e;i[e-r].bytes!==ht[n]?.bytes&&(ht[n]=Object.assign(new vo(0),i[e-r])),pt(n),yield++Ve/ze}}}}if(5===t.level&&!l)throw yo("JXL_INPUT","This picture needs level 10: its samples exceed 16-bit buffers.");let Dt,Pt,St=O&&!t.frameHeader?Math.max(t.level??5,l?5:10):5,jt=Ba()&&t.profile?.iccData,Xt=Ba()&&!le&&!jt;if(jt)Dt=yield*Ua("varDCTFile")(e=>kt(e,t,C,l,pe),ht,St,{BitWriter:vo,writeTOC:u,codestreamFromParts:p});else{let e=new vo(256);kt(e,t,C,l,pe),Xt?Dt=d(e,ht.map(jc),St,Ja):(Pt=function(e){return e.map(e=>e?e.finish():new Uint8Array(0))}(ht),Dt=d(e,Pt,St))}if(Ct&&!jt&&!Xt&&Dt.length+Ct.global.length+Ct.contexts.length<=c.reduce((e,t)=>e+(t.coeffs?.byteLength??0),0)){let e=[],t=2+ae,r=Dt.length-Pt.slice(t).reduce((e,t)=>e+t.length,0);for(let n=t;n<Pt.length;n++)e.push(Dt.subarray(r,r+Pt[n].length)),r+=Pt[n].length;n.acSections={...Ct,groups:e}}return O&&A&&!I?((e,t)=>{if(fm.size&&e instanceof Uint8Array&&t)for(let r of fm)r(e,t);return e})(Dt,t):Dt}function*ur(e,t=8,r=!1){if(!r&&e.every(e=>e.natural))return yield 1,dr(e.map(e=>Uint32Array.from({length:64},(t,r)=>r?e.natural[Im[r]]:0)),t);let n=e.map(()=>new Uint32Array(64)),i=e.reduce((e,t)=>e+t.coeffs.length,0),o=0,a=new Uint32Array(64),l=r&&3===e.length?[1,0,2]:e.map((e,t)=>t);for(let t of l){let{coeffs:r}=e[t],l=n[t];a.fill(0);for(let e=0;e<r.length;e+=65536){let t=Math.min(e+65536,r.length);if(!(Ia.nonzero??va().nonzero??Fa())(r,e,t,a))throw Na("nonzero");if(o+=t-e,yield o/i)return null}for(let e=1;e<64;e++)l[e]=a[Im[e]]}return dr(n,t)}function dr(e,t=8,r=!1,n=1/0){return e.map(e=>((e,t=8)=>[0,...Array.from({length:63},(e,t)=>t+1).sort((r,n)=>Math.floor(e[n]/t)-Math.floor(e[r]/t)||r-n)])(e,t))}function*pr(e,t,r){return yield*W("candidate",function*(){if(!t.pooled&&kc()){let r=yield{offload:"run",task:{kind:"vardct",image:e,plan:t},at:e=>e};if(r)return r}return yield*fr(e,t,r)})}function*gr(e,r,n,i,o={},a=!1){function*l(t,r,n=o){let i,l;for(s=pr(e,a?{...t,pooled:!0,abortable:!!m}:t,n),f=!1,u=!1;!(i=s.next(l)).done;){h=!0;let e=i.value,t=yield Fo(e,r);if(h=!1,l="number"==typeof e?void 0:t,"number"==typeof e){if(f=t,f&&m&&e<1)return void(u=!0)}else t?.hurried&&(f=!0)}return i.value}if(r<=3&&!n&&!i){let r=e.xyb?{fast:!0}:{},n=yield*t(fr(e,a?{...r,pooled:!0,abortable:!1}:r,o),0,1);if(a&&null===n)throw yo("JXL_INTERNAL","Incomplete AC group stream.");return n}let s,m=n,c=!1,h=!1,f=!1,u=!1;!a&&kc()&&(yield((e,t)=>({offload:"prefetch",tasks:t.map(t=>({kind:"vardct",image:e,plan:t})),at:e=>e}))(e,((e,t,r)=>e<=3&&!t&&!r?[qc]:[...e>=4&&!t?[qc]:[],{},...e>=3?[{clusters:Rc}]:[],...e>=4?[{orders:"learned"}]:[]])(r,n,i)));let d=(e,t)=>{if(u||a&&null===e){if(!m)throw yo("JXL_INTERNAL","Incomplete AC group stream.");return!1}return(!m||e.length<m.length)&&(m=e),i?.(e,t),!0};try{let t=r>=4&&!n&&e.xyb;if(t){let e={fast:!0};if(!d(yield*l(e,e=>e/10,{}),e)||f)return c=!0,m}if(!d(yield*l({},t?e=>.1+.4*e:e=>e/2),{})||f||r<3)return c=!0,m;let i,o=r<4?1:3;if(!d(yield*l({clusters:Rc},e=>.5+e/(2*o)),{clusters:Rc})||f||r<4)return c=!0,m;for(s=ur(e.components);!(i=s.next()).done;){h=!0;let e=yield.5+(1+i.value)/6;if(h=!1,e)return c=!0,m}let a={orders:i.value};return d(yield*l(a,e=>.5+(2+e)/6),a),c=!0,m}catch(e){if(h||!m||!Lo(e)&&"JXL_SIZE"!==e?.code)throw e;return m}finally{try{s?.return()}catch(e){if(c&&(!m||!Lo(e)&&"JXL_SIZE"!==e?.code))throw e}}}function Mr(e,t,r){let n=64*t;for(let t=0;t<64;t++)e.small[n+t]&&r(t,e.small[n+t]);let i=e.large[t];if(i)for(let[e,t]of i)r(e,t)}function yr(e,t,r,n){let i=new Uint32Array(128),o=[0,0,0],a=0;for(let n of t)Mr(e,n,(e,t)=>{k(r,e,o);let[n,l]=o;if(!Number.isInteger(n)||n<0||n>=128)throw yo("JXL_INTERNAL","coefficient token exceeds prefix alphabet");i[n]+=t,a+=t*l});n||=w(i);let l=a;for(let e=0;e<128;e++)if(i[e]){let t=n.lengths[e],r=1===n.simple?.length&&n.simple[0]===e;if(e>=n.alphabetSize||!(t>0||r))throw yo("JXL_INTERNAL","coefficient token is absent from prefix code");l+=i[e]*t}let s={config:r,code:n},m=new vo(256);return B(m,{contextMap:new Uint8Array(1),histograms:[s]}),{histogram:s,payloadBits:l,bits:m.bitLength+l}}function br(e,t){(function(e){let t=0;for(let r=0;r<e.contexts;r++){let n=0;if(Mr(e,r,(e,t)=>{if(!Number.isInteger(e)||e<0||e>4294967295||!Number.isSafeInteger(t)||t<=0)throw yo("JXL_INTERNAL","invalid coefficient counts");n+=t}),n!==e.totals[r])throw yo("JXL_INTERNAL","incomplete coefficient counts");t+=n}if(!Number.isSafeInteger(t)||t>4294967295)throw yo("JXL_INTERNAL","coefficient counts exceed histogram capacity")})(e);let r=Fc(e,t),n=r.contextMap,i=r.histograms.map(()=>[]);for(let t=0;t<e.contexts;t++)e.totals[t]&&i[n[t]].push(t);let o=0,a=r.histograms.map(({config:t,code:r},n)=>{let a=yr(e,i[n],t,r);for(let t of zc){let r=yr(e,i[n],t);r.bits<a.bits&&(a=r)}return o+=a.payloadBits,a.histogram}),l=new vo;B(l,{contextMap:n,histograms:a});let s=(e,t,r)=>{let i=a[n[t]];C(e,i.code,i.config,r)},m=t?.kernels?.prefixFilled({contextMap:n,histograms:a})||void 0;return{contextMap:n,histograms:a,write:s,writeTokens:(e,t,r,n)=>{for(let i=0;i<n;i++)s(e,t[i],r[i])},writeFilled:m,bits:l.bitLength+o}}function*wr(e,t,r,n=gr,i={}){function*o(t){let r=ur(e.components,t);for(;!(s=r.next()).done;)if(m=yield.5+(d+s.value)/(2*u),m)return r.return(),null;return d++,s.value}function*a(t){let n,o=pr(e,t,i);for(;!(s=o.next(n)).done;)if(n=void 0,"number"==typeof s.value){if(m=yield.5+(d+s.value)/(2*u),m&&s.value<1)return void o.return()}else n=yield Fo(s.value,e=>.5+(d+e)/(2*u));s.value.length<l.length&&(l=s.value),r?.(s.value,t),d++}if(t<8)return yield*n(e,t,void 0,r,i);let l,s,m,c,h=n(e,7,void 0,r,i);try{for(;!(s=h.next(c)).done;)c="number"==typeof s.value?m=yield s.value/2:yield Fo(s.value,e=>e/2)}finally{s?.done||h.return?.()}if(l=s.value,m)return l;let f={maxClusters:32,newClusterCost:160},u=8===t?2:11,d=0;try{let e=yield*o(8);if(m||(yield*a({orders:e,clusters:f}),m||8===t))return l;for(let t of[void 0,e])for(let e of[void 0,f])if(yield*a({orders:t,clusters:e,coding:br}),m)return l;let r=yield*o(1);if(m)return l;for(let e of[void 0,br])for(let t of[void 0,f])if(yield*a({orders:r,clusters:t,coding:e}),m)return l;return l}catch(e){if(!Lo(e)&&"JXL_SIZE"!==e.code)throw e;return l}}function Lr(e){let t=eh,r=new Uint8Array(e.length);for(let e=0;e<256;e++)t[e]=e;for(let n=0;n<e.length;n++){let i=e[n],o=0;for(;t[o]!==i;)o++;if(r[n]=o,o>0){for(let e=o;e>0;e--)t[e]=t[e-1];t[0]=i}}return r}function Or(e,t,r,n,i=1/0){let o=t?n??Lr(e):e,a=new vo(256);if(a.write(1,0),a.write(1,t?1:0),!r){let e=0;for(let t=0;t<o.length;t++)o[t]>e&&(e=o[t]);let t=uh.subarray(0,e+1);t.fill(0);for(let e=0;e<o.length;e++)t[o[e]]++;let r=L(t),n=0;for(let i=0;i<=e;i++)t[i]&&(n+=t[i]*r.lengths[i]);if(14+n>=i||(r.codes=b(r.lengths),B(a,{contextMap:Qc,histograms:[{config:Vc,code:r}]}),a.bitLength+n>=i))return null;let l=r.lengths,s=r.codes;for(let e=0;e<o.length;e++){let t=o[e];a.write(l[t],s[t])}return a}for(let e=0;e<o.length;e++)if(o[e]>=Zc)return null;let l=function(e,t,r=64){let n=e.length,i=th;rh.length<n&&(rh=new Int32Array(n)),nh.length<n&&(nh=new Uint32Array(n)),ih.length<n&&(ih=new Uint8Array(n),oh=new Uint32Array(n),ah=new Uint32Array(n),lh=new Uint8Array(n),sh=new Uint8Array(n),mh=new Uint32Array(n),ch=new Uint8Array(n),hh=new Uint8Array(n),fh=new Uint32Array(n));let o=rh,a=nh,l=ih,s=oh,m=ah;if(n>0){a[n-1]=0;for(let t=n-2;t>=0;t--)a[t]=e[t]===e[t+1]?a[t+1]+1:0}let c=t=>31*(31*e[t]+e[t+1])+e[t+2]&32767,h=e=>{if(e+2<n){let t=c(e);o[e]=i[t],i[t]=e}},f=0;try{for(let u=0;u<n;){let d=0,p=0,g=a[u];if(u+2<n)for(let t=i[c(u)],l=0;t>=0&&l<r;t=o[t],l++){let r,i=a[t];if(i!==g)r=(i<g?i:g)+1;else for(r=g+1;u+r<n&&e[t+r]===e[u+r];)r++;r>d&&(d=r,p=u-t)}if(g>=t&&g+1>d&&(l[f]=e[u],s[f]=0,m[f++]=0,h(u),u++,d=g,p=1),d>=t){l[f]=0,s[f]=d,m[f++]=p;for(let e=0;e<d;e++)h(u+e);u+=d}else l[f]=e[u],s[f]=0,m[f++]=0,h(u),u++}return f}finally{for(let e=0;e+2<n;e++)i[c(e)]=-1}}(o,r),s=uh,m=dh;s.fill(0),m.fill(0);let c=ih,h=oh,f=ah,u=lh,d=sh,p=mh,g=ch,M=hh,y=fh,w=0;for(let e=0;e<l;e++){let t=h[e];if(!t){s[c[e]]++;continue}k(Yc,t-r,ph);let n=ph[0],i=ph[1],o=ph[2];u[e]=n,d[e]=i,p[e]=o,k(Wc,f[e]-1,ph);let a=ph[0],l=ph[1],b=ph[2];g[e]=a,M[e]=l,y[e]=b,s[Zc+n]++,m[a]++,w+=i+l}let O=L(s),A=L(m),I=w;for(let e=0;e<O.alphabetSize;e++)s[e]&&(I+=s[e]*O.lengths[e]);for(let e=0;e<A.alphabetSize;e++)m[e]&&(I+=m[e]*A.lengths[e]);if(22+I>=i||(O.codes=b(O.lengths),A.codes=b(A.lengths),B(a,{lz77:{minSymbol:Zc,minLength:r,lengthConfig:Yc},contextMap:$c,histograms:[{config:Wc,code:A},{config:Vc,code:O}]}),a.bitLength+I>=i))return null;let v=O.lengths,F=O.codes,N=A.lengths,x=A.codes;for(let e=0;e<l;e++){if(!h[e]){let t=c[e];a.write(v[t],F[t]);continue}let t=Zc+u[e],r=d[e],n=g[e],i=M[e];a.write(v[t],F[t]),r&&a.write(r,p[e]),a.write(N[n],x[n]),i&&a.write(i,y[e])}return a}function Ar(e,t,r=!0){let n=new vo(256);J(n,t);let i=t.length>=16?Lr(t):null;if(t.length>=16)for(let e of[!1,!0])for(let o of r?[0,3,5]:[0]){let r=Or(t,e,o,i,n.bitLength);r&&r.bitLength<n.bitLength&&(n=r)}e.append(n)}function Ir(e,t){if(!t)return void e.write(1,0);let r=n(t);e.write(1,1),e.write(3,r),e.write(r,t-(1<<r))}function vr(e){let t=0,r=0;for(let n=0;n<e.length;n++)t+=e[n],e[n]&&(r=n+1);let n=new Uint16Array(r||1);if(!t)return n[0]=4096,n;let i=0;for(let o=0;o<r;o++)e[o]&&(i+=n[o]=Math.max(1,Math.round(4096*e[o]/t)));for(;4096!==i;){let o=i<4096?1:-1,a=-1,l=-1/0;for(let i=0;i<r;i++)if(e[i]&&(o>0||n[i]>1)){let r=o*(4096*e[i]-n[i]*t);r>l&&(a=i,l=r)}n[a]+=o,i+=o}return n}function Fr(e,t=!1){let r=0,n=0,i=0,o=0;for(let t=0;t<e.length;t++)e[t]&&(r+=e[t],n=t+1,o++,e[t]>e[i]&&(i=t));if(o<=2){let t=vr(e);return{counts:t,shift:12,omit:-1,bits:Nr(t,12,-1)+Cr(e,t)}}let a=(Ia.shape??va().shape??Fa())(e,n,r,i,Ah,t);if(!a)throw Na("shape");return a.none?null:a}function Nr(e,t,r){return xr(e,!0,t,r)}function xr(e,t=!1,r=12,i=-1){let o=e.length,a=i<0,l=0,s=-1,m=-1;a&&(i=0);for(let t=0;t<o;t++)e[t]&&(0===l?s=t:1===l&&(m=t),l++),a&&e[t]>e[i]&&(i=t);if(l<=2)return 2+(l?Ih(s):0)+(2===l?Ih(m)+12:0);let c=n(r+1),h=2+2*c+(c<3?1:0)+Ih(o-3),f=t?10:0;for(let t=0;t<o;t++)t!==i&&e[t]&&(f=Math.max(f,n(e[t])+1+(t<i?1:0)));let u=t=>t===i?f:e[t]?n(e[t])+1:0;for(let n=0;n<o;n++){let a=u(n);if(h+=gh[a],n!==i&&a>1&&(h+=bh(a-1,r)),t&&n!==i){let t=n+1;for(;t<o&&t!==i&&e[t]===e[n];)t++;t-n>=5&&(h+=7+Ih(t-n-5),n=t-1)}}return h}function kr(e,t,r=!1,i=12,o=-1){let a=[],l=o<0;l&&(o=0);for(let e=0;e<t.length;e++)t[e]&&a.push(e),l&&t[e]>t[o]&&(o=e);if(a.length<=2){e.write(1,1),e.write(1,a.length-1);for(let t of a)Ir(e,t);return void(2===a.length&&e.write(12,t[a[0]]))}e.write(1,0),e.write(1,0);let s=i+1,m=n(s);e.write(m,(1<<m)-1),m<3&&e.write(1,0),e.write(m,s-(1<<m)),Ir(e,t.length-3);let c=new Uint8Array(t.length),h=r?10:0;for(let e=0;e<t.length;e++)e!==o&&t[e]&&(c[e]=n(t[e])+1,h=Math.max(h,c[e]+(e<o?1:0)));c[o]=h;let f=r?new Uint16Array(t.length):null;for(let n=0;n<t.length;n++)if(e.write(gh[c[n]],Mh[c[n]]),r&&n!==o){let r=n+1;for(;r<t.length&&r!==o&&t[r]===t[n];)r++;r-n>=5&&(f[n]=r-n,e.write(7,65),Ir(e,r-n-5),n=r-1)}for(let r=0;r<t.length;r++){if(r!==o&&c[r]>1){let n=c[r]-1,o=bh(n,i);e.write(o,t[r]-(1<<n)>>n-o)}f?.[r]&&(r+=f[r]-1)}}function Er(e,t){let r=1<<t,n=4096>>t,i=new Uint16Array(e.length+1),o=new Uint16Array(4096),a=-1;for(let t=0;t<e.length;t++)i[t+1]=i[t]+e[t],4096===e[t]&&(a=t);if(a>=0)return o.set(Eh),{starts:i,reverse:o};let l=r<=256?vh:new Int32Array(r),s=r<=256?Fh:new Uint16Array(r),m=r<=256?Nh:new Int32Array(r),c=r<=256?xh:new Uint16Array(r),h=r<=256?kh:new Uint16Array(r);l.fill(0,0,r),s.fill(0,0,r),m.fill(0,0,r),l.set(e);let f=0,u=0;for(let e=0;e<r;e++)l[e]<n?c[f++]=e:l[e]>n&&(h[u++]=e);for(;u>0;){let e=h[--u],t=c[--f],r=n-l[t];l[e]-=r,s[t]=e,m[t]=l[e]-l[t],l[e]<n?c[f++]=e:l[e]>n&&(h[u++]=e)}for(let e=0;e<r;e++){let t=l[e],r=i[e],a=i[s[e]]+m[e],c=e*n;if(t>=16&&r>=0&&r+t<=4096)o.set(Eh.subarray(c,c+t),r);else for(let e=0;e<t;e++)o[r+e]=c+e;if(n-t>=16&&a+t>=0&&a+n<=4096)o.set(Eh.subarray(c+t,c+n),a+t);else for(let e=t;e<n;e++)o[a+e]=c+e}return{starts:i,reverse:o}}function Cr(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]&&(r+=e[n]*yh[t[n]]);return r}function Jr(e,t,r,n,i,o=J){t.length>1&&o(e,t),e.write(1,0),e.write(2,r-5);for(let t of n)x(e,t,r);for(let t of i)kr(e,t.counts,!0,t.shift,t.omit)}function Ur(e,t){let r=vr(e),n=new Ch;return x(n,t,Math.max(5,i(r.length))),n.bitLength+xr(r,!0)+Cr(e,r)}function Br(e){let t=vr(e),r=new Float64Array(e.length).fill(12);for(let e=0;e<t.length;e++)t[e]&&(r[e]=yh[t[e]]);return r}function Hr(e){let t={model:e,values:new Uint32Array(ko),ids:new Uint8Array(ko),length:0};return{write:(e,r,n)=>function(e,t,r){e.values[e.length]=r,e.ids[e.length++]=e.model.contextMap[t]}(t,r,n),writeTokens:(e,r,n,i)=>function(e,t,r,n){let{values:i,ids:o,model:a}=e,{contextMap:l}=a,s=e.length;for(let e=0;e<n;e++)i[s]=r[e],o[s++]=l[t[e]];e.length=s}(t,r,n,i),flush:e=>function(e,t){ms(t,e.model,e.values,e.ids,e.length),e.length=0}(t,e),reset:()=>{t.length=0}}}function Kr(t,r){return e(Tr(t,r))}function*Tr(e,t){let r=yield*W("coding",function*(){let r="function"==typeof e?e():e;return yield*function*(e,t){return yield*function*(e,t){let r=new WeakMap,n=128===t?.seeds||!!t?.headerAware,o=yield*Oc(e,t,Ur,Br,(e,t)=>{let o=new Ch,a=Fr(e,n);return r.set(e,a),x(o,t,Math.max(5,i(e.findLastIndex(Boolean)+1))),o.bitLength+a.bits}),a=yield*V("shapes",()=>{let e=32,t=o.histograms.map(({config:t,freqs:i,extra:o})=>{let{counts:a,shift:l,omit:s}=r.get(i)??Fr(i,n);return e+=o+Cr(i,a),{config:t,counts:a,shift:l,omit:s}});return{bits:e,histograms:t}}),{bits:l,histograms:s}=a,m=Math.max(5,i(Math.max(...s.map(e=>e.counts.length))),...s.map(e=>e.config.split));for(let e of s)Object.assign(e,Er(e.counts,m));let c=new vo;if(c.write(1,0),o.contextMap.length>1){let e=yield*V("map",()=>{let e=new vo;return(t?.smallestMap?Ar:J)(e,o.contextMap,t?.mapLz??!0),{bytes:e.bytes,at:e.at,pending:e.pending,acc:e.acc}},e=>({...e,bytes:e.bytes.slice(0,e.at+1)}));c.append(Object.assign(new vo(0),e))}c.write(1,0),c.write(2,m-5);for(let e of s)x(c,e.config,m);for(let e of s)kr(c,e.counts,!0,e.shift,e.omit);let h={kind:"ans",contextMap:o.contextMap,histograms:s.map(({config:e,counts:t,starts:r,reverse:n})=>({config:e,counts:t,starts:r,reverse:n}))},{write:f,writeTokens:u,writeFilled:d,flush:p,reset:g}=t?.kernels?.ansWriter?.(h)??Hr(h);return{bits:l+c.bitLength,payloadBits:l,model:h,histogramHeader:c,write:f,writeTokens:u,writeFilled:d,flush:p,reset:g,writeHistograms:e=>e.append(c)}}(e,t)}(r,t)},e=>{let t=function(e){let t=Jh.get(e);if(t)return t;let{bits:r,payloadBits:n,model:i,histogramHeader:{bytes:o,at:a,pending:l,acc:s}}=e;return{bits:r,payloadBits:n,model:i,header:{bytes:o.slice(0,a+1),at:a,pending:l,acc:s}}}(e);return{...t,model:{...t.model,histograms:t.model.histograms.map(({config:e,counts:t})=>({config:e,counts:t}))}}});if(r.write)return r;let n=Object.assign(new vo(0),r.header),o={bits:r.bits,payloadBits:r.payloadBits,histogramHeader:n,writeHistograms:e=>e.append(n)};Jh.set(o,r);let a,l=()=>{if(!a){let e=r.model.histograms,n=Math.max(5,i(Math.max(...e.map(e=>e.counts.length))),...e.map(e=>e.config.split));for(let t of e)Object.assign(t,Er(t.counts,n));a=function({bits:e,payloadBits:t,model:r,header:n},i){let o=Object.assign(new vo(0),n),{write:a,writeTokens:l,writeFilled:s,flush:m,reset:c}=i?.ansWriter(r)??Hr(r);return{bits:e,payloadBits:t,model:r,histogramHeader:o,write:a,writeTokens:l,writeFilled:s,flush:m,reset:c,writeHistograms:e=>e.append(o)}}(r,t?.kernels)}return a};for(let e of["model","write","writeTokens","writeFilled","flush","reset"])Object.defineProperty(o,e,{get:()=>l()[e]});return o}function Gr(e){let t=Uh.get(e);if(t&&t.copy.length===e.length&&t.copy.every((t,r)=>t===e[r]))return t;let r={copy:e.slice(),shape:Fr(e),aliases:new Map};return Uh.set(e,r),r}function Dr(e,t,r,n=e=>e.context,o=()=>ra,a=null){let l=new Uint8Array(t.length+1);for(let e of t){let t=n(e)+1;if(t>255)throw yo("JXL_INTERNAL","A stream names more than 256 histograms.");l[e.context]=t}let s=new Uint32Array(2);s[1]=1;let m=[s,...r.slice(0,Math.max(...l))].map(Gr),c=Math.max(5,i(Math.max(...m.map(e=>e.shape.counts.length))));if(c>8)throw yo("JXL_SIZE","Modular ANS alphabet exceeds 256");let h=m.map(({shape:e,aliases:t})=>(t.has(c)||t.set(c,Er(e.counts,c)),{...e,...t.get(c)}));e.write(1,1),e.writeU32([[0,224],[0,512],[0,4096],[15,8]],ta.minSymbol),e.writeU32([[0,3],[0,4],[2,5],[8,9]],ta.minLength),x(e,ta.lengthConfig,8),Jr(e,l,c,h.map((e,t)=>t?o(t-1):ra),h,Ar);let f=a?.modularAns(h),u=null,d=e=>{let t=(e=>{if(1===e.length&&!e[0].histogramMap){let t=e[0];return{tags:t.tags,extras:t.extra,n:t.used,offset:h.length-t.freqs.length}}let t=e.reduce((e,t)=>e+t.used,0),r=new Uint32Array(t),n=new Uint32Array(t),i=0,o=h.length-e.reduce((e,t)=>e+t.freqs.length,0);for(let t of e){let{histogramMap:e}=t;for(let a=0;a<t.used;a++,i++){let l=t.tags[a],s=o+(e?e[l>>>16]:l>>>16);r[i]=s<<16|65535&l,n[i]=t.extra[a]}o+=t.freqs.length}return{tags:r,extras:n,n:t,offset:0}})(e),r=Xt(null,t.tags,t.extras,t.n,h,t.offset);if(!1===r)throw yo("JXL_INTERNAL","The modular ANS kernel refused its token layout.");return{plans:e,packed:t,bits:r}},p=t=>{let r=f?.write(e,t);if(null!=r&&!1!==r)return u=null,r;let{packed:n}=u?.plans===t?u:d(t);u=null;let i=Xt(e,n.tags,n.extras,n.n,h,n.offset);if(!1===i)throw yo("JXL_INTERNAL","The modular ANS kernel refused its BitWriter.");return i};return p.measure=e=>{let t=f?.bits(e);return null!=t&&!1!==t?t:(u=d(e)).bits},p}function Pr(e,t,r){let n=new Uint32Array(t*r),i=new Int32Array(t*r);return function(e,t,r,n,i){if(!function(e,t,r,n,i,o,a,l,s,m=!1,c=0){if(!(r instanceof Int16Array)||n<1||i<1||n>16384||n*i>1048576||r.length<n*i||Math.abs(o)>32768||!m&&(!(l instanceof Uint32Array)||l.length<n*i||s&&(!(s instanceof Int32Array)||s.length<n*i))||!Tt())return!1;try{Pt(),c&&(8!==c||!ql||ql.buffer!==r.buffer||ql.offset!==r.byteOffset||ql.width!==n||ql.height!==i||ql.base!==_m)&&(c=0);let e=n*i,t=m>2?n*m:e,a=_m+4*t,h=_m+8*t,f=_m+12*t,u=f+40*(n+2);St(m>1?u+(2*e+15&-16)+(2*e+15&-16)+e+16:u);let d=_l.memory.buffer,p=new Int32Array(d);return c?p.set(r.subarray(c*n,e),(_m>>2)+c*n):(p.set(r.subarray(0,e),_m>>2),p.fill(0,f>>2,(f>>2)+10*(n+2))),c<i&&_l.captureWeighted(_m+c*n*4,n,i,o,a+c*n*4,h+c*n*4,c,0,0,16,272,f),m||(l.set(p.subarray(a>>2,(a>>2)+e)),s&&s.set(p.subarray(h>>2,(h>>2)+e))),!0}catch{return!1}}(0,0,e,t,r,0,0,n,i))throw Sm()}(e,t,r,n,i),{residuals:n,properties:i}}function Sr(e,t){let r=e.length,n=e[0],i=e[0];for(let t=1;t<r;t++){let r=e[t];r<n?n=r:r>i&&(i=r)}let o=i-n+1,a=[],l=new Uint8Array(r);if(o>Math.max(256,4*r)){let n=e.slice().sort();for(let e=1;e<t;e++){let i=n[Math.floor(e*r/t)-1];i<n[r-1]&&(!a.length||i>a[a.length-1])&&a.push(i)}for(let t=0;t<r;t++){let r=0,n=a.length;for(;r<n;){let i=r+n>>1;e[t]>a[i]?r=i+1:n=i}l[t]=r}return{cuts:a,indices:l}}let s=new Uint32Array(o);for(let t=0;t<r;t++)s[e[t]-n]++;let m=0,c=s[0];for(let e=1;e<t;e++){let o=Math.floor(e*r/t)-1;if(o<0)continue;for(;c<=o;)c+=s[++m];let l=n+m;l<i&&(!a.length||l>a[a.length-1])&&a.push(l)}let h=new Uint8Array(o);for(let e=0,t=0;e<o;e++){for(;t<a.length&&a[t]<n+e;)t++;h[e]=t}for(let t=0;t<r;t++)l[t]=h[e[t]-n];return{cuts:a,indices:l}}function jr(e,t,r){let n=new vo(256);return X(n,G(n,e),r,e=>t.indexOf(e),()=>ra),n.bitLength}function Xr(e,t){let{options:r,alphabet:n,table:i,rawPrice:o,candidates:a,count:l,population:s,store:m}=e;if(t.depth>=r.depth||t.ids.length<64||0===t.ownBits)return null;let c=t.ids,h=c.length,f={save:l>=256&&(h>=256||!!t.forSibling),parent:t.parent||null,sibling:t.sibling||null,handle:null},u=m.propose(c,t.hist,t.ownBits,f);if(t.parent=t.sibling=null,t.forSibling=!1,t.handle=f.handle,!u||u.gain<=0)return null;let d=H(a[t.choice.selected]),p=H(a[u.hi.selected]),g=H(a[u.lo.selected]),M=K(u.column.property,u.column.cuts[u.bin],p,g),y=Math.max(0,jr(M,[p,g],[jh(u.high[u.hi.selected]),jh(u.low[u.lo.selected])])-jr(d,[d],[jh(t.hist[t.choice.selected])])),b=u.gain*s-(y+r.charge)*Ph*l;return b>0?{...u,score:b}:null}function _r(e,t,r,n,i,o=null){let a=function(e){let t=new Map,r=[];for(let n of e){if(!n.cuts.length)continue;let e=n.indices,i=0;for(let t=0;t<e.length;t++)i=Math.imul(i^e[t],2654435761);let o=t.get(i);o?.some(t=>{if(t.cuts.length!==n.cuts.length)return!1;let r=t.indices;for(let t=0;t<e.length;t++)if(e[t]!==r[t])return!1;return!0})||(r.push(n),o?o.push(n):t.set(i,[n]))}return r}(e),l=t[0].length,s=function(e){if(Sh.length>e)return Sh;let t=new Float64Array(e+1);t.set(Sh);for(let r=Math.max(1,Sh.length);r<=e;r++){let e=31-Math.clz32(r),n=r*(1048576/(1<<e)),i=0;for(let e=2048;e;e>>=1)n=Math.floor(n*n/1048576),n>=2097152&&(n=Math.floor(n/2),i+=e);t[r]=r*(e*Ph+i)}return Sh=t}(l),m=1;for(let e of t)for(let t=0;t<e.length;t++)e[t]>=m&&(m=e[t]+1);let c=r.length,h=Float64Array.from({length:m},(e,t)=>(e=>e<16?0:1+(e-16>>3))(t)*Ph),f=e.some(e=>e.property>=16)?2:0,u=n/l,d=(Ia.sampled??va().sampled??Fa())(l,c,m,a,t,s,h);if(!d)throw Na("sampled");let p={options:i,clustered:!1,kinds:c,alphabet:m,table:s,rawPrice:h,columns:a,symbolSets:t,candidates:r,count:l,population:n,scale:u,store:d,clusters:null,maxClusters:Math.min(i.clusters??192,255-f),epoch:0,splitCost:(24+i.charge+14*(1-l/n)*u)*Ph,scratchHist:null,remCluster:null};if(o)return p.clusters=o.clusters,p.epoch=o.epoch,{...o,st:p,reserve:f,active:o.active.map(e=>({...e,proposal:e.proposal&&{...e.proposal,column:a[e.proposal.column]}}))};let g=e=>{let t=((e,t)=>{let r=0,n=0;for(let i=0;i<e.length;i++)r+=e[i],n+=t[e[i]];return t[r]-n})(e,s);for(let r=0;r<e.length;r++)t+=e[r]*h[r];return t},M=new Uint32Array(l);for(let e=0;e<l;e++)M[e]=e;let y=function(e,t,r,n){let i=new Array(n),o=e.length;for(let a=0;a<n;a++){let n=new Uint32Array(r),l=t[a];for(let t=0;t<o;t++)n[l[e[t]]]++;i[a]=n}return i}(M,t,m,c),b=(e=>{let t=0,r=g(e[0]);for(let n=1;n<e.length;n++){let i=g(e[n]);i<r&&(t=n,r=i)}return{selected:t,bits:r}})(y),w=r[b.selected],L=H(w);p.clusters=null;let O=[{node:L,ids:M,hist:y,choice:b,ownBits:b.bits,curStats:null,cluster:0,depth:0}];return O[0].proposal=Xr(p,O[0]),{st:p,reserve:f,active:O,root:L,predictor:w,leaves:1,done:!1}}function Rr(e,t=1/0){let{st:r,reserve:n,active:i}=e,{options:o,candidates:a,store:l,clusters:s,table:m}=r;for(let s=0;e.leaves<o.leaves-n;s++){if(s===t)return!1;let m=-1;for(;;){m=-1;for(let e=0;e<i.length;e++){let t=i[e].proposal;t&&t.score>0&&(m<0||t.score>i[m].proposal.score)&&(m=e)}break}if(m<0)break;let c,h=i[m],f=h.proposal,u=f.lowIds,d=f.highIds;{let e=H(a[f.hi.selected]),t=H(a[f.lo.selected]);Object.assign(h.node,K(f.column.property,f.column.cuts[f.bin],e,t)),c=[{node:e,ids:d,hist:f.high,choice:f.hi,ownBits:f.hi.bits,depth:h.depth+1},{node:t,ids:u,hist:f.low,choice:f.lo,ownBits:f.lo.bits,depth:h.depth+1}]}if(e.leaves+1<o.leaves-n){let[e,t]=c[0].ids.length<=c[1].ids.length?c:[c[1],c[0]];h.handle&&(e.forSibling=!0),e.proposal=Xr(r,e),h.handle&&e.handle&&(t.parent=h.handle,t.sibling=e.handle),t.proposal=Xr(r,t),e.handle&&e.ids.length<256&&(l.release(e.handle),e.handle=null)}h.handle&&(l.release(h.handle),h.handle=null),i.splice(m,1,...c),e.leaves++}return e.done=!0,!0}function qr({st:e,active:t,root:r,predictor:n,leaves:i,done:o}){for(let r of t)r.handle&&(e.store.release(r.handle),r.handle=null);return{root:r,predictor:n,leaves:i,done:o,clusters:e.clusters,epoch:e.epoch,active:t.map(({node:t,ids:r,hist:n,choice:i,ownBits:o,curStats:a,cluster:l,depth:s,proposal:m})=>({node:t,ids:r,hist:n,choice:i,ownBits:o,curStats:a,cluster:l,depth:s,proposal:m&&(({pairStats:t,...r})=>({...r,column:e.columns.indexOf(m.column)}))(m)}))}}function zr({st:e,active:t,root:r,predictor:n}){for(let r of t)r.handle&&e.store.release(r.handle);return t.forEach((e,t)=>{e.node.local=t}),function(e,t,r){let n=[e],i=!1;for(let e of n)e.left&&(i||=e.property>=16,n.push(e.left,e.right));if(!i)return e;let o=(e,t=1,r=1/0,n=1,i=1/0)=>{if(!e.left)return e;let a=e.splitval,l=e.property;if(2===l&&a<n||3===l&&a<t)return o(e.left,t,r,n,i);if(2===l&&a>=i||3===l&&a>=r)return o(e.right,t,r,n,i);let s=o(e.left,3===l?a+1:t,r,2===l?a+1:n,i),m=o(e.right,t,3===l?a:r,n,2===l?a:i);return s===e.left&&m===e.right?e:{...e,left:s,right:m}},a=Object.assign(H(t),{local:r}),l=Object.assign(H(t),{local:r+1});return K(2,0,K(3,0,o(e),a),l)}(r,n,t.length)}function Vr(e,t,r,{samples:n=Dh,bins:i=32,properties:o=Th,predictors:a=Gh,references:l=[],referenceKinds:s=[0,1,2,3],least:m=4096}={},c){let h=t*r;if(h<m)return null;let{residuals:f,properties:u}=c,d=function(e,t){let r=Math.min(e,t),n=new Uint32Array(r);for(let t=0;t<r;t++){let i=Math.floor(t*e/r),o=Math.floor((t+1)*e/r),a=Math.imul(t+1,2654435761);a^=a>>>16,a=Math.imul(a,2246822507),a^=a>>>13,n[t]=i+(a>>>0)%(o-i)}return n}(h,n),p=[...o];for(let e=0;e<l.length;e++)for(let t of s)p.push(16+4*e+t);let{columns:g,symbolSets:M}=function(e,t,r,n,i,o,a,l,s){let m=n.length,c=i.length,h=o.length;Rt(),Pt();let f=s.length,u=e=>e+15&-16,d=Math.min(m,65536),p=_m+u(4*d)+u(4*c)+u(4*h)+u(c*d*4)+u(h*d),g=t*(2+2*f+8),M=t*(4+2*f)+16*(f+6),y=Math.min(r,Math.floor((Ym-p-M)/g));if(y<1)throw Sm();let b=Array.from({length:c},(e,t)=>({property:i[t],values:new Int32Array(m)})),w=Array.from({length:h},()=>new Uint8Array(m)),L=u((2+y)*t*2)+u(f*(1+y)*t*2)+y*t*8+16;for(let p=0;p<m;p+=d){let g=Math.min(m,p+d),M=g-p,[,O,A]=ic(i=>(o,m,d,g,b,w)=>{for(let L=0;L<M;){let O=n[p+L]/t|0,A=Math.min(r,O+y),I=A*t,v=L+1;for(;v<M&&n[p+v]<I;)v++;let F=(A-O)*t,N=Math.min(O,2),x=Math.min(O,1),k=w+u((N+A-O)*t*2),E=(x+A-O)*t,C=k+u(f*E*2),J=C+4*F,U=i.memory.buffer;new Int16Array(U,w,(N+A-O)*t).set(e.subarray((O-N)*t,A*t)),s.forEach((e,r)=>new Int16Array(U,k+r*E*2,E).set(e.subarray((O-x)*t,A*t))),new Uint32Array(U,C,F).set(a.subarray(O*t,A*t)),new Int32Array(U,J,F).set(l.subarray(O*t,A*t)),i.treeSample(w+N*t*2,t,O,o,L,v,M,C,J,k+x*t*2,E,m,c,d,h,g,b),L=v}},[Jm(Uint32Array,n.subarray(p,g)),i,o,Um(Int32Array,c*M),Um(Uint8Array,h*M),Hm(L)],!0);for(let e=0;e<h;e++)w[e].set(A.subarray(e*M,(e+1)*M),p);for(let e=0;e<c;e++)b[e].values.set(O.subarray(e*M,(e+1)*M),p)}return{columns:b,symbolSets:w}}(e,t,r,d,Int32Array.from(p),Int32Array.from(a),f,u,l);return{quantized:g.map(({property:e,values:t})=>({property:e,...Sr(t,i)})),symbolSets:M}}function Yr(e,t,r,{nodes:n=119,samples:i=Dh,bins:o=32,properties:a=Th,predictors:l=Gh,references:s=[],referenceKinds:m=[0,1,2,3],least:c=4096,depth:h=24,charge:f=32,clustered:u=!1,clusters:d=192}={},p=null){p||=Pr(e,t,r),n=Xh(n,t,r),a.includes(9)&&function(e,t,r){if(!(e instanceof Int32Array||e instanceof Uint32Array))return!1;for(let n=0,i=0;n<r;n++)for(let r=0;r<t;r++,i++){let o=r?e[i-1]:n?e[i-t]:0,a=o+(n?e[i-t]:o)-(r&&n?e[i-t-1]:o);if(a!==(0|a))return!0}return!1}(e,t,r)&&(a=a.filter(e=>9!==e));let g=function(e,t,r,n={},i){let{depth:o=24,predictors:a=Gh,clusters:l=192,charge:s=32}=n,m=Vr(e,t,r,n,i),{leaves:c=60}=n;if(!m)return null;c=Math.min(c,255);let h=function(e,t,r,n,i){let o=_r(e,t,r,n,i);return Rr(o),zr(o)}(m.quantized,m.symbolSets,a,t*r,{leaves:c,depth:o,clustered:!1,clusters:l,charge:s});return h.left?h:null}(e,t,r,{leaves:n+1>>1,depth:h,samples:i,bins:o,properties:a,predictors:l,references:s,referenceKinds:m,least:c,charge:f,clustered:u,clusters:d},p),M=g&&Wr(g);return M&&{...M,...Zr(g,e,t,r,p.residuals,p.properties,s)}}function Wr(e){let t=[],r=new Map,n=e=>{if(e.left)return n(e.left),void n(e.right);r.has(e.local)||r.set(e.local,r.size),e.local=r.get(e.local),t.push(e)};return n(e),t.length>1?{tree:e,leaves:t,classes:r.size}:null}function Zr(e,t,r,n,i,o,a=[]){let l=[],s=e=>{l.push(e),e.left&&(s(e.left),s(e.right))};s(e);let m=new Map(l.map((e,t)=>[e,t])),c=new Int32Array(4*l.length);return l.forEach((e,t)=>c.set(e.left?[e.property,e.splitval,m.get(e.left),m.get(e.right)]:[-1,e.local,e.predictor,0],4*t)),function(e,t,r,n,i,o,a){let l=r*n,s=e=>e instanceof Int16Array||e.every(e=>e>=-32768&&e<=32767);(r<1||n<1||t.length<l||i.length<l||o.length<l||a.some(e=>e.length<l)||!s(t)||!a.every(s))&&Tm(),Rt(),Pt();let m=a.length,c=_m+(4*e.length+15&-16),h=r*(2+2*m+13),f=r*(4+2*m)+16*(m+6),u=Math.min(n,Math.floor((Ym-c-f)/h));if(u<1)throw Sm();let d=new Int32Array(l),p=new Uint8Array(l);for(let l=0;l<n;l+=u){let s=Math.min(n,l+u),c=(s-l)*r,h=Math.min(l,2),f=Math.min(l,1),g=(f+s-l)*r,[,M,y]=ic(e=>(t,n,i,o,a,m,c)=>e.treeWalk(n+h*r*2,r,l,s-l,t,o,a,i+f*r*2,g,m,c),[Jm(Int32Array,e),Jm(Int16Array,t.subarray((l-h)*r,s*r)),Km(Int16Array,m*g,e=>a.forEach((t,n)=>e.set(t.subarray((l-f)*r,s*r),n*g))),Jm(Uint32Array,i.subarray(l*r,s*r)),Jm(Int32Array,o.subarray(l*r,s*r)),Um(Int32Array,c),Um(Uint8Array,c)],!0);d.set(M,l*r),p.set(y,l*r)}return{values:d,contexts:p}}(c,t,r,n,i,o,a)}function Qr(e,t,r){let n=2166136261,i=0;for(let t=0;t<e.length;t++)n=Math.imul(n^e[t],16777619),i=i+e[t]*(t+1)|0;return t+"x"+r+":"+(n>>>0)+":"+(i>>>0)}function $r(e,t,r,n=null,i=[],o=null){let a=n?n.leaves:[Object.assign(H(5),{local:0})],l=n?n.tree:a[0],{residuals:s,properties:m}=o||Pr(e,t,r),{values:c,contexts:h}=n?.values?n:Zr(l,e,t,r,s,m,i);return{kind:"smooth",tree:l,leaves:a,classes:n?.classes??a.length,width:t,height:r,stride:t,origin:0,plane:e,minimum:4,count:t*r,pieceValue:n?.values?Int32Array.from(c):c,pieceDistance:qh(t*r),pieceContext:h}}function en(e,t,r,n){if(t>Zh||t*r>Qh){let i={residuals:new Uint32Array(t*r),properties:new Int32Array(t*r)};return n.map(()=>$r(e,t,r,null,[],i))}let i=Pr(e,t,r),o=Int32Array.from(i.properties).sort(),a=o.length;return n.map(n=>{let l=[];for(let e=1;e<(n||16);e++){let t=o[Math.floor(e*a/(n||16))];(!l.length||t>l[l.length-1])&&l.push(t)}l.length&&l[l.length-1]>=o[a-1]&&l.pop(),n||(l=function(e,t,r){let n=e.length+1,{hist:i,raw:o}=function(e,t,r){let n=t.length,i=e.length+1;(!(t instanceof Uint32Array)||!(r instanceof Int32Array)||r.length!==n||i>64)&&Tm(),Rt(),Pt(),_m+8*n+256+200*i>Ym&&Tm();let[,o,a]=ic(e=>e.cutHistogram,[t,r,n,Jm(Int32Array,e),e.length,Um(Uint32Array,48*i),Um(Float64Array,i)],!0);return{hist:Float64Array.from(o),raw:a.slice()}}(e,t,r),a=(e,t)=>{let r=0,n=t,i=0;for(let t=0;t<48;t++)r+=e[t];for(let t=0;t<48;t++)e[t]&&(n+=e[t]*Math.log2(r/e[t]),i++);return r?n+4*i+16:0},l=Array.from({length:n},(t,r)=>({h:i.slice(48*r,48*(r+1)),r:o[r],cut:r<e.length?e[r]:null}));for(;;){let e=0,t=-1;for(let r=0;r+1<l.length;r++){let n=l[r],i=l[r+1],o=n.h.map((e,t)=>e+i.h[t]),s=a(n.h,n.r)+a(i.h,i.r)-a(o,n.r+i.r);s>e&&(e=s,t=r)}if(t<0)break;let r=l[t],n=l[t+1];l.splice(t,2,{h:r.h.map((e,t)=>e+n.h[t]),r:r.r+n.r,cut:n.cut})}return l.slice(0,-1).map(e=>e.cut)}(l,i.residuals,i.properties));let s=[],m=(e,t)=>{if(e===t){let e=H(6);return e.local=s.length,s.push(e),e}let r=e+t>>1;return K(15,l[r],m(r+1,t),m(e,r))};return $r(e,t,r,{tree:m(0,l.length),leaves:s},[],i)})}function tn(e,t,r,n,i=[]){let o=$h(t,r),a=ef(n,i,o),l=o??Pr(e,t,r);return $r(e,t,r,o&&a.predictors.length<3?null:Yr(e,t,r,a,l),i,l)}function rn(e){let t=lf.get(e);if(!t){let r=function(e){let t=new Map;for(let r=rf.length-2;r>=0;r-=2)t.set(Math.max(1,rf[r]+e*rf[r+1]),r/2);return t}(e),n=Math.max(...r.keys())+1,i=new Uint8Array(n),o=new Int16Array(n).fill(-1);for(let[e,t]of r)i[e]=t<2?1:t<12?3:t<32?5:7,o[e]=t;lf.size>64&&lf.clear(),lf.set(e,t=[i,o])}return t}function nn(e,t){let r=t.values.length;for(let t=0;t<cf;t++)e[t]&&r++;let n=new Int32Array(r),i=new Uint32Array(r),o=0;for(let t=0;t<cf;t++)e[t]&&(n[o]=t,i[o++]=e[t]);return n.set(t.values,o),i.set(t.counts,o),{values:n,counts:i}}function on(e,t,r){if(!e.length)return;let{values:n,counts:i,starts:o}=function(e,t){let r=e.length;(!(e instanceof Uint32Array)||r>1<<24||t<1||t>4096)&&Tm();let[,n,i,o]=ic(e=>e.keyCounts,[e,r,Hm(4*r),Hm(8192),Bm(Int32Array,r,e=>e),Bm(Uint32Array,r,e=>e),Um(Int32Array,t+1),t]);return{values:n,counts:i,starts:o}}(e,t.length);for(let e=0;e<t.length;e++)o[e+1]>o[e]&&(t[e][r]={values:n.subarray(o[e],o[e+1]),counts:i.subarray(o[e],o[e+1])})}function an(e,t){(function(){for(let e=0;e<df;e++)ff[uf[e]]=0;df=0})();let r=[0,0,0],n=0,i=0;for(let o=0;o<t.values.length;o++){let a=t.values[o],l=t.counts[o];k(e,a,r);let s=r[0];if(s>=hf)return df=i,null;ff[s]||(uf[i++]=s),ff[s]+=l,n+=r[1]*l}return df=i,[n,uf.subarray(0,i).sort()]}function ln(e,t){let r=an(e,t);if(!r)return 1/0;let i=new vo(16);return x(i,e,15),r[0]+i.bitLength+function(e,t){let r=t.length;if(!r)return 0;let i=t[r-1]+1;if(r<=4){let o=i<=1?0:4+r*(n(i-1)+1)+(4===r?1:0);if(r<2)return o;let a=[...t].sort((t,r)=>e[r]-e[t]||t-r),l=4===r&&e[a[0]]>e[a[2]]+e[a[3]],s=2===r?[1,1]:3===r?[1,2,2]:l?[1,2,3,3]:[2,2,2,2],m=o;for(let t=0;t<r;t++)m+=e[a[t]]*s[t];return m}So.length<r&&(So=new Uint32Array(Math.max(r,2*So.length)));let o=So;for(let n=0;n<r;n++)o[n]=e[t[n]];let a=O(o,r),l=0;for(let e=0;e<r;e++)l+=o[e]*a[e];let s=new Uint32Array(18),m=8,c=0,h=-1,f=(e,t)=>{let r=t;if(e&&e!==m&&(h<0&&(h=e),s[e]++,r--,m=e),r<3)return r&&h<0&&(h=e),void(s[e]+=r);let n=e?16:17,i=e?2:3;h<0&&(h=n);let o=0;for(let e=r-3;o++,e>>=i,e;e--);s[n]+=o,c+=o*(e?2:3)};for(let e=0,n=0;e<r;){if(n<t[e]){f(0,t[e]-n),n=t[e];continue}let i=e+1;for(;i<r&&t[i]===t[i-1]+1&&a[i]===a[e];)i++;f(a[e],i-e),n=t[i-1]+1,e=i}let[u,d]=I(s.slice(),h);l+=2+c;for(let e=0;e<d;e++)l+=Jo[u[Co[e]]];for(let e=0;e<18;e++)l+=s[e]*u[e];return l}(ff,r[1])}function sn(e,t,r=null,{transforms:n=[],global:i=!1,runs:o=!1}={}){var a,l;l=t,nf(a=e,{useGlobalTree:!1,transforms:n}),function(e,t,r,n=null,i=!1){let o,a,l,s=G(e,function(e,t,r){let n=(e,i)=>{if(e===i)return r(e);let o=e+i>>1;return K(0,t[o],n(o+1,i),n(e,o))};return n(0,t.length)}(0,(e=>Array.from({length:e},(e,t)=>t))(t.length-1),e=>t[e].tree),of.treeContexts),m=0,c=[],h=0,f=0,u=0;for(let e of t){e.base=c.length,m+=e.count;let t=f,r=_t(e,cf,e.base);o=bf(0,h,r.larges.length),a=bf(1,f,r.lengths.length),l=bf(2,f,r.lengths.length),o.set(r.larges,h),a.set(r.lengths,f),l.set(r.distances,f),h+=r.larges.length,f+=r.lengths.length;for(let t=0;t<e.classes;t++)c.push({small:r.counts.subarray(t*cf,(t+1)*cf),large:pf,lengths:pf,literals:r.literals[t],copies:r.copies[t],constant:e.constant});if(f>t){if(u&&u!==e.minimum)throw yo("JXL_INTERNAL","The planes of one stream copy with different minimum lengths.");u=e.minimum}}on(o.subarray(0,h),c,"large"),on(a.subarray(0,f),c,"lengths");let d={distances:pf};on(l.subarray(0,f),[d],"distances");let{values:p,counts:g}=d.distances,M=c.filter(e=>e.literals+e.copies),y=new Int32Array(c.length);for(let e=0,t=0;e<c.length;e++)y[e]=c[e].literals+c[e].copies?t++:0;let w=[0,0,0],L=t.some(e=>"index"===e.kind)&&t[0].width<=2048?224:512,O=M.map(e=>{let t=nn(e.small,e.large);if(!e.literals)return{config:sf[0],top:0};let r,n=0,i=!1;for(let e of t.values)e>n&&(n=e);let o=[];for(let e of sf)if(!(p.length&&(k(e,n,w),w[0]>=L))){if(e.splitToken>n){if(i)continue;i=!0}o.push(e)}let a=jt(o,t);for(let e=0;e<o.length;e++){let t={config:o[e],bits:a[2*e],top:a[2*e+1]};(!r||t.bits<r.bits)&&(r=t)}return r}),I={config:ta.lengthConfig,bits:0};if(p.length){I=null;let e=new Float64Array(tf.length);for(let t of M)if(t.copies){let r=jt(tf,t.lengths);for(let t=0;t<e.length;t++)e[t]+=r[2*t]}for(let t=0;t<e.length;t++)(!I||e[t]<I.bits)&&(I={config:tf[t],bits:e[t]})}let v,F=M.map((e,t)=>function(e){let t=[];for(let r=0;r<e.length;r++)e[r]&&t.push(r);let r=A(e,t);return r.codes=b(r.lengths),r}(function(e,t,r,n,i,o){let a=[0,0,0],l=(t,r,n,i)=>{k(t,r,a),e[i+Math.min(a[0],o)]+=n};for(let e=0;e<cf;e++)t.small[e]&&l(r,e,t.small[e],0);for(let e=0;e<t.large.values.length;e++)l(r,t.large.values[e],t.large.counts[e],0);for(let e=0;e<t.lengths.values.length;e++)l(n,t.lengths.values[e],t.lengths.counts[e],i);return e}(new Uint32Array(e.copies?L+1024:O[t].top+1),e,O[t].config,I.config,L,1/0))),N=null;p.length&&af("distance",()=>{N=rn(Math.max(...t.map(e=>e.width)))[1];let e=N.length,r=new Int32Array(p.length),n=new Int32Array(p.length);for(let t=0;t<p.length;t++){let i=p[t];r[t]=i<e&&N[i]>=0?N[i]:i+119,n[t]=1===i?1:i+119}let i=[];for(let[e,t]of[[!0,{values:r,counts:g}],[!1,{values:n,counts:g}]]){let r=jt(Mf,t,!0);for(let n=0;n<Mf.length;n++)i.push({config:Mf[n],kind:e,values:t,estimate:r[2*n]})}i.sort((e,t)=>e.estimate-t.estimate);for(let{config:e,kind:t,values:r}of i.slice(0,of.prices)){let n=ln(e,r);(!v||n<v.bits)&&(v={bits:n,config:e,spatial:t,values:r})}v.code=function(e,t){return A(ff,an(e,t)[1])}(v.config,v.values),v.code.codes=b(v.code.lengths)});let x=v?1:0,E=new Uint8Array(s.length+x);if(M.length+x>256)throw yo("JXL_INTERNAL","A stream names more than 256 histograms.");for(let e of t)for(let t of e.leaves)E[t.context]=y[e.base+t.local]+x;let C=v?{minSymbol:L,minLength:u,lengthConfig:I.config}:null,J=v?{lengthConfig:I.config,distanceConfig:v.config,code:v.code,minSymbol:L,spatial:v.spatial,sCodes:N}:null,U=new vo(1024);B(U,{lz77:C,contextMap:E,histograms:[...v?[{config:v.config,code:v.code}]:[],...F.map((e,t)=>({config:O[t].config,code:e}))]});let H=null;n&&af("ans",()=>{let e=J&&{...J,distanceConfig:n.distanceConfig(v.values),lengthConfig:n.lengthConfig(M,256-L)};if(J&&(!e.distanceConfig||!e.lengthConfig))return;let r=!i,o=i||r?M.map((e,t)=>{if(!e.literals)return O[t].config;let n=nn(e.small,e.large),i=null,o=1/0,a=0,l=Math.min(J?L:1/0,r?256:1/0);if(l<1/0)for(let e of n.values)e>a&&(a=e);for(let e=0;e<mf.length;e+=64){let t=mf.slice(e,e+64),r=jt(t,n);for(let e=0;e<t.length;e++)r[2*e]<o&&!(l<1/0&&(k(t[e],a,w),w[0]>=l))&&(o=r[2*e],i=t[e])}return i}):O.map(e=>e.config),a=n.tokens(t,y,o,e,F.length,m+f);if(!a)return;let l=new vo(1024),s=new vo(a.n+64),c=[...v?[e.distanceConfig]:[],...o];n.write(l,s,{lz77:C&&{...C,lengthConfig:e.lengthConfig},contextMap:E,configs:c},a)&&(H={header:l,data:s})});let T=null,D=null,P=null,S=()=>{if(null!==P)return P;let e=0;for(let t=0;t<M.length;t++){let r=M[t],n=F[t],i=O[t].config;for(let t=0;t<cf;t++)r.small[t]&&(k(i,t,w),e+=r.small[t]*(n.lengths[w[0]]+w[1]));for(let t=0;t<r.large.values.length;t++)k(i,r.large.values[t],w),e+=r.large.counts[t]*(n.lengths[w[0]]+w[1]);for(let t=0;t<r.lengths.values.length;t++)k(I.config,r.lengths.values[t],w),e+=r.lengths.counts[t]*(n.lengths[L+w[0]]+w[1])}if(v)for(let t=0,{values:r,counts:n}=v.values;t<r.length;t++)k(v.config,r[t],w),e+=n[t]*(v.code.lengths[w[0]]+w[1]);return P=e};H&&H.header.bitLength+H.data.bitLength>1*(U.bitLength+S())&&(H=null),e.append(H?H.header:U);let j=H?()=>e.append(H.data):()=>(e=>{if(!T){T=new Uint8Array(F.length<<9),D=new Uint32Array(F.length<<9);for(let e=0;e<F.length;e++){let t=F[e],r=O[e].config,n=e<<9,i=M[e].small;for(let e=0;e<512;e++){if(!i[e])continue;k(r,e,w);let o=w[0],a=t.lengths[o];o<t.lengths.length&&(T[n|e]=a+w[1],D[n|e]=t.codes[o]|w[2]<<a)}}}return function(e,t,r,n,i,o,a,l){let s=n.length,m=new Int32Array(s),c=0;for(let e=0;e<s;e++)m[e]=c,c+=n[e].lengths.length;let h=l?l.sCodes.length:0,f=l?l.code.lengths.length:0,u=1;for(let e of t)u=Math.max(u,e.count);ic(n=>(i,o,a,s,m,c,f,u,d,p,g,M,y,b,w,L,O)=>{let A=n.memory.buffer,I=new Int32Array(A),v=new Uint8Array(A);rc(A,i,e);for(let A of t){let t=A.count,F=A.classes;for(let e=0;e<F;e++)I[(o>>2)+e]=r[A.base+e];I.set(A.pieceValue.subarray(0,t),b>>2),I.set(A.pieceDistance.subarray(0,t),w>>2),v.set(A.pieceContext.subarray(0,t),L);for(let r=0;r<t;)r=n.captureTokens(b,w,L,r,t,o,f,u,a,d,p,s,m,c,g,M,l?l.minSymbol:0,l?.spatial?1:0,h,y,O,O+Wm,i),tc(e,v,O,I[3+(i>>2)]-O)}nc(A,i,e)},[Hm(16),Hm(1024),m,$m(i,s),l?Qm(l.lengthConfig):Hm(16),l?Qm(l.distanceConfig):Hm(16),Jm(Uint32Array,o,s<<9),Jm(Uint8Array,a,s<<9),Km(Uint16Array,c,e=>n.forEach((t,r)=>e.set(t.codes,m[r]))),Km(Uint8Array,c,e=>n.forEach((t,r)=>e.set(t.lengths,m[r]))),l?Jm(Uint16Array,l.code.codes,f):Hm(0),l?Jm(Uint8Array,l.code.lengths,f):Hm(0),h?Jm(Int16Array,l.sCodes,h):Hm(0),Hm(4*u),Hm(4*u),Hm(u),Hm(Wm+64)])}(e,t,y,F,O.map(e=>e.config),D,T,J)})(e);return j.bits=()=>H?H.data.bitLength:S(),j}(a,l,0,r,!0)()}function*mn(t,r){return xf(t)?yield*r:e(r)}function cn(e="fast"){if(!Hf.has(e)){let t="object"==typeof e?e:Af[e];Hf.set(e,Object.freeze({dc:(e,r,n,i)=>Ef(e,r,t,n,!0,i),dcSteps:(e,r,n,i)=>kf(e,r,t,n,!0,i),metadataSteps:(e,r,n,i)=>kf(e,r,t,n,!1,i),metadata:(e,r,n,i)=>Ef(e,r,t,n,!1,i)}))}return Hf.get(e)}function*hn(e,t,r,n,i=Tf){let o=t.map(e=>If(e.data));if(o.includes(null)||t.some(e=>!e.w||!e.h))return void r(e);let a=[];for(let e=0;e<t.length;e++)a.push(yield*V("lf-trees",()=>en(o[e],t[e].w,t[e].h,Kf.map(t=>t[e]??t[2]))));let l=null;for(let e=0;e<Kf.length;e++){let t=yield*V("lf-stream",()=>{let t=new vo(256);return sn(t,Ga(a).map(t=>t[e]),i.ans?Uf:null),{bytes:t.bytes,at:t.at,pending:t.pending,acc:t.acc}},e=>({...e,bytes:e.bytes.slice(0,e.at+1)})),r=Object.assign(new vo(0),t);(!l||r.bitLength<l.bitLength)&&(l=r)}e.append(l)}function*fn(e,t,r,n){if(!t.length||t[0].w*t[0].h<256)return void r(e);let i=new vo(256);yield*hn(i,t,r,0,Gf);let o=yield*V("lf-bound",()=>function(e){let t=Ia.dcEvents?.(e);if(!t)return null;let r=e=>{let t=0,r=0,n=0;for(let i of e)i&&(t+=i,r+=i*Math.log2(i),n+=i*i);return[t?t*Math.log2(t)-r:0,Math.sqrt(n)]},n=0,i=0,o=0;for(let e of t){let[t,a]=ir(e),[l]=r(t.freqs),[s,m]=r(a.freqs);n+=l+t.extra,i+=s+a.extra,o+=m}return Math.min(n,(i-jf*o+Math.log2(1245184)+2*Sf)/(1+Sf/16))-1e-9*Math.max(n,i)-4}(t));if(null!=o&&i.bitLength<o)return void e.append(i);let a=Object.assign(new vo(0),yield*V("lf-plain",()=>{let e=new vo(256);return r(e),{...e,bytes:e.bytes.slice(0,e.at+1)}}));e.append(i.bitLength<a.bitLength?i:a)}function un(e){switch(e){case"plain-or-fixed":return Pf;case"quick-or-fixed":return Rf;case"effort-7":return Vf;case"effort-8":return cn("fast");case"effort-9":return cn("broad");case"monotonic-8":return Yf;case"monotonic-9":return Wf;case null:case void 0:return;default:throw yo("JXL_INTERNAL","Unknown named LF policy.")}}function dn(e,t){if(!(31744&e)||!(31744&~e)||e>>15)return!1;let r=16*t/255,n=2**((e>>10&31)-25);return Math.abs((e=>(e>>15?-1:1)*2**((e>>10&31)-15)*(1+(1023&e)/1024))(e)-r)<=1.5*n}function pn(e,t){let r=t||b(e),n=0,i=0,o=0;for(let t=0;t<e.length;t++)e[t]&&(n++,i=t,o=Math.max(o,e[t]));if(Ze(n>0),1===n)return nu(i);let a=new Int32Array(1<<o).fill(-1),l=1<<o;for(let t=1;t<=o;t++)for(let n=0;n<e.length;n++)if(!(e[n]!==t||r[n]>=1<<t))for(let e=r[n];e<l;e+=1<<t)(a[e]<0||(31&a[e])===t)&&(a[e]=n<<5|t);if(o<=tu)return{table:a,bits:o};let s=l>>tu,m=[],c=1024,h=new Int32Array(c);for(let e=0;e<1024;e++){let t=a[e];if(t>=0&&(31&t)<=tu){h[e]=t;continue}let r=!1;for(let t=0;t<s;t++)a[e+(t<<tu)]>=0&&(r=!0);r?(h[e]=ru+c,m.push(e),c+=s):h[e]=-1}let f=new Int32Array(c);f.set(h);for(let e of m)for(let t=0;t<s;t++)f[h[e]-ru+t]=a[e+(t<<tu)];return{table:f,bits:o}}function gn(e,{table:t,bits:r}){let n=iu(t,e.peek(r),r);if(n<0)throw Ms();return e.skip(31&n),n>>5}function Mn(e,t){let r=e.read(i(t+1));Ze(r<=t);let n=r===t?0:e.read(i(r+1)),o=r===t?0:e.read(i(r-n+1));return Ze(n+o<=r),{split:r,msb:n,lsb:o}}function yn(e,t,{split:r,msb:n,lsb:i}){if(t<1<<r)return t;let o=((t-=1<<r)>>>n+i)+r-n-i;return Ze(o+n+i<=31),(((1<<n)+(t>>>i&(1<<n)-1))*(1<<o>>>0)+e.read(o))*(1<<i)+(t&(1<<i)-1)}function bn(e,t,r=0){Ze(t<=5e4&&r<3);let n=new Uint8Array(t);if(e.read(1)){let r=e.read(2);if(r)for(let i=0;i<t;i++)n[i]=e.read(r)}else{let i=e.read(1)?Uint8Array.from({length:256},(e,t)=>t):null,o=An(e,1,{depth:r+1,values:t,byteHistory:!0});for(let e=0;e<t;e++){let t=o.read(0);if(Ze(t<256),!i){n[e]=t;continue}let r=i[t];n[e]=r,i.copyWithin(1,0,t),i[0]=r}o.finish()}if(t){let e=0,t=0,r=new Uint8Array(256);for(let i of n)Ze(i<256),r[i]||(r[i]=1,t++),e=Math.max(e,i);Ze(t===e+1)}return n}function wn(e,t,{depth:r=0,byteHistory:n=!1,history:i=!1}={}){let o=e.read(1),a=o?e.u32([[0,224],[0,512],[0,4096],[15,8]]):0,l=o?e.u32([[0,3],[0,4],[2,5],[8,9]]):0,s=o?Mn(e,8):null,m=t+o===1?new Uint8Array(1):bn(e,t+o,r);return n&&Ze(m.subarray(0,t).every(e=>e===m[0])),{contexts:t,lz:o,minimum:a,minLength:l,lengthConfig:s,map:m,...Ln(e,1+Math.max(...m)),byteHistory:n||i}}function Ln(e,t){let r,n,o=e.read(1),a=o?15:e.read(2)+5,l=Array.from({length:t},()=>Mn(e,a));return o?r=l.map(()=>{return e.read(1)?(1<<(t=e.read(4)))+e.read(t)+1:1;var t}).map(t=>function(e,t){if(1===t)return nu(0);let r=new Uint8Array(t),n=e.read(2);if(1===n){let n=e.read(2)+1,o=Array.from({length:n},()=>e.read(i(t)));if(Ze(new Set(o).size===n&&o.every(e=>e<t)),1===n)return nu(o[0]);let a=2===n?[1,1]:3===n?[1,2,2]:e.read(1)?[1,2,3,3]:[2,2,2,2];o.forEach((e,t)=>{r[e]=a[t]})}else{let i=[1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15],o=pn([2,4,3,2,2,4],[0,7,3,2,1,15]),a=new Uint8Array(18),l=32;for(let t=n;t<i.length&&l;t++){let r=gn(e,o);a[i[t]]=r,r&&(l-=32>>>r)}Ze(0===l);let s=pn(a),m=0,c=8,h=0,f=-1;for(l=32768;l&&m<t;){let n=gn(e,s);if(n<16)r[m++]=n,n&&(c=n,l-=32768>>>n),h=0,f=-1;else{let i=16===n?c:0,o=16===n?2:3;i!==f&&(h=0);let a=h;h=(h?(h-2)*(1<<o):0)+e.read(o)+3,f=i;let s=h-a;Ze(s>=0&&m+s<=t),r.fill(i,m,m+s),m+=s,i&&(l-=s*(32768>>>i))}Ze(l>=0)}Ze(0===l)}return pn(r)}(e,t)):n=l.map(()=>{let t=function(e){if(e.read(1)){let t=e.read(1)+1,r=Array.from({length:t},()=>eu(e));Ze(1===t||r[0]!==r[1]);let n=new Uint16Array(Math.max(...r)+1);return n[r[0]]=1===t?4096:e.read(12),2===t&&(n[r[1]]=4096-n[r[0]]),n}if(e.read(1)){let t=eu(e)+1;Ze(t>=1&&t<=4096);let r=new Uint16Array(t),n=Math.floor(4096/t),i=4096%t;r.fill(n);for(let e=0;e<i;e++)r[e]++;return r}let t=0;for(;t<3&&e.read(1);)t++;let r=(e.read(t)|1<<t)-1;Ze(r<=13);let n=eu(e)+3,i=new Uint8Array(n),o=new Uint16Array(n);Ze(n<=256);let a=pn([...gh,7],[...Mh,65]),l=0;for(let t=0;t<n;t++){let r=gn(e,a);if(13===r){let r=eu(e)+4;Ze(t>0&&t+r<=n),i.fill(i[t-1],t,t+r),o[t-1]=r+1,t+=r-1}else i[t]=r,r>i[l]&&(l=t)}let s=new Uint16Array(n),m=0;for(let t=0;t<n;t++){if(t!==l&&i[t]){let n=i[t]-1,o=0===r||0===n?0:Math.max(0,Math.min(n,r-(12-n>>1)));s[t]=(1<<n)+(o?e.read(o)<<n-o:0)}let n=o[t]||1;Ze(t===l||t+n<=l||t>l),s.fill(s[t],t,t+n),m+=n*s[t],t+=n-1}return Ze(m<4096),s[l]=4096-m,s}(e),{starts:r,reverse:n}=Er(t,a),i=new Uint16Array(4096),o=new Uint16Array(4096);for(let e=0;e<t.length;e++)for(let a=0;a<t[e];a++){let t=n[r[e]+a];i[t]=e,o[t]=a}return{counts:t,symbols:i,offsets:o}}),{prefix:o,configs:l,decoders:r,aliases:n}}function On(e,t,r,n=0){Ze(Number.isSafeInteger(r)&&r>=0);let{contexts:i,lz:o,minimum:a,minLength:l,lengthConfig:s,map:m,prefix:c,configs:h,decoders:f,aliases:u,byteHistory:d}=e,p=r,g=null,M=0,y=0,b=1,w=d?new Uint8Array(1048576):o?new Int32Array(1048576):null,L=Int32Array.from(h,e=>1<<e.split),O=c&&f.map(e=>e.table),A=c&&Int32Array.from(f,e=>e.bits),I=e=>(w&&(Ze(!d||e<256),w[1048575&y++]=e),e),v=e=>{if(c){let r=iu(O[e],t.peek(A[e]),A[e]);if(r<0)throw Ms();return t.skip(31&r),r>>5}g??=t.read(32);let r=u[e],n=4095&g,i=r.symbols[n];return g=r.counts[i]*Math.floor(g/4096)+r.offsets[n],g<65536&&(g=65536*g+t.read(16)),i};return{read:(o||w?null:c?e=>{Ze(e>=0&&e<i&&p>0),p--;let r=m[e],n=t.bit,o=t.window(n>>>3),a=(n>>>3)-t.offset,l=iu(O[r],(o[a]|o[a+1]<<8|o[a+2]<<16|o[a+3]<<24)>>>(7&n),A[r]);if(l<0)throw Ms();Ze(n+(31&l)<=8*t.bytes.length),t.bit=n+(31&l);let s=l>>5;return s<L[r]?s:yn(t,s,h[r])}:e=>{Ze(e>=0&&e<i&&p>0),p--;let r=m[e];g??=t.read(32);let n=u[r],o=4095&g,a=n.symbols[o];return g=n.counts[a]*Math.floor(g/4096)+n.offsets[o],g<65536&&(g=65536*g+t.read(16)),a<L[r]?a:yn(t,a,h[r])})||(e=>{if(Ze(e>=0&&e<i&&p>0),p--,M)return M--,I(w[y-b&1048575]);let r=m[e],c=v(r);if(o&&c>=a){M=yn(t,c-a,s)+l-1,Ze(M<=p);let e=m[i],r=yn(t,v(e),h[e]);return Ze(y>0),b=Math.min(n&&r<120?Math.max(1,rf[2*r]+n*rf[2*r+1]):n?r-119:r+1,y,1048576),I(w[y-b&1048575])}return I(c<L[r]?c:yn(t,c,h[r]))}),finish(){Ze(!M&&(c||1245184===g||0===r)),g=null},checkpoint(){return{remaining:p,state:g,left:M,position:y,distance:b,history:w?.slice(0,Math.min(y,w.length))??null}},resume(e){({remaining:p,state:g,left:M,position:y,distance:b}=e),w&&(w.fill(0),w.set(e.history))}}}function An(e,t,r){return On(wn(e,t,r),e,r.values,r.multiplier)}function In(e){let t=e.bit,r=e.read(2),n=1===r?e.read(4)+1:2===r?e.read(8)+17:3===r?e.read(12):0;if(3===r)for(let t=12;e.read(1);t+=8)Ze(t<=28),n+=e.read(8)*(1<<t>>>0);return Ze(n>=132&&n<=4294967311&&n<=Math.max(65536,32*(8*e.bytes.length-t))),{start:t,size:n,model:wn(e,41,{history:!0}),bit:e.bit}}function vn(e,t,r,n,i,o){let a=new Uint8Array(Math.min(65536,r.size-n));for(let l=0,s=n;l<a.length;l++,s++){s&&s%65536==0&&Ze(s<=32*(e.bit-r.start));let n=t.read(s<=128?0:1+ou(i)+8*au(o));Ze(n<256),a[l]=n,o=i,i=n}return{bytes:a,previous:i,older:o,bit:e.bit}}function Fn(e){let t=e+2,r=new Int32Array(2*t),n=new Int32Array(2*t),i=new Int32Array(2*t),o=new Int32Array(2*t),a=new Int32Array(2*t),l=0,s=0,m=0,c=0,h=0,f=0,u=0,d=0,p=0;return{predict(g,M,y,b,w){m=g,l=1&M?0:t,s=1&M?t:0;let L=s+m,O=m<e-1?L+1:L,A=m?L-1:L,I=su(r[L]+r[O]+r[A],13),v=su(n[L]+n[O]+n[A],12),F=su(i[L]+i[O]+i[A],12),N=su(o[L]+o[O]+o[A],12),x=8*b,k=8*y,E=8*w,C=m?a[l+m-1]:0,J=a[L],U=a[A],B=a[O],H=J+C;p=C,Math.abs(J)>Math.abs(p)&&(p=J),Math.abs(U)>Math.abs(p)&&(p=U),Math.abs(B)>Math.abs(p)&&(p=B),c=k+E-x,h=x-(16*(H+B)>>5),f=k-(10*(H+U)>>5),u=x-(7*(U+J+B)>>5);let K=27-Math.clz32(I+v+F+N);I>>=K,v>>=K,F>>=K,N>>=K;let T=I+v+F+N;if(d=Math.floor(((T>>1)-1+c*I+h*v+f*F+u*N)*lu[T-1]/16777216),(J^C|J^U)<=0){let e=Math.min(k,E,x),t=Math.max(k,E,x);d=d<e?e:d>t?t:d}return d+3>>3},get most(){return p},update(e){let t=8*e,p=Math.abs(c-t)+3>>3,g=Math.abs(h-t)+3>>3,M=Math.abs(f-t)+3>>3,y=Math.abs(u-t)+3>>3;a[l+m]=d-t,r[l+m]=p,n[l+m]=g,i[l+m]=M,o[l+m]=y,r[s+m+1]+=p,n[s+m+1]+=g,i[s+m+1]+=M,o[s+m+1]+=y}}}function Nn(e,t){let r=An(e,6,{values:393216}),n=[{depth:0}],i=[];for(let e of n){Ze(n.length<=65536&&e.depth<=2048);let o=r.read(1);if(o)e.property=o-1,Ze(e.property>=0&&e.property<16+4*t),e.cut=Qf(r.read(0)),e.left={depth:e.depth+1},e.right={depth:e.depth+1},n.push(e.left,e.right);else{e.predictor=r.read(2),e.offset=Qf(r.read(3));let t=r.read(4),n=r.read(5);Ze(e.predictor<=13&&t<=31&&n<65536),e.multiplier=(n+1)*(t<31?1<<t:2147483648),e.ctx=i.length,i.push(e)}}return r.finish(),{root:n[0],leaves:i}}function xn(e,t,r,n,i){let o=!!e.read(1);Ze(!!e.read(1)&&0===e.u32([[0,0],[0,1],[4,2],[8,18]]));let a,l,s,m=t.reduce((e,[t,r])=>e+t*r,0),c=Math.max(1,...t.map(([e])=>e));o?(Ze(r),({root:a,leaves:l}=r.tree),s=On(r.model,e,m,c)):(({root:a,leaves:l}=Nn(e,t.length)),s=An(e,l.length,{multiplier:c,values:m}));let h=[],f=!1;for(let e=[a];e.length;){let t=e.pop();t.left?(15===t.property&&(f=!0),e.push(t.left,t.right)):6===t.predictor&&(f=!0)}for(let e=0;e<t.length;e++){let[r,o]=t[e],l=new Int32Array(r*o),m=f?Fn(r):null,c=[];for(let n=e-1;n>=0;n--)t[n][0]===r&&t[n][1]===o&&c.push(h[n]);for(let t=0,h=0;t<o;t++)for(let o=0;o<r;o++,h++){let f,u=o?l[h-1]:t?l[h-r]:0,d=t?l[h-r]:u,p=o&&t?l[h-r-1]:u,g=t&&o+1<r?l[h-r+1]:d,M=t>1?l[h-2*r]:d,y=o>1?l[h-2]:u,b=m?m.predict(o,t,u,d,g):0,w=a;for(;w.left;){if(--i.left<0)throw yo("JXL_LIMIT","JPEG reconstruction Modular work exceeds the limit.");let a,s=w.property;if(s>=16){Ze(c.length>s-16>>2);let e=c[s-16>>2],n=s-16&3,i=e[h];if(n<2)a=n?i:Math.abs(i);else{let l=o?e[h-1]:0,s=t?e[h-r]:l,m=o&&t?e[h-r-1]:l,c=i-mu(l,s,m);a=2===n?Math.abs(c):c}}else switch(s){case 0:a=e;break;case 1:a=n;break;case 2:a=t;break;case 3:a=o;break;case 4:a=Math.abs(d);break;case 5:a=Math.abs(u);break;case 6:a=d;break;case 7:a=u;break;case 8:{if(!o){a=u;break}let e=o>1?l[h-2]:t?l[h-r-1]:0;a=u-(e+(t?l[h-r-1]:e)-(o>1&&t?l[h-r-2]:e));break}case 9:a=u+d-p;break;case 10:a=u-p;break;case 11:a=p-d;break;case 12:a=d-g;break;case 13:a=d-M;break;case 14:a=u-y;break;default:a=m.most}w=a>w.cut?w.left:w.right}switch(w.predictor){case 0:f=0;break;case 1:f=u;break;case 2:f=d;break;case 3:f=Math.trunc((u+d)/2);break;case 4:{let e=u+d-p;f=Math.abs(e-u)<Math.abs(e-d)?u:d;break}case 5:f=mu(u,d,p);break;case 6:f=b;break;case 7:f=g;break;case 8:f=p;break;case 9:f=y;break;case 10:f=Math.trunc((u+p)/2);break;case 11:f=Math.trunc((p+d)/2);break;case 12:f=Math.trunc((d+g)/2);break;default:{let e=t&&o+2<r?l[h-r+2]:g;f=Math.trunc((6*d-2*M+7*u+y+e+3*g+8)/16)}}let L=s.read(w.ctx),O=f+Qf(L)*w.multiplier+w.offset;Ze(Number.isSafeInteger(O)),l[h]=O,m?.update(l[h])}h.push(l)}return s.finish(),h}function kn(e,t,r=!1){if(!Number.isSafeInteger(t)||t<0||!Number.isInteger(e)||e<0||e>4294967295)throw yu("A box has a four-byte type and a safe byte length.");let n=t+(r||t>4294967287?16:8);if(!Number.isSafeInteger(n))throw yu("The JPEG XL box length exceeds the safe integer range.");let i=new Uint8Array(r||n>4294967295?16:8),o=new DataView(i.buffer);return o.setUint32(0,16===i.length?1:n),o.setUint32(4,e),16===i.length&&(o.setUint32(8,Math.floor(n/4294967296)),o.setUint32(12,n%4294967296)),i}function En(e=5){if(5!==e&&10!==e)throw yu("The JPEG XL level is 5 or 10.");let t=new Uint8Array(10===e?41:32),r=new DataView(t.buffer);return t.set(cu),r.setUint32(12,20),r.setUint32(16,hu),r.setUint32(20,fu),r.setUint32(28,fu),10===e&&(r.setUint32(32,9),r.setUint32(36,Mu),t[40]=10),t}function Cn(e){let t,r,n=-1,i=(i,o)=>{(!t||i<n||i+o>n+t.length)&&(n=i,t=e.subarray(i,Math.min(e.length,i+65536)),r=new DataView(t.buffer,t.byteOffset,t.byteLength))};return{u32(e){return i(e,4),r.getUint32(e-n)},u8(e){return i(e,1),t[e-n]}}}function Jn(e,t){if(!(e instanceof Uint8Array))throw yu("JPEG XL container is a Uint8Array.");if(!Number.isSafeInteger(t)||t<1)throw yu("maxBoxes is a positive safe integer.")}function Un(e,t,r,n){let i=r.at;if(r.count>=t)throw yu("JPEG XL box count exceeds the limit.");if(e.length-i<8)throw yu("Truncated JPEG XL box header.");let o=n.u32(i),a=o,l=i+8,s=n.u32(i+4);if(1===a){if(e.length-i<16)throw yu("Truncated extended JPEG XL box header.");a=4294967296*n.u32(i+8)+n.u32(i+12),l+=8}else a||(a=e.length-i);if(!Number.isSafeInteger(a)||a<l-i||a>e.length-i)throw yu("Invalid JPEG XL box size.");let m=i+a;if(r.first){if(s!==hu||m-l<12||(m-l)%4||n.u32(l)!==fu)throw yu("The second JPEG XL box must declare the jxl file type.");if(n.u32(l+4)>1)throw yu("JPEG XL file-format minorVersion is 0 or 1.");let e=!1,t=r.brandAt??l+8,i=Math.min(m,t+65536);for(;t<i;t+=4)if(n.u32(t)===fu){e=!0;break}if(!e&&t<m)return r.brandAt=t,null;if(!e)throw yu("The file type lacks the jxl compatibility brand.");delete r.brandAt,r.minorVersion=n.u32(l+4),r.first=!1}else if(s===hu||1247300640===s)throw yu("Repeated JPEG XL file header.");if(s===Mu){if(1!==r.count||r.levelSeen||m-l!==1||5!==n.u8(l)&&10!==n.u8(l))throw yu("The level box (5 or 10) follows the file type.");r.levelSeen=!0,r.level=n.u8(l)}let c,h,f=s;if(s===pu){if(m-l<4)throw yu("Truncated compressed JPEG XL metadata.");if(f=n.u32(l),f===pu||f===gu||f>>>8==6977644)throw yu("Brotli cannot wrap codestream, index, reconstruction or Brotli boxes.")}if(1786276969===f&&++r.indexBoxes>1||1785227117===f&&++r.gainBoxes>1)throw yu("At most one frame index and one gain map.");if(s===uu){if(r.complete||r.next)throw yu("Repeated or mixed JPEG XL codestream boxes.");r.complete=!0;for(let e=l;e<m&&r.stream<2;)if(n.u8(e++)!==(r.stream++?10:255))throw yu("Invalid logical JPEG XL codestream signature.")}else if(s===du){if(r.complete&&!r.next||m-l<4)throw yu("Invalid JPEG XL codestream fragment.");let e=n.u32(l),t=2147483647&e,i=l+4;if(h=!!(2147483648&e),c=t,0===r.minorVersion){if(t!==r.next++)throw yu("Repeated or out-of-order version 0 codestream fragment.");if(r.complete)throw yu(h?"Repeated final codestream fragment.":"The JPEG XL container has no complete codestream.");r.complete=h;for(let e=i;e<m&&r.stream<2;)if(n.u8(e++)!==(r.stream++?10:255))throw yu("Invalid logical JPEG XL codestream signature.")}else{if(r.prefixes.has(t))throw yu("Repeated or out-of-order version 0 codestream fragment.");let e=Math.min(2,m-i),o=e<<16|(e?n.u8(i)<<8:0)|(e>1?n.u8(i+1):0);if(r.prefixes.set(t,o),r.next++,h){if(-1!==r.lastIndex)throw yu("Repeated final codestream fragment.");r.lastIndex=t}if(r.highest=Math.max(r.highest??-1,t),-1!==r.lastIndex&&r.highest>r.lastIndex)throw yu("The JPEG XL container has no complete codestream.")}}return r.at=m,r.count++,{entry:{at:i,end:m,body:l,type:s,decoded:f},sequence:c,last:h,unbounded:0===o}}function Bn(e){if(1===e.minorVersion&&e.next){if(e.lastIndex!==e.next-1)throw yu("The JPEG XL container has no complete codestream.");for(let t=0;t<e.next;t++){if(!e.prefixes.has(t))throw yu("Missing JPEG XL codestream fragment.");let r=e.prefixes.get(t);for(let t=0;t<r>>>16&&e.stream<2;t++)if((r>>>(t?0:8)&255)!=(e.stream++?10:255))throw yu("Invalid logical JPEG XL codestream signature.")}e.complete=!0}if(e.first||!e.complete||e.stream<2)throw yu("The JPEG XL container has no complete codestream.")}function*Hn(e,t=65536){Jn(e,t);let r=wu(),n=Cn(e);for(;r.at<e.length;){let i=Un(e,t,r,n);i&&(yield i.entry)}Bn(r)}function Kn(e,t){if(e.entry.decoded===gu){if(t.reconstructionSeen)throw yu("Repeated JPEG reconstruction data.");t.reconstructionSeen=!0}if(e.sequence>=bu)throw yu("JPEG XL box count exceeds the limit.")}function*Tn(e,t=65536,r=!1){return yield*Ua("containerBoxes")(e,t,r,{admitBoxes:Jn,boxCursor:wu,boxWords:Cn,nextBox:Un,endBoxes:Bn,reconstructionBox:Kn})}function Gn(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}function Dn(e){if(!(e instanceof Uint8Array)||e.length<2)throw yu("JPEG XL input is a Uint8Array.");a(e.length);let t=e.subarray(0,Math.min(cu.length,e.length));if(255===t[0]&&10===t[1])return null;if(!cu.every((e,r)=>t[r]===e))throw yu("Invalid JPEG XL signature.");return{reconstruction:null,exif:null,xml:null,exifCompressed:!1,xmlCompressed:!1,parts:[]}}function Pn(e,{entry:t,sequence:r},n){t.decoded===gu&&(e.reconstruction=n(t.body,t.end)),1165519206===t.decoded&&!e.exif&&(e.exifCompressed=t.type===pu,e.exif=n(t.body+(e.exifCompressed?4:0),t.end)),2020437024===t.decoded&&!e.xml&&(e.xmlCompressed=t.type===pu,e.xml=n(t.body+(e.xmlCompressed?4:0),t.end)),t.type===uu?e.parts.push(n(t.body,t.end)):t.type===du&&(e.parts[r]=n(t.body+4,t.end))}function Sn(e,t){let{parts:r,...n}=e;return e.reconstruction?{...n,codestream:r.length>1?t(r):r[0]}:null}function jn(e,t,r){return 0===e?63&t:1===e?t>>>2:3===e?8*Hu[t]+Hu[r]:(t<128?Uu[t]:(t>=192?2:0)+(1&t))|Bu[r]}function Xn(e,t){if(!(e instanceof Uint8Array))throw Ku("bytes are a Uint8Array.");if(!t||"object"!=typeof t||Array.isArray(t))throw Ku("options are an object.");let r=t.maxOutputLength??Number.MAX_SAFE_INTEGER;if(!Number.isSafeInteger(r)||r<0)throw Ku("maxOutputLength is a nonnegative safe integer.");return r}function _n(e,t){let r=0,n=t.length;for(;r+1<n;){let i=r+n>>1;e<t[i]?n=i:r=i}return r}function Rn(e,t){return e.some(e=>e)||(e[0]=1),{...w(e),alphabetSize:t}}function qn(e,t){for(let r=0;r<4;r++)if(e[r]===t)return r;for(let r=4;r<16;r++){let n=r<10?r-4:r-10;if(e[r<10?0:1]+(1&n?1:-1)*(1+(n>>1))===t)return r}return-1}function zn(e,t,r){let i=qn(r,t);return 6*e-(0===i?5:i>0?10:10+n(t+3))}function Vn(e,t,r=!1,n=!1){let o=1<<Math.min(t,Math.max(16,i(e.length))),a=o-1,l=(1<<t)-16,s=new Int32Array(65536).fill(-1),m=new Int32Array(o).fill(-1),c=n?new Int32Array(32768).fill(-1):null,h=t=>Math.imul(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,506832829)>>>16,f=t=>Math.imul(e[t]|e[t+1]<<8|e[t+2]<<16,506832829)>>>17;return{history:[4,11,15,16],insert(t){if(t+3<e.length){let e=h(t);m[t&a]=s[e],s[e]=t}c&&t+2<e.length&&(c[f(t)]=t)},fill(t,r){let n=Math.min(r,e.length-3);for(let r=t;r<n;r++){let t=Math.imul(e[r]|e[r+1]<<8|e[r+2]<<16|e[r+3]<<24,506832829)>>>16;m[r&a]=s[t],s[t]=r}if(c)for(let n=t,i=Math.min(r,e.length-2);n<i;n++)c[Math.imul(e[n]|e[n+1]<<8|e[n+2]<<16,506832829)>>>17]=n},find(t,r,i){let o=r-t;if(o<(i?3:4))return{length:0,distance:0,score:0};let u=Math.max(0,t-l);if(!i){let r=s[h(t)],n=3,i=0,l=32;for(;r>=u&&l--;){if(e[r]===e[t]&&e[r+1]===e[t+1]&&e[r+2]===e[t+2]&&e[r+n]===e[t+n]){let a=3;for(;a<o&&e[r+a]===e[t+a];)a++;if(a>n&&(n=a,i=t-r,n===o))break}let l=m[r&a];if(l>=r)break;r=l}return{length:i?n:0,distance:i,score:6*n}}let d=0,p=0,g=3;for(let r=0;r<4;r++){let n=this.history[r];if(n>t-u)continue;let i=0;for(;i<o&&e[t-n+i]===e[t+i];)i++;if(i>=3){let e=6*i-(0===r?5:9);if(e>g&&(g=e,d=i,p=n,d===o))return{length:d,distance:p,score:g}}}if(d<4&&c){let r=c[f(t)];if(r>=u&&t-r<=256&&e[r]===e[t]&&e[r+1]===e[t+1]&&e[r+2]===e[t+2]){let e=t-r,n=zn(3,e,this.history);n>g&&(d=3,p=e,g=n)}}if(o>=4&&d<o){let r=s[h(t)],i=n?Math.max(3,d-2):Math.max(3,d),l=n?128:32;for(;r>=u&&l--;){if(e[r+i]===e[t+i]&&e[r]===e[t]&&e[r+1]===e[t+1]&&e[r+2]===e[t+2]){let a=3;for(;a<o&&e[r+a]===e[t+a];)a++;if(a>=4){let e=t-r,l=zn(a,e,this.history);if(l>g&&(g=l,d=a,p=e,i=n?Math.max(3,d-2):d,d===o))break}}let l=m[r&a];if(l>=r)break;r=l}}return{length:p?d:0,distance:p,score:g}}}}function Yn(e,t,r,n,i,o,a,l){for(;t<r;){let e=i.find(t,n,o);if(i.insert(t),e.length){if(a&&t+1<n&&e.length<32){let r=i.find(t+1,n,!0);if(r.length&&r.score>e.score+5){t++;continue}}l.push(t,e.length,e.distance),(!o||qn(i.history,e.distance))&&(i.history.pop(),i.history.unshift(e.distance)),i.fill(t+1,t+e.length),t+=e.length}else t++}return t}function Wn(e,t,r,i,o,a,l=0,s=0){let m=[],c=new Uint32Array(256),h=new Uint32Array(704),f=16+s+(48<<l),u=new Uint32Array(f),d=t,p=0,g=(t,r,i)=>{let f=t-d,g=_n(f,Nu),M=_n(r||2,xu),y=Du[3*(g>>3)+(M>>3)]+((7&g)<<3)+(7&M),b={start:d,insert:f,count:r,insertCode:g,copyCode:M,code:y};for(let r=d;r<t;r++)c[e[r]]++;let w=r&&a?qn(o,i):-1;if(0===w&&g<8&&M<16)b.code=(M>=8?64:0)+(g<<3)+(7&M),b.implicit=!0;else if(w>=0)b.distanceCode=w,b.distanceBits=0,b.distanceExtra=0,u[w]++;else if(r){let e=function(e,t,r){if(e<=r)return{code:15+e,bits:0,extra:0};let i=e-r-1,o=i&(1<<t)-1,a=(i>>>t)+4,l=n(a)-1,s=a>>>l&1;return{code:16+r+((l-1<<1|s)<<t|o),bits:l,extra:a-(2+s<<l)}}(i,l,s);b.distanceCode=e.code,b.distanceBits=e.bits,b.distanceExtra=e.extra,u[e.code]++}r&&0!==w&&(o.pop(),o.unshift(i)),r&&(p+=r),m.push(b),h[b.code]++};for(let e=0;e<i.length;e+=3)g(i[e],i[e+1],i[e+2]),d=i[e]+i[e+1];return d<r&&g(r,0,0),{commands:m,copied:p,postfix:l,direct:s,literalFrequencies:c,literal:Rn(c,256),command:Rn(h,704),distance:Rn(u,f)}}function Zn(e,t,r,n,i,o){if(!o||n.length<24)return Wn(e,t,r,n,i.slice(),o,0,0);let a=null,l=1/0;for(let[s,m]of[[0,0],[0,4],[1,4],[2,3]]){let c=Wn(e,t,r,n,i.slice(),o,s,m<<s),h=0,f=0;for(let e of c.commands)h+=c.command.lengths[e.code]+Ou[e.insertCode]+Au[e.copyCode],e.count&&!e.implicit&&(h+=c.distance.lengths[e.distanceCode]+e.distanceBits);for(let e=0;e<c.distance.lengths.length;e++)c.distance.lengths[e]&&f++;h+=4*f,h<l&&(l=h,a=c)}return a}function Qn(e,t,r){e.write(1,0),e.write(2,0),e.write(16,t-1),e.write(1,r)}function $n(e,t){let r=0,n=0,i=0;for(let o=0;o<256;o++){let a=t?e[o]+t[o]:e[o];a&&(r+=a,n-=yc(a),i++)}return n+yc(r)+(i>1?16+5*i:8)}function ei(e,t,r,n){let o=Array.from({length:64},()=>new Uint32Array(256));for(let r of t)for(let t=r.start;t<r.start+r.insert;t++)o[jn(n,t?e[t-1]:0,t>1?e[t-2]:0)][e[t]]++;let a,l=o.map((e,t)=>({freqs:e,contexts:[t],bits:$n(e)})).filter(e=>e.freqs.some(Boolean));if(l.length<2)return null;if(r)a=r.literalClusters(l);else{let e=l.length,t=new Float64Array(e*e),r=new Uint8Array(e).fill(1),n=(e,t)=>l[e].bits+l[t].bits-$n(l[e].freqs,l[t].freqs);for(let r=0;r<e;r++)for(let i=r+1;i<e;i++)t[r*e+i]=n(r,i);let i=e;for(;i>1;){let o=-1,a=-1,s=-1/0;for(let n=0;n<e;n++)if(r[n])for(let i=n+1;i<e;i++)r[i]&&t[n*e+i]>s&&(s=t[n*e+i],o=n,a=i);if(s<=0&&i<=256)break;let m=l[o],c=l[a];for(let e=0;e<256;e++)m.freqs[e]+=c.freqs[e];m.contexts.push(...c.contexts),m.bits=$n(m.freqs),r[a]=0,i--;for(let i=0;i<e;i++)r[i]&&i!==o&&(t[Math.min(i,o)*e+Math.max(i,o)]=n(Math.min(i,o),Math.max(i,o)))}a=l.filter((e,t)=>r[t])}let s=new Uint8Array(64);return a.forEach((e,t)=>{for(let r of e.contexts)s[r]=t}),{mode:n,map:s,bits:a.reduce((e,t)=>e+t.bits,0)+(a.length>1?64*Math.max(1,i(a.length)):0),trees:a.length}}function ti(e,t,r){let n=[],i=t;for(let t=0;t<e.length;t+=3)n.push({start:i,insert:e[t]-i}),i=e[t]+e[t+1];return i<r&&n.push({start:i,insert:r-i}),n}function ri(e,t,r,n,i,o,a=!0,l=null){let s=r-t,m=s>=8192&&n.copied<s>>5&&$n(n.literalFrequencies)>7.9*s;if(m&&!a)return{bytes:new Uint8Array(0),at:s+8,pending:0,acc:0};let c=m&&i?null:ni(e,t,r,n,{mode:0,map:new Uint8Array(64),trees:1,histograms:[n.literal]});if(!i)return c;let h=function(e,t,r,n,i=null){let o=new Uint32Array(256);for(let r of t)for(let t=r.start;t<r.start+r.insert;t++)o[e[t]]++;let a={mode:0,map:new Uint8Array(64),bits:$n(o),trees:1};for(let o of n){let n=i?i[o]:ei(e,t,r,o);n&&n.bits<a.bits&&(a=n)}if(1===a.trees)return{...a,histograms:[o]};let{mode:l,map:s,trees:m}=a,c=Array.from({length:m},()=>new Uint32Array(256));for(let r of t)for(let t=r.start;t<r.start+r.insert;t++)c[s[jn(l,t?e[t-1]:0,t>1?e[t-2]:0)]][e[t]]++;return{...a,histograms:c}}(e,n.commands,o,m?[3]:[0,1,2,3],l);if(1===h.trees)return c||ni(e,t,r,n,{mode:0,map:new Uint8Array(64),trees:1,histograms:[n.literal]});let f=ni(e,t,r,n,h);return c&&c.bitLength<=f.bitLength?c:f}function ni(e,t,r,i,o){let a=new vo,l=o.histograms.map(e=>e.lengths?e:Rn(Uint32Array.from(e),256));Qn(a,r-t,0),a.write(3,0),a.write(2,i.postfix),a.write(4,i.direct>>i.postfix),a.write(2,o.mode),function(e,t,r){if(function(e,t){if(!t)return void e.write(1,0);let r=n(t);e.write(1,1),e.write(3,r),e.write(r,t-(1<<r))}(e,r-1),r<=1)return;let i=new vo(64),o=new Uint32Array(r);for(let e of t)o[e]++;let a=Rn(o,r);i.write(1,0),F(i,a);for(let e of t)Pu(i,a,e);i.write(1,0);let l=new Uint8Array(t.length),s=Uint8Array.from({length:r},(e,t)=>t);for(let e=0;e<t.length;e++){let r=t[e],n=0;for(;s[n]!==r;)n++;l[e]=n,n&&(s.copyWithin(1,0,n),s[0]=r)}let m=0,c=[];for(let e=0;e<l.length;){if(0!==l[e]){c.push({sym:l[e],extraBits:0,extra:0,nonZero:!0}),e++;continue}let t=0;for(;e+t<l.length&&0===l[e+t];)t++;for(e+=t;t>=2;){let e=Math.min(16,n(t)),r=t-(1<<e);r<1<<e?(e>m&&(m=e),c.push({sym:e,extraBits:e,extra:r,nonZero:!1}),t=0):(m=16,c.push({sym:16,extraBits:16,extra:65535,nonZero:!1}),t-=131071)}1===t&&c.push({sym:0,extraBits:0,extra:0,nonZero:!1})}let h=new vo(64),f=r+m,u=new Uint32Array(f);for(let e of c)u[e.nonZero?e.sym+m:e.sym]++;let d=Rn(u,f);m>0?(h.write(1,1),h.write(4,m-1)):h.write(1,0),F(h,d);for(let e of c)Pu(h,d,e.nonZero?e.sym+m:e.sym),e.extraBits&&h.write(e.extraBits,e.extra);h.write(1,1),e.append(h.bitLength<i.bitLength?h:i)}(a,o.map,o.trees),a.write(1,0);for(let e of[...l,i.command,i.distance])F(a,e);for(let t of i.commands){Pu(a,i.command,t.code),a.write(Ou[t.insertCode],t.insert-Nu[t.insertCode]),a.write(Au[t.copyCode],(t.count||2)-xu[t.copyCode]);for(let r=t.start;r<t.start+t.insert;r++)Pu(a,l[o.trees>1?o.map[jn(o.mode,r?e[r-1]:0,r>1?e[r-2]:0)]:0],e[r]);t.count&&!t.implicit&&(Pu(a,i.distance,t.distanceCode),a.write(t.distanceBits,t.distanceExtra))}return a}function*ii(e,t={},r=ju){let n=Xn(e,t),o=!!t.literalContexts,a=o&&!1!==t.thorough,l=t.contextLimit?Math.min(e.length,t.contextLimit):e.length,s=o?Math.min(24,Math.max(16,i(l+16))):16,m=1<<Math.min(s,Math.max(16,i(e.length))),c=e.length?Vn(e,s,o,a):null,h=0,f=[];if(t.cuts?.length){let r=[0,...t.cuts,e.length];for(let e=0;e+1<r.length;e++)for(let t=r[e];t<r[e+1];t+=65536)f.push([t,Math.min(r[e+1],t+65536)])}else for(let t=0;t<e.length;t+=65536)f.push([t,Math.min(e.length,t+65536)]);let u=[],d=16===s?1:17===s?7:4;for(let[i,l]of f){let f,p=c.history.slice(),g=[],M=o&&(!t.contextLimit||i<t.contextLimit),y=i,b=p;for(let t=i+16384;y<l;t+=16384)({at:y,found:f,history:b}=yield*r("brotli-matches",()=>{let r=Su(e,Math.max(0,y-m),l);(h!==y||r!==e)&&(c=Vn(r,s,o,a),c.fill(Math.max(0,y-m),y)),c.history=b.slice();let n=[],i=Yn(0,y,Math.min(l,t),l,c,M,a&&M,n);return h=i,{at:i,found:Int32Array.from(n),history:c.history.slice()}})),g.push(f);let w=()=>{let e=[];for(let t of Ga(g))for(let r of t)e.push(r);return e},L=null;if(M){L=[];for(let n of[[0,1],[2,3]])L.push(...yield*r("brotli-modes",()=>{let r=ti(w(),i,l),o=Su(e,Math.max(0,i-m),l);return n.map(e=>ei(o,r,t.kernels,e))}))}let O=yield*r("brotli-block",()=>{let r=Su(e,Math.max(0,i-m),l),n=w(),o=a&&M?Zn(r,i,l,n,p,!0):Wn(r,i,l,n,p.slice(),M,0,0),s=ri(r,i,l,o,M,t.kernels,a&&M,L);return{bytes:s.bytes.subarray(0,s.at),at:s.at,pending:s.pending,acc:s.acc,history:b.slice()}}),A=20+(8-(d+20)%8)%8+8*(l-i),I=8*O.at+O.pending,v=Math.min(A,I);if(Math.ceil((d+v+2)/8)>n)throw Gu();I<A?(u.push(O),c.history=O.history.slice()):(c.history=p,u.push({start:i,end:l})),d+=v}if(Math.ceil((d+2)/8)>n)throw Gu();let p=new vo;var g;g=p,16===s?g.write(1,0):17===s?(g.write(1,1),g.write(3,0),g.write(3,0)):(g.write(1,1),g.write(3,s-17));let M=p.pending,y=p.acc,b=[];for(let t of u){let n=yield*r("brotli-join",()=>{let r=new vo(65552);return r.pending=M,r.acc=y,t.bytes?r.append(t):(Qn(r,t.end-t.start,1),r.zeroPadToByte(),r.append({bytes:e.subarray(t.start,t.end),at:t.end-t.start,pending:0,acc:0})),{bytes:r.bytes.subarray(0,r.at),pending:r.pending,acc:r.acc}});b.push(n.bytes),M=n.pending,y=n.acc}b.push(yield*r("brotli-final",()=>{let e=new vo(8);return e.pending=M,e.acc=y,e.write(2,3),e.finish()}));let w=(e=>Ba()?Ja(e):(e=>{let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t})(e))(b);if(w.length>n)throw Gu();return w}function oi(e,t){let r=t??b(e),n=Array(16).fill(null),i=0,o=0,a=0,l=0;for(let t=0;t<e.length;t++)if(e[t]){let s=e[t];Tu(s<=15),(n[s]??=new Map).set(r[t],t),a=Math.max(a,s),l+=32768>>s,i++,o=t}return Tu(i>0&&(1===i||32768===l),"invalid prefix-code lengths."),{levels:n,maximum:a,only:1===i?o:-1}}function ai(e,t){if(e.only>=0)return e.only;let r=0;for(let n=1;n<=e.maximum;n++){r|=t.read(1)<<n-1;let i=e.levels[n]?.get(r);if(void 0!==i)return i}throw Ku("invalid prefix symbol.")}function li(e){let t=e.reduce((e,t)=>e+t.length,0);a(t);let r=new Uint8Array(t),n=0;for(let t of e)r.set(t,n),n+=t.length;return r}function si(e){let t=!e.ycbcr&&(Math.min(...e.components.map(e=>e.h))>1||Math.min(...e.components.map(e=>e.v))>1);if(t&&e.progressive)throw ge("progressive shared sampling factors cannot be reconstructed");return{at:2,phase:"marker",sharedSampling:t,quant:[],events:0,markers:0,huffman:0,scans:0,restart:0,hasRestart:!1,ended:!1}}function mi(e,t,r){let n={...r,quant:r.quant.slice()},i={markers:[],apps:[],comments:[],huffman:[],scans:[],inter:[]},o=e=>{Ze(n.markers++<16384),i.markers.push(e)},a=e=>{for(let t=0;t<e.length;t+=65535)o(255),i.inter.push(Q(e,t,t+65535))};if("scan-fill"===n.phase){let e=Math.min(65535,n.fill-n.filled),t=new Uint8Array(e);for(let r=1&n.filled;r<e;r+=2)t[r]=255;return a(t),n.filled+=e,n.filled===n.fill&&(void 0!==n.finalRestart&&o(n.finalRestart),n.phase="marker"),{state:n,data:i}}let l=n.at,s=l,m=Math.min(e.length,l+65536),c=e.subarray(s,Math.min(e.length,m+65540)),h=e=>c[e-s];if("entropy"===n.phase||"entropy-code"===n.phase){for(;l<m;){if("entropy"===n.phase){for(;l<m&&255!==h(l);)l++;if(l===m)break;l++,n.phase="entropy-code"}if(l===m)break;if(!(0===h(l)||h(l)>=208&&h(l)<=215)){l--,n.phase="scan-fill";break}l++,n.phase="entropy"}return l===e.length&&(n.phase="scan-fill"),n.at=l,{state:n,data:i}}if(l>=e.length)throw ge("JPEG reconstruction requires an end marker");for("marker"===n.phase&&(n.start=l,n.phase="marker-code");l<m&&255===h(l);)l++,l-n.start>65535&&(a(Q(e,n.start,n.start+65535)),n.start+=65535);if(l===m)return n.at=l,{state:n,data:i};{Ze(n.markers<16384),l-n.start>1&&a(Q(e,n.start,l-1));let r=h(l++),m=l-2;if(n.phase="marker",217===r)return o(r),i.tail=Q(e,l),n.ended=!0,n.at=l,{state:n,data:i};if(1===r)return a(Q(e,m,l)),n.at=l,{state:n,data:i};if(l+2>e.length)throw ge("truncated");let f=256*h(l)+h(l+1),u=l+2,d=l+f;if(!(f>=2)||d>e.length)throw ge("bad segment");let p=!0;if(219===r){let e=[];for(let t=u;t<d;){let r=h(t)>>4,n=15&h(t++),i=new Int32Array(64);for(let e of Va)i[e]=r?256*h(t++)+h(t++):h(t++);e.push({precision:r,index:n,last:t===d,values:i})}p=n.quant.length+e.length<=3&&e.every(e=>t.components.some(t=>t.tq===e.index&&$u(t.quant,e.values)))&&e.every(e=>!n.quant.some(t=>t.index===e.index)),p&&n.quant.push(...e)}else if(196===r){u===d&&(p=!1);for(let e=u;e<d;){Ze(n.huffman++<89);let t=h(e++),r=[0,...c.subarray(e-s,e+16-s)];e+=16;let o=r.reduce((e,t)=>e+t,0),a=[...c.subarray(e-s,e+o-s),256];e+=o,Ze(o>0);let l=16;for(;!r[l];)l--;r[l]++,Ze(r[l]<=255),Ze(new Set(a).size===a.length&&(16&t||a.every(e=>e<12||256===e))),i.huffman.push({slot:t,counts:r,symbols:a,last:e===d})}}else if(218===r){let e=h(u),r=[];if(n.sharedSampling&&1!==e)throw ge("interleaved shared sampling factors cannot be reconstructed");for(let n=u+1,i=0;i<e;i++,n+=2)r.push({index:t.components.findIndex(e=>e.id===h(n)),dc:h(n+1)>>4,ac:15&h(n+1)});let o=u+1+2*e,a=t.scanChoices[n.scans++];if(Ze(o+3===d&&a.resets.length<=65555&&a.zeros.length<=65555),n.events+=a.resets.length+a.zeros.length,n.events>Qu)throw ge(`more than ${Qu} scan events cannot be reconstructed`);i.scans.push({components:r,ss:h(o),se:h(o+1),al:15&h(o+2),ah:h(o+2)>>4,index:n.scans-1,resets:a.resets.length,zeros:a.zeros.length}),n.phase="entropy",n.fill=2*(a.fill||0),n.filled=0,n.finalRestart=a.finalRestart}else if(r>=224&&r<=239)i.apps.push(Q(e,m+1,d));else if(254===r)i.comments.push(Q(e,m+1,d));else if(221===r){let e=256*h(u)+h(u+1);if(n.hasRestart&&e!==n.restart)throw ge("changing restart intervals cannot be reconstructed");n.restart=e,n.hasRestart=!0}else(![192,193,194].includes(r)||n.sharedSampling)&&(p=!1);p?o(r):a(Q(e,m,d)),n.at=d}return{state:n,data:i}}function ci(e){return{markers:[],apps:[],comments:[],huffman:[],scans:[],inter:[],tail:new Uint8Array(0),components:e.components.map(e=>({id:e.id,quant:-1}))}}function hi(e,t,r){let n=e.scanChoices[t][r?"zeros":"resets"];if(!r)return Uint32Array.from(n);let i=new Uint32Array(2*n.length);for(let e=0;e<n.length;e++)i[2*e]=n[e].block,i[2*e+1]=n[e].count;return i}function fi(e,t,r){for(let r of["markers","apps","comments","huffman","inter"])e[r].push(...t.data[r]);e.scans.push(...r),t.data.tail&&(e.tail=t.data.tail)}function ui(e,t,r){e.quant=t.quant,e.restart=t.restart;for(let t=0;t<r.components.length;t++){let n=r.components[t],i=e.quant.findIndex(e=>e.index===n.tq&&$u(e.values,n.quant));i<0&&(i=e.quant.length,e.quant.push({precision:n.quant.some(e=>e>255)?1:0,index:n.tq,values:n.quant,last:!0})),e.components[t].quant=i}return r.padding&&(e.padding=Q(r.padding),Ze(e.padding.length<16777216)),Ze(e.markers.length<=16384&&e.quant.length<=3&&e.huffman.length<=89&&e.tail.length<=4260096),e}function*di(e){let t=[];for(let r=0;r<e.length;r+=65536)t.push(yield*V("brotli-stored",()=>{let t=e.subarray(r,r+65536),n=new vo(t.length+8);return r||n.write(1,0),n.write(1,0),n.write(2,0),n.write(16,t.length-1),n.write(1,1),n.zeroPadToByte(),n.append({bytes:t,at:t.length,pending:0,acc:0}),n.finish()}));return t.push(Uint8Array.of(e.length?3:6)),Ba()?Ja(t):li(t)}function pi(e,t,r={curStart:0,curOff:0,lastKind:-1}){let n={...r},i=[],o=e=>225===e[0]&&e.length>9&&69===e[3]&&120===e[4]?1:225===e[0]&&e.length>32&&104===e[3]&&116===e[4]&&97===e[25]?2:225===e[0]&&e.length>35&&104===e[3]&&116===e[4]?3:235===e[0]?4:0,a=t?Z(e.map(e=>()=>e.subarray(0,Math.min(36,e.length)))):null;for(let r=0;r<e.length;r++){let l=e[r];if(t){let e=o(a[r]);-1!==n.lastKind&&e!==n.lastKind&&n.curOff-n.curStart>=1024&&l.length>=512&&(i.push(n.curOff),n.curStart=n.curOff),l.length>=1024&&(n.lastKind=e)}n.curOff+=l.length}return{state:n,cuts:i}}function gi(e,t){let r={...t},n=[],i=r.at,o=Math.min(e.length,i+65536),a=e.subarray(i,Math.min(e.length,o+4)),l=e=>a[e-i],s=(t,i)=>{let o=217===i?t+2:t;t-r.sosEnd>=1024&&(n.push(r.sosEnd),o<e.length&&n.push(o)),r.at=o,r.phase=217===i?"search":"marker"};for(;r.at<o;){if("search"===r.phase){let t=r.at;if(t+4>=e.length){r.done=!0;break}if(255!==l(t)||216!==l(t+1)||255!==l(t+2)||l(t+3)<192||l(t+3)>254){r.at++;continue}r.at+=2,r.phase="marker"}if("marker"===r.phase){if(r.at+4>e.length||255!==l(r.at)){r.phase="search";continue}r.phase="code"}if("code"===r.phase){for(;r.at<o&&255===l(r.at);)r.at++;if(r.at>=o)break;let t=l(r.at++);if(r.phase="marker",217===t){r.at++,r.phase="search";continue}if(216===t||t>=208&&t<=215||1===t)continue;let n=256*l(r.at)+l(r.at+1);if(r.at+2>e.length||!(n>=2)||r.at+n>e.length){r.phase="search";continue}r.at+=n,218===t&&(r.sosEnd=r.at,r.phase="entropy");continue}if("entropy"===r.phase){for(;r.at<o&&255!==l(r.at);)r.at++;if(r.at>=o)break;r.at++,r.phase="entropy-code"}if("entropy-code"===r.phase){if(r.at>=o)break;let e=l(r.at);if(0===e||e>=208&&e<=215){r.at++,r.phase="entropy";continue}if(s(r.at-1,e),r.at<i)break}}return r.at>=e.length&&(("entropy"===r.phase||"entropy-code"===r.phase)&&s(r.at),r.done=!0),{state:r,cuts:n}}function*Mi(e){let t=1===e.components.length;yield["jpeg-syntax-start",1,1,e=>e.write(1,t?1:0)],yield["jpeg-syntax-markers",e.markers.length,1024,(t,r,n)=>{for(let i=r;i<n;i++)t.write(6,e.markers[i]-192)}];for(let t of["apps","comments"])yield["jpeg-syntax-lengths",e[t].length,1024,(r,n,i)=>{for(let o=n;o<i;o++)"apps"===t&&r.write(2,0),r.write(16,e[t][o].length-1)}];yield["jpeg-syntax-tables",1,1,r=>{r.writeU32(Ru,e.quant.length);for(let t of e.quant)r.write(1,t.precision),r.write(2,t.index),r.write(1,t.last?1:0);let n=e.components.map(e=>e.id),i=t&&1===n[0]?0:$u(n,[1,2,3])?1:$u(n,[82,71,66])?2:3;if(r.write(2,i),3===i){r.writeU32(Ru,n.length);for(let e of n)r.write(8,e)}for(let t of e.components)r.write(2,t.quant);r.writeU32(Wu,e.huffman.length);for(let t of e.huffman){r.write(1,t.slot>>4),r.write(2,15&t.slot),r.write(1,t.last?1:0);for(let e of t.counts)r.writeU32(qu,e);for(let e of t.symbols)r.writeU32(zu,e)}}],yield["jpeg-syntax-scans",e.scans.length,256,(t,r,n)=>{for(let i=r;i<n;i++){let r=e.scans[i];t.writeU32(Ru,r.components.length),t.write(6,r.ss),t.write(6,r.se),t.write(4,r.al),t.write(4,r.ah);for(let e of r.components)t.write(2,e.index),t.write(2,e.ac),t.write(2,e.dc);t.write(2,0)}}],yield["jpeg-syntax-restart",1,1,t=>{e.markers.includes(221)&&t.write(16,e.restart)}];for(let t of e.scans)for(let e of["resets","zeros"]){let r=t[e],n="zeros"===e?2:1;yield["jpeg-syntax-events",Math.max(1,r.length),8192*n,(e,t,i)=>{t||e.writeU32(Vu,r.length/n);let o=t?r[t-n]:-1;for(let a=t;a<Math.min(r.length,i);a+=n){let t=r[a];2===n&&e.writeU32([[0,1],[2,2],[4,5],[8,20]],r[a+1]),e.writeU32(Yu,t-o-1),o=t}}]}yield["jpeg-syntax-inter",e.inter.length,1024,(t,r,n)=>{for(let i=r;i<n;i++)t.write(16,e.inter[i].length)}],yield["jpeg-syntax-tail",1,1,t=>{t.writeU32(Zu,e.tail.length),t.write(1,e.padding?1:0),e.padding&&t.write(24,e.padding.length)}],e.padding&&(yield["jpeg-syntax-padding",e.padding.length,65536,(t,r,n)=>{for(let i of e.padding.subarray(r,n))t.write(1,i)}]),yield["jpeg-syntax-end",1,1,e=>e.zeroPadToByte()]}function yi(e,t,r,n,i){let o={...n},{icc:a,exif:l,xml:s}=r,m=new Uint8Array(e.length);if(m[1]=e.length-1>>8,m[2]=e.length-1&255,e.type)if(1===e.type){let t=e.length-17;Ze(t>=0&&a&&o.icc+t<=a.length),m[0]=226,m.set(od,3),m[15]=++o.sequence,m[16]=i,m.set(a.subarray(o.icc,o.icc+=t),17)}else 2===e.type?(Ze(!o.exif&&l&&l.length>=4&&!(l[0]|l[1]|l[2]|l[3])&&e.length===l.length+5),m[0]=225,m.set(id,3),m.set(l.subarray(4),9),o.exif=!0):(Ze(!o.xml&&s&&e.length===s.length+32),m[0]=225,m.set(ad,3),m.set(s.subarray(0),32),o.xml=!0);else m.set(t.subarray(o.raw,o.raw+=e.length)),Ze(256*m[1]+m[2]+1===m.length);return{bytes:m,state:o}}function*bi(e,t,r,n){let i=yield*V("jpeg-event-count",()=>{let r=new ys(e);return r.bit=t,{count:r.u32(Vu),bit:r.bit}}),o=[],a=-1;t=i.bit;for(let l=0;l<i.count;l+=8192){let s=yield*V("jpeg-events",()=>{let o=new ys(e);o.bit=t;let s=Math.min(8192,i.count-l),m=new Uint32Array(s*(r?2:1)),c=a;for(let e=0;e<s;e++){if(l+e>=n)throw yo("JXL_RECONSTRUCTION",`JPEG reconstruction data has over ${Qu} scan events.`);let t=r?o.u32([[0,1],[2,2],[4,5],[8,20]]):0;c+=1+o.u32(Yu),Ze(c<201326592&&t<=4),m[e*(r?2:1)]=c,r&&(m[2*e+1]=t)}return{values:m,last:c,bit:o.bit}});o.push(s.values),a=s.last,t=s.bit}return{values:yield*V("jpeg-event-list",()=>{let e=new Uint32Array(i.count*(r?2:1)),t=0;for(let r of o)e.set(r,t),t+=r.length;return e}),bit:t,count:i.count}}function wi(e){if(e>4294967295)throw ge("data after the JPEG past the 4 GiB its box can state")}function Li(e,t,r,n,i=null){wi(r);let o=n.reduce((e,t)=>e+t.length,0),l=new Uint8Array(22);l.set(hd),l[16]=1,l[17]=t,new DataView(l.buffer).setUint32(18,r);let s=i?[e,kn(sd,i.length),i]:[e];return s.push(kn(cd,22+o),l,...n),a(s.reduce((e,t)=>e+t.length,0)),Ba()?Ja(s):li(s)}function*Oi(e){try{let t=yield*ii(e,{literalContexts:!1,kernels:Ia.entropy?.()},V);if(t.length<e.length)return t}catch(e){if("JXL_SIZE"!==e.code&&"JXL_INPUT"!==e.code)throw e}return yield*di(e)}function Ai(e){for(let{marker:t,body:r,end:n}of vi(e)){let i=e.subarray(r,n);if(226===t&&i.length>=32&&[...md].every((e,t)=>i[t]===e.charCodeAt(0)))return i.subarray(28)}return null}function Ii(e){if(!(e instanceof Uint8Array)||e.length<21)return!1;let t=e.slice(),r=new DataView(t.buffer);if(0!==r.getUint16(0))return!1;let n=128&t[4]?3:1;if(t.length!==21+40*n||0===r.getUint32(9)||0===r.getUint32(17))return!1;for(let e=0;e<n;e++){let t=21+40*e,n=r.getInt32(t),i=r.getUint32(t+4),o=r.getInt32(t+8),a=r.getUint32(t+12),l=r.getUint32(t+16),s=r.getUint32(t+20),m=r.getUint32(t+28),c=r.getUint32(t+36);if(!i||!a||!l||!s||!m||!c||n/i>o/a)return!1}return!0}function*vi(e){for(let t=2;t+1<e.length&&255===e[t];){let r=e[t+1];if(255===r){t++;continue}if(1===r||r>=208&&r<=215){t+=2;continue}if(218===r||217===r||t+4>e.length)return;let n=e[t+2]<<8|e[t+3];yield{marker:r,length:n,body:t+4,end:t+2+n},t+=2+n}}function Fi(e,t){if(255!==e[t]||216!==e[t+1])return-1;let r=t+2,n=!1;for(;r+1<e.length;){if(255!==e[r]){if(!n)return-1;r++;continue}let t=e[r+1];if(255!==t){if(217===t)return n?r+2:-1;if(0===t||t>=208&&t<=215)r+=2;else{if(r+4>e.length)return-1;if(r+=2+(e[r+2]<<8|e[r+3]),218===t)for(n=!0;r+1<e.length&&(255!==e[r]||!e[r+1]||e[r+1]>=208&&e[r+1]<=215);)r++}}else r++}return-1}function Ni(e,t){for(let r=0;r<65536;r++){if(t===e.length)return r>0;if(t+8>e.length)return!1;let n=(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0,i=8;if(0===n)n=e.length-t;else if(1===n){if(t+16>e.length)return!1;n=0;for(let r=8;r<16;r++)n=256*n+e[t+r];i=16}if(n<i||n>e.length-t)return!1;t+=n}return!1}function xi(e){for(let{marker:t,length:r,body:n,end:i}of vi(e)){if(r<2||i>e.length)return[];let o=e.subarray(n,Math.min(i,n+4));if(226===t&&r>=16&&77===o[0]&&80===o[1]&&70===o[2]&&0===o[3]){let t=n+4,r=e.subarray(t,i).slice(),o=r.length;if(o<8)return[];let a=r[0]<<8|r[1],l=new DataView(r.buffer);if(18761!==a&&19789!==a)return[];let s=18761===a,m=e=>l.getUint16(e,s),c=e=>l.getUint32(e,s);if(42!==m(2))return[];let h=c(4);if(h<8||h+2>o)return[];let f=m(h);if(!f||h+2+12*f+4>o)return[];for(let r=0;r<f;r++){let n=h+2+12*r;if(45058!==m(n))continue;let i=c(n+4),a=c(n+8);if(7!==m(n+2)||i%16||i<32||a<8||a+i>o||0!==c(a+8))return[];let l=[];for(let r=1;r<i/16;r++){let n=c(a+16*r+4),i=c(a+16*r+8),o=t+i;if(!i||n<4||o+n>e.length)continue;let s=e.subarray(o,o+2),m=e.subarray(o+n-2,o+n);255===s[0]&&216===s[1]&&255===m[0]&&217===m[1]&&l.push({start:o,size:n})}return l}return[]}}return[]}function ki(e,t){let r=[],n=null;for(let t of Hn(e))t.type!==uu||n?r.push(Q(e,t.at,t.end)):n=Q(e,t.body,t.end);let i=Ba()?Ja:li;return{bundle:i([Uint8Array.of(0,t.length>>8,255&t.length),t,Uint8Array.of(0,0,0,0,0),n]),rest:i([Q(e,0,12),...r])}}function*Ei(e,t,r,n,i,o,a){Ze(1===e[0]&&e[1]<=2&&(!e[1]||i+2<=4));let l=e.subarray(0,Math.min(10,e.length)),s=new DataView(l.buffer,l.byteOffset,l.byteLength),m=s.getUint32(2);Ze(m<=a.left&&e.length>=(e[1]?10:6)),a.left-=m;let c=e[1]?s.getUint32(6):e.length-6,h=Q(e,e[1]?10:6);Ze(c<=h.length);let f=yield*W("tail-data",function*(){let e;try{e=yield*Di(Q(h,0,c),Math.max(m,1),t)}catch(e){if(Da(e)||"JXL_INPUT"!==e?.code)throw e;Ze(!1)}return Ze(e.length===m),e});if(!e[1])return f;let u=Q(h,c);if(2===e[1]){let e=function(e){for(let t of Hn(e))if(t.type===sd){let r=Q(e,t.body,t.end);Ze(r.length>=3&&0===r[0]);let n=3+(r[1]<<8|r[2]);Ze(n<r.length),n+=1+r[n],Ze(n+4<=r.length);let i=r.subarray(n,n+4);return n+=4+new DataView(i.buffer,i.byteOffset,4).getUint32(0),Ze(n<r.length),Q(r,n)}Ze(!1)}(o),t=[u,kn(uu,e.length),e];u=Ba()?Ja(t):li(t)}let d=a.left,p=yield*ji(u,t,r,n,null,i+1,a);Ze(p);let g=p.length-(d-a.left);return Ze(g>=0&&g<=a.left),a.left-=g,Ba()?Ja([f,p]):li([f,p])}function*Ci(e,t,r,n=1,i=7){try{let o=yield*W("structure",()=>function*(e,t){if(Ba())return yield*Ua("jpegStructure")(e,t,{start:si,window:mi,create:ci,choices:hi,scan:ed,append:fi,finish:ui});let r=ci(t),n=si(t);for(;!n.ended;){let i=mi(e,t,n);n=i.state,fi(r,i,i.data.scans.map(e=>ed(e,hi(t,e.index,!1),hi(t,e.index,!0))))}return ui(r,n,t)}(e,t));if(!(yield*W("check",()=>Gi(t,o,e))))throw ge("JPEG syntax cannot be reconstructed exactly");return function(e,t){if(!(e instanceof Uint8Array&&t instanceof Uint8Array))throw yu("Codestream and JPEG reconstruction data are Uint8Array.");let r=e=>(a(e.reduce((e,t)=>e+t.length,0)),Ba()?Ja(e):Gn(e)),n=e.subarray(0,Math.min(cu.length,e.length));if(255!==n[0]||10!==n[1]){if(!cu.every((e,t)=>n[t]===e))throw yu("Invalid JPEG XL signature.");let i=-1,o=0;for(let t of Hn(e)){if(++o>=bu)throw yu("JPEG XL box count exceeds the limit.");if(t.decoded===gu)throw yu("JPEG reconstruction data is already present.");i<0&&(t.type===uu||t.type===du)&&(i=t.at)}return r([Q(e,0,i),kn(gu,t.length),t,Q(e,i)])}return r([En(),kn(gu,t.length),t,kn(uu,e.length),e])}(r,yield*W("data",()=>function*(e,t,r){let n=yield*W("jpeg-syntax",()=>function*(e){if(Ba())return yield*Ua("jpegSyntax")(Mi(e),vo);let t=new vo;for(let[,r,,n]of Mi(e))r&&n(t,0,r);return t.finish()}(e),void 0,!1,!0),i=Ba()?Ja([...e.apps,...e.comments,...e.inter,e.tail]):li([...e.apps,...e.comments,...e.inter,e.tail]),o=yield*di(i);if(i.length>32){let n=t>=7||t>=r&&i.length<=196608;try{let r=yield*W("jpeg-payload-cuts",()=>function*(e,t=!0){if(Ba())return yield*Ua("jpegPayload")(e,t,{apps:pi,tail:gi,offset:td,finish:rd});let r=pi(e.apps,t),n=r.cuts,i=td(e,r.state.curOff),o={at:0,phase:"search",done:!1};for(;!o.done;){let t=gi(e.tail,o);o=t.state;for(let e of t.cuts)n.push(i+e)}return rd(n,i+e.tail.length)}(e,t>=5));for(let e of n&&t>=5?[!0,!1]:[n]){let n=yield*ii(i,{literalContexts:e,thorough:t>=5,cuts:r,kernels:Ia.entropy?.()},V);n.length<o.length&&(o=n)}}catch(e){if("JXL_SIZE"!==e.code&&"JXL_INPUT"!==e.code)throw e}}let a=[n,o];return Ba()?Ja(a):li(a)}(o,n,i)))}catch(e){throw"JXL_RECONSTRUCTION"===e.code?ge("JPEG syntax cannot be reconstructed exactly"):e}}function Ji(e){let t=new Int32Array(257),r=0,n=0;for(let i=1;i<=16;i++){Ze(r+e.counts[i]<=1<<i);for(let o=0;o<e.counts[i];o++)t[e.symbols[n++]]=i<<16|r++;r*=2}return t}function Ui(e,t,r,n){let i=(t>>>16)+r;i<=24?e.put(i,(65535&t)<<r|n):(e.put(t>>>16,65535&t),e.put(r,n))}function Bi(e){let t=e.coeffs,r=t.length>>6,n=new Int32Array(2*r);for(let e=0,i=0;e<r;e++,i+=64){let r=0,o=0;for(let e=1;e<64;e++)if(t[i+e]){let t=bd[e];t<32?r|=1<<t:o|=1<<t-32}n[2*e]=r,n[2*e+1]=o}return n}function Hi(e,t){let r=e.components,n=Math.max(...r.map(e=>e.h)),i=Math.max(...r.map(e=>e.v)),o=1===t.components.length,a=r[t.components[0].index];return{hmax:n,vmax:i,single:o,lead:a,nx:Math.ceil(e.width*(o?a.h:1)/(8*n)),ny:Math.ceil(e.height*(o?a.v:1)/(8*i))}}function*Ki(e,t,r,n,i,o,a,l){let{ss:s,se:m,al:c,ah:h}=r,f=t.components,u=t.rows?.();Ze(o?0===s?0===m:1===r.components.length:0===s&&63===m&&!c&&!h),u&&t.reset?.();let d=new Int32Array(f.length),p=yield*V("scan-events",()=>{let e=r.zeros.length?new Map:null;for(let t=0;t<r.zeros.length;t+=2)e.set(r.zeros[t],r.zeros[t+1]);return{resets:Int32Array.from(r.resets).sort(),zeros:e}}),g=p.resets,M=new yd(e,r,p.zeros),y=r.components.map(e=>({index:e.index,co:f[e.index].coeffs,row0:0,dc:n[e.dc]||gd,ac:n[16+e.ac]||gd,nonzero:o&&s&&!u?l(e.index):null})),{hmax:b,vmax:w,single:L,lead:O,nx:A,ny:I}=Hi(t,r),v=y.map(e=>{let t=f[e.index];return{stride:t.stride,h:L?1:t.h,v:L?1:t.v}});if(!o&&!u){let t=Ia.entropy?.()?.sequentialScan(e,y.map((e,t)=>({...e,...v[t]})),A,I,i,M.zeros||new Map,a,Md);if(null===t&&Ze(!1),t){let t=A*I*v.reduce((e,{h:t,v:r})=>e+t*r,0);return Ze(r.resets.every(e=>e<t)&&r.zeros.every((e,r)=>r%2||e<t)),void e.align(a)}}let F=0,N=32*(L?O.v:1)/w,x=u&&t.band&&(e.expected||e.parts),k=(r,n)=>{for(let l=r*A,m=r;m<n;m++){if(u&&(!(m%N)||x&&m===r))if(x){t.band(Math.floor(m/N));for(let e of y)({coeffs:e.co,row0:e.row0}=f[e.index]),o&&s&&(e.nonzero=Bi({coeffs:e.co}))}else{let e=u.next().value?.components??Ze(0);for(let t of y)({coeffs:t.co,row0:t.row0}=e[t.index])}for(let t=0;t<A;t++,l++){i&&l&&l%i===0&&(M.flush(),e.align(a),e.marker(208+(l/i-1&7)),d.fill(0));for(let e=0;e<y.length;e++){let r=y[e],{stride:n,h:i,v:a}=v[e];for(let e=0;e<a;e++)for(let l=0;l<i;l++){if(g[F]===M.blockIndex)for(M.flush();g[F]===M.blockIndex;)F++;let s=64*((m*a+e-r.row0)*n+t*i+l);o?M.progressive(r,s,d):M.sequential(r,s,d)}}}}return null};if(x)if(Ba())yield*Ua("jpegScanRows")({out:e,jpeg:t,writer:M,preds:d,ny:I,per:N,pad:a},{rows:k,nextReset:()=>F,restoreReset:e=>{F=e}});else for(let e=0,t=N%2?N:N/2;e<I;e+=t)k(e,Math.min(I,e+t));else k(0,I);let E=M.blockIndex;Ze(r.resets.every(e=>e<E)&&r.zeros.every((e,t)=>t%2||e<E)),M.flush(),e.align(a)}function Ti(e,t,r,n,i,o){let a=0;for(let l=0;l<e.length;){if(Ze(255===e[l]),t&&0===e[l+1]){l+=2;continue}for(t=!1;255===e[l+1];)l++;if(l+1===e.length)break;let s=e[l+1];if(1===s){l+=2;continue}let m=256*e[l+2]+e[l+3],c=l+2+m,h=l+4;if(Ze(l+4<=e.length&&m>=2&&c<=e.length),219===s)for(let t=h;t<c;){let o=e[t]>>4,a=15&e[t++];Ze(o<=1&&a<=3&&t+64*(1+o)<=c);let l=new Int32Array(64);for(let r=0;r<64;r++,t+=1+o)l[Va[r]]=o?256*e[t]+e[t+1]:e[t];i.components.every((e,t)=>e.tq!==a||$u(e.quant,l)||r.has(t))?n.delete(a):n.add(a)}else if(196===s)Ze(2===m);else if(192===s||193===s){let t=i.components.length,n=e[h+7];Ze(!r.size&&!i.ycbcr&&o.scans.every(e=>1===e.components.length)&&m===8+3*t&&8===e[h]&&256*e[h+1]+e[h+2]===i.height&&256*e[h+3]+e[h+4]===i.width&&e[h+5]===t&&n>>4>=1&&n>>4<=4&&(15&n)>=1&&(15&n)<=4),i.components.forEach((t,r)=>{let i=h+6+3*r;Ze(e[i]===t.id&&e[i+1]===n&&e[i+2]===t.tq)}),a++}else Ze(s>=2&&s<=191||200===s||204===s||220===s||222===s||223===s||s>=224&&s<=254);l=c}return a}function*Gi(e,t,r=null,n=1/0){let i=new dd(r,n),o=[],a=t.padding?{bits:t.padding,at:0}:null,l=function*(e){Ba()?yield*Ua("jpegMarker")(i,e):e()},s=e.components.map(()=>({coverage:new Int8Array(64).fill(-1)})),m=[],c=t=>m[t]||=Bi(e.components[t]),h=0,f=0,u=0,d=0,p=0,g=0,M=0,y=!1;i.marker(216);for(let r of t.markers)if(r>=224&&r<=239||254===r){let e=254===r?t.comments[f++]:t.apps[h++];yield*l(()=>{Ze(e[0]===r&&256*e[1]+e[2]===e.length-1),i.byte(255),i.chunk(e)})}else if(255===r){let e=t.inter[u++];yield*l(()=>i.chunk(e))}else if(219===r){let e=[];for(;;){let r=t.quant[d++];Ze(r&&r.values),e.push(16*r.precision+r.index);for(let t of Va)r.precision?e.push(r.values[t]>>8):Ze(r.values[t]<256),e.push(255&r.values[t]);if(r.last)break}i.segment(r,e)}else if(196===r){let e=[];for(;;){let r=t.huffman[p++];Ze(r);let n=r.counts.slice(),i=16;for(;!n[i];)i--;if(n[i]--,e.push(r.slot,...n.slice(1),...r.symbols.slice(0,-1)),o[r.slot]=Ji(r),r.last)break}i.segment(r,e)}else if(192===r||193===r||194===r){y=194===r;let t=[8,e.height>>8,255&e.height,e.width>>8,255&e.width,e.components.length];for(let r of e.components)t.push(r.id,16*r.h+r.v,r.tq);i.segment(r,t)}else if(221===r)M=t.restart,i.segment(r,[M>>8,255&M]);else if(218===r){let n=t.scans[g++],l=[n.components.length];try{Ie({progressive:y},n.components.map(e=>({component:s[e.index]})),n.ss,n.se,n.ah,n.al)}catch(e){if("JXL_JPEG"!==e.code)throw e;Ze(!1)}for(let t of n.components)l.push(e.components[t.index].id,16*t.dc+t.ac);l.push(n.ss,n.se,16*n.ah+n.al),i.segment(r,l),Ba()&&(i.expected||i.parts)?yield*Ua("jpegScan")(i,a,()=>Ki(i,e,n,o,M,y,a,c)):yield*Ki(i,e,n,o,M,y,a,c)}else if(217===r)if(i.marker(r),i.expected&&Ba())for(let e=0;e<t.tail.length;e+=65536)yield*l(()=>i.chunk(t.tail.subarray(e,Math.min(t.tail.length,e+65536))));else i.parts||i.chunk(t.tail);else r>=208&&r<=215?i.marker(r):Ze(!1);return Ze(s.every(e=>e.coverage.every(e=>0===e))&&(!a||a.at===a.bits.length)),i.parts?yield*Ua("jpegEnd")(i,t.tail,Ze):i.finish()}function*Di(e,t,r){try{return yield*function*(e,t={}){return Ba()?yield*Ua("readBrotli")(e,t,_u.owner):((e,t={})=>_u.read(e,t))(e,t)}(e,{maxOutputLength:t,dictionary:"function"==typeof r?r:void 0})}catch(e){throw!0!==e.dictionary?e:yo("JXL_DICTIONARY","This file's JPEG data refers to the Brotli dictionary.")}}function*Pi(e,t,r){if(!e)return null;if(!t)return e;try{return yield*Di(e,Number.MAX_SAFE_INTEGER,r)}catch(e){if(Da(e)||"JXL_INPUT"!==e?.code)throw e;Ze(!1)}}function*Si(e,t,{maxPixels:r,bands:n=!0}={},i=null){try{return yield*ji(e,t,r,n,i)}catch(e){s(()=>{throw e})}}function*ji(e,t,r,n,o=null,a=0,l={left:Number.MAX_SAFE_INTEGER}){let s=yield*function*(e){return Ba()?yield*Ua("jpegContainer")(e,{reconstructionStart:Dn,containerBoxesSteps:Tn,reconstructionPart:Pn,reconstructionEnd:Sn,maximum:bu}):function(e){let t=Dn(e);if(!t)return null;let r=wu(),n=Cn(e),i=(t,r)=>e.subarray(t,r);for(;r.at<e.length;){let o=Un(e,bu,r,n);o&&(Kn(o,r),Pn(t,o,i))}return Bn(r),Sn(t,Gn)}(e)}(e);if(!s)return null;let m=yield*function*(e,{reconstruction:t=!1,maxPixels:r=Mo.pixels,rows:n=!1}={}){let o=yield*W("coefficient-header",()=>function*(e,t){let r=yield*V("coefficient-preamble",()=>function(e,t){Ze(e instanceof Uint8Array&&e.length>0);let r=new ys(e),{width:n,height:i}=Qe(r);if(Ze(n<=Mo.edge&&i<=Mo.edge&&n*i<=Mo.pixels),n*i>t)throw yo("JXL_DIMENSIONS","The JPEG XL image exceeds maxPixels.");r.expect(1,0);let o=r.read(1),a=o?r.read(3)+1:1;o&&r.expect(3,0),r.expect(3,0),r.read(1),r.expect(2,0),r.expect(1,0);let l=!1,s=!1;if(!r.read(1)){s=!!r.read(1);let e=r.u32([[0,0],[0,1],[4,2],[6,18]]);if(Ze(e<=1),l=1===e,!s){if(r.expect(2,1),!l){let e=r.u32([[0,0],[0,1],[4,2],[6,18]]);Ze(1===e||11===e)}r.expect(1,0),Ze(13===r.u32([[0,0],[0,1],[4,2],[6,18]])),Ze(r.u32([[0,0],[0,1],[4,2],[6,18]])<=3)}}return o&&r.expect(1,1),r.expect(3,4),{width:n,height:i,orientation:a,grey:l,icc:s,bit:r.bit}}(e,t)),n=new ys(e);n.bit=r.bit;let o=r.icc?yield*function*(e){if(!Ba())return(e=>function(e){let t=In(e),r=On(t.model,e,t.size),n=new Uint8Array(t.size),i=0,o=0;for(let a=0;a<t.size;a+=65536){let l=vn(e,r,t,a,i,o);i=l.previous,o=l.older,n?.set(l.bytes,a)}return r.finish(),n}(e))(e);let t=yield*Ua("jpegICCEntropy")(e,{header:In,reader:On,part:vn});return e.bit=t.bit,t.bytes}(n):null,a=yield*V("coefficient-layout",()=>function(e,t,r){let{width:n,height:i,orientation:o,grey:a}=t,l=new ys(e);l.bit=t.bit,l.align(),l.expect(4,0);let s=l.read(2),m=0===s?0:2===s?17+l.read(8):-1;Ze(0===m||128===m);let c=!!l.read(1),h=c?[l.read(2),l.read(2),l.read(2)]:[0,0,0];Ze(!a||h[0]===h[1]&&h[1]===h[2]);let f=h.map(e=>1===e||2===e?1:0),u=h.map(e=>1===e||3===e?1:0),d=Math.max(...f),p=Math.max(...u),g=f.map(e=>d-e),M=u.map(e=>p-e);l.expect(7,0),l.expect(11,1),l.expect(1,0),l.align();let y=Math.ceil(n/(8<<d))<<d,b=Math.ceil(i/(8<<p))<<p,w=Math.ceil(n/256),L=w*Math.ceil(i/256),O=Math.ceil(y/256),A=O*Math.ceil(b/256),I=Array.from({length:1===L?1:2+L+A},()=>l.u32([[10,0],[14,1024],[22,17408],[30,4211712]]));l.align();let v=l.bit/8,F=I.map(t=>{let r=v+t;Ze(r<=e.length);let n=Q(e,v,r);return v=r,n});return Ze(v===e.length),{width:n,height:i,orientation:o,grey:a,ycbcr:c,profile:r,hshift:g,vshift:M,hs:f,vs:u,blocksW:y,blocksH:b,groupsX:w,groups:L,dcX:O,dcs:A,sections:F}}(e,{...r,bit:n.bit},o)),{blocksW:l,blocksH:s,hshift:m,vshift:c,hs:h,vs:f,groups:u,dcs:d,dcX:p}=a,g=a.sections.map(e=>new ys(e)),M=e=>g[1===u?0:e],y=e=>{1!==u&&e.end()},b=l+7>>3,w=s+7>>3,L=new Int32Array(b*w),O=new Int32Array(b*w),A=[0,1,2].map(e=>({h:1<<h[e],v:1<<f[e],stride:l>>m[e],rows:s>>c[e],dc:new Int32Array((l>>m[e])*(s>>c[e])),coeffs:null})),I=M(0),v=yield*V("coefficient-global",()=>{I.expect(1,0);let e=[I.read(16),I.read(16),I.read(16)];Ze(65536===I.u32([[11,1],[11,2049],[12,4097],[16,8193]])),Ze(1===I.u32([[0,16],[5,1],[8,1],[16,1]]));let t,r,n,i,o,a=[[4,0],[8,16],[16,272],[32,65808]],l=[[2,0],[3,4],[5,12],[8,44]],s=Uint8Array.of(0,1,2,2,3,3,4,5,6,6,6,6,6,7,8,9,9,10,11,12,13,14,14,14,14,14,7,8,9,9,10,11,12,13,14,14,14,14,14);if(I.read(1)?(t=[[],[],[]],r=[],n=1,i=s,o=15):(t=[0,1,2].map(()=>Array.from({length:I.read(4)},()=>Qf(I.u32(a)))),n=t.reduce((e,t)=>e*(t.length+1),1),r=Array.from({length:I.read(4)},()=>I.u32(l)+1),Ze(n*(r.length+1)<=64),i=bn(I,39*n*(r.length+1)),o=Math.max(...i)+1,Ze(o<=16)),!I.read(1)){Ze(84===I.u32([[0,84],[0,256],[8,2],[16,258]]));let e=e=>!(32767&e);Ze(e(I.read(16))&&e(I.read(16))&&128===I.read(8)&&128===I.read(8))}let m=null;if(I.read(1)){let e=Nn(I,256);m={tree:e,model:wn(I,e.leaves.length)}}return y(I),{lfDequant:e,dcThresholds:t,qfThresholds:r,numDc:n,map:i,contexts:o,shared:m,bit:I.bit}}),{lfDequant:F,dcThresholds:N,qfThresholds:x,numDc:k,map:E,contexts:C,shared:J}=v;I.bit=v.bit;let U={left:536870912};for(let e=0;e<d;e++){let t=M(1+e),r=e%p*256,n=256*Math.floor(e/p),o=Math.min(256,l-r),a=Math.min(256,s-n),h=yield*V("coefficient-dc",()=>{t.expect(2,0);let r=xn(t,[1,0,2].map(e=>[o>>m[e],a>>c[e]]),J,1+e,U),n=o*a;t.expect(i(n),n-1);let l=o+7>>3,s=a+7>>3,[h,f,u]=xn(t,[[l,s],[l,s],[n,2],[o,a]],J,1+2*d+e,U);return Ze(u.subarray(0,n).every(e=>0===e)&&u.subarray(n,2*n).every(e=>0===e)),y(t),{values:r,ytox:h,ytob:f,bit:t.bit,left:U.left}});t.bit=h.bit,U.left=h.left;for(let[e,t]of[1,0,2].entries()){let i=A[t],l=o>>m[t],s=a>>c[t];for(let o=0;o<s;o++)for(let a=0;a<l;a++)i.dc[(o+(n>>c[t]))*i.stride+a+(r>>m[t])]=h.values[e][o*l+a]}let f=o+7>>3,u=a+7>>3;for(let e=0;e<u;e++)for(let t=0;t<f;t++){let i=((n>>3)+e)*b+(r>>3)+t;L[i]=h.ytox[e*f+t],O[i]=h.ytob[e*f+t]}}let B=M(1+d),H=yield*V("coefficient-ac",()=>{B.expect(1,0),B.expect(3,7),B.expect(16,4100);let e=xn(B,[[8,8],[8,8],[8,8]],J,1+3*d,U),t=[];for(let r=0;r<3;r++){let n=t[r]=Int32Array.from({length:64},(t,n)=>e[r][n%8*8+(n>>3)]);if(Ze(n.every(e=>e>0&&e<65536)),!dn(F[r],n[0]))throw yo("JXL_RECONSTRUCTION","The LF dequantization is not a JPEG transcode's.")}B.expect(32,0),B.expect(16,0),u>1&&B.expect(i(u),0);let r=Va.map(e=>e%8*8+(e>>3)),n=[r,r,r],o=B.u32([[0,95],[0,19],[0,0],[13,0]]);Ze(0===o||1===o);let a=e=>Math.min(32-Math.clz32(e),7);if(o){let e=An(B,8,{values:192});for(let t=0;t<3;t++){let i=e.read(a(64))+1,o=r.slice(1),l=[0];Ze(i<=64);let s=0;for(let t=1;t<i;t++){let t=e.read(a(s));Ze(t<o.length),s=t,l.push(o.splice(t,1)[0])}n[t]=l.concat(o)}e.finish()}let l=wn(B,495*C);return y(B),{model:l,quant:t,orders:n,bit:B.bit}});return A.forEach((e,t)=>{e.quant=H.quant[t]}),{...a,planes:A,toX:L,toB:O,dcThresholds:N,qfThresholds:x,numDc:k,map:E,contexts:C,orders:H.orders,model:H.model,acBit:H.bit}}(e,r));return function(e,t,r){let{width:n,height:i,orientation:o,grey:a,ycbcr:l,profile:s,blocksW:m,blocksH:c,hshift:h,vshift:f,groupsX:u,groups:d,dcs:p,toX:g,toB:M,dcThresholds:y,qfThresholds:b,numDc:w,map:L,contexts:O,orders:A,model:I,acBit:v}=e,F=m+7>>3,N=e.planes.map(e=>({...e,coeffs:r?null:new Int16Array(e.stride*e.rows*64)})),x=e.sections.map(e=>new ys(e)),k=e=>x[1===d?0:e],E=k(1+p),C=N.reduce((e,t)=>e+t.stride*t.rows*64,0);E.bit=v;let J=On(I,E,C),U=A.map(e=>Int32Array.from(e)),B=37*O,H=(b.length+1)*w*13,K=y.every(e=>!e.length),T=(e,t)=>{let r=0;for(let n of t)r+=e>n;return r},G=(e,t,r)=>{let n=N[e];return n.dc[(r>>f[e])*n.stride+(t>>h[e])]},D=[0,1,2].map(()=>new Uint8Array(1024)),P=J.read,S=N.map(e=>e.coeffs),j=[0,0,0],X=e=>{for(let t=e*u;t<Math.min(d,(e+1)*u);t++){let e=k(2+p+t);1!==d&&(E.bytes=e.bytes,E.bit=0);let r=t%u*32,n=32*Math.floor(t/u),i=Math.min(32,m-r),o=Math.min(32,c-n);for(let e of D)e.fill(0);for(let e=0;e<o;e++)for(let t=0;t<i;t++)for(let i=0;i<3;i++){let o=0===i?1:1===i?0:2,a=t>>h[o],l=e>>f[o];if(a<<h[o]!==t||l<<f[o]!==e)continue;let s=N[o],m=S[o],c=U[o],u=64*(((n>>f[o])+l-j[o])*s.stride+(r>>h[o])+a),d=D[o],p=a?l?d[32*(l-1)+a]+d[32*l+a-1]+1>>1:d[a-1]:l?d[32*(l-1)]:32,g=0;if(!K){let i=T(G(0,r+t,n+e),y[0]),o=T(G(1,r+t,n+e),y[1]),a=T(G(2,r+t,n+e),y[2]);g=(i*(y[2].length+1)+a)*(y[1].length+1)+o}let M=L[(o<2?1^o:2)*H+g],b=P((p<8?p:4+(p>>1))*O+M);Ze(b<=63),d[32*l+a]=b;let w=b>4?0:1,A=B+458*M;for(let e=1;e<64&&b;e++){let t=P(A+$f[b<<6|e]+w),r=1&t?-(t+1)/2:t/2;Ze(r>=-32768&&r<=32767),m[u+c[e]]=r,w=r?1:0,b-=w}Ze(0===b)}J.finish(),E.end()}},_=g.some(Boolean)||M.some(Boolean);_&&Ze(h.every(e=>!e)&&f.every(e=>!e));let R=N[1],q=e=>Math.trunc(2048*e/84),z=_?[0,2].map(e=>Int32Array.from(N[e].quant,(e,t)=>Math.trunc(2048*R.quant[t]/e))):null,V=e=>{if(_){let t=32*e,r=Math.min(c,t+32);for(let e=t*m;e<r*m;e++){let t=(e/m>>3)*F+(e%m>>3),r=[q(g[t]),q(M[t])],n=64*(e-j[1]*m);for(let[e,t]of[0,2].entries()){if(!r[e])continue;let i=S[t];for(let t=1;t<64;t++){let o=S[1][n+t];if(!o)continue;let a=r[e]*z[e][t]+1024>>11,l=i[n+t]+(a*o+1024>>11);Ze(l>=-32768&&l<=32767),i[n+t]=l}}}}N.forEach((r,n)=>{let i=1024;for(;r.quant[0]%i;)i>>=1;let o=t?Math.floor(1024/r.quant[0]):1024/i,a=t?1:r.quant[0]/i;for(let t=(32*e>>f[n])*r.stride;t<Math.min(r.rows,32*(e+1)>>f[n])*r.stride;t++){let e=l?r.dc[t]:(r.dc[t]-o)/a;if(!(Number.isInteger(e)&&e>=-32768&&e<=32767))throw yo("JXL_RECONSTRUCTION","A DC coefficient is not one a JPEG holds.");S[n][64*(t-j[n]*r.stride)]=e}})},Y=Math.ceil(c/32),W=a?[N[1]]:l?[N[1],N[0],N[2]]:N;if(r){let e=S=N.map((e,t)=>new Int16Array(e.stride*Math.min(e.rows,32>>f[t])*64)),t=W.map(e=>N.indexOf(e)),r=0,a=()=>{E.bit=v,J=On(I,E,C),P=J.read,r=0},m=n=>{for(let t of e)t.fill(0);S=e,j=f.map(e=>32*n>>e),X(n),V(n),r=n+1;for(let r=0;r<W.length;r++)W[r].coeffs=e[t[r]],W[r].row0=j[t[r]];return{components:t.map(t=>({coeffs:e[t],row0:j[t]}))}},c=e=>{for(e<r&&a();r<e;)m(r);return m(e)};return{width:n,height:i,orientation:o,ycbcr:l,icc:s,components:W,whole:()=>{a(),S=N.map(e=>e.coeffs=new Int16Array(e.stride*e.rows*64)),j=[0,0,0];for(let e=0;e<Y;e++)X(e),V(e);for(let e of N)delete e.dc,delete e.row0;return{width:n,height:i,orientation:o,ycbcr:l,icc:s,components:W}},band:c,reset:a,checkpoint:()=>({next:r,code:J.checkpoint()}),resume(e){r=e.next,J.resume(e.code)},*rows(){a();for(let e=0;e<Y;e++)yield c(e)}}}for(let e=0;e<Y;e++)X(e),V(e);for(let e of N)delete e.dc;return{width:n,height:i,orientation:o,ycbcr:l,icc:s,components:W}}(o,t,n)}(s.codestream,{reconstruction:!0,maxPixels:r,rows:!0}),c=yield*W("jpeg-data",function*(){let e=s.reconstruction;Ze(e);let r=m.icc?yield*function*(e){return Ba()?yield*Ua("jpegICC")(e,void 0,nd.owner):(e=>nd.decode(e))(e)}(m.icc):null,n=yield*Pi(s.exif,s.exifCompressed,t),i=yield*Pi(s.xml,s.xmlCompressed,t);return yield*function*(e,t={},r,n){let i=yield*V("jpeg-data-header",()=>function(e,t){let r=new ys(e),n=r.read(1);Ze((n?1:3)===t);let i={markers:[],apps:[],comments:[],quant:[],huffman:[],scans:[],inter:[],restart:0};for(;;){let e=r.read(6)+192;if(i.markers.push(e),Ze(i.markers.length<=16384),217===e)break}let o=e=>(Ze(e>=3&&e<=65536),e);for(let e of i.markers)if(e>=224&&e<=239){let e=r.u32([[0,0],[0,1],[1,2],[2,4]]);Ze(e<=3),i.apps.push({type:e,length:o(r.read(16)+1)})}for(let e of i.markers)254===e&&i.comments.push(o(r.read(16)+1));let a=r.u32(Ru);Ze(a<4);for(let e=0;e<a;e++)i.quant.push({precision:r.read(1),index:r.read(2),last:!!r.read(1)});let l=r.read(2),s=3===l?Array.from({length:r.u32(Ru)},()=>r.read(8)):0===l?[1]:1===l?[1,2,3]:[82,71,66];Ze(s.length===(n?1:3)&&new Set(s).size===s.length),i.components=s.map(e=>({id:e,quant:r.read(2)})),Ze(i.components.every(e=>e.quant<a));let m=r.u32(Wu);for(let e=0;e<m;e++){let e=r.read(1)<<4|r.read(2),t=!!r.read(1),n=Array.from({length:17},()=>r.u32(qu)),o=n.reduce((e,t)=>e+t,0);Ze(o>=2&&o<=257&&!n[0]);let a=Array.from({length:o},()=>r.u32(zu));Ze(256===a.at(-1)&&new Set(a).size===o&&(16&e||a.slice(0,-1).every(e=>e<12))),i.huffman.push({slot:e,last:t,counts:n,symbols:a})}Ze(i.huffman.reduce((e,t)=>e+(t.last?1:0),0)===i.markers.reduce((e,t)=>e+(196===t?1:0),0)&&(!i.huffman.length||i.huffman.at(-1).last));for(let e of i.markers)if(218===e){let e=r.u32(Ru),t=r.read(6),n=r.read(6),o=r.read(4),a=r.read(4);Ze(e<=s.length&&t<=n&&o<=13&&a<=13);let l=Array.from({length:e},()=>({index:r.read(2),ac:r.read(2),dc:r.read(2)}));Ze(l.every(e=>e.index<s.length)&&new Set(l.map(e=>e.index)).size===e),Ze(r.u32([[0,0],[0,1],[0,2],[3,3]])<=10),i.scans.push({components:l,ss:t,se:n,al:o,ah:a,resets:[],zeros:[]})}return i.markers.includes(221)&&(i.restart=r.read(16)),{data:i,bit:r.bit}}(e,n.components.length)),o={...i.data,scans:i.data.scans.map(e=>({...e}))},a=i.bit,l=0;for(let t of o.scans)for(let r of["resets","zeros"]){let n=yield*bi(e,a,"zeros"===r,Qu-l);a=n.bit,l+=n.count,t[r]=n.values}let s=yield*V("jpeg-data-lengths",()=>{let t=new ys(e);t.bit=a;let r=[];for(let e of o.markers)255===e&&r.push(t.read(16));let n=t.u32(Zu);Ze(n<=4260096);let i=t.read(1)?t.read(24):null;return Ze(null===i||i<=16777216),{inter:r,tail:n,padding:i,bit:t.bit}});if(null!==s.padding&&Ze(s.padding<=7*o.scans.length*(1+(o.restart?Math.floor(Math.ceil(n.width/8)*Math.ceil(n.height/8)/o.restart):0))),o.inter=s.inter,o.tail=s.tail,a=s.bit,o.padding=null,null!==s.padding){let t=[];for(let r=0;r<s.padding;r+=65536){let n=yield*V("jpeg-padding",()=>{let t=new ys(e);return t.bit=a,{values:Uint8Array.from({length:Math.min(65536,s.padding-r)},()=>t.read(1)),bit:t.bit}});t.push(n.values),a=n.bit}o.padding=Ba()?Ja(t):li(t)}let m,c=yield*V("jpeg-data-start",()=>{let t=new ys(e);return t.bit=a,t.align(),t.bit/8}),h=o.tail+o.comments.reduce((e,t)=>e+t,0)+o.inter.reduce((e,t)=>e+t,0)+o.apps.reduce((e,t)=>e+(t.type?0:t.length),0);try{m=yield*Di(Q(e,c),Math.max(h,1),r)}catch(e){if(Da(e)||"JXL_INPUT"!==e?.code)throw e;Ze(!1)}Ze(m.length===h);let f=[],u=o.apps.reduce((e,t)=>e+(1===t.type),0),d={raw:0,icc:0,sequence:0,exif:!1,xml:!1};for(let e of o.apps){let r=yield*V("jpeg-app",()=>yi(e,m,t,d,u));f.push(r.bytes),d=r.state}Ze(!u||d.icc===t.icc.length),o.apps=f;let p=d.raw,g=[],M=[];for(let e of o.comments)g.push(yield*V("jpeg-comment",()=>{let t=m.subarray(p,p+e);return Ze(t.length===e&&256*t[1]+t[2]+1===t.length),t})),p+=e;for(let e of o.inter)M.push(Q(m,p,p+e)),p+=e;return o.comments=g,o.inter=M,o.tail=Q(m,p,p+o.tail),p+=o.tail.length,Ze(p===m.length),o}(e,{icc:r,exif:n,xml:i},t,m)});o?.(m,c.apps);let h=n&&(Ba()||1===c.scans.length&&!c.markers.includes(194));Ze(c.components.length===m.components.length);for(let e=0;e<m.components.length;e++){let t=m.components[e],r=c.components[e],n=c.quant[r.quant];Ze(!n.values||$u(n.values,t.quant)),n.values=t.quant,t.id=r.id,t.tq=n.index}for(let e=0;e<c.quant.length;e++)c.quant[e].values||=c.quant[e-1]?.values,Ze(c.quant[e].values);(function(e,t){let r=0,n=0,i=0,o=0,a=0,l=null,s=0,m=new Set,c=new Set;for(let h=0;h<t.markers.length;h++){let f=t.markers[h];if(255===f){let o=1;for(;255===t.markers[h+o];)o++;i+=Ti(li(t.inter.slice(r,r+=o)),218===n,m,c,e,t),h+=o-1;continue}if(f>=192&&f<=194&&(Ze(!m.size),i++),219===f)for(let e;(e=t.quant[s++])&&(c.delete(e.index),!e.last););if(218===f){Ze(1===i),l=t.scans[o++];let{nx:r,ny:n,single:a}=Hi(e,l),s=r*n*(a?1:l.components.reduce((t,r)=>{let n=e.components[r.index];return t+n.h*n.v},0));Ze((!l.resets.length||l.resets[l.resets.length-1]<s)&&(!l.zeros.length||l.zeros[l.zeros.length-2]<s));for(let t of l.components)Ze(m.has(t.index)||!c.has(e.components[t.index].tq)),m.add(t.index)}if(f>=208&&f<=215){let{nx:t,ny:r}=Hi(e,l??Ze(0));Ze(218===n&&a&&t*r%a===0&&f===208+(t*r/a-1&7))}221===f&&(a=t.restart),n=f}Ze(1===i)})(m,c),h||(m=m.whole());let f=function(e){let t=null;for(let r of Hn(e))r.type===cd&&r.end-r.body>=16&&hd.every((t,n)=>e[r.body+n]===t)&&(Ze(!t&&r.end-r.body>=22),t=Q(e,r.body+16,r.end));return t}(e),u=l.left;if(f){let i=yield*W("jpeg-tail",function*(){return{bytes:yield*Ei(f,t,r,n,a,e,l),left:l.left}});c.tail=c.tail.length?Ba()?Ja([c.tail,i.bytes]):li([c.tail,i.bytes]):i.bytes,l.left=i.left}return yield*Gi(m,c,null,a?u:1/0)}function Xi(e,t,r,n){let i=function(e={},t=1){if(null===e||"object"!=typeof e)throw yo("JXL_INPUT","Options are an object.");let r=void 0===e.effort?t:e.effort;if(!Number.isInteger(r)||r<1||r>9)throw yo("JXL_INPUT","Effort is a whole number from 1 to 9.");return r}(t);if(void 0!==t?.icc&&"preserve"!==t.icc)throw yo("JXL_INPUT","JPEG icc is preserve, or omitted.");if(void 0!==t?.iccCompression&&("preserve"!==t.icc||!["auto","prefix","lz77"].includes(t.iccCompression)))throw yo("JXL_INPUT","JPEG ICC compression is auto, prefix or lz77, with icc: preserve.");if(!(e instanceof Uint8Array&&e.length))throw yo("JXL_INPUT","A JPEG is a non-empty Uint8Array.");let o={preserveICC:"preserve"===t?.icc,compression:t?.iccCompression,maxPixels:t?.maxPixels,bands:t?.bands},a="function"==typeof t?.outside?t.outside:null;return _i(e,i,n,r,o,"function"==typeof t?.tails?t.tails:null,0,a,"function"==typeof t?.gainMap?t.gainMap:null)}function*_i(e,t,r,n,i,o,a=0,l=null,s=null){let m=yield*W("parse",function*(){let{band:t,rows:r,...n}=yield*Ae(e,!0,{...i,maxPixels:i.maxPixels??Mo.pixels,bands:i.bands??(!kc()&&{from:Od?0:50331648})});if(n.bandFrame){for(let e of n.components)delete e.band;for(let{scan:e}of n.bandFrame.bands)for(let t of e)delete t.dc,delete t.ac}return n}),c=m.bandFrame?Object.assign(m,Ne(e,m.bandFrame)):m;c.jpegReconstruction=!0,function(e,t,r=Mo){if("number"==typeof r&&(r={edge:Mo.edge,pixels:r}),!Number.isInteger(e)||!Number.isInteger(t)||e<1||t<1)throw yo("JXL_INPUT","Width and height are whole numbers of at least 1.");if(e>r.edge||t>r.edge)throw yo("JXL_DIMENSIONS","A side is at most "+r.edge+" pixels"+(r.edge===Mo.edge?", the JPEG XL size field.":"."));if(e*t>r.pixels)throw yo("JXL_DIMENSIONS","A picture is at most "+r.pixels.toLocaleString("en-US")+" pixels (maxPixels).")}(c.width,c.height,Mo);let h=c.orientation>=5;r?.({width:h?c.height:c.width,height:h?c.width:c.height,orientation:c.orientation});let f=function(e,t,r){return t&&"relative"!==t?255===e[0]&&10===e[1]?$e(e,t,r):function(e,t){for(let r=0;r+8<=e.length;){let n=Os(e,r),i=String.fromCharCode(...e.subarray(r+4,r+8));if(1===n||0!==n&&n<8)return e;let o=n?r+n:e.length;if(o>e.length)return e;if("jxlc"===i||"jxlp"===i){let a=r+8+("jxlp"===i?4:0),l=e.subarray(a,o),s=$e(l,t);if(s===l)return e;let m=new Uint8Array(e.length+s.length-l.length),c=a-r+s.length;return m.set(e.subarray(0,a)),m.set(s,a),m.set(e.subarray(o),a+s.length),n&&new DataView(m.buffer).setUint32(r,c),m}r=o}return e}(e,t):e}(yield*W("coefficients",()=>n(c,t),void 0,!1,!0),c.renderingIntent,Ba()?Ja:void 0),u=c.end,d=s&&!a&&o&&e.length>u&&!!(yield*W("gain-map-check",function*(){return!!s(e,u)}));if(e.length-u<=ld&&!d||!o)return yield*Ci(e,c,f,t,n.contextsFrom);let p=d?u:u+(yield*W("tail-cut",function*(){return function(e,t){let r=e.length-t,n=[];for(let{start:r,size:i}of xi(e))if(!(r<t)){if(Fi(e,r)!==r+i)return 0;n.push([r-t,r-t+i])}for(let i=t;i+8<=Math.min(e.length,t+ld+8);i++)if(102===e[i+4]&&116===e[i+5]&&121===e[i+6]&&112===e[i+7]&&fd(e,i)&&Ni(e,i)){n.push([i-t,r]);break}let i=0;for(let[e,t]of n)for(let o of[e,t])o>i&&o<=ld&&o<r&&!n.some(([e,t])=>e<o&&o<t)&&(i=o);return i}(e,u)})),g=yield*Ci(e.subarray(0,p),c,f,t,n.contextsFrom);return l?.(e.length-p),yield*o(e,p,g,a,e=>_i(e,t,null,n,i,o,a+1),i.maxPixels,s)}function*Ri(e,r,n,i,o={},a=r>=9){let l=2===r?xd:a?kd:r>=5?Fd:vd;if(r<2)return yield*gr(e,r,n,i,o);let s=e.width*e.height<=262144,m=n,c=r>=5&&!s,h=r<=4&&!s?"learned":void 0;try{let t,n,a,f;if(h){let r=ur(e.components);try{for(;!(n=r.next()).done;)yield n.value/20}finally{n?.done||r.return()}t=n.value}let u=Id(e,l,s);for(let[l,h]of u.entries()){let d=e=>(t?.05+.95*e:s||c?e/2:e)*(l+1)/u.length,p={orders:t,coding:Kr,clusters:h,modularAns:Dr,lfCoder:Cd(r)},g=pr(e,p,o);for(;!(n=g.next(f)).done;)if(f=void 0,"number"==typeof n.value){if(a=yield d(n.value),a&&m&&n.value<1)return g.return(),m}else f=yield Fo(n.value,d);if((!m||n.value.length<m.length)&&(m=n.value),i?.(n.value,p),a)return m}}catch(e){if(!Lo(e)&&"JXL_SIZE"!==e.code)throw e;m||(s=!0)}if(s)return(yield.5)&&m?m:yield*t(gr(e,r,m,i,o),1,2);if(!c||(yield.5))return m;try{let t,n=ur(e.components);for(;!(t=n.next()).done;)if(yield.5+t.value/4)return n.return(),m;let a=t.value,s=Id(e,l,!0);for(let[n,l]of s.entries()){let c,h={orders:a,coding:Kr,clusters:l,modularAns:Dr,lfCoder:Cd(r)},f=e=>.75+(n+e)/(4*s.length),u=pr(e,h,o);for(;!(t=u.next(c)).done;)if(c=void 0,"number"==typeof t.value){if((yield f(t.value))&&t.value<1)return u.return(),m}else c=yield Fo(t.value,f);t.value.length<m.length&&(m=t.value),i?.(t.value,h)}}catch(e){if(!Lo(e)&&"JXL_SIZE"!==e.code)throw e}return m}function*qi(e,t,r){function*n(t){let r=ur(e.components,t);for(;!(l=r.next()).done;)if(s=yield.5+(M+l.value)/(2*g),s)return r.return(),null;return M++,l.value}function*i(t,r){for(let n of Id(e,r))if(yield*o(t,n),s)return}function*o(n,i){let o,c={orders:n,clusters:i,coding:Kr,modularAns:Dr,lfCoder:Cd(t)},h=pr(e,c,a);for(;!(l=h.next(o)).done;)if(o=void 0,"number"==typeof l.value){if(s=yield.5+(M+l.value)/(2*g),s&&l.value<1)return void h.return()}else o=yield Fo(l.value,e=>.5+(M+e)/(2*g));l.value.length<m.length&&(m=l.value),r?.(l.value,c),M++}let a={};if(t<8)return yield*wr(e,t,r,Ri,a);let l,s,m,c,h=e.width*e.height<=Ad,f=t>=9?(e,t,r,n,i)=>Ri(e,t,r,n,i,!0):Ri,u=null,d=h?wr(e,t,r,f,a):f(e,t,void 0,(e,n)=>{r?.(e,n),!h&&n.orders&&n.clusters===(9===t?kd:Fd)&&(u=n)},a);try{for(;!(l=d.next(c)).done;)c="number"==typeof l.value?s=yield l.value/2:yield Fo(l.value,e=>e/2)}finally{l?.done||d.return?.()}if(m=l.value,!m&&!h&&!s){let n=wr(e,t,r,gr,a);try{for(;!((l=n.next()).done||"number"==typeof l.value&&(s=yield l.value/2)););}finally{l?.done||n.return?.()}l?.done&&(m=l.value)}if(s)return m;let p={maxClusters:32,newClusterCost:160,everyConfig:9===t},g=(!h&&m?2:0)+(8===t?4:7)+(e.width*e.height<=Ad?8===t?2:4:0),M=0;try{if(yield*i(void 0,p),s)return m;if(!h&&m){let e=yield*n(16);if(s||(yield*i(e,9===t?Ed:Nd),s))return m}let e=u?(M++,u.orders):yield*n(8);if(s)return m;for(let r of 9===t?[kd,Ed]:[Fd,Nd])if(u?.clusters!==r){if(yield*i(e,r),s)return m}else M++;if(8===t)return m;let r=yield*n(1);if(s)return m;for(let e of[kd,Ed])if(yield*i(r,e),s)return m;return m}catch(e){if(!Lo(e)&&"JXL_SIZE"!==e.code)throw e;return m}}function*zi(e,t,r=0){return yield*W("tail-search",function*(){let n=r,i=!1;for(;!i&&n+2<e.length-t;){let r=yield*Y("tail-search-window",()=>{let r=e.subarray(t+n,Math.min(e.length,t+n+Ud+2)),i=0;for(;i+2<r.length&&(255!==r[i]||216!==r[i+1]||255!==r[i+2]);)i++;return{at:n+i,found:i+2<r.length}});r!==Ha&&({at:n,found:i}=r)}return n})}function*Vi(e,t,r,n,i,o,a=null){let l=e.length-t,s=null,m=0,c=!n&&a?yield*W("tail-gain-map",function*(){return a(e,t)}):null,h=c&&c.start>=t&&c.start+2<e.length;for(let o=0;!s&&o<5&&n+2<=4;o++){let o;if(h)o=c.start-t,h=!1;else{if(o=yield*zi(e,t,m),o+2>=l)break;m=o+2}try{wi(o);let a=yield*i(e.subarray(t+o)),l=yield*Oi(e.subarray(t,t+o)),m=Uint8Array.of(l.length>>>24,l.length>>>16&255,l.length>>>8&255,255&l.length),h=n?null:Ai(e),f=!n&&4===h?.length&&0===h[0]&&0===h[1]&&xi(e).some(e=>e.start===t+o),u=f?Ai(e.subarray(t+o)):null,d=u&&Ii(u)?u.slice():f||c?.start!==t+o?null:c.metadata;if(d&&d.length>4&&d.length<65536){let{bundle:e,rest:t}=ki(a,d);s=Li(r,2,o,[m,l,t],e)}else s=Li(r,1,o,[m,l,a])}catch(e){if("JXL_JPEG"!==e.code&&"JXL_DIMENSIONS"!==e.code)throw e}}if(s||(wi(l),s=Li(r,0,l,[yield*Oi(e.subarray(t))])),!n&&!(yield*function*(e,t,r){return yield*W("tail-check",function*(){let n;try{n=yield*Si(t,null,{maxPixels:r})}catch(e){if(Da(e))throw e;return!1}if(!n||n.length!==e.length)return!1;let i=0,o=!0;for(;o&&i<e.length;){let t=yield*Y("tail-compare",()=>{let t=Math.min(e.length,i+Ud),r=n.subarray(i,t),o=e.subarray(i,t);return{at:t,same:r.every((e,t)=>e===o[t])}});t!==Ha&&({at:i,same:o}=t)}return o})}(e,s,o)))throw yo("JXL_JPEG","JPEG: JPEG syntax cannot be reconstructed exactly");return s}function Yi(e){let t=null,r=[],n=0;for(let{marker:i,body:o,end:a}of vi(e)){if(225!==i||a>e.length||a<=o)continue;let l=e.subarray(o,a).slice();if(null===t&&Gd(l,Bd)){if(l.length-29>Td)return"";t=Kd.decode(l.subarray(29))}else if(Gd(l,Hd)&&l.length>=75){let e=35,t=Kd.decode(l.subarray(e,e+32)),i=new DataView(l.buffer,l.byteOffset+e+32,8),o=i.getUint32(0),a=i.getUint32(4),s=l.subarray(e+40);n+=s.length,n<=Td&&o<=Td&&a+s.length<=o&&r.push({guid:t.toUpperCase(),fullLength:o,offset:a,bytes:s})}}if(!t)return"";let i=/HasExtendedXMP\s*=\s*"([0-9A-Fa-f]{32})"|<[^>]*HasExtendedXMP[^>]*>\s*([0-9A-Fa-f]{32})\s*</.exec(t);if(!i||!r.length)return t;let o=(i[1]??i[2]).toUpperCase(),a=r.filter(e=>e.guid===o).sort((e,t)=>e.offset-t.offset);if(!a.length)return t;let l=a[0].fullLength,s=new Uint8Array(l),m=0;for(let e of a){if(e.fullLength!==l||e.offset!==m||m+e.bytes.length>l)return t;s.set(e.bytes,m),m+=e.bytes.length}return m!==l?t:t+Kd.decode(s)}function Wi(e,t){let r=new RegExp("hdrgm:"+t+'\\s*=\\s*"([^"]+)"',"i").exec(e);if(r)return[r[1].trim()];let n=new RegExp("<hdrgm:"+t+"[^>]*>([\\s\\S]*?)</hdrgm:"+t+">","i").exec(e);if(!n)return null;let i=n[1],o=[...i.matchAll(/<rdf:li[^>]*>([^<]+)<\/rdf:li>/gi)].map(e=>e[1].trim());return o.length?o:[i.trim()]}function Zi(e,t,r){let n=Wi(e,t);if(!n)return[r,r,r,!1];let i=n.map(Number);return i.some(e=>!Number.isFinite(e))?null:1===i.length?[i[0],i[0],i[0],!1]:3===i.length?[i[0],i[1],i[2],i[0]!==i[1]||i[1]!==i[2]]:null}function Qi(e){let t=Ai(e);return t&&Ii(t)?t.slice():function(e){if(!e||!/hdrgm:Version\s*=\s*"1\.0"|<hdrgm:Version>\s*1\.0\s*<\/hdrgm:Version>/i.test(e))return null;let t=Zi(e,"GainMapMax",1),r=Zi(e,"GainMapMin",0),n=Zi(e,"Gamma",1),i=Zi(e,"OffsetSDR",1/64),o=Zi(e,"OffsetHDR",1/64);if(!t||!r||!n||!i||!o||n.slice(0,3).some(e=>!(e>0))||[0,1,2].some(e=>r[e]>t[e])||!Wi(e,"GainMapMax")&&!Wi(e,"HDRCapacityMax"))return null;let a=Wi(e,"HDRCapacityMin"),l=Wi(e,"HDRCapacityMax"),s=a?Number(a[0]):0,m=l?Number(l[0]):Math.max(t[0],t[1],t[2]);if(!Number.isFinite(s)||!Number.isFinite(m)||s<0||m<s)return null;let c=Wi(e,"BaseRenditionIsHDR"),h=!!c&&/^true$/i.test(c[0]),f=t[3]||r[3]||n[3]||i[3]||o[3],u=h?m:s,d=h?s:m,p=[0,1,2].map(e=>({gainMapMin:r[e],gainMapMax:t[e],gamma:n[e],baseOffset:h?o[e]:i[e],alternateOffset:h?i[e]:o[e]})),g={format:"xmp-hdrgm",writerVersion:0,multichannel:f,useBaseColorSpace:!0,baseIsHdr:h,baseHdrHeadroom:u,alternateHdrHeadroom:d,headroom:2**Math.max(u,d),channels:p};return g.isoPayload=function(e){let t=!!e.multichannel,r=t?3:1,n=new Uint8Array(21+40*r),i=new DataView(n.buffer);i.setUint16(0,0),i.setUint16(2,0),n[4]=(t?128:0)|(!1!==e.useBaseColorSpace?64:0);let o=1e6,a=(e,t)=>{let r=Math.max(0,Math.min(4294,t));i.setUint32(e,Math.round(r*o)>>>0),i.setUint32(e+4,o)},l=(e,t)=>{let r=Math.max(-2147,Math.min(2147,t));i.setInt32(e,0|Math.round(r*o)),i.setUint32(e+4,o)};a(5,e.baseHdrHeadroom),a(13,e.alternateHdrHeadroom);for(let t=0;t<r;t++){let r=e.channels[t],n=21+40*t;l(n,r.gainMapMin),l(n+8,r.gainMapMax),a(n+16,r.gamma),l(n+24,r.baseOffset),l(n+32,r.alternateOffset)}return n}(g),g}(Yi(e))?.isoPayload??null}function $i(e,t){for(let r of xi(e)){if(r.start<t)continue;let n=Qi(e.subarray(r.start,r.start+r.size));if(n&&n.length<65536)return{start:r.start,metadata:n}}if(!Dd.test(Yi(e)))return null;for(let r of function*(e,t){for(let r=t,n=0;r+2<e.length&&n<8;r+=65536){let t=e.subarray(r,Math.min(e.length,r+65536+2));for(let e=0;e+2<t.length&&n<8;e++)255===t[e]&&216===t[e+1]&&255===t[e+2]&&(n++,yield r+e)}}(e,t)){let t=Qi(e.subarray(r));if(t&&t.length<65536)return{start:r,metadata:t}}return null}function eo(){if(!Jd){Jd=(new TextEncoder).encode('timedownlifeleftbackcodedatashowonlysitecityopenjustlikefreeworktextyearoverbodyloveformbookplaylivelinehelphomesidemorewordlongthemviewfindpagedaysfullheadtermeachareafromtruemarkableuponhighdatelandnewsevennextcasebothpostusedmadehandherewhatnameLinkblogsizebaseheldmakemainuser\') +holdendswithNewsreadweresigntakehavegameseencallpathwellplusmenufilmpartjointhislistgoodneedwayswestjobsmindalsologorichuseslastteamarmyfoodkingwilleastwardbestfirePageknowaway.pngmovethanloadgiveselfnotemuchfeedmanyrockicononcelookhidediedHomerulehostajaxinfoclublawslesshalfsomesuchzone100%onescareTimeracebluefourweekfacehopegavehardlostwhenparkkeptpassshiproomHTMLplanTypedonesavekeepflaglinksoldfivetookratetownjumpthusdarkcardfilefearstaykillthatfallautoever.comtalkshopvotedeepmoderestturnbornbandfellroseurl(skinrolecomeactsagesmeetgold.jpgitemvaryfeltthensenddropViewcopy1.0"</a>stopelseliestourpack.gifpastcss?graymean>rideshotlatesaidroadvar feeljohnrickportfast\'UA-dead</b>poorbilltypeU.S.woodmust2px;Inforankwidewantwalllead[0];paulwavesure$(\'#waitmassarmsgoesgainlangpaid!-- lockunitrootwalkfirmwifexml"songtest20pxkindrowstoolfontmailsafestarmapscorerainflowbabyspansays4px;6px;artsfootrealwikiheatsteptriporg/lakeweaktoldFormcastfansbankveryrunsjulytask1px;goalgrewslowedgeid="sets5px;.js?40pxif (soonseatnonetubezerosentreedfactintogiftharm18pxcamehillboldzoomvoideasyringfillpeakinitcost3px;jacktagsbitsrolleditknewnear\x3c!--growJSONdutyNamesaleyou lotspainjazzcoldeyesfishwww.risktabsprev10pxrise25pxBlueding300,ballfordearnwildbox.fairlackverspairjunetechif(!pickevil$("#warmlorddoespull,000ideadrawhugespotfundburnhrefcellkeystickhourlossfuel12pxsuitdealRSS"agedgreyGET"easeaimsgirlaids8px;navygridtips#999warsladycars); }php?helltallwhomzh:?*/\r\n 100hall.\n\nA7px;pushchat0px;crew*/</hash75pxflatrare && tellcampontolaidmissskiptentfinemalegetsplot400,\r\n\r\ncoolfeet.php<br>ericmostguidbelldeschairmathatom/imgRluckcent000;tinygonehtmlselldrugFREEnodenick?id=losenullvastwindRSS wearrelybeensamedukenasacapewishgulfT23:hitsslotgatekickblurthey15px\'\'););">msiewinsbirdsortbetaseekT18:ordstreemall60pxfarm’sboys[0].\');"POSTbearkids);}}marytend(UK)quadzh:?-siz----prop\');\rliftT19:viceandydebt>RSSpoolneckblowT16:doorevalT17:letsfailoralpollnovacolsgene —softrometillross<h3>pourfadepink<tr>mini)|!(minezh:?barshear00);milk --\x3eironfreddiskwentsoilputs/js/holyT22:ISBNT20:adamsees<h2>json\', \'contT21: RSSloopasiamoon</p>soulLINEfortcartT14:<h1>80px!--<9px;T04:mike:46ZniceinchYorkricezh:?\'));puremageparatonebond:37Z_of_\']);000,zh:?tankyardbowlbush:56ZJava30px\n|}\n%C3%:34ZjeffEXPIcashvisagolfsnowzh:?quer.csssickmeatmin.binddellhirepicsrent:36ZHTTP-201fotowolfEND xbox:54ZBODYdick;\n}\nexit:35Zvarsbeat\'});diet999;anne}}</[i].Langkm²wiretoysaddssealalex;\n\t}echonine.org005)tonyjewssandlegsroof000) 200winegeardogsbootgarycutstyletemption.xmlcockgang$(\'.50pxPh.Dmiscalanloandeskmileryanunixdisc);}\ndustclip).\n\n70px-200DVDs7]><tapedemoi++)wageeurophiloptsholeFAQsasin-26TlabspetsURL bulkcook;}\r\nHEAD[0])abbrjuan(198leshtwin</i>sonyguysfuckpipe|-\n!002)ndow[1];[];\nLog salt\r\n\t\tbangtrimbath){\r\n00px\n});ko:?feesad>\rs:// [];tollplug(){\n{\r\n .js\'200pdualboat.JPG);\n}quot);\n\n\');\n\r\n}\r201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037201320122011201020092008200720062005200420032002200120001999199819971996199519941993199219911990198919881987198619851984198319821981198019791978197719761975197419731972197119701969196819671966196519641963196219611960195919581957195619551954195319521951195010001024139400009999comomásesteestaperotodohacecadaañobiendíaasívidacasootroforosolootracualdijosidograntipotemadebealgoquéestonadatrespococasabajotodasinoaguapuesunosantediceluisellamayozonaamorpisoobraclicellodioshoracasiзанаомрарутанепоотизнодотожеонихНаеебымыВысовывоНообПолиниРФНеМытыОнимдаЗаДаНуОбтеИзейнуммТыужفيأنمامعكلأورديافىهولملكاولهبسالإنهيأيقدهلثمبهلوليبلايبكشيامأمنتبيلنحبهممشوشfirstvideolightworldmediawhitecloseblackrightsmallbooksplacemusicfieldorderpointvalueleveltableboardhousegroupworksyearsstatetodaywaterstartstyledeathpowerphonenighterrorinputabouttermstitletoolseventlocaltimeslargewordsgamesshortspacefocusclearmodelblockguideradiosharewomenagainmoneyimagenamesyounglineslatercolorgreenfront&watchforcepricerulesbeginaftervisitissueareasbelowindextotalhourslabelprintpressbuiltlinksspeedstudytradefoundsenseundershownformsrangeaddedstillmovedtakenaboveflashfixedoftenotherviewschecklegalriveritemsquickshapehumanexistgoingmoviethirdbasicpeacestagewidthloginideaswrotepagesusersdrivestorebreaksouthvoicesitesmonthwherebuildwhichearthforumthreesportpartyClicklowerlivesclasslayerentrystoryusagesoundcourtyour birthpopuptypesapplyImagebeinguppernoteseveryshowsmeansextramatchtrackknownearlybegansuperpapernorthlearngivennamedendedTermspartsGroupbrandusingwomanfalsereadyaudiotakeswhile.com/livedcasesdailychildgreatjudgethoseunitsneverbroadcoastcoverapplefilescyclesceneplansclickwritequeenpieceemailframeolderphotolimitcachecivilscaleenterthemetheretouchboundroyalaskedwholesincestock namefaithheartemptyofferscopeownedmightalbumthinkbloodarraymajortrustcanonunioncountvalidstoneStyleLoginhappyoccurleft:freshquitefilmsgradeneedsurbanfightbasishoverauto;route.htmlmixedfinalYour slidetopicbrownalonedrawnsplitreachRightdatesmarchquotegoodsLinksdoubtasyncthumballowchiefyouthnovel10px;serveuntilhandsCheckSpacequeryjamesequaltwice0,000Startpanelsongsroundeightshiftworthpostsleadsweeksavoidthesemilesplanesmartalphaplantmarksratesplaysclaimsalestextsstarswrong</h3>thing.org/multiheardPowerstandtokensolid(thisbringshipsstafftriedcallsfullyfactsagentThis //--\x3eadminegyptEvent15px;Emailtrue"crossspentblogsbox">notedleavechinasizesguest</h4>robotheavytrue,sevengrandcrimesignsawaredancephase>\x3c!--en_US'200px_namelatinenjoyajax.ationsmithU.S. holdspeterindianav">chainscorecomesdoingpriorShare1990sromanlistsjapanfallstrialowneragree</h2>abusealertopera"-//WcardshillsteamsPhototruthclean.php?saintmetallouismeantproofbriefrow">genretrucklooksValueFrame.net/--\x3e\n<try {\nvar makescostsplainadultquesttrainlaborhelpscausemagicmotortheir250pxleaststepsCountcouldglasssidesfundshotelawardmouthmovesparisgivesdutchtexasfruitnull,||[];top">\n\x3c!--POST"ocean<br/>floorspeakdepth sizebankscatchchart20px;aligndealswould50px;url="parksmouseMost ...</amongbrainbody none;basedcarrydraftreferpage_home.meterdelaydreamprovejoint</tr>drugs\x3c!-- aprilidealallenexactforthcodeslogicView seemsblankports (200saved_linkgoalsgrantgreekhomesringsrated30px;whoseparse();" Blocklinuxjonespixel\');">);if(-leftdavidhorseFocusraiseboxesTrackement</em>bar">.src=toweralt="cablehenry24px;setupitalysharpminortastewantsthis.resetwheelgirls/css/100%;clubsstuffbiblevotes 1000korea});\r\nbandsqueue= {};80px;cking{\r\n\t\taheadclockirishlike ratiostatsForm"yahoo)[0];Aboutfinds</h1>debugtasksURL =cells})();12px;primetellsturns0x600.jpg"spainbeachtaxesmicroangel--\x3e</giftssteve-linkbody.});\n\tmount (199FAQ</rogerfrankClass28px;feeds<h1><scotttests22px;drink) || lewisshall#039; for lovedwaste00px;ja:??simon<fontreplymeetsuntercheaptightBrand) != dressclipsroomsonkeymobilmain.Name platefunnytreescom/"1.jpgwmodeparamSTARTleft idden, 201);\n}\nform.viruschairtransworstPagesitionpatch\x3c!--\no-cacfirmstours,000 asiani++){adobe\')[0]id=10both;menu .2.mi.png"kevincoachChildbruce2.jpgURL)+.jpg|suitesliceharry120" sweettr>\r\nname=diegopage swiss--\x3e\n\n#fff;">Log.com"treatsheet) && 14px;sleepntentfiledja:??id="cName"worseshots-box-delta\n<bears:48Z<data-rural</a> spendbakershops= "";php">ction13px;brianhellosize=o=%2F joinmaybe<img img">, fjsimg" ")[0]MTopBType"newlyDanskczechtrailknows</h5>faq">zh-cn10);\n-1");type=bluestrulydavis.js\';>\r\n<!steel you h2>\r\nform jesus100% menu.\r\n\t\r\nwalesrisksumentddingb-likteachgif" vegasdanskeestishqipsuomisobredesdeentretodospuedeañosestátienehastaotrospartedondenuevohacerformamismomejormundoaquídíassóloayudafechatodastantomenosdatosotrassitiomuchoahoralugarmayorestoshorastenerantesfotosestaspaísnuevasaludforosmedioquienmesespoderchileserávecesdecirjoséestarventagrupohechoellostengoamigocosasnivelgentemismaairesjuliotemashaciafavorjuniolibrepuntobuenoautorabrilbuenatextomarzosaberlistaluegocómoenerojuegoperúhaberestoynuncamujervalorfueralibrogustaigualvotoscasosguíapuedosomosavisousteddebennochebuscafaltaeurosseriedichocursoclavecasasleónplazolargoobrasvistaapoyojuntotratavistocrearcampohemoscincocargopisosordenhacenáreadiscopedrocercapuedapapelmenorútilclarojorgecalleponertardenadiemarcasigueellassiglocochemotosmadreclaserestoniñoquedapasarbancohijosviajepabloéstevienereinodejarfondocanalnorteletracausatomarmanoslunesautosvillavendopesartipostengamarcollevapadreunidovamoszonasambosbandamariaabusomuchasubirriojavivirgradochicaallíjovendichaestantalessalirsuelopesosfinesllamabuscoéstalleganegroplazahumorpagarjuntadobleislasbolsabañohablaluchaÁreadicenjugarnotasvalleallácargadolorabajoestégustomentemariofirmacostofichaplatahogarartesleyesaquelmuseobasespocosmitadcielochicomiedoganarsantoetapadebesplayaredessietecortecoreadudasdeseoviejodeseaaguas"domaincommonstatuseventsmastersystemactionbannerremovescrollupdateglobalmediumfilternumberchangeresultpublicscreenchoosenormaltravelissuessourcetargetspringmodulemobileswitchphotosborderregionitselfsocialactivecolumnrecordfollowtitle>eitherlengthfamilyfriendlayoutauthorcreatereviewsummerserverplayedplayerexpandpolicyformatdoublepointsseriespersonlivingdesignmonthsforcesuniqueweightpeopleenergynaturesearchfigurehavingcustomoffsetletterwindowsubmitrendergroupsuploadhealthmethodvideosschoolfutureshadowdebatevaluesObjectothersrightsleaguechromesimplenoticesharedendingseasonreportonlinesquarebuttonimagesenablemovinglatestwinterFranceperiodstrongrepeatLondondetailformeddemandsecurepassedtoggleplacesdevicestaticcitiesstreamyellowattackstreetflighthiddeninfo">openedusefulvalleycausesleadersecretseconddamagesportsexceptratingsignedthingseffectfieldsstatesofficevisualeditorvolumeReportmuseummoviesparentaccessmostlymother" id="marketgroundchancesurveybeforesymbolmomentspeechmotioninsidematterCenterobjectexistsmiddleEuropegrowthlegacymannerenoughcareeransweroriginportalclientselectrandomclosedtopicscomingfatheroptionsimplyraisedescapechosenchurchdefinereasoncorneroutputmemoryiframepolicemodelsNumberduringoffersstyleskilledlistedcalledsilvermargindeletebetterbrowselimitsGlobalsinglewidgetcenterbudgetnowrapcreditclaimsenginesafetychoicespirit-stylespreadmakingneededrussiapleaseextentScriptbrokenallowschargedividefactormember-basedtheoryconfigaroundworkedhelpedChurchimpactshouldalwayslogo" bottomlist">){var prefixorangeHeader.push(couplegardenbridgelaunchReviewtakingvisionlittledatingButtonbeautythemesforgotSearchanchoralmostloadedChangereturnstringreloadMobileincomesupplySourceordersviewed courseAbout island<html cookiename="amazonmodernadvicein</a>: The dialoghousesBEGIN MexicostartscentreheightaddingIslandassetsEmpireSchooleffortdirectnearlymanualSelect.\n\nOnejoinedmenu">PhilipawardshandleimportOfficeregardskillsnationSportsdegreeweekly (e.g.behinddoctorloggedunited</b></beginsplantsassistartistissued300px|canadaagencyschemeremainBrazilsamplelogo">beyond-scaleacceptservedmarineFootercamera</h1>\n_form"leavesstress" />\r\n.gif" onloadloaderOxfordsistersurvivlistenfemaleDesignsize="appealtext">levelsthankshigherforcedanimalanyoneAfricaagreedrecentPeople<br />wonderpricesturned|| {};main">inlinesundaywrap">failedcensusminutebeaconquotes150px|estateremoteemail"linkedright;signalformal1.htmlsignupprincefloat:.png" forum.AccesspaperssoundsextendHeightsliderUTF-8"& Before. WithstudioownersmanageprofitjQueryannualparamsboughtfamousgooglelongeri++) {israelsayingdecidehome">headerensurebranchpiecesblock;statedtop"><racingresize-->pacitysexualbureau.jpg" 10,000obtaintitlesamount, Inc.comedymenu" lyricstoday.indeedcounty_logo.FamilylookedMarketlse ifPlayerturkey);var forestgivingerrorsDomain}else{insertBlog</footerlogin.fasteragents<body 10px 0pragmafridayjuniordollarplacedcoversplugin5,000 page">boston.test(avatartested_countforumsschemaindex,filledsharesreaderalert(appearSubmitline">body">\n* TheThoughseeingjerseyNews</verifyexpertinjurywidth=CookieSTART across_imagethreadnativepocketbox">\nSystem DavidcancertablesprovedApril reallydriveritem">more">boardscolorscampusfirst || [];media.guitarfinishwidth:showedOther .php" assumelayerswilsonstoresreliefswedenCustomeasily your String\n\nWhiltaylorclear:resortfrenchthough") + "<body>buyingbrandsMembername">oppingsector5px;">vspacepostermajor coffeemartinmaturehappen</nav>kansaslink">Images=falsewhile hspace0& \n\nIn powerPolski-colorjordanBottomStart -count2.htmlnews">01.jpgOnline-rightmillerseniorISBN 00,000 guidesvalue)ectionrepair.xml" rights.html-blockregExp:hoverwithinvirginphones</tr>\rusing \n\tvar >\');\n\t</td>\n</tr>\nbahasabrasilgalegomagyarpolskisrpskiردو中文简体繁體信息中国我们一个公司管理论坛可以服务时间个人产品自己企业查看工作联系没有网站所有评论中心文章用户首页作者技术问题相关下载搜索使用软件在线主题资料视频回复注册网络收藏内容推荐市场消息空间发布什么好友生活图片发展如果手机新闻最新方式北京提供关于更多这个系统知道游戏广告其他发表安全第一会员进行点击版权电子世界设计免费教育加入活动他们商品博客现在上海如何已经留言详细社区登录本站需要价格支持国际链接国家建设朋友阅读法律位置经济选择这样当前分类排行因为交易最后音乐不能通过行业科技可能设备合作大家社会研究专业全部项目这里还是开始情况电脑文件品牌帮助文化资源大学学习地址浏览投资工程要求怎么时候功能主要目前资讯城市方法电影招聘声明任何健康数据美国汽车介绍但是交流生产所以电话显示一些单位人员分析地图旅游工具学生系列网友帖子密码频道控制地区基本全国网上重要第二喜欢进入友情这些考试发现培训以上政府成为环境香港同时娱乐发送一定开发作品标准欢迎解决地方一下以及责任或者客户代表积分女人数码销售出现离线应用列表不同编辑统计查询不要有关机构很多播放组织政策直接能力来源時間看到热门关键专区非常英语百度希望美女比较知识规定建议部门意见精彩日本提高发言方面基金处理权限影片银行还有分享物品经营添加专家这种话题起来业务公告记录简介质量男人影响引用报告部分快速咨询时尚注意申请学校应该历史只是返回购买名称为了成功说明供应孩子专题程序一般會員只有其它保护而且今天窗口动态状态特别认为必须更新小说我們作为媒体包括那么一样国内是否根据电视学院具有过程由于人才出来不过正在明星故事关系标题商务输入一直基础教学了解建筑结果全球通知计划对于艺术相册发生真的建立等级类型经验实现制作来自标签以下原创无法其中個人一切指南关闭集团第三关注因此照片深圳商业广州日期高级最近综合表示专辑行为交通评价觉得精华家庭完成感觉安装得到邮件制度食品虽然转载报价记者方案行政人民用品东西提出酒店然后付款热点以前完全发帖设置领导工业医院看看经典原因平台各种增加材料新增之后职业效果今年论文我国告诉版主修改参与打印快乐机械观点存在精神获得利用继续你们这么模式语言能够雅虎操作风格一起科学体育短信条件治疗运动产业会议导航先生联盟可是問題结构作用调查資料自动负责农业访问实施接受讨论那个反馈加强女性范围服務休闲今日客服觀看参加的话一点保证图书有效测试移动才能决定股票不断需求不得办法之间采用营销投诉目标爱情摄影有些複製文学机会数字装修购物农村全面精品其实事情水平提示上市谢谢普通教师上传类别歌曲拥有创新配件只要时代資訊达到人生订阅老师展示心理贴子網站主題自然级别简单改革那些来说打开代码删除证券节目重点次數多少规划资金找到以后大全主页最佳回答天下保障现代检查投票小时沒有正常甚至代理目录公开复制金融幸福版本形成准备行情回到思想怎样协议认证最好产生按照服装广东动漫采购新手组图面板参考政治容易天地努力人们升级速度人物调整流行造成文字韩国贸易开展相關表现影视如此美容大小报道条款心情许多法规家居书店连接立即举报技巧奥运登入以来理论事件自由中华办公妈妈真正不错全文合同价值别人监督具体世纪团队创业承担增长有人保持商家维修台湾左右股份答案实际电信经理生命宣传任务正式特色下来协会只能当然重新內容指导运行日志賣家超过土地浙江支付推出站长杭州执行制造之一推广现场描述变化传统歌手保险课程医疗经过过去之前收入年度杂志美丽最高登陆未来加工免责教程版块身体重庆出售成本形式土豆出價东方邮箱南京求职取得职位相信页面分钟网页确定图例网址积极错误目的宝贝机关风险授权病毒宠物除了評論疾病及时求购站点儿童每天中央认识每个天津字体台灣维护本页个性官方常见相机战略应当律师方便校园股市房屋栏目员工导致突然道具本网结合档案劳动另外美元引起改变第四会计說明隐私宝宝规范消费共同忘记体系带来名字發表开放加盟受到二手大量成人数量共享区域女孩原则所在结束通信超级配置当时优秀性感房产遊戲出口提交就业保健程度参数事业整个山东情感特殊分類搜尋属于门户财务声音及其财经坚持干部成立利益考虑成都包装用戶比赛文明招商完整真是眼睛伙伴威望领域卫生优惠論壇公共良好充分符合附件特点不可英文资产根本明显密碼公众民族更加享受同学启动适合原来问答本文美食绿色稳定终于生物供求搜狐力量严重永远写真有限竞争对象费用不好绝对十分促进点评影音优势不少欣赏并且有点方向全新信用设施形象资格突破随着重大于是毕业智能化工完美商城统一出版打造產品概况用于保留因素中國存储贴图最愛长期口价理财基地安排武汉里面创建天空首先完善驱动下面不再诚信意义阳光英国漂亮军事玩家群众农民即可名稱家具动画想到注明小学性能考研硬件观看清楚搞笑首頁黄金适用江苏真实主管阶段註冊翻译权利做好似乎通讯施工狀態也许环保培养概念大型机票理解匿名cuandoenviarmadridbuscariniciotiempoporquecuentaestadopuedenjuegoscontraestánnombretienenperfilmaneraamigosciudadcentroaunquepuedesdentroprimerpreciosegúnbuenosvolverpuntossemanahabíaagostonuevosunidoscarlosequiponiñosmuchosalgunacorreoimagenpartirarribamaríahombreempleoverdadcambiomuchasfueronpasadolíneaparecenuevascursosestabaquierolibroscuantoaccesomiguelvarioscuatrotienesgruposseráneuropamediosfrenteacercademásofertacochesmodeloitalialetrasalgúncompracualesexistecuerposiendoprensallegarviajesdineromurciapodrápuestodiariopuebloquieremanuelpropiocrisisciertoseguromuertefuentecerrargrandeefectopartesmedidapropiaofrecetierrae-mailvariasformasfuturoobjetoseguirriesgonormasmismosúnicocaminositiosrazóndebidopruebatoledoteníajesúsesperococinaorigentiendacientocádizhablarseríalatinafuerzaestiloguerraentraréxitolópezagendavídeoevitarpaginametrosjavierpadresfácilcabezaáreassalidaenvíojapónabusosbienestextosllevarpuedanfuertecomúnclaseshumanotenidobilbaounidadestáseditarcreadoдлячтокакилиэтовсеегопритакещеужеКакбезбылониВсеподЭтотомчемнетлетразонагдемнеДляПринаснихтемктогодвоттамСШАмаяЧтовасвамемуТакдванамэтиэтуВамтехпротутнаддняВоттринейВаснимсамтотрубОнимирнееОООлицэтаОнанемдоммойдвеоносудकेहैकीसेकाकोऔरपरनेएककिभीइसकरतोहोआपहीयहयातकथाjagranआजजोअबदोगईजागएहमइनवहयेथेथीघरजबदीकईजीवेनईनएहरउसमेकमवोलेसबमईदेओरआमबसभरबनचलमनआगसीलीعلىإلىهذاآخرعددالىهذهصورغيركانولابينعرضذلكهنايومقالعليانالكنحتىقبلوحةاخرفقطعبدركنإذاكمااحدإلافيهبعضكيفبحثومنوهوأناجدالهاسلمعندليسعبرصلىمنذبهاأنهمثلكنتالاحيثمصرشرححولوفياذالكلمرةانتالفأبوخاصأنتانهاليعضووقدابنخيربنتلكمشاءوهيابوقصصومارقمأحدنحنعدمرأياحةكتبدونيجبمنهتحتجهةسنةيتمكرةغزةنفسبيتللهلناتلكقلبلماعنهأولشيءنورأمافيكبكلذاترتببأنهمسانكبيعفقدحسنلهمشعرأهلشهرقطرطلبprofileservicedefaulthimselfdetailscontentsupportstartedmessagesuccessfashion<title>countryaccountcreatedstoriesresultsrunningprocesswritingobjectsvisiblewelcomearticleunknownnetworkcompanydynamicbrowserprivacyproblemServicerespectdisplayrequestreservewebsitehistoryfriendsoptionsworkingversionmillionchannelwindow.addressvisitedweathercorrectproductedirectforwardyou canremovedsubjectcontrolarchivecurrentreadinglibrarylimitedmanagerfurthersummarymachineminutesprivatecontextprogramsocietynumberswrittenenabledtriggersourcesloadingelementpartnerfinallyperfectmeaningsystemskeepingculture",journalprojectsurfaces"expiresreviewsbalanceEnglishContentthroughPlease opinioncontactaverageprimaryvillageSpanishgallerydeclinemeetingmissionpopularqualitymeasuregeneralspeciessessionsectionwriterscounterinitialreportsfiguresmembersholdingdisputeearlierexpressdigitalpictureAnothermarriedtrafficleadingchangedcentralvictoryimages/reasonsstudiesfeaturelistingmust beschoolsVersionusuallyepisodeplayinggrowingobviousoverlaypresentactions</ul>\r\nwrapperalreadycertainrealitystorageanotherdesktopofferedpatternunusualDigitalcapitalWebsitefailureconnectreducedAndroiddecadesregular & animalsreleaseAutomatgettingmethodsnothingPopularcaptionletterscapturesciencelicensechangesEngland=1&History = new CentralupdatedSpecialNetworkrequirecommentwarningCollegetoolbarremainsbecauseelectedDeutschfinanceworkersquicklybetweenexactlysettingdiseaseSocietyweaponsexhibit<!--Controlclassescoveredoutlineattacksdevices(windowpurposetitle="Mobile killingshowingItaliandroppedheavilyeffects-1\']);\nconfirmCurrentadvancesharingopeningdrawingbillionorderedGermanyrelated</form>includewhetherdefinedSciencecatalogArticlebuttonslargestuniformjourneysidebarChicagoholidayGeneralpassage,"animatefeelingarrivedpassingnaturalroughly.\n\nThe but notdensityBritainChineselack oftributeIreland" data-factorsreceivethat isLibraryhusbandin factaffairsCharlesradicalbroughtfindinglanding:lang="return leadersplannedpremiumpackageAmericaEdition]"Messageneed tovalue="complexlookingstationbelievesmaller-mobilerecordswant tokind ofFirefoxyou aresimilarstudiedmaximumheadingrapidlyclimatekingdomemergedamountsfoundedpioneerformuladynastyhow to SupportrevenueeconomyResultsbrothersoldierlargelycalling."AccountEdward segmentRobert effortsPacificlearnedup withheight:we haveAngelesnations_searchappliedacquiremassivegranted: falsetreatedbiggestbenefitdrivingStudiesminimumperhapsmorningsellingis usedreversevariant role="missingachievepromotestudentsomeoneextremerestorebottom:evolvedall thesitemapenglishway to AugustsymbolsCompanymattersmusicalagainstserving})();\r\npaymenttroubleconceptcompareparentsplayersregionsmonitor \'\'The winningexploreadaptedGalleryproduceabilityenhancecareers). The collectSearch ancientexistedfooter handlerprintedconsoleEasternexportswindowsChannelillegalneutralsuggest_headersigning.html">settledwesterncausing-webkitclaimedJusticechaptervictimsThomas mozillapromisepartieseditionoutside:false,hundredOlympic_buttonauthorsreachedchronicdemandssecondsprotectadoptedprepareneithergreatlygreateroverallimprovecommandspecialsearch.worshipfundingthoughthighestinsteadutilityquarterCulturetestingclearlyexposedBrowserliberal} catchProjectexamplehide();FloridaanswersallowedEmperordefenseseriousfreedomSeveral-buttonFurtherout of != nulltrainedDenmarkvoid(0)/all.jspreventRequestStephen\n\nWhen observe</h2>\r\nModern provide" alt="borders.\n\nFor \n\nMany artistspoweredperformfictiontype ofmedicalticketsopposedCouncilwitnessjusticeGeorge Belgium...</a>twitternotablywaitingwarfare Other rankingphrasesmentionsurvivescholar</p>\r\n Countryignoredloss ofjust asGeorgiastrange<head><stopped1\']);\r\nislandsnotableborder:list ofcarried100,000</h3>\n severalbecomesselect wedding00.htmlmonarchoff theteacherhighly biologylife ofor evenrise of»plusonehunting(thoughDouglasjoiningcirclesFor theAncientVietnamvehiclesuch ascrystalvalue =Windowsenjoyeda smallassumed<a id="foreign All rihow theDisplayretiredhoweverhidden;battlesseekingcabinetwas notlook atconductget theJanuaryhappensturninga:hoverOnline French lackingtypicalextractenemieseven ifgeneratdecidedare not/searchbeliefs-image:locatedstatic.login">convertviolententeredfirst">circuitFinlandchemistshe was10px;">as suchdivided</span>will beline ofa greatmystery/index.fallingdue to railwaycollegemonsterdescentit withnuclearJewish protestBritishflowerspredictreformsbutton who waslectureinstantsuicidegenericperiodsmarketsSocial fishingcombinegraphicwinners<br /><by the NaturalPrivacycookiesoutcomeresolveSwedishbrieflyPersianso muchCenturydepictscolumnshousingscriptsnext tobearingmappingrevisedjQuery(-width:title">tooltipSectiondesignsTurkishyounger.match(})();\n\nburningoperatedegreessource=Richardcloselyplasticentries</tr>\r\ncolor:#ul id="possessrollingphysicsfailingexecutecontestlink toDefault<br />\n: true,chartertourismclassicproceedexplain</h1>\r\nonline.?xml vehelpingdiamonduse theairlineend --\x3e).attr(readershosting#ffffffrealizeVincentsignals src="/ProductdespitediversetellingPublic held inJoseph theatreaffects<style>a largedoesn\'tlater, ElementfaviconcreatorHungaryAirportsee theso thatMichaelSystemsPrograms, and width=e"tradingleft">\npersonsGolden Affairsgrammarformingdestroyidea ofcase ofoldest this is.src = cartoonregistrCommonsMuslimsWhat isin manymarkingrevealsIndeed,equally/show_aoutdoorescape(Austriageneticsystem,In the sittingHe alsoIslandsAcademy\n\t\t\x3c!--Daniel bindingblock">imposedutilizeAbraham(except{width:putting).html(|| [];\nDATA[ *kitchenmountedactual dialectmainly _blank\'installexpertsif(typeIt also© ">Termsborn inOptionseasterntalkingconcerngained ongoingjustifycriticsfactoryits ownassaultinvitedlastinghis ownhref="/" rel="developconcertdiagramdollarsclusterphp?id=alcohol);})();using a><span>vesselsrevivalAddressamateurandroidallegedillnesswalkingcentersqualifymatchesunifiedextinctDefensedied in\n\t\x3c!-- customslinkingLittle Book ofeveningmin.js?are thekontakttoday\'s.html" target=wearingAll Rig;\n})();raising Also, crucialabout">declare--\x3e\n<scfirefoxas muchappliesindex, s, but type = \n\r\n\x3c!--towardsRecordsPrivateForeignPremierchoicesVirtualreturnsCommentPoweredinline;povertychamberLiving volumesAnthonylogin" RelatedEconomyreachescuttinggravitylife inChapter-shadowNotable</td>\r\n returnstadiumwidgetsvaryingtravelsheld bywho arework infacultyangularwho hadairporttown of\n\nSome \'click\'chargeskeywordit willcity of(this);Andrew unique checkedor more300px; return;rsion="pluginswithin herselfStationFederalventurepublishsent totensionactresscome tofingersDuke ofpeople,exploitwhat isharmonya major":"httpin his menu">\nmonthlyofficercouncilgainingeven inSummarydate ofloyaltyfitnessand wasemperorsupremeSecond hearingRussianlongestAlbertalateralset of small">.appenddo withfederalbank ofbeneathDespiteCapitalgrounds), and percentit fromclosingcontainInsteadfifteenas well.yahoo.respondfighterobscurereflectorganic= Math.editingonline paddinga wholeonerroryear ofend of barrierwhen itheader home ofresumedrenamedstrong>heatingretainscloudfrway of March 1knowingin partBetweenlessonsclosestvirtuallinks">crossedEND --\x3efamous awardedLicenseHealth fairly wealthyminimalAfricancompetelabel">singingfarmersBrasil)discussreplaceGregoryfont copursuedappearsmake uproundedboth ofblockedsaw theofficescoloursif(docuwhen heenforcepush(fuAugust UTF-8">Fantasyin mostinjuredUsuallyfarmingclosureobject defenceuse of Medical<body>\nevidentbe usedkeyCodesixteenIslamic#000000entire widely active (typeofone cancolor =speakerextendsPhysicsterrain<tbody>funeralviewingmiddle cricketprophetshifteddoctorsRussell targetcompactalgebrasocial-bulk ofman and</td>\n he left).val()false);logicalbankinghome tonaming Arizonacredits);\n});\nfounderin turnCollinsbefore But thechargedTitle">CaptainspelledgoddessTag --\x3eAdding:but wasRecent patientback in=false&Lincolnwe knowCounterJudaismscript altered\']);\n has theunclearEvent\',both innot all\n\n\x3c!-- placinghard to centersort ofclientsstreetsBernardassertstend tofantasydown inharbourFreedomjewelry/about..searchlegendsis mademodern only ononly toimage" linear painterand notrarely acronymdelivershorter00&as manywidth="/* <![Ctitle =of the lowest picked escapeduses ofpeoples PublicMatthewtacticsdamagedway forlaws ofeasy to windowstrong simple}catch(seventhinfoboxwent topaintedcitizenI don\'tretreat. Some ww.");\nbombingmailto:made in. Many carries||{};wiwork ofsynonymdefeatsfavoredopticalpageTraunless sendingleft"><comScorAll thejQuery.touristClassicfalse" Wilhelmsuburbsgenuinebishops.split(global followsbody ofnominalContactsecularleft tochiefly-hidden-banner</li>\n\n. When in bothdismissExplorealways via thespañolwelfareruling arrangecaptainhis sonrule ofhe tookitself,=0&(calledsamplesto makecom/pagMartin Kennedyacceptsfull ofhandledBesides//--\x3e</able totargetsessencehim to its by common.mineralto takeways tos.org/ladvisedpenaltysimple:if theyLettersa shortHerbertstrikes groups.lengthflightsoverlapslowly lesser social </p>\n\t\tit intoranked rate oful>\r\n attemptpair ofmake itKontaktAntoniohaving ratings activestreamstrapped").css(hostilelead tolittle groups,Picture--\x3e\r\n\r\n rows=" objectinverse<footerCustomV><\\/scrsolvingChamberslaverywoundedwhereas!= \'undfor allpartly -right:Arabianbacked centuryunit ofmobile-Europe,is homerisk ofdesiredClintoncost ofage of become none ofp"Middle ead\')[0Criticsstudios>©group">assemblmaking pressedwidget.ps:" ? rebuiltby someFormer editorsdelayedCanonichad thepushingclass="but arepartialBabylonbottom carrierCommandits useAs withcoursesa thirddenotesalso inHouston20px;">accuseddouble goal ofFamous ).bind(priests Onlinein Julyst + "gconsultdecimalhelpfulrevivedis veryr\'+\'iptlosing femalesis alsostringsdays ofarrivalfuture <objectforcingString(" />\n\t\there isencoded. The balloondone by/commonbgcolorlaw of Indianaavoidedbut the2px 3pxjquery.after apolicy.men andfooter-= true;for usescreen.Indian image =family,http:// driverseternalsame asnoticedviewers})();\n is moreseasonsformer the newis justconsent Searchwas thewhy theshippedbr><br>width: height=made ofcuisineis thata very Admiral fixed;normal MissionPress, ontariocharsettry to invaded="true"spacingis mosta more totallyfall of});\r\n immensetime inset outsatisfyto finddown tolot of Playersin Junequantumnot thetime todistantFinnishsrc = (single help ofGerman law andlabeledforestscookingspace">header-well asStanleybridges/globalCroatia About [0];\n it, andgroupedbeing a){throwhe madelighterethicalFFFFFF"bottom"like a employslive inas seenprintermost ofub-linkrejectsand useimage">succeedfeedingNuclearinformato helpWomen\'sNeitherMexicanprotein<table by manyhealthylawsuitdevised.push({sellerssimply Through.cookie Image(older">us.js"> Since universlarger open to!-- endlies in\']);\r\n marketwho is ("DOMComanagedone fortypeof Kingdomprofitsproposeto showcenter;made itdressedwere inmixtureprecisearisingsrc = \'make a securedBaptistvoting \n\t\tvar March 2grew upClimate.removeskilledway the</head>face ofacting right">to workreduceshas haderectedshow();action=book ofan area== "htt<header\n<html>conformfacing cookie.rely onhosted .customhe wentbut forspread Family a meansout theforums.footage">MobilClements" id="as highintense--\x3e\x3c!--female is seenimpliedset thea stateand hisfastestbesidesbutton_bounded"><img Infoboxevents,a youngand areNative cheaperTimeoutand hasengineswon the(mostlyright: find a -bottomPrince area ofmore ofsearch_nature,legallyperiod,land ofor withinducedprovingmissilelocallyAgainstthe wayk"px;">\r\npushed abandonnumeralCertainIn thismore inor somename isand, incrownedISBN 0-createsOctobermay notcenter late inDefenceenactedwish tobroadlycoolingonload=it. TherecoverMembersheight assumes<html>\npeople.in one =windowfooter_a good reklamaothers,to this_cookiepanel">London,definescrushedbaptismcoastalstatus title" move tolost inbetter impliesrivalryservers SystemPerhapses and contendflowinglasted rise inGenesisview ofrising seem tobut in backinghe willgiven agiving cities.flow of Later all butHighwayonly bysign ofhe doesdiffersbattery&lasinglesthreatsintegertake onrefusedcalled =US&See thenativesby thissystem.head of:hover,lesbiansurnameand allcommon/header__paramsHarvard/pixel.removalso longrole ofjointlyskyscraUnicodebr />\r\nAtlantanucleusCounty,purely count">easily build aonclicka givenpointerh"events else {\nditionsnow the, with man whoorg/Webone andcavalryHe diedseattle00,000 {windowhave toif(windand itssolely m"renewedDetroitamongsteither them inSenatorUs</a><King ofFrancis-produche usedart andhim andused byscoringat hometo haverelatesibilityfactionBuffalolink"><what hefree toCity ofcome insectorscountedone daynervoussquare };if(goin whatimg" alis onlysearch/tuesdaylooselySolomonsexual - <a hrmedium"DO NOT France,with a war andsecond take a >\r\n\r\n\r\nmarket.highwaydone inctivity"last">obligedrise to"undefimade to Early praisedin its for hisathleteJupiterYahoo! termed so manyreally s. The a woman?value=direct right" bicycleacing="day andstatingRather,higher Office are nowtimes, when a pay foron this-link">;borderaround annual the Newput the.com" takin toa brief(in thegroups.; widthenzymessimple in late{returntherapya pointbanninginks">\n();" rea place\\u003Caabout atr>\r\n\t\tccount gives a<SCRIPTRailwaythemes/toolboxById("xhumans,watchesin some if (wicoming formats Under but hashanded made bythan infear ofdenoted/iframeleft involtagein eacha"base ofIn manyundergoregimesaction </p>\r\n<ustomVa;></importsor thatmostly &re size="</a></ha classpassiveHost = WhetherfertileVarious=[];(fucameras/></td>acts asIn some>\r\n\r\n<!organis <br />Beijingcatalàdeutscheuropeueuskaragaeilgesvenskaespañamensajeusuariotrabajoméxicopáginasiempresistemaoctubreduranteañadirempresamomentonuestroprimeratravésgraciasnuestraprocesoestadoscalidadpersonanúmeroacuerdomúsicamiembroofertasalgunospaísesejemploderechoademásprivadoagregarenlacesposiblehotelessevillaprimeroúltimoeventosarchivoculturamujeresentradaanuncioembargomercadograndesestudiomejoresfebrerodiseñoturismocódigoportadaespaciofamiliaantoniopermiteguardaralgunaspreciosalguiensentidovisitastítuloconocersegundoconsejofranciaminutossegundatenemosefectosmálagasesiónrevistagranadacompraringresogarcíaacciónecuadorquienesinclusodeberámateriahombresmuestrapodríamañanaúltimaestamosoficialtambienningúnsaludospodemosmejorarpositionbusinesshomepagesecuritylanguagestandardcampaignfeaturescategoryexternalchildrenreservedresearchexchangefavoritetemplatemilitaryindustryservicesmaterialproductsz-index:commentssoftwarecompletecalendarplatformarticlesrequiredmovementquestionbuildingpoliticspossiblereligionphysicalfeedbackregisterpicturesdisabledprotocolaudiencesettingsactivityelementslearninganythingabstractprogressoverviewmagazineeconomictrainingpressurevarious <strong>propertyshoppingtogetheradvancedbehaviordownloadfeaturedfootballselectedLanguagedistanceremembertrackingpasswordmodifiedstudentsdirectlyfightingnortherndatabasefestivalbreakinglocationinternetdropdownpracticeevidencefunctionmarriageresponseproblemsnegativeprogramsanalysisreleasedbanner">purchasepoliciesregionalcreativeargumentbookmarkreferrerchemicaldivisioncallbackseparateprojectsconflicthardwareinterestdeliverymountainobtained= false;for(var acceptedcapacitycomputeridentityaircraftemployedproposeddomesticincludesprovidedhospitalverticalcollapseapproachpartnerslogo"><adaughterauthor" culturalfamilies/images/assemblypowerfulteachingfinisheddistrictcriticalcgi-bin/purposesrequireselectionbecomingprovidesacademicexerciseactuallymedicineconstantaccidentMagazinedocumentstartingbottom">observed: "extendedpreviousSoftwarecustomerdecisionstrengthdetailedslightlyplanningtextareacurrencyeveryonestraighttransferpositiveproducedheritageshippingabsolutereceivedrelevantbutton" violenceanywherebenefitslaunchedrecentlyalliancefollowedmultiplebulletinincludedoccurredinternal$(this).republic><tr><tdcongressrecordedultimatesolution<ul id="discoverHome</a>websitesnetworksalthoughentirelymemorialmessagescontinueactive">somewhatvictoriaWestern title="LocationcontractvisitorsDownloadwithout right">\nmeasureswidth = variableinvolvedvirginianormallyhappenedaccountsstandingnationalRegisterpreparedcontrolsaccuratebirthdaystrategyofficialgraphicscriminalpossiblyconsumerPersonalspeakingvalidateachieved.jpg" />machines</h2>\n keywordsfriendlybrotherscombinedoriginalcomposedexpectedadequatepakistanfollow" valuable</label>relativebringingincreasegovernorplugins/List of Header">" name=" ("graduate</head>\ncommercemalaysiadirectormaintain;height:schedulechangingback to catholicpatternscolor: #greatestsuppliesreliable</ul>\n\t\t<select citizensclothingwatching<li id="specificcarryingsentence<center>contrastthinkingcatch(e)southernMichael merchantcarouselpadding:interior.split("lizationOctober ){returnimproved-->\n\ncoveragechairman.png" />subjectsRichard whateverprobablyrecoverybaseballjudgmentconnect..css" /> websitereporteddefault"/></a>\r\nelectricscotlandcreationquantity. ISBN 0did not instance-search-" lang="speakersComputercontainsarchivesministerreactiondiscountItalianocriteriastrongly: \'http:\'script\'coveringofferingappearedBritish identifyFacebooknumerousvehiclesconcernsAmericanhandlingdiv id="William provider_contentaccuracysection andersonflexibleCategorylawrence<script>layout="approved maximumheader"></table>Serviceshamiltoncurrent canadianchannels/themes//articleoptionalportugalvalue=""intervalwirelessentitledagenciesSearch" measuredthousandspending…new Date" size="pageNamemiddle" " /></a>hidden">sequencepersonaloverflowopinionsillinoislinks">\n\t<title>versionssaturdayterminalitempropengineersectionsdesignerproposal="false"Españolreleasessubmit" er"additionsymptomsorientedresourceright"><pleasurestationshistory.leaving border=contentscenter">.\n\nSome directedsuitablebulgaria.show();designedGeneral conceptsExampleswilliamsOriginal"><span>search">operatorrequestsa "allowingDocumentrevision. \n\nThe yourselfContact michiganEnglish columbiapriorityprintingdrinkingfacilityreturnedContent officersRussian generate-8859-1"indicatefamiliar qualitymargin:0 contentviewportcontacts-title">portable.length eligibleinvolvesatlanticonload="default.suppliedpaymentsglossary\n\nAfter guidance</td><tdencodingmiddle">came to displaysscottishjonathanmajoritywidgets.clinicalthailandteachers<head>\n\taffectedsupportspointer;toString</small>oklahomawill be investor0" alt="holidaysResourcelicensed (which . After considervisitingexplorerprimary search" android"quickly meetingsestimate;return ;color:# height=approval, " checked.min.js"magnetic></a></hforecast. While thursdaydvertiseéhasClassevaluateorderingexistingpatients Online coloradoOptions"campbell\x3c!-- end</span><<br />\r\n_popups|sciences," quality Windows assignedheight: <b classle" value=" Companyexamples<iframe believespresentsmarshallpart of properly).\n\nThe taxonomymuch of </span>\n" data-srtuguêsscrollTo project<head>\r\nattorneyemphasissponsorsfancyboxworld\'s wildlifechecked=sessionsprogrammpx;font- Projectjournalsbelievedvacationthompsonlightingand the special border=0checking</tbody><button Completeclearfix\n<head>\narticle <sectionfindingsrole in popular Octoberwebsite exposureused to changesoperatedclickingenteringcommandsinformed numbers </div>creatingonSubmitmarylandcollegesanalyticlistingscontact.loggedInadvisorysiblingscontent"s")s. This packagescheckboxsuggestspregnanttomorrowspacing=icon.pngjapanesecodebasebutton">gamblingsuch as , while </span> missourisportingtop:1px .</span>tensionswidth="2lazyloadnovemberused in height="cript">\n </<tr><td height:2/productcountry include footer" <!-- title"></jquery.</form>\n(简体)(繁體)hrvatskiitalianoromânătürkçeاردوtambiénnoticiasmensajespersonasderechosnacionalserviciocontactousuariosprogramagobiernoempresasanunciosvalenciacolombiadespuésdeportesproyectoproductopúbliconosotroshistoriapresentemillonesmediantepreguntaanteriorrecursosproblemasantiagonuestrosopiniónimprimirmientrasaméricavendedorsociedadrespectorealizarregistropalabrasinterésentoncesespecialmiembrosrealidadcórdobazaragozapáginassocialesbloqueargestiónalquilersistemascienciascompletoversióncompletaestudiospúblicaobjetivoalicantebuscadorcantidadentradasaccionesarchivossuperiormayoríaalemaniafunciónúltimoshaciendoaquellosediciónfernandoambientefacebooknuestrasclientesprocesosbastantepresentareportarcongresopublicarcomerciocontratojóvenesdistritotécnicaconjuntoenergíatrabajarasturiasrecienteutilizarboletínsalvadorcorrectatrabajosprimerosnegocioslibertaddetallespantallapróximoalmeríaanimalesquiénescorazónsecciónbuscandoopcionesexteriorconceptotodavíagaleríaescribirmedicinalicenciaconsultaaspectoscríticadólaresjusticiadeberánperíodonecesitamantenerpequeñorecibidatribunaltenerifecancióncanariasdescargadiversosmallorcarequieretécnicodeberíaviviendafinanzasadelantefuncionaconsejosdifícilciudadesantiguasavanzadatérminounidadessánchezcampañasoftonicrevistascontienesectoresmomentosfacultadcréditodiversassupuestofactoressegundospequeñaгодаеслиестьбылобытьэтомЕслитогоменявсехэтойдажебылигодуденьэтотбыласебяодинсебенадосайтфотонегосвоисвойигрытожевсемсвоюлишьэтихпокаднейдомамиралиботемухотядвухсетилюдиделомиретебясвоевидечегоэтимсчеттемыценысталведьтемеводытебевышенамитипатомуправлицаоднагодызнаюмогудругвсейидеткиноодноделаделесрокиюнявесьЕстьразанашиاللهالتيجميعخاصةالذيعليهجديدالآنالردتحكمصفحةكانتاللييكونشبكةفيهابناتحواءأكثرخلالالحبدليلدروساضغطتكونهناكساحةناديالطبعليكشكرايمكنمنهاشركةرئيسنشيطماذاالفنشبابتعبررحمةكافةيقولمركزكلمةأحمدقلبييعنيصورةطريقشاركجوالأخرىمعناابحثعروضبشكلمسجلبنانخالدكتابكليةبدونأيضايوجدفريقكتبتأفضلمطبخاكثرباركافضلاحلىنفسهأيامردودأنهاديناالانمعرضتعلمداخلممكن\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\b\t\n\v\f\r\r\f\v\n\t\b????\0\0\0\0\0\0\0\0????\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0??\0\0\0\0\0\0??\0\0\0\0\b\0\b\0\b\0\b\0\0\0\0\0\0\0\0\0resourcescountriesquestionsequipmentcommunityavailablehighlightDTD/xhtmlmarketingknowledgesomethingcontainerdirectionsubscribeadvertisecharacter" value="</select>Australia" class="situationauthorityfollowingprimarilyoperationchallengedevelopedanonymousfunction functionscompaniesstructureagreement" title="potentialeducationargumentssecondarycopyrightlanguagesexclusivecondition</form>\r\nstatementattentionBiography} else {\nsolutionswhen the Analyticstemplatesdangeroussatellitedocumentspublisherimportantprototypeinfluence»</effectivegenerallytransformbeautifultransportorganizedpublishedprominentuntil thethumbnailNational .focus();over the migrationannouncedfooter">\nexceptionless thanexpensiveformationframeworkterritoryndicationcurrentlyclassNamecriticismtraditionelsewhereAlexanderappointedmaterialsbroadcastmentionedaffiliate</option>treatmentdifferent/default.Presidentonclick="biographyotherwisepermanentFrançaisHollywoodexpansionstandards</style>\nreductionDecember preferredCambridgeopponentsBusiness confusion>\n<title>presentedexplaineddoes not worldwideinterfacepositionsnewspaper</table>\nmountainslike the essentialfinancialselectionaction="/abandonedEducationparseInt(stabilityunable to</title>\nrelationsNote thatefficientperformedtwo yearsSince thethereforewrapper">alternateincreasedBattle ofperceivedtrying tonecessaryportrayedelectionsElizabeth</iframe>discoveryinsurances.length;legendaryGeographycandidatecorporatesometimesservices.inherited</strong>CommunityreligiouslocationsCommitteebuildingsthe worldno longerbeginningreferencecannot befrequencytypicallyinto the relative;recordingpresidentinitiallytechniquethe otherit can beexistenceunderlinethis timetelephoneitemscopepracticesadvantage);return For otherprovidingdemocracyboth the extensivesufferingsupportedcomputers functionpracticalsaid thatit may beEnglish</from the scheduleddownloads</label>\nsuspectedmargin: 0spiritual</head>\n\nmicrosoftgraduallydiscussedhe becameexecutivejquery.jshouseholdconfirmedpurchasedliterallydestroyedup to thevariationremainingit is notcenturiesJapanese among thecompletedalgorithminterestsrebellionundefinedencourageresizableinvolvingsensitiveuniversalprovision(althoughfeaturingconducted), which continued-header">February numerous overflow:componentfragmentsexcellentcolspan="technicalnear the Advanced source ofexpressedHong Kong Facebookmultiple mechanismelevationoffensive</form>\n\tsponsoreddocument.or "there arethose whomovementsprocessesdifficultsubmittedrecommendconvincedpromoting" width=".replace(classicalcoalitionhis firstdecisionsassistantindicatedevolution-wrapper"enough toalong thedelivered--\x3e\r\n\x3c!--American protectedNovember </style><furnitureInternet onblur="suspendedrecipientbased on Moreover,abolishedcollectedwere madeemotionalemergencynarrativeadvocatespx;bordercommitteddir="ltr"employeesresearch. selectedsuccessorcustomersdisplayedSeptemberaddClass(Facebook suggestedand lateroperatingelaborateSometimesInstitutecertainlyinstalledfollowersJerusalemthey havecomputinggeneratedprovincesguaranteearbitraryrecognizewanted topx;width:theory ofbehaviourWhile theestimatedbegan to it becamemagnitudemust havemore thanDirectoryextensionsecretarynaturallyoccurringvariablesgiven theplatform.</label><failed tocompoundskinds of societiesalongside -->\n\nsouthwestthe rightradiationmay have unescape(spoken in" href="/programmeonly the come fromdirectoryburied ina similarthey were</font></Norwegianspecifiedproducingpassenger(new DatetemporaryfictionalAfter theequationsdownload.regularlydeveloperabove thelinked tophenomenaperiod oftooltip">substanceautomaticaspect ofAmong theconnectedestimatesAir Forcesystem ofobjectiveimmediatemaking itpaintingsconqueredare stillproceduregrowth ofheaded byEuropean divisionsmoleculesfranchiseintentionattractedchildhoodalso useddedicatedsingaporedegree offather ofconflicts</a></p>\ncame fromwere usednote thatreceivingExecutiveeven moreaccess tocommanderPoliticalmusiciansdeliciousprisonersadvent ofUTF-8" /><![CDATA[">ContactSouthern bgcolor="series of. It was in Europepermittedvalidate.appearingofficialsseriously-languageinitiatedextendinglong-terminflationsuch thatgetCookiemarked by</button>implementbut it isincreasesdown the requiringdependent--\x3e\n\x3c!-- interviewWith the copies ofconsensuswas builtVenezuela(formerlythe statepersonnelstrategicfavour ofinventionWikipediacontinentvirtuallywhich wasprincipleComplete identicalshow thatprimitiveaway frommolecularpreciselydissolvedUnder theversion="> </It is the This is will haveorganismssome timeFriedrichwas firstthe only fact thatform id="precedingTechnicalphysicistoccurs innavigatorsection">span id="sought tobelow thesurviving}</style>his deathas in thecaused bypartiallyexisting using thewas givena list oflevels ofnotion ofOfficial dismissedscientistresemblesduplicateexplosiverecoveredall othergalleries{padding:people ofregion ofaddressesassociateimg alt="in modernshould bemethod ofreportingtimestampneeded tothe Greatregardingseemed toviewed asimpact onidea thatthe Worldheight ofexpandingThese arecurrent">carefullymaintainscharge ofClassicaladdressedpredictedownership<div id="right">\r\nresidenceleave thecontent">are often })();\r\nprobably Professor-button" respondedsays thathad to beplaced inHungarianstatus ofserves asUniversalexecutionaggregatefor whichinfectionagreed tohowever, popular">placed onconstructelectoralsymbol ofincludingreturn toarchitectChristianprevious living ineasier toprofessor\n<!-- effect ofanalyticswas takenwhere thetook overbelief inAfrikaansas far aspreventedwork witha special<fieldsetChristmasRetrieved\n\nIn the back intonortheastmagazines><strong>committeegoverninggroups ofstored inestablisha generalits firsttheir ownpopulatedan objectCaribbeanallow thedistrictswisconsinlocation.; width: inhabitedSocialistJanuary 1</footer>similarlychoice ofthe same specific business The first.length; desire todeal withsince theuserAgentconceivedindex.phpas "engage inrecently,few yearswere also\n<head>\n<edited byare knowncities inaccesskeycondemnedalso haveservices,family ofSchool ofconvertednature of languageministers</object>there is a popularsequencesadvocatedThey wereany otherlocation=enter themuch morereflectedwas namedoriginal a typicalwhen theyengineerscould notresidentswednesdaythe third productsJanuary 2what theya certainreactionsprocessorafter histhe last contained"></div>\n</a></td>depend onsearch">\npieces ofcompetingReferencetennesseewhich has version=</span> <</header>gives thehistorianvalue="">padding:0view thattogether,the most was foundsubset ofattack onchildren,points ofpersonal position:allegedlyClevelandwas laterand afterare givenwas stillscrollingdesign ofmakes themuch lessAmericans.\n\nAfter , but theMuseum oflouisiana(from theminnesotaparticlesa processDominicanvolume ofreturningdefensive00px|righmade frommouseover" style="states of(which iscontinuesFranciscobuilding without awith somewho woulda form ofa part ofbefore itknown as Serviceslocation and oftenmeasuringand it ispaperbackvalues of\r\n<title>= window.determineer" played byand early</center>from thisthe threepower andof "innerHTML<a href="y:inline;Church ofthe eventvery highofficial -height: content="/cgi-bin/to createafrikaansesperantofrançaislatviešulietuviųČeštinačeštinaไทย日本語简体字繁體字한국어为什么计算机笔记本討論區服务器互联网房地产俱乐部出版社排行榜部落格进一步支付宝验证码委员会数据库消费者办公室讨论区深圳市播放器北京市大学生越来越管理员信息网serviciosartículoargentinabarcelonacualquierpublicadoproductospolíticarespuestawikipediasiguientebúsquedacomunidadseguridadprincipalpreguntascontenidorespondervenezuelaproblemasdiciembrerelaciónnoviembresimilaresproyectosprogramasinstitutoactividadencuentraeconomíaimágenescontactardescargarnecesarioatenciónteléfonocomisióncancionescapacidadencontraranálisisfavoritostérminosprovinciaetiquetaselementosfuncionesresultadocarácterpropiedadprincipionecesidadmunicipalcreacióndescargaspresenciacomercialopinionesejercicioeditorialsalamancagonzálezdocumentopelícularecientesgeneralestarragonaprácticanovedadespropuestapacientestécnicasobjetivoscontactosमेंलिएहैंगयासाथएवंरहेकोईकुछरहाबादकहासभीहुएरहीमैंदिनबातdiplodocsसमयरूपनामपताफिरऔसततरहलोगहुआबारदेशहुईखेलयदिकामवेबतीनबीचमौतसाललेखजॉबमददतथानहीशहरअलगकभीनगरपासरातकिएउसेगयीहूँआगेटीमखोजकारअभीगयेतुमवोटदेंअगरऐसेमेललगाहालऊपरचारऐसादेरजिसदिलबंदबनाहूंलाखजीतबटनमिलइसेआनेनयाकुललॉगभागरेलजगहरामलगेपेजहाथइसीसहीकलाठीकहाँदूरतहतसातयादआयापाककौनशामदेखयहीरायखुदलगीcategoriesexperience</title>\r\nCopyright javascriptconditionseverything<p class="technologybackground<a class="management© 201javaScriptcharactersbreadcrumbthemselveshorizontalgovernmentCaliforniaactivitiesdiscoveredNavigationtransitionconnectionnavigationappearance</title><mcheckbox" techniquesprotectionapparentlyas well asunt\', \'UA-resolutionoperationstelevisiontranslatedWashingtonnavigator. = window.impression<br>literaturepopulationbgcolor="#especially content="productionnewsletterpropertiesdefinitionleadershipTechnologyParliamentcomparisonul class=".indexOf("conclusiondiscussioncomponentsbiologicalRevolution_containerunderstoodnoscript><permissioneach otheratmosphere onfocus="<form id="processingthis.valuegenerationConferencesubsequentwell-knownvariationsreputationphenomenondisciplinelogo.png" (document,boundariesexpressionsettlementBackgroundout of theenterprise("https:" unescape("password" democratic<a href="/wrapper">\nmembershiplinguisticpx;paddingphilosophyassistanceuniversityfacilitiesrecognizedpreferenceif (typeofmaintainedvocabularyhypothesis.submit();&nbsp;annotationbehind theFoundationpublisher"assumptionintroducedcorruptionscientistsexplicitlyinstead ofdimensions onClick="considereddepartmentoccupationsoon afterinvestmentpronouncedidentifiedexperimentManagementgeographic" height="link rel=".replace(/depressionconferencepunishmenteliminatedresistanceadaptationoppositionwell knownsupplementdeterminedh1 class="0px;marginmechanicalstatisticscelebratedGovernment\n\nDuring tdevelopersartificialequivalentoriginatedCommissionattachment<span id="there wereNederlandsbeyond theregisteredjournalistfrequentlyall of thelang="en" </style>\r\nabsolute; supportingextremely mainstream</strong> popularityemployment</table>\r\n colspan="</form>\n conversionabout the </p></div>integrated" lang="enPortuguesesubstituteindividualimpossiblemultimediaalmost allpx solid #apart fromsubject toin Englishcriticizedexcept forguidelinesoriginallyremarkablethe secondh2 class="<a title="(includingparametersprohibited= "http://dictionaryperceptionrevolutionfoundationpx;height:successfulsupportersmillenniumhis fatherthe "no-repeat;commercialindustrialencouragedamount of unofficialefficiencyReferencescoordinatedisclaimerexpeditiondevelopingcalculatedsimplifiedlegitimatesubstring(0" class="completelyillustratefive yearsinstrumentPublishing1" class="psychologyconfidencenumber of absence offocused onjoined thestructurespreviously></iframe>once againbut ratherimmigrantsof course,a group ofLiteratureUnlike the</a> \nfunction it was theConventionautomobileProtestantaggressiveafter the Similarly," /></div>collection\r\nfunctionvisibilitythe use ofvolunteersattractionunder the threatened*<![CDATA[importancein generalthe latter</form>\n</.indexOf(\'i = 0; i <differencedevoted totraditionssearch forultimatelytournamentattributesso-called }\n</style>evaluationemphasizedaccessible</section>successionalong withMeanwhile,industries</a><br />has becomeaspects ofTelevisionsufficientbasketballboth sidescontinuingan article<img alt="adventureshis mothermanchesterprinciplesparticularcommentaryeffects ofdecided to"><strong>publishersJournal ofdifficultyfacilitateacceptablestyle.css"\tfunction innovation>Copyrightsituationswould havebusinessesDictionarystatementsoften usedpersistentin Januarycomprising</title>\n\tdiplomaticcontainingperformingextensionsmay not beconcept of onclick="It is alsofinancial making theLuxembourgadditionalare calledengaged in"script");but it waselectroniconsubmit="\n\x3c!-- End electricalofficiallysuggestiontop of theunlike theAustralianOriginallyreferences\n</head>\r\nrecognisedinitializelimited toAlexandriaretirementAdventuresfour years\n\n<!-- increasingdecorationh3 class="origins ofobligationregulationclassified(function(advantagesbeing the historians<base hrefrepeatedlywilling tocomparabledesignatednominationfunctionalinside therevelationend of thes for the authorizedrefused totake placeautonomouscompromisepolitical restauranttwo of theFebruary 2quality ofswfobject.understandnearly allwritten byinterviews" width="1withdrawalfloat:leftis usuallycandidatesnewspapersmysteriousDepartmentbest knownparliamentsuppressedconvenientremembereddifferent systematichas led topropagandacontrolledinfluencesceremonialproclaimedProtectionli class="Scientificclass="no-trademarksmore than widespreadLiberationtook placeday of theas long asimprisonedAdditional\n<head>\n<mLaboratoryNovember 2exceptionsIndustrialvariety offloat: lefDuring theassessmenthave been deals withStatisticsoccurrence/ul></div>clearfix">the publicmany yearswhich wereover time,synonymouscontent">\npresumablyhis familyuserAgent.unexpectedincluding challengeda minorityundefined"belongs totaken fromin Octoberposition: said to bereligious Federation rowspan="only a fewmeant thatled to the--\x3e\r\n<div <fieldset>Archbishop class="nobeing usedapproachesprivilegesnoscript>\nresults inmay be theEaster eggmechanismsreasonablePopulationCollectionselected">noscript>\r/index.phparrival of-jssdk\'));managed toincompletecasualtiescompletionChristiansSeptember arithmeticproceduresmight haveProductionit appearsPhilosophyfriendshipleading togiving thetoward theguaranteeddocumentedcolor:#000video gamecommissionreflectingchange theassociatedsans-serifonkeypress; padding:He was theunderlyingtypically , and the srcElementsuccessivesince the should be networkingaccountinguse of thelower thanshows that</span>\n\t\tcomplaintscontinuousquantitiesastronomerhe did notdue to itsapplied toan averageefforts tothe futureattempt toTherefore,capabilityRepublicanwas formedElectronickilometerschallengespublishingthe formerindigenousdirectionssubsidiaryconspiracydetails ofand in theaffordablesubstancesreason forconventionitemtype="absolutelysupposedlyremained aattractivetravellingseparatelyfocuses onelementaryapplicablefound thatstylesheetmanuscriptstands for no-repeat(sometimesCommercialin Americaundertakenquarter ofan examplepersonallyindex.php?</button>\npercentagebest-knowncreating a" dir="ltrLieutenant\n<div id="they wouldability ofmade up ofnoted thatclear thatargue thatto anotherchildren\'spurpose offormulatedbased uponthe regionsubject ofpassengerspossession.\n\nIn the Before theafterwardscurrently across thescientificcommunity.capitalismin Germanyright-wingthe systemSociety ofpoliticiandirection:went on toremoval of New York apartmentsindicationduring theunless thehistoricalhad been adefinitiveingredientattendanceCenter forprominencereadyStatestrategiesbut in theas part ofconstituteclaim thatlaboratorycompatiblefailure of, such as began withusing the to providefeature offrom which/" class="geologicalseveral ofdeliberateimportant holds thating" valign=topthe Germanoutside ofnegotiatedhis careerseparationid="searchwas calledthe fourthrecreationother thanpreventionwhile the education,connectingaccuratelywere builtwas killedagreementsmuch more Due to thewidth: 100some otherKingdom ofthe entirefamous forto connectobjectivesthe Frenchpeople andfeatured">is said tostructuralreferendummost oftena separate->\n<div id Official worldwide.aria-labelthe planetand it wasd" value="looking atbeneficialare in themonitoringreportedlythe modernworking onallowed towhere the innovative</a></div>soundtracksearchFormtend to beinput id="opening ofrestrictedadopted byaddressingtheologianmethods ofvariant ofChristian very largeautomotiveby far therange frompursuit offollow thebrought toin Englandagree thataccused ofcomes frompreventingdiv style=his or hertremendousfreedom ofconcerning0 1em 1em;Basketball/style.cssan earliereven after/" title=".com/indextaking thepittsburghcontent">\r<script>(fturned outhaving the</span>\r\n occasionalbecause itstarted tophysically></div>\n created byCurrently, bgcolor="tabindex="disastrousAnalytics also has a><div id="</style>\n<called forsinger and.src = "//violationsthis pointconstantlyis locatedrecordingsd from thenederlandsportuguêsעבריתفارسیdesarrollocomentarioeducaciónseptiembreregistradodirecciónubicaciónpublicidadrespuestasresultadosimportantereservadosartículosdiferentessiguientesrepúblicasituaciónministerioprivacidaddirectorioformaciónpoblaciónpresidentecontenidosaccesoriostechnoratipersonalescategoríaespecialesdisponibleactualidadreferenciavalladolidbibliotecarelacionescalendariopolíticasanterioresdocumentosnaturalezamaterialesdiferenciaeconómicatransporterodríguezparticiparencuentrandiscusiónestructurafundaciónfrecuentespermanentetotalmenteможнобудетможетвремятакжечтобыболееоченьэтогокогдапослевсегосайтечерезмогутсайтажизнимеждубудутПоискздесьвидеосвязинужносвоейлюдейпорномногодетейсвоихправатакойместоимеетжизньоднойлучшепередчастичастьработновыхправособойпотомменеечисленовыеуслугоколоназадтакоетогдапочтиПослетакиеновыйстоиттакихсразуСанктфорумКогдакнигислованашейнайтисвоимсвязьлюбойчастосредиКромеФорумрынкесталипоисктысячмесяццентртрудасамыхрынкаНовыйчасовместафильммартастранместетекстнашихминутимениимеютномергородсамомэтомуконцесвоемкакойАрхивمنتدىإرسالرسالةالعامكتبهابرامجاليومالصورجديدةالعضوإضافةالقسمالعابتحميلملفاتملتقىتعديلالشعرأخبارتطويرعليكمإرفاقطلباتاللغةترتيبالناسالشيخمنتديالعربالقصصافلامعليهاتحديثاللهمالعملمكتبةيمكنكالطفلفيديوإدارةتاريخالصحةتسجيلالوقتعندمامدينةتصميمأرشيفالذينعربيةبوابةألعابالسفرمشاكلتعالىالأولالسنةجامعةالصحفالدينكلماتالخاصالملفأعضاءكتابةالخيررسائلالقلبالأدبمقاطعمراسلمنطقةالكتبالرجلاشتركالقدميعطيكsByTagName(.jpg" alt="1px solid #.gif" alt="transparentinformationapplication" onclick="establishedadvertising.png" alt="environmentperformanceappropriate&mdash;immediately</strong></rather thantemperaturedevelopmentcompetitionplaceholdervisibility:copyright">0" height="even thoughreplacementdestinationCorporation<ul class="AssociationindividualsperspectivesetTimeout(url(http://mathematicsmargin-top:eventually description) no-repeatcollections.JPG|thumb|participate/head><bodyfloat:left;<li class="hundreds of\n\nHowever, compositionclear:both;cooperationwithin the label for="border-top:New Zealandrecommendedphotographyinteresting<sup>controversyNetherlandsalternativemaxlength="switzerlandDevelopmentessentially\n\nAlthough </textarea>thunderbirdrepresented&ndash;speculationcommunitieslegislationelectronics\n\t<div id="illustratedengineeringterritoriesauthoritiesdistributed6" height="sans-serif;capable of disappearedinteractivelooking forit would beAfghanistanwas createdMath.floor(surroundingcan also beobservationmaintenanceencountered<h2 class="more recentit has beeninvasion of).getTime()fundamentalDespite the"><div id="inspirationexaminationpreparationexplanation<input id="</a></span>versions ofinstrumentsbefore the = \'http://Descriptionrelatively .substring(each of theexperimentsinfluentialintegrationmany peopledue to the combinationdo not haveMiddle East<noscript><copyright" perhaps theinstitutionin Decemberarrangementmost famouspersonalitycreation oflimitationsexclusivelysovereignty-content">\n<td class="undergroundparallel todoctrine ofoccupied byterminologyRenaissancea number ofsupport forexplorationrecognitionpredecessor<img src="/<h1 class="publicationmay also bespecialized</fieldset>progressivemillions ofstates thatenforcementaround the one another.parentNodeagricultureAlternativeresearcherstowards theMost of themany other (especially<td width=";width:100%independent<h3 class=" onchange=").addClass(interactionOne of the daughter ofaccessoriesbranches of\r\n<div id="the largestdeclarationregulationsInformationtranslationdocumentaryin order to">\n<head>\n<" height="1across the orientation);<\/script>implementedcan be seenthere was ademonstratecontainer">connectionsthe Britishwas written!important;px; margin-followed byability to complicatedduring the immigrationalso called<h4 class="distinctionreplaced bygovernmentslocation ofin Novemberwhether the</p>\n</div>acquisitioncalled the persecutiondesignation{font-size:appeared ininvestigateexperiencedmost likelywidely useddiscussionspresence of (document.extensivelyIt has beenit does notcontrary toinhabitantsimprovementscholarshipconsumptioninstructionfor exampleone or morepx; paddingthe currenta series ofare usuallyrole in thepreviously derivativesevidence ofexperiencescolorschemestated thatcertificate</a></div>\n selected="high schoolresponse tocomfortableadoption ofthree yearsthe countryin Februaryso that thepeople who provided by<param nameaffected byin terms ofappointmentISO-8859-1"was born inhistorical regarded asmeasurementis based on and other : function(significantcelebrationtransmitted/js/jquery.is known astheoretical tabindex="it could be<noscript>\nhaving been\r\n<head>\r\n< "The compilationhe had beenproduced byphilosopherconstructedintended toamong othercompared toto say thatEngineeringa differentreferred todifferencesbelief thatphotographsidentifyingHistory of Republic ofnecessarilyprobabilitytechnicallyleaving thespectacularfraction ofelectricityhead of therestaurantspartnershipemphasis onmost recentshare with saying thatfilled withdesigned toit is often"></iframe>as follows:merged withthrough thecommercial pointed outopportunityview of therequirementdivision ofprogramminghe receivedsetInterval"></span></in New Yorkadditional compression\n\n<div id="incorporate;<\/script><attachEventbecame the " target="_carried outSome of thescience andthe time ofContainer">maintainingChristopherMuch of thewritings of" height="2size of theversion of mixture of between theExamples ofeducationalcompetitive onsubmit="director ofdistinctive/DTD XHTML relating totendency toprovince ofwhich woulddespite thescientific legislature.innerHTML allegationsAgriculturewas used inapproach tointelligentyears later,sans-serifdeterminingPerformanceappearances, which is foundationsabbreviatedhigher thans from the individual composed ofsupposed toclaims thatattributionfont-size:1elements ofHistorical his brotherat the timeanniversarygoverned byrelated to ultimately innovationsit is stillcan only bedefinitionstoGMTStringA number ofimg class="Eventually,was changedoccurred inneighboringdistinguishwhen he wasintroducingterrestrialMany of theargues thatan Americanconquest ofwidespread were killedscreen and In order toexpected todescendantsare locatedlegislativegenerations backgroundmost peopleyears afterthere is nothe highestfrequently they do notargued thatshowed thatpredominanttheologicalby the timeconsideringshort-lived</span></a>can be usedvery littleone of the had alreadyinterpretedcommunicatefeatures ofgovernment,</noscript>entered the" height="3Independentpopulationslarge-scale. Although used in thedestructionpossibilitystarting intwo or moreexpressionssubordinatelarger thanhistory and</option>\r\nContinentaleliminatingwill not bepractice ofin front ofsite of theensure thatto create amississippipotentiallyoutstandingbetter thanwhat is nowsituated inmeta name="TraditionalsuggestionsTranslationthe form ofatmosphericideologicalenterprisescalculatingeast of theremnants ofpluginspage/index.php?remained intransformedHe was alsowas alreadystatisticalin favor ofMinistry ofmovement offormulationis required<link rel="This is the <a href="/popularizedinvolved inare used toand severalmade by theseems to belikely thatPalestiniannamed afterit had beenmost commonto refer tobut this isconsecutivetemporarilyIn general,conventionstakes placesubdivisionterritorialoperationalpermanentlywas largelyoutbreak ofin the pastfollowing a xmlns:og="><a class="class="textConversion may be usedmanufactureafter beingclearfix">\nquestion ofwas electedto become abecause of some peopleinspired bysuccessful a time whenmore commonamongst thean officialwidth:100%;technology,was adoptedto keep thesettlementslive birthsindex.html"Connecticutassigned to&times;account foralign=rightthe companyalways beenreturned toinvolvementBecause thethis period" name="q" confined toa result ofvalue="" />is actuallyEnvironment\r\n</head>\r\nConversely,>\n<div id="0" width="1is probablyhave becomecontrollingthe problemcitizens ofpoliticiansreached theas early as:none; over<table cellvalidity ofdirectly toonmousedownwhere it iswhen it wasmembers of relation toaccommodatealong with In the latethe Englishdelicious">this is notthe presentif they areand finallya matter of\r\n\t</div>\r\n\r\n<\/script>faster thanmajority ofafter whichcomparativeto maintainimprove theawarded theer" class="frameborderrestorationin the sameanalysis oftheir firstDuring the continentalsequence offunction(){font-size: work on the<\/script>\n<begins withjavascript:constituentwas foundedequilibriumassume thatis given byneeds to becoordinatesthe variousare part ofonly in thesections ofis a commontheories ofdiscoveriesassociationedge of thestrength ofposition inpresent-dayuniversallyto form thebut insteadcorporationattached tois commonlyreasons for "the can be madewas able towhich meansbut did notonMouseOveras possibleoperated bycoming fromthe primaryaddition offor severaltransferreda period ofare able tohowever, itshould havemuch larger\n\t<\/script>adopted theproperty ofdirected byeffectivelywas broughtchildren ofProgramminglonger thanmanuscriptswar againstby means ofand most ofsimilar to proprietaryoriginatingprestigiousgrammaticalexperience.to make theIt was alsois found incompetitorsin the U.S.replace thebrought thecalculationfall of thethe generalpracticallyin honor ofreleased inresidentialand some ofking of thereaction to1st Earl ofculture andprincipally</title>\n they can beback to thesome of hisexposure toare similarform of theaddFavoritecitizenshippart in thepeople within practiceto continue&minus;approved by the first allowed theand for thefunctioningplaying thesolution toheight="0" in his bookmore than afollows thecreated thepresence in </td>nationalistthe idea ofa characterwere forced class="btndays of thefeatured inshowing theinterest inin place ofturn of thethe head ofLord of thepoliticallyhas its ownEducationalapproval ofsome of theeach other,behavior ofand becauseand anotherappeared onrecorded inblack"may includethe world\'scan lead torefers to aborder="0" government winning theresulted in while the Washington,the subjectcity in the></div>\r\n\t\treflect theto completebecame moreradioactiverejected bywithout anyhis father,which couldcopy of theto indicatea politicalaccounts ofconstitutesworked wither</a></li>of his lifeaccompaniedclientWidthprevent theLegislativedifferentlytogether inhas severalfor anothertext of thefounded thee with the is used forchanged theusually theplace wherewhereas the> <a href=""><a href="themselves,although hethat can betraditionalrole of theas a resultremoveChilddesigned bywest of theSome peopleproduction,side of thenewslettersused by thedown to theaccepted bylive in theattempts tooutside thefrequenciesHowever, inprogrammersat least inapproximatealthough itwas part ofand variousGovernor ofthe articleturned into><a href="/the economyis the mostmost widelywould laterand perhapsrise to theoccurs whenunder whichconditions.the westerntheory thatis producedthe city ofin which heseen in thethe centralbuilding ofmany of hisarea of theis the onlymost of themany of thethe WesternThere is noextended toStatisticalcolspan=2 |short storypossible totopologicalcritical ofreported toa Christiandecision tois equal toproblems ofThis can bemerchandisefor most ofno evidenceeditions ofelements in". Thecom/images/which makesthe processremains theliterature,is a memberthe popularthe ancientproblems intime of thedefeated bybody of thea few yearsmuch of thethe work ofCalifornia,served as agovernment.concepts ofmovement in\t\t<div id="it" value="language ofas they areproduced inis that theexplain thediv></div>\nHowever thelead to the\t<a href="/was grantedpeople havecontinuallywas seen asand relatedthe role ofproposed byof the besteach other.Constantinepeople fromdialects ofto revisionwas renameda source ofthe initiallaunched inprovide theto the westwhere thereand similarbetween twois also theEnglish andconditions,that it wasentitled tothemselves.quantity ofransparencythe same asto join thecountry andthis is theThis led toa statementcontrast tolastIndexOfthrough hisis designedthe term isis providedprotect theng</a></li>The currentthe site ofsubstantialexperience,in the Westthey shouldslovenčinacomentariosuniversidadcondicionesactividadesexperienciatecnologíaproducciónpuntuaciónaplicacióncontraseñacategoríasregistrarseprofesionaltratamientoregístratesecretaríaprincipalesprotecciónimportantesimportanciaposibilidadinteresantecrecimientonecesidadessuscribirseasociacióndisponiblesevaluaciónestudiantesresponsableresoluciónguadalajararegistradosoportunidadcomercialesfotografíaautoridadesingenieríatelevisióncompetenciaoperacionesestablecidosimplementeactualmentenavegaciónconformidadline-height:font-family:" : "http://applicationslink" href="specifically//<![CDATA[\nOrganizationdistribution0px; height:relationshipdevice-width<div class="<label for="registration</noscript>\n/index.html"window.open( !important;application/independence//www.googleorganizationautocompleterequirementsconservative<form name="intellectualmargin-left:18th centuryan importantinstitutionsabbreviation<img class="organisationcivilization19th centuryarchitectureincorporated20th century-container">most notably/></a></div>notification\'undefined\')Furthermore,believe thatinnerHTML = prior to thedramaticallyreferring tonegotiationsheadquartersSouth AfricaunsuccessfulPennsylvaniaAs a result,<html lang="</sup>dealing withphiladelphiahistorically);<\/script>\npadding-top:experimentalgetAttributeinstructionstechnologiespart of the =function(){subscriptionl.dtd">\r\n<htgeographicalConstitution\', function(supported byagriculturalconstructionpublicationsfont-size: 1a variety of<div style="Encyclopediaiframe src="demonstratedaccomplisheduniversitiesDemographics);<\/script><dedicated toknowledge ofsatisfactionparticularly</div></div>English (US)appendChild(transmissions. However, intelligence" tabindex="float:right;Commonwealthranging fromin which theat least onereproductionencyclopedia;font-size:1jurisdictionat that time"><a class="In addition,description+conversationcontact withis generallyr" content="representing<math>presentationoccasionally<img width="navigation">compensationchampionshipmedia="all" violation ofreference toreturn true;Strict//EN" transactionsinterventionverificationInformation difficultiesChampionshipcapabilities<![endif]--\x3e}\n<\/script>\nChristianityfor example,Professionalrestrictionssuggest thatwas released(such as theremoveClass(unemploymentthe Americanstructure of/index.html published inspan class=""><a href="/introductionbelonging toclaimed thatconsequences<meta name="Guide to theoverwhelmingagainst the concentrated,\n.nontouch observations</a>\n</div>\nf (document.border: 1px {font-size:1treatment of0" height="1modificationIndependencedivided intogreater thanachievementsestablishingJavaScript" neverthelesssignificanceBroadcasting> </td>container">\nsuch as the influence ofa particularsrc=\'http://navigation" half of the substantial </div>advantage ofdiscovery offundamental metropolitanthe opposite" xml:lang="deliberatelyalign=centerevolution ofpreservationimprovementsbeginning inJesus ChristPublicationsdisagreementtext-align:r, function()similaritiesbody></html>is currentlyalphabeticalis sometimestype="image/many of the flow:hidden;available indescribe theexistence ofall over thethe Internet\t<ul class="installationneighborhoodarmed forcesreducing thecontinues toNonetheless,temperatures\n\t\t<a href="close to theexamples of is about the(see below)." id="searchprofessionalis availablethe official\t\t<\/script>\n\n\t\t<div id="accelerationthrough the Hall of Famedescriptionstranslationsinterference type=\'text/recent yearsin the worldvery popular{background:traditional some of the connected toexploitationemergence ofconstitutionA History ofsignificant manufacturedexpectations><noscript><can be foundbecause the has not beenneighbouringwithout the added to the\t<li class="instrumentalSoviet Unionacknowledgedwhich can bename for theattention toattempts to developmentsIn fact, the<li class="aimplicationssuitable formuch of the colonizationpresidentialcancelBubble Informationmost of the is describedrest of the more or lessin SeptemberIntelligencesrc="http://px; height: available tomanufacturerhuman rightslink href="/availabilityproportionaloutside the astronomicalhuman beingsname of the are found inare based onsmaller thana person whoexpansion ofarguing thatnow known asIn the earlyintermediatederived fromScandinavian</a></div>\r\nconsider thean estimatedthe National<div id="pagresulting incommissionedanalogous toare required/ul>\n</div>\nwas based onand became a t" value="" was capturedno more thanrespectivelycontinue to >\r\n<head>\r\n<were createdmore generalinformation used for theindependent the Imperialcomponent ofto the northinclude the Constructionside of the would not befor instanceinvention ofmore complexcollectivelybackground: text-align: its originalinto accountthis processan extensivehowever, thethey are notrejected thecriticism ofduring whichprobably thethis article(function(){It should bean agreementaccidentallydiffers fromArchitecturebetter knownarrangementsinfluence onattended theidentical tosouth of thepass throughxml" title="weight:bold;creating thedisplay:nonereplaced the<img src="/ihttps://www.World War IItestimonialsfound in therequired to and that thebetween the was designedconsists of considerablypublished bythe languageConservationconsisted ofrefer to theback to the css" media="People from available onproved to besuggestions"was known asvarieties oflikely to becomprised ofsupport the hands of thecoupled withconnect and border:none;performancesbefore beinglater becamecalculationsoften calledresidents ofmeaning that><li class="evidence forexplanationsenvironments"></a></div>which allowsIntroductiondeveloped bya wide rangeon behalf ofvalign="top"principle ofat the time,</noscript>\rsaid to havein the firstwhile othershypotheticalphilosopherspower of thecontained inperformed byinability towere writtenspan style="input name="the questionintended forrejection ofimplies thatinvented thethe standardwas probablylink betweenprofessor ofinteractionschanging theIndian Ocean class="lastworking with\'http://www.years beforeThis was therecreationalentering themeasurementsan extremelyvalue of thestart of the\n<\/script>\n\nan effort toincrease theto the southspacing="0">sufficientlythe Europeanconverted toclearTimeoutdid not haveconsequentlyfor the nextextension ofeconomic andalthough theare producedand with theinsufficientgiven by thestating thatexpenditures</span></a>\nthought thaton the basiscellpadding=image of thereturning toinformation,separated byassassinateds" content="authority ofnorthwestern</div>\n<div "></div>\r\n consultationcommunity ofthe nationalit should beparticipants align="leftthe greatestselection ofsupernaturaldependent onis mentionedallowing thewas inventedaccompanyinghis personalavailable atstudy of theon the otherexecution ofHuman Rightsterms of theassociationsresearch andsucceeded bydefeated theand from thebut they arecommander ofstate of theyears of agethe study of<ul class="splace in thewhere he was<li class="fthere are nowhich becamehe publishedexpressed into which thecommissionerfont-weight:territory ofextensions">Roman Empireequal to theIn contrast,however, andis typicallyand his wife(also called><ul class="effectively evolved intoseem to havewhich is thethere was noan excellentall of thesedescribed byIn practice,broadcastingcharged withreflected insubjected tomilitary andto the pointeconomicallysetTargetingare actuallyvictory over();<\/script>continuouslyrequired forevolutionaryan effectivenorth of the, which was front of theor otherwisesome form ofhad not beengenerated byinformation.permitted toincludes thedevelopment,entered intothe previousconsistentlyare known asthe field ofthis type ofgiven to thethe title ofcontains theinstances ofin the northdue to theirare designedcorporationswas that theone of thesemore popularsucceeded insupport fromin differentdominated bydesigned forownership ofand possiblystandardizedresponseTextwas intendedreceived theassumed thatareas of theprimarily inthe basis ofin the senseaccounts fordestroyed byat least twowas declaredcould not beSecretary ofappear to bemargin-top:1/^\\s+|\\s+$/ge){throw e};the start oftwo separatelanguage andwho had beenoperation ofdeath of thereal numbers\t<link rel="provided thethe story ofcompetitionsenglish (UK)english (US)МонголСрпскисрпскисрпскоلعربية正體中文简体中文繁体中文有限公司人民政府阿里巴巴社会主义操作系统政策法规informaciónherramientaselectrónicodescripciónclasificadosconocimientopublicaciónrelacionadasinformáticarelacionadosdepartamentotrabajadoresdirectamenteayuntamientomercadoLibrecontáctenoshabitacionescumplimientorestaurantesdisposiciónconsecuenciaelectrónicaaplicacionesdesconectadoinstalaciónrealizaciónutilizaciónenciclopediaenfermedadesinstrumentosexperienciasinstituciónparticularessubcategoriaтолькоРоссииработыбольшепростоможетедругихслучаесейчасвсегдаРоссияМоскведругиегородавопросданныхдолжныименноМосквырублейМосквастраныничегоработедолженуслугитеперьОднакопотомуработуапрелявообщеодногосвоегостатьидругойфорумехорошопротивссылкакаждыйвластигруппывместеработасказалпервыйделатьденьгипериодбизнесосновемоменткупитьдолжнарамкахначалоРаботаТолькосовсемвторойначаласписокслужбысистемпечатиновогопомощисайтовпочемупомощьдолжноссылкибыстроданныемногиепроектСейчасмоделитакогоонлайнгородеверсиястранефильмыуровняразныхискатьнеделюянваряменьшемногихданнойзначитнельзяфорумаТеперьмесяцазащитыЛучшиеनहींकरनेअपनेकियाकरेंअन्यक्यागाइडबारेकिसीदियापहलेसिंहभारतअपनीवालेसेवाकरतेमेरेहोनेसकतेबहुतसाइटहोगाजानेमिनटकरताकरनाउनकेयहाँसबसेभाषाआपकेलियेशुरूइसकेघंटेमेरीसकतामेरालेकरअधिकअपनासमाजमुझेकारणहोताकड़ीयहांहोटलशब्दलियाजीवनजाताकैसेआपकावालीदेनेपूरीपानीउसकेहोगीबैठकआपकीवर्षगांवआपकोजिलाजानासहमतहमेंउनकीयाहूदर्जसूचीपसंदसवालहोनाहोतीजैसेवापसजनतानेताजारीघायलजिलेनीचेजांचपत्रगूगलजातेबाहरआपनेवाहनइसकासुबहरहनेइससेसहितबड़ेघटनातलाशपांचश्रीबड़ीहोतेसाईटशायदसकतीजातीवालाहजारपटनारखनेसड़कमिलाउसकीकेवललगताखानाअर्थजहांदेखापहलीनियमबिनाबैंककहींकहनादेताहमलेकाफीजबकितुरतमांगवहींरोज़मिलीआरोपसेनायादवलेनेखाताकरीबउनकाजवाबपूराबड़ासौदाशेयरकियेकहांअकसरबनाएवहांस्थलमिलेलेखकविषयक्रंसमूहथानाتستطيعمشاركةبواسطةالصفحةمواضيعالخاصةالمزيدالعامةالكاتبالردودبرنامجالدولةالعالمالموقعالعربيالسريعالجوالالذهابالحياةالحقوقالكريمالعراقمحفوظةالثانيمشاهدةالمرأةالقرآنالشبابالحوارالجديدالأسرةالعلوممجموعةالرحمنالنقاطفلسطينالكويتالدنيابركاتهالرياضتحياتيبتوقيتالأولىالبريدالكلامالرابطالشخصيسياراتالثالثالصلاةالحديثالزوارالخليجالجميعالعامهالجمالالساعةمشاهدهالرئيسالدخولالفنيةالكتابالدوريالدروساستغرقتصاميمالبناتالعظيمentertainmentunderstanding = function().jpg" width="configuration.png" width="<body class="Math.random()contemporary United Statescircumstances.appendChild(organizations<span class=""><img src="/distinguishedthousands of communicationclear"></div>investigationfavicon.ico" margin-right:based on the Massachusettstable border=internationalalso known aspronunciationbackground:#fpadding-left:For example, miscellaneous</math>psychologicalin particularearch" type="form method="as opposed toSupreme Courtoccasionally Additionally,North Americapx;backgroundopportunitiesEntertainment.toLowerCase(manufacturingprofessional combined withFor instance,consisting of" maxlength="return false;consciousnessMediterraneanextraordinaryassassinationsubsequently button type="the number ofthe original comprehensiverefers to the</ul>\n</div>\nphilosophicallocation.hrefwas publishedSan Francisco(function(){\n<div id="mainsophisticatedmathematical /head>\r\n<bodysuggests thatdocumentationconcentrationrelationshipsmay have been(for example,This article in some casesparts of the definition ofGreat Britain cellpadding=equivalent toplaceholder="; font-size: justificationbelieved thatsuffered fromattempted to leader of thecript" src="/(function() {are available\n\t<link rel=" src=\'http://interested inconventional " alt="" /></are generallyhas also beenmost popular correspondingcredited withtyle="border:</a></span></.gif" width="<iframe src="table class="inline-block;according to together withapproximatelyparliamentarymore and moredisplay:none;traditionallypredominantly | </span> cellspacing=<input name="or" content="controversialproperty="og:/x-shockwave-demonstrationsurrounded byNevertheless,was the firstconsiderable Although the collaborationshould not beproportion of<span style="known as the shortly afterfor instance,described as /head>\n<body starting withincreasingly the fact thatdiscussion ofmiddle of thean individualdifficult to point of viewhomosexualityacceptance of</span></div>manufacturersorigin of thecommonly usedimportance ofdenominationsbackground: #length of thedeterminationa significant" border="0">revolutionaryprinciples ofis consideredwas developedIndo-Europeanvulnerable toproponents ofare sometimescloser to theNew York City name="searchattributed tocourse of themathematicianby the end ofat the end of" border="0" technological.removeClass(branch of theevidence that![endif]--\x3e\r\nInstitute of into a singlerespectively.and thereforeproperties ofis located insome of whichThere is alsocontinued to appearance of &ndash; describes theconsiderationauthor of theindependentlyequipped withdoes not have</a><a href="confused with<link href="/at the age ofappear in theThese includeregardless ofcould be used style="several timesrepresent thebody>\n</html>thought to bepopulation ofpossibilitiespercentage ofaccess to thean attempt toproduction ofjquery/jquerytwo differentbelong to theestablishmentreplacing thedescription" determine theavailable forAccording to wide range of\t<div class="more commonlyorganisationsfunctionalitywas completed &mdash; participationthe characteran additionalappears to befact that thean example ofsignificantlyonmouseover="because they async = true;problems withseems to havethe result of src="http://familiar withpossession offunction () {took place inand sometimessubstantially<span></span>is often usedin an attemptgreat deal ofEnvironmentalsuccessfully virtually all20th century,professionalsnecessary to determined bycompatibilitybecause it isDictionary ofmodificationsThe followingmay refer to:Consequently,Internationalalthough somethat would beworld\'s firstclassified asbottom of the(particularlyalign="left" most commonlybasis for thefoundation ofcontributionspopularity ofcenter of theto reduce thejurisdictionsapproximation onmouseout="New Testamentcollection of</span></a></in the Unitedfilm director-strict.dtd">has been usedreturn to thealthough thischange in theseveral otherbut there areunprecedentedis similar toespecially inweight: bold;is called thecomputationalindicate thatrestricted to\t<meta name="are typicallyconflict withHowever, the An example ofcompared withquantities ofrather than aconstellationnecessary forreported thatspecificationpolitical and <references tothe same yearGovernment ofgeneration ofhave not beenseveral yearscommitment to\t\t<ul class="visualization19th century,practitionersthat he wouldand continuedoccupation ofis defined ascentre of thethe amount of><div style="equivalent ofdifferentiatebrought aboutmargin-left: automaticallythought of asSome of these\n<div class="input class="replaced withis one of theeducation andinfluenced byreputation as\n<meta name="accommodation</div>\n</div>large part ofInstitute forthe so-called against the In this case,was appointedclaimed to beHowever, thisDepartment ofthe remainingeffect on theparticularly deal with the\n<div style="almost alwaysare currentlyexpression ofphilosophy offor more thancivilizationson the islandselectedIndexcan result in" value="" />the structure /></a></div>Many of thesecaused by theof the Unitedspan class="mcan be tracedis related tobecame one ofis frequentlyliving in thetheoreticallyFollowing theRevolutionarygovernment inis determinedthe politicalintroduced insufficient todescription">short storiesseparation ofas to whetherknown for itswas initiallydisplay:blockis an examplethe principalconsists of arecognized as/body></html>a substantialreconstructedhead of stateresistance toundergraduateThere are twogravitationalare describedintentionallyserved as theclass="headeropposition tofundamentallydominated theand the otheralliance withwas forced torespectively,and politicalin support ofpeople in the20th century.and publishedloadChartbeatto understandmember statesenvironmentalfirst half ofcountries andarchitecturalbe consideredcharacterizedclearIntervalauthoritativeFederation ofwas succeededand there area consequencethe Presidentalso includedfree softwaresuccession ofdeveloped thewas destroyedaway from the;\n<\/script>\n<although theyfollowed by amore powerfulresulted in aUniversity ofHowever, manythe presidentHowever, someis thought tountil the endwas announcedare importantalso includes><input type=the center of DO NOT ALTERused to referthemes/?sort=that had beenthe basis forhas developedin the summercomparativelydescribed thesuch as thosethe resultingis impossiblevarious otherSouth Africanhave the sameeffectivenessin which case; text-align:structure and; background:regarding thesupported theis also knownstyle="marginincluding thebahasa Melayunorsk bokmålnorsk nynorskslovenščinainternacionalcalificacióncomunicaciónconstrucción"><div class="disambiguationDomainName\', \'administrationsimultaneouslytransportationInternational margin-bottom:responsibility<![endif]--\x3e\n</><meta name="implementationinfrastructurerepresentationborder-bottom:</head>\n<body>=http%3A%2F%2F<form method="method="post" /favicon.ico" });\n<\/script>\n.setAttribute(Administration= new Array();<![endif]--\x3e\r\ndisplay:block;Unfortunately,"> </div>/favicon.ico">=\'stylesheet\' identification, for example,<li><a href="/an alternativeas a result ofpt"><\/script>\ntype="submit" \n(function() {recommendationform action="/transformationreconstruction.style.display According to hidden" name="along with thedocument.body.approximately Communicationspost" action="meaning "--<![endif]--\x3ePrime Ministercharacteristic</a> <a class=the history of onmouseover="the governmenthref="https://was originallywas introducedclassificationrepresentativeare considered<![endif]--\x3e\n\ndepends on theUniversity of in contrast to placeholder="in the case ofinternational constitutionalstyle="border-: function() {Because of the-strict.dtd">\n<table class="accompanied byaccount of the<script src="/nature of the the people in in addition tos); js.id = id" width="100%"regarding the Roman Catholican independentfollowing the .gif" width="1the following discriminationarchaeologicalprime minister.js"><\/script>combination of marginwidth="createElement(w.attachEvent(</a></td></tr>src="https://aIn particular, align="left" Czech RepublicUnited Kingdomcorrespondenceconcluded that.html" title="(function () {comes from theapplication of<span class="sbelieved to beement(\'script\'</a>\n</li>\n<livery different><span class="option value="(also known as\t<li><a href="><input name="separated fromreferred to as valign="top">founder of theattempting to carbon dioxide\n\n<div class="class="search-/body>\n</html>opportunity tocommunications</head>\r\n<body style="width:Tiếng Việtchanges in theborder-color:#0" border="0" </span></div><was discovered" type="text" );\n<\/script>\n\nDepartment of ecclesiasticalthere has beenresulting from</body></html>has never beenthe first timein response toautomatically </div>\n\n<div iwas consideredpercent of the" /></a></div>collection of descended fromsection of theaccept-charsetto be confusedmember of the padding-right:translation ofinterpretation href=\'http://whether or notThere are alsothere are manya small numberother parts ofimpossible to class="buttonlocated in the. However, theand eventuallyAt the end of because of itsrepresents the<form action=" method="post"it is possiblemore likely toan increase inhave also beencorresponds toannounced thatalign="right">many countriesfor many yearsearliest knownbecause it waspt"><\/script>\r valign="top" inhabitants offollowing year\r\n<div class="million peoplecontroversial concerning theargue that thegovernment anda reference totransferred todescribing the style="color:although therebest known forsubmit" name="multiplicationmore than one recognition ofCouncil of theedition of the <meta name="Entertainment away from the ;margin-right:at the time ofinvestigationsconnected withand many otheralthough it isbeginning with <span class="descendants of<span class="i align="right"</head>\n<body aspects of thehas since beenEuropean Unionreminiscent ofmore difficultVice Presidentcomposition ofpassed throughmore importantfont-size:11pxexplanation ofthe concept ofwritten in the\t<span class="is one of the resemblance toon the groundswhich containsincluding the defined by thepublication ofmeans that theoutside of thesupport of the<input class="<span class="t(Math.random()most prominentdescription ofConstantinoplewere published<div class="seappears in the1" height="1" most importantwhich includeswhich had beendestruction ofthe population\n\t<div class="possibility ofsometimes usedappear to havesuccess of theintended to bepresent in thestyle="clear:b\r\n<\/script>\r\n<was founded ininterview with_id" content="capital of the\r\n<link rel="srelease of thepoint out thatxMLHttpRequestand subsequentsecond largestvery importantspecificationssurface of theapplied to theforeign policy_setDomainNameestablished inis believed toIn addition tomeaning of theis named afterto protect theis representedDeclaration ofmore efficientClassificationother forms ofhe returned to<span class="cperformance of(function() {\rif and only ifregions of theleading to therelations withUnited Nationsstyle="height:other than theype" content="Association of\n</head>\n<bodylocated on theis referred to(including theconcentrationsthe individualamong the mostthan any other/>\n<link rel=" return false;the purpose ofthe ability to;color:#fff}\n.\n<span class="the subject ofdefinitions of>\r\n<link rel="claim that thehave developed<table width="celebration ofFollowing the to distinguish<span class="btakes place inunder the namenoted that the><![endif]--\x3e\nstyle="margin-instead of theintroduced thethe process ofincreasing thedifferences inestimated thatespecially the/div><div id="was eventuallythroughout histhe differencesomething thatspan></span></significantly ><\/script>\r\n\r\nenvironmental to prevent thehave been usedespecially forunderstand theis essentiallywere the firstis the largesthave been made" src="http://interpreted assecond half ofcrolling="no" is composed ofII, Holy Romanis expected tohave their owndefined as thetraditionally have differentare often usedto ensure thatagreement withcontaining theare frequentlyinformation onexample is theresulting in a</a></li></ul> class="footerand especiallytype="button" </span></span>which included>\n<meta name="considered thecarried out byHowever, it isbecame part ofin relation topopular in thethe capital ofwas officiallywhich has beenthe History ofalternative todifferent fromto support thesuggested thatin the process <div class="the foundationbecause of hisconcerned withthe universityopposed to thethe context of<span class="ptext" name="q"\t\t<div class="the scientificrepresented bymathematicianselected by thethat have been><div class="cdiv id="headerin particular,converted into);\n<\/script>\n<philosophical srpskohrvatskitiếng ViệtРусскийрусскийinvestigaciónparticipaciónкоторыеобластикоторыйчеловексистемыНовостикоторыхобластьвременикотораясегодняскачатьновостиУкраинывопросыкоторойсделатьпомощьюсредствобразомстороныучастиетечениеГлавнаяисториисистемарешенияСкачатьпоэтомуследуетсказатьтоваровконечнорешениекотороеоргановкоторомРекламаالمنتدىمنتدياتالموضوعالبرامجالمواقعالرسائلمشاركاتالأعضاءالرياضةالتصميمالاعضاءالنتائجالألعابالتسجيلالأقسامالضغطاتالفيديوالترحيبالجديدةالتعليمالأخبارالافلامالأفلامالتاريخالتقنيةالالعابالخواطرالمجتمعالديكورالسياحةعبداللهالتربيةالروابطالأدبيةالاخبارالمتحدةالاغانيcursor:pointer;</title>\n<meta " href="http://"><span class="members of the window.locationvertical-align:/a> | <a href="<!doctype html>media="screen" <option value="favicon.ico" />\n\t\t<div class="characteristics" method="get" /body>\n</html>\nshortcut icon" document.write(padding-bottom:representativessubmit" value="align="center" throughout the science fiction\n <div class="submit" class="one of the most valign="top"><was established);\r\n<\/script>\r\nreturn false;">).style.displaybecause of the document.cookie<form action="/}body{margin:0;Encyclopedia ofversion of the .createElement(name" content="</div>\n</div>\n\nadministrative </body>\n</html>history of the "><input type="portion of the as part of the <a href="other countries">\n<div class="</span></span><In other words,display: block;control of the introduction of/>\n<meta name="as well as the in recent years\r\n\t<div class="</div>\n\t</div>\ninspired by thethe end of the compatible withbecame known as style="margin:.js"><\/script>< International there have beenGerman language style="color:#Communist Partyconsistent withborder="0" cell marginheight="the majority of" align="centerrelated to the many different Orthodox Churchsimilar to the />\n<link rel="swas one of the until his death})();\n<\/script>other languagescompared to theportions of thethe Netherlandsthe most commonbackground:url(argued that thescrolling="no" included in theNorth American the name of theinterpretationsthe traditionaldevelopment of frequently useda collection ofvery similar tosurrounding theexample of thisalign="center">would have beenimage_caption =attached to thesuggesting thatin the form of involved in theis derived fromnamed after theIntroduction torestrictions on style="width: can be used to the creation ofmost important information andresulted in thecollapse of theThis means thatelements of thewas replaced byanalysis of theinspiration forregarded as themost successfulknown as "a comprehensiveHistory of the were consideredreturned to theare referred toUnsourced image>\n\t<div class="consists of thestopPropagationinterest in theavailability ofappears to haveelectromagneticenableServices(function of theIt is important<\/script></div>function(){var relative to theas a result of the position ofFor example, in method="post" was followed by&mdash; thethe applicationjs"><\/script>\r\nul></div></div>after the deathwith respect tostyle="padding:is particularlydisplay:inline; type="submit" is divided into中文 (简体)responsabilidadadministracióninternacionalescorrespondienteउपयोगपूर्वहमारेलोगोंचुनावलेकिनसरकारपुलिसखोजेंचाहिएभेजेंशामिलहमारीजागरणबनानेकुमारब्लॉगमालिकमहिलापृष्ठबढ़तेभाजपाक्लिकट्रेनखिलाफदौरानमामलेमतदानबाजारविकासक्योंचाहतेपहुँचबतायासंवाददेखनेपिछलेविशेषराज्यउत्तरमुंबईदोनोंउपकरणपढ़ेंस्थितफिल्ममुख्यअच्छाछूटतीसंगीतजाएगाविभागघण्टेदूसरेदिनोंहत्यासेक्सगांधीविश्वरातेंदैट्सनक्शासामनेअदालतबिजलीपुरूषहिंदीमित्रकवितारुपयेस्थानकरोड़मुक्तयोजनाकृपयापोस्टघरेलूकार्यविचारसूचनामूल्यदेखेंहमेशास्कूलमैंनेतैयारजिसकेrss+xml" title="-type" content="title" content="at the same time.js"><\/script>\n<" method="post" </span></a></li>vertical-align:t/jquery.min.js">.click(function( style="padding-})();\n<\/script>\n</span><a href="<a href="http://); return false;text-decoration: scrolling="no" border-collapse:associated with Bahasa IndonesiaEnglish language<text xml:space=.gif" border="0"</body>\n</html>\noverflow:hidden;img src="http://addEventListenerresponsible for s.js"><\/script>\n/favicon.ico" />operating system" style="width:1target="_blank">State Universitytext-align:left;\ndocument.write(, including the around the world);\r\n<\/script>\r\n<" style="height:;overflow:hiddenmore informationan internationala member of the one of the firstcan be found in </div>\n\t\t</div>\ndisplay: none;">" />\n<link rel="\n (function() {the 15th century.preventDefault(large number of Byzantine Empire.jpg|thumb|left|vast majority ofmajority of the align="center">University Pressdominated by theSecond World Wardistribution of style="position:the rest of the characterized by rel="nofollow">derives from therather than the a combination ofstyle="width:100English-speakingcomputer scienceborder="0" alt="the existence ofDemocratic Party" style="margin-For this reason,.js"><\/script>\n\tsByTagName(s)[0]js"><\/script>\r\n<.js"><\/script>\r\nlink rel="icon" \' alt=\'\' class=\'formation of theversions of the </a></div></div>/page>\n <page>\n<div class="contbecame the firstbahasa Indonesiaenglish (simple)ΕλληνικάхрватскикомпанииявляетсяДобавитьчеловекаразвитияИнтернетОтветитьнапримеринтернеткоторогостраницыкачествеусловияхпроблемыполучитьявляютсянаиболеекомпаниявниманиесредстваالمواضيعالرئيسيةالانتقالمشاركاتكالسياراتالمكتوبةالسعوديةاحصائياتالعالميةالصوتياتالانترنتالتصاميمالإسلاميالمشاركةالمرئياتrobots" content="<div id="footer">the United States<img src="http://.jpg|right|thumb|.js"><\/script>\r\n<location.protocolframeborder="0" s" />\n<meta name="</a></div></div><font-weight:bold;" and "depending on the margin:0;padding:" rel="nofollow" President of the twentieth centuryevision>\n </pageInternet Explorera.async = true;\r\ninformation about<div id="header">" action="http://<a href="https://<div id="content"</div>\r\n</div>\r\n<derived from the <img src=\'http://according to the \n</body>\n</html>\nstyle="font-size:script language="Arial, Helvetica,</a><span class="<\/script><script political partiestd></tr></table><href="http://www.interpretation ofrel="stylesheet" document.write(\'<charset="utf-8">\nbeginning of the revealed that thetelevision series" rel="nofollow"> target="_blank">claiming that thehttp%3A%2F%2Fwww.manifestations ofPrime Minister ofinfluenced by theclass="clearfix">/div>\r\n</div>\r\n\r\nthree-dimensionalChurch of Englandof North Carolinasquare kilometres.addEventListenerdistinct from thecommonly known asPhonetic Alphabetdeclared that thecontrolled by theBenjamin Franklinrole-playing gamethe University ofin Western Europepersonal computerProject Gutenbergregardless of thehas been proposedtogether with the></li><li class="in some countriesmin.js"><\/script>of the populationofficial language<img src="images/identified by thenatural resourcesclassification ofcan be consideredquantum mechanicsNevertheless, themillion years ago</body>\r\n</html>\rΕλληνικά\ntake advantage ofand, according toattributed to theMicrosoft Windowsthe first centuryunder the controldiv class="headershortly after thenotable exceptiontens of thousandsseveral differentaround the world.reaching militaryisolated from theopposition to thethe Old TestamentAfrican Americansinserted into theseparate from themetropolitan areamakes it possibleacknowledged thatarguably the mosttype="text/css">\nthe InternationalAccording to the pe="text/css" />\ncoincide with thetwo-thirds of theDuring this time,during the periodannounced that hethe internationaland more recentlybelieved that theconsciousness andformerly known assurrounded by thefirst appeared inoccasionally usedposition:absolute;" target="_blank" position:relative;text-align:center;jax/libs/jquery/1.background-color:#type="application/anguage" content="<meta http-equiv="Privacy Policy</a>e("%3Cscript src=\'" target="_blank">On the other hand,.jpg|thumb|right|2</div><div class="<div style="float:nineteenth century</body>\r\n</html>\r\n<img src="http://s;text-align:centerfont-weight: bold; According to the difference between" frameborder="0" " style="position:link href="http://html4/loose.dtd">\nduring this period</td></tr></table>closely related tofor the first time;font-weight:bold;input type="text" <span style="font-onreadystatechange\t<div class="cleardocument.location. For example, the a wide variety of <!DOCTYPE html>\r\n< "><a href="http://style="float:left;concerned with the=http%3A%2F%2Fwww.in popular culturetype="text/css" />it is possible to Harvard Universitytylesheet" href="/the main characterOxford University name="keywords" cstyle="text-align:the United Kingdomfederal government<div style="margin depending on the description of the<div class="header.min.js"><\/script>destruction of theslightly differentin accordance withtelecommunicationsindicates that theshortly thereafterespecially in the European countriesHowever, there aresrc="http://staticsuggested that the" src="http://www.a large number of Telecommunications" rel="nofollow" tHoly Roman Emperoralmost exclusively" border="0" alt="Secretary of Stateculminating in theCIA World Factbookthe most importantanniversary of thestyle="background-<li><em><a href="/the Atlantic Oceanstrictly speaking,shortly before thedifferent types ofthe Ottoman Empire><img src="http://An Introduction toconsequence of thedeparture from theConfederate Statesindigenous peoplesProceedings of theinformation on thetheories have beeninvolvement in thedivided into threeadjacent countriesis responsible fordissolution of thecollaboration withwidely regarded ashis contemporariesfounding member ofDominican Republicgenerally acceptedthe possibility ofare also availableunder constructionrestoration of thethe general publicis almost entirelypasses through thehas been suggestedcomputer and videoGermanic languages according to the different from theshortly afterwardshref="https://www.recent developmentBoard of Directors<div class="search| <a href="http://In particular, theMultiple footnotesor other substancethousands of yearstranslation of the</div>\r\n</div>\r\n\r\n<a href="index.phpwas established inmin.js"><\/script>\nparticipate in thea strong influencestyle="margin-top:represented by thegraduated from theTraditionally, theElement("script");However, since the/div>\n</div>\n<div left; margin-left:protection against0; vertical-align:Unfortunately, thetype="image/x-icon/div>\n<div class=" class="clearfix"><div class="footer\t\t</div>\n\t\t</div>\nthe motion pictureБългарскибългарскиФедерациинесколькосообщениесообщенияпрограммыОтправитьбесплатноматериалыпозволяетпоследниеразличныхпродукциипрограммаполностьюнаходитсяизбранноенаселенияизменениякатегорииАлександрद्वारामैनुअलप्रदानभारतीयअनुदेशहिन्दीइंडियादिल्लीअधिकारवीडियोचिट्ठेसमाचारजंक्शनदुनियाप्रयोगअनुसारऑनलाइनपार्टीशर्तोंलोकसभाफ़्लैशशर्तेंप्रदेशप्लेयरकेंद्रस्थितिउत्पादउन्हेंचिट्ठायात्राज्यादापुरानेजोड़ेंअनुवादश्रेणीशिक्षासरकारीसंग्रहपरिणामब्रांडबच्चोंउपलब्धमंत्रीसंपर्कउम्मीदमाध्यमसहायताशब्दोंमीडियाआईपीएलमोबाइलसंख्याआपरेशनअनुबंधबाज़ारनवीनतमप्रमुखप्रश्नपरिवारनुकसानसमर्थनआयोजितसोमवारالمشاركاتالمنتدياتالكمبيوترالمشاهداتعددالزوارعددالردودالإسلاميةالفوتوشوبالمسابقاتالمعلوماتالمسلسلاتالجرافيكسالاسلاميةالاتصالاتkeywords" content="w3.org/1999/xhtml"><a target="_blank" text/html; charset=" target="_blank"><table cellpadding="autocomplete="off" text-align: center;to last version by background-color: #" href="http://www./div></div><div id=<a href="#" class=""><img src="http://cript" src="http://\n<script language="//EN" "http://www.wencodeURIComponent(" href="javascript:<div class="contentdocument.write(\'<scposition: absolute;script src="http:// style="margin-top:.min.js"><\/script>\n</div>\n<div class="w3.org/1999/xhtml" \n\r\n</body>\r\n</html>distinction between/" target="_blank"><link href="http://encoding="utf-8"?>\nw.addEventListener?action="http://www.icon" href="http:// style="background:type="text/css" />\nmeta property="og:t<input type="text" style="text-align:the development of tylesheet" type="tehtml; charset=utf-8is considered to betable width="100%" In addition to the contributed to the differences betweendevelopment of the It is important to <\/script>\n\n<script style="font-size:1></span><span id=gbLibrary of Congress<img src="http://imEnglish translationAcademy of Sciencesdiv style="display:construction of the.getElementById(id)in conjunction withElement(\'script\'); <meta property="og:Български\n type="text" name=">Privacy Policy</a>administered by theenableSingleRequeststyle="margin:</div></div></div><><img src="http://i style="float:referred to as the total population ofin Washington, D.C. style="background-among other things,organization of theparticipated in thethe introduction ofidentified with thefictional character Oxford University misunderstanding ofThere are, however,stylesheet" href="/Columbia Universityexpanded to includeusually referred toindicating that thehave suggested thataffiliated with thecorrelation betweennumber of different></td></tr></table>Republic of Ireland\n<\/script>\n<script under the influencecontribution to theOfficial website ofheadquarters of thecentered around theimplications of thehave been developedFederal Republic ofbecame increasinglycontinuation of theNote, however, thatsimilar to that of capabilities of theaccordance with theparticipants in thefurther developmentunder the directionis often consideredhis younger brother</td></tr></table><a http-equiv="X-UA-physical propertiesof British Columbiahas been criticized(with the exceptionquestions about thepassing through the0" cellpadding="0" thousands of peopleredirects here. Forhave children under%3E%3C/script%3E"));<a href="http://www.<li><a href="http://site_name" content="text-decoration:nonestyle="display: none<meta http-equiv="X-new Date().getTime() type="image/x-icon"</span><span class="language="javascriptwindow.location.href<a href="javascript:--\x3e\r\n<script type="t<a href=\'http://www.hortcut icon" href="</div>\r\n<div class="<script src="http://" rel="stylesheet" t</div>\n<script type=/a> <a href="http:// allowTransparency="X-UA-Compatible" conrelationship between\n<\/script>\r\n<script </a></li></ul></div>associated with the programming language</a><a href="http://</a></li><li class="form action="http://<div style="display:type="text" name="q"<table width="100%" background-position:" border="0" width="rel="shortcut icon" h6><ul><li><a href=" <meta http-equiv="css" media="screen" responsible for the " type="application/" style="background-html; charset=utf-8" allowtransparency="stylesheet" type="te\r\n<meta http-equiv="></span><span class="0" cellspacing="0">;\n<\/script>\n<script sometimes called thedoes not necessarilyFor more informationat the beginning of <!DOCTYPE html><htmlparticularly in the type="hidden" name="javascript:void(0);"effectiveness of the autocomplete="off" generally considered><input type="text" "><\/script>\r\n<scriptthroughout the worldcommon misconceptionassociation with the</div>\n</div>\n<div cduring his lifetime,corresponding to thetype="image/x-icon" an increasing numberdiplomatic relationsare often consideredmeta charset="utf-8" <input type="text" examples include the"><img src="http://iparticipation in thethe establishment of\n</div>\n<div class="&nbsp;&nbsp;to determine whetherquite different frommarked the beginningdistance between thecontributions to theconflict between thewidely considered towas one of the firstwith varying degreeshave speculated that(document.getElementparticipating in theoriginally developedeta charset="utf-8"> type="text/css" />\ninterchangeably withmore closely relatedsocial and politicalthat would otherwiseperpendicular to thestyle type="text/csstype="submit" name="families residing indeveloping countriescomputer programmingeconomic developmentdetermination of thefor more informationon several occasionsportuguês (Europeu)УкраїнськаукраїнськаРоссийскойматериаловинформацииуправлениянеобходимоинформацияИнформацияРеспубликиколичествоинформациютерриториидостаточноالمتواجدونالاشتراكاتالاقتراحاتhtml; charset=UTF-8" setTimeout(function()display:inline-block;<input type="submit" type = \'text/javascri<img src="http://www." "http://www.w3.org/shortcut icon" href="" autocomplete="off" </a></div><div class=</a></li>\n<li class="css" type="text/css" <form action="http://xt/css" href="http://link rel="alternate" \r\n<script type="text/ onclick="javascript:(new Date).getTime()}height="1" width="1" People\'s Republic of <a href="http://www.text-decoration:underthe beginning of the </div>\n</div>\n</div>\nestablishment of the </div></div></div></d#viewport{min-height:\n<script src="http://option><option value=often referred to as /option>\n<option valu<!DOCTYPE html>\n\x3c!--[International Airport>\n<a href="http://www</a><a href="http://wภาษาไทยქართული正體中文 (繁體)निर्देशडाउनलोडक्षेत्रजानकारीसंबंधितस्थापनास्वीकारसंस्करणसामग्रीचिट्ठोंविज्ञानअमेरिकाविभिन्नगाडियाँक्योंकिसुरक्षापहुँचतीप्रबंधनटिप्पणीक्रिकेटप्रारंभप्राप्तमालिकोंरफ़्तारनिर्माणलिमिटेडdescription" content="document.location.prot.getElementsByTagName(<!DOCTYPE html>\n<html <meta charset="utf-8">:url" content="http://.css" rel="stylesheet"style type="text/css">type="text/css" href="w3.org/1999/xhtml" xmltype="text/javascript" method="get" action="link rel="stylesheet" = document.getElementtype="image/x-icon" />cellpadding="0" cellsp.css" type="text/css" </a></li><li><a href="" width="1" height="1""><a href="http://www.style="display:none;">alternate" type="appli-//W3C//DTD XHTML 1.0 ellspacing="0" cellpad type="hidden" value="/a> <span role="s\n<input type="hidden" language="JavaScript" document.getElementsBg="0" cellspacing="0" ype="text/css" media="type=\'text/javascript\'with the exception of ype="text/css" rel="st height="1" width="1" =\'+encodeURIComponent(<link rel="alternate" \nbody, tr, input, textmeta name="robots" conmethod="post" action=">\n<a href="http://www.css" rel="stylesheet" </div></div><div classlanguage="javascript">aria-hidden="true">·<ript" type="text/javasl=0;})();\n(function(){background-image: url(/a></li><li><a href="h\t\t<li><a href="http://ator" aria-hidden="tru> <a href="http://www.language="javascript" /option>\n<option value/div></div><div class=rator" aria-hidden="tre=(new Date).getTime()português (do Brasil)организациивозможностьобразованиярегистрациивозможностиобязательна<!DOCTYPE html PUBLIC "nt-Type" content="text/<meta http-equiv="Conteransitional//EN" "http:<html xmlns="http://www-//W3C//DTD XHTML 1.0 TDTD/xhtml1-transitional//www.w3.org/TR/xhtml1/pe = \'text/javascript\';<meta name="descriptionparentNode.insertBefore<input type="hidden" najs" type="text/javascri(document).ready(functiscript type="text/javasimage" content="http://UA-Compatible" content=tml; charset=utf-8" />\nlink rel="shortcut icon<link rel="stylesheet" <\/script>\n<script type== document.createElemen<a target="_blank" href= document.getElementsBinput type="text" name=a.type = \'text/javascrinput type="hidden" namehtml; charset=utf-8" />dtd">\n<html xmlns="http-//W3C//DTD HTML 4.01 TentsByTagName(\'script\')input type="hidden" nam<script type="text/javas" style="display:none;">document.getElementById(=document.createElement(\' type=\'text/javascript\'input type="text" name="d.getElementsByTagName(snical" href="http://www.C//DTD HTML 4.01 Transit<style type="text/css">\n\n<style type="text/css">ional.dtd">\n<html xmlns=http-equiv="Content-Typeding="0" cellspacing="0"html; charset=utf-8" />\n style="display:none;"><<li><a href="http://www. type=\'text/javascript\'>деятельностисоответствиипроизводствабезопасностиपुस्तिकाकांग्रेसउन्होंनेविधानसभाफिक्सिंगसुरक्षितकॉपीराइटविज्ञापनकार्रवाईसक्रियता');for(let e=0;e<Pd.length;e+=2)Jd[Pd[e]]=Pd[e+1]}return Jd}function to(e,t,r){let n=ro(e.length,t,r),i=t=>e[t];for(let e=n.next();!e.done;e=n.next(i));}function*ro(e,t,r){let n=yield 0;if(255!==n(0)||216!==n(1))throw cs("JXL_JPEG",Sd);for(let i=2;i<e;){if(n=yield i,255!==n(i++))throw cs("JXL_JPEG",jd);for(;255===n(i);)n=yield++i;let o=n(i++);if(217===o||218===o)break;if(1===o||o>=208&&o<=215)continue;if(i+2>e)break;let a=256*n(i)+n(i+1);if(a<2||i+a>e)break;if(Rd.includes(o)){if(a<8)break;n=yield i;let e=256*n(i+5)+n(i+6),o=256*n(i+3)+n(i+4);if(!e||!o)throw cs("JXL_JPEG",Xd);return Ye(e,o,t,r)}i+=a}throw cs("JXL_JPEG",_d)}function no({width:e,height:t,orientation:r,orientationAt:n,orientationBig:i},o){if(void 0===e||void 0===t)throw cs("JXL_JPEG","JPEG dimensions are missing; pass a valid JPEG file.");return Ye(e,t,o),{width:e,height:t,orientation:r??1,orientationAt:n,orientationBig:i}}function io(e,t){let r={...t},n=r.at,i=e.length,o=Math.min(i,n+131072),a=e.subarray(n,Math.min(i,o+65540)),l=e=>a[e-n],s=()=>"marker-code"===r.phase||"entropy-code"===r.phase;if("signature"===r.phase){if(255!==l(0)||216!==l(1))throw cs("JXL_JPEG","Input is not a JPEG; pass a valid JPEG file.");r.at=2,r.phase="marker"}for(;!r.done&&(r.at<o||r.at>=i&&s());){if("entropy"===r.phase){for(;r.at<o&&255!==l(r.at);)r.at++;r.at<o&&(r.at++,r.phase="entropy-code");continue}if("marker"===r.phase){if(255!==l(r.at++))throw cs("JXL_JPEG","Invalid JPEG marker; pass a valid JPEG file.");r.phase="marker-code"}for(;r.at<o&&255===l(r.at);)r.at++;if(r.at>=o&&r.at<i)break;if("entropy-code"===r.phase){let e=l(r.at);if(0===e||e>=208&&e<=215){r.at++,r.phase="entropy";continue}r.phase="marker-code"}let e=l(r.at++);if(217===e){r.done=!0;break}if(r.phase="marker",1===e||e>=208&&e<=215)continue;let t=256*l(r.at)+l(r.at+1),s=r.at+t,m=r.at+2;if(!Number.isInteger(t)||t<2||s>i)throw cs("JXL_JPEG","JPEG segment is incomplete; pass a valid JPEG file.");if([192,193,194,195,197,198,199,201,202,203,205,206,207].includes(e)){if(t<8)throw cs("JXL_JPEG","JPEG dimensions are incomplete; pass a valid JPEG file.");if(r.height=256*l(m+1)+l(m+2),r.width=256*l(m+3)+l(m+4),!r.width||!r.height)throw cs("JXL_JPEG","JPEG defers its height to a scan marker; decode it with a host reader and pass its pixels.")}225===e&&null===r.orientation&&s-m>=6&&[69,120,105,102,0].every((e,t)=>l(m+t)===e)&&(r.orientation=Me(a,m+6-n,s-n,(e,t)=>{r.orientationAt=n+e,r.orientationBig=t})),r.at=s,218===e&&(r.phase="entropy")}return r.at>=i&&!s()&&(r.done=!0),r}function oo({effort:e=7}){if(!Number.isInteger(e)||e<1||e>9)throw cs("JXL_OPTIONS","Invalid effort; use an integer from 1 to 9.");return e}function ao(e,{name:t,gpu:r=!1,helpers:n,helper:i,ready:o}={}){let a=new WeakSet,l=t=>{if("function"!=typeof e[t])throw cs("JXL_OPTIONS",`This module has no ${t}; use a module that exports that operation.`)};return Object.freeze({module:t,async run(n,i,o={},a={}){let s;if(ze(o),je(a.signal),l(n),Object.hasOwn(o,Qd)){let{[Qd]:e,...t}=o;s=e,o=t}let m={maxPixels:Math.min(void 0===o.maxPixels?1/0:We(o.maxPixels),a.maxPixels??go),...r&&ep(n)&&{webgpu:o.webgpu??a.webgpu}},{webgpu:c,...h}=o,f={...r||"capture"===n?o:h,...m,...void 0!==s&&{[Zd]:s},..."capture"===n&&void 0===o.webgpu&&void 0!==a.webgpu&&{webgpu:a.webgpu},..."format"===n&&void 0!==a.webgpu&&{[$d]:a.webgpu},signal:a.signal,onProgress:a.onProgress,...a.onPreview&&{onPreview:a.onPreview},..."rapier-jxl/animation"===t&&a.retainInput&&{[Ps]:a.retainInput}};try{return await e[n](i,f)}finally{(typeof ImageBitmap<"u"&&i instanceof ImageBitmap||"function"==typeof VideoFrame&&i instanceof VideoFrame)&&i.close()}},async prepare(t,{webgpu:n,owner:i,helpers:o}={}){l(t),r&&(ep(t)||"format"===t)&&"required"===n&&await r("required");let a=e.prepare?.operations;return e.prepare?.(a?a.includes(t)?t:a[0]:void 0)},async release(e,t=!1){t&&a.add(e)}})}function lo(e,t=new Set,r=new Set){if(!e||"object"!=typeof e||r.has(e))return t;if(r.add(e),e instanceof ArrayBuffer)t.add(e);else if(ArrayBuffer.isView(e))t.add(e.buffer);else for(let n of Object.values(e))lo(n,t,r);return t}function so(e,t=!1){let r="Error",n="JXL_INTERNAL",i="Image job failed; report the input and options.";try{let t=e?.name;"string"==typeof t&&t&&(r=t)}catch{}try{let t=e?.code;"string"==typeof t&&t.startsWith("JXL_")&&(n=t)}catch{}try{let t=e?.message??e;(null===t||"object"!=typeof t&&"function"!=typeof t)&&(i=""===t&&e&&"object"==typeof e?r:String(t))}catch{}return"JXL_INTERNAL"===n&&Lo(e)&&(n="JXL_MEMORY",i=`Not enough memory for this picture${i?` (${i})`:""}; free memory or use a smaller picture.`),t?{name:r,code:n,message:i}:{code:n,message:i}}async function mo(){if(!await es()||!Ql()||!Ia.channel)throw Aa()}async function co(e){if("webgpu"===e)return!1;if(void 0!==e)throw cs("JXL_OPTIONS","supported received an unknown feature; omit it or use 'webgpu'.");try{return await mo(),!0}catch{return!1}}function ho(e){let{signal:t,onProgress:r}=e;if(Se(t),void 0!==r&&"function"!=typeof r)throw cs("JXL_OPTIONS","Invalid onProgress; pass a function.");return{signal:t,progress:qe(r,t)??(()=>{})}}async function fo(e,t,r,n){if(typeof Blob<"u"&&e instanceof Blob){void 0!==n&&await async function(e,t,r,n){await async function(e,t,r){let n=0,i=new Uint8Array(0),o=e=>i[e-n],a=r.next();for(;!a.done;a=r.next(o)){let r=a.value;r>=n&&r+16<=n+i.length||(n=r,i=await Xe(e,t,r,r+4096),je(t))}return a.value}(e,r,ro(e.size,t,n))}(e,n,t,Mo.edge);let i=await Xe(e,t);return r(function(e){if(!(e instanceof Uint8Array&&e.length))throw cs("JXL_INPUT","Encoded input is empty or invalid; pass a nonempty Uint8Array.");return e}(i)),i}return mt(e),r(function(e,t=!1){let r=mt(e,t);try{return new Uint8Array(Hs.buffer.call(e),Hs.byteOffset.call(e),r)}catch{throw cs("JXL_INPUT","Input buffer is detached; pass bytes from an attached ArrayBuffer.")}}(e)),ct(e)}
|
|
1
|
+
/*! rapier-jxl 8.4.1 | MIT */
|
|
2
|
+
var uo=Object.defineProperty,po={};((e,t)=>{for(var r in t)uo(e,r,{get:t[r],enumerable:!0})})(po,{close:()=>yp,configure:()=>Mp,prepare:()=>gp,recompress:()=>dp,restore:()=>pp,supported:()=>co});var go=Number.MAX_SAFE_INTEGER,Mo=Object.freeze({pixels:go,edge:1073741824}),yo=(e,t)=>Object.assign(new Error(t),{code:e}),bo=()=>"function"==typeof DOMException?new DOMException("The operation was aborted.","AbortError"):Object.assign(new Error("The operation was aborted."),{name:"AbortError"}),wo=/allocation failed|out of memory|(?:cannot|could not) allocate|failed to grow|maximum memory size|declared maximum|allocation size overflow|invalid string length/i,Lo=e=>{try{return(e instanceof RangeError||"RangeError"===e?.name||"InternalError"===e?.name)&&!e.code&&wo.test(String(e.message))}catch{return!1}},Oo=e=>e?.message?` (${String(e.message)})`:"",Ao=[1];for(let e=1;e<=32;e++)Ao.push(2*Ao[e-1]);new Uint8Array(Uint32Array.of(1).buffer)[0];var Io,vo=class{constructor(e=4096,t=1/0){if(t!==1/0&&(!Number.isSafeInteger(t)||t<0))throw yo("JXL_INTERNAL","bits:maxBytes");this.bytes=new Uint8Array(t===1/0?e:Math.min(e,t)),this.maxBytes=t,this.at=0,this.acc=0,this.pending=0}write(e,t){if(!(t>=0&&t<Ao[e]))throw yo("JXL_INTERNAL","bits:write "+e+" "+t);let r=this.pending+e;this.at+5>=this.bytes.length&&this.grow();let n=this.bytes;if(r<32){let e=this.acc|t<<this.pending;for(;r>=8;)n[this.at++]=255&e,e>>>=8,r-=8;return this.acc=e,void(this.pending=r)}let i=this.acc+t*(1<<this.pending);for(;r>=8;)n[this.at++]=255&i,i=Math.floor(i/256),r-=8;this.acc=i,this.pending=r}writeU32(e,t){for(let r=0;r<4;r++){let[n,i]=e[r];if(t>=i&&t-i<Ao[n])return this.write(2,r),void(n&&this.write(n,t-i))}throw yo("JXL_INTERNAL","bits:u32 "+t)}zeroPadToByte(){this.pending&&(this.at+1>=this.bytes.length&&this.grow(),this.bytes[this.at++]=this.acc,this.acc=0,this.pending=0)}get bitLength(){return 8*this.at+this.pending}grow(e=0){let t=this.at+e+16;if(!Number.isSafeInteger(t)||t<0)throw yo("JXL_INTERNAL","bits:alloc");if(t>this.maxBytes)throw Object.assign(new RangeError("output: over maxBytes"),{code:"JXL_MEMORY"});let r,n=Math.min(this.maxBytes,Math.max(2*this.bytes.length,t));try{r=new Uint8Array(n)}catch(e){if(!Lo(e)||n===t)throw e;r=new Uint8Array(t)}r.set(this.bytes.subarray(0,this.at)),this.bytes=r}append(e){if(this.at+e.at+8>=this.bytes.length&&this.grow(e.at+8),this.pending){let t=this.bytes,r=e.bytes,n=this.pending,i=e.at,o=this.acc,a=this.at;for(let e=0;e<i;e++){let i=o|r[e]<<n;t[a++]=255&i,o=i>>>8}this.at=a,this.acc=o}else this.bytes.set(e.bytes.subarray(0,e.at),this.at),this.at+=e.at;e.pending&&this.write(e.pending,e.acc)}finish(){let e=this.at+(this.pending?1:0),t=this.bytes.slice(0,e);return this.pending&&(t[this.at]=this.acc),t}},Fo=(e,t)=>"number"==typeof e?t(e):{...e,at:r=>t(e.at(r))},No=[[8,0],[11,256],[14,2304],[30,18688]],xo=256,ko=196608,Eo=(e,t,r)=>1===e&&1===r?1:2+t+e*r,Co=[1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15],Bo=[2,4,3,2,2,4],Uo=[0,7,3,2,1,15],Ho=Uint8Array.from({length:256},(e,t)=>{let r=0,n=t;for(let e=0;e<8;e++)r=r<<1|1&n,n>>=1;return r}),Jo=(e,t)=>(Ho[255&e]<<8|Ho[e>>>8&255])>>>16-t,Ko=new Float64Array(1024),Do=new Int32Array(1024),To=new Float64Array(1024),So=new Uint32Array(17),Go=new Uint32Array(17),jo=new Uint32Array(1024),Po=new Uint32Array(0),_o=new Float64Array(0),Xo=new Int32Array(0),qo=new Int32Array(256),Ro=[0,0,0],zo=N(8),Vo=N(4),Yo=N(0),Wo=w(Uint32Array.of(1)),Zo=new Uint32Array(257),Qo=new Uint16Array(4096),$o=new Uint32Array(4096),ea=N(4),ta=Object.freeze({minSymbol:224,minLength:7,lengthConfig:ea}),ra=N(0),na=257,ia=new Map([[-8193,-8192],[8191,8190]]),oa=[[0],[1],[2],[3],[4],[4,1,1],[4,2,0],[4,1,2],[5,1,1],[2,0,1],[3,0,1]].map(e=>N(...e)),aa=Uint8Array.of(0,1,2,3,3,3),la=new Uint8Array(6),sa=new Uint8Array(1),ma={kernels:"6gzyrq",jpeg:"1fjin7z",decode:"17x8vsf",rebuild:"fgbogf",general:"1sc0v86"},ca=e=>{let t=e.length,r=new Uint8Array(t),n=e.charCodeAt(0);for(let i=0;i<t;i++){let t=e.charCodeAt(i)^n;r[i]=65===t?119:119===t?65:t}return r},fa=e=>{let t=2166136261;for(let r of e.map(e=>e.name+":"+e.kind).sort().join(" "))t=Math.imul(t^r.charCodeAt(0),16777619);return(t>>>0).toString(36)},ha=new Map,ua=new Map,da=!1,pa=e=>Object.assign(new Error(e),{code:"JXL_WASM"}),ga=Symbol.for("rapier-jxl/8.4.1 wasm "+Object.entries(ma).map(([e,t])=>e+":"+t).join(";")),Ma=null,ya=()=>{let e=globalThis[ga];if(!e||e===Ma)return;Ma=e;let t=Object.entries(e).filter(([e])=>!ha.has(e));t.length&&X(Object.fromEntries(t))},ba=new Map,wa=new Map,La=[0,97,115,109,1,0,0,0],Oa=()=>{try{return new WebAssembly.Instance(new WebAssembly.Module(Uint8Array.of(...La))),!1}catch{return"object"==typeof WebAssembly}},Aa=(e=(()=>wa.values().next().value)())=>Object.assign(yo("JXL_WASM",Oa()?"allow 'wasm-unsafe-eval' or use workerd/edge-light":(()=>{try{return!WebAssembly.validate(Uint8Array.of(...La,1,4,1,96,0,0,3,2,1,0,10,23,1,21,0,253,12,...Array(16).fill(0),26,11))}catch{return!0}})()?"WebAssembly SIMD required":`The WebAssembly module failed${Oo(e)}; check the host's memory.`),e?{cause:e}:{}),Ia={channel:null,weighted:null,fill:null,palette:null,rct:null,tuple:null,passLevels:null,group:null,screen:null,sampled:null,dct:null,ycbcrTile:null,ycbcrTiles:null,rgbTiles:null,rgbBand:null,photoTile:null,acGroup:null,acGroupPair:null,acDeferred:null,nonzero:null,entropy:null,varblock:null,gaborish:null,strategyFill:null,strategyWrite:null,xybPlanes:null,gabBand:null,dcEvents:null,dcPlan:null,planTokens:null,shape:null,nativeRGBA:null,s2cChannel:null,opaque:null,arena:null,ensure:null},va=()=>(Ia.ensure?.(),Ia),Fa=()=>{throw Aa()},Na=e=>yo("JXL_INTERNAL",`kernel-hooks:${e}`),xa=65536,ka=Symbol.for("rapier-jxl.journal.unread"),Ea=Symbol.for("rapier-jxl.journal.join"),Ca=Symbol.for("rapier-jxl.journal.active"),Ba=e=>globalThis[Ca].join(e),Ua=e=>globalThis[Ca].tools[e],Ha=()=>!!globalThis[Ca]&&!globalThis[Ca].plain,Ja=Symbol.for("rapier-jxl.journal.passed"),Ka=(Object.getPrototypeOf(Uint8Array.prototype),Symbol.for("rapier-jxl.journal.slice")),Da=Ea,Ta=e=>(Z(e.map(e=>()=>e?.[Da])),e),Sa=e=>!0===e?.[ka],Ga=["rTRC","rXYZ","cprt","wtpt","bkpt","rXYZ","gXYZ","bXYZ","kXYZ","rTRC","gTRC","bTRC","kTRC","chad","desc","chrm","dmnd","dmdd","lumi"],ja=["XYZ ","desc","text","mluc","para","curv","sf32","gbd "],Pa=new Set(["rXYZ","gXYZ","bXYZ","kXYZ","wtpt","bkpt","lumi"]),_a=class{constructor(e,t,r=0,n=e.length,i=ne(e)){this.bytes=e,this.require=t,this.at=r,this.end=n,this.read=i}byte(){return this.require(this.at<this.end,"truncated ICC stream"),this.read(this.at++)}integer(){let e=0,t=1;for(let r=0;r<10;r++){let n=this.byte();if(9===r&&this.require(n<2,"ICC varint"),e+=(127&n)*t,this.require(Number.isSafeInteger(e),"ICC varint: too large"),!(128&n))return e;t*=128}this.require(!1,"ICC varint")}take(e){return this.require(e>=0&&e<=this.end-this.at,"truncated ICC payload"),Array.from({length:e},()=>this.byte())}},Xa=N(8),qa=N(4),Ra=N(4),za=new WeakMap,Va=[0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63],Ya=[.436,.2225,.0139,.3851,.7169,.0971,.143,.0606,.7139],Wa=[.5151,.2412,-.001,.292,.6922,.0419,.1571,.0666,.7841],Za=[0,.00516,.01435,.02934,.05088,.07958,.11602,.16068,.21404,.27652,.34851,.43039,.52252,.62523,.73884,.86367,1],Qa=[2.4,1/1.055,.055/1.055,1/12.92,.04045],$a=["perceptual","relative","saturation","absolute"],el=(e,t)=>"display-p3"===e?{space:"rgb",whitePoint:"d65",primaries:e,transferFunction:"srgb",renderingIntent:t}:{space:"rgb",transferFunction:"srgb",renderingIntent:t},tl=e=>$a[e.length>=68?(e[64]<<24|e[65]<<16|e[66]<<8|e[67])>>>0:1]??"relative",rl=65536,nl=class{constructor(e,t,r,n,i,o,a,l,s,m){this.padding=m,this.bytes=e,this.pos=t,this.clean=new Uint8Array(0),this.bit=0,this.limit=0,this.pieced=!ArrayBuffer.isView(e),this.spanAt=0,this.spanBytes=this.pieced?new Uint8Array(0):e,this.base=t,this.n=0,this.ended=!1,this.scan=n,this.ss=i,this.se=o,this.ah=a,this.al=l,this.choices=s,this.progressive=r.progressive,this.eobrun=-1,this.blockIndex=0,this.mode=this.progressive?0===i?0===a?1:2:0===a?3:4:0}load(){this.base=this.pos,this.n=0,this.bit=0,this.ended=!1,this.refill()}rawAfter(e,t){let[r,n]=this.span(e,e+2*t+2),i=e-n;for(;t>0;){if(i+1>=r.length&&i+n+1<this.bytes.length){let e=i+n;[r,n]=this.span(e,e+2*t+2),i=e-n}255!==r[i]?(i++,t--):0===r[i+1]?(i+=2,t--):i++}return i+n}span(e,t){return this.pieced?(t=Math.min(this.bytes.length,t),(e<this.spanAt||t>this.spanAt+this.spanBytes.length)&&(this.spanAt=e,this.spanBytes=this.bytes.subarray(e,Math.min(this.bytes.length,Math.max(t,e+4*rl)))),[this.spanBytes,this.spanAt]):[this.bytes,0]}refill(){let e=this.bytes,t=this.bit>>>3;if(t&&(this.base=this.rawAfter(this.base,t),this.clean.copyWithin(0,t,this.n),this.n-=t,this.bit&=7),this.clean.length<this.n+rl+4){let e=new Uint8Array(this.n+rl+4);e.set(this.clean.subarray(0,this.n)),this.clean=e}let r=this.clean,n=this.n+rl,i=e.length,o=this.n,a=this.pos,l=!0,[s,m]=this.span(a,a+2*(n-o)+2);for(;a<i;){if(o===n){l=!1;break}a+1-m>=s.length&&a+1<i&&([s,m]=this.span(a,a+2*(n-o)+2));let e=s[a-m];if(255===e){let e=a+1<i?s[a+1-m]:void 0;if(0===e){r[o++]=255,a+=2;continue}if(255===e){a++;continue}break}r[o++]=e,a++}r.fill(0,o,o+4),this.pos=a,this.n=o,this.limit=8*o,this.ended=l}ensure(){!this.ended&&this.limit-this.bit<65536&&this.refill()}here(){return{pos:this.rawAfter(this.base,this.bit>>>3),bit:7&this.bit}}window(){let e=this.clean,t=this.bit,r=t>>>3;return(e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3])<<(7&t)>>>0}receive(e){if(!e)return 0;if(this.bit+e>this.limit)throw ge("scan: incomplete");let t=this.window()>>>32-e;return this.bit+=e,t}decode(e){if(!e)throw ge("missing Huffman table");let t=e[this.window()>>>16];if(!t)throw ge("Huffman code");if(this.bit+(t>>8)>this.limit)throw ge("scan: incomplete");return this.bit+=t>>8,255&t}atMarker(e=!1){for(;!this.ended;)this.refill();let t=this.limit-this.bit,r=7&t,n=t>>>3,i=this.bytes;if(n){if(!e||this.clean.subarray(this.bit+7>>>3,this.limit>>>3).some(e=>255!==e))throw ge("trailing scan bytes");this.choices&&(this.choices.fill=n)}if(this.eobrun>0)throw ge("EOB run past interval");if(r){let e=this.window()>>>32-r,t=this.padding;if(e!==(1<<r)-1){if(!t)throw ge("scan padding");t.zero=!0}if(t)for(let n=r-1;n>=0;n--)t.bits.push(e>>>n&1)}for(;this.pos+1<i.length&&255===i[this.pos]&&255===i[this.pos+1];)this.pos++}restart(e){if(this.atMarker(),255!==this.bytes[this.pos]||this.bytes[this.pos+1]!==208+(7&e))throw ge("restart marker");this.pos+=2,this.load();for(let e of this.scan)e.component.pred=0;this.eobrun=-1}dcValue(e,t){if(t>11)throw ge("DC range");let r=t?il(this.receive(t),t):0;if(e.component.pred+=r,e.component.pred>2047||e.component.pred<-2048)throw ge("DC range");return e.component.pred}acValue(e,t){if(e>10)throw ge("AC range");let r=il(this.receive(e),e)*(1<<t);if(r>1023||r<-1023)throw ge("AC range");return r}block(e,t,r){switch(this.mode){case 0:t[r]=this.dcValue(e,this.decode(e.dc)),this.acFirst(e,t,r);break;case 1:{let n=this.dcValue(e,this.decode(e.dc))*(1<<this.al);if(n>2047||n<-2048)throw ge("DC range");t[r]=n;break}case 2:this.receive(1)&&(t[r]|=1<<this.al);break;case 3:this.acFirst(e,t,r);break;default:this.acRefine(e,t,r)}this.blockIndex++}pastBand(){return ge("past "+(this.progressive?"band":"block"))}acFirst(e,t,r){if(this.eobrun>0)return void this.eobrun--;let n=0===this.eobrun,{ss:i,se:o,al:a,progressive:l,choices:s}=this;this.eobrun=-1;let m=0;for(let c=i||1;c<=o;){let f=this.decode(e.ac),h=f>>4,u=15&f;if(u){if(c+=h,c>o)throw this.pastBand();t[r+Va[c]]=this.acValue(u,a),m=0,c++}else{if(h<15){if(h&&!l)throw ge("sequential EOB run");l&&c===i&&n&&s?.resets.push(this.blockIndex),this.eobrun=(1<<h)-1+(h?this.receive(h):0);break}if(c+=16,m++,c>o+1)throw this.pastBand()}}m&&s?.zeros.push({block:this.blockIndex,count:m})}acRefine(e,t,r){let{ss:n,se:i,al:o,choices:a}=this,l=1<<o,s=-1<<o,m=n;if(this.eobrun<=0){let o=0===this.eobrun;for(this.eobrun=-1;m<=i;m++){let c=this.decode(e.ac),f=c>>4,h=0,u=15&c;if(u){if(1!==u)throw ge("refinement code");h=this.receive(1)?l:s}else if(15!==f){m===n&&o&&a?.resets.push(this.blockIndex),this.eobrun=1<<f,f&&(this.eobrun+=this.receive(f));break}for(;m<=i;m++){let e=r+Va[m];if(0!==t[e])this.receive(1)&&0===(t[e]&l)&&(t[e]+=t[e]>=0?l:s);else if(--f<0)break}if(f>=0||h&&m>i)throw ge("past band");h&&(t[r+Va[m]]=h)}}if(this.eobrun>0){for(;m<=i;m++){let e=r+Va[m];0!==t[e]&&this.receive(1)&&0===(t[e]&l)&&(t[e]+=t[e]>=0?l:s)}this.eobrun--}}},il=(e,t)=>e<1<<t-1?e-(1<<t)+1:e,ol=(e,t)=>1===t.length?t[0].component.blocksW*(32*t[0].component.v/e.vmax):e.mcusX*(32/e.vmax),al=32<<20,ll=class{constructor(e){this.Type=e,this.values=new e(0),this.n=0}push(e){if(this.n===this.values.length){let e=new this.Type(Math.max(1024,2*this.n));e.set(this.values),this.values=e}this.values[this.n++]=e}take(){let e=this.values.slice(0,this.n);return this.n=0,e}},sl=524288,ml=592128,cl=592384,fl=1261568,hl=2048e3,ul=2637824,dl=2646016,pl=12576,gl=5853184,Ml=5881856,yl=2637824,bl=2638080,wl=2646560,Ll=5853184,Ol=1048576,Al=1049600,Il=1261568,vl=7426048,Fl=9523200,Nl=10309632,xl=11882496,kl=196608,El=xl,Cl=El+4*kl,Bl=Cl+2*kl,Ul=67108864,Hl=1/0,Jl=null,Kl="M,> LMMMLµOS-L2L2-O22L2-I2222M-J2222222M-O22M-N222L2-L2M-A222222222222L2-K222222M-N222M-F22222222222M-F22222222222L2-D222222222L2-^2222222222222222222L2-@2222222222222L2-H22222L2-A222222222222M-G2222222222M-K222222L2-\\22222222222222222L2-@2222222222222M-O22L3-Z22222222222222222222222L2-E22222222L2-_222222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ÜLlKmJmM°MI\r°AMMMMMMMMMMMMMMMM°c°ÜLlJmEmM°MI°AMMMMMMMMMMMMMMMM°c°ÜLlEmDmM°MI-°AMMMMMMMMMMMMMMMM°c°ÜLlDmGmM°MI=°AMMMMMMMMMMMMMMMM°c°ÜLlGmM:ÍL'lMALFFmOmOeOMmN°äL°VM'{OMmOmOeOImN°äL°VL'{OImOmOeOEmN°äL°VO'{OEmOmOeOAmN°äL°VN'{OAmOmOeO]mN°çL°VM'{O]mOmOeOYmN°çL°VL'{OYmOmOeOUmN°çL°VO'{OUmOmOeOQmN°çL°VN'{OQmOmOeOmmIoN°äL°VM'{OmmOmOeOimN°äL°VL'{OimOmOeOemN°äL°VO'{OemOmOeOamN°äL°VN'{OamOmOeO}mN°çL°VM'{O}mOmOeOymN°çL°VL'{OymOmOeOumN°çL°VO'{OumOmOeOqmN°çL°VN'{OqmOmOeO\rmHoN°äL°VM'{O\rmOmOeO\tmN°äL°VL'{O\tmOmOeOmN°äL°VO'{OmOmOeOmN°äL°VN'{OmOmOeOmN°çL°VM'{OmOmOeOmN°çL°VL'{OmOmOeOmN°çL°VO'{OmOmOeOmN°çL°VN'{OmOmOeO-mKoN°äL°VM'{O-mOmOeO)mN°äL°VL'{O)mOmOeO%mN°äL°VO'{O%mOmOeO!mN°äL°VN'{O!mOmOeO=mN°çL°VM'{O=mOmOeO9mN°çL°VL'{O9mOmOeO5mN°çL°VO'{O5mOmOeO1mN°çL°VN'{O1mOmOeOÍLmJoN°äL°VM'{OÍLmOmOeOÉLmN°äL°VL'{OÉLmOmOeOÅLmN°äL°VO'{OÅLmOmOeOÁLmN°äL°VN'{OÁLmOmOeOÝLmN°çL°VM'{OÝLmOmOeOÙLmN°çL°VL'{OÙLmOmOeOÕLmN°çL°VO'{OÕLmOmOeOÑLmN°çL°VN'{OÑLmOmOeOíLmEoN°äL°VM'{OíLmOmOeOéLmN°äL°VL'{OéLmOmOeOåLmN°äL°VO'{OåLmOmOeOáLmN°äL°VN'{OáL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:]'l\\Fm]mKm_!mX''m\\wMMm_:L'l_ALFFmX:L'lXALFFF¢LLK2mH:MmI:L':}!oA:O9±FMmK:MmI:L':N9±FMN\rmOmGI\rmLmG:O9'eOMlF:MlDmIlJN\rmJmDI\rmFmNmJmD':L8oE:O9'eOMI\rmE:L'lDHmElJFALFFmMmG:O9'eOMoJ:]I\rmJ:SmJ*oF&;:L<:VmF&:L9?:]'lJmKmD:N9'oEmEfNM:SmF&õítNMFmAmD:}!mJ'oJI\rmHmJ:O9'oEmEeOM:L'{OMFmG:L'lGALFFF",Dl=()=>"object"==typeof WebAssembly&&1===new Uint8Array(new Uint32Array([1]).buffer)[0]&&(ya(),ha.has("kernels")||(e=>{try{return WebAssembly.validate(e)}catch{return!1}})(ca('M,> LMMMLHL-ML2NOLMJDLH=?"/(MMGFLDM:M°\\°VMF'))),Tl=()=>R("kernels",()=>ca(Kl)),Sl=null,Gl=null,jl=[],Pl=[];for(let e=1,t=0;t<16;t++){Pl.push(e);let t=2*e*e;do{e++}while(e*e<t)}Pl.slice().reverse().map(e=>-e);var _l,Xl,ql,Rl,zl=0,Vl=new Set,Yl=new Set,Wl=()=>zl>0,Zl=(e,t)=>{Vl.add(e),Yl.add(t)},{ensureKernels:Ql,disableEntropyKernels:$l,prepareKernels:es,arenaKernels:ts,releaseArena:rs,lendEntropy:ns,orientBlock:is,pngRow:os,sampleTable:as,sampleBands:ls,captureAnsWrite:ss,writeAnsTokens:ms}=(()=>{function e(){let{memory:e,exports:t}=He();l=Je(()=>{if(D)throw yo("JXL_INTERNAL","kernels:arena-deferred-ac");C=!1,U=null,H=!1,J=!1,M=null,g=null,K=null,Ue=null,ke=-1,we=-1,h=-1,u="",y++},()=>{r.u8=new Uint8Array(e.buffer),r.i32=new Int32Array(e.buffer)},()=>f?.(new Int32Array(e.buffer)));let n=De(t,l),i=new Uint8Array(e.buffer),o=new Int32Array(e.buffer);return f?.(o),{memory:e,simd:n,u8:i,i32:o}}function t(){if("simd"===n)return!0;try{if("object"!=typeof WebAssembly||1!==new Uint8Array(new Uint32Array([1]).buffer)[0]||!Dl())return!1;r||=e(),n="simd",Ia.channel=p,Ia.weighted=null,Ia.sampled=Ne,Ia.acGroup=te,Ia.acGroupPair=null,Ia.acDeferred=null,Ia.nonzero=Ae,Ia.dcEvents=ae,Ia.dcPlan=de,Ia.planTokens=pe,Ia.shape=Oe,i&&(Ia.entropy=z);for(let e of c)Ia[e]&&(Ia[e]=m(Ia[e]))}catch{n="off";for(let e of c)Ia[e]=null}return"simd"===n}let r,n="off",i=!0,o=e=>!e||e instanceof vo&&e.write===vo.prototype.write&&e.grow===vo.prototype.grow,a={split:0,msb:0,lsb:0},l=null,s=new Map,m=e=>s.get(e)??s.set(e,function(...t){return Ke(l),e.apply(this,t)}).get(e),c=["channel","weighted","fill","palette","rct","tuple","passLevels","group","screen","sampled","dct","ycbcrTile","ycbcrTiles","rgbTiles","rgbBand","photoTile","acGroup","acGroupPair","acDeferred","opaque","nonzero","entropy","varblock","gaborish","strategyFill","strategyWrite","xybPlanes","gabBand","dcEvents","dcPlan","planTokens","shape","nativeRGBA","s2cChannel"],f=null,h=-1,u="",d=Object.freeze({residual:327680,table:1642496,output:1114128}),p=function(e,t,n,i,l,s,m){C=!1,U=null,H=!1,J=!1,M=null,K=null,y++;let c=s.config||a;if(!((e,t,r,n,i=65536)=>e instanceof Int16Array&&Number.isInteger(t)&&Number.isInteger(r)&&t>0&&r>0&&t<=16384&&t*r<=i&&e.length>=t*r&&Number.isInteger(n)&&Math.abs(n)<=32768)(n,i,l,s.offset)||1!==s.multiplier||!Number.isInteger(s.predictor)||s.predictor<0||s.predictor>5||!o(e)||(f=c,!(Number.isInteger(f.split)&&Number.isInteger(f.msb)&&Number.isInteger(f.lsb)&&f.split>=0&&f.split<=15&&f.msb>=0&&f.lsb>=0&&f.msb+f.lsb<=f.split&&(1<<f.split)+(19-f.split<<f.msb+f.lsb)<=224))||m&&(e||!(t instanceof Uint32Array)||t.length<34||t.length>4129))return!1;var f;let h=i*l;return!(e&&e.at+8*h+32>2147483647)&&(r.i32.set(n.subarray(0,h),16384),r.simd.residual(65536,i,l,s.predictor,s.offset,327680),function(e,t,n,i,l=a,s=0,m=d){C=!1,U=null,H=!1,J=!1,M=null,K=null,y++;let{simd:c,i32:f,u8:h}=r,u=s||257;if(!o(e)||!t.length||t.length>34)return!1;let{residual:p,table:g,output:b}=m;if(e){f.fill(0,g>>2,(g>>2)+257*t.length*2);for(let e=0;e<t.length;e++){let r=t[e];if(!r?.lengths||!r?.codes||r.lengths.length>257)return!1;for(let t=0;t<r.lengths.length;t++)f[(g>>2)+2*(257*e+t)]=r.lengths[t],f[(g>>2)+2*(257*e+t)+1]=r.codes[t]}}else for(let e=0;e<t.length;e++){if(!(t[e]instanceof Uint32Array)||t[e].length!==u)return!1;f.set(t[e],(g>>2)+e*u)}let w=c.tokens(p,i,n,g,b,e?1:0,e?e.acc:0,e?e.pending:0,l.split,l.msb,l.lsb,s);if(e)e.at+w+8>=e.bytes.length&&e.grow(w+8),e.bytes.set(h.subarray(b,b+w),e.at),e.at+=w,e.acc=f[b-8>>2],e.pending=f[b-4>>2];else for(let e=0;e<t.length;e++)t[e].set(f.subarray((g>>2)+e*u,(g>>2)+(e+1)*u));return!0}(e,[t],h,0,c,m?t.length:0))},g=(new WeakMap,new WeakMap,new WeakMap,null),M=null,y=0,b=4194304,w=b+128,L=131072,O=4587648,A=4590720,I=4591744,v=4592768,F=v+256,N=4613504,x=4621696,E=4625792,C=!1,B=0,U=null,H=!1,J=!1,K=null,D=null,T=new WeakMap,S=e=>{let t=T.get(e);return t||T.set(e,t={}),t},G=e=>e.contexts,j=new WeakMap,P=null,_=function(){if(P)return P;let e=new Int32Array(8194);for(let t=1;t<=4096;t++){let r=32-Math.clz32(t-1),n=2**(32+r),i=Math.floor(n/t),o=n-i*t;o<0?(i--,o+=t):o>=t&&(i++,o-=t),e[2*t]=i+(o?1:0)-2**32|0,e[2*t+1]=r}return P=e},X=function(e){let t=j.get(e);if(t)return t;let{histograms:r}=e,n=r.length,i=[0,0,0],o=Math.max(...r.map(e=>Math.max(e.counts.length,e.starts.length)));return t={ids:n,alphabet:o,small:new Int32Array(64*n),freqs:new Int32Array(64*n),starts:new Int32Array(64*n),reverse:new Uint16Array(4096*n),configs:new Int32Array(4*n),counts:new Int32Array(n*o),symbolStarts:new Int32Array(n*o)},r.forEach((e,r)=>{for(let n=0;n<64;n++)k(e.config,n,i),t.small[64*r+n]=i[1]<<6|i[2],t.freqs[64*r+n]=e.counts[i[0]],t.starts[64*r+n]=e.starts[i[0]];t.reverse.set(e.reverse,4096*r),t.configs.set([e.config.splitToken,e.config.split,e.config.msb,e.config.lsb],4*r);for(let n=0;n<e.counts.length;n++)t.counts[r*o+n]=e.counts[n];for(let n=0;n<e.starts.length;n++)t.symbolStarts[r*o+n]=e.starts[n]}),j.set(e,t),t},R=function(t,n,i,o,a){r||=e(),Ke(l),C=!1,H=!1,J=!1,M=null,K=null,y++;let s=X(n),m=E,c=m+256*s.ids,f=c+256*s.ids,h=f+256*s.ids,u=h+8192*s.ids,d=u+16*s.ids,p=d+s.ids*s.alphabet*4,g=p+s.ids*s.alphabet*4+7&-8,b=g+32776,w=b+4*a,L=w+a+8&-8,O=L+4*a,A=O+a+8&-8,I=A+2*a+8&-8,v=I+8*a+16;if(v>r.memory.buffer.byteLength){try{r.memory.grow(Math.ceil((v-r.memory.buffer.byteLength)/65536))}catch(e){throw Object.assign(yo("JXL_MEMORY","ANS writer: grow failed"),{cause:e})}r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer)}let F=r.memory.buffer,N=new Uint8Array(F),x=new Int32Array(F),k=new Uint16Array(F);U!==n&&(x.set(s.small,m>>2),x.set(s.freqs,c>>2),x.set(s.starts,f>>2),k.set(s.reverse,h>>1),x.set(s.configs,u>>2),x.set(s.counts,d>>2),x.set(s.symbolStarts,p>>2),x.set(_(),g>>2),U=n),new Uint32Array(F).set(i.subarray(0,a),b>>2),N.set(o.subarray(0,a),w);let B=4625664;x.set([b,w,a,m,c,f,h,u,d,p,s.alphabet,L,O,A,I,t.acc,t.pending,0,g],B>>2),r.simd.ansFlush(B),V(t,B,I)},z=()=>Ee(R),V=function(e,t,n){let i=new Int32Array(r.memory.buffer),o=i[17+(t>>2)];e.at+o+8>=e.bytes.length&&e.grow(o+8),e.bytes.set(new Uint8Array(r.memory.buffer,n,o),e.at),e.at+=o,e.acc=i[15+(t>>2)],e.pending=i[16+(t>>2)]},Y=null;Zl(()=>{Y&&(Y.at=0)},()=>{Y=null});let W=function({groupStarts:e,starts:t,segment:r},n,i,o,a){if(e)return e[i*Math.ceil(a/32)+o/32];let l=Math.floor(o/r),s=t[i*Math.ceil(a/r)+l];for(let e=i*a+l*r;e<i*a+o;e++)s+=n[e];return s},Z=17825792,Q=Z,$=Z+256,ee=function(e,t,n,i,o){if(e.whole?t.loaded:e.current===t)return;let a=r.memory.buffer;new Uint8Array(a).set(n.at.subarray(t.from,t.to),t.at),new Int16Array(a).set(n.levels.subarray(t.from,t.to),t.val>>1),new Uint8Array(a).set(i.subarray((e.by0+t.y0)*o,(e.by0+t.y1)*o),t.cnt),t.loaded=!0,e.current=t},te=function(e,t,a,l,s,m=null){y++;let{authoredOrderPasses:c,groupsX:f,strategyData:h,progression:u,contexts:d,lumaBuckets:p,lumaW:g,xsizeBlocks:k,ysizeBlocks:T,comps:j,grey:P,orders:q,counted:R,blockCounts:z,nonZero:Z,hshifts:te,vshifts:ne}=e;if("simd"!==n||h||u||c?.[a]||P||!Z&&(!R||!i)||te.some(Boolean)||ne.some(Boolean)||j.some(e=>!(e.coeffs instanceof Int16Array||!e.coeffs&&e.packed?.starts))||d.contexts>65536||d.map.length>8192)return!1;M=null;let ie=null,oe=0,ae=null,le=null;if(!l.counts){let e=l.coding.model;if(!e||e.histograms.length>256||e.contextMap.length>8192||!o(l.w))return!1;if("ans"===e.kind){if(!l.coding.flush||e.histograms.some(e=>!(e.reverse instanceof Uint16Array)||4096!==e.reverse.length))return!1;le=X(e)}else{if("prefix"!==e.kind)return!1;ie=e.histograms,oe=Math.max(...ie.map(e=>e.code.lengths.length))}ae=l.w}let se=t%f*32,me=32*(t/f|0),ce=Math.min(32,k-se),fe=Math.min(32,T-me),he=ce*fe,ue=j[0].stride,de=R?z:Z,pe=!j[0].coeffs;if(pe&&!Z)return!1;if(!Z){if(ce<1||fe<1||!Number.isInteger(ue)||ue<se+ce||!Number.isInteger(d.numDc)||d.numDc<1||d.numDc>16||!Number.isInteger(d.numCtxs)||d.numCtxs<1||d.numCtxs>16||4096!==s.length)return!1;let e=(me+fe-1)*ue+se+ce;for(let t=0;t<3;t++){if(j[t].stride!==ue||j[t].coeffs.length<64*e||!(de[t]instanceof Uint8Array)||de[t].length<e||64!==q[t].length)return!1;for(let e of q[t])if(!Number.isInteger(e)||e<0||e>63)return!1;for(let e=0;e<fe;e++)for(let r=0;r<ce;r++)if(de[t][(me+e)*ue+se+r]>63)return!1}}let ge=3*he*64,Me=256*d.contexts,ye=E+Math.max(8,ie?ie.length*oe*8:8),be=!(!l.counts||!l.defer);if(D&&(!be||D.counts!==l.counts||D.hist!==G(d)))throw yo("JXL_INTERNAL","kernels:ac-counts-missing");let we,Le,Oe,Ae,Ie,ve,Fe,Ne,xe,ke,Ee,Ce,Be,Ue=ye+Me,He=Ue+(be?Math.max(4*ge,Me):4*ge),Je=He+8*ge,Ke=Je+8*ge+16;le&&(we=E,Le=we+256*le.ids,Oe=Le+256*le.ids,Ae=Oe+256*le.ids,Ie=Ae+8192*le.ids,ve=Ie+16*le.ids,Fe=ve+le.ids*le.alphabet*4,Ne=Fe+le.ids*le.alphabet*4+7&-8,xe=Ne+32776,ke=xe+4*ge,Ee=ke+ge+8&-8,Ce=Ee+4*ge,Be=Ce+ge+8&-8,Je=Be+2*ge+8&-8,Ke=Je+8*ge+16);let De=pe?Ke+15&-16:0,Te=De+ge;pe&&(Ke=Te+2*ge);let Se=!pe||le&&l.kept?null:function(e,t,n,i,o,a){let l=K?.held;if(l&&l.by0===n&&l.stride===a&&l.packs.every((t,r)=>t===e[r].packed)&&l.counts.every((e,r)=>e===t[r]))return l;let s=Math.min(32,o-n),m=(Math.ceil(a/32),Math.ceil(i/32)),c=e.map(({packed:e},r)=>Array.from({length:s},(o,l)=>{let s=1/0,c=0;for(let o=0;o<m;o++){let m=W(e,t[r],n+l,32*o,a),f=(n+l)*a+32*o,h=m;for(let e=f;e<f+Math.min(32,i-32*o);e++)h+=t[r][e];m<s&&(s=m),h>c&&(c=h)}return[s,c]})),f=(e,t,r)=>{let n=c[e][r-1][1]-c[e][t][0];return(n+15&-16)+(2*n+15&-16)+((r-t)*a+15&-16)},h=24116992,u=[[],[],[]],d=f(0,0,s)+f(1,0,s)+f(2,0,s)<=h,p=$;for(let e=0;e<3;e++)for(let t=0;t<s;){let r=s;for(;r-t>1&&f(e,t,r)>h;)r=t+(r-t>>1);let n=c[e][r-1][1]-c[e][t][0],i=d?p:$,o={y0:t,y1:r,from:c[e][t][0],to:c[e][r-1][1],at:i,val:i+(n+15&-16),cnt:i+(n+15&-16)+(2*n+15&-16),loaded:!1};d&&(p+=f(e,t,r)),u[e].push(o),t=r}let g=d?p:$+Math.max(...u.flat().map(e=>e.cnt-e.at+(e.y1-e.y0)*a))+16;if(g>r.memory.buffer.byteLength){try{r.memory.grow(Math.ceil((g-r.memory.buffer.byteLength)/65536))}catch(e){throw Object.assign(yo("JXL_MEMORY","AC writer: row too large"),{cause:e})}r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer)}return{by0:n,stride:a,packs:e.map(e=>e.packed),counts:[t[0],t[1],t[2]],chunks:u,whole:d,offs:Q,current:null}}(j,de,me,k,T,ue);if(Ke>r.memory.buffer.byteLength){try{r.memory.grow(Math.ceil((Ke-r.memory.buffer.byteLength)/65536))}catch{return!1}r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer)}let Ge=r.memory.buffer,je=new Uint8Array(Ge),Pe=new Int32Array(Ge),_e=new Int16Array(Ge),Xe=new Uint16Array(Ge);if(l.counts){if(!C||B<Me){if(D)throw yo("JXL_INTERNAL","kernels:ac-counts-zeroing");je.fill(0,ye,ye+Me),C=!0}B=Me}else C=!1;le?U!==l.coding.model&&(Pe.set(le.small,we>>2),Pe.set(le.freqs,Le>>2),Pe.set(le.starts,Oe>>2),Xe.set(le.reverse,Ae>>1),Pe.set(le.configs,Ie>>2),Pe.set(le.counts,ve>>2),Pe.set(le.symbolStarts,Fe>>2),Pe.set(_(),Ne>>2),U=l.coding.model):U=null;let qe=le?l.kept??null:null,Re=!(!l.counts||!l.keep);if(qe){if(!(qe.values instanceof Int32Array)||!(qe.ctxs instanceof Uint16Array)||qe.values.length!==qe.ctxs.length||qe.values.length>ge)return!1;K=null,je.set(l.coding.model.contextMap,N),Pe.set(qe.values,xe>>2),Xe.set(qe.ctxs,Ee>>1),r.simd.ctxIds(Ee,ke,qe.values.length,N)}else{let e=S(j[0].coeffs??j[0].packed),n=S(j[1].coeffs??j[1].packed),i=S(j[2].coeffs??j[2].packed),o=S(de[0]),a=S(de[1]),m=S(de[2]),c=K&&K.g===t&&K.bw===ce&&K.bh===fe&&K.c0===e&&K.c1===n&&K.c2===i&&K.s0===o&&K.s1===a&&K.s2===m,f=0;for(let e=0;e<3;e++){if(!c&&pe)for(let t of Se.chunks[e]){ee(Se,t,j[e].packed,de[e],ue);let n=new Int32Array(r.memory.buffer),i=Math.min(t.y1,fe)-t.y0;if(!(i<=0)){for(let r=0;r<i;r++)n[(Se.offs>>2)+r]=W(j[e].packed,de[e],me+t.y0+r,se,ue)-t.from;f+=r.simd.stageRows(t.at,t.val,t.cnt,Se.offs,ce,i,ue,se,De+f,Te+2*f,O+e*he+t.y0*ce)}}else if(c){if(!R&&z[e]!==Z[e])for(let t=0;t<fe;t++){let r=(me+t)*ue+se;z[e].set(Z[e].subarray(r,r+ce),r)}}else{let t=j[e].coeffs,r=de[e];for(let n=0;n<fe;n++){let i=(me+n)*ue+se;_e.set(t.subarray(64*i,64*(i+ce)),w+e*L+n*ce*128>>1),je.set(r.subarray(i,i+ce),O+e*he+n*ce),!R&&z[e]!==Z[e]&&z[e].set(Z[e].subarray(i,i+ce),i)}}let t=q[e];for(let r=0;r<64;r++)je[v+64*e+r]=t[r];for(let t=0;t<d.numDc;t++)Pe[(I>>2)+e*d.numDc+t]=d.contextOf(e,t)}if(!c&&pe&&r.simd.unpackGroup(w,L,ce,fe,O,De,Te),K={g:t,bw:ce,bh:fe,c0:e,c1:n,c2:i,s0:o,s1:a,s2:m,held:Se??(c?K.held:null)},d.thresholds.length){J=!1;for(let e=0;e<fe;e++){let t=(me+e)*g+se;je.set(p.subarray(t,t+ce),A+e*ce)}}else J||(je.fill(0,A,4591744),J=!0);if(H||(Xe.set(s,F>>1),H=!0),le&&je.set(l.coding.model.contextMap,N),ie&&function(e,t,n){let i=new Uint8Array(r.memory.buffer),o=new Int32Array(r.memory.buffer);i.set(e.contextMap,N),o.fill(0,E>>2,(E>>2)+t.length*n*2);for(let e=0;e<t.length;e++){let{config:r,code:i}=t[e];o.set([r.splitToken,r.split,r.msb,r.lsb],(x>>2)+4*e);for(let t=0;t<i.lengths.length;t++)o[(E>>2)+2*(e*n+t)]=i.lengths[t],o[(E>>2)+2*(e*n+t)+1]=i.codes[t]}}(l.coding.model,ie,oe),Pe.set([w,L,ce,fe,O,A,I,d.numDc,d.numCtxs,v,F,4601216,le?2:ie?1:Re?3:0,ye,Ue+4*(D?.touched??0),He,0,0,N,x,E,oe,Je,ae?ae.acc:0,ae?ae.pending:0,0,le?xe:Re?Je:0,le?ke:Re?Je+4*ge:0,0],b>>2),r.simd.acGroup(b),Re){let e=Pe[1048604];l.kept=function(e,t){if(!Wl())return{values:e.slice(),ctxs:t.slice()};let r=e.length;if(!Y||Y.at+r>Y.values.length){let e=Math.max(r,1048576,Y?2*Y.values.length:0);Y={values:new Int32Array(e),ctxs:new Uint16Array(e),at:0}}let n=Y.at;return Y.values.set(e,n),Y.ctxs.set(t,n),Y.at=n+r,{values:Y.values.subarray(n,n+r),ctxs:Y.ctxs.subarray(n,n+r)}}(Pe.subarray(Je>>2,(Je>>2)+e),Xe.subarray(Je+4*ge>>1,(Je+4*ge>>1)+e))}}if(le){let e=4625664,t=qe?qe.values.length:Pe[1048604],n=[we,Le,Oe,Ae,Ie,ve,Fe,le.alphabet];if(m&&!m.args){let e=xe+4521984+256+15&-16,i=e+4*t,o=i+t+8&-8,a=o+4*t,s=a+t+8&-8,c=s+2*t+8&-8,f=c+8*t+16;if(f>17825792)return!1;if(f>r.memory.buffer.byteLength){try{r.memory.grow(Math.ceil((f-r.memory.buffer.byteLength)/65536))}catch{return!1}r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer)}let h=new Uint8Array(r.memory.buffer);return h.copyWithin(e,xe,xe+4*t),h.copyWithin(i,ke,ke+t),m.args=[e,i,t,...n,o,a,s,c,ae.acc,ae.pending,0,Ne],m.w=ae,m.out=c,m.model=l.coding.model,3}if(Pe.set([xe,ke,t,...n,Ee,Ce,Be,Je,ae.acc,ae.pending,0,Ne],e>>2),m){if(m.model!==l.coding.model)throw yo("JXL_INTERNAL","kernels:ac-group-model");let t=4625536;return Pe.set(m.args,t>>2),r.simd.ansFlush2(t,e),V(m.w,t,m.out),V(ae,e,Je),2}r.simd.ansFlush(e);let i=Pe[17+(e>>2)];return ae.at+i+8>=ae.bytes.length&&ae.grow(i+8),ae.bytes.set(je.subarray(Je,Je+i),ae.at),ae.at+=i,ae.acc=Pe[15+(e>>2)],ae.pending=Pe[16+(e>>2)],2}if(ie)return function(e,t){let n=new Int32Array(r.memory.buffer),i=n[1048601];e.at+i+8>=e.bytes.length&&e.grow(i+8),e.bytes.set(new Uint8Array(r.memory.buffer,t,i),e.at),e.at+=i,e.acc=n[1048599],e.pending=n[1048600]}(ae,Je),!0;let ze=l.counts,Ve=Pe[1048592],Ye=Pe[1048593];be?D={counts:ze,hist:G(d),at:ye,list:Ue,bytes:Me,touched:(D?.touched??0)+Ve}:re(ze,ye,Ue,Ve,Me);for(let e=0;e<Ye;e++)ze.add(Pe[(He>>2)+2*e],Pe[(He>>2)+2*e+1]);return!0},re=function(e,t,n,i,o){let a=new Int32Array(r.memory.buffer),l=new Uint32Array(r.memory.buffer,t,o>>2);for(let t=0;t<i;t++){let r=a[(n>>2)+t],i=l[r];e.small[r]+=i,e.totals[r>>6]+=i,l[r]=0}},ne=196608,ie=721040,oe=983184,ae=function(e){if("simd"!==n||e.some(e=>!(e.data instanceof Int16Array)||!(e.w>0&&e.h>0)||e.w*e.h>65536||e.data.length<e.w*e.h))return null;C=!1,U=null,H=!1,J=!1,M=null,K=null,y++;let t=r.memory.buffer,i=new Int16Array(t),o=new Uint32Array(t);return e.map(({data:e,w:t,h:n})=>{o.fill(0,49152,180257),i.set(e.subarray(0,t*n),32768),r.simd.gradEvents(65536,t,n,ne,ie,oe,0,0,0,0,0);let a=o[245798],l=new Uint32Array(2*a);for(let e=0;e<a;e++){let t=o[(ie>>2)+e];l[2*e]=t,l[2*e+1]=o[49152+t]}return{literalPairs:l,literalPairsLen:2*a,lengths:o.slice(180224,180257)}})},le=oe+16,se=1245344,me=1507488,ce=1508528,fe=1770672,he=2819248,ue=(e,t)=>{if(t<131072)return e[49152+t];for(let r=Math.imul(t,2654435761)>>>15;;r=r+1&131071)if(e[(fe>>2)+2*r]===t)return e[(fe>>2)+2*r+1]},de=function(e,t,i,o){if("simd"!==n||!(e instanceof Int16Array||e instanceof Int32Array)||!(t>0&&i>0)||t*i>65536||e.length<t*i||257!==o.length)return null;let a=t*i,l=e[0],s=e[0];for(let t=1;t<a;t++){let r=e[t];r<l?l=r:r>s&&(s=r)}let m=l<-32768||s>32767?1:0;C=!1,U=null,H=!1,J=!1,M=null,K=null,y++,m&&he>r.memory.buffer.byteLength&&(Te(he),r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer));let c=r.memory.buffer,f=new Int16Array(c),h=new Uint32Array(c),u=m?131072:Math.min(131072,Math.max(2*(s-l),2*Math.abs(e[0]))+2);h.fill(0,49152,49152+u),h.fill(0,180224,180257),h.fill(0,me>>2,377129),m?(h.fill(0,fe>>2,he>>2),new Int32Array(c,ce,a).set(e.subarray(0,a))):f.set(e.subarray(0,a),32768),r.simd.gradEvents(m?ce:65536,t,i,ne,ie,oe,le,se,me,m,fe);let d=h[245798],p=h[245799],g=new Uint32Array(2*d),b=0;for(let e=0;e<2;e++)for(let t=0;t<d;t++){let r=h[(ie>>2)+t];r<4096==!e&&(g[b++]=r,g[b++]=ue(h,r))}for(let e=0;e<257;e++)o[e]+=h[(me>>2)+e];return{tags:h.slice(le>>2,(le>>2)+p),extra:h.slice(se>>2,(se>>2)+p),used:p,literalPairs:g,literalPairsLen:b,lengths:h.slice(180224,180257)}},pe=function(e,t){let{tags:i,extra:o,used:a}=e;if("simd"!==n||!(i instanceof Uint32Array)||!(o instanceof Uint32Array)||!Number.isInteger(a)||a<0||a>65536||i.length<a||o.length<a||!(t.split>=0&&t.split<=30)||t.splitToken!==2**t.split||!(t.msb>=0&&t.lsb>=0&&t.msb+t.lsb<=t.split))return!1;C=!1,U=null,H=!1,J=!1,M=null,K=null,y++;let l=r.memory.buffer,s=new Uint32Array(l),m=new Int32Array(l);return s.set(i.subarray(0,a),ge>>2),s.set(o.subarray(0,a),Me>>2),m.set([t.splitToken,t.split,t.msb,t.lsb],ye>>2),r.simd.hpTokens(ge,Me,a,ye),i.set(s.subarray(ge>>2,(ge>>2)+a)),o.set(s.subarray(Me>>2,(Me>>2)+a)),!0},ge=65536,Me=327680,ye=591872,be=131152,we=-1,Le=null,Oe=function(e,t,i,o,a,l){if("simd"!==n||!(t>=3&&t<=512)||!(i>=1&&i<=4294967295)||!(o>=0&&o<t)||e.length<t)return null;let s=r.memory.buffer,m=new Int32Array(s),c=new Uint32Array(s),f=new Float64Array(s);(we!==y||Le!==a)&&(f.set(a.log2,8200),f.set(a.symbolBits,12297),m.set(a.logLengths,32788),m.set(a.repeats,32804),Le=a),C=!1,U=null,H=!1,J=!1,M=null,K=null,we=++y;for(let r=0;r<t;r++)c[32820+r]=e[r];m.set([131280,t,i,o,65600,98376,be,131216,133328,0,0,0,l?1:0],16384),r.simd.shape(65536);let h=m[16393];return h<0?{none:!0}:{counts:Uint16Array.from(m.subarray(39476,39476+t)),shift:h,omit:o,bits:f[8197]}},Ae=function(e,t,i,o){if("simd"!==n||!(e instanceof Int16Array)||t%64||(i-t)%64)return!1;C=!1,U=null,H=!1,J=!1,M=null,K=null,y++;let a=new Int16Array(r.memory.buffer),l=new Int32Array(r.memory.buffer),s=458752;l.fill(0,s>>2,114752);for(let n=t;n<i;n+=65536){let t=Math.min(i,n+65536);a.set(e.subarray(n,t),32768),r.simd.nonzeroCounts(65536,t-n>>6,s)}for(let e=0;e<64;e++)o[e]+=l[(s>>2)+e];return!0},Ie=e=>8*Math.ceil(e/8),ve=null,Fe=Object.freeze({live:()=>!0,peak:0,allocate:()=>null,release(){},propose:(e,t,r,n=null)=>(n&&(n.handle=null),null)}),Ne=function(e,t,n,i,o,a,s){if(Number.isInteger(e)&&e>=0&&e<64)return Fe;if(!r||!Number.isSafeInteger(e)||e<0||!t||t>16||o.length!==t||!Number.isInteger(n)||n<1||n>256||!(a instanceof Float64Array)||a.length<e+1||!(s instanceof Float64Array)||s.length!==n||o.some(t=>!(t instanceof Uint8Array)||t.length!==e))return null;let m=0;for(let t of i){let r=t.cuts.length;if(!(t.indices instanceof Uint8Array)||t.indices.length!==e||r>255)return null;m=Math.max(m,r)}if(!m)return Fe;let c=i.length,f=m+1,h=t*n,u=65536,d=u+t*e,p=Ie(d+c*e),g=Ie(p+4*c),b=g+8*(e+1),w=Ie(b+8*n),L=w+4*e,O=L+t*e,A=Ie(O+e),I=Ie(A+4*h),v=I+64,F=Ie(v+32*t+8*h+f*h*4+4*e+4*(2*f+1)+4*t),N=F+4*e,x=N+4*e,k=x+8*h,E=0,B=(i.map(e=>{let t=E;return E+=e.cuts.length?(e.cuts.length+1)*h*4:0,t}),64*Math.ceil(k/64)),D=Math.floor(25165824/E),T=-1,S=0,G=[],j=0,P=e=>{if(e<=r.memory.buffer.byteLength)return!0;try{Te(e)}catch{return!1}return!0},_={live:()=>ve?.deref()===_&&T===y,get peak(){return j},allocate(){if(!_.live()||!G.length)return null;let e=G.pop();return P(e+E)?(j=Math.max(j,D-G.length),{at:e,generation:S}):(G.push(e),null)},release(e){e&&e.generation===S&&_.live()&&G.push(e.at)},propose(m,f,h,j=null){Ke(l),C=!1,U=null,H=!1,J=!1,M=null,K=null,we=-1;let X=m.length;if(j&&(j.handle=null),!(m instanceof Uint32Array)||X<64||X>e||f.length!==t||f.some(e=>!(e instanceof Uint32Array)||e.length!==n)||!Number.isSafeInteger(h))throw Na("sampled");if(!_.live()){if(!P(k))throw yo("JXL_MEMORY","learned tree: grow failed");let{u8:l,i32:m}=r,f=new Float64Array(r.memory.buffer);for(let r=0;r<t;r++)l.set(o[r],u+r*e);for(let t=0;t<c;t++)l.set(i[t].indices,d+t*e),m[(p>>>2)+t]=i[t].cuts.length;if(r.simd.bytesMax(u,t*e)>=n||i.some((t,n)=>r.simd.bytesMax(d+n*e,e)>t.cuts.length))throw Na("sampled");f.set(a.subarray(0,e+1),g>>>3),f.set(s,b>>>3),ve=new WeakRef(_),T=y,S++,G=Array.from({length:D},(e,t)=>B+(D-1-t)*E)}let q=!(!j?.parent||!j?.sibling||j.parent.generation!==S||j.sibling.generation!==S),R=!!j?.save&&D>0;if(R&&!q)for(let e of i)if(e.cuts.length&&4*X<=(e.cuts.length+1)*n){R=!1;break}let z=R?_.allocate():null,{i32:V}=r,Y=new Float64Array(r.memory.buffer);new Uint32Array(r.memory.buffer,w,X).set(m);for(let e=0;e<t;e++)V.set(f[e],(A>>>2)+e*n);let W=r.simd.sampledNode(u,d,e,w,X,t,n,c,p,A,g,b,L,O,v,I,q?j.parent.at:0,q?j.sibling.at:0,z?z.at:0);if(-2===W)throw _.release(z),Na("sampled");if(j&&(j.handle=z),W<0)return null;let Z=Y[I+16>>>3],Q=Y[I+24>>>3],$=V[I+4>>>2],ee={gain:h-Z-Q,column:i[W],bin:$,lo:{selected:V[I+8>>>2],bits:Z},hi:{selected:V[I+12>>>2],bits:Q}};if(ee.gain<=0)return ee;let te=r.simd.sampledSplit(u,d,e,w,X,t,n,W,$,F,N,A,x),re=r.memory.buffer,ne=te<=X-te;ee.lowIds=new Uint32Array(re,F,te).slice(),ee.highIds=new Uint32Array(re,N,X-te).slice();let ie=[0,1].map(e=>Array.from({length:t},(r,i)=>new Uint32Array(re,x+(e*t+i)*n*4,n).slice()));return ee.low=ie[ne?0:1],ee.high=ie[ne?1:0],ee}};return _},xe=(new Int32Array(81),new Uint8Array(6144));for(let e=0;e<256;e++)for(let t=0,r=0;t<8;t++)e>>t&1&&(xe[16*e+2*r]=2*t,xe[16*e+2*r+1]=2*t+1,xe[4096+8*e+r++]=t);let ke=-1,Ue=null,Se=(new Map,Ce),Ge=Be;return Ia.arena={lend:()=>Ce(25165824),release:Be},Ia.ensure=t,{ensureKernels:t,disableEntropyKernels:function(){i=!1,Ia.entropy=null},prepareKernels:async function(){return!("object"!=typeof WebAssembly||1!==new Uint8Array(new Uint32Array([1]).buffer)[0]||!Dl())&&q("kernels",()=>ca(Kl))},arenaKernels:Se,releaseArena:Ge,lendEntropy:null,orientBlock:null,pngRow:null,sampleTable:null,sampleBands:null,captureAnsWrite:function(t,n,i,o,a){r||=e(),Ke(l),C=!1,U=null,H=!1,J=!1,M=null,K=null,we=-1,y++;let s=65536,m=s+9232*a.length,c=m+4*o,f=c+(2*o+3&-4),h=f+4*o,u=e=>{if(e<=r.memory.buffer.byteLength)return!0;try{r.memory.grow(Math.ceil((e-r.memory.buffer.byteLength)/65536))}catch{return!1}return r.u8=new Uint8Array(r.memory.buffer),r.i32=new Int32Array(r.memory.buffer),!0};if(!u(h))throw yo("JXL_MEMORY","ANS writer: grow failed");let d=new Uint16Array(r.memory.buffer);if(a.forEach((e,t)=>{let r=s+9232*t>>1;d.fill(0,r,r+520),d.set(e.counts,r),d.set(e.starts,r+256),d.set(e.reverse,r+520)}),r.i32.set(n.subarray(0,o),m>>2),r.i32.set(i.subarray(0,o),f>>2),!u(h+(r.simd.tokAnsBack(m,o,s,c)+t.pending>>3)+16))throw yo("JXL_MEMORY","ANS stream: too large");let p=r.simd.tokAnsWrite(m,f,o,c,t.acc,t.pending,h),g=p>>3,b=7&p;return t.at+g+8>=t.bytes.length&&t.grow(g+8),t.bytes.set(r.u8.subarray(h,h+g),t.at),t.at+=g,t.acc=b?r.u8[h+g]&(1<<b)-1:0,t.pending=b,!0},writeAnsTokens:R}})(),cs=(e,t)=>Object.assign(new Error(t),{code:e}),fs="pass pixels {data, width, height}, ImageData, a canvas, a bitmap, or an image file as a Blob.",hs=new Set(["JXL_OPTIONS","JXL_INPUT","JXL_DIMENSIONS","JXL_JPEG","JXL_DECODE","JXL_RECONSTRUCTION","JXL_TARGET","JXL_PLATFORM","JXL_MEMORY","JXL_LIMIT","JXL_WASM","JXL_WEBGPU","JXL_WORKER","JXL_CLOSED","JXL_UNSUPPORTED","JXL_INTERNAL","JXL_IO","JXL_SETUP"]),us={JXL_SIZE:"JXL_LIMIT",JXL_INVALID:"JXL_DECODE",JXL_FRAMING:"JXL_INPUT",JXL_RGBA:"JXL_INPUT",JXL_PROTOCOL:"JXL_WORKER",JXL_WORKER_LEASE:"JXL_WORKER",JXL_THREAD_REQUIRED:"JXL_PLATFORM",JXL_UNAVAILABLE:"JXL_PLATFORM",JXL_QUEUE_FULL:"JXL_MEMORY",JXL_BUSY:"JXL_INTERNAL",JXL_CODEC:"JXL_INTERNAL",JXL_DICTIONARY:"JXL_INTERNAL",JXL_ENCODE:"JXL_INTERNAL",JXL_GPU:"JXL_INTERNAL",JXL_GPU_NATIVE_UNPROVEN:"JXL_INTERNAL",JXL_INITIALIZE:"JXL_INTERNAL",JXL_MEMORY_GPU_UNPROVEN:"JXL_INTERNAL",JXL_OPERATION:"JXL_INTERNAL",JXL_PART:"JXL_INTERNAL"},ds=new WeakSet,ps=new WeakMap,gs="original JPEG: absent, use recompress()",Ms=()=>yo("JXL_RECONSTRUCTION","reconstruction data"),ys=class{constructor(e){this.bytes=e,this.bit=0,this.offset=0,this.input=null,this.part=null}window(e){return(this.input!==this.bytes||e<this.offset||e+5>this.offset+this.part.length)&&(this.input=this.bytes,this.offset=e,this.part=this.bytes.subarray(e,Math.min(this.bytes.length,e+65536))),this.part}read(e){let t=this.bit;Ze(e>=0&&e<=32&&t+e<=8*this.bytes.length);let r=this.window(t>>>3);if(e<=24){let n=(t>>>3)-this.offset;return this.bit=t+e,(r[n]|r[n+1]<<8|r[n+2]<<16|r[n+3]<<24)>>>(7&t)&(1<<e)-1}let n=0,i=0;for(;e;){let t=Math.min(e,8-(7&this.bit));n+=(r[(this.bit>>>3)-this.offset]>>>(7&this.bit)&(1<<t)-1)*(1<<i>>>0),this.bit+=t,i+=t,e-=t}return n}peek(e){let t=this.window(this.bit>>>3),r=(this.bit>>>3)-this.offset;return(t[r]|t[r+1]<<8|t[r+2]<<16|t[r+3]<<24)>>>(7&this.bit)&(1<<e)-1}skip(e){Ze(this.bit+e<=8*this.bytes.length),this.bit+=e}expect(e,t){Ze(this.read(e)===t)}u32(e){let[t,r]=e[this.read(2)];return this.read(t)+r}align(){this.expect(7&-this.bit,0)}end(){this.align(),Ze(this.bit===8*this.bytes.length)}},bs=[[9,1],[13,1],[18,1],[30,1]],ws=[null,[1,1],[12,10],[4,3],[3,2],[16,9],[5,4],[2,1]],Ls=["perceptual","relative","saturation","absolute"],Os=(e,t)=>(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0,As=[[0,0],[0,1],[4,2],[6,18]],Is=(Promise.resolve(),"function"!=typeof WorkerGlobalScope&&(()=>{try{return!1!==globalThis.process?.getBuiltinModule?.("node:worker_threads")?.isMainThread}catch{return!0}})()),vs=e=>{let t=-1/0;return async()=>{!Is||performance.now()-t<=8||(await new Promise(e=>{try{return void setImmediate(e)}catch{}try{let t=new MessageChannel;return t.port1.onmessage=()=>{t.port1.close(),e()},void t.port2.postMessage(0)}catch{}setTimeout(e,0)}),Pe(e),t=performance.now())}},Fs=Symbol.for("rapier-jxl.jpeg.pixels"),Ns=Symbol.for("rapier-jxl.jpeg.geometry"),xs=new Map,ks=e=>e&&"string"==typeof e.code&&/^JXL_[A-Z_0-9]+$/.test(e.code)&&"string"==typeof e.message&&Ge(e)===e,Es=e=>Number.isSafeInteger(e)&&e>0,Cs=e=>"number"==typeof e&&Number.isFinite(e),Bs=e=>Cs(e)&&e>=1&&e<=100,Us=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,Hs=Object.getPrototypeOf(Uint8Array.prototype),Js=Object.fromEntries(["buffer","byteOffset","byteLength"].map(e=>[e,Object.getOwnPropertyDescriptor(Hs,e).get])),Ks=Object.getOwnPropertyDescriptor(Hs,Symbol.toStringTag).get,Ds=[0,0,0,12,74,88,76,32,13,10,135,10],Ts=/^function Object\(\) \{\s*\[native code\]\s*\}$/,Ss=Number.MAX_SAFE_INTEGER,Gs=Symbol.for("rapier-jxl.retain-input"),js=new WeakMap,Ps=new WeakSet,_s=Object.fromEntries(["buffer","byteOffset","byteLength"].map(e=>[e,Object.getOwnPropertyDescriptor(DataView.prototype,e).get])),Xs=Uint8Array.prototype.slice,qs={Uint8Array,Uint8ClampedArray,Int8Array,Uint16Array,Int16Array,Uint32Array,Int32Array,..."function"==typeof Float16Array&&{Float16Array},Float32Array,Float64Array,BigInt64Array,BigUint64Array,DataView},Rs=class extends Error{},zs={},Vs={},Ys=e=>(e/2**20).toFixed(e<2**20?2:0),Ws=["jpeg-bytes","pixels","lossy"],Zs=null,Qs=e=>({code:"JXL_TARGET",message:e}),$s=Object.freeze([-29.97381362,-6.940466435,-1.25470135,3.3893708399999998,7.09033958,10.51464371,12.665079515,16.713258590000002,18.673968705,21.105531125,22.957540065,25.223973105,27.00507493,27.978122579999997,29.825917805,31.415932750000003,32.572708275,33.175092295,34.309781265,36.30099314,37.208438494999996,38.08691582,38.7998353,40.32459973,40.950025395,42.170106745,42.883824669999996,43.57407828,44.420829839999996,45.20957972,46.18172579,47.134427525,47.931344015,48.609038235,49.61987626,49.979236875,50.20559565,51.045848305,51.456134975,52.06415233,52.861199325,53.531656915,54.32905192,54.71133428,55.176613775,55.90871946,56.076872475,57.025085585,57.467758305000004,57.89373923,59.026523275,59.48238025,59.7317854,60.170542575,60.566979685,60.566979685,61.38655503,61.8244871,62.142594079999995,62.522252935,62.717870965,63.065376825,63.533200355,64.03046348,64.335776255,64.817456795,65.15700075000001,65.78047209,66.17071418,66.69645169,66.69645169,67.78941277,68.17985284,68.45086642999999,68.79570254000001,68.95193511,69.87394918999999,71.26413471000001,71.997727835,73.194730445,74.03065663,75.124830855,76.03320187,77.12701476000001,78.305614905,78.98458758000001,79.99187979,81.120978295,82.28456064,83.014497415,84.132846075,85.044493085,85.82950024499999,86.81750979,87.38892515,88.12254154,88.758621995,89.20636776,89.60070468,90.069661795,100].map((e,t)=>Object.freeze([t,e]))),em=["ssimulacra2","max-error"],tm=Symbol.for("rapier-jxl.drive"),rm=(Symbol("capture facts"),Symbol("capture record")),nm=["colorSpace","colorEncoding","transferFunction","bitDepth","sampleFormat","intensityTarget","alphaPremultiplied","icc","orientation","extraChannels"],im=Symbol("selected capture protection"),om=Symbol("result reference"),am=Symbol("raw operation"),lm=Symbol("device ran"),sm=Symbol("profile named"),mm=(Symbol("preview"),Symbol("encode features")),cm=["fidelity","effort","firstRegion","readAs","jpeg","webgpu","maxPixels","maxBytes","icc","signal","onProgress","onPreview","exactRects","photoRects","textComplete","withoutText","outputs"],fm=(e,t)=>It(Ot,e,t),hm=new Set,um=(Object.freeze({exact:!0}),[1,1,1,1,2,4,1,2,1,4,2,4,1,1,1,1,1,1,8,4,8,16,8,16,32,16,32]),dm=[1,1,1,1,2,4,2,1,4,1,4,2,1,1,1,1,1,1,8,8,4,16,16,8,32,32,16],pm=[0,1,2,3,4,5,6,6,7,7,8,8,9,9,10,10,10,10,11,12,12,13,14,14,15,16,16],gm=Object.freeze(["dct8","identity","dct2","dct4","dct16","dct32","dct16x8","dct8x16","dct32x8","dct8x32","dct32x16","dct16x32","dct4x8","dct8x4","afv0","afv1","afv2","afv3","dct64","dct64x32","dct32x64","dct128","dct128x64","dct64x128","dct256","dct256x128","dct128x256"].map((e,t)=>Object.freeze({name:e,id:t,width:8*um[t],height:8*dm[t],table:pm[t]}))),Mm=[0,1,1,1,2,3,4,4,5,5,6,6,1,1,1,1,1,1,7,8,8,9,10,10,11,12,12],ym=(Object.freeze(["dct8","small","dct16","dct32","dct16x8","dct32x8","dct32x16","dct64","dct64x32","dct128","dct128x64","dct256","dct256x128"].map((e,t)=>{let r=gm.filter(e=>Mm[e.id]===t),n=r[0],i=Math.max(n.width,n.height),o=Math.min(n.width,n.height);return Object.freeze({name:e,id:t,width:i,height:o,lowFrequencyCount:i*o/64,strategies:Object.freeze(r.map(e=>e.name))})})),(e,t)=>{let r=e*t;if(!(r>=1&&r<=256))throw yo("JXL_INTERNAL",`vardct-planes:quant ${r}`);return r-1}),bm=37,wm=458,Lm=13,Om=Array.from({length:64},(e,t)=>t<2?0:t<16?t-1:t<32?7+(t>>1):15+(t>>2)),Am=Array.from({length:64},(e,t)=>t<2?0:t<3?31:t<5?62:t<9?93:t<13?123:t<21?152:t<33?180:206),Im=Va.map(e=>(7&e)<<3|e>>3),vm=Int32Array.from({length:4096},(e,t)=>2*(Am[t>>6]+Om[63&t])),Fm=(Object.freeze({mode:0,library:!0}),[0,1,2,2,3,4,5,6,7,7,7,7,7]),Nm={dcBuckets:e=>(t,r,n,i)=>0===t?n:e?i:1===t?i+(n>>1):i+(i-1>>1)+1+(n>>1),sizes:e=>(t,r)=>2*(e&&t?1:t)+(r?1:0),sizesShared:()=>(e,t)=>(e?2:0)+(t?1:0),sizes3:e=>(t,r)=>3*(e&&t?1:t)+(0===Fm[r]?0:2===Fm[r]?1:2),sizes3Shared:()=>(e,t)=>(e?3:0)+(0===Fm[t]?0:2===Fm[t]?1:2),sizesDc:e=>(t,r,n,i)=>{let o=i<=2?n:2*n/i|0;return 0===t?(Fm[r]?2:0)+o:e?4+(Fm[r]?1:0):4+2*(t-1)+(Fm[r]?1:0)},fine:()=>(e,t,r,n)=>(8*e+Fm[t])*n+r,standard:()=>(e,t)=>(e?km:xm)[t]},xm=[0,1,2,2,3,3,4,5,6,6,6,6,6],km=[7,8,9,9,10,11,12,13,14,14,14,14,14],Em=(e,t,r,n=null)=>({T:e,size:t,bytes:t*e.BYTES_PER_ELEMENT,put:r,back:n}),Cm=e=>e.fill(0),Bm=(e,t,r=t.length,n)=>Em(e,r,e=>e.set(r===t.length?t:t.subarray(0,r)),n?r:null),Um=(e,t,r)=>Em(e,t,r?Cm:null,t),Hm=(e,t,r,n)=>Em(e,t,n?Cm:null,r),Jm=(e,t)=>Em(Uint8Array,e,t?Cm:null),Km=Em,Dm=()=>{throw yo("JXL_INTERNAL","capture-kernels:outside-bounds")},Tm=[-200,-100,-50,-25,-12,-6,-3,-1,0,2,4,7,13,26,51,101,201],Sm=Uint8Array.from({length:511},(e,t)=>Tm.filter(e=>e<t-255).length),Gm=Uint8Array.of(0,1,3,4,5,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,22,23,24,25,26,27,27,28,29,30,31,31),jm=e=>Oa()?Aa(e):Object.assign(new Error("capture kernel: unavailable",{cause:e}),{code:"JXL_WASM"}),Pm=Dl,_m=1===new Uint8Array(new Uint32Array([1]).buffer)[0],Xm=65536,qm=null,Rm=[];Zl(()=>{},()=>{Rm.length=0});var zm,Vm,Ym=41943040,Wm=1<<18,Zm=e=>{throw e?.code?e:jm(e)},Qm=e=>Int32Array.of(e.split,e.msb,e.lsb,e.splitToken),$m=(e,t=e.length)=>Km(Int32Array,4*t,r=>{for(let n=0;n<t;n++){let t=e[n];r[4*n]=t.split,r[4*n+1]=t.msb,r[4*n+2]=t.lsb,r[4*n+3]=t.splitToken}}),ec=(e,t)=>$m([e,t]),tc=(e,t,r,n)=>{e.at+n+16>=e.bytes.length&&e.grow(n+16),e.bytes.set(t.subarray(r,r+n),e.at),e.at+=n},rc=(e,t,r)=>{new BigInt64Array(e,t,1)[0]=BigInt(r.acc),new Int32Array(e)[2+(t>>2)]=r.pending},nc=(e,t,r)=>{r.acc=Number(new BigInt64Array(e,t,1)[0]),r.pending=new Int32Array(e)[2+(t>>2)]},ic=(zm=e=>{qt(),Gt();let t=e(Xm);return jt(t.end),{k:Xl,at:t}},Vm=Zm,(e,t,r)=>{try{let n=t.map(e=>"number"==typeof e?null:ArrayBuffer.isView(e)?Bm(e.constructor,e):e),{k:i,at:o}=zm(e=>{let t=e;return{offsets:n.map(e=>e&&(t=(t+15&-16)+e.bytes)-e.bytes),end:t}}),a=i.memory.buffer,l=(e,t,r)=>new e.T(a,o.offsets[t],r),s=[e(i)(...t.map((e,t)=>n[t]?(n[t].put?.(l(n[t],t,n[t].size)),o.offsets[t]):e))];return n.forEach((e,t)=>{if(null==e?.back)return;let n=l(e,t,"function"==typeof e.back?e.back(s[0]):e.back);s.push(r?n:n.slice())}),s}catch(e){return Vm(e)}}),oc=(Float64Array.from({length:256},(e,t)=>Math.log2(1+t)),{residual:ra,run:ea,minSymbol:224,minLength:7}),ac=(e,t,r,n)=>r.rowValues?function(e,t,r,n,i,o){let a=o.predictor,l=o.config||ra,s=0,m=(r,n=l,i=0)=>{e?C(e,t,n,r,i):E(n,r,t,i)},c=()=>{if(s){if(s>=8)m(0),m(s-7-1,ea,224);else for(let e=0;e<s;e++)m(0);s=0}},f=5===a;if(r>0)for(let e=0;e<n;e++){let t=i[e]-(f&&e?i[e-1]:0)|0;if(t){c();for(let e=0,n=t>=0?t+t:-t-t-1;e<(f?1:r);e++)m(n);f&&(s+=r-1)}else s+=r}c()}(e,t,r.w,r.h,r.rowValues,n):function(e,t,r,n,i,o,a=!1,l,s=0){if(n&&i&&(l||!Ia.channel?.(e,t,r,n,i,o,a))&&!function(e,t,r,n,i,o,a,l,s,m){let c=n*i,f=r instanceof Int16Array,h=r instanceof Uint8Array||r instanceof Uint16Array||r instanceof Int8Array;if(!(r instanceof Int32Array||f||h&&1===o.multiplier)||n<1||i<1||r.length<c||!(o.multiplier>=1)||s<0||e&&!(e instanceof vo&&e.write===vo.prototype.write&&e.grow===vo.prototype.grow))return!1;let u=l?3:e?2:a?1:0,d=u<2?t.length:2===u?t.lengths.length:c,p=u<2?Bm(Uint32Array,t):3===u?Jm(4*c):((e,t)=>Km(Uint32Array,e.length*t*2,r=>e.forEach(({lengths:e,codes:n},i)=>{for(let o=0,a=i*t*2;o<t;o++){let t=o<e.length;r[a+2*o]=t?n[o]:0,r[a+2*o+1]=t?e[o]:255}})))([t],257);return ic(a=>(h,p,g,M,y)=>{let b=a.memory.buffer,w=new Int32Array(b);return 2===u&&(rc(b,g,e),w[3+(g>>2)]=y),!(a.channelCode(h,n,i,s,o.predictor,o.offset,o.multiplier,f?1:0,u,M,d,p,p+16,m.minSymbol,m.minLength,M,257,y,g)<0||(1!==o.multiplier&&r.set(f?Int16Array.from(new Int32Array(b,h,c)):new Int32Array(b,h,c)),u<2?t.set(new Uint32Array(b,M,d)):3===u?l.set(new Int32Array(b,M+s*n*4,c-s*n),s*n):(tc(e,new Uint8Array(b),y,w[3+(g>>2)]-y),nc(b,g,e)),0))},[Bm(Int32Array,r,c),ec(o.config??m.residual,m.run),Jm(16),p,Jm(2===u?6*c+64:0)])[0]}(e,t,r,n,i,o,a,l,s,oc))throw Na("channel")}(e,t,r.data,r.w,r.h,n),lc=[N(0),N(1),N(2),N(3),N(4),N(4,1,1),N(4,2,0),N(4,1,2),N(5,1,1),N(2,0,1),N(3,0,1)],sc=[...lc,N(3,1,0),N(4,0,1),N(4,1,0),N(4,2,1),N(5,1,0),N(5,2,0),N(5,2,1)],mc=[...sc,N(1,1,0),N(1,0,1),N(2,1,1),N(2,2,0),N(2,0,2),N(3,1,2),N(3,2,1),N(3,3,0),N(3,0,3),N(4,0,2),N(5),N(5,0,1)],cc=N(4,1,1),fc=new Uint32Array(2048),hc=(()=>{let e=[];for(let t=0;t<=7;t++)for(let r=0;r<=t;r++)for(let n=0;r+n<=t;n++)sc.some(e=>e.split===t&&e.msb===r&&e.lsb===n)||e.push(N(t,r,n));return e})(),uc=class e{constructor(e){this.contexts=e,this.small=new Uint32Array(64*e),this.large=new Array(e).fill(null),this.totals=new Float64Array(e)}add(e,t){if(this.totals[e]++,t<64)return void this.small[64*e+t]++;let r=this.large[e]||(this.large[e]=new Map);r.set(t,(r.get(t)||0)+1)}addTokens(e,t,r){let n=this.totals,i=this.small;for(let o=0;o<r;o++){let r=e[o],a=t[o];a<64?(n[r]++,i[64*r+a]++):this.add(r,a)}}merge(e){for(let t=0;t<this.small.length;t++)this.small[t]+=e.small[t];for(let t=0;t<this.contexts;t++){if(this.totals[t]+=e.totals[t],!e.large[t])continue;let r=this.large[t]||(this.large[t]=new Map);for(let[n,i]of e.large[t])r.set(n,(r.get(n)||0)+i)}}tokens(e,t,r=128){let n=new Uint32Array(r);for(let r of e){let e=64*r;for(let r=0;r<64;r++)this.small[e+r]&&(n[Yt(t,r)]+=this.small[e+r]);let i=this.large[r];if(i)for(let[e,r]of i)n[Yt(t,e)]+=r}return n}aggregate(t){let r=new e(1),n=r.small,i=this.small,o=this.totals,a=this.large,l=0;for(let e=0;e<t.length;e++){let s=t[e],m=64*s;l+=o[s];for(let e=0;e<64;e++)n[e]+=i[m+e];if(a[s]){let e=r.large[0]||(r.large[0]=new Map);for(let[t,r]of a[s])e.set(t,(e.get(t)||0)+r)}}return r.totals[0]=l,r}cost(e,t){return Wt(this.tokens(e,t))+this.rawBits(e,t)}rawBits(e,t){let r=0;for(let i of e){let e=64*i;for(let i=t.splitToken;i<64;i++)this.small[e+i]&&(r+=this.small[e+i]*(n(i)-t.msb-t.lsb));let o=this.large[i];if(o)for(let[e,i]of o)e>=t.splitToken&&(r+=i*(n(e)-t.msb-t.lsb))}return r}},dc=[0,0,0],pc=Uint8Array.from({length:64},(e,t)=>Yt(cc,t)),gc=e=>e<64?pc[e]:Yt(cc,e),Mc=new Float64Array(65536),yc=e=>e<2?0:e<Mc.length?Mc[e]||(Mc[e]=e*Math.log2(e)):e*Math.log2(e),bc=new Uint32Array(64),wc=Symbol("loaded rows"),Lc=({contexts:e,ends:t,freqs:r,fends:n,bits:i,last:o,cost:a})=>Array.from(t,(l,s)=>({contexts:Array.from(e.subarray(s?t[s-1]:0,l)),freqs:r.slice(s?n[s-1]:0,n[s]),bits:i[s],last:o[s],cost:a[s]})),Oc=(e,t,r,i,o)=>W("cluster",()=>function*(e,{maxClusters:t=48,newClusterCost:r=320,seeds:i=96,passes:o,switchCost:a,everyConfig:l=!1,shapedMerge:s=!1,jpeg:m=null,kernels:c=null}={},f,h,u){o??=h?4:2,a??=h?4:0;let d=c&&(h?Math.min(i,2*t):t)<=c.clusters?c:null,p=e.totals,g=e.contexts,M=[],y=0;for(let e=0;e<g;e++)p[e]>0&&y++;let b=new Float64Array(y);for(let e=0,t=0;e<g;e++)p[e]>0&&(b[t++]=e-p[e]*g);b.sort();let w=new Array(y);for(let e=0;e<y;e++){let t=b[e]%g;w[e]=t?t+g:0}let L=[],O=h?Math.min(i,2*t):t,A=e=>{d&&d[wc]!==e&&(e.forEach((e,t)=>d.row(t,e.freqs,e.bits)),d[wc]=e)},I=()=>({clusters:er(L),contexts:tr(M)}),v=e=>{null===e||e===Ja||(L=Lc(e.clusters),M.length=0,M.push(...(({ctx:e,ends:t,runs:r})=>Array.from(e,(e,n)=>({ctx:e,sparse:Array.from(r.subarray(n?t[n-1]:0,t[n]))})))(e.contexts)))};if(d?.seedAll&&w.length)for(let t=0;t<w.length;t+=Ic)v(yield*Y("seeds",()=>{A(L);let n=w.slice(t,t+Ic),i=d.seedAll(n,e,gc,O,r/(h?2:1),L);if(L=d[wc]=i.clusters,h){let{runs:e,offsets:t}=i;for(let r=0;r<n.length;r++)M.push({ctx:n[r],sparse:e.subarray(2*t[r],2*t[r+1])})}return null},I));else for(let t=0;t<w.length;t+=Ac)v(yield*Y("seeds",()=>{A(L);for(let n=t;n<Math.min(w.length,t+Ac);n++){let t=w[n],i=e.tokens([t],cc,64),o=Wt(i),a=d?0:i.findLastIndex(Boolean)+1;if(h){let e=[];for(let t=0;t<i.length;t++)i[t]&&e.push(t,i[t]);M.push({ctx:t,sparse:e})}let l=-1,s=1/0;if(d)d.own(i),[l,s]=d.seedBest(L.length,o);else for(let e=0;e<L.length;e++){let t=L[e],r=Zt(t.freqs,i,Math.max(t.last,a))-t.bits-o;r<s&&(s=r,l=e)}if(l<0||L.length<O&&s>r/(h?2:1))L.push({contexts:[t],freqs:i,bits:o,last:a,cost:-1}),d?.row(L.length-1,i,o);else{let e=L[l];e.contexts.push(t),e.last=Math.max(e.last,a);for(let t=0;t<64;t++)e.freqs[t]+=i[t];e.bits=Wt(e.freqs),d?.row(l,e.freqs,e.bits)}}return d&&(d[wc]=L),null},I));h&&L.length>1&&(L=yield*function*(e,t,r,n,i,o=2,a=0,l=null,s=8192,m=()=>{}){let c=yield*V("merge",()=>{m(e);let t=e.length,n=l?null:new Float64Array(t*t),o=bc,a=(t,r)=>Zt(e[t].freqs,e[r].freqs,Math.max(e[t].last,e[r].last))-e[t].bits-e[r].bits;if(l)l.pairsInit(t);else for(let e=0;e<t;e++)for(let r=e+1;r<t;r++)n[e*t+r]=a(e,r);for(let s=t;s>1;s--){let m=-1,c=-1,f=1/0;if(l)[m,c,f]=l.pairMin(t);else for(let r=0;r<t;r++)if(e[r])for(let i=r+1;i<t;i++)e[i]&&n[r*t+i]<f&&(m=r,c=i,f=n[r*t+i]);let h=e[m],u=e[c];if(s<=r){for(let e=0;e<64;e++)o[e]=h.freqs[e]+u.freqs[e];if(h.cost<0&&(h.cost=i(h.freqs,cc)),u.cost<0&&(u.cost=i(u.freqs,cc)),i(o,cc)>=h.cost+u.cost)break}h.contexts.push(...u.contexts),h.last=Math.max(h.last,u.last);for(let e=0;e<h.freqs.length;e++)h.freqs[e]+=u.freqs[e];if(h.bits=Wt(h.freqs),h.cost=-1,e[c]=null,l)l.row(m,h.freqs,h.bits),l.alive(c,!1),l.pairsUpdate(t,m);else for(let r=0;r<t;r++)e[r]&&r!==m&&(n[Math.min(r,m)*t+Math.max(r,m)]=a(r,m))}return e=e.filter(Boolean),null},()=>er(e));null!==c&&(e=Lc(c));let f=new Int32Array(s).fill(-1);e.forEach((e,t)=>{for(let r of e.contexts)f[r]=t});let h=null;if(a>0){let e=new Array(s);for(let r of t)e[r.ctx]=r;h=[];for(let t=0;t<s;t++)e[t]&&h.push(e[t])}let u=l&&h?l.flatten(h):null;for(let r=0;r<o;r++){let r=!1,i=yield*Y("pass",()=>{let i=e.map(e=>n(e.freqs)),o=e.map(()=>({contexts:[],freqs:new Uint32Array(64),bits:0,last:0,cost:-1}));if(a>0){let e,t=h.length,n=i.length,s=0;if(u)[s,e]=l.assign(u,i,a);else{e=new Int16Array(t*n);let r=new Float64Array(n),o=new Float64Array(n);for(let l=0;l<t;l++){let t=1/0,s=0;for(let e=0;e<n;e++)r[e]<t&&(t=r[e],s=e);let{sparse:m}=h[l];for(let c=0;c<n;c++){let f=i[c],h=0;for(let e=0;e<m.length;e+=2)h+=m[e+1]*f[m[e]];let u=l?r[c]:0,d=l?t+a:0;u<=d?(o[c]=h+u,e[l*n+c]=c):(o[c]=h+d,e[l*n+c]=s)}[r,o]=[o,r]}for(let e=1;e<n;e++)r[e]<r[s]&&(s=e)}for(let i=t-1;i>=0;i--){let{ctx:t,sparse:a}=h[i],l=o[s];l.contexts.push(t);for(let e=0;e<a.length;e+=2)l.freqs[a[e]]+=a[e+1];f[t]!==s&&(r=!0),s=e[i*n+s]}}else for(let{ctx:e,sparse:n}of t){let t=f[e],a=t,l=1/0;for(let e=-1;e<i.length;e++){let r=e<0?t:e,o=i[r],s=0;for(let e=0;e<n.length;e+=2)s+=n[e+1]*o[n[e]];s<l&&(a=r,l=s)}let s=o[a];s.contexts.push(e);for(let e=0;e<n.length;e+=2)s.freqs[n[e]]+=n[e+1];a!==t&&(r=!0)}return(e=o.filter(e=>e.contexts.length)).forEach((e,t)=>{for(let r of e.contexts)f[r]=t}),null},()=>({clusters:er(e),assignments:f.slice(),changed:r}));if(i!==Ja&&(null!==i&&(e=Lc(i.clusters),f.set(i.assignments),r=i.changed),!r))break}return e}(L,M,t,h,s&&u?u:f,o,a,d,e.contexts,A)),L.length||L.push({contexts:[],freqs:new Uint32Array(64),bits:0,last:0,cost:-1});let F=[];for(let t=0;t<L.length;t+=vc)F.push(...yield*V("histogram-prices",()=>L.slice(t,t+vc).map(t=>{let r,o,a=e.aggregate(t.contexts),c=lc[0],h=1/0,p=[],g=[],M=[];for(let e=0;e<64;e++)a.small[e]&&(g.push(e),M.push(a.small[e]));let y=g.length?g[g.length-1]:0;if(a.large[0])for(let[e,t]of a.large[0])g.push(e),M.push(t),e>y&&(y=e);let b=m?y<16384?m.configs:mc:128===i?mc:sc,w=d?.priceConfigs&&f?.kernelTables&&!l&&y<1<<17?d.priceConfigs(g,M,b,f.kernelTables):null;if(w&&!(m&&y>=128))return{config:b[w.index],freqs:w.tokens,extra:w.raw};if(l&&!m&&d?.priceEvery&&f?.kernelTables&&y<1<<17){for(let e of d.priceEvery(g,M,b,hc,y,f.kernelTables)){let t=e.raw+u(e.tokens,e.candidate);t<h&&(h=t,c=e.candidate,r=e.tokens,o=e.raw)}return{config:c,freqs:r,extra:o}}let L=g.length,O=new Int32Array(L),A=new Int32Array(L);for(let e=0;e<L;e++){let t=g[e];t&&(O[e]=n(t),A[e]=t-(1<<O[e]))}let I=(e,t)=>{let{split:r,msb:n,lsb:i,splitToken:o}=e,a=n+i,l=(1<<i)-1,s=0,m=0;for(let e=0;e<L;e++){let c=g[e],f=M[e],h=c;if(c>=o){let t=O[e],m=A[e];h=o+(t-r<<a|m>>t-n<<i|m&l),s+=f*(t-a)}t[h]+=f,h>m&&(m=h)}return[s,m]};if(w)return m.high({config:b[w.index],freqs:w.tokens,extra:w.raw,cost:w.cost},y,I,f,s&&u);for(let e of f?b:lc){let t=y>=e.splitToken?e.splitToken+(n(y)-e.split<<e.msb+e.lsb|(1<<e.msb+e.lsb)-1)+1:0,i=new Uint32Array(Math.max(128,t)),[a]=I(e,i),s=a+(f?f(i,e):Wt(i)+18*e.split+28*(e.msb+e.lsb));l&&p.push({candidate:e,tokens:i,raw:a,cost:s}),s<h&&(h=s,c=e,r=i,o=a)}if(l){let e=p.find(e=>e.candidate===c),t=[],n=new Set(p.map(e=>Vt(e.tokens,e.tokens.findLastIndex(Boolean)+1,e.raw))),i=0,a=!1;for(let e of g)e>i&&(i=e);for(let e of hc){if(e.splitToken>i){if(a)continue;a=!0}let r=fc,[o,l]=I(e,r),s=l>255?0:Vt(r,l+1,o);if(l>255||n.has(s)){r.fill(0,0,l+1);continue}n.add(s);let m=r.slice(0,l+1);r.fill(0,0,l+1),t.push({candidate:e,tokens:m,raw:o,rough:o+Wt(m)})}t.sort((e,t)=>e.rough-t.rough);for(let e of t.slice(0,6))e.cost=e.raw+f(e.tokens,e.candidate),p.push(e);let l=p.sort((e,t)=>e.cost-t.cost).slice(0,4);l.includes(e)||l.push(e),h=1/0;for(let e of l){let t=e.raw+u(e.tokens,e.candidate);t<h&&(h=t,c=e.candidate,r=e.tokens,o=e.raw)}}return{config:c,freqs:r,extra:o}})));return yield*V("histograms",()=>{let t=new Uint8Array(e.contexts),r=F;if(L.forEach((e,r)=>{for(let n of e.contexts)t[n]=r}),h){let n=0;for(;n<e.contexts&&!e.totals[n];)n++;for(let r=0;r<e.contexts;r++)e.totals[r]||(t[r]=r<n?t[n]:t[r-1]);let i=new Int16Array(r.length).fill(-1),o=0;for(let e of t)i[e]<0&&(i[e]=o++);for(let e=0;e<i.length;e++)i[e]<0&&(i[e]=o++);let a=new Array(r.length);r.forEach((e,t)=>{a[i[t]]=e});for(let e=0;e<t.length;e++)t[e]=i[t[e]];return{contextMap:t,histograms:a}}for(let r=0;r+1<e.contexts;){if(!e.totals[r]){r++;continue}let n=r+1;for(;n<e.contexts&&!e.totals[n];)n++;n<e.contexts&&t[r]===t[n]&&t.fill(t[r],r+1,n),r=n}return{contextMap:t,histograms:r}})}(e,t,r,i,o)),Ac=128,Ic=768,vc=16,Fc=Object.assign(nr,{steps:function*(e,t){let r=yield*V("prefix-coding",()=>nr("function"==typeof e?e():e,t),({model:e,bits:t,header:r})=>({contextMap:e.contextMap,histograms:e.histograms,bits:t,header:{...r,bytes:r.bytes.slice(0,r.at+1)}}));if(r.writeHistograms)return r;let{contextMap:n,histograms:i,bits:o}=r,a={kind:"prefix",contextMap:n,histograms:i},l=Object.assign(new vo(0),r.header),{write:s,writeTokens:m}=rr(a);return{contextMap:n,histograms:i,model:a,write:s,writeTokens:m,writeFilled:t?.kernels?.prefixFilled?.(a)||void 0,bits:o,header:l,writeHistograms:e=>e.append(l)}}}),Nc=[N(0),N(4),N(4,1,1),N(3,0,1),N(4,2,0),N(4,2,1),N(4,1,2)],xc=new vo(128),kc=e=>!1,Ec=Object.getPrototypeOf(Uint8Array.prototype),Cc=Object.getOwnPropertyDescriptor(Ec,"length").get,Bc=Object.getOwnPropertyDescriptor(Ec,"buffer").get,Uc=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,Hc=new WeakMap,Jc=Ut(new Int32Array(0),0,!1),Kc=Ut(new Int32Array(0),0,!0),Dc=(()=>{let e=new vo(64);return Kt(e,Jc),e})(),Tc=(()=>{let e=new vo(64);return Kt(e,Kc),e})(),Sc=({candidate:e,header:t},r)=>({candidate:e,codings:r,header:t,total:r.reduce((e,t)=>e+t.bits,t.bitLength)}),Gc=e=>({bytes:e.bytes,at:e.at,pending:e.pending,acc:e.acc}),jc=e=>({...e,bytes:e.bytes.slice(0,e.at+1)}),Pc=e=>e?e.pending?Ba([Q(e.bytes,0,e.at),Uint8Array.of(e.acc)]):Q(e.bytes,0,e.at):new Uint8Array(0),_c=new WeakMap,Xc=null,qc=Object.freeze({maxClusters:32,newClusterCost:160}),Rc=Object.freeze({fast:!0,clusters:Object.freeze({fixed:!0})}),zc=[N(0),N(1),N(2),N(3),N(4),N(4,1,1),N(5,1,1),N(2,0,1),N(3,0,1)],Vc=N(8),Yc=N(4),Wc=N(0),Zc=224,Qc=new Uint8Array(1),$c=new Uint8Array([1,0]),ef=new Uint8Array(256),tf=new Int32Array(32768).fill(-1),rf=new Int32Array(0),nf=new Uint32Array(0),of=new Uint8Array(4096),af=new Uint32Array(4096),lf=new Uint32Array(4096),sf=new Uint8Array(4096),mf=new Uint8Array(4096),cf=new Uint32Array(4096),ff=new Uint8Array(4096),hf=new Uint8Array(4096),uf=new Uint32Array(4096),df=new Uint32Array(264),pf=new Uint32Array(40),gf=[0,0,0],Mf=[5,4,4,4,4,4,3,3,3,3,3,6,7],yf=[17,11,15,3,9,7,4,2,5,6,0,33,1],bf=new Float64Array(4097);for(let e=1;e<=4096;e++)bf[e]=12-Math.log2(e);var wf=(e,t)=>Math.max(0,Math.min(e,t-(12-e>>1))),Lf=e=>{let t=n(e+1);return 2*t+(t<3?1:0)},Of=Array.from({length:13},(e,t)=>t<12&&Lf(t)===Lf(t+1)&&Array.from({length:11},(e,t)=>t+1).every(e=>wf(e,t)===wf(e,t+1))),Af=new Float64Array(4097);for(let e=1;e<=4096;e++)Af[e]=Math.log2(e);var If=Object.freeze({log2:Af,symbolBits:bf,logLengths:Int32Array.from(Mf),repeats:Int32Array.from(Of,Number)}),vf=e=>e?4+n(e):1,Ff=new Int32Array(256),Nf=new Uint16Array(256),xf=new Int32Array(256),kf=new Uint16Array(256),Ef=new Uint16Array(256),Cf=Uint16Array.from({length:4096},(e,t)=>t),Bf=class{constructor(){this.bitLength=0}write(e){this.bitLength+=e}};Ur.kernelTables={symbolBits:bf,logLengths:Uint8Array.from(Mf)},new Map;var Uf=new WeakMap;Kr.steps=Dr;var Hf=new WeakMap,Jf=[N(7),N(7,1,0),N(7,0,1),N(7,2,0),N(7,1,1),N(7,0,2),N(7,3,0),N(7,2,1),N(7,1,2),N(6,4,0),N(6,3,1),N(6,2,2)],Kf=new Uint32Array(2048),Df=Object.freeze({configs:[...sc,N(2,1,1),N(3,1,2),N(3,2,1),N(4,0,2),N(5),N(5,0,1),N(5,1,2),N(6),N(6,1,0),N(6,0,1),N(6,2,0),N(6,1,1),N(6,0,2),N(6,2,1),N(6,1,2)],high(e,t,r,i,o){let a=null;for(let e of Jf){if((t>=e.splitToken?e.splitToken+(n(t)-e.split<<e.msb+e.lsb|(1<<e.msb+e.lsb)-1)+1:t+1)>256)continue;let[o,l]=r(e,Kf);if(l>255){Kf.fill(0,0,l+1);continue}let s=Kf.slice(0,l+1);Kf.fill(0,0,l+1);let m=o+i(s,e);(!a||m<a.cost)&&(a={candidate:e,tokens:s,raw:o,cost:m})}let{config:l,freqs:s,extra:m}=e;return a&&(o?a.raw+o(a.tokens,a.candidate)<m+o(s,l):a.cost<e.cost)?{config:a.candidate,freqs:a.tokens,extra:a.raw}:{config:l,freqs:s,extra:m}}}),Tf=[15,9,10,11,12,13,14,4,5,6,7,8,2,3],Sf=[5,6,1,2,3,4,0,11,7,10,12],Gf=65536,jf=4096,Pf=(Object.freeze({split:4,splitToken:16,msb:1,lsb:2}),new Float64Array(1)),_f=e=>{let t=new Uint32Array(na);return t.set(e),t},Xf=(e,t,r)=>Math.min(e,255+Math.floor(t*r/16)),qf=function*(e,t,r,n,i=[]){let o=eh(t,r),a=th(n,i,o);return o&&a.predictors.length<3?null:yield*function*(e,t,r,{nodes:n=119,samples:i=Gf,bins:o=32,properties:a=Tf,predictors:l=Sf,references:s=[],referenceKinds:m=[0,1,2,3],least:c=4096,depth:f=24,charge:h=32,leafBits:u,histBase:d,histSym:p,clustered:g=!1,clusters:M=192}={},y=null){let b=(n=Xf(n,t,r))+1>>1,w={leaves:Math.min(b,255),depth:f,samples:i,bins:o,properties:a,predictors:l,references:s,referenceKinds:m,least:c,charge:h,leafBits:u,histBase:d,histSym:p,clustered:!1,clusters:M};if(!Ha())return Yr(e,t,r,{nodes:n,...w},y);let L=yield*V("tree-columns",()=>Vr(e,t,r,w,y??Gr(e,t,r)));if(!L)return null;let O=e=>Xr(L.quantized,L.symbolSets,l,t*r,w,e),A=null;do{let e=yield*Y("tree-splits",()=>{let e=O(A);return qr(e,8),Rr(e)});e!==Ja&&(A=e)}while(!A?.done);return Wr(zr(O(A)))}(e,t,r,a,o)},Rf=new Int32Array(0),zf=e=>(Rf.length<e&&(Rf=new Int32Array(e)),Rf.subarray(0,e)),Vf=new Map,Yf=[5,6,1,2,3,4,0],Wf=[5,1,2,7],Zf=[],Qf=16384,$f=1<<20,eh=(e,t)=>e>Qf||e*t>$f?{residuals:new Uint32Array(e*t),properties:new Int32Array(e*t)}:null,th=(e,t,r)=>r?{...e,references:t,predictors:e.predictors.filter(e=>6!==e),properties:e.properties.filter(e=>15!==e)}:{...e,references:t},rh=[[4],[0],[1],[2],[3],[6],[8],[4,0,1],[4,0,2],[4,0,3],[4,0,4],[4,1,3],[4,1,1],[4,2,2],[3,0,1]].map(e=>N(...e)),nh=(()=>{let e=[];for(let t=0;t<8;t++)for(let r=-7;r<9;r++)(t||r>0)&&e.push([r,t]);return Int8Array.from(e.sort(([e,t],[r,n])=>e*e+t*t-r*r-n*n||Math.abs(e)-Math.abs(r)||r-e).flat())})(),ih=P,oh={prices:4},ah=(e,t)=>t(),lh=new Map,sh=[...rh,...[[4,2,1],[5,1,1],[5,2,1],[6,1,1],[6,2,1],[7,2,1],[5],[6],[7],[8],[9],[10],[11],[12],[13]].map(e=>N(...e))],mh=[];for(let e=0;e<=8;e++)for(let t=0;t<=e;t++)for(let r=0;t+r<=e;r++)mh.push(N(e,t,r));var ch=512,fh=32768,hh=new Uint32Array(fh),uh=new Uint16Array(fh),dh=0,ph={values:new Int32Array(0),counts:new Uint32Array(0)},gh=[[8,4,4],[10,4,3],[10,5,4],[10,5,5],[12,5,5],[12,6,5],[12,6,6],[13,6,6],[14,6,6],[14,7,7]].map(e=>N(...e)),Mh=[...rh,...gh],yh=(N(4,1,1),[new Uint32Array(0),new Uint32Array(0),new Uint32Array(0)]),bh=(e,t,r)=>{if(yh[e].length<t+r){let n=new Uint32Array(Math.max(t+r,2*yh[e].length));n.set(yh[e].subarray(0,t)),yh[e]=n}return yh[e]},wh=e=>e.some(e=>e.pieceValue.some(e=>e>65535))?null:e.map(e=>e.count>1&&e.width<=16384&&e.count<=1<<20?function(e,t,r){return ah("copies",()=>{let n=function(e,t,r,n,i,o,a,l,s,m,c=1<<30,f=1<<30){try{if(!Dt())throw Aa();let h=n*i,u=!1;(!(e instanceof Uint16Array||u&&t===n&&!r&&null===o)||n<1||n>16384||i<1||h>1048576||t<n||r<0||r+(i-1)*t+n>e.length||null!==o&&!(o instanceof Uint8Array&&o.length>=h)||!(m instanceof Uint8Array)||m.length>8*n+64||a<0||a>64||l<1||s<1||s>2||c<0||c>1<<30||f<1||f>1<<30)&&Dm();let d=u||!!o,p=h+1>>1,g=d?null:`${n},${i},${a},${l},${s},${c},${f},${m.length}`;return ic(M=>(y,b,w,L,O,A,I,v)=>{let F=M.memory.buffer,N=new Uint16Array(F,L,h);if(u)new Int16Array(F,A,h).set(e.subarray(0,h)),M.smooth(A,n,0,i,L,v);else{if(t===n)N.set(e.subarray(r,r+h));else for(let o=0,a=r;o<i;o++,a+=t)N.set(e.subarray(a,a+n),o*n);o&&new Uint8Array(F).set(o.subarray(0,h),v)}let x=g&&Wl()?Rm.find(e=>e.key===g):null,k=v+h+19&-4;if(x){let e=new Uint16Array(F);if(e[(L>>1)+h]=0,e.set(x.values,k>>1),M.peelEqual(L,k,p))return{count:x.count,value:x.value.slice(),distance:x.distance.slice(),context:new Uint8Array(x.count)}}let E=M.copies(L,d?v:0,h,n,a,l,s,y,m.length,w,O,b,A,I,v,c,f),C={count:E,value:new Int32Array(F.slice(A,A+4*E)),distance:new Int32Array(F.slice(I,I+4*E)),context:d?new Uint8Array(F.slice(v,v+E)):new Uint8Array(E)};if(g&&Wl()){let e=new Uint16Array(2*p);e.set(N),Rm.unshift({key:g,values:e,count:E,value:C.value.slice(),distance:C.distance.slice()}),Rm.length=Math.min(Rm.length,4)}return C},[m,Jm(832),Jm(a?262144:0),Jm(2*h+19&-4),Jm(a?4*h:0),Jm(4*h),Jm(4*h),Jm(h+20+4*p)])[0]}catch(e){Zm(e)}}(Uint16Array.from(e.pieceValue),t,0,t,r,e.pieceContext,0,4,1,rn(t)[0]);return{...e,count:n.count,pieceValue:n.value,pieceDistance:n.distance,pieceContext:n.context}})}(e,e.width,e.height):e),Lh=Object.freeze({tokens:function(e,t,r,n,i,o){let a=n?1:0,l=n?.spatial?n.sCodes.length:0,s=i+a,m=1;for(let t of e)m=Math.max(m,Math.min(262144,t.count));let[c,f]=ic(t=>(r,i,s,c,f,h,u,d,p,g,M)=>{let y=t.memory.buffer,b=new Int32Array(y),w=new Uint8Array(y),L=new Uint32Array(o),O=new Uint32Array(o),A=0;for(let o of e)for(let e=0;e<o.count;e+=m){let I=Math.min(o.count,e+m);b.set(o.pieceValue.subarray(e,I),h>>2),b.set(o.pieceDistance.subarray(e,I),u>>2),w.set(o.pieceContext.subarray(e,I),d);let v=t.ansTokens(h,u,d,I-e,r+4*o.base,i,a,n?Math.min(n.minSymbol,256):256,s,c,n?n.minSymbol:0,n?.spatial?1:0,l,f,p,g,0,M);if(v<0)return null;L.set(new Uint32Array(y,p,v),A),O.set(new Uint32Array(y,g,v),A),A+=v}return{tags:L,bits:O,n:A}},[Bm(Int32Array,t),$m(r,i),n?Qm(n.lengthConfig):Jm(16),n?Qm(n.distanceConfig):Jm(16),l?Bm(Int16Array,n.sCodes,l):Jm(0),Jm(4*m),Jm(4*m),Jm(m),Jm(8*m),Jm(8*m),Um(Uint32Array,256*s,1)]);return c&&{...c,freqs:Array.from({length:s},(e,t)=>f.subarray(256*t,256*t+256))}},write:function(e,t,{lz77:r,contextMap:n,configs:o},a){let l=e,{tags:s,bits:m,n:c,freqs:f}=a,h=0;for(let e of f)for(let t=255;t>h;t--)if(e[t]){h=t;break}let u=Math.max(5,i(h+1),...o.map(e=>e.split));if(u>8)return!1;let d=[];for(let e of f){let t=Fr(e);if(!t)return!1;d.push({...t,...Er(t.counts,u)})}return l.write(1,r?1:0),r&&(l.writeU32([[0,224],[0,512],[0,4096],[15,8]],r.minSymbol),l.writeU32([[0,3],[0,4],[2,5],[8,9]],r.minLength),x(l,r.lengthConfig,8)),Br(l,n,u,o,d),ss(t,s,m,c,d),!0},distanceConfig:function({values:e,counts:t}){let r=null,n=1/0,i=[0,0,0];for(let o of rh){let a=new Map,l=0,s=0,m=!0;for(let r=0;r<e.length&&m;r++)k(o,e[r],i),i[0]>255&&(m=!1),a.set(i[0],(a.get(i[0])||0)+t[r]),l+=i[1]*t[r],s+=t[r];if(m){for(let e of a.values())l+=e*Math.log2(s/e);l<n&&(n=l,r=o)}}return r},lengthConfig:function(e,t){let r=null,n=1/0,i=[0,0,0];for(let o of rh){let a=0,l=!0;for(let r of e){if(!r.copies)continue;let e=new Map,{values:n,counts:s}=r.lengths;for(let r=0;r<n.length&&l;r++)k(o,n[r],i),i[0]>=t&&(l=!1),e.set(i[0],(e.get(i[0])||0)+s[r]),a+=i[1]*s[r];for(let t of e.values())a+=t*Math.log2(r.copies/t)}l&&a<n&&(n=a,r=o)}return r}}),Oh=(Object.freeze({top:9,next:null,ans:Lh,signs:!0,trees:Object.freeze({model:function(e,t,r,n=null,i=void 0,o=[]){i?.leaf&&t*r<=4096&&(i={...i,least:64,charge:2,...i.small});let a=Qr(e,t,r);n||=function(e,t,r,n){let i=Zf.find(t=>t.key===n&&(t=>{if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0})(t.plane));if(i)return i.answer;let o=Gr(e,t,r);return Zf.unshift({key:n,plane:e.slice(),answer:o}),Zf.length>1&&Zf.pop(),o}(e,t,r,a);let l=a+(i?":"+JSON.stringify(i):"")+o.map(e=>"|"+Qr(e,t,r)).join(""),s=Vf.get(l);if(void 0===s)Vf.size>=256&&Vf.delete(Vf.keys().next().value),s=Yr(e,t,r,o.length?{...i,references:o}:i,n),Vf.set(l,s&&{tree:s.tree,leaves:s.leaves,classes:s.classes});else if(s){let{residuals:i,properties:a}=n||Gr(e,t,r);s={...s,...Zr(s.tree,e,t,r,i,a,o)}}if(!s&&i?.leaf){let{residuals:a,properties:l}=n,m=t*r<=4096||i.whole,c=null;for(let n of i.predictors??(m?Yf:Wf)){let i=Object.assign(J(n),{local:0}),s=Zr(i,e,t,r,a,l,o),f=s.values,h=f[0],u=0,d=0;for(;d<f.length&&f[d]===h;)d++;if(d<f.length){let e=new Map;for(let t of f)e.set(t,(e.get(t)??0)+1);for(let t of e.values())u-=t*Math.log2(t/f.length)}if((!c||u<c.bits)&&(c={bits:u,tree:i,coded:s}),!m&&u<=.01*t*r)break}(m||c.bits<=.01*t*r)&&(s={tree:c.tree,leaves:[c.tree],...c.coded})}if(!s)return null;let{tree:m,leaves:c,classes:f=c.length,values:h,contexts:u}=s,d=t*r;return{kind:"smooth",tree:m,leaves:c,classes:f,width:t,height:r,stride:t,origin:0,plane:e,minimum:4,count:d,pieceValue:h,pieceDistance:zf(d),pieceContext:u}},letGo:function(e){Vf.clear(),Zf.length=0,Rf=new Int32Array(0),Pf.length>e&&(Pf=Pf.slice(0,e))}}),transform:function(e,t){return{type:e,fill(r,n,i,o,a,l,s){(Ia.rct??va().rct??Fa())(n,i,o,a,l,s,e,t,r)}}},gpu:Object.freeze({pixels:1<<20})}),{samples:65536,bins:128,leaves:64,depth:12,properties:Object.freeze([15,9,10,11,12,13,14,4,5,6,7,8,2,3]),predictors:Object.freeze([5,3,6,1,2,4,13,0]),weighted:!0,references:!0,referenceKinds:[0,1,2,3],ans:!0}),Ah={broad:Oh,jpegBroad:{...Oh,clustered:!0},fast:{...Oh,samples:16384,bins:64},rich:{...Oh,samples:4096,bins:32,leaves:32,depth:8},quick:{...Oh,samples:2048,bins:16,leaves:16,depth:6}},Ih=e=>{if(e instanceof Int16Array)return e;for(let t of e)if(t<-32768||t>32767)return null;return Int16Array.from(e)},vh=[],Fh=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0},Nh=function*(e,t){return t()},xh=e=>Ha()&&e.reduce((e,t)=>e+t.w*t.h,0)>=16384,kh=function*(e,t,r,n,i,o){let a=xh(t)?V:Nh,l=t.map(e=>Ih(e.data)),s=Object.assign(new vo(0),yield*a("lf-plain",()=>{let e=new vo(256);return n(e),{...e,bytes:e.bytes.slice(0,e.at+1)}}));if(l.includes(null)||t.some(e=>!e.w||!e.h))return void e.append(s);let m=function(e){let t=Hh.get(e);if(!t){let r={nodes:2*e.leaves-1,samples:Math.max(e.samples,Ch),bins:e.bins,depth:e.depth,least:64,charge:Bh,properties:e.properties.filter(t=>15!==t||!1!==e.weighted),predictors:e.predictors??[5,6,1,2,3,4,0],referenceKinds:e.referenceKinds??[0,1,2,3],references:!!e.references,ans:!!e.ans},n=JSON.stringify(r);t=[...Hh.values()].find(e=>e.key===n)??Object.freeze({...r,key:n}),Hh.set(e,t)}return t}(r),c=a===Nh&&function(e,t,r,n,i){return vh.find(o=>o.options===r&&o.together===i&&o.data.length===t.length&&e.every((e,r)=>e.w===o.shapes[r][0]&&e.h===o.shapes[r][1]&&Fh(t[r],o.data[r]))&&((e,t)=>e.at===t.at&&e.pending===t.pending&&e.acc===t.acc&&Fh(e.bytes.subarray(0,e.at),t.bytes.subarray(0,t.at)))(n,o.fallback))?.chosen}(t,l,m,s,i);if(c)return void e.append(c);let f=i&&m.references&&t.every(e=>e.w===t[0].w&&e.h===t[0].h),h=e=>f?l.slice(0,e).reverse():[],u=[];for(let e=0;e<t.length;e++)u.push(a===V?yield*W("lf-tree",()=>qf(l[e],t[e].w,t[e].h,m,h(e))):tn(l[e],t[e].w,t[e].h,m,h(e)));let d=(e,r)=>a(e,()=>{let e=r(Ta(u).map((e,r)=>e?.pieceValue?e:((e,t,r,n,i=[])=>$r(e,t,r,n,i,eh(t,r)))(l[r],t[r].w,t[r].h,e,h(r))));if(!e)return null;let n=new vo(256);return sn(n,e,m.ans?Uh:null),{...n,bytes:n.bytes.slice(0,n.at+1)}}),p=Object.assign(new vo(0),yield*d("lf-stream",e=>e)),g=yield*d("lf-runs",wh),M=g&&Object.assign(new vo(0),g),y=M&&M.bitLength<p.bitLength?M:p,b=y.bitLength<s.bitLength?y:s;a===Nh&&function(e,t,r,n,i,o){vh.unshift({options:r,together:i,shapes:e.map(e=>[e.w,e.h]),data:t.map(e=>e.slice()),fallback:n,chosen:o}),vh.length>32&&vh.pop()}(t,l,m,s,i,b),e.append(b)},Eh=(t,r,n,i,o,a)=>e(kh(t,r,n,i,o)),Ch=8192,Bh=8,Uh=Lh,Hh=new Map,Jh=new Map,Kh=[[0,0,0]],Dh=Object.freeze({ans:!0,hybrid:!0,sharing:Object.freeze([])}),Th=Object.freeze({...Dh,projected:!0}),Sh=Object.freeze({dc:(t,r,n,i,o)=>e(fn(t,r,n,0,o)),dcSteps:fn,metadata:(e,t,r)=>r(e),plainMetadata:!0}),Gh=Object.freeze({dc:(t,r,n,i)=>e(hn(t,r,n)),dcSteps:hn,metadata:(e,t,r)=>r(e),plainMetadata:!0}),jh=2*Math.log2(17/16),Ph=4096/(65536*Math.LN2*15/16),_h=cn("quick"),Xh=[],qh=Object.freeze({*dcSteps(e,t,r,n){let i=!xh(t),o=i&&(e=>{let t=2166136261;for(let{w:r,h:n,data:i}of e){t=Math.imul(t^r,16777619),t=Math.imul(t^n,16777619);for(let e=0;e<i.length;e++)t=Math.imul(t^i[e],16777619)}return t>>>0})(t),a=i&&Xh.find(e=>e.hash===o&&e.kernels===n&&((e,t)=>e.length===t.length&&e.every((e,r)=>{let n=t[r];if(e.w!==n.w||e.h!==n.h||e.data.constructor!==n.data.constructor||e.data.length!==n.data.length)return!1;for(let t=0;t<e.data.length;t++)if(e.data[t]!==n.data[t])return!1;return!0}))(e.planes,t));if(a)return void e.append(a.bits);let l=new vo(256),s=new vo(256);yield*mn(t,_h.dcSteps(l,t,r,n)),yield*mn(t,fn(s,t,r));let m=l.bitLength<=s.bitLength?l:s;if(e.append(m),!i)return;let c=t.map(({w:e,h:t,data:r})=>({w:e,h:t,data:r.slice()}));Xh.push({hash:o,kernels:n,planes:c,bits:m,bytes:c.reduce((e,t)=>e+t.data.byteLength,0)});for(let e=Xh.reduce((e,t)=>e+t.bytes,0);e>8388608;)e-=Xh.shift().bytes},dc:(t,r,n,i)=>e(qh.dcSteps(t,r,n,i)),metadata:_h.metadata,metadataSteps:_h.metadataSteps}),Rh=(e,t)=>e[t+"Steps"]??function*(r,n,i,o){e[t](r,n,i,o)},zh=(t,r)=>Object.freeze(Object.fromEntries(["dc","metadata"].flatMap(n=>{let i=(e,i,o,a)=>function*(e,t,r,n,i,o,a){let l=new vo(256),s=new vo(256),m=(e=>{let t=null;return r=>{t||(t=new vo(256),e(t)),r.append(t)}})(o);yield*mn(i,Rh(e,r)(l,i,m,a)),yield*mn(i,Rh(t,r)(s,i,m,a)),n.append(l.bitLength<=s.bitLength?l:s)}(t,r,n,e,i,o,a);return[[n,(...t)=>e(i(...t))],[n+"Steps",i]]}))),Vh=zh(cn("rich"),qh),Yh=(zh(cn("jpegBroad"),Vh),zh(cn("fast"),Vh)),Wh=zh(zh(cn("jpegBroad"),cn("broad")),Yh),Zh=zh(cn("jpegBroad"),Yh),Qh=e=>1&e?-(e+1)/2:e/2,$h=Int32Array.from({length:4096},(e,t)=>((e,t)=>2*(Am[e]+Om[t])+0)(t>>6,63&t)),eu=e=>e.read(1)?(t=>(1<<t)+e.read(t))(e.read(3)):0,tu=10,ru=1073741824,nu=e=>({table:Int32Array.of(e<<5),bits:0}),iu=(e,t,r)=>{let n=e[t&(1<<Math.min(r,tu))-1];return n>=ru?e[n-ru+(t>>>tu&(1<<r-tu)-1)]:n},ou=e=>e>=97&&e<=122||e>=65&&e<=90?0:e>=48&&e<=57||46===e||44===e?1:0===e?2:1===e?3:e<16?4:255===e?6:e>240?5:7,au=e=>e>=97&&e<=122||e>=65&&e<=90?0:e>=48&&e<=57||46===e||44===e?1:e<16?2:e>240?3:4,lu=Int32Array.from({length:64},(e,t)=>Math.floor(16777216/(t+1))),su=(e,t)=>{let r=Math.max(0,26-Math.clz32(e+1));return 4+(t*lu[e>>r]>>r)},mu=(e,t,r)=>Math.max(Math.min(e,t),Math.min(Math.max(e,t),e+t-r)),cu=new Uint8Array([0,0,0,12,74,88,76,32,13,10,135,10]),fu=1718909296,hu=1786276896,uu=1786276963,du=1786276976,pu=1651666786,gu=1784836708,Mu=1786276972,yu=e=>yo("JXL_INPUT",e),bu=65536,wu=()=>({at:cu.length,first:!0,next:0,complete:!1,stream:0,minorVersion:0,level:5,lastIndex:-1,count:0,levelSeen:!1,indexBoxes:0,gainBoxes:0,prefixes:new Map}),Lu=[["",0,""],["",0," "],[" ",0," "],["",3,""],["",1," "],["",0," the "],[" ",0,""],["s ",0," "],["",0," of "],["",1,""],["",0," and "],["",4,""],["",12,""],[", ",0," "],["",0,", "],[" ",1," "],["",0," in "],["",0," to "],["e ",0," "],["",0,'"'],["",0,"."],["",0,'">'],["",0,"\n"],["",14,""],["",0,"]"],["",0," for "],["",5,""],["",13,""],["",0," a "],["",0," that "],[" ",1,""],["",0,". "],[".",0,""],[" ",0,", "],["",6,""],["",0," with "],["",0,"'"],["",0," from "],["",0," by "],["",7,""],["",8,""],[" the ",0,""],["",15,""],["",0,". The "],["",2,""],["",0," on "],["",0," as "],["",0," is "],["",18,""],["",12,"ing "],["",0,"\n\t"],["",0,":"],[" ",0,". "],["",0,"ed "],["",11,""],["",9,""],["",17,""],["",0,"("],["",1,", "],["",19,""],["",0," at "],["",0,"ly "],[" the ",0," of "],["",16,""],["",20,""],[" ",1,", "],["",1,'"'],[".",0,"("],["",2," "],["",1,'">'],["",0,'="'],[" ",0,"."],[".com/",0,""],[" the ",0," of the "],["",1,"'"],["",0,". This "],["",0,","],[".",0," "],["",1,"("],["",1,"."],["",0," not "],[" ",0,'="'],["",0,"er "],[" ",2," "],["",0,"al "],[" ",2,""],["",0,"='"],["",2,'"'],["",1,". "],[" ",0,"("],["",0,"ful "],[" ",1,". "],["",0,"ive "],["",0,"less "],["",2,"'"],["",0,"est "],[" ",1,"."],["",2,'">'],[" ",0,"='"],["",1,","],["",0,"ize "],["",2,"."],[" ",0,""],[" ",0,","],["",1,'="'],["",2,'="'],["",0,"ous "],["",2,", "],["",1,"='"],[" ",1,","],[" ",2,'="'],[" ",2,", "],["",2,","],["",2,"("],["",2,". "],[" ",2,"."],["",2,"='"],[" ",2,". "],[" ",1,'="'],[" ",2,"='"],[" ",1,"='"]],Ou=[0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,12,14,24],Au=[0,0,0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,24],Iu=[0,0,0,0,8,8,0,16,8,16,16],vu=[0,8,0,8,0,8,16,0,16,8,16],Fu=(e,t)=>e.map(e=>{let r=t;return t+=1<<e,r}),Nu=Fu(Ou,0),xu=Fu(Au,2),ku=[2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,7,8,9,10,11,12,13,24],Eu=Fu(ku,1),Cu=[0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5],Bu=Cu.reduce((e,t,r)=>[...e,e[r]+(r<4?0:r<<t)],[0]),Uu=Uint8Array.from([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0]),Hu=Uint8Array.from({length:256},(e,t)=>t<33||t>=127&&t<224?0:t>=224||t>=48&&t<=57||t>=65&&t<=90?2:t>=97&&t<=122?3:1),Ju=Uint8Array.from({length:256},(e,t)=>t?t<16?1:t<64?2:t<128?3:t<192?4:t<240?5:t<255?6:7:0),Ku=e=>yo("JXL_INPUT","Brotli: "+e),Du=(e,t="corrupt stream")=>{if(!e)throw Ku(t)},Tu=()=>yo("JXL_SIZE","Brotli: over maxOutputLength"),Su=[128,192,384,256,320,512,448,576,640],Gu=(e,t,r)=>e.write(t.lengths[r],t.codes[r]),ju=(e,t,r)=>{if(ArrayBuffer.isView(e))return e;let n=new Uint8Array(e.length);return n.set(e.subarray(t,Math.min(e.length,r+8)),t),n},Pu=function*(e,t){return t()},_u=class{constructor(e,t=0){this.bytes=e,this.pos=t,this.start=0,this.part=null}byte(e){return(!this.part||e<this.start||e>=this.start+this.part.length)&&(this.start=e,this.part=this.bytes.subarray(e,Math.min(this.bytes.length,e+65536))),this.part[e-this.start]}read(e){Du(this.pos+e<=8*this.bytes.length,"truncated");let t=0,r=0;for(;e;){let n=Math.min(e,8-(7&this.pos));t+=(this.byte(this.pos>>3)>>(7&this.pos)&(1<<n)-1)*(1<<r),this.pos+=n,e-=n,r+=n}return t}pad(){Du(0===this.read((8-this.pos%8)%8),"nonzero padding")}get bit(){return this.pos}skip(e){Du(this.pos+e<=8*this.bytes.length,"truncated"),this.pos+=e}align(){this.pad()}end(){this.align(),Du(this.pos===8*this.bytes.length,"trailing bytes")}},Xu=function(e,t,r,n,i,o){function a(t){let r={count:g(t),current:0,previous:1,remaining:1/0};return r.count>1&&(r.types=e(t,r.count+2),r.lengths=e(t,26),r.remaining=M(t,r.lengths)),r}function l(e,n){if(!n.remaining){let i=t(e,n.types),o=0===i?n.previous:1===i?(n.current+1)%n.count:i-2;r(o<n.count,"Invalid Brotli block type.",e),n.previous=n.current,n.current=o,n.remaining=M(e,n.lengths)}return n.remaining--,n.current}function s(n,i){let o=g(n),a=new Uint8Array(i);if(1===o)return{count:o,map:a};let l=n.read(1)?n.read(4)+1:0,s=e(n,o+l);for(let e=0;e<i;){let m=t(n,s);if(m>0&&m<=l){let t=(1<<m)+n.read(m);r(t<=i-e,"Brotli context run exceeds its map.",n),e+=t}else r(m-l<o,"Invalid Brotli context map.",n),a[e++]=m?m-l:0}if(n.read(1)){let e=Uint8Array.from({length:256},(e,t)=>t);for(let t=0;t<i;t++){let r=a[t],n=e[r];e.copyWithin(1,0,r),e[0]=n,a[t]=n}}return{count:o,map:a}}function m(e,t,r,n,i){if(t<4)return i[t];if(t<16){let e=t<10?t-4:t-10;return i[t<10?0:1]+(1&e?1:-1)*((e>>>1)+1)}if(t<16+n)return t-15;let o=t-16-n,a=o>>>r,l=o&(1<<r)-1,s=1+(a>>>1);return((2+(1&a))*(1<<s)-4+e.read(s))*(1<<r)+l+n+1}function c(e,t,n,i,o,a){r(n<=2147483644&&e>=4&&e<=24,"Invalid Brotli dictionary word length.",i);let l=1<<Cu[e],s=Lu[Math.floor(t/l)];r(s,"Invalid Brotli dictionary transformation.",i);let[m,c,f]=s,h=c>=3&&c<=11?Math.min(e,c-2):0,u=c>=12?Math.max(0,e-(c-11)):e,d=Math.max(0,u-h),p=m.length+d+f.length;r(p<=a&&!(0===p&&n<=120),"Brotli dictionary word exceeds its meta-block.",i);let g=o(),M=new Uint8Array(p),y=0;for(let e=0;e<m.length;e++)M[y++]=m.charCodeAt(e);let b=y,w=Bu[e]+t%l*e+h;if(d&&M.set(g.subarray(w,w+d),y),y+=d,1===c||2===c)for(let e=b;e<y;){let t=M[e],r=t<192?1:t<224?2:3;if(1===r?t>=97&&t<=122&&(M[e]^=32):e+r<=y&&(M[e+r-1]^=2===r?32:5),1===c)break;e+=r}for(let e=0;e<f.length;e++)M[y++]=f.charCodeAt(e);return M}function f(e){let t=i(e),n=16;if(t.read(1)){let e=t.read(3);if(e)n=e+17;else{let e=t.read(3);r(1!==e,"Invalid Brotli window size.",t),n=e?e+8:17}}return{window:(1<<n)-16,history:[4,11,15,16],at:0,last:!1,blocks:0,bit:t.bit}}function h(e,t,o){let l={...t},m=i(e,l.bit);if(++l.blocks>o.maxBlocks&&n(!0),l.last=!!m.read(1),l.last&&m.read(1))return l.bit=m.bit,{state:l,kind:"end"};let c=m.read(2)+4;if(7===c){r(!m.read(1),"Invalid Brotli metadata reserved bit.",m);let e=m.read(2),t=m.read(8*e);return r(e<=1||t>=1<<8*(e-1),"Noncanonical Brotli metadata length.",m),m.align(),m.skip(8*(e?t+1:0)),l.bit=m.bit,{state:l,kind:"skip"}}let f=m.read(4*c)+1,h=l.at+f;if(r(4===c||f>1<<4*(c-1),"Noncanonical Brotli meta-block length.",m),h>o.maxOutput&&n(!1),!l.last&&m.read(1)){m.align();let e=m.bit/8;return m.skip(8*f),l.bit=m.bit,{state:l,kind:"stored",end:h,body:e}}let u=a(m),d=a(m),p=a(m),g=m.read(2),M=m.read(4)<<g,y=Uint8Array.from({length:u.count},()=>m.read(2)),b=s(m,64*u.count),w=s(m,4*p.count);return l.bit=m.bit,{state:l,kind:"compressed",end:h,literalBlocks:u,commandBlocks:d,distanceBlocks:p,postfix:g,direct:M,modes:y,literals:b,distances:w}}function u(e,n,o,a,s,f,h=4096){let u={...a,history:[...a.history],run:a.run&&{...a.run}},d=u.at,p=Math.min(65536,n.end-d),g=new Uint8Array(p);if("stored"===n.kind){let t=n.body+d-n.state.at;return u.at+=p,g.set(e.subarray(t,t+p)),{bytes:g,state:u}}let M=e=>e<d?s(e):g[e-d],y=i(e,u.bit),b={...n.literalBlocks,...u.literal},L={...n.commandBlocks,...u.command},O={...n.distanceBlocks,...u.distance},[A,I,v]=o.trees,F=0;for(;u.at<n.end&&F<h;){if(!u.run){let e=u.at,i=y.bit,o=t(y,I[l(y,L)]),a=o>>>6,s=Iu[a]+(o>>>3&7),m=vu[a]+(7&o),c=Nu[s]+y.read(Ou[s]),f=xu[m]+y.read(Au[m]);r(c<=n.end-u.at,"Brotli literals exceed their meta-block.",y),u.run={phase:"insert",left:c,copy:f,value:o,started:e,bit:i},F++}let e=u.run;if("insert"===e.phase){let r=Math.min(e.left,g.length-(u.at-d));for(let e=0;e<r;e++){let e=l(y,b),r=Pn(n.modes[e],u.at?M(u.at-1):0,u.at>1?M(u.at-2):0);g[u.at++-d]=t(y,A[n.literals.map[64*e+r]])}if(e.left-=r,e.left)break;if(u.at===n.end){u.run=null;break}e.phase="distance"}if("distance"===e.phase){let i=e.value<128?0:t(y,v[n.distances.map[4*l(y,O)+Math.min(3,e.copy-2)]]),o=m(y,i,n.postfix,n.direct,u.history),a=Math.min(u.at,u.window);r(o>0,"Invalid Brotli backward distance.",y),o>a?(e.word=c(e.copy,o-a-1,o,y,f,n.end-u.at),e.index=0,e.left=e.word.length):(r(e.copy<=n.end-u.at,"Brotli copy exceeds its meta-block.",y),i&&(u.history.pop(),u.history.unshift(o)),e.distance=o,e.left=e.copy),e.phase="copy"}let i=Math.min(e.left,g.length-(u.at-d));if(e.word)g.set(e.word.subarray(e.index,e.index+i),u.at-d),e.index+=i,u.at+=i;else if(1===e.distance)g.fill(M(u.at-1),u.at-d,u.at-d+i),u.at+=i;else for(let t=0;t<i;t++)g[u.at-d]=M(u.at-e.distance),u.at++;if(e.left-=i,e.left)break;r(u.at>e.started||y.bit>e.bit,"Brotli command does not advance.",y),u.run=null}return u.bit=y.bit,u.literal=w(b),u.command=w(L),u.distance=w(O),{bytes:g.length===u.at-d?g:g.subarray(0,u.at-d),state:u}}function d(e){let{literal:t,command:r,distance:n,run:i,...o}=e;return o}function p(e,t){i(e,t.bit).end()}let g=e=>{return e.read(1)?(1<<(t=e.read(3)))+e.read(t)+1:1;var t},M=(e,r)=>{let n=t(e,r);return Eu[n]+e.read(ku[n])},y=e=>[[e.literals.count,256],[e.commandBlocks.count,704],[e.distances.count,16+e.direct+(48<<e.postfix)]],b=(t,r,n)=>Array.from({length:r},()=>e(t,n)),w=e=>({current:e.current,previous:e.previous,remaining:e.remaining});return{read:function(e,t){let r,n=o(e,t),a=f(e),l=[],s=e=>{if(!r||e<r.from||e>=r.at){let t=0,n=l.length;for(;t<n;){let r=t+n>>>1;l[r].at<=e?t=r+1:n=r}r=l[t]}return r.bytes[e-r.from]};for(;!a.last;){let t=h(e,a,n);if(a=t.state,"end"===t.kind||"skip"===t.kind)continue;let r=null;if("compressed"===t.kind){let n=i(e,a.bit);r={trees:y(t).map(([e,t])=>b(n,e,t)),bit:n.bit},a.bit=n.bit}for(;a.at<t.end;){let i=a.at,o=u(e,t,r,a,s,n.dictionary,1/0);a=o.state,l.push({bytes:o.bytes,from:i,at:a.at})}a=d(a)}if(p(e,a),1===l.length)return l[0].bytes;let m=new Uint8Array(a.at);for(let e of l)m.set(e.bytes,e.from);return m},owner:{limits:o,start:f,header:h,groups:y,reader:i,trees:b,part:u,metaEnd:d,end:p,require:r}}}(function(e,t){let r=e.read(2),n=new Uint8Array(t);if(1===r){let r=e.read(2)+1,o=Array.from({length:r},()=>e.read(i(t)));if(Du(new Set(o).size===r&&o.every(e=>e<t),"simple prefix tree"),1===r)return{only:o[0],maximum:0,levels:[]};let a=2===r?[1,1]:3===r?[1,2,2]:e.read(1)?[1,2,3,3]:[2,2,2,2];for(let e=0;e<r;e++)n[o[e]]=a[e]}else{let i=[1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15],o=new Uint8Array(18),a=oi([2,4,3,2,2,4],[0,7,3,2,1,15]),l=32,s=0;for(let t=r;t<i.length&&l>0;t++){let r=ai(a,e);o[i[t]]=r,r&&(l-=32>>r,s++)}Du(0===l||1===s,"code-length tree");let m=oi(o),c=0,f=8,h=-1,u=0;for(l=32768;c<t&&l>0;){let r=ai(m,e);if(r<16)n[c++]=r,r&&(f=r,l-=32768>>r),h=-1,u=0;else{let i=16===r?f:0,o=16===r?2:3;i!==h&&(u=0);let a=u;u=(u?(u-2)*(1<<o):0)+e.read(o)+3;let s=u-a;Du(s>0&&c+s<=t,"prefix repeat"),n.fill(i,c,c+s),c+=s,h=i,i&&(l-=s*(32768>>i))}Du(l>=0,"oversubscribed tree")}Du(0===l,"incomplete tree")}return oi(n)},(e,t)=>ai(t,e),Du,e=>{throw e?yo("JXL_SIZE","Brotli: over maxBlocks"):Tu()},(e,t=0)=>new _u(e,t),function(e,t={}){let r,n=_n(e,t),i=t.maxBlocks??Number.MAX_SAFE_INTEGER,{dictionary:o}=t;return Du(Number.isSafeInteger(i)&&i>0,"maxBlocks: positive integer"),{maxOutput:n,maxBlocks:i,dictionary(){if(r)return r;if(r="function"==typeof o?o():o,!r)throw Object.assign(Ku("needs dictionary or full decoder"),{dictionary:!0});return Du(r instanceof Uint8Array&&122784===r.length,"dictionary: 122784-byte Uint8Array"),r}}}),qu=[[0,1],[0,2],[0,3],[0,4]],Ru=[[0,0],[0,1],[3,2],[8,0]],zu=[[2,0],[2,4],[4,8],[8,1]],Vu=[[0,0],[2,1],[4,4],[16,20]],Yu=[[0,0],[3,1],[5,9],[28,41]],Wu=[[0,4],[3,2],[4,10],[6,26]],Zu=[[0,0],[8,1],[16,257],[22,65793]],Qu=4194304,$u=(e,t)=>e.length===t.length&&e.every((e,r)=>e===t[r]),ed=({index:e,resets:t,zeros:r,...n},i,o)=>({...n,resets:i,zeros:o}),td=(e,t)=>e.comments.reduce((e,t)=>e+t.length,e.inter.reduce((e,t)=>e+t.length,t)),rd=(e,t)=>e.filter((r,n)=>r>0&&r<t&&(0===n||r>e[n-1])),nd=function(e){function t(t,n=268435456,i=ne(t)){e(t instanceof Uint8Array&&t.length>=2,"ICC bytes");let o=new _a(t,e,0,t.length,i),a=o.integer(),l=o.integer();((e,t)=>{Ze(Number.isSafeInteger(e)&&e>=0&&e<=t)})(a,n),e(l<=t.length-o.at,"ICC command size");let s={size:a,at:0,commandAt:o.at,commandEnd:o.at+l,dataAt:o.at+l,phase:"count",done:!1},m=new _a(t,e,s.dataAt,t.length,i),c=new Uint8Array(Math.min(a,128)),f=new Uint8Array(128);for(f[0]=a>>>24,f[1]=a>>>16,f[2]=a>>>8,f[3]=a,f[8]=4,f.set(Uint8Array.from("mntrRGB XYZ ",e=>e.charCodeAt(0)),12),f.set(Uint8Array.from("acsp",e=>e.charCodeAt(0)),36),f.set([0,0,246,214,0,1,0,0,0,0,211,45],68);s.at<c.length;s.at++){let e=s.at;8===e&&f.set(c.subarray(4,8),80),41===e&&(65===c[40]||77===c[40])&&f.set(65===c[40]?[80,80,76]:[83,70,84],41),42===e&&83===c[40]&&(71===c[41]||85===c[41])&&f.set(71===c[41]?[73,32]:[78,87],42),c[e]=m.byte()+f[e]}return s.dataAt=m.at,a<=128&&r(s,t.length),{bytes:c,state:s}}function r(t,r){e(t.at===t.size&&t.commandAt===t.commandEnd&&t.dataAt===r,"ICC stream length"),t.done=!0}function n(t,n,i,o=ne(t)){let a={...n,run:n.run&&{...n.run}},l=a.at,s=new Uint8Array(Math.min(65536,a.size-l)),m=e=>e<l?i(e):s[e-l],c=new _a(t,e,a.commandAt,a.commandEnd,o),f=new _a(t,e,a.dataAt,t.length,o),h=(e,t)=>{a.pending=Uint8Array.from(e),a.pendingAt=0,a.next=t,a.phase="pending"},u=()=>{let t=[],r=r=>{e(r.length<=a.size-a.at-t.length,"ICC command: over output size"),t.push(...r)};return{values:t,append:r,text:e=>r(Array.from(e,e=>e.charCodeAt(0))),word:t=>{e(Number.isInteger(t)&&t>=0&&t<=4294967295,"ICC field: over 32 bits"),r([t>>>24,t>>>16,t>>>8,t])}}},d=0;for(;!a.done&&d<4096;)if("pending"===a.phase){let e=Math.min(a.pending.length-a.pendingAt,s.length-(a.at-l));if(s.set(a.pending.subarray(a.pendingAt,a.pendingAt+e),a.at-l),a.at+=e,a.pendingAt+=e,a.pendingAt<a.pending.length)break;a.pending=null,a.phase=a.next}else if("run"===a.phase){let e=a.run,t=Math.min(e.length-e.i,s.length-(a.at-l));for(let r=0;r<t;r++,e.i++){if(e.predict&&e.i%e.width===0){let t=[];for(let r=1;r<=e.order+1;r++){let n=0;for(let t=0;t<e.width;t++)n=256*n+m(a.at-e.stride*r+t);t.push(n)}e.predicted=(0===e.order?t[0]:1===e.order?2*t[0]-t[1]:3*(t[0]-t[1])+t[2])>>>0}let t=e.predict?e.predicted>>>8*(e.width-1-e.i%e.width):0;s[a.at++-l]=o(e.source+e.shuffled)+t,e.shuffled+=e.height,e.shuffled>=e.length&&(e.shuffled=++e.column)}if(e.i<e.length)break;a.run=null,a.phase="commands"}else if("count"===a.phase){d++;let e=c.integer();if(!e){a.phase="commands";continue}let t=u();t.word(e-1),a.previousStart=128+12*(e-1),a.previousSize=0,h(t.values,"tags")}else{if(c.at===c.end){a.commandAt=c.at,a.dataAt=f.at,r(a,t.length);break}let n=c.byte();if(d++,"tags"===a.phase){let t=63&n;if(!t){a.phase="commands";continue}e(t<=20,"ICC tag command");let r=1===t?String.fromCharCode(...f.take(4)):Ga[t-2],i=64&n?c.integer():a.previousStart+a.previousSize,o=128&n?c.integer():Pa.has(r)?20:a.previousSize,l=u();l.text(r),l.word(i),l.word(o),2===t&&(l.text("gTRC"),l.word(i),l.word(o),l.text("bTRC"),l.word(i),l.word(o)),3===t&&(l.text("gXYZ"),l.word(i+o),l.word(o),l.text("bXYZ"),l.word(i+2*o),l.word(o)),a.previousStart=i,a.previousSize=o,h(l.values,"tags")}else if(n>=1&&n<=4){let r=2===n?2:3===n?4:1,i=0,o=0;if(4===n){let t=c.byte();r=1+(3&t),i=t>>>2&3,e(3!==r&&3!==i,"ICC predictor"),o=16&t?c.integer():r,e(o>=r&&a.at&&a.at-1>>>2>=o&&c.at<c.end,"ICC prediction stride")}let l=c.integer();4===n&&e(l<=a.size-a.at,"ICC predictor: over output size"),e(l>=0&&l<=t.length-f.at,"truncated ICC payload"),4!==n&&e(l<=a.size-a.at,"ICC command: over output size"),a.run={source:f.at,length:l,width:r,order:i,stride:o,predict:4===n,i:0,shuffled:0,column:0,height:Math.ceil(l/r)},f.at+=l,a.phase="run"}else{let t=u();10===n?(t.text("XYZ "),t.word(0),t.append(f.take(12))):n>=16&&n<24?(t.text(ja[n-16]),t.word(0)):e(!1,"ICC command"),h(t.values,"commands")}}return a.commandAt=c.at,a.dataAt=f.at,{bytes:s.subarray(0,a.at-l),state:a}}return{decode:function(e,r=268435456){let i=ne(e),o=t(e,r,i),a=new Uint8Array(o.state.size);a.set(o.bytes);let l=e=>a[e],s=o.state;for(;!s.done;){let t=s.at,r=n(e,s,l,i);s=r.state,a.set(r.bytes,t)}return a},owner:{start:t,part:n,require:e}}}(Ze),id=Uint8Array.of(69,120,105,102,0,0),od=Uint8Array.of(73,67,67,95,80,82,79,70,73,76,69,0),ad=Uint8Array.from("http://ns.adobe.com/xap/1.0/\0",e=>e.charCodeAt(0)),ld=4260096,sd=1785227117,md="urn:iso:std:iso:ts:21496:-1\0",cd=1970628964,fd=Uint8Array.of(172,2,154,59,24,136,74,109,155,44,247,145,18,117,187,27),hd=(e,t)=>{let r=(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0;return r>=16&&r%4==0},ud=1<<20,dd=class{constructor(e=null,t=1/0){this.limit=t,this.parts=Ha()&&!e?[]:null,this.expected=e,this.same=!0,this.chunks=[],this.done=0,this.bytes=new Uint8Array(e?Math.min(ud,e.length+16):4096),this.at=0,this.acc=0,this.pending=0}spill(e){let t=this.bytes.subarray(0,this.at),r=this.done+this.at;if(a(r+e),Ze(r+e<=this.limit),this.expected){let n=this.expected,i=this.same?n.subarray(this.done,this.done+t.length):null;if(i)for(let e=0;e<t.length;e++)if(t[e]!==i[e]){this.same=!1;break}r+e>n.length+16&&(this.same=!1)}else this.chunks.push(t);this.done=r,this.at=0,(e>this.bytes.length||!this.expected)&&(this.bytes=new Uint8Array(Math.max(e,Math.min(this.expected?this.bytes.length:Math.min(ud,Math.max(4096,r)),this.limit-r))))}reserve(e){this.at+e>this.bytes.length&&this.spill(e)}byte(e){this.at>=this.bytes.length&&this.spill(1),this.bytes[this.at++]=e}chunk(e){e instanceof Uint8Array||(e=Uint8Array.from(e));for(let t=0;t<e.length;){this.at===this.bytes.length&&this.spill(1);let r=Math.min(e.length-t,this.bytes.length-this.at);this.bytes.set(e.subarray(t,t+r),this.at),this.at+=r,t+=r}}marker(e){Ze(!this.pending),this.byte(255),this.byte(e)}segment(e,t){Ze(t.length<=65533),this.marker(e),this.byte(t.length+2>>8),this.byte(t.length+2&255),this.chunk(t)}bits(e,t){Ze(e>=0&&e<=16&&t>=0&&t<1<<e),this.put(e,t)}put(e,t){let r=this.acc<<e|t,n=this.pending+e;if(n>=8){this.at+6>this.bytes.length&&this.reserve(6);let e=this.bytes;do{n-=8;let t=r>>>n&255;e[this.at++]=t,255===t&&(e[this.at++]=0)}while(n>=8);r&=(1<<n)-1}this.acc=r,this.pending=n}align(e){let t=7&-this.pending;if(!t)return;if(!e)return void this.bits(t,(1<<t)-1);let r=0;(!e.window||e.at<e.start||e.at+t>e.start+e.window.length)&&(e.start=e.at,e.window=e.bits.subarray(e.at,Math.min(e.bits.length,e.at+65536)));for(let n=0;n<t;n++){let t=e.window[e.at-e.start];Ze(e.at<e.bits.length&&t<=1),r=2*r+t,e.at++}this.bits(t,r)}take(){this.spill(0);let e=li(this.chunks);return this.chunks=[],e}finish(){if(Ze(!this.pending),this.spill(0),this.expected)return this.same&&this.done===this.expected.length;let e=this.chunks,t=new Uint8Array(this.done);for(let r=0,n=0;r<e.length;n+=e[r].length,e[r++]=null)t.set(e[r],n);return this.chunks=[],t}},pd=e=>e?32-Math.clz32(e<0?-e:e):0,gd=new Int32Array(257),Md=Int32Array.from(Va),yd=class{constructor(e,t,r){this.out=e,this.ss=t.ss,this.se=t.se,this.al=t.al,this.ah=t.ah,this.zeros=r,this.blockIndex=0,this.eob=0,this.eobTable=gd,this.pending=new Uint8Array(1024),this.pendingBits=0,this.corrections=new Uint8Array(64),this.band=Ld(t.ss,t.se)}emit(e){Ze(e),this.out.put(e>>>16,65535&e)}extra(){return this.zeros&&this.zeros.get(this.blockIndex)||0}hold(e){if(this.pendingBits+e>this.pending.length){let t=new Uint8Array(Math.max(2*this.pending.length,this.pendingBits+e));t.set(this.pending.subarray(0,this.pendingBits)),this.pending=t}this.pending.set(this.corrections.subarray(0,e),this.pendingBits),this.pendingBits+=e}flush(){let e=this.out;if(this.eob){let t=pd(this.eob)-1,r=this.eobTable[t<<4];Ze(r),Ui(e,r,t,this.eob-(1<<t)),this.eob=0}for(let t=0;t<this.pendingBits;t++)e.put(1,this.pending[t]);this.pendingBits=0}endBand(e,t){this.eobTable=e,this.eob++,t&&this.hold(t),32767===this.eob&&this.flush()}sequential(e,t,r){r[e.index]=function(e,t,r,n,i,o,a){let l=t[r],s=l-o,m=pd(s),c=n[m];Ze(m<=11&&c),Ui(e,c,m,s<0?s+(1<<m)-1:s);let f=0;for(let n=1;n<64;n++){let o=t[r+Md[n]];if(o){for(;f>=16;f-=16)c=i[240],Ze(c),e.put(c>>>16,65535&c);m=pd(o),c=i[f<<4|m],Ze(m<=10&&c),Ui(e,c,m,o<0?o+(1<<m)-1:o),f=0}else f++}if(a){Ze(f>=16*a),f-=16*a;for(let t=0;t<a;t++)c=i[240],Ze(c),e.put(c>>>16,65535&c)}return f&&(c=i[0],Ze(c),e.put(c>>>16,65535&c)),l}(this.out,e.co,t,e.dc,e.ac,r[e.index],this.extra()),this.blockIndex++}progressive(e,t,r){let n=e.co,i=e.ac,o=this.out,{ss:a,se:l,al:s,ah:m}=this;if(!a){if(m)o.put(1,n[t]>>s&1);else{let i=n[t]>>s,a=i-r[e.index],l=pd(a),m=e.dc[l];Ze(l<=11&&m),Ui(o,m,l,a<0?a+(1<<l)-1:a),r[e.index]=i}return void this.blockIndex++}let c=e.nonzero,f=this.band,h=c[t>>5]&f[0],u=c[1+(t>>5)]&f[1];if(m){Ze(m===s+1);let e=this.corrections,r=a-1,c=0,f=0,d=a-1;for(let e=h,i=u;e||i;){let o;if(e){let t=e&-e;o=31-Math.clz32(t),e^=t}else{let e=i&-i;o=63-Math.clz32(e),i^=e}let a=n[t+Md[o]];(a<0?-a:a)>>s===1&&(r=o)}for(let a=h,l=u;a||l;){let m;if(a){let e=a&-a;m=31-Math.clz32(e),a^=e}else{let e=l&-l;m=63-Math.clz32(e),l^=e}let h=n[t+Md[m]],u=(h<0?-h:h)>>s;if(u){for(c+=m-d-1,d=m;c>=16&&m<=r;){this.flush(),this.emit(i[240]),c-=16;for(let t=0;t<f;t++)o.put(1,e[t]);f=0}if(u>1)e[f++]=1&u;else{this.flush(),this.emit(i[c<<4|1]),o.put(1,h>0?1:0);for(let t=0;t<f;t++)o.put(1,e[t]);f=0,c=0}}}c+=l-d,(c||f)&&this.endBand(i,f)}else{let e=a-1;for(let r=h,a=u;r||a;){let l;if(r){let e=r&-r;l=31-Math.clz32(e),r^=e}else{let e=a&-a;l=63-Math.clz32(e),a^=e}let m=n[t+Md[l]],c=m<0?-(-m>>s):m>>s;if(!c)continue;let f=l-e-1;for((this.eob||this.pendingBits)&&this.flush();f>=16;f-=16)this.emit(i[240]);let h=pd(c),u=i[f<<4|h];Ze(h<=10&&u),Ui(o,u,h,c<0?c+(1<<h)-1:c),e=l}let r=l-e,m=this.extra();if(m){this.flush(),Ze(r>=16*m);for(let e=0;e<m;e++)this.emit(i[240]);r-=16*m}r&&this.endBand(i,0)}this.blockIndex++}},bd=new Int32Array(64);for(let e=0;e<64;e++)bd[Md[e]]=e;var wd=e=>e>=31?-1:e<0?0:(1<<e+1)-1,Ld=(e,t)=>[wd(Math.min(t,31))&~wd(e-1),wd(t-32)&~wd(e-33)],Od="Cloudflare-Workers"===globalThis.navigator?.userAgent||"string"==typeof globalThis.EdgeRuntime,Ad=1<<21,Id=(e,t,r=!1)=>{let n=[t];return r&&t.jpeg&&t.headerAware&&n.push({...t,headerAware:!1,shapedMerge:!1}),e.width*e.height<=Ad&&t.jpeg&&n.push({maxClusters:t.maxClusters,seeds:t.seeds,newClusterCost:t.newClusterCost,...t.everyConfig&&{everyConfig:!0}}),n},vd={maxClusters:128,seeds:255,newClusterCost:160,jpeg:Df},Fd={...vd,headerAware:!0,shapedMerge:!0},Nd={maxClusters:255,seeds:255,newClusterCost:80,headerAware:!0,shapedMerge:!0,jpeg:Df},xd={maxClusters:48},kd={...Fd,everyConfig:!0},Ed={...Nd,everyConfig:!0},Cd=e=>e<=3?Sh:e>=9?Zh:8===e?un("monotonic-8"):e>=5?(e=>un((e=>e>=9?"effort-9":e>=8?"effort-8":e>=7?"effort-7":e>=5?"quick-or-fixed":e>=3?"plain-or-fixed":null)(e)))(e):qh;Ri.contextsFrom=2;var Bd,Ud=131072,Hd="http://ns.adobe.com/xap/1.0/\0",Jd="http://ns.adobe.com/xmp/extension/\0",Kd=new TextDecoder,Dd=1<<20,Td=(e,t)=>e.length>=t.length&&[...t].every((t,r)=>e[r]===t.charCodeAt(0)),Sd=/Semantic\s*=\s*"GainMap"|<Item:Semantic>\s*GainMap\s*<\/Item:Semantic>/,Gd=[1747,229,2159,230,2311,232,2491,228,2535,231,2603,233,3103,236,7194,227,7195,130,7589,227,7590,131,43952,255,43953,255,43954,255,43955,255,43964,255,43965,255,43966,255,43967,255,43992,255,43993,255,44002,255,44003,255],jd=(new Set(["data","width","height","parts",...nm]),new Set(["width","height","frames","loops",...nm]),"JPEG signature"),Pd="JPEG marker",_d="JPEG deferred height: use host pixels",Xd="JPEG dimensions: missing or truncated",qd=[192,193,194,195,197,198,199,201,202,203,205,206,207],Rd=({width:e,height:t,orientation:r})=>r>=5?{width:t,height:e}:{width:e,height:t};Zs=function(e,t){let r={at:0,phase:"signature",width:void 0,height:void 0,orientation:null,done:!1};for(;!r.done;)r=io(e,r);return Rd(no(r,t))};var zd=(e,t)=>{if(!(e=>e&&"object"==typeof e&&!Array.isArray(e))(e))throw cs("JXL_OPTIONS","jpeg options: plain record");let r=Object.keys(e).find(e=>!t.includes(e));if(r)throw cs("JXL_OPTIONS",`unknown option: ${r}; use ${t.join(", ")}`)},Vd=Object.freeze({id:"jpeg:restore",prepare:null,eager:!1,normalize(e){return zd(e,["maxPixels"]),{options:{...e},maxPixels:We(e.maxPixels)}},*open(e,t){let r=t.subarray(0,2);if(255===r[0]&&10===r[1])throw cs("JXL_RECONSTRUCTION",gs);let n=yield*ji(t,eo,{maxPixels:e.maxPixels});if(!n)throw cs("JXL_RECONSTRUCTION",gs);let i=yield*function*(e,t){let r=yield*W("jpeg-geometry",function*(){let r={at:0,phase:"signature",width:void 0,height:void 0,orientation:null,done:!1};for(;!r.done;){let t=yield*Y("jpeg-geometry-window",()=>io(e,r));t!==Ja&&(r=t)}return no(r,t)});return Rd(r)}(n,e.maxPixels);return{bytes:n,facts:{...i,originalBytes:t.length}}},record:(e,t,r,n)=>Ot(e,n,{format:"jpeg",fidelity:"exact",kept:"jpeg-bytes",originalBytes:n.originalBytes,owned:!0})}),Yd=Symbol.for("rapier-jxl.steps"),Wd=(new Set(["width","height","rows",...nm]),"rapier-jxl/8.4.1"),Zd=Symbol.for("rapier-jxl.jpeg-source"),Qd="originalJpegSource",$d=(Object.freeze({7:0,8:0,9:0}),Symbol.for("rapier-jxl.configured-webgpu")),ep=e=>"encode"===e||"fit"===e||"variants"===e,tp=(Symbol.for("rapier-jxl.decoder"),(e,t)=>e+" "+t),rp=()=>{try{return globalThis.importScripts("about:blank"),!0}catch(e){return!(e instanceof TypeError)}},np=(e,t=()=>new URL(globalThis.location&&"blob:"!==globalThis.location.protocol?globalThis.location.href:import.meta.url))=>{let r=(e=>()=>{let t=e();return"file:"===t.protocol&&globalThis.location&&!["file:","blob:"].includes(globalThis.location.protocol)?new URL(globalThis.location.href):t})(t);return Object.freeze({role:e,url:r,worker:()=>new Worker(r(),{type:rp()?"classic":"module",name:e})})},ip=["encode","fit","variants","capture"],op=e=>function(t,r){let n;try{n=null!==r&&"object"==typeof r?Object.getOwnPropertyDescriptor(r,"transfer"):void 0}catch{return e.apply(this,arguments)}if(!n)return e.apply(this,arguments);try{if(!("value"in n)||!0!==n.value)throw cs("JXL_OPTIONS","transfer: true");let i=(e=>{let t=ArrayBuffer.isView(e?.data)?[e.data]:Array.isArray(e?.frames)?e.frames.map(e=>e?.data):[];return[...new Set(t.filter(e=>ArrayBuffer.isView(e)).map(e=>e.buffer))]})(t);if(i.some(e=>!(e instanceof ArrayBuffer)||e.detached))throw cs("JXL_INPUT","ArrayBuffer: not transferable");let o=Object.create(Object.getPrototypeOf(r));for(let[e,t]of Object.entries(Object.getOwnPropertyDescriptors(r)))"transfer"!==e&&Object.defineProperty(o,e,t);for(let e of Object.getOwnPropertySymbols(r))Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(r,e));return Promise.resolve(e.call(this,t,o)).then(e=>{try{structuredClone(i,{transfer:i})}catch{}return e})}catch(e){return Promise.reject(e)}},ap=new Set(["workerFactory","workerStartupTimeout","maxPendingBytes","maxPendingJobs"]),lp=(e,t)=>{if("workerFactory"===e?"function"!=typeof t:!(Number.isSafeInteger(t)&&t>0&&("workerStartupTimeout"!==e||t<=2147483647)))throw cs("JXL_OPTIONS",`Invalid ${e}; ${"workerFactory"===e?"pass a function":"use a positive whole number"}.`)},sp=Symbol.for("rapier-jxl.worker-runtime"),mp=We,cp=e=>e.catch(e=>{throw Ge(e)}),fp=fm((e,t)=>cp(function(e,t){try{let r=Ve(t);for(let e of Object.keys(r))if(!["effort","maxPixels","gainMap","signal","onProgress"].includes(e))throw cs("JXL_OPTIONS",`unknown option: ${e}`);if(void 0!==r.gainMap&&"boolean"!=typeof r.gainMap)throw cs("JXL_OPTIONS","gainMap: boolean");let n,{signal:i}=r,o=fo(r),a=oo(r),m=mp(r.maxPixels),c={effort:a,maxPixels:m,...r.gainMap&&{gainMap:$i},tails:Vi,outside:e=>{n={missing:e,reason:"past-jbrd"}}};Pe(i);let f=ho(e,i,e=>to(e,m,Mo.edge),m);return(async()=>{let e=await f;At(r,e),to(e,m,Mo.edge),await mo(),Pe(i);let t=await async function(e,{signal:t,progress:r}){let n=0,i=performance.now(),o=!1;try{for(;;){Pe(t);let o=e.next();if(o.done)return r(1),await(r.finish?.()),Pe(t),o.value??e.bytes;"number"==typeof o.value&&o.value>n&&o.value<1&&(n=o.value,r(n),Pe(t)),performance.now()-i>=8&&(await new Promise(e=>setTimeout(e,0)),i=performance.now())}}catch(e){throw o=!0,e}finally{try{e.return?.()}catch(e){if(!o)throw e}}}(function(e,t){return function(e,t){let r=function(e,t=!1){let r=function*(){let n,i,o;try{for(;!(n=s(()=>e.next(o))).done;)t&&n.value?.capture?o=yield n.value:n.value?.capture||n.value?.split||n.value?.gpu?o=void 0:void 0===n.value?.unit&&void 0===n.value?.unitDone&&void 0===n.value?.unitFailed?(yield i=n.value,o=r.hurry):o=yield n.value}finally{n?.done||e.return?.()}return i<1&&(yield 1),r.bytes=l(n.value)}();return r.bytes=null,r.hurry=!1,r}(_i(e,t,Ri,e=>Object.assign(r,e)));return r}(e,t)}(e,c),o);return n&&((e,t)=>{e?.[om]?.(void 0,void 0,t)})(r,{otherDecoders:n}),t})()}catch(e){return Promise.reject(e)}}(e,t)),{fidelity:"exact",kept:"jpeg-bytes"});Object.defineProperty(fp,Yd,{value:function(e){return Object.freeze({id:"jpeg:recompress",prepare:e,eager:!1,restore:Vd,normalize(e){if(zd(e,["effort","maxPixels","gainMap"]),void 0!==e?.gainMap&&"boolean"!=typeof e.gainMap)throw cs("JXL_OPTIONS","gainMap: boolean");let t=oo(e),r=We(e.maxPixels);return{options:{...e},effort:t,maxPixels:r,gainMap:!!e?.gainMap}},*open(e,t,r,n=!1){let i=null,o=null;return{bytes:l(yield*_i(t,{effort:e.effort,maxPixels:e.maxPixels,...e.gainMap&&{gainMap:$i},tails:Vi,outside:e=>{o={missing:e,reason:"past-jbrd"}},...!n&&{bands:{from:0,packed:0}}},Ri,e=>{i={width:e.width,height:e.height}})),facts:{...i,originalBytes:t.length,...o&&{otherDecoders:o}}}},record:(e,t,r,n)=>Ot(e,n,{fidelity:"exact",kept:"jpeg-bytes",originalBytes:n.originalBytes,owned:!0,...n?.otherDecoders&&{otherDecoders:n.otherDecoders}})})}(mo)});var hp=fm((t,r)=>cp(async function(t,r){let n=Ve(r);for(let e of Object.keys(n))if(!["maxPixels","signal","onProgress"].includes(e))throw cs("JXL_OPTIONS",`unknown option: ${e}`);let{signal:i}=n,o=fo(n),a=mp(n.maxPixels);Pe(i),t=await ho(t,i,e=>{(function(e){if(!(255===e[0]&&10===e[1]||e.length>=12&&Ds.every((t,r)=>e[r]===t)))throw cs("JXL_INPUT","not JPEG XL: invalid signature")})(e);let t=function(e){try{if(255===e[0]&&10===e[1])return Qe(new ys(e));if(!cu.every((t,r)=>e[r]===t))return null;let t=null,r=0,n=0,i=new Map;for(let o of Jn(e)){if(o.type===uu)return Qe(new ys(e.subarray(o.body,o.end)));if(o.type!==du)continue;t||=new Uint8Array(16);let a=o.body,l=16777216*(127&e[a])+65536*e[a+1]+256*e[a+2]+e[a+3];for(i.set(l,o);i.has(n)&&r<t.length;){let o=i.get(n++);i.delete(n-1);let a=Math.min(t.length-r,o.end-o.body-4);t.set(e.subarray(o.body+4,o.body+4+a),r),r+=a}if(r===t.length)break}return t&&Qe(new ys(t.subarray(0,r)))}catch{return null}}(e);if(t&&Ye(t.width,t.height,a),255===e[0]&&10===e[1])throw cs("JXL_RECONSTRUCTION",gs)}),At(n,t);let l=((t,r,n)=>e(ji(t,eo,n)))(t,0,{maxPixels:a});if(!l)throw cs("JXL_RECONSTRUCTION",gs);return Pe(i),o.progress(1),await(o.progress.finish?.()),Pe(i),l}(t,r)),{format:"jpeg",fidelity:"exact",kept:"jpeg-bytes"});Object.defineProperty(hp,Yd,{value:Vd}),Object.defineProperty(hp,Symbol.for("rapier-jxl.verify.source"),{value:fp[Yd]}),Object.defineProperty(fp,Fs,{value:async function(t,{maxPixels:r,signal:n,outputs:i,scale:o}={}){if(Pe(n),!await es()||!Ql()||!Ee())throw Aa();Pe(n);let a=function(e,t,r,n){if(!(e.length>4)||255!==e[0]||216!==e[1])throw ge("invalid signature");let i=[],o=[[],[]],a=new Set,l={count:0,parts:[]},s=(e,t)=>{let r=o[e][t];return r&&(r.lookup??=function(e,t){let r=new Uint16Array(65536),n=0,i=0;for(let o=1;o<=16;o++){for(let a=0;a<e[o-1];a++){let e=t[i++],a=n<<16-o,l=1<<16-o;if(a+l>=65536)throw ge("Huffman table");r.fill(o<<8|e,a,a+l),n++}n<<=1}return r}(r.counts,r.symbols))},m=t=>e[t]<<8|e[t+1],c=(t,r)=>{for(let n=0;n<r.length;n++)if(e[t+n]!==r.charCodeAt(n))return!1;return!0},f=null,h=0,u=-1,d=!1,p=null,g=!1,M=2,y=0,b=0,w=Math.min(Mo.pixels,t??Mo.pixels);for(;;){if(M>=e.length)throw ge("truncated");if(255!==e[M])throw ge("marker");for(;255===e[M];)M++;let t=e[M++];if(++y>16384)throw ge("markers: max 16384");if(217===t)throw ge("missing frame");if(216===t)throw ge("duplicate SOI");if(t>=208&&t<=215)throw ge("restart outside scan");if(1===t)continue;if(M+2>e.length)throw ge("truncated");let L=m(M),O=M+2,A=M+L;if(L<2||A>e.length)throw ge("segment length");if(M=A,219===t)for(let t=O;t<A;){let r=e[t]>>4,n=15&e[t];if(r>1||n>3||t+1+(r?128:64)>A)throw ge("quantization table");t++;let o=new Int32Array(64);for(let n=0;n<64;n++)if(o[Va[n]]=r?m(t):e[t],t+=r?2:1,!o[Va[n]])throw ge("zero quantization step");i[n]=o}else if(196===t)for(let t=O;t<A;){if(++b>89)throw ge("Huffman tables: max 89");let r=e[t]>>4,n=15&e[t];if(r>1||n>3||t+17>A)throw ge("Huffman table");t++;let i=e.subarray(t,t+16),l=0;for(let e of i)l+=e;if(l>256||t+16+l>A)throw ge("Huffman table");let s=e.subarray(t+16,t+16+l);tt(i),o[r][n]={counts:i,symbols:s,lookup:null},0===r&&(s.some(e=>e>15)?a.add(n):a.delete(n)),t+=16+l}else if(192===t||193===t){if(f)throw ge("multiple frames");if(A-O<6)throw ge("frame header");if(8!==e[O])throw ge("bit depth: 8");let t=m(O+1),r=m(O+3),n=e[O+5];if(!r||!t)throw ge("DNL height");if(4===n)return null;if(1!==n&&3!==n)throw ge("components: 1 or 3");if(A-O<6+3*n)throw ge("frame header");if(r>Mo.edge||t>Mo.edge)throw ge("side: max "+Mo.edge,"JXL_DIMENSIONS");if(r*t>w)throw ge("pixels: max "+w,"JXL_DIMENSIONS");let i=[];for(let t=0,r=O+6;t<n;t++,r+=3){let t=e[r+1]>>4,n=15&e[r+1],o=e[r+2];if(t<1||t>4||n<1||n>4)throw ge("sampling factors");if(o>3)throw ge("quantization table");if(i.some(t=>t.id===e[r]))throw ge("duplicate component id");i.push({id:e[r],h:t,v:n,tq:o,pred:0})}let o=Math.max(...i.map(e=>e.h)),a=Math.max(...i.map(e=>e.v)),l=Math.ceil(r/(8*o)),s=Math.ceil(t/(8*a));for(let e of i)e.blocksW=Math.ceil(Math.ceil(r*e.h/o)/8),e.blocksH=Math.ceil(Math.ceil(t*e.v/a)/8),e.stride=l*e.h,e.rows=s*e.v;f={width:r,height:t,components:i,hmax:o,vmax:a,mcusX:l,mcusY:s}}else{if(194===t)return null;if(195===t||t>=197&&t<=199||t>=201&&t<=203||t>=205&&t<=207)throw ge("coding: baseline or progressive");if(221===t){if(L<4)throw ge("segment length");h=m(O)}else{if(220===t)throw ge("DNL marker");if(218===t){if(!f)throw ge("scan before frame");let t=e[O];if(t!==f.components.length||O+1+2*t+3>A)return null;let o=[],m=O+1;for(let r=0;r<t;r++,m+=2){let t=f.components[r];if(t.id!==e[m])return null;if(t.quant=i[t.tq],!t.quant)throw ge("missing quantization table");let n=e[m+1]>>4,l=15&e[m+1];if(n>3||l>3)throw ge("table selector: 0-3");if(a.has(n))throw ge("Huffman table");o.push({component:t,dc:s(0,n),ac:s(1,l)})}if(t>1&&o.reduce((e,t)=>e+t.component.h*t.component.v,0)>10)throw ge("sampling factors");let c=e[m],M=e[m+1],y=e[m+2]>>4,b=15&e[m+2];if(0!==c||63!==M||0!==y||0!==b)throw ge("spectral selection");if(8*(e.length-A)<f.components.reduce((e,t)=>e+t.blocksW*t.blocksH,0))throw ge("scan: incomplete");let w=p??1;n;let L=w>=5,I=L?f.height:f.width,v=L?f.width:f.height,F="number"==typeof r?r:rt(I,v,r),N=ye(f.components,d,u),x=nt(f.width,f.height,f.components,N,F);if(!x)return null;let k=Ee();if(!k?.scaledDecode)return null;let E=null,C=(e,t,r)=>{E??=new Uint8Array(x.outW*x.outH*4),E.set(r,e*x.outW*4)},B=k.scaledDecode(e,A,f,o,h,Va,x,C,w);if(!B)return null;let U=1===t?f.components[0].blocksW*f.components[0].blocksH:f.mcusX*f.mcusY,H=ot(e,B.pos,U,h,p);if(!H||H.orientation!==w&&(F<8||B.oriented))return null;let J=it(l.parts,l.count,f.components.length,g),K=!!B.oriented;return{data:B.oriented??E,width:K&&L?x.outH:x.outW,height:K&&L?x.outW:x.outH,origWidth:f.width,origHeight:f.height,orientation:H.orientation,alreadyOriented:K,colorSpace:J.colorSpace,icc:J.icc,renderingIntent:J.renderingIntent,scale:F}}if(224===t)c(O,"JFIF")&&(d=!0);else if(225===t)c(O,"Exif")&&0===e[O+4]&&(p??=Me(e,O+6,A));else if(226===t)if(L>=16&&c(O,"ICC_PROFILE\0")){let t=e[O+12],r=e[O+13];if(!t||!r||t>r||l.count&&l.count!==r||l.parts[t])throw ge("ICC profile: incomplete");l.count=r,l.parts[t]=Q(e,O+14,A)}else L>=35&&c(O,"urn:iso:std:iso:ts:21496:-1\0")&&(g=!0);else 238===t&&L>=14&&c(O,"Adobe")&&(u=e[O+11])}}}}(t=Q(t),r,o??i,null);if(!a){let l=((t,r,n)=>e(Ae(t,!1,n,void 0)))(t,0,{maxPixels:r??Mo.pixels,preserveICC:!1,allowFourComponents:!0});Pe(n);let s=l.orientation>=5,m=s?l.height:l.width,c=s?l.width:l.height,f=o??rt(m,c,i),h=nt(l.width,l.height,l.components,l.ycbcr,f);if(h||(f=8,h=nt(l.width,l.height,l.components,l.ycbcr,8)),4===l.components.length&&(l.iccBytes||l.profile))throw ge("CMYK/YCCK with ICC: pass RGBA pixels","JXL_UNSUPPORTED");if(4===l.components.length&&![0,2].includes(l.adobeTransform))throw ge(l.adobeTransform<0?"CMYK/YCCK without APP14: pass RGBA pixels":"CMYK/YCCK APP14: pass RGBA pixels","JXL_UNSUPPORTED");let u,d=l.width,p=l.height;h?(d=h.outW,p=h.outH,u=new Uint8Array(d*p*4),Ee().renderParsedBands(l,h,(e,t,r)=>{u.set(r,e*d*4)})):(f=8,u=new Uint8Array(d*p*4),await Ee().renderGeneralBands(l,(e,t,r)=>{u.set(r,e*d*4)})),a={data:u,width:d,height:p,origWidth:l.width,origHeight:l.height,orientation:l.orientation,alreadyOriented:!1,colorSpace:l.colorSpace,icc:l.iccBytes,renderingIntent:l.renderingIntent,scale:f}}Pe(n);let l=a.orientation>=5,s=l?a.origHeight:a.origWidth,m=l?a.origWidth:a.origHeight;Ye(s,m,r??4e7);let c={data:a.data,width:a.width,height:a.height,...a.icc?{icc:a.icc}:a.renderingIntent&&"relative"!==a.renderingIntent?{colorEncoding:el(a.colorSpace,a.renderingIntent)}:{colorSpace:a.colorSpace}};return a.orientation>1&&!a.alreadyOriented&&(c=await async function(e,{signal:t}={}){Pe(t);let{orientation:r=1,width:n,height:i,data:o,...a}=e;if(!Number.isInteger(r)||r<1||r>8)throw cs("JXL_INPUT","orientation: integer 1-8");if(1===r)return{data:o,width:n,height:i,...a};if(void 0!==a.extraChannels)throw cs("JXL_UNSUPPORTED","extraChannels: orientation unsupported");if(!await es()||!Ql())throw Aa();if(Pe(t),r<=4)return{data:await et(o,n,i,r,t),width:n,height:i,...a};let l=r>=5,s=l?i:n,m=l?n:i,c=new o.constructor(o.length),f=4*o.BYTES_PER_ELEMENT,h=new Uint8Array(o.buffer,o.byteOffset,o.byteLength),u=new Uint8Array(c.buffer),d=vs(t);for(let e=0;e<i;e+=256)for(let o=0;o<n;o+=256){Pe(t);let a=Math.min(256,n-o),m=Math.min(256,i-e);is(h,u,n,s,o,e,a,m,2===r||3===r?n-o-a:6===r||7===r?i-e-m:l?e:o,3===r||4===r?i-e-m:7===r||8===r?n-o-a:l?o:e,f,r),await d()}return{data:c,width:s,height:m,...a}}({...c,orientation:a.orientation},{signal:n,maxPixels:r})),(c.width!==s||c.height!==m)&&Object.defineProperty(c,Ns,{value:{width:s,height:m},configurable:!0}),c}}),function(e,t){let r=function(){if("function"==typeof WorkerGlobalScope&&globalThis instanceof WorkerGlobalScope)return"string"==typeof globalThis.name?globalThis.name:"";let e;try{e=globalThis.process?.getBuiltinModule?.("node:worker_threads")}catch{}return!e||e.isMainThread?"":"string"==typeof e.workerData?e.workerData:"string"==typeof e.threadName?e.threadName:""}();if(!r.startsWith("rapier-jxl/jpeg "))return;let n=t[r.slice(16)];n&&n()}(0,{worker:()=>function(e,t=[],r,n){let{run:i,prepare:o}=r;if(!e||"function"!=typeof e.postMessage||"function"!=typeof e.on&&"function"!=typeof e.addEventListener||e[sp])return;try{Object.defineProperty(e,sp,{value:!0})}catch{}let a,l=!1,s=n?.(e),m={},c=new Map,f=(t,r)=>e.postMessage({id:t,ok:!1,error:so(r,!0)}),h=t=>{if(!t||s?.ack(t))return;if(t.wasmModules){try{X(t.wasmModules)}catch(t){a={code:t?.code||"JXL_WASM",message:t?.message||"WebAssembly: prepare modules again"},e.postMessage({configurationError:a})}return}if(a)return void(t.prepare?e.postMessage({prepared:!0,attempt:t.attempt,ok:!1,error:a}):t.id&&f(t.id,a));if("string"==typeof t.prepare)return void o(t.prepare,{webgpu:t.webgpu,owner:m,helpers:t.helpers}).then(()=>e.postMessage({prepared:!0,attempt:t.attempt,ok:!0}),r=>e.postMessage({prepared:!0,attempt:t.attempt,ok:!1,error:so(r)}));if(void 0!==t.cancel)return void c.get(t.cancel)?.controller.abort(bo());if(void 0!==t.inputAck){let e=c.get(t.id),r=e?.waiting;return void(r?.sequence===t.inputAck&&(e.waiting=null,!0===t.ok?r.resolve():r.reject(Object.assign(new Error(t.error?.message||"input reservation"),{code:t.error?.code||"JXL_WORKER"}))))}if(!Number.isSafeInteger(t.id)||t.id<1)return;let{id:r,operation:n,input:h,options:u,maxPixels:d,helpers:p,webgpu:g,lane:M,alone:y}=t,b="function"==typeof ImageBitmap&&h instanceof ImageBitmap||"function"==typeof VideoFrame&&h instanceof VideoFrame;if(!0===t.bitmap&&!b)return void f(r,Object.assign(new Error("bitmap: live transfer required"),{code:"JXL_INPUT"}));let w=1===M&&p&&c.size-l<p.count;if(c.has(r)||l&&!w)return void f(r,Object.assign(new Error("worker: active operation"),{code:"JXL_BUSY"}));let L=new AbortController,O=!0===t.preview?s?.start(r,L.signal):void 0,A={controller:L,sequence:0,waiting:null};c.set(r,A);let I=()=>{let e=A.waiting;A.waiting=null,e?.reject(L.signal.reason??bo())};L.signal.addEventListener("abort",I,{once:!0});let v=t=>new Promise((n,i)=>{if(L.signal.aborted)return void i(L.signal.reason);let o=++A.sequence;A.waiting={sequence:o,resolve:n,reject:i};try{e.postMessage({id:r,inputBytes:t,inputSequence:o})}catch(e){A.waiting=null,i(e)}});w||(l=!0);let F=()=>{O?.close(),I(),L.signal.removeEventListener("abort",I),c.delete(r),w||(l=!1)};Promise.resolve().then(()=>i(n,h,u,{maxPixels:d,retainInput:v,helpers:p,webgpu:g,owner:m,lane:w?1:0,alone:y,signal:L.signal,onProgress:t=>e.postMessage({id:r,progress:t}),...O&&{onPreview:O.send}})).then(t=>{F();try{e.postMessage({id:r,ok:!0,value:t},[...lo(t)])}catch(e){f(r,e)}},e=>{F(),f(r,e)})};"function"==typeof e.on?e.on("message",h):(e.addEventListener("message",e=>h(e.data)),e.start?.()),e.postMessage({ready:Wd,...r.module&&{module:r.module}});for(let e of t)h(e)}(function(){try{let e=globalThis.process?.getBuiltinModule?.("node:worker_threads")?.parentPort;if(e)return e}catch{}let e=globalThis;return"function"==typeof e.postMessage&&"function"==typeof e.addEventListener&&typeof e.document>"u"?e:null}(),[],ao(po,{name:"rapier-jxl/jpeg"}))});var up=function(e,t,{gpu:r=!1,webgpu:n=!!r,pool:i,url:o,prepareOp:a,runtime:l}={}){let s,m=null,c={},f=0,h=null,u=null,d=null,p=1/0,g=0,M=new Set,y=[...n?["webgpu"]:[],"maxPixels"],b=e=>d&&qe(d.promise,e),w=()=>h??=l?l(b):ao(t,{name:e,gpu:r,ready:b,...i&&{helpers:async()=>i,helper:np(tp(e,"helper"),o)}}),L=(e,t)=>new Promise(r=>r(h.release(e,t))).catch(e=>{throw l?e:Object.assign(cs("JXL_WORKER","terminate() failed"),{cause:e})}),O=()=>cs("JXL_CLOSED","closing");return{configure:e=>{let t=Ve(e,"options");for(let e of Object.keys(t))if(ap.has(e))void 0!==t[e]&&lp(e,t[e]);else if(!y.includes(e))throw cs("JXL_OPTIONS",`unknown option: ${e} (allowed: ${y.join(", ")})`);if(u)throw cs("JXL_OPTIONS","closing: wait for close()");if(f||g)throw cs("JXL_OPTIONS","configure: call active");let r=t.maxPendingJobs??1/0;for(let e of ap)delete t[e];We(t.maxPixels),function(e){if(void 0!==e&&"required"!==e&&!1!==e)throw cs("JXL_OPTIONS","webgpu: 'required', false or omitted")}(t.webgpu);let n=s&&(void 0!==s.count||void 0!==s.memoryBytes);m=Object.keys(t).length?t:null,s=void 0,p=r,h&&n&&(()=>{if(d)return;let e,t=d={promise:new Promise(t=>{e=t})};t.promise.then(()=>{d===t&&(d=null)},()=>{}),e(L(c,!1))})()},close:()=>{if(u)return u;let e=c,t=[...M],r=O(),n=d;c={};for(let e of t)e.cancel(r);return u=(async()=>{await Promise.all(t.map(e=>e.done));let r=(await Promise.allSettled([n?.promise,h&&L(e,!0)])).find(e=>"rejected"===e.status);if(r)throw r.reason;d===n&&(d=null)})().finally(()=>{u=null})},wrap:e=>{let n=t[e],i=function(e,t){if(u)return Promise.reject(O());if(p!==1/0){if(g>=p)return Promise.reject(cs("JXL_MEMORY","Calls at maxPendingJobs; wait or raise it."));g++;let e,t=()=>{g--};try{e=m||d?o.apply(this,arguments):n.apply(this,arguments)}catch(e){throw t(),e}return Promise.resolve(e).finally(t)}return m||d?o.apply(this,arguments):n.apply(this,arguments)},o=function(t,i){let o,l,h,u=!!m,p=m??{},g=s,y=c,b=d?.promise,L=(f++,!1),O={done:new Promise(e=>{h=e}),cancel(e){o=e,l?.(e)}};return M.add(O),(async()=>{try{if(je((i=Ve(i,"Options",["signal","onProgress","onPreview","onEncoded"])).signal),Pe(i.signal),o)throw o;let s=!1;if(s instanceof Promise&&await Promise.race([qe(s,i.signal),new Promise((e,t)=>{l=t,o&&t(o)})]),Pe(i.signal),o)throw o;M.delete(O);let m=1===f;L="prepare"!==e&&!1;let c={signal:i.signal,onProgress:i.onProgress,onPreview:i.onPreview,onEncoded:i.onEncoded,maxPixels:p.maxPixels,webgpu:p.webgpu,helpers:g,owner:y,owned:!1,lane:L,alone:m},h=await(u?"prepare"!==e?w().run(e,t,i,c):r&&"required"===p.webgpu?w().prepare(t??a,{webgpu:p.webgpu,owner:y,helpers:g}):n.call(this,t):n.call(this,t,i));return b&&await qe(b,i.signal),Pe(i.signal),h}finally{f--,M.delete(O),h()}})()};return Object.defineProperties(ip.includes(e)?op(i):i,Object.getOwnPropertyDescriptors(n))}}}("rapier-jxl/jpeg",{recompress:fp,restore:hp,prepare:e=>void 0===e?(async()=>{try{await mo()}catch(e){throw Ge(e)}})():Promise.reject(cs("JXL_OPTIONS","prepare(): no argument"))},{url:()=>new URL(import.meta.url)}),dp=up.wrap("recompress"),pp=up.wrap("restore"),gp=up.wrap("prepare"),{configure:Mp,close:yp}=up;export{yp as close,Mp as configure,gp as prepare,dp as recompress,pp as restore,co as supported};function e(e){let t;for(;!(t=e.next()).done;);return t.value}function*t(e,t,r){let n,i,o=!1;try{for(;!(n=e.next(i)).done;)i=yield Fo(n.value,e=>(t+e)/r);return o=!0,n.value}finally{try{e.return?.()}catch(e){if(o)throw e}}}function r(e){return e>=0?2*e:2*-e-1}function n(e){return 31-Math.clz32(e)}function i(e){return e<=1?0:32-Math.clz32(e-1)}function o(e){let t=e<0||Object.is(e,-0)?32768:0;if(0===e)return t;if(!((e=Math.abs(e))<65520))throw yo("JXL_INTERNAL","bits:f16 "+e);let r=0,n=e;for(;n>=2;)n/=2,r++;for(;n<1;)n*=2,r--;r<-14?(n=16384*e,r=-15):n-=1;let i=1024*n,o=Math.round(i);return o-i===.5&&1&o&&o--,1024===o&&(o=0,r++),t|r+15<<10|o}function a(e){if(!Number.isSafeInteger(e)||e<0)throw yo("JXL_MEMORY","output: too large")}function l(e){return a(e.length),e}function s(e){try{return e()}catch(e){throw Lo(e)?Object.assign(yo("JXL_MEMORY",`out of memory${Oo(e)}`),{cause:e}):e}}function m(e,t){e.writeU32([[9,1],[13,1],[18,1],[30,1]],t)}function c(e,t,r,n,i,{xyb:a=!1,orientation:l=1,colorSpace:s,bitDepth:c=8,exponentBits:u=0,transferFunction:d="srgb",intensityTarget:p=255,alphaPremultiplied:g=!1,modular16bit:M=c<=12&&!u,colorData:y,toneData:b,iccData:w,imageFields:L,extraChannelData:O,transformData:A}={},I){"string"==typeof s&&s.includes(";")&&({colorSpace:s,transferFunction:d,intensityTarget:p,alphaPremultiplied:g}=(e=>{let[t,r,n,i]=e.split(";");return{colorSpace:t,transferFunction:r,intensityTarget:+n,alphaPremultiplied:"p"===i}})(s)),s&&"object"==typeof s&&({colorData:y,iccData:w}=I(s,a)),e.write(16,2815),e.write(1,0),m(e,r),e.write(3,0),m(e,t),e.write(1,0);let v=1!==l||255!==p||!!b||!!L;e.write(1,v?1:0),v&&(L?e.append(L):e.write(6,l-1)),f(e,c,u),e.write(1,M?1:0),O?e.append(O):!i||8!==c||u||g?i?(e.write(3,1),e.write(2,0),f(e,c,u),e.write(4,0),e.write(1,g?1:0)):e.write(2,0):e.write(3,5),e.write(1,a?1:0),y?e.append(y):"srgb"!==d||"rec2020"===s?(e.write(2,0),h(e,3===n?0:1),h(e,1),3===n&&h(e,"rec2020"===s?9:"display-p3"===s?11:1),e.write(1,0),h(e,"linear"===d?8:"pq"===d?16:"hlg"===d?18:13),h(e,1)):3===n&&"display-p3"===s?e.write(21,903568):3===n?e.write(1,1):e.write(15,14100),v&&(b?e.append(b):(e.write(1,255===p?1:0),255!==p&&(e.write(16,o(p)),e.write(32,0),e.write(1,0)))),e.write(2,0),A?e.append(A):e.write(1,1),w&&e.append(w),e.zeroPadToByte()}function f(e,t,r){e.write(1,r?1:0),e.writeU32(r?[[0,32],[0,16],[0,24],[6,1]]:[[0,8],[0,10],[0,12],[6,1]],t),r&&e.write(4,r-1)}function h(e,t){e.writeU32([[0,0],[0,1],[4,2],[6,18]],t)}function u(e,t){e.write(1,0),e.zeroPadToByte(),function(e,t,r=0,n=t.length){for(let i=r;i<n;i++)e.writeU32([[10,0],[14,1024],[22,17408],[30,4211712]],t[i])}(e,t),e.zeroPadToByte()}function d(e,t,r=5,n=null){return u(e,n?n(t).sizes:t.map(e=>e.length)),p(e.finish(),t,r,n)}function p(e,t,r=5,n=null){let i=n?n(t).sizes:t.map(e=>e.length),o=10===r?49:0,l=o+e.length+i.reduce((e,t)=>e+t,0);if(a(l),o&&l-41>4294967295)throw yo("JXL_SIZE","codestream: over 4 GiB");let s=new Uint8Array(n?o:l);if(o&&(s.set([0,0,0,12,74,88,76,32,13,10,135,10,0,0,0,20,102,116,121,112,106,120,108,32,0,0,0,0,106,120,108,32,0,0,0,9,106,120,108,108,10,0,0,0,0,106,120,108,99]),new DataView(s.buffer).setUint32(41,l-41)),n)return n([s,e,...t]);s.set(e,o);let m=o+e.length;for(let e of t)s.set(e,m),m+=e.length;return s}function g(e,t,r,n,i,o){let a=2*r-1,l=0,s=r,m=0;for(let n=r;n<a;n++){let i=l<r&&(s>=n||e[l]<=e[s])?l++:s++,o=l<r&&(s>=n||e[l]<=e[s])?l++:s++;e[n]=e[i]+e[o],t[i]=n,t[o]=n}t[a-1]=0;for(let e=a-2;e>=r;e--)t[e]=t[t[e]]+1;for(let e=0;e<r;e++)m=Math.max(m,n[i[e]]=t[t[e]]+1);return m<=o}function M(e,t,r,n=e.length){let i=new Uint8Array(n);if(!r){r=[];for(let t=0;t<n;t++)e[t]>0&&r.push(t)}let o=r.length;if(!o)return i;if(1===o)return i[r[0]]=1,i;let a=2*o-1,l=a<=1024?Ko:new Float64Array(a),s=a<=1024?Do:new Int32Array(a),m=n<=4096&&o<=1024;for(let t=0;m&&t<o;t++){let n=e[r[t]];m=n===Math.floor(n)&&n<2**40}let c=m?To.subarray(0,o):null;for(let n=1;;n*=2){if(m){for(let t=0;t<o;t++){let i=r[t];c[t]=4096*Math.max(e[i],n)+i}c.sort();for(let e=0;e<o;e++){let t=c[e],n=t%4096;r[e]=n,l[e]=(t-n)/4096}}else{r.sort((t,r)=>Math.max(e[t],n)-Math.max(e[r],n)||t-r);for(let t=0;t<o;t++)l[t]=Math.max(e[r[t]],n)}if(g(l,s,o,i,r,t))return i}}function y(e,t,r,n,i,o){let a=[];for(;a.push(n&i),n>>=o;)n--;for(let n=a.length-1;n>=0;n--)e.push(r),t.push(a[n])}function b(e){let t=So,r=Go,n=new Uint16Array(e.length);t.fill(0);for(let r=0;r<e.length;r++)t[e[r]]++;t[0]=0;for(let e=1,n=0;e<=16;e++)n=n+t[e-1]<<1,r[e]=n;for(let t=0;t<e.length;t++){let i=e[t];i&&(n[t]=Jo(r[i]++,i))}return n}function w(e){let t=L(e);return t.codes=b(t.lengths),t}function L(e,t){if(t)t=[...t];else{t=[];for(let r=0;r<e.length;r++)e[r]>0&&t.push(r)}let r=t.length,n=t[r-1]+1||1,i=r<=4?new Uint8Array(n):M(e,15,t,n),o=0;if(r<=4){t.sort((t,r)=>e[r]-e[t]||t-r),o=4===r&&e[t[0]]>e[t[2]]+e[t[3]]?1:0;let n=r<2?[0]:2===r?[1,1]:3===r?[1,2,2]:o?[1,2,3,3]:[2,2,2,2];for(let e=0;e<r;e++)i[t[e]]=n[e];t.sort((e,t)=>i[e]-i[t]||e-t)}return{alphabetSize:n,lengths:i,codes:null,simple:r&&r<=4?t:null,treeSelect:o}}function O(e,t){let r=new Uint8Array(t);Po.length<4*t&&(Po=new Uint32Array(4*t),_o=new Float64Array(2*t),Xo=new Int32Array(2*t));let n=Po.subarray(0,t),i=Po.subarray(t,2*t),o=Po.subarray(2*t,3*t),a=Po.subarray(3*t,4*t),l=_o,s=Xo;for(let m=1;;m*=2){for(let r=0;r<t;r++)n[r]=Math.max(e[r],m),i[r]=r;for(let e=0;e<32;e+=8){qo.fill(0);for(let r=0;r<t;r++)qo[n[r]>>>e&255]++;if(qo[n[0]>>>e&255]===t)continue;for(let e=0,t=0;e<256;e++){let r=qo[e];qo[e]=t,t+=r}for(let r=0;r<t;r++){let t=qo[n[r]>>>e&255]++;o[t]=n[r],a[t]=i[r]}let r=n;n=o,o=r,r=i,i=a,a=r}for(let e=0;e<t;e++)l[e]=n[e];if(g(l,s,t,r,i,15))return r}}function A(e,t){let r=t.length;if(r<=4)return L(e,t);jo.length<r&&(jo=new Uint32Array(Math.max(r,2*jo.length)));for(let n=0;n<r;n++)jo[n]=e[t[n]];let n=t[r-1]+1,i=new Uint8Array(n),o=O(jo,r);for(let e=0;e<r;e++)i[t[e]]=o[e];return{alphabetSize:n,lengths:i,codes:null,simple:null,treeSelect:0}}function I(e,t){let r=0;for(let t of e)t&&r++;1===r&&(e[t?0:1]=e[t]);let n=M(e,5),i=18;for(;i>0&&!n[Co[i-1]];)i--;return[n,i]}function v(e,t,r,n){for(;t<=r&&e[t]===n;)t++;return t}function F(e,t){if(t.alphabetSize<=1)return;if(t.simple){let r=n(t.alphabetSize-1)+1;e.write(2,1),e.write(2,t.simple.length-1);for(let n of t.simple)e.write(r,n);return void(4===t.simple.length&&e.write(1,t.treeSelect))}let r=t.lengths,i=[],o=[],a=r.length-1;for(;a>0&&!r[a];)a--;let l=8;for(let e=0;e<=a;){let t=r[e],n=v(r,e+1,a,t)-e,s=n;if(t&&t!==l&&(i.push(t),o.push(0),s--,l=t),s<3)for(let e=0;e<s;e++)i.push(t),o.push(0);else y(i,o,t?16:17,s-3,t?3:7,t?2:3);e+=n}let s=new Uint32Array(18);for(let e of i)s[e]++;let[m,c]=I(s,i[0]),f=b(m);e.write(2,0);for(let t=0;t<c;t++){let r=m[Co[t]];e.write(Bo[r],Uo[r])}for(let t=0;t<i.length;t++){let r=i[t];e.write(m[r],f[r]),16===r?e.write(2,o[t]):17===r&&e.write(3,o[t])}}function N(e,t=0,r=0){return{split:e,msb:t,lsb:r,splitToken:1<<e}}function x(e,t,r=15){e.write(i(r+1),t.split),t.split!==r&&(e.write(i(t.split+1),t.msb),e.write(i(t.split-t.msb+1),t.lsb))}function k(e,t,r){if(t<e.splitToken)return r[0]=t,r[1]=0,void(r[2]=0);let i=n(t),o=t-(1<<i),a=i-e.msb-e.lsb;r[0]=e.splitToken+(i-e.split<<e.msb+e.lsb|o>>i-e.msb<<e.lsb|o&(1<<e.lsb)-1),r[1]=a,r[2]=t>>e.lsb&(1<<a)-1}function E(e,t,r,n=0){k(e,t,Ro),r[n+Ro[0]]++}function C(e,t,r,n,i=0){k(r,n,Ro);let o=i+Ro[0];e.write(t.lengths[o],t.codes[o]),Ro[1]&&e.write(Ro[1],Ro[2])}function B(e,t){let r=0;for(let e=0;e<t.length;e++)t[e]>r&&(r=t[e]);let n=r?i(r+1):0;if(n<=3){if(n&&t.length>=64){let i=new vo(64);if(U(i,t,r),i.bitLength<3+n*t.length)return void e.append(i)}if(e.write(1,1),e.write(2,n),n)for(let r=0;r<t.length;r++)e.write(n,t[r])}else U(e,t,r)}function U(e,t,r){e.write(1,0),e.write(1,0);let n=zo,i=Vo,o=224,a=t.length>=64&&r<o,l=a?257:r+1,s=l<=257?Zo.subarray(0,l):new Uint32Array(l);s.fill(0),Qo.length<t.length&&(Qo=new Uint16Array(t.length),$o=new Uint32Array(t.length));let m=Qo,c=$o,f=0;for(let e=0;e<t.length;){let r=t[e],n=1;for(;a&&e+n<t.length&&t[e+n]===r;)n++;if(n>=8)m[f]=r,c[f++]=n-1,s[r]++,E(i,n-1-7,s,o),e+=n;else{for(let e=0;e<n;e++)m[f]=r,c[f++]=0,s[r]++;e+=n}}let h=w(s);if(a){H(e,{lz77:{minSymbol:o,minLength:7,lengthConfig:i},contextMap:new Uint8Array([1,0]),histograms:[{config:Yo,code:Wo},{config:n,code:h}]});for(let t=0;t<f;t++){let r=m[t],n=c[t];e.write(h.lengths[r],h.codes[r]),n&&C(e,h,i,n-7,o)}}else{H(e,{contextMap:new Uint8Array(1),histograms:[{config:n,code:h}]});for(let t=0;t<f;t++)C(e,h,n,m[t])}}function H(e,{lz77:t=null,contextMap:r,histograms:i}){e.write(1,t?1:0),t&&(e.writeU32([[0,224],[0,512],[0,4096],[15,8]],t.minSymbol),e.writeU32([[0,3],[0,4],[2,5],[8,9]],t.minLength),x(e,t.lengthConfig,8)),r.length>1&&B(e,r),e.write(1,1);for(let t of i)x(e,t.config,15);for(let t of i){let r=t.code.alphabetSize-1;if(r){let t=n(r);e.write(1,1),e.write(4,t),e.write(t,r-(1<<t))}else e.write(1,0)}for(let t of i)F(e,t.code)}function J(e,t=0,r=1){return{predictor:e,offset:t,multiplier:r,context:-1}}function K(e,t,r,n){return(9===e||15===e)&&ia.has(t)&&(t=ia.get(t)),{property:e,splitval:t,left:r,right:n}}function D(e){return function(e){let t=(r,n)=>{if(r===n)return e[r];let i=r+n>>1;return K(0,i,t(i+1,n),t(r,i))};return t(0,e.length-1)}(e)}function T(e,t,n=!1){let i=[t],o=[],a=[],l=n?[]:null;for(let e of i){if(e.left){if(!(e.property>=0&&e.property<=255))throw yo("JXL_INTERNAL",`modular:property ${e.property}`);o.push(e.property+1,r(e.splitval)),l?.push(1,0),i.push(e.left,e.right);continue}e.context=a.length,a.push(e);let t=1===e.multiplier?0:31-Math.clz32(e.multiplier&-e.multiplier);o.push(0,e.predictor,r(e.offset),t,(e.multiplier>>t)-1),l?.push(1,2,3,3,3)}let s=new Uint32Array(64);for(let e of o)E(ra,e,s);let m=w(s);if(l)return function(e,t,r,n){let i=Array.from({length:4},()=>new Map),o=new Map;for(let e=0;e<t.length;e++){let n=t[e],a=i[r[e]];a.set(n,(a.get(n)??0)+1),o.set(n,(o.get(n)??0)+1)}let a=S([{config:ra,code:n}],la),l=a.bitLength+G(o,n,ra),s=i.map(e=>{let t=null;for(let r of oa){let n=new Uint32Array(256),i=[0,0,0],o=!0;for(let[t,a]of e){if(k(r,t,i),i[0]>=n.length){o=!1;break}n[i[0]]+=a}if(!o)continue;let a=L(n),l=G(e,a,r),s=S([{config:r,code:a}],sa).bitLength+l;if((!t||s<t.bits)&&(t={config:r,code:a,dataBits:l,bits:s}),!e.size||1===e.size&&e.has(0))break}return t}),m=S(s,aa),c=m.bitLength+s.reduce((e,t)=>e+t.dataBits,0)<l;if(c){a=m;for(let e of s)e.code.codes=b(e.code.lengths)}let f={code:n,config:ra};e.append(a);for(let n=0;n<t.length;n++){let i=c?s[r[n]]:f;C(e,i.code,i.config,t[n])}}(e,o,l,m),a;H(e,{contextMap:new Uint8Array(6),histograms:[{config:ra,code:m}]});for(let t of o)C(e,m,ra,t);return a}function S(e,t){let r=new vo(256);return H(r,{contextMap:t,histograms:e}),r}function G(e,t,r){let n=[0,0,0],i=0;for(let[o,a]of e)k(r,o,n),i+=a*(t.lengths[n[0]]+n[1]);return i}function j(e,t){let r=[[3,0],[6,8],[10,72],[13,1096]];if("rct"===t.type)e.write(2,0),e.writeU32(r,t.beginC),e.writeU32([[0,6],[2,0],[4,2],[6,10]],t.rctType??6);else if("palette"===t.type)e.write(2,1),e.writeU32(r,t.beginC),e.writeU32([[0,1],[0,3],[0,4],[13,1]],t.numC),e.writeU32([[8,0],[10,256],[12,1280],[16,5376]],t.nbColors),e.writeU32([[0,0],[8,1],[10,257],[16,1281]],t.nbDeltas??0),e.write(4,t.predictor??0);else{if("squeeze"!==t.type)throw yo("JXL_INTERNAL","modular:transform "+t.type);{e.write(2,2);let n=t.params??[];e.writeU32([[0,0],[4,1],[6,9],[8,41]],n.length);for(let t of n)e.write(1,t.horizontal?1:0),e.write(1,t.inPlace?1:0),e.writeU32(r,t.beginC),e.writeU32([[0,1],[0,2],[0,3],[4,4]],t.numC)}}}function P(e,{useGlobalTree:t=!0,transforms:r=[]}={}){e.write(1,t?1:0),e.write(1,1),e.writeU32([[0,0],[0,1],[4,2],[8,18]],r.length);for(let t of r)j(e,t)}function _(e,t,r,n=e=>e.context,i=()=>ra){let o=new Uint8Array(t.length+1);for(let e of t){let t=n(e)+1;if(t>255)throw yo("JXL_INTERNAL","modular:histograms");o[e.context]=t}let a=new Uint32Array(2);a[1]=1;let l=[{config:ra,code:w(a)}],s=Math.max(...o);for(let e=0;e<s;e++)l.push({config:i(e),code:w(r[e])});return H(e,{lz77:ta,contextMap:o,histograms:l}),l}function X(e){if(!e||"object"!=typeof e||Array.isArray(e)||!Object.keys(e).length)throw pa("modules: {name: WebAssembly.Module}");let t=Object.entries(e);for(let[e,r]of t){if(!Object.hasOwn(ma,e))throw pa(`unknown module: ${e}`);let t,n;try{t=WebAssembly.Module.imports(r),n=WebAssembly.Module.exports(r)}catch{throw pa(`${e}: WebAssembly.Module`)}let i="kernels"===e||"general"===e;if(fa(n)!==ma[e]||(i?1!==t.length||"env"!==t[0].module||"memory"!==t[0].name||"memory"!==t[0].kind:0!==t.length))throw pa(`${e}: interface mismatch`);if(ha.has(e)&&ha.get(e)!==r||ua.has(e)&&ua.get(e)!==r)throw pa(`${e}: already configured`)}for(let[e,r]of t)ha.set(e,r);da=!0}async function q(e,t){return ya(),!(!ua.get(e)&&!ha.has(e))||(ba.has(e)||(ua.has(e)||ua.set(e,null),ba.set(e,(async()=>{let r=await WebAssembly.compile(t());return await WebAssembly.instantiate(Uint8Array.of(0,97,115,109,1,0,0,0)),ua.get(e)||ua.set(e,r),wa.delete(e),!0})().catch(t=>(ba.delete(e),wa.set(e,t),!1)))),ba.get(e))}function R(e,t){if(ya(),ua.get(e))return ua.get(e);ua.set(e,null);let r,n=ha.get(e);if(n)return ua.set(e,n),n;try{r=new WebAssembly.Module(t())}catch(t){throw da?pa(`${e}: missing`):t}return ua.set(e,r),r}function z(e,t,r=4,n=7,i=null,o=1/0){if(!i){let t=e.length<xa*(r-1);i={i:0,phase:0,length:0,distance:0,probe:0,at:-1,span:0,inserted:0,head:t?new Int32Array(xa).fill(-1):null,history:new Int32Array(t?e.length:xa*r).fill(-1)}}let{head:a,history:l}=i,s=t=>(Math.imul(e[t]+1,506832829)^Math.imul(e[t+1]+1,1821285621)^Math.imul(e[t+2]+1,739982445))>>>16;for(;i.i<e.length&&o>0;){let m=i.i;if(!i.phase)if(i.length=0,i.distance=0,i.probe=0,i.span=0,m+n<=e.length){let e=s(m);i.bucket=e*r,i.at=a?a[e]:l[i.bucket],i.phase=1}else i.phase=2;if(1===i.phase){if(i.probe>=r||i.at<0){i.phase=2;continue}let t=i.at;if(!i.span){if(o--,e[t]!==e[m]||e[t+1]!==e[m+1]||e[t+2]!==e[m+2]){i.probe++,i.at=a?l[t]:l[i.bucket+i.probe];continue}i.span=3}let n=i.span,s=Math.min(e.length-m,n+o);for(;n<s&&e[t+n]===e[m+n];)n++;if(o-=n-i.span,i.span=n,m+n<e.length&&n===s)continue;n>i.length&&(i.length=n,i.distance=m-t),m+n===e.length?i.phase=2:(i.probe++,i.at=a?l[t]:l[i.bucket+i.probe],i.span=0)}else if(2===i.phase)i.length<n&&(i.length=0,i.distance=0),t(i.length?0:e[m],i.length,i.distance),i.inserted=0,i.phase=3;else if(3===i.phase){let t=i.length||1,n=Math.min(t,i.inserted+o),c=i.inserted;for(let t=c;t<n;t++)if(m+t+2<e.length){let e=s(m+t);if(a)l[m+t]=a[e],a[e]=m+t;else{let n=e*r;for(let e=r-1;e>0;e--)l[n+e]=l[n+e-1];l[n]=m+t}}o-=n-c,i.inserted=n,n===t&&(i.i+=t,i.phase=0)}}return i}function*V(e,t,r,n=!1,i=!1){return globalThis[Ca]?yield*globalThis[Ca].step(e,t,r,0,n,i):t()}function*Y(e,t,r,n=!1,i=!1){return globalThis[Ca]?yield*globalThis[Ca].step(e,t,r,1,n,i):t()}function*W(e,t,r,n=!1,i=!1){return globalThis[Ca]?yield*globalThis[Ca].step(e,t,r,2,n,i):yield*t()}function Z(e){let t=null,r=e.map(e=>{try{return e()}catch(e){if(!0!==e?.[ka])throw e;t??=e}});if(t)throw t;return r}function Q(e,t,r){let n=e[Ka];return n?n(t,r):e.subarray(t,r)}function $(e,t,r){if(void 0!==r&&!["rgb","gray","cmyk"].includes(r))throw yo("JXL_INPUT","expectedColorSpace: rgb, gray or cmyk");if(!(e instanceof Uint8Array)||e.length<132)throw yo("JXL_INPUT","icc: Uint8Array");if(5===t&&e.length>4194304)throw yo("JXL_SIZE","level 5 icc: max 4 MiB");let n=e.subarray(0,132),i=new DataView(n.buffer,n.byteOffset,n.byteLength),o=e=>String.fromCharCode(n[e],n[e+1],n[e+2],n[e+3]);if(i.getUint32(0)!==e.length||"acsp"!==o(36))throw yo("JXL_INPUT","icc header");let a=o(16),l=o(20);if(!["RGB ","XYZ ","Lab ","Luv ","YCbr","Yxy ","HSV ","HLS ","CMY ","3CLR","GRAY"].includes(a)&&("CMYK"!==a||"cmyk"!==r))throw yo("JXL_INPUT","icc space: RGB, GRAY or planar CMYK");if(void 0!==r&&a!=={rgb:"RGB ",gray:"GRAY",cmyk:"CMYK"}[r])throw yo("JXL_INPUT","icc space: channel mismatch");if("CMYK"===a&&5===t)throw yo("JXL_INPUT","CMYK: needs level 10");if("XYZ "!==l&&"Lab "!==l)throw yo("JXL_INPUT","icc PCS: XYZ or Lab");let s=i.getUint32(128);if(s>Math.floor((e.length-132)/12))throw yo("JXL_INPUT","icc tag table: truncated");return{count:s,end:132+12*s,channels:"GRAY"===a?1:3}}function ee(e,t,r,n){let i=e.subarray(132+12*r,132+12*n),o=new DataView(i.buffer,i.byteOffset,i.byteLength);for(let i=0;i<n-r;i++){let r=12*i,n=o.getUint32(r+4),a=o.getUint32(r+8);if(n<t.end||n%4||a<8||n>e.length||a>e.length-n)throw yo("JXL_INPUT","icc tag extent")}}function te(e,t,r){let n=$(e,t,r);for(let t=0;t<n.count;t+=4096)ee(e,n,t,Math.min(n.count,t+4096));return n.channels}function*re(e,t,r){return Ha()?yield*Ua("inspectICC")(e,t,r,{header:$,tags:ee}):te(e,t,r)}function ne(e){let t=new Map;return r=>{if(r<0||r>=e.length)return;let n=65536*Math.floor(r/65536),i=t.get(n);return i||(i=e.subarray(n,Math.min(e.length,n+65536)),t.set(n,i),t.size>8&&t.delete(t.keys().next().value)),i[r-n]}}function ie(e,t){do{let r=t%128;t=Math.floor(t/128),e.push(r+(t?128:0))}while(t)}function oe(e,t=!0){let r=[0,1];ie(r,e.length-128);let n=[];ie(n,e.length),ie(n,r.length);let i=n.length+r.length,o=new Uint8Array(i+(t?e.length:128));o.set(n),o.set(r,n.length);let a=new Uint8Array(128);a.set(e.subarray(0,4)),a[8]=4;for(let[e,t]of[[12,"mntrRGB XYZ "],[36,"acsp"]])for(let r=0;r<t.length;r++)a[e+r]=t.charCodeAt(r);a.set([0,0,246,214,0,1,0,0,0,0,211,45],68),a.set(e.subarray(4,8),80);let l=65===e[40]?"PPL":77===e[40]?"SFT":null;if(l)for(let e=0;e<3;e++)a[41+e]=l.charCodeAt(e);83===e[40]&&(71===e[41]||85===e[41])&&(a[42]=71===e[41]?73:78,a[43]=71===e[41]?32:87);for(let t=0;t<128;t++)o[i+t]=e[t]-a[t]&255;return t&&o.set(e.subarray(128),i+128),o}function ae(e,t,r){let n=w(t),i=r?w(r):null,o=new vo(Math.min(e+128,65536)),a=new Uint8Array(r?42:41);return r&&(a[41]=1),function(e,t){if(t){if(t<=16)return e.write(2,1),void e.write(4,t-1);if(t<=272)return e.write(2,2),void e.write(8,t-17);for(e.write(2,3),e.write(12,t%4096),t=Math.floor(t/4096);t;)e.write(1,1),e.write(8,t%256),t=Math.floor(t/256);e.write(1,0)}else e.write(2,0)}(o,e),H(o,{contextMap:a,...r&&{lz77:{minSymbol:256,minLength:7,lengthConfig:qa}},histograms:[{config:Xa,code:n},...r?[{config:Ra,code:i}]:[]]}),{writer:o,code:n,distanceCode:i}}function le(e,t,r,n,i){n?e?(C(e,t.code,qa,n-7,256),C(e,t.distanceCode,Ra,i-1)):(E(qa,n-7,t.frequencies,256),E(Ra,i-1,t.distances)):e?C(e,t.code,Xa,r):t.frequencies[r]++}function se(e,t,r,n,i,o){if(i&&o>1048576){let n=e.subarray(r,r+i);for(let e of n)t(e,0,0)}else if(i&&e.length>65536){let n=0;for(;i-n>=7;){let e=Math.min(256,i-n);t(0,e,o),n+=e}for(;n<i;)t(e[r+n++],0,0)}else t(n,i,o)}function me(e,t){let r=0;z(e,(n,i,o)=>{se(e,t,r,n,i,o),r+=i||1},4,7)}function ce({level:e,compression:t="auto"}={}){if(void 0!==e&&5!==e&&10!==e)throw yo("JXL_INPUT","level: 5 or 10");if(!["auto","prefix","lz77"].includes(t))throw yo("JXL_INPUT","compression: auto, prefix or lz77");return t}function fe(e,{level:t,colorSpace:r,colorEncoding:n}={},i){let o=3===i?0:1;if(void 0!==n){if(!n||"object"!=typeof n||Array.isArray(n)||Object.entries(n).some(([e,t])=>"space"!==e&&void 0!==t))throw yo("JXL_INPUT","colorEncoding: space only with icc");if(o=new Map([["rgb",0],["gray",1],["xyb",2],["unknown",3]]).get(n.space),void 0===o||1===o!=(1===i))throw yo("JXL_INPUT","colorEncoding.space: channel mismatch")}let a=t??("cmyk"===r||e.length>4194304?10:5),l=new vo(16);return l.write(2,2),l.writeU32([[0,0],[0,1],[4,2],[6,18]],o),{colorData:l,colorChannels:i,level:a}}function he(e,t={}){let r,n=ce(t),i=fe(e,t,te(e,t.level,t.colorSpace)),o=oe(Uint8Array.from(e)),a=null;if("lz77"!==n)try{a=function(e){let t=new Uint32Array(256);for(let r of e)t[r]++;let r=ae(e.length,t);for(let t of e)le(r.writer,r,t,0,0);return r.writer}(o)}catch(e){if("auto"!==n||"JXL_SIZE"!==e.code)throw e;r=e}if("prefix"!==n)try{let e=function(e){let t=new Uint32Array(320),r=new Uint32Array(64),n={frequencies:t,distances:r};me(e,(e,t,r)=>le(null,n,e,t,r));let i=ae(e.length,t,r);return me(e,(e,t,r)=>le(i.writer,i,e,t,r)),i.writer}(o);(!a||e.bitLength<a.bitLength)&&(a=e)}catch(e){if(!a||"JXL_SIZE"!==e.code)throw e}if(!a)throw r;return{...i,iccData:a}}function*ue(e,t={}){return Ha()?yield*Ua("prepareICC")(e,t,{BitWriter:vo,options:ce,fields:fe,inspect:re,transform:oe,matches:z,match:se,model:ae,symbol:le}):he(e,t)}function de(e,t=!1){if(e.header)return e.header;let r=za.get(e);return r||za.set(e,r=he(e.icc,{level:e.level,compression:e.compression})),r}function pe(e,t,r,n,i,o={}){return c(e,t,r,n,i,o,de)}function ge(e,t="JXL_JPEG"){return Object.assign(new Error(e.startsWith("JPEG")?e:"JPEG: "+e),{code:t})}function Me(e,t,r,n){let i=73===e[t]&&73===e[t+1];if(!i&&(77!==e[t]||77!==e[t+1]))return null;let o=new DataView(e.buffer,e.byteOffset,e.byteLength),a=e=>e+2>r?0:o.getUint16(e,i),l=e=>e+4>r?0:o.getUint32(e,i);if(42!==a(t+2)||l(t+4)<8)return null;let s=t+l(t+4),m=a(s);for(let e=0,t=s+2;e<m&&t+12<=r;e++,t+=12){let e=a(t+8);if(274===a(t)&&3===a(t+2)&&1===l(t+4)&&e>=1&&e<=8)return n?.(t+8,!i),e}return null}function ye(e,t,r){return!(3===e.length&&!t)||(r>=0?0!==r:82!==e[0].id||71!==e[1].id||66!==e[2].id)}function be(e,t){let r=new Uint16Array(65536),n=0,i=0;for(let o=1;o<=16;o++){for(let a=0;a<e[o-1];a++){let e=t[i++],a=n<<16-o,l=1<<16-o;if(a+l>=65536)throw ge("Huffman table");r.fill(o<<8|e,a,a+l),n++}n<<=1}return r}function we(e){let t=0;for(let r=1;r<=16;r++){let n=e[r-1];if(n&&(t+n)*(1<<16-r)>=65536)throw ge("Huffman table");t=2*(t+n)}}function Le(e){if(e<=.04045)return e/12.92;let t=(e+.055)/1.055,r=1;for(let e=0;e<24;e++)r=(4*r+t/(r*r*r*r))/5;return t*t*r*r}function*Oe(e){return yield*W("icc-space",function*(){let t=e.length,r=t=>e[t]<<8|e[t+1],n=r=>r+4<=t?(e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3])>>>0:0,i=r=>r+4<=t?String.fromCharCode(e[r],e[r+1],e[r+2],e[r+3]):"",o=e=>(0|n(e))/65536,a=n(128);if(t<132||132+12*a>t||"acsp"!==i(36)||"XYZ "!==i(20))return null;let l=function*(e){for(let r=0;r<a;r+=4096){let o=yield*V("icc-space-tags",()=>{for(let o=r;o<Math.min(a,r+4096);o++){let r=132+12*o,a=n(r+4);if(i(r)===e)return a+n(r+8)<=t?a:-1}return-2});if(-2!==o)return o}return-1},s=function*(e){let a=yield*l(e);if(a<0)return!1;if("para"===i(a)){let e=r(a+8),t=[1,3,4,5,7][e];if(3!==e&&4!==e)return!1;for(let e=0;e<t;e++)if(Math.abs(o(a+12+4*e)-(e<5?Qa[e]:0))>(e?.002:.01))return!1;return!0}let s="curv"===i(a)?n(a+8):0;if(s<2||a+12+2*s>t)return!1;for(let e=0;e<s;e+=256)if(!(yield*V("icc-space-curve",()=>{for(let t=e;t<Math.min(s,e+256);t++)if(Math.abs(r(a+12+2*t)/65535-Le(t/(s-1)))>.001)return!1;return!0})))return!1;return Za.every((e,t)=>{let n=t*(s-1)/16,i=Math.floor(n),o=Math.min(s-1,i+1),l=n-i;return Math.abs((r(a+12+2*i)*(1-l)+r(a+12+2*o)*l)/65535-e)<=.001})};for(let e of["A2B0","A2B1","A2B2"])if((yield*l(e))>=0)return null;if("GRAY"===i(16))return(yield*s("kTRC"))?"srgb":null;if("RGB "!==i(16))return null;for(let e of["rTRC","gTRC","bTRC"])if(!(yield*s(e)))return null;let m=[];for(let e of["rXYZ","gXYZ","bXYZ"]){let t=yield*l(e);m.push(...t>=0&&"XYZ "===i(t)?[o(t+8),o(t+12),o(t+16)]:[9,9,9])}let c=e=>e.every((e,t)=>Math.abs(m[t]-e)<=.004);return c(Ya)?"srgb":c(Wa)?"display-p3":null})}function*Ae(e,t=!1,{preserveICC:r=!1,compression:n="auto",bands:i=!1,maxPixels:o=Mo.pixels,allowFourComponents:a=!1}={},l=!0){if(!((e=Q(e)).length>4)||255!==e[0]||216!==e[1])throw ge("invalid signature");let s=[],m=[[],[]],c=new Set,f={count:0,parts:[]},h=t?[]:null,u=(e,t)=>{let r=m[e][t];return r&&(r.lookup??=be(r.counts,r.symbols))},d=(e,t)=>{let r=m[e][t];return r?{counts:r.counts,symbols:r.symbols}:null},p=null,g=0,M=-1,y=!1,b=null,w=!1,L=2,O=0,A=0,I=t?{bits:[],zero:!1,kernelScans:0}:null,v=t=>e[t]<<8|e[t+1],F=(t,r)=>{for(let n=0;n<r.length;n++)if(e[t+n]!==r.charCodeAt(n))return!1;return!0};for(;;){if(L>=e.length){if(p&&p.scans)break;throw ge("truncated")}if(255!==e[L])throw ge("marker");for(;255===e[L];)L++;let t=e[L++];if(++O>16384)throw ge("markers: max 16384");if(217===t)break;if(216===t)throw ge("duplicate SOI");if(t>=208&&t<=215)throw ge("restart outside scan");if(1===t)continue;if(L+2>e.length)throw ge("truncated");let r=v(L),n=L+2,N=L+r;if(r<2||N>e.length)throw ge("segment length");if(L=N,219===t)for(let t=n;t<N;){let r=e[t]>>4,n=15&e[t];if(r>1||n>3||t+1+(r?128:64)>N)throw ge("quantization table");t++;let i=new Int32Array(64);for(let n=0;n<64;n++)if(i[Va[n]]=r?v(t):e[t],t+=r?2:1,!i[Va[n]])throw ge("zero quantization step");if(p?.progressive&&p.components.some(e=>e.tq===n&&e.quant&&e.coverage.some(e=>0!==e)&&e.quant.some((e,t)=>e!==i[t])))throw ge("quantization table changed");s[n]=i}else if(196===t)for(let t=n;t<N;){if(++A>89)throw ge("Huffman tables: max 89");let r=e[t]>>4,n=15&e[t];if(r>1||n>3||t+17>N)throw ge("Huffman table");t++;let i=e.subarray(t,t+16),o=0;for(let e of i)o+=e;if(o>256||t+16+o>N)throw ge("Huffman table");let a=e.subarray(t+16,t+16+o);we(i),m[r][n]={counts:i,symbols:a,lookup:null},0===r&&(a.some(e=>e>15)?c.add(n):c.delete(n)),t+=16+o}else if(192===t||193===t||194===t){if(p)throw ge("multiple frames");if(N-n<6)throw ge("frame header");if(8!==e[n])throw ge("bit depth: 8");let r=v(n+1),l=v(n+3),s=e[n+5];if(!l||!r)throw ge("DNL height");if(4===s&&!a)throw ge("CMYK/YCCK: pass pixels");if(1!==s&&3!==s&&(!a||4!==s))throw ge("components: 1, 3 or 4");if(N-n<6+3*s)throw ge("frame header");if(l>Mo.edge||r>Mo.edge)throw ge("side: max "+Mo.edge,"JXL_DIMENSIONS");let m=Math.min(Mo.pixels,o);if(l*r>m)throw ge("pixels: max "+m,"JXL_DIMENSIONS");let c=[];for(let t=0,r=n+6;t<s;t++,r+=3){let t=e[r+1]>>4,n=15&e[r+1],i=e[r+2];if(t<1||t>4||n<1||n>4)throw ge("sampling factors");if(i>3)throw ge("quantization table");if(c.some(t=>t.id===e[r]))throw ge("duplicate component id");c.push({id:e[r],h:t,v:n,tq:i,pred:0,coverage:new Int8Array(64).fill(-1)})}let f=Math.max(...c.map(e=>e.h)),h=Math.max(...c.map(e=>e.v)),u=Math.ceil(l/(8*f)),d=Math.ceil(r/(8*h)),g=c.reduce((e,t)=>e+Math.ceil(l/(8*f))*t.h*Math.ceil(r/(8*h))*t.v*128,0),M=!!i&&(194!==t||Ha())&&g>(i.from??0);for(let e of c)e.blocksW=Math.ceil(Math.ceil(l*e.h/f)/8),e.blocksH=Math.ceil(Math.ceil(r*e.v/h)/8),e.stride=u*e.h,e.rows=d*e.v;if(8*(e.length-N)<c.reduce((e,t)=>e+t.blocksW*t.blocksH,0))throw ge("scan: incomplete");for(let e of c)M?(e.dc=new Int16Array(e.stride*e.rows),e.natural=new Uint32Array(64),e.coeffs=null,e.row0=-1,194===t&&(e.parts=[])):e.coeffs=new Int16Array(e.stride*e.rows*64);p={progressive:194===t,width:l,height:r,components:c,hmax:f,vmax:h,mcusX:u,mcusY:d,scans:0,bands:M?[]:null,packedLimit:i?.packed??al}}else{if(195===t||t>=197&&t<=199||t>=201&&t<=203||t>=205&&t<=207)throw ge("coding: baseline or progressive");if(221===t){if(r<4)throw ge("segment length");g=v(n)}else{if(220===t)throw ge("DNL marker");if(218===t){if(!p)throw ge("scan before frame");let t=e[n],r=[];if(t<1||t>4||n+1+2*t+3>N)throw ge("scan header");let i=n+1;for(let n=0;n<t;n++,i+=2){let t=p.components.find(t=>t.id===e[i]);if(!t)throw ge("unknown scan component");if(r.some(e=>e.component===t))throw ge("duplicate scan component");if(t.quant||(t.quant=s[t.tq]),!t.quant)throw ge("missing quantization table");let n=e[i+1]>>4,o=15&e[i+1];if(n>3||o>3)throw ge("table selector: 0-3");r.push({component:t,dc:u(0,n),ac:u(1,o),dcSlot:n,tables:[d(0,n),d(1,o)]})}if(t>1&&r.reduce((e,t)=>e+t.component.h*t.component.v,0)>10)throw ge("sampling factors");let o=e[i],a=e[i+1],m=e[i+2]>>4,f=15&e[i+2];if((!p.progressive||0===o&&0===m)&&r.some(e=>c.has(e.dcSlot)))throw ge("Huffman table");let M=h?{resets:[],zeros:[]}:null;L=yield*xe(e,N,p,r,o,a,m,f,g,M,I,l),M&&h.push(M),p.scans++}else if(224===t)F(n,"JFIF")&&(y=!0);else if(225===t)F(n,"Exif")&&0===e[n+4]&&(b??=Me(e,n+6,N));else if(226===t)if(r>=16&&F(n,"ICC_PROFILE\0")){let t=e[n+12],r=e[n+13];if(!t||!r||t>r||f.count&&f.count!==r||f.parts[t])throw ge("ICC profile: incomplete");f.count=r,f.parts[t]=Q(e,n+14,N)}else r>=35&&F(n,"urn:iso:std:iso:ts:21496:-1\0")&&(w=!0);else 238===t&&r>=14&&F(n,"Adobe")&&(M=e[n+11])}}}if(!p||!p.scans)throw ge("missing frame");if(I?.zero&&I.kernelScans)return yield*Ae(e,t,{preserveICC:r,compression:n,bands:i,maxPixels:o,allowFourComponents:a},!1);for(let e of p.components)for(let t=0;t<64;t++)if(0!==e.coverage[t])throw ge(p.progressive?"progressive scans: incomplete":"missing component scan");if(p.progressive&&p.bands&&(yield*Ua("jpegSummary")(p)),4===p.components.length&&f.count&&a)throw ge("CMYK/YCCK with ICC: pass RGBA pixels","JXL_UNSUPPORTED");let N,x,k,E="srgb";f.count&&({colorSpace:E,profile:N,iccBytes:x,renderingIntent:k}=yield*W("jpeg-profile",function*(){let e=[];for(let t=1;t<=f.count;t++){if(!f.parts[t])throw ge("ICC profile: incomplete");e.push(f.parts[t])}let i=Ha()?Ba(e):new Uint8Array(e.reduce((e,t)=>e+t.length,0));if(!Ha())for(let t=0,r=0;t<e.length;r+=e[t].length,t++)i.set(e[t],r);let o=1===p.components.length?"gray":4===p.components.length?"cmyk":"rgb",a=i.length>=4?(i[0]<<24|i[1]<<16|i[2]<<8|i[3])>>>0:0,l=a>=132&&a<i.length?Q(i,0,a):i;try{if((yield*re(l,void 0,t&&!r&&w&&"gray"===o?void 0:o))!==p.components.length)return{colorSpace:"srgb",profile:void 0};let e=yield*Oe(l),i=r||!e;return{colorSpace:e||"srgb",profile:i?yield*ue(l,{compression:n,colorSpace:o}):void 0,iccBytes:e?void 0:l,renderingIntent:i?void 0:tl(l)}}catch(e){throw"JXL_INPUT"===e.code?ge("ICC profile: "+e.message):e}}));let C=ye(p.components,y,M);return{...p.bands?Ne(e,p):{},end:L,width:p.width,height:p.height,components:p.components,progressive:p.progressive,ycbcr:C,adobeTransform:M,orientation:b??1,colorSpace:E,...k&&"relative"!==k&&{renderingIntent:k},...N?{profile:N,level:N.level}:{},...x?{iccBytes:x}:{},...h?{scanChoices:h}:{},...I?.zero?{padding:Uint8Array.from(I.bits)}:{}}}function Ie(e,t,r,n,i,o){if(!e.progressive){if(0!==r||63!==n||0!==i||0!==o)throw ge("spectral selection");for(let e of t){if(e.component.coverage.some(e=>-1!==e))throw ge("duplicate component scan");e.component.coverage.fill(0)}return}if(o>13||i&&i!==o+1)throw ge("successive approximation");if(0===r){if(0!==n)throw ge("spectral selection");for(let{component:e}of t){if(e.coverage[0]!==(i||-1))throw ge(i?"refinement scan order":"duplicate DC scan");e.coverage[0]=o}return}if(1!==t.length)throw ge("interleaved AC scan");if(n>63||r>n)throw ge("spectral selection");let{coverage:a}=t[0].component;if(-1===a[0])throw ge("AC before DC scan");for(let e=r;e<=n;e++){if(a[e]!==(i||-1))throw ge(i?"refinement scan order":"duplicate band scan");a[e]=o}}function ve(e,t,r,n,i,o){let a=1===t.length,l=t[0].component;for(let s=r;s<n;s++){if(i?.(s),a){let e=s/l.blocksW|0;o(t[0],e*l.stride+s-e*l.blocksW);continue}let r=s/e.mcusX|0,n=s-r*e.mcusX;for(let e of t){let t=e.component;for(let i=0;i<t.v;i++)for(let a=0;a<t.h;a++)o(e,(r*t.v+i)*t.stride+n*t.h+a)}}}function Fe(e,t,r,n,i,o,a){ve(t,r,n,i,t=>{o&&t>0&&t%o===0&&e.restart(t/o-1),e.ensure()},a||((t,r)=>e.block(t,t.component.coeffs,64*(r-(0|t.component.row0)*t.component.stride))))}function Ne(e,t){let r=t.components,n=Math.ceil(t.mcusY/(32/t.vmax));for(let{scan:e}of t.bands)for(let t of e)void 0===t.dc&&(t.dc=t.tables[0]&&be(t.tables[0].counts,t.tables[0].symbols)),void 0===t.ac&&(t.ac=t.tables[1]&&be(t.tables[1].counts,t.tables[1].symbols));for(let e of r)e.band=new Int16Array(32*e.v/t.vmax*e.stride*64);let i={bits:[],zero:!1},o=-1,a=n=>{if(n!==o){t.progressive&&Ta(r.flatMap(e=>e.parts.slice(32*n/t.vmax,Math.min(t.mcusY,32*(n+1)/t.vmax)))),o=n;for(let e of r)e.coeffs=e.band,e.row0=n*(32*e.v/t.vmax),e.band.fill(0);if(t.progressive){for(let e of r)for(let r=32*n/t.vmax;r<Math.min(t.mcusY,32*(n+1)/t.vmax);r++)e.band.set(e.parts[r],(r*e.v-e.row0)*e.stride*64);return}for(let{scan:r,restartInterval:o,points:a,total:l,packed:s}of t.bands){let m=a[n],c=Math.min(l,m?.unit+ol(t,r));if(!m)continue;if(s){let{counts:e,at:i,levels:o}=s[n],a=0,l=0;ve(t,r,m.unit,c,null,({component:t},r)=>{let n=t.coeffs,s=64*(r-t.row0*t.stride);for(let t=e[a++];t>0;t--,l++)n[s+i[l]]=o[l]});continue}let f=a[n+1],h=e.subarray(m.pos,f?Math.min(e.length,f.pos+rl+8):e.length),u=new nl(h,0,t,r,0,63,0,0,null,i);u.load(),u.bit=m.bit,i.bits.length=0,r.forEach((e,t)=>{e.component.pred=m.preds[t]}),Fe(u,t,r,m.unit,c,o,null)}}};return{band:a,*rows(){for(let e=0;e<n;e++)a(e),yield{components:r.map(e=>({coeffs:e.coeffs,row0:e.row0}))}},bandFrame:t}}function*xe(e,t,r,n,i,o,a,l,s,m,c,f){if(Ie(r,n,i,o,a,l),r.progressive&&r.bands)return yield*Ua("jpegProgressive")(e,t,r,n,i,o,a,l,s,m,c,{ScanReader:nl,readUnits:Fe,finishScan:ke});let h=1===n.length,u=n[0].component,d=h?u.blocksW*u.blocksH:r.mcusX*r.mcusY,p=r.progressive||!f||r.bands?null:Ia.entropy?.()?.sequentialDecode(e,t,r,n,s,Va);if(p){if(c&&c.kernelScans++,m)for(let[e,t]of p.zeros)m.zeros.push({block:e,count:t});return ke(e,p.pos,d,s,m)}let g=new nl(e,t,r,n,i,o,a,l,m,c);for(let e of n)e.component.pred=0;g.load();let M=r.bands,y=M?ol(r,n):d,b=[],w=new Int16Array(64),L={scan:n,restartInterval:s,points:b,total:d,packed:!1===r.packed?null:[]},O=new ll(Uint8Array),A=new ll(Uint8Array),I=new ll(Int16Array),v=M&&((e,t)=>{g.block(e,w,0);let r=e.component,n=r.natural,i=L.packed;r.dc[t]=w[0];let o=0;for(let e=0;e<64;e++)w[e]&&(n[e]++,i&&(A.push(e),I.push(w[e]),o++),w[e]=0);i&&O.push(o)});M&&M.push(L);let F=e=>{if(M&&b.push({unit:e,...g.here(),preds:n.map(e=>e.component.pred)}),Fe(g,r,n,e,Math.min(d,e+y),s,v),!L.packed||!M)return null;let t={counts:O.take(),at:A.take(),levels:I.take()};if(r.packedBytes=(r.packedBytes||0)+t.counts.length+3*t.at.length,r.packedBytes<=r.packedLimit)return L.packed.push(t),null;r.packed=!1;for(let e of M)e.packed=null;return null},N=()=>({...g.here(),preds:n.map(e=>e.component.pred),block:g.blockIndex,points:b,dc:n.map(e=>e.component.dc),natural:n.map(e=>e.component.natural),packed:L.packed,packedBytes:r.packedBytes??0,resets:m?.resets??null,zeros:m?.zeros??null,padding:c&&{bits:c.bits,zero:c.zero}});for(let e=0;e<d;e+=y){if(!M){F(e);continue}let t=yield*Y("scan-"+r.scans,()=>F(e),N);null===t||t===Ja||(g.pos=t.pos,g.load(),g.bit=t.bit,g.blockIndex=t.block,n.forEach((e,r)=>{e.component.pred=t.preds[r],e.component.dc.set(t.dc[r]),e.component.natural.set(t.natural[r])}),b.length=0,b.push(...t.points),L.packed=t.packed,r.packedBytes=t.packedBytes,m&&(m.resets=t.resets,m.zeros=t.zeros),c&&(c.bits=t.padding.bits,c.zero=t.padding.zero))}return g.atMarker(!0),ke(e,g.pos,d,s,m)}function ke(e,t,r,n,i){if(255===e[t]&&e[t+1]>=208&&e[t+1]<=215){if(!n||r%n||e[t+1]!==208+(r/n-1&7))throw ge("restart marker");for(i&&(i.finalRestart=e[t+1]),t+=2;t+1<e.length&&255===e[t]&&255===e[t+1];)t++}if(t<e.length&&!(255===e[t]&&t+1<e.length&&0!==e[t+1]&&255!==e[t+1]))throw ge("trailing scan bytes");return t}function Ee(e){if(e&&(Jl=e),Io)return Io;Io=null;try{let e,t,r,n,i,o,{exports:a}=new WebAssembly.Instance(R("jpeg",()=>ca("M,> LMMML³LQ-L2L2-L2M-O22M-L2L1-ML2-MM-N222L2-N222M-L1L1-O22L1-O22L2-K222222L1-O21L2-D221222222L2-I2222L2-K222222L2-I2222M-F22222212222L2-G2222222222L2-N221L1-A222222222222L2-G2222222222M-G2222222220M-N666L6-B222222222222222M-J2222222M-A222222222221L1-F22222222222MNspEEHMNNADKLOM@OICOMJLIHIMMGIHGOKMNDJLMLLKB]\\MMNFF_^YXLO[ZUTJWVHNLMmK'X3LMF2L:MF2L:MF2L:MF2L:MF3LMF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L:MF2L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O°«LmK°AMMÍsMMÍsMMÍsMMÍs°«L°©LoEmH°Aþsþsþsþs°«LoA°©Lo@mI°A§\vºs§\vºs§\vºs§\vºsoD°«LmJmO°«L°©LmF°A£ÎIs£ÎIs£ÎIs£ÎIsoH°«L°©LoG°©L°FIMmLmNmO°«LmK°AMMMrMMMrMMMrMMMr°«L°¨LoNmImJ°¨LmF°¨LmO°«LoK°©L°FI]mLmEmA°¨LoCmImH°«LmJmO°«L°¨LmFmD°«L°©LoO°©L°FImmLmCmO°¨L°FI}mLmNmK°¨L°FI\rmLm@mG°¨L°FIBFmNmK°©LmO°«LoEmH°AΡsΡsΡsΡs°«LmL°MI-oG°AX¢sX¢sX¢sX¢s°«L°©LoA°©Ll@mEmA°¨Ll]mNmK°¨LmO°«LoDmH°AX¢sX¢sX¢sX¢s°«LmG°AΡsΡsΡsΡs°«L°¨LoH°©LlNmDmH°¨LlCmLm@mI°AóY¶sóY¶sóY¶sóY¶soE°«LmJ°A|s|s|s|soD°«L°©LmF°AtÃstÃstÃstÃsoA°«LmL°MI=oB°AppppoH°«L°©L°©LoG°©L°FIMmLmNmImD°«LmJmH°«L°¨LmFmE°«LmBmA°«L°©L°¨LoK°©L°FI]mLmCmImA°«LmJmE°«L°¨LmFmH°«LmBmD°«L°©L°©LoO°©L°FImmLm]mImH°«LmJmA°«L°¨LmFmD°«L°©LmBmE°«L°¨LoI°©L°FI}mLm]mI°¨L°FI\rmLmCmO°¨L°FImLmNmK°¨L°FI-mLm@mG°¨L°FI=FéDNJ2O6L0mD°^l_mLgOMMMMsÙl^N\rmNmBI\r:MlAN\rmOmAI\rmMmImB!mA':J9'lFmHmK?:L\vI\rmJmEmB!mA':O9'mFcLMÿm^ÙmDßuOMHmF°MIM:M°WMl\\:LlGN\rmKmGI\rm\\mFmG:I9'°MIM°l\\mG:L'lGALFFm\\°I\rmK:N<I\r:ÝÛi°AMMMMMMMMMMMMMMMM°FIM:íÛi°AMMMMMMMMMMMMMMMM°FIM:ýÛi°AM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°°I\rmC°êLmA°êLmNmB:L9'°MIM°øL°AMIMMMIMMMIMMMIMM°ãL:F°áL°üLl@mC°åLmA°åLmNmB:L9'°MI]°øL°AMIMMMIMMMIMMMIMM°ãL:F°áL°üLlAm@m@°AMMMM²²²²²²²²²²²²°mBVo@°AMÍMMMÍMMMÍMMMÍMM°ãL°A²²MM²²MM²²MM²²MM°qmA°AMÍMMMÍMMMÍMMMÍMM°ãL°A²²MM²²MM²²MM²²MM°q°°I\r\tM
* æBFm\\mIm@°íL:N°æLo@°VM'fNMímIm@°VL'fNMímIm@°VO'fNMímIm@°VN'fNMímImA°íL:N°æLoA°VM'fNMímImA°VL'fNMímImA°VO'fNMímImA°VN'fNMíl\\FmB:]'oB:ÍL@MFmFm\\(I\rm\\BFmG:L'oGmHmGmE:E'<@MFmO:L'oOmKmOmD:E'<@MFm\\FÉHNJ2O1O6:IlFN\rmNmF'mOmF'eOM:F9mOmF'eOÍO#{OMmF:I'oF:ÍO@MFmG\bI\rmH\tMMMMMMMMtNM:LlFN\rmHmF:N9'mF:L':N9fNMmF:L'õî\tMMMMMMM\rítNMmF:L'oF:ÍÍO\0@MFFN\r:Ml@N\rmKm]'aMMlOmG\bI\r:MlOmMmLmNmImHmJmEmDm@mC:M\tM
* æ]vl_:í2lFN\rmFI\rmMmLmNmImHmJmEmDm@mCmFm_]vo^m_.I\rm^l_mFlOFFmF:K'oF:M@MFmO:H&lFN\rmF:ÍL':²L\0I\rmMmLmNmImHmJmEmDm@mCmFm_]vo^m_.I\rm^l_mFlOFFmF:L'oFmO:H'@MFmKm]'mOwMMFmOI\rmNmImO]wm@lOmClBN\rmOlFN\rmDmB!mF':J9l\\:MlAN\rmLmAm\\''mLmAm\\''°MIMoY°êLmMmAm\\''°MIMoX°êLmImA:L9'°MIM°øL°AMIMMMIMMMIMMMIMM°ãL:F°áL°üLmY°åLmX°åLmImA:L9'°MI]°øL°AMIMMMIMMMIMMMIMM°ãL:F°áL°üL°ÈL°FIMmA:]'oA:ÍL@MFmF:L'oFmJmFmO:E'<@MFmB:L'oBmEmBmC:E'<@MFFm]:L'l]m@:E'o@mJ@MFmC:E'oCmE@MFF"))),l=a.memory,s=()=>{e=new Float64Array(l.buffer),t=new Uint32Array(l.buffer),r=new Uint8Array(l.buffer),n=new Int16Array(l.buffer),i=new Int32Array(l.buffer),o=new Uint16Array(l.buffer)};s();let m=e=>{if(e>Hl)throw yo("JXL_MEMORY","arena: too large");l.grow(Math.ceil((e-l.buffer.byteLength)/65536))},c=e=>{e>l.buffer.byteLength&&(m(e),s())},f=null,h=null,u=null,d=!1,p=(e,n)=>{e.at+n+8>=e.bytes.length&&e.grow(n+8),e.bytes.set(r.subarray(gl,gl+n),e.at),e.at+=n,e.acc=t[cl>>2],e.pending=t[148097]};a.initTable(),Io={memoryBytes:()=>l.buffer.byteLength,fitCfl(e,i,o,s,m,f,d,p,g){h=null,u=null;let M=xl,y=M+512,b=y+256,w=b+256,L=12145672,O=L+2*e.length,A=O+2*i.length;c(A+p.length),t.set(o,M>>2),t.set(s,2970688),n.set(e,L>>1),n.set(i,O>>1),r.set(new Uint8Array(p.buffer,p.byteOffset,p.length),A),a.fitCfl(L,O,M,y,b,w,A,m,f,d,g),i.set(n.subarray(O>>1,(O>>1)+i.length)),p.set(new Int8Array(l.buffer,A,p.length))},clusters:256,flatten:Ue,row(r,n,i){t.set(n,(sl>>2)+64*r),e[73728+r]=i,a.terms(r)},own(e){t.set(e,147968)},alive(e,t){r[ml+e]=t?1:0},priceConfigs(n,i,o,{symbolBits:c,logLengths:f}){let d=n.length,p=o.length,g=xl,M=g+8*c.length,y=M+16,b=y+16*p,w=b+768,L=w+512,O=L+16,A=O+4*d,I=A+4*d;I>l.buffer.byteLength&&(m(I),s(),h=null),u=null,h!==o&&(e.set(c,g>>3),r.set(f,M),o.forEach((e,r)=>t.set([e.split,e.msb,e.lsb,e.splitToken],(y>>2)+4*r)),h=o),t.set(n,O>>2),t.set(i,A>>2);let v=a.priceConfigs(O,A,d,y,p,g,M,b,w,L);return v<0?null:{index:v,tokens:t.slice(w>>2,128+(w>>2)),raw:e[L>>3],cost:e[1+(L>>3)]}},priceEvery(n,i,o,c,f,{symbolBits:d,logLengths:p}){let g=n.length,M=o.length,y=c.length,b=xl,w=b+8*d.length,L=w+16,O=L+16*M,A=O+16*y,I=A+4*g,v=I+4*g+7&-8,F=v+(528*M+8*(M+y)+512+1048*y+12*(M+6)+M+6+y)+7&-8,N=F+120;N>l.buffer.byteLength&&(m(N),s(),h=null),(h!==o||u!==c)&&(e.set(d,b>>3),r.set(p,w),[...o,...c].forEach((e,r)=>t.set([e.split,e.msb,e.lsb,e.splitToken],(L>>2)+4*r)),h=o,u=c),t.set(n,A>>2),t.set(i,I>>2);let x=a.priceEvery(A,I,g,L,M,O,y,f,b,w,v,F),k=[];for(let r=0;r<x;r++){let n=(F>>2)+6*r,i=t[n]>>2,a=t[n+2];k.push({candidate:a<M?o[a]:c[a-M],tokens:t.slice(i,i+t[n+1]),raw:e[(F>>3)+3*r+2]})}return k},seedBest(t,r){return[a.seedBest(t,r),e[74048]]},seedAll(r,n,i,o,c,f=[]){h=null;let u=r.length,d=xl,p=d+256*u,g=p+256,M=g+(4*(u+1)+7&-8),y=M+512*u,b=y+(4*(u+1)+7&-8),w=0;for(let e of r)if(n.large[e])for(let t of n.large[e].keys())w++;let L=b+4*u,O=L+8*w;O>l.buffer.byteLength&&(m(O),s());for(let e=0;e<64;e++)t[(p>>2)+e]=i(e);let A=0;for(let e=0;e<u;e++){let o=r[e];if(t.set(n.small.subarray(64*o,64*o+64),(d>>2)+64*e),t[(g>>2)+e]=A,n.large[o])for(let[e,r]of n.large[o])t[(L>>2)+2*A]=i(e),t[(L>>2)+2*A+1]=r,A++}t[(g>>2)+u]=A;let I=a.seedAll(u,d,g,L,p,o,c,M,y,b,f.length),v=f.slice();for(let e=0;e<u;e++){let n=t[(b>>2)+e];n===v.length?v.push({contexts:[r[e]],freqs:null,bits:0,last:0,cost:-1}):v[n].contexts.push(r[e])}for(let r=0;r<I;r++)v[r].freqs=t.slice((sl>>2)+64*r,(sl>>2)+64*r+64),v[r].bits=e[73728+r];let F=t.slice(y>>2,(y>>2)+u+1);return{clusters:v,offsets:F,runs:t.slice(M>>2,(M>>2)+2*F[u])}},pairsInit:e=>{r.fill(1,ml,ml+e),a.pairsInit(e)},pairsUpdate:(e,t)=>a.pairsUpdate(e,t),pairMin(r){return[a.pairMin(r),t[cl>>2],e[74049]]},assign(r,i,o){h=null;let c=r.offsets.length-1,f=i.length,u=xl,d=u+512*f,p=d+8*f,g=p+8*f,M=g+4*(c+1),y=M+4*r.pairs.length,b=y+(c*f*2+7&-8);b>l.buffer.byteLength&&(m(b),s());for(let t=0;t<f;t++)e.set(i[t],(u>>3)+64*t);return e.fill(0,d>>3,(d>>3)+2*f),t.set(r.offsets,g>>2),t.set(r.pairs,M>>2),[a.assign(c,f,o,g,M,u,y,d,p),n.subarray(y>>1,(y>>1)+c*f)]},fill:function(e,l,s,m){let{authoredOrderPasses:f,groupsX:h,progression:u,contexts:p,lumaBuckets:g,lumaW:M,xsizeBlocks:y,ysizeBlocks:b,comps:w,grey:L,orders:O,counted:A,blockCounts:I,nonZero:v,hshifts:F,vshifts:N}=e;if(u||v||p.map.length>2560)return null;let x=w.some((e,t)=>!(L&&1!==t)&&e.coeffs instanceof Int32Array)?1:0,k=x?El:5897216,E=x?Cl:6290432,C=x?Bl:6683648;c(x?Bl+4*kl:vl);let B=x?i:n;i.set(m,1466112),i.set(p.map,1463360);let U=f?.[s],H=l%h*32,J=32*(l/h|0),K=Math.min(32,y-H),D=Math.min(32,b-J),T=[0,1,2].map(e=>Math.ceil(K/(1<<F[e]))),S=Math.ceil(K/(1<<F[1]));i.set([K,D,p.numCtxs,p.numDc,p.thresholds.length>0?1:0,A?1:0,L?1:0,...F,...N,S,...T],1463296);for(let e=0;e<3;e++){if(i.set(U?.ordinary?.[e]||O[e],1465920+64*e),L&&1!==e)continue;let{coeffs:t,stride:n}=w[e],o=T[e],a=Math.ceil(D/(1<<N[e])),l=H>>F[e],s=J>>N[e],m=(k>>1+x)+65536*e,c=w[e].row0>0?w[e].row0*n:0;for(let i=0;i<a;i++){let a=(s+i)*n+l;B.set(t.subarray(64*(a-c),64*(a-c+o)),m+i*o*64),A&&r.set(I[e].subarray(a,a+o),Ml+1024*e+i*o)}}if(p.thresholds.length>0){let e=Math.ceil(D/(1<<N[1])),t=H>>F[1],n=J>>N[1];for(let i=0;i<e;i++)r.set(g.subarray((n+i)*M+t,(n+i)*M+t+S),5880832+i*S)}let G=a.fill(k,E,C,x);if(!A)for(let e=0;e<3;e++){if(L&&1!==e)continue;let{stride:t}=w[e],n=T[e],i=Math.ceil(D/(1<<N[e])),o=H>>F[e],a=J>>N[e];for(let l=0;l<i;l++)I[e].set(r.subarray(Ml+1024*e+l*n,Ml+1024*e+(l+1)*n),(a+l)*t+o)}d=1===x;let j=[G,o.subarray(E>>1,(E>>1)+G),x?t.subarray(C>>2,(C>>2)+G):o.subarray(C>>1,(C>>1)+G)];return x&&(j.wide=!0),j},sequentialScan(e,o,l,s,m,h,u,d){let p=o.reduce((e,t)=>e+t.v*t.stride,0);if(o.length>4||p>3072||h.size>65536||u&&u.bits.length>65536||e.pending)return!1;c(vl);let g=[...h].sort((e,t)=>e[0]-t[0]);g.forEach(([e,r],n)=>{t[(wl>>2)+2*n]=e,t[(wl>>2)+2*n+1]=r}),u&&u.bits.forEach((e,t)=>{r[3170848+t]=0===e||1===e?e:255}),i.set(d,661576),o.forEach((e,t)=>{i.set(e.dc,(bl>>2)+514*t),i.set(e.ac,(bl>>2)+514*t+257)}),f=null,a.scanStart(u?u.at:0);let M=Math.floor(3072/p);for(let t=0;t<s;t+=M){let c=Math.min(M,s-t);i.set([o.length,l,c,m,u?u.bits.length:-1,0,g.length],yl>>2);let f=3236384;o.forEach((e,r)=>{let o=t*e.v*e.stride*64,a=Math.min(e.co.length,(t+c)*e.v*e.stride*64);n.set(e.co.subarray(o,a),f>>1),i.set([e.h,e.v,e.stride,f,e.index],659464+8*r),f+=c*e.v*e.stride*128});let h=a.scanBand();if(h<0)return null;e.chunk(r.subarray(gl,gl+h))}return e.acc=t[659512],e.pending=t[659513],u&&(u.at=t[659463]),!0},sequentialDecode(e,c,h,u,d,p){let g=1===u.length,M=u[0].component,y=e.length-c,b=[],w=e=>{let t=b.indexOf(e);return t<0&&(t=b.length,b.push(e)),t},L=u.map(e=>({c:e.component,h:g?1:e.component.h,v:g?1:e.component.v,dc:e.dc,ac:e.ac}));if(u.length>4||L.some(e=>!e.dc||!e.ac))return null;let O=L.map(e=>[w(e.dc),w(e.ac)]),A=L.reduce((e,t)=>e+t.v*t.c.stride,0),I=Math.floor(1656/A);if(b.length>8||!I)return null;let v=Il+y+15&-16,F=v+524288;if(F>l.buffer.byteLength){if(F>Ul)return null;try{m(F)}catch{return null}s()}f=null;try{b.forEach((e,t)=>o.set(e,65536*t)),r.set(e.subarray(c),Il),i.set(p,262208);let l=g?M.blocksW*M.blocksH:h.mcusX*h.mcusY,s=g?M.blocksW:h.mcusX;i.set([L.length,h.mcusX,l,d,g?1:0,y,M.blocksW,0,v],Ol>>2),a.decodeStart();for(let e=0;e*s<l;e+=I){i[262151]=e;let t=Al;if(L.forEach((e,r)=>{i.set([e.h,e.v,e.c.stride,131072*O[r][0],131072*O[r][1],r,t],262160+8*r),t+=I*e.v*e.c.stride*128}),!a.decodeBand(Math.min(l,(e+I)*s),t-Al))return null;t=Al;for(let r of L){let i=e*r.v*r.c.stride*64,o=Math.min(r.c.coeffs.length,(e+I)*r.v*r.c.stride*64);r.c.coeffs.set(n.subarray(t>>1,(t>>1)+o-i),i),t+=I*r.v*r.c.stride*128}}L.forEach((e,t)=>{e.c.pred=i[262200+t]});let m=[];for(let e=0,r=t[262155];e<r;e++)m.push([t[(v>>2)+2*e],t[(v>>2)+2*e+1]]);return{pos:c+t[262154],zeros:m}}finally{a.initTable(),F>vl&&r.fill(0,vl,Math.min(Fl,F))}},scaledDecode(e,n,c,h,u,d,p,g,M=1){let y=1===h.length,b=h[0].component,w=e.length-n,L=[],O=e=>{let t=L.indexOf(e);return t<0&&(t=L.length,L.push(e)),t},A=h.map(e=>({c:e.component,h:y?1:e.component.h,v:y?1:e.component.v,dc:e.dc,ac:e.ac}));if(h.length>4||A.some(e=>!e.dc||!e.ac))return null;let I=A.map(e=>[O(e.dc),O(e.ac)]);if(L.length>8)return null;let{mxY:v,myY:F,mxC:N,myC:x,outW:k,outH:E,mode:C,clampW:B,clampH:U,yBias:H,cBias:J}=p,K=c.mcusX,D=c.mcusY,T=A.reduce((e,t)=>e+t.v*t.c.stride,0),S=Math.max(2,Math.min(D,Math.min(16,Math.max(2,Math.floor(16384/Math.max(1,T)))))),G=S*T*128,j=K*A[0].h*v+15&-4,P=A.length>1?K*A[1].h*N+15&-4:16,_=S*A[0].v*F+4,X=A.length>1?S*A[1].v*x+4:4,q=Il+w+63&-64,R=q+131072*L.length+63&-64,z=R+G+63&-64,V=z+1024,Y=V+_*j*4,W=Y+(A.length>1?X*P*4:64),Z=W+(A.length>1?X*P*4:64),Q=Z+8*(B+32)+63&-64,$=_*k*4,ee=M>1&&Q+$+k*E*4<=Ul,te=ee?Q+$+63&-64:0,re=ee?te+k*E*4:Q+$;if(re>l.buffer.byteLength){if(re>Ul)return null;try{m(re)}catch{return null}s()}f=null;let ne=new Float32Array(l.buffer);try{L.forEach((e,t)=>o.set(e,(q>>1)+65536*t)),r.set(e.subarray(n),Il),i.set(d,262208),A.forEach((e,t)=>{let r=z+256*t>>2;for(let t=0;t<64;t++)ne[r+t]=e.c.quant[t]});let l=y?b.blocksW*b.blocksH:K*D,s=y?b.blocksW:K,m=y?b.blocksH:D;i.set([A.length,K,l,u,y?1:0,w,b.blocksW,0,0],Ol>>2),a.decodeStart();let c=2===C||4===C,f=0,h=0,p=0;for(let e=0;e<m;e+=S){let t=Math.min(S,m-e);i[262151]=e;let n=R,o=[];if(A.forEach((e,r)=>{o.push(n),i.set([e.h,e.v,e.c.stride,q+131072*I[r][0],q+131072*I[r][1],r,n],262160+8*r),n+=t*e.v*e.c.stride*128}),!a.decodeBand(Math.min(l,(e+t)*s),n-R))return null;a.idctPlane(o[0],z,A[0].c.blocksW,t*A[0].v,A[0].c.stride,v,F,V+f*j*4,j,H),3===A.length&&(a.idctPlane(o[1],z+256,A[1].c.blocksW,t*A[1].v,A[1].c.stride,N,x,Y+h*P*4,P,J),a.idctPlane(o[2],z+512,A[2].c.blocksW,t*A[2].v,A[2].c.stride,N,x,W+h*P*4,P,J));let u=e*(A[1]?.v??1)*x-h,d=t*A[0].v*F,y=Math.min(f+d,E-p);if(y<=0)break;let b=c&&e+t<m&&p+y<E,w=b?y-1:y;if(w>0&&(a.jpegRgbaRows(V,Y,W,j,P,k,w,C,B,0,p,u,U,Z,Q),ee?a.orientBandRgba(Q,te,k,E,p,w,M):g(p,w,r.subarray(Q,Q+w*k*4)),p+=w),b){r.copyWithin(V,V+w*j*4,V+(w+1)*j*4);let e=h+t*A[1].v*x-1;r.copyWithin(Y,Y+e*P*4,Y+(e+1)*P*4),r.copyWithin(W,W+e*P*4,W+(e+1)*P*4),f=1,h=1}else f=0,h=0}let O=ee?r.slice(te,te+k*E*4):null;return{pos:n+t[262154],oriented:O}}finally{re>vl&&r.fill(0,vl,Math.min(Fl,re))}},async renderGeneralBands(e,t){let o,s=e.components,m=s.length,u=Math.max(...s.map(e=>e.h)),d=Math.max(...s.map(e=>e.v)),{width:p,height:g}=e,M=Math.ceil(g/(8*d)),y=Math.max(1,Math.min(8,Math.floor(131072/Math.max(1,p*d*8))));try{let e=()=>Uint8Array.from(atob("AGFzbQEAAAABHANgCn9/f39/f39/f38AYAV/f39/fwF8YAF8AX8CDwEDZW52Bm1lbW9yeQIAAgMEAwABAgQFAXABAQEGCAF/AUGAiAQLBxMBD2pwZWdHZW5lcmFsUm93cwAACvgLA4sGBAp/BHwDfwJ8QQAhCkEAIAIgA2siCyALIAJLGyEMIAFBAnQhDSAAQdQAaiEOIABBOGohDy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AbhEAAAAAAAA4D+gIAAoAgi4oiADuKNEAAAAAAAA4L+gIglEAAAAAAAAAABlDQBEAAAAAAAAAAAhCCAAKAIQQX9qIgIhBCAJIAK4Zg0AAkACQCAJRAAAAAAAAPBBYyAJRAAAAAAAAAAAZnFFDQAgCashBAwBC0EAIQQLIARBAWohAiAJIAS4oSEICwJAAkAgBUQAAAAAAAAAAGVFDQBBACEBDAELIAAoAhRBf2oiByEBIAUgB7hmDQACQAJAIAVEAAAAAAAA8EFjIAVEAAAAAAAAAABmcUUNACAFqyEBDAELQQAhAQsgAUEBaiEHIAUgAbihIQYLRAAAAAAAAAAARAAAAAAA4G9AIAAoAgAiAyAAKAIEIgogASAAKAIYIgtrbEECdGoiACAEQQJ0IgRqKgIAIgy7IgUgBUQAAAAAAOBvQGQbIAxDAAAAAF0bIgUgCEQAAAAAAAAAAEQAAAAAAOBvQCAAIAJBAnQiAmoqAgAiDLsiCSAJRAAAAAAA4G9AZBsgDEMAAAAAXRsgBaGioCEFAkAgBkQAAAAAAAAAAGENACAFIAZEAAAAAAAAAABEAAAAAADgb0AgAyAKIAcgC2tsQQJ0aiIAIARqKgIAIgy7IgkgCUQAAAAAAOBvQGQbIAxDAAAAAF0bIgkgCEQAAAAAAAAAAEQAAAAAAOBvQCAAIAJqKgIAIgy7Ig0gDUQAAAAAAOBvQGQbIAxDAAAAAF0bIAmhoqAgBaGioCEFCyAFC18AAkBEAAAAAAAA4D9EAAAAAADgb0AgACAARAAAAAAA4G9AZBtEAAAAAAAA4D+gIABEAAAAAAAAAABjGyIARAAAAAAAAPBBYyAARAAAAAAAAAAAZnFFDQAgAKsPC0EACw=="),e=>e.charCodeAt(0));if(!await q("general",e))throw 0;o=new WebAssembly.Instance(R("general",e),{env:{memory:l}}).exports.jpegGeneralRows}catch{throw yo("JXL_WASM","JPEG layout: "+s.map(e=>e.h+"x"+e.v).join("/")+(4===m?" CMYK/YCCK":"")+": kernel unavailable")}let b=1===m?0:3===m?e.ycbcr?1:2:2===e.adobeTransform?5:0===e.adobeTransform?3:4;f=null,h=null;for(let e=0;e<M;e+=y){let f=Math.min(y,M-e),h=Math.max(0,e-1),w=Math.min(M,e+f+1)-h,L=e*d*8,O=Math.min(g-L,f*d*8),A=Ol,I=[];for(let e of s)I.push(A),A+=w*e.v*e.stride*128;let v=A+63&-64;A=v+256*m;let F=[];for(let e of s){let t=8*e.stride+15&-4;F.push({base:A,stride:t}),A+=w*e.v*8*t*4}let N=A+63&-64,x=N+28*m+63&-64;c(x+O*p*4);let k=new Float32Array(l.buffer);for(let e=0;e<m;e++){let t=s[e],o=I[e],l=w*t.v*t.stride*64,m=h*t.v*t.stride*64,c=Math.min(t.coeffs.length,m+l);r.fill(0,o,o+2*l),c>m&&n.set(t.coeffs.subarray(m,c),o>>1);for(let r=0;r<64;r++)k[(v+256*e>>2)+r]=t.quant[r];a.idctPlane(o,v+256*e,t.blocksW,w*t.v,t.stride,8,8,F[e].base,F[e].stride,128),i.set([F[e].base,F[e].stride,t.h,t.v,Math.ceil(p*t.h/u),Math.ceil(g*t.v/d),h*t.v*8],(N>>2)+7*e)}o(N,p,g,L,O,u,d,m,b,x),t(L,O,r.subarray(x,x+O*p*4))}},renderParsedBands(e,t,i){let o=e.components,s=o.length,{mxY:m,myY:h,mxC:u,myC:d,outW:p,outH:g,mode:M,clampW:y,clampH:b,yBias:w,cBias:L,mcusX:O,mcusY:A}=t,I=o.reduce((e,t)=>e+t.v*t.stride,0),v=Math.max(2,Math.min(A,Math.min(16,Math.max(2,Math.floor(16384/Math.max(1,I)))))),F=v*I*128,N=O*o[0].h*m+15&-4,x=s>1?O*o[1].h*u+15&-4:16,k=v*o[0].v*h+4,E=s>1?v*o[1].v*d+4:4,C=Ol,B=C+F+63&-64,U=B+1024,H=U+k*N*4,J=H+(s>1?E*x*4:64),K=J+(s>1?E*x*4:64),D=K+8*(y+32)+63&-64,T=D+k*p*4;c(T);let S=new Float32Array(l.buffer);f=null;try{o.forEach((e,t)=>{let r=B+256*t>>2;for(let t=0;t<64;t++)S[r+t]=e.quant[t]});let e=2===M||4===M,t=0,l=0,c=0;for(let f=0;f<A;f+=v){let O=Math.min(v,A-f),I=C,F=[];for(let e of o){F.push(I);let t=f*e.v*e.stride*64,i=Math.min(e.coeffs.length,(f+O)*e.v*e.stride*64);r.fill(0,I,I+O*e.v*e.stride*128),i>t&&n.set(e.coeffs.subarray(t,i),I>>1),I+=O*e.v*e.stride*128}a.idctPlane(F[0],B,o[0].blocksW,O*o[0].v,o[0].stride,m,h,U+t*N*4,N,w),3===s&&(a.idctPlane(F[1],B+256,o[1].blocksW,O*o[1].v,o[1].stride,u,d,H+l*x*4,x,L),a.idctPlane(F[2],B+512,o[2].blocksW,O*o[2].v,o[2].stride,u,d,J+l*x*4,x,L));let k=f*(o[1]?.v??1)*d-l,E=O*o[0].v*h,T=Math.min(t+E,g-c);if(T<=0)break;let S=e&&f+O<A&&c+T<g,G=S?T-1:T;if(G>0&&(a.jpegRgbaRows(U,H,J,N,x,p,G,M,y,0,c,k,b,K,D),i(c,G,r.subarray(D,D+G*p*4)),c+=G),S){r.copyWithin(U,U+G*N*4,U+(G+1)*N*4);let e=l+O*o[1].v*d-1;r.copyWithin(H,H+e*x*4,H+(e+1)*x*4),r.copyWithin(J,J+e*x*4,J+(e+1)*x*4),t=1,l=1}else t=0,l=0}}finally{T>vl&&r.fill(0,vl,Math.min(Fl,T))}},prefixFilled:function(e){let{contextMap:t,histograms:n}=e;return n.length>255||t.length>8192||n.some(e=>e.code.lengths.length>256)?null:(l,s)=>{(()=>{if(f===e)return;c(vl);let a=[0,0,0];r.set(t,ul),n.forEach(({code:e,config:t},n)=>{let l=dl+n*pl;r.fill(0,l,l+pl);for(let r=0;r<64;r++){k(t,r,a);let n=e.lengths[a[0]],o=n+a[1],s=void 0===n||o>24;i[(l>>2)+r]=s?-1:o,i[(l+256>>2)+r]=s?0:e.codes[a[0]]|a[2]<<n}r.set(e.lengths,l+512),o.set(e.codes,l+768>>1),i.set([t.split,t.msb,t.lsb],l+1e4>>2)}),f=e})(),a.tokensIn(0,s),p(l,a.prefixWrite(s,l.acc,l.pending))}},literalClusters(n){let i=n.length;c(5984256),n.forEach((e,r)=>t.set(e.freqs,(Ll>>2)+256*r)),a.literalClusters(i);let o=[],l=new Int32Array(i);for(let n=0;n<i;n++)r[5952e3+n]&&(l[n]=o.length,o.push({freqs:t.slice((Ll>>2)+256*n,(Ll>>2)+256*(n+1)),contexts:[],bits:e[743936+n]}));for(let e=0;e<i;e++)o[l[t[1488016+e]]].contexts.push(...n[e].contexts);return o},countFilled:function(e,r){if(e.contexts>8192||d)return!1;c(xl);let n=a.countFilled(r),i=t[cl>>2],o=e.small,l=e.totals;for(let e=0;e<n;e++){let r=t[2380800+e],n=t[(vl>>2)+r];o[r]+=n,l[r>>6]+=n}a.countClear(n);for(let r=0;r<i;r++)e.add(t[(Nl>>2)+2*r],t[(Nl>>2)+2*r+1]);return!0},modularAns(e){if(e.length>255||e.some(e=>e.counts.length>256))return null;let r=0,n=null,i=0,u=u=>{if(f!==e&&(c(dl+e.length*pl),e.forEach((e,t)=>{let r=dl+t*pl;o.fill(0,r>>1,256+(r>>1)),o.set(e.counts,r>>1),o.set(e.starts,r+512>>1),o.set(e.reverse,r+1040>>1)}),a.recips(e.length),f=e,n=null),n===u)return i;h=null,r=0;let d=0;for(let e of u)r+=e.used,d+=e.histogramMap?.length??0;let p=xl+10*r+2*d;p>l.buffer.byteLength&&(m(p),s());let g=xl,M=xl+10*r,y=e.length;for(let e=u.length-1;e>=0;e--)y-=u[e].freqs.length;for(let e of u){let{tags:n,extra:i,histogramMap:l,used:s}=e;t.set(n.subarray(0,s),g>>2),t.set(i.subarray(0,s),(g>>2)+r),l&&o.set(l,M>>1),a.mtags(g,s,l?M:0,y),g+=4*s,M+=2*(l?.length??0),y+=e.freqs.length}return n=u,i=a.mbits(r,xl,xl+8*r)};return{bits:u,write(e,t){let n=u(t);return!(n+e.pending+64>12582912)&&(p(e,a.mwrite(r,xl,xl+4*r,xl+8*r,e.acc,e.pending)),n)}}},ansWriter:function(e){let{contextMap:n,histograms:l}=e;if(l.length>255||n.length>8192||l.some(e=>e.counts.length>256))return null;c(vl);let s=0;return{write(e,i,o){t[(fl>>2)+s]=o,r[hl+s++]=n[i]},writeTokens(e,i,o,a){for(let e=0;e<a;e++)t[315392+s]=o[e],r[hl+s++]=n[i[e]]},writeFilled(t,m){(()=>{if(f===e)return;let t=[0,0,0];r.set(n,ul),l.forEach((e,n)=>{let a=dl+n*pl;r.fill(0,a,a+pl),o.set(e.counts,a>>1),o.set(e.starts,a+512>>1),o.set(e.reverse,a+1040>>1);for(let r=0;r<64;r++)k(e.config,r,t),i[(a+9232>>2)+r]=t[1]<<6|t[2],i[(a+9488>>2)+r]=e.counts[t[0]]||0,i[(a+9744>>2)+r]=e.starts[t[0]]||0;i.set([e.config.split,e.config.msb,e.config.lsb],a+1e4>>2)}),a.recips(l.length),f=e})(),a.tokensIn(s,m),s+=m},flush(n){if(!Jl)throw yo("JXL_INTERNAL","jpeg-kernels:ans-writer");Jl(n,e,t.subarray(fl>>2,(fl>>2)+s),r.subarray(hl,hl+s),s),s=0},reset(){s=0}}}}}catch{Io=null}return Io}function Ce(e,t){let r=Ee(t);return!r||r.memoryBytes()>e?null:(Hl=e,r)}function Be(){Io=void 0,Hl=1/0}function Ue(e){let t=0;for(let{sparse:r}of e)t+=r.length;let r=new Uint32Array(e.length+1),n=new Uint32Array(t),i=0;return e.forEach(({sparse:e},t)=>{r[t]=i,n.set(e,i),i+=e.length}),r[e.length]=i,{offsets:r,pairs:n}}function He(){if(!Sl){let e=new WebAssembly.Memory({initial:48});Sl={memory:e,exports:new WebAssembly.Instance(Tl(),{env:{memory:e}}).exports}}return Sl}function Je(e,t=null,r=null){let n={lose:e,refresh:t,gain:r};return jl.push(n),n}function Ke(e){if(Gl===e)return;let t=Gl;Gl=e;for(let t of jl)t!==e&&t.lose();t&&e.gain?.()}function De(e,t){let r={};for(let[n,i]of Object.entries(e))r[n]="function"==typeof i?(...e)=>(Ke(t),i(...e)):i;return r}function Te(e){let t=He().memory,r=t.buffer.byteLength;if(!(e<=r)){t.grow(Math.ceil((e-r)/65536));for(let e of jl)e.refresh?.()}}function Se(e){try{null!==e&&("object"==typeof e||"function"==typeof e)&&ds.add(e)}catch{}return e}function Ge(e){try{if(ds.has(e))return e;if(Lo(e))return Object.assign(new Error(`memory: shrink picture${Oo(e)}`,{cause:e}),{code:"JXL_MEMORY"});let t=e?.code;if("string"!=typeof t||!t.startsWith("JXL_")||hs.has(t))return e;let r=Object.hasOwn(us,t)?us[t]:"JXL_INTERNAL";return Object.assign(new Error(String(e.message??""),{cause:e}),{code:r})}catch{return e}}function je(e){if(void 0===e)return;if(!e||"object"!=typeof e&&"function"!=typeof e)throw cs("JXL_OPTIONS","signal: AbortSignal");let t,r;try{t=e.aborted,r=e.addEventListener}catch(e){throw Se(e)}if("boolean"!=typeof t||"function"!=typeof r)throw cs("JXL_OPTIONS","signal: AbortSignal");return e}function Pe(e){if(null==e)return;let t,r;try{t=e.aborted,t&&(r=e.reason)}catch(e){throw Se(e)}if(t)throw Se(void 0===r?bo():r)}async function _e(e,t,r,n){if(0===r&&32===n){Pe(t);let r=await qe(function(e){let t=ps.get(e);return t||(t=Xe(e,void 0,0,32),ps.set(e,t),t.catch(()=>ps.delete(e))),t}(e),t);return Pe(t),r.slice()}return Xe(e,t,r,n)}async function Xe(e,t,r,n){let i;Pe(t);try{let o=t&&new Promise((e,r)=>{i=()=>{try{Pe(t)}catch(e){r(e)}},t.addEventListener("abort",i,{once:!0})});o&&(o.catch(()=>{}),Pe(t));let a=void 0===r?e:e.slice(r,n),l=Promise.resolve(a.arrayBuffer());o&&l.catch(()=>{});let s=await(o?Promise.race([l,o]):l);if(Pe(t),!(s instanceof ArrayBuffer)||s.byteLength!==a.size)throw cs("JXL_INPUT","file changed: reselect");return new Uint8Array(s)}catch(e){if(function(e){try{return ds.has(e)}catch{return!1}}(e)||"string"==typeof e?.code&&e.code.startsWith("JXL_"))throw e;let r=!1;try{r=!0===t?.aborted&&Object.is(t.reason,e)}catch{}throw r?e:Object.assign(Lo(e)?cs("JXL_MEMORY",`file read: memory${Oo(e)}`):"NotReadableError"===e?.name?cs("JXL_INPUT","file changed: reselect"):cs("JXL_IO","file read: retry"),{cause:e})}finally{if(i)try{t.removeEventListener?.("abort",i)}catch{}}}function qe(e,t,r){return t?new Promise((n,i)=>{let o=!1,a=e=>{try{r?.(e)}catch{}},l=(e,r)=>{if(o)e===n&&a(r);else{o=!0;try{t.removeEventListener?.("abort",s)}catch(t){if(e===n)return a(r),void i(Se(t))}e(r)}},s=()=>{try{Pe(t)}catch(e){l(i,e)}};Promise.resolve(e).then(e=>l(n,e),e=>l(i,e));try{t.addEventListener("abort",s,{once:!0}),s()}catch(e){l(i,Se(e))}}):Promise.resolve(e)}function Re(e,t,r){if(void 0===e)return;if("function"!=typeof e)throw cs("JXL_OPTIONS","onProgress: function");let n,i=-1,o=null,a=()=>{if(o)throw Se(o.reason);Pe(t)},l=l=>{a(),i=l;try{let t=e(l);if(t&&"function"==typeof t.then){n??=new Set;let e=Promise.resolve(t).then(()=>{n.delete(e)},t=>{throw n.delete(e),o??={reason:t},r?.(t),Se(t)});e.catch(()=>{}),n.add(e)}}catch(e){throw o??={reason:e},Se(e)}Pe(t)},s=e=>{i<0&&l(0),e>i&&e<=1&&l(e)};return s.finish=()=>(a(),n?.size?qe(Promise.all(n),t).then(a):void 0),s.isCaller=e=>!!o&&Object.is(o.reason,e),s}function ze(e,t="Options"){if(void 0===e)return{};if(!e||"object"!=typeof e||Array.isArray(e))throw cs("JXL_OPTIONS",`${t}: object`);return e}function Ve(e,t,r=[]){let n=ze(e,t);try{let e={...n};for(let t of r)!Object.hasOwn(e,t)&&t in n&&(e[t]=n[t]);return e}catch(e){throw Se(e)}}function Ye(e,t,r=go,n=1073741824){if(!Number.isSafeInteger(e)||!Number.isSafeInteger(t)||e<1||t<1||e>n||t>n)throw cs("JXL_DIMENSIONS",`sides: integer 1-${n}${1073741824===n?", JPEG XL size field":""}`);if(e*t>r)throw cs("JXL_DIMENSIONS",`${e*t} pixels: maxPixels ${r} exceeded`)}function We(e){if(void 0===e)return go;if(!Number.isSafeInteger(e)||e<1)throw cs("JXL_OPTIONS","maxPixels: positive integer");return e}function Ze(e){if(!e)throw Ms()}function Qe(e){e.expect(16,2815);let t=!!e.read(1),r=t?8*(e.read(5)+1):e.u32(bs),n=e.read(3);return{height:r,width:n?Math.floor(r*ws[n][0]/ws[n][1]):t?8*(e.read(5)+1):e.u32(bs)}}function $e(e,t,r){if(255!==e[0]||10!==e[1])return e;let n;try{n=function(e){let t=new ys(e),r=()=>1===t.read(1),n=e=>t.skip(16*e);if(Qe(t),r())return null;let i=r();if(i){if(t.skip(3),r()){let e=r();e?t.skip(5):t.u32([[9,1],[13,1],[18,1],[30,1]]),t.read(3)||(e?t.skip(5):t.u32([[9,1],[13,1],[18,1],[30,1]]))}if(r()||r())return null}let o=()=>{r()?(t.u32([[0,32],[0,16],[0,24],[6,1]]),t.skip(4)):t.u32([[0,8],[0,10],[0,12],[6,1]])};o(),t.skip(1);for(let e=t.u32([[0,0],[0,1],[4,2],[12,1]]);e>0;e--){if(r())continue;let e=t.u32(As);o(),t.u32([[0,0],[0,3],[0,4],[3,1]]),t.skip(8*t.u32([[0,0],[4,0],[5,16],[10,48]])),0===e?t.skip(1):2===e?n(4):5===e&&t.u32([[0,1],[2,0],[4,3],[8,19]])}let a=r(),l=t.bit,s=0,m=1;if(!r()){if(r()||(s=t.u32(As),2===s||3===s)||1!==t.u32(As)||0===s&&1!==(m=t.u32(As))&&11!==m||r()||13!==t.u32(As))return null;t.u32(As)}let c=t.bit;if(i&&!r()&&(n(2),t.skip(1),n(1)),t.read(2))return null;if(!r()){a&&!r()&&n(16);let e=t.read(3);for(let[t,r]of[[1,15],[2,55],[4,210]])e&t&&n(r)}return{space:1===s?"gray":"rgb",primaries:11===m?"display-p3":"srgb",from:l,to:c,end:t.bit}}(e)}catch{return e}if(!n)return e;let{from:i,to:o,end:a}=n,l=new ys(e),s=new vo(Math.ceil(a/8)+64),m=(e,t)=>{l.bit=e;for(let r=t-e;r>0;r-=24){let e=Math.min(24,r);s.write(e,l.read(e))}};m(0,i),s.write(2,0),s.writeU32(As,"rgb"===n.space?0:1),s.writeU32(As,1),"rgb"===n.space&&s.writeU32(As,"display-p3"===n.primaries?11:1),s.write(1,0),s.writeU32(As,13),s.writeU32(As,Ls.indexOf(t)),m(o,a);let c=s.finish(),f=Q(e,Math.ceil(a/8)),h=((e,t)=>null!==e&&"object"==typeof e&&!0!==e[ka]?e[t]:void 0)(f,Ea);if(h&&r)return r([c,...h]);let u=new Uint8Array(c.length+f.length);return u.set(c),u.set(f,c.length),u}async function et(e,t,r,n,i){let o=4*e.BYTES_PER_ELEMENT,a=t*o,l=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),s=vs(i);if(n>=3){let e=new Uint8Array(a);for(let t=0,n=r-1;t<n;t++,n--){let r=t*a,o=n*a;e.set(l.subarray(r,r+a)),l.copyWithin(r,o,o+a),l.set(e,o),63&t||(Pe(i),await s())}}if(n<=3){let e=new Uint8Array(Math.min(256,r)*a);for(let n=0;n<r;n+=256){Pe(i);let m=Math.min(256,r-n);e.set(l.subarray(n*a,(n+m)*a));for(let r=0;r<t;r+=256){let i=Math.min(256,t-r);is(e,l,t,t,r,0,i,m,t-r-i,n,o,2)}await s()}}return e}function tt(e){let t=0;for(let r=1;r<=16;r++){let n=e[r-1];if(n&&(t+n)*(1<<16-r)>=65536)throw ge("Huffman table");t=2*(t+n)}}function rt(e,t,r){if(!Array.isArray(r)||!r.length)return 8;let n=0,i=0;for(let o of r){if(!o||void 0===o.width&&void 0===o.height)return 8;let r=o.width??Math.max(1,Math.round(o.height*e/t)),a=o.height??Math.max(1,Math.round(o.width*t/e));r>n&&(n=r),a>i&&(i=a)}if(n>=e&&i>=t)return 8;for(let[r,o]of[[1,4],[2,2],[4,1.25],[6,1.15]]){let a=Math.max(1,Math.ceil(e*r/8)),l=Math.max(1,Math.ceil(t*r/8));if(a>=n*o&&l>=i*o)return r}return 8}function nt(e,t,r,n,i){let o=r.length,a=Math.max(1,Math.ceil(e*i/8)),l=Math.max(1,Math.ceil(t*i/8)),s=Math.max(...r.map(e=>e.h)),m=Math.max(...r.map(e=>e.v)),c=Math.ceil(e/(8*s)),f=Math.ceil(t/(8*m));if(1===o)return r[0].h!==s||r[0].v!==m?null:{scale:i,outW:a,outH:l,mcusX:c,mcusY:f,mxY:i,myY:i,mxC:i,myC:i,mode:0,clampW:0,clampH:0,yBias:128,cBias:0};if(3!==o)return null;let[h,u,d]=r;if(u.h!==d.h||u.v!==d.v||h.h!==s||h.v!==m)return null;let p=h.h/u.h,g=h.v/u.v;if(![1,2].includes(p)||![1,2].includes(g)||!n&&(1!==p||1!==g))return null;let M=i,y=i,b=n?1:5;return 2===p&&2===g?i<=4?(M=2*i,y=2*i,b=1):b=2:2===p&&1===g?i<=4?(M=2*i,y=i,b=1):b=3:1===p&&2===g&&(i<=4?(M=i,y=2*i,b=1):b=4),{scale:i,outW:a,outH:l,mcusX:c,mcusY:f,mxY:i,myY:i,mxC:M,myC:y,mode:b,clampW:Math.max(0,Math.ceil(Math.ceil(e/p)*M/8)-1),clampH:Math.max(0,Math.ceil(Math.ceil(t/g)*y/8)-1),yBias:128,cBias:n?0:128}}function it(t,r,n,i){if(!r)return{colorSpace:"srgb",icc:void 0};let o=[];for(let e=1;e<=r;e++){if(!t[e])throw ge("ICC profile: incomplete");o.push(t[e])}let a=new Uint8Array(o.reduce((e,t)=>e+t.length,0));for(let e=0,t=0;e<o.length;t+=o[e].length,e++)a.set(o[e],t);let l=1===n?"gray":"rgb",s=a.length>=4?(a[0]<<24|a[1]<<16|a[2]<<8|a[3])>>>0:0,m=s>=132&&s<a.length?Q(a,0,s):a,c=`${n}:${i?1:0}:${function(e){let t=2166136261;for(let r=0;r<e.length;r++)t=Math.imul(t^e[r],16777619);return`${e.length}:${t>>>0}`}(m)}`,f=xs.get(c);if(f&&!f.icc)return f;try{if(te(m,void 0,i&&"gray"===l?void 0:l)!==n)return{colorSpace:"srgb",icc:void 0};let t=(t=>e(Oe(t)))(m),r=t?{colorSpace:t,icc:void 0,renderingIntent:tl(m)}:{colorSpace:"srgb",icc:m};return t&&xs.size<64&&xs.set(c,r),r}catch(e){throw"JXL_INPUT"===e.code?ge("ICC profile: "+e.message):e}}function ot(e,t,r,n,i){if(255===e[t]&&e[t+1]>=208&&e[t+1]<=215){if(!n||r%n||e[t+1]!==208+(r/n-1&7))return null;for(t+=2;t+1<e.length&&255===e[t]&&255===e[t+1];)t++}if(t<e.length&&!(255===e[t]&&t+1<e.length&&0!==e[t+1]&&255!==e[t+1]))return null;let o=0;for(;t<e.length;){if(255!==e[t])return null;for(;255===e[t];)t++;let r=e[t++];if(++o>16384)return null;if(217===r)return{orientation:i??1};if(218===r||216===r||r>=208&&r<=215)return null;if(1===r)continue;if(t+2>e.length)return null;let n=e[t]<<8|e[t+1],a=t+2,l=t+n;if(n<2||l>e.length)return null;if(225===r&&l-a>=6&&69===e[a]&&120===e[a+1]&&105===e[a+2]&&102===e[a+3]&&0===e[a+4])i??=Me(e,a+6,l);else if(226===r&&n>=16&&73===e[a]&&67===e[a+1]&&67===e[a+2])return null;t=l}return{orientation:i??1}}function at(e,t=!1){if("exact"===e)return!0;if(!e||"object"!=typeof e||Array.isArray(e))return!1;let r=Object.keys(e);if(1!==r.length)return!1;let n=r[0],i=e[n];return"quality"===n?!!Bs(i)||!!(t&&i&&"object"==typeof i&&!Array.isArray(i)&&2===Object.keys(i).length&&Object.hasOwn(i,"min")&&Object.hasOwn(i,"max")&&Bs(i.min)&&Bs(i.max)&&i.min<=i.max):"maxError"===n?Cs(i)&&i>=0:"ssimulacra2"===n&&Cs(i)&&i<=100}function lt(e){if("predicted"===e?.domain)return"ssimulacra2"===e.metric&&Number.isFinite(e.floor)&&void 0===e.score&&void 0===e.limit&&void 0===e.region&&(void 0===e.view||"pu21"===e.view||"without-noise"===e.view);if(!(e&&["ssimulacra2","max-error"].includes(e.metric)&&Number.isFinite(e.score)&&["encoder-reconstruction","decoded-output","predicted"].includes(e.domain)&&(void 0===e.floor||Number.isFinite(e.floor)&&"ssimulacra2"===e.metric)&&(void 0===e.limit||Number.isFinite(e.limit)&&"ssimulacra2"!==e.metric))||void 0!==e.view&&"pu21"!==e.view&&"without-noise"!==e.view)return!1;let t=e.region;return void 0===t||t&&Number.isSafeInteger(t.x)&&t.x>=0&&Number.isSafeInteger(t.y)&&t.y>=0&&Es(t.width)&&Es(t.height)}function st(e){if(ArrayBuffer.isView(e))return null;try{return Us.call(e)}catch{return null}}function mt(e,t=!1){if("Uint8Array"!==Ks.call(e)||null===st(Js.buffer.call(e))||!t&&0===Js.byteLength.call(e))throw cs("JXL_INPUT","encoded bytes: nonempty attached Uint8Array");return Js.byteLength.call(e)}function ct(e,t=!1){mt(e,t);try{return new Uint8Array(e)}catch{throw cs("JXL_INPUT","encoded bytes: attached Uint8Array")}}function ft(e,t,r){try{if(new Uint8Array(e,t,r).byteLength!==r)throw 0}catch{throw cs("JXL_INPUT","ArrayBuffer: live and sized")}}function ht(e,t,r=new Map,n=1/0){try{return ut(e,t,r,n)}catch(e){if(e instanceof Rs)return 1/0;throw e instanceof RangeError?cs("JXL_MEMORY","input nesting: flatten record"):e}}function ut(e,t,r,n){if(null==e)return 0;if("string"==typeof e)return 2*e.length;if("number"==typeof e||"bigint"==typeof e)return 8;if("boolean"==typeof e)return 1;if("object"!=typeof e)throw cs("JXL_INPUT","input: structured-cloneable data");let i=r.get(e);if(i)return i.cost??0;if(js.has(e)){let t=js.get(e);return r.set(e,{kind:"blob",cost:t}),t}if(function(e){return"function"==typeof Blob&&e instanceof Blob}(e)){let t=Object.getOwnPropertyDescriptor(Blob.prototype,"size").get.call(e);return r.set(e,{kind:"blob",cost:t}),t}let o=Array.isArray(e)||Object.getPrototypeOf(e)===Object.prototype?null:st(e);if(null!==o)return ft(e,0,o),r.set(e,{kind:"buffer",buffer:e,byteOffset:0,byteLength:o,cost:o}),o;if(ArrayBuffer.isView(e)){let t=function(e){let t,r=Js;try{t=Ks.call(e),Js.buffer.call(e)}catch{r=_s,t="DataView"}let n=r.buffer.call(e),i=r.byteOffset.call(e),o=r.byteLength.call(e);if(null===st(n))throw cs("JXL_INPUT","shared buffer: copy to ArrayBuffer");ft(n,i,o);let a=qs[t];if(!a)throw cs("JXL_INPUT","samples: Uint8Array or Float32Array");return{kind:"view",buffer:n,byteOffset:i,byteLength:o,Type:a}}(e);return Ps.has(e)?(t.kind="handed",t.cost=st(t.buffer),r.has(Vs)||r.set(Vs,new Set),r.get(Vs).add(t.buffer)):t.cost=t.byteLength,r.set(e,t),t.cost}if(Array.isArray(e)&&512*e.length>n)throw new Rs;let a=function(e){if(!function(e){if(null===e||e===Object.prototype)return!0;if(null!==Object.getPrototypeOf(e))return!1;let t=Object.getOwnPropertyDescriptor(e,"constructor");return!!t&&"value"in t&&"function"==typeof t.value&&Ts.test(Function.prototype.toString.call(t.value))}(Object.getPrototypeOf(e))&&!Array.isArray(e))throw cs("JXL_INPUT",(e=>{let t=!1;try{t=1===e?.nodeType}catch{}return t?"A page element is not an image; capture it with SnapDOM, or "+fs:"The image input is invalid; "+fs})(e));if(Object.getOwnPropertySymbols(e).some(t=>Object.getOwnPropertyDescriptor(e,t).enumerable))throw cs("JXL_INPUT","record keys: no symbols");return Object.entries(Object.getOwnPropertyDescriptors(e)).filter(([e,t])=>{if(!t.enumerable)return!1;if(!("value"in t))throw cs("JXL_INPUT","record: data values only");return!0})}(e);if(function(e,t,r){if(!e||"object"!=typeof e)return;let n=r?r.find(([e])=>"width"===e)?.[1]:Object.getOwnPropertyDescriptor(e,"width"),i=r?r.find(([e])=>"height"===e)?.[1]:Object.getOwnPropertyDescriptor(e,"height");if(!n&&!i)return;let o=e=>!!e&&"value"in e&&void 0!==e.value;if(o(n)!==o(i)&&(t=>{let r=Object.getOwnPropertyDescriptor(e,t);return!r||"value"in r&&void 0===r.value})(o(n)?"height":"width")){let e=(o(n)?n:i).value;if(!Number.isSafeInteger(e)||e<1||e>1073741824)throw cs("JXL_DIMENSIONS","side: integer 1-1073741824");return}if(!n||!i)throw cs("JXL_INPUT","dimensions: numeric width, height");if(!("value"in n)||!("value"in i))throw cs("JXL_INPUT","dimensions: numeric width, height");let a=n.value,l=i.value;if(!Number.isSafeInteger(a)||a<1||!Number.isSafeInteger(l)||l<1)throw cs("JXL_DIMENSIONS","dimensions: positive safe integers");if(a>1073741824||l>1073741824||a>Math.floor(t/l))throw cs("JXL_DIMENSIONS","dimensions: over maxPixels or 2^30 px per side; raise maxPixels")}(e,t,a),((r.get(zs)??r.set(zs,{bytes:0}).get(zs)).bytes+=512*(1+a.length))>n)throw new Rs;let l={kind:"record",array:Array.isArray(e),fields:a,cost:void 0};r.set(e,l);let s=512*(1+a.length);for(let[e,i]of a)if(s+=2*e.length+ut(i.value,t,r,n),!Number.isSafeInteger(s))throw cs("JXL_MEMORY","input bytes: raise maxPendingBytes");return l.cost=s,s}function dt(e,t,r,n=new Map){if(null===e||"object"!=typeof e)return e;if(!r){r=new Map;let e=[...t.get(Vs)??[]].filter(e=>!n.has(e));if(e.length){let t;try{t=structuredClone(e,{transfer:e})}catch{throw cs("JXL_INPUT","ArrayBuffer: copy before transfer")}for(let r=0;r<e.length;r++)n.set(e[r],t[r])}}if(r.has(e))return r.get(e);let i,o=t.get(e);if("blob"===o.kind)return e;if("handed"===o.kind)i=new o.Type(n.get(o.buffer),o.byteOffset,o.byteLength/(o.Type.BYTES_PER_ELEMENT??1));else if("buffer"===o.kind||"view"===o.kind){let e=new Uint8Array(n.get(o.buffer)??o.buffer,o.byteOffset,o.byteLength),t=Xs.call(e).buffer;i="buffer"===o.kind?t:new o.Type(t)}else{i=o.array?[]:{},r.set(e,i);for(let[e,a]of o.fields)Object.defineProperty(i,e,{value:dt(a.value,t,r,n),writable:!0,enumerable:!0,configurable:!0})}return r.set(e,i),i}function pt(e,t=go,r=Ss,n){let i=new Map,o=ht(e,t,i,r);if(o>r)throw cs("JXL_MEMORY",n&&o!==1/0?n(o,r):`input: ${o===1/0?"more than "+Ys(r):Ys(o)} MiB > ${Ys(r)} MiB, raise maxPendingBytes`);return dt(e,i)}function gt(e,t){if(void 0===e)return{};if(!Number.isSafeInteger(e)||e<1)throw cs("JXL_INTERNAL","result-record:image-3");return{originalBytes:e,...t&&{largerThanOriginal:t.byteLength>e}}}function Mt(e){if("exact"===e)return"No exact file fits maxBytes; raise maxBytes or allow a lossy quality.";let t=e?.quality;if(void 0===t)return"No file fits maxBytes; raise maxBytes.";let r="object"==typeof t?t.min:t,n="object"==typeof t?t.max:t;return`No file at ${r===n?`quality ${n}`:`quality ${r} to ${n}`} fits maxBytes; raise maxBytes`+(r>1?" or lower the minimum quality.":".")}function yt(e){if("number"!=typeof e||!Number.isFinite(e)||e<1||e>100)throw yo("JXL_OPTIONS","quality: number 1-100");return function(e){let t=Math.floor(e),r=$s[t][1];return 100===t?r:r+(e-t)*($s[t+1][1]-r)}(e)}function bt(e,t,r){if("exact"!==e&&"pixels"!==r&&"jpeg-bytes"!==r){for(let r of["ssimulacra2"]){if("number"!=typeof e?.[r])continue;let n=t.find(e=>e.metric===r&&void 0===e.region);if(!n)return{code:"JXL_UNSUPPORTED",message:"measurement: missing "+r+", use exact or quality"};let i=e[r];if("ssimulacra2"===r?n.floor=i:n.limit=i,"ssimulacra2"===r?n.score<i:n.score>i)return Qs("target: missed "+r+", lower target or raise effort")}if(t.find(e=>void 0!==e.floor&&e.score<e.floor||void 0!==e.limit&&e.score>e.limit))return Qs("quality: missed, lower or raise effort");if("number"==typeof e?.maxError){let r=t.find(e=>"max-error"===e.metric&&void 0===e.region);if(r&&(r.limit=e.maxError,r.score>e.maxError))return Qs("maxError: exceeded, use exact")}}}function wt(e,t,r){let n=function(e=[]){if(!Array.isArray(e))throw cs("JXL_INTERNAL","result:measurements-array");return e.map(e=>{if("predicted"===e?.domain){if("ssimulacra2"!==e.metric||!Number.isFinite(e.floor)||void 0!==e.score||void 0!==e.region||void 0!==e.view&&"pu21"!==e.view&&"without-noise"!==e.view)throw cs("JXL_INTERNAL","result:prediction");return{metric:"ssimulacra2",domain:"predicted",floor:e.floor,...e.view&&{view:e.view}}}if(!(e&&em.includes(e.metric)&&Number.isFinite(e.score)&&["encoder-reconstruction","decoded-output","predicted"].includes(e.domain)))throw cs("JXL_INTERNAL","result:measurement-entry");let t={metric:e.metric,score:e.score,domain:e.domain};if(void 0!==e.view){if("pu21"!==e.view&&"without-noise"!==e.view)throw cs("JXL_INTERNAL","result:measurement-view");t.view=e.view}for(let r of["floor","limit"])if(void 0!==e[r]){if(!Number.isFinite(e[r]))throw cs("JXL_INTERNAL","result:measurement-value");if("floor"===r!=("ssimulacra2"===e.metric))throw cs("JXL_INTERNAL","result:measurement-bound");t[r]=e[r]}if(void 0!==e.region){let{x:r,y:n,width:i,height:o}=e.region;if(![r,n,i,o].every(Number.isSafeInteger)||r<0||n<0||i<1||o<1)throw cs("JXL_INTERNAL","result:measurement-region");t.region={x:r,y:n,width:i,height:o}}return t})}(e.measurements);return!n.length&&"lossy"===r&&"number"==typeof t?.quality&&t.quality<100&&n.push({metric:"ssimulacra2",domain:"predicted",floor:yt(t.quality)}),{measurements:n,reason:bt(t,n,r)}}function Lt(e={quality:90},t){if(!at(e,t))throw cs("JXL_OPTIONS","result fidelity: single target, missed quality only");return"exact"===e||0===e?.maxError||100===e?.quality?"exact":e}async function Ot(e,t,r){let n=await async function(e,t,r={},n,i){let o=function(e){let{signal:t,source:r,owned:n,...i}=e;return{...pt(i,go,Number.MAX_SAFE_INTEGER),signal:t}}(r),{signal:a}=o;Pe(a);let l=null===e||Number.isFinite(o.maxBytes)&&e.length>o.maxBytes,s=i(o.fidelity,l),m=o.format??"jxl";if(!["jxl","jpeg","png"].includes(m))throw cs("JXL_INTERNAL","result-record:format");let c=function(e,t,r){if(r.transform)return{width:r.transform.width,height:r.transform.height};if(Number.isSafeInteger(t?.width)&&Number.isSafeInteger(t?.height))return(e=>e.orientation>=5?{width:e.height,height:e.width}:{width:e.width,height:e.height})(t);if(Zs&&"jpeg"===r.format&&e)return Zs(e,go);let n=t instanceof Uint8Array?t:null;if(Zs&&(e=>255===e?.[0]&&216===e[1])(n))return Zs(n,go);throw cs("JXL_INTERNAL","result-record:image-1")}(e,t,{...o,format:m});if(!Number.isSafeInteger(c.width)||!Number.isSafeInteger(c.height)||c.width<1||c.height<1)throw cs("JXL_INTERNAL","result-record:image-2");let f=function(e){if(null==e)return null;if(!e||!["bytes","pixels"].includes(e.kind)||"string"!=typeof e.digest||!/^sha256:[a-f0-9]{64}$/.test(e.digest))throw cs("JXL_INTERNAL","result-record:source");return{kind:e.kind,digest:e.digest}}(r.source),h=o.originalBytes,u={...c,format:m,source:f,fidelity:s,...gt(h,l?null:e),...o.transform&&{transform:{...o.transform,...o.transform.via&&{via:o.transform.via.map(({width:e,height:t})=>({width:e,height:t}))}}},...o.readAs&&{readAs:o.readAs}};if(l)return{bytes:null,...u,kept:null,meetsTarget:!1,measurements:[],..."boolean"==typeof o.usedWebGPU&&{usedWebGPU:o.usedWebGPU},reason:Qs(Mt(s))};let d=r.owned?e:ct(e);if(!(d instanceof Uint8Array&&d.length))throw cs("JXL_INTERNAL","result-record:empty");let p=o.kept??("exact"===s?"pixels":"lossy");if(!Ws.includes(p))throw cs("JXL_INTERNAL","result-record:image-4");let{measurements:g,reason:M}=n(o,s,p),y="exact"===s&&"lossy"===p?Qs("lossy output: does not preserve exact samples"):M;return Pe(a),{bytes:d,...u,kept:p,meetsTarget:!y,measurements:g,...y&&{reason:y},...o.otherDecoders&&{otherDecoders:o.otherDecoders},...o.timing&&{timing:o.timing},...o.textMarks&&{textMarks:o.textMarks},..."boolean"==typeof o.usedWebGPU&&{usedWebGPU:o.usedWebGPU}}}(e,t,r,wt,Lt);if(n.bytes&&!function(e){if(!function(e){return!(!e||"object"!=typeof e||!Number.isSafeInteger(e.width)||e.width<1||!Number.isSafeInteger(e.height)||e.height<1||!["jxl","jpeg","png"].includes(e.format)||null!==e.source&&(!["bytes","pixels"].includes(e.source?.kind)||!(e=>"string"==typeof e&&/^sha256:[a-f0-9]{64}$/.test(e))(e.source.digest))||"boolean"!=typeof e.meetsTarget||!at(e.fidelity,null===e.bytes)||!Array.isArray(e.measurements)||!e.measurements.every(lt)||void 0!==e.transform&&(!Es(e.transform?.width)||!Es(e.transform?.height)||void 0!==e.transform.frame&&(!Number.isSafeInteger(e.transform.frame)||e.transform.frame<0)||void 0!==e.transform.resizer&&"browser"!==e.transform.resizer||void 0!==e.transform.via&&("browser"!==e.transform.resizer||!Array.isArray(e.transform.via)||!e.transform.via.length||!e.transform.via.every(e=>Es(e?.width)&&Es(e?.height))))||void 0!==e.readAs&&!["srgb","display-p3"].includes(e.readAs)||void 0!==e.timing&&!["exact","rounded"].includes(e.timing)||void 0!==e.usedWebGPU&&"boolean"!=typeof e.usedWebGPU||void 0!==e.originalBytes&&!Es(e.originalBytes)||void 0===e.originalBytes&&void 0!==e.largerThanOriginal)&&(null===e.bytes?null===e.kept&&!1===e.meetsTarget&&void 0===e.largerThanOriginal&&ks(e.reason)&&"JXL_TARGET"===e.reason.code:!("[object Uint8Array]"!==Object.prototype.toString.call(e.bytes)||!e.bytes.byteLength||!["jpeg-bytes","pixels","lossy"].includes(e.kept)||void 0!==e.originalBytes&&e.largerThanOriginal!==e.bytes.byteLength>e.originalBytes||!e.meetsTarget&&!ks(e.reason)||e.meetsTarget&&void 0!==e.reason))}(e))return!1;if(e.meetsTarget){let t=e.fidelity;if(("exact"===t||100===t?.quality||0===t?.maxError)&&"lossy"===e.kept)return!1;for(let t of e.measurements)if(void 0!==t.floor&&t.score<t.floor||void 0!==t.limit&&t.score>t.limit)return!1;if("lossy"===e.kept&&t&&"object"==typeof t)for(let r of["ssimulacra2"]){if("number"!=typeof t[r])continue;let n=e.measurements.find(e=>e.metric===r&&void 0===e.region);if(!n||("ssimulacra2"===r?n.score<t[r]:n.score>t[r]))return!1}}return!0}(n))throw cs("JXL_INTERNAL","result:record");return n}function At(e,t,r=t,n){void 0!==t&&e?.[im]?.bind(t,r);{let e=(e=>typeof Blob<"u"&&e instanceof Blob?e.size:e instanceof Uint8Array?e.byteLength:void 0)(r);void 0!==e&&(n={...n,originalBytes:e})}e?.[om]?.(t,r,n)}function It(e,t,{format:r="jxl",fidelity:n={quality:90},kept:i,capture:o=!1,preview:a,device:l=!1}={}){let s=(s,m,c)=>{let f;return async function(){zl++;try{return await(async(s,m,c)=>{let f,h,u=m.options,d=pt(u.fidelity??n),p=u.readAs,g={...i&&{kept:i},...l&&{usedWebGPU:!1}},M=a?.(u,()=>{let{width:e,height:t,orientation:r}=f??{};return{width:e,height:t,orientation:r}});u[om]=(e,t,r)=>{void 0!==e&&(("srgb"===e?.colorSpace||"display-p3"===e?.colorSpace)&&(h=e.colorSpace),f=Number.isSafeInteger(e.width)&&Number.isSafeInteger(e.height)?{width:e.width,height:e.height,...void 0!==e.orientation&&{orientation:e.orientation}}:e),r&&Object.assign(g,r)},l&&(u[lm]=()=>{g.usedWebGPU=!0});try{let n=c&&t[tm],i=await(n?n(s,u,c):t(s,u));if(Pe(u.signal),!f)throw cs("JXL_INTERNAL","result-operation:dimensions");o&&(g.kept=m.encoded?.exact?"pixels":"lossy",m.encoded?.textMarks&&(g.textMarks=m.encoded.textMarks)),void 0!==g.kept&&(g.kept=(e=>e?.[sm]&&"pixels"===e.kept?"lossy":e?.kept)(g)),delete g[sm];let a=await e(i,f,{fidelity:d,format:r,readAs:p&&(h??p),...g,signal:u.signal,owned:!0});return a.bytes&&M?.offer(i,{width:a.width,height:a.height,measurements:a.measurements}),await m.finish(),await(M?.finish()),a}finally{M?.close()}})(s,f=function(e,t=!1){let r=Ve(e,void 0,[...cm,"features"]);if("features"in r)throw cs("JXL_OPTIONS","unknown option: features");r=function(e){if(!e||"object"!=typeof e||Array.isArray(e))return e;if("features"in e)throw cs("JXL_OPTIONS","unknown option: features");let t=e[mm],r="firstRegion"in e?e.firstRegion:void 0;if(void 0===t&&!("firstRegion"in e))return e;let{firstRegion:n,[mm]:i,...o}=e,a=void 0!==t?{...t,...void 0!==r&&{firstRegion:r}}:void 0!==r?{firstRegion:r}:void 0;return void 0===a?o:{...o,features:a}}(r);let{signal:n,onProgress:i,onPreview:o}=r;if(void 0!==i&&"function"!=typeof i)throw cs("JXL_OPTIONS","onProgress: function");if(void 0!==o&&"function"!=typeof o)throw cs("JXL_OPTIONS","onPreview: function");let a,l=Re(i,n);return i&&(r.onProgress=e=>{e<1&&l(Math.min(.999,e))}),t&&(r[rm]=e=>{a=e}),{options:r,get encoded(){return a},finish(){return Pe(n),l?.(1),Pe(n),l?.finish()}}}(m,o),c)}finally{if(0===--zl)for(let e of Yl)e()}}().then(e=>(Pe(f.options.signal),e),e=>{let t;try{t=f?.options?.signal?.reason}catch{}throw void 0!==e&&e===t?e:Ge(e)})},m=(e,t)=>s(e,t);return m[am]=t,m[tm]=(e,t,r)=>s(e,t,r),m}function vt(e,t,r,n,i,o,a){let l=t.comps[r],s=void 0!==l.row0&&t.grey&&1!==r,m=s?null:l.dc,c=s||!m&&t.grey&&1!==r?null:m??l.coeffs;return{w:o,h:a,x:n,y:i,stride:l.stride,source:c,step:m?1:64,scale:t.dcScale[r],lift:t.dcLift[r]}}function Ft(e,t,r,n=0,i=e.w,o){let{source:a,stride:l,x:s,y:m,step:c,scale:f,lift:h,w:u}=e;if(!a)return t.fill(h,r*u+n,r*u+i),o&&(o.column=i,o.wide=!1),t;if(1===c&&a instanceof Int16Array&&1===f&&0===h)return t.set(a.subarray((m+r)*l+s+n,(m+r)*l+s+i),r*u+n),o&&(o.column=i,o.wide=!1),t;for(let e=n;e<i;e++){let n=a[((m+r)*l+s+e)*c]*f+h;if((n<-32768||n>32767)&&t instanceof Int16Array){if(o)return o.column=e,o.wide=!0,t;t=Int32Array.from(t)}t[r*u+e]=n}return o&&(o.column=i,o.wide=!1),t}function Nt(e,t,r=0,n=e.h){for(let i=r;i<n;i++)t=Ft(e,t,i);return t}function xt(e){let t=0,r=0;for(let n of e)for(let e of n)t=Math.max(t,e),r|=e;if(t<=32767)return 0;let n=Math.ceil(Math.log2(t/32767));return r&2**n-1?0:n}function kt(e,t,n,i,a=c){let{width:l,height:s,alpha:m,auxiliary:f,xyb:h,progression:u,noiseLut:d,splineBits:p,useDCFrame:g}=t,{grey:M,ycbcr:y,rawH:b,rawV:w,epf:L}=n,{isFirstFrame:O=!0,isLastFrame:A=!0,crop:I=null,saveAsReference:v=0,imageWidth:F,imageHeight:N,alphaChannel:x=!!m,mask:k=!1,patches:E=null}=t.placement??{};if(t.frameHeader)t.frameHeader(e);else{O&&a(e,F??t.canvasWidth??l,N??t.canvasHeight??s,M?1:3,x,{xyb:h,orientation:t.orientation,colorSpace:t.colorSpace,modular16bit:i,...t.profile}),e.write(1,0),e.write(2,0),e.write(1,0);let n=(t.adaptiveLFSmoothing&&!g?0:128)+(d?1:0)+(E?2:0)+(p?16:0)+(g?32:0);if(n?n<=16?(e.write(2,1),e.write(4,n-1)):(e.write(2,2),e.write(8,n-17)):e.write(2,0),h||e.write(1,y?1:0),!g){if(y)for(let t=0;t<3;t++)e.write(2,0===b[t]&&0===w[t]?0:1===b[t]&&1===w[t]?1:1===b[t]?2:3);if(e.write(2,[1,2,4,8].indexOf(t.upsampling??1)),f)for(let t of f.factors)e.write(2,[1,2,4,8].indexOf(t));else x&&e.write(2,[1,2,4,8].indexOf(t.upsampling??1))}h&&(e.write(3,2),e.write(3,2)),function(e,t,n=0,i,a=1,l=null,s){let m="number"==typeof t?t:+!!t,{crop:c,canvas:f,last:h=!0,reference:u=0,mask:d=!1}=s??{},p=function(e,t){if(!e)return!0;if(!t)throw yo("JXL_INTERNAL","frame:canvas");return e.x<=0&&e.y<=0&&e.x+e.width>=t.width&&e.y+e.height>=t.height}(c,f);if(d&&1!==m)throw yo("JXL_INTERNAL","frame:mask");i?e.append(i):e.write(2,0),e.write(1,c?1:0),c&&(e.writeU32(No,r(c.x)),e.writeU32(No,r(c.y)),e.writeU32(No,c.width),e.writeU32(No,c.height));for(let t=0;t<=m;t++)d?e.write(7,34):(e.write(2,0),p||e.write(2,1));if(e.write(1,h?1:0),h||(e.write(2,u),p&&!d&&e.write(1,0)),n||l){if(e.write(4,l?8:0),l&&(e.write(1,!0===l?0:1),!0!==l))for(let[t,r]of l)e.write(16,o(t)),e.write(16,o(r));if(n){e.write(2,a),e.write(3,4);for(let t of[n,.9,6.5,2/3])e.write(16,o(t));e.write(4,0)}else e.write(6,0)}else e.write(10,0)}(e,f?.count??x,L,u?.header,t.epfIterations,h?t.gab:null,{crop:I,canvas:F&&{width:F,height:N},last:A,reference:v,mask:k})}}function Et(e,t,r,n,i){let{authoredOrderPasses:o}=t,{hasOrders:a,map:l}=r;if(o)e.append(o[i].header);else if(a){e.writeU32([[0,95],[0,19],[0,0],[13,0]],1);let t=[];for(let e of l){let r=Array.from({length:64},(e,t)=>t),i=n.orders[e].map(e=>{let t=r.indexOf(e);return r.splice(t,1),t}),o=64;for(;o>1&&!i[o-1];)o--;t.push(o-1,...i.slice(1,o))}let r=N(0),i=new Uint32Array(64);for(let e of t)E(r,e,i);let o=w(i);H(e,{contextMap:new Uint8Array(8),histograms:[{config:r,code:o}]});for(let n of t)C(e,o,r,n)}else e.write(2,2)}function Ct(e,t,r){e.write(4,t[0].length-1);for(let n of r)for(let r=0;r<t[n].length;r++)e.write(16,o(t[n][r]/(r?1:64)))}function Bt(e,t,r){if(e.write(3,t.mode),t.library)return;let{kind:n}=t;if(1===n||2===n)for(let n of r)for(let r of t.weights[n])e.write(16,o(r/64));else if(3===n||4===n){for(let i of r)for(let r of 3===n?t.multipliers[i]:[t.multipliers[i]])e.write(16,o(r));Ct(e,t.bands,r)}else if(5===n){for(let n of r)for(let r=0;r<9;r++)e.write(16,o(t.weights[n][r]/(r<6?64:1)));Ct(e,t.bands4x8,r),Ct(e,t.bands4x4,r)}else Ct(e,t.bands,r)}function Ut(e,t,r,n=Nm.dcBuckets(r)){let i=[];if(t>0){let r=-1024,n=1023,o=0;for(let t of e)t<r?r=t:t>n&&(n=t);let a=new Uint32Array(n-r+1);for(let t of e)a[t-r]++,o++;let l=0,s=o/(t+1);for(let e=0;e<a.length&&i.length<t;e++)l+=a[e],l>s&&(i.push(e+r-1),s=o*(i.length+1)/(t+1))}return Ht(i,r,n)}function Ht(e,t,r=Nm.dcBuckets(t)){let n=e.length+1,i=new Uint8Array(39*n);for(let e=0;e<3;e++)for(let t=0;t<Lm;t++)for(let o=0;o<n;o++)i[(e*Lm+t)*n+o]=r(e,t,o,n);let o=0;for(let e of i)o=Math.max(o,e+1);return{thresholds:e,numDc:n,map:i,numCtxs:o,bucketOf:t=>{let r=0;for(let n of e)t>n&&r++;return r},...Jt(i,n,o)}}function Jt(e,t,r){return{contextOf:(r,n,i=0)=>e[((r<2?1^r:2)*Lm+i)*t+n],nonZero:(e,t)=>(Math.min(e,64)<8?Math.min(e,64):4+(Math.min(e,64)>>1))*r+t,zeroDensityOffset:e=>r*bm+wm*e,contexts:495*r}}function Kt(e,t){if((e=>!e.thresholds.length&&e.map.every((e,t)=>e===Nm.standard()(t>=Lm?1:0,t%Lm)))(t))e.write(1,1);else{e.write(1,0),e.write(4,0),e.write(4,t.thresholds.length);for(let n of t.thresholds)e.writeU32([[4,0],[8,16],[16,272],[32,65808]],r(n));e.write(4,0),e.write(4,0),B(e,t.map)}}function Dt(){try{return!("object"!=typeof WebAssembly||!_m||(ql??=Pm(),!ql)||(_l||=Tl(),0))}catch{return!1}}function Tt(){Rl=null,Xm=65536}function St(e){(function(e){for(let t=0;t<64;t++)e[4+t]=Math.floor(16777216/(t+1));for(let t=12;t<=13;t++)for(let r=0;r<2048;r++){let n=Math.max(0,26-Math.clz32(r+1));e[68+2048*(t-12)+r]=4+(t*e[4+(r>>n)]>>n)}})(new Int32Array(e.buffer)),new Uint8Array(e.buffer).set(Sm,32768);for(let t=0;t<16;t++)new Uint8Array(e.buffer)[33535+t]=t;new Uint8Array(e.buffer).set(Gm,33792)}function Gt(){if(!Xl){let{memory:e,exports:t}=He();St(e),qm=Je(Tt,null,()=>St(e)),Xl={...De(t,qm),memory:e}}Ke(qm)}function jt(e){Rl=null,Te(e)}function Pt(e,{values:t,counts:r},n=!1){return(!(t instanceof Int32Array)||!(r instanceof Uint32Array)||t.length!==r.length||t.length>1048576||e.length<1||e.length>64)&&Dm(),ic(e=>e.prices,[t,r,t.length,$m(e),e.length,n?1:0,Jm(131072),Jm(4096),33792,Um(Float64Array,2*e.length)])[1]}function _t(e,t,r,n,i,o){return!(e&&!(e instanceof vo&&e.write===vo.prototype.write&&e.grow===vo.prototype.grow)||n<0||t.length<n||r.length<n||o<0||o>i.length)&&function(e){qt();try{return Gt(),e()}catch(e){Zm(e)}}(()=>{let a=Xm,l=a+9232*i.length,s=l+4*n,m=s+(2*n+3&-4),c=m+4*n;jt(e?c+64:m+4*n);let f=Xl.memory.buffer,h=new Uint16Array(f),u=new Int32Array(f);i.forEach((e,t)=>{let r=a+9232*t>>1;h.fill(0,r,r+520),h.set(e.counts,r),h.set(e.starts,r+256),h.set(e.reverse,r+520)}),u.set(t.subarray(0,n),l>>2),u.set(r.subarray(0,n),m>>2);let d=Xl.tokAnsBack(l,n,a+9232*o,s);if(!e)return d;jt(c+(d+e.pending>>3)+16),f=Xl.memory.buffer;let p=Xl.tokAnsWrite(l,m,n,s,e.acc,e.pending,c),g=p>>3,M=7&p,y=new Uint8Array(f);return e.at+g+8>=e.bytes.length&&e.grow(g+8),e.bytes.set(y.subarray(c,c+g),e.at),e.at+=g,e.acc=M?y[c+g]&(1<<M)-1:0,e.pending=M,d})}function Xt(e,t,r){let{count:n,classes:i,pieceValue:o,pieceDistance:a,pieceContext:l}=e;(n<1||n>1048576||i<1||i>4096||!(o instanceof Int32Array)||!(a instanceof Int32Array)||!(l instanceof Uint8Array)||o.length<n||a.length<n||l.length<n||t<1||t>4096||i*t>1<<21||!Dt())&&Dm();let[,s,m,c,f]=ic(e=>(o,a,l,s,m,c,f,h)=>{e.pieces(o,a,l,n,t,s,s+i*t*4,s+i*(t+1)*4,r,m,c,f,h);let u=new Int32Array(e.memory.buffer,h,2);return[u[0],u[1]]},[Bm(Int32Array,o,n),Bm(Int32Array,a,n),Bm(Uint8Array,l,n),Um(Uint32Array,i*(t+2),1),Hm(Uint32Array,n,e=>e[0]),Hm(Uint32Array,n,e=>e[1]),Hm(Uint32Array,n,e=>e[1]),Jm(8)],!0);return{counts:s.slice(),literals:s.subarray(i*t,i*(t+1)),copies:s.subarray(i*(t+1)),larges:m,lengths:c,distances:f}}function qt(){if(!Dt())throw Aa()}function Rt(e,t,r,n=1){let i=t.map(()=>J(r,0,n)),o=t.map(()=>J(r)),a=i.map(()=>new Uint32Array(na));t.forEach((e,t)=>ac(null,a[t],e,o[t])),P(e,{useGlobalTree:!1,transforms:[]});let l=T(e,D(i)),s=_(e,l,a,e=>i.indexOf(e));t.forEach((t,r)=>ac(e,s[r+1].code,t,o[r]))}function zt(e,t,r){let n=new vo(256),i=new vo(256),o=J(r),a=[new Uint32Array(na)];Rt(n,t,r);for(let e of t)ac(null,a[0],e,o);P(i,{useGlobalTree:!1,transforms:[]});let l=_(i,T(i,o),a,()=>0);for(let e of t)ac(i,l[1].code,e,o);e.append(i.bitLength<n.bitLength?i:n)}function Vt(e,t,r){let n=r>>>0,i=t;for(let r=0;r<t;r++)n=Math.imul(n^e[r],2654435761),i=Math.imul(i+e[r],2246822519)^n>>>15;return 4294967296*(n>>>0)+(i>>>0)}function Yt(e,t){return k(e,t,dc),dc[0]}function Wt(e){let t=0,r=0;for(let n of e)n&&(t+=n,r-=yc(n));return r+yc(t)}function Zt(e,t,r){let n=0,i=0;for(let o=0;o<r;o++){let r=e[o]+t[o];r&&(n+=r,i-=yc(r))}return i+yc(n)}function Qt({contexts:e,small:t,totals:r,large:n}){let i=[];n.forEach((e,t)=>{if(e){i.push(t,e.size);for(let[t,r]of e)i.push(t,r)}});let o=0,a=0,l=0;for(let e=0,r=0;e<t.length;e++)t[e]&&(o++,a=Math.max(a,e-r),r=e,l=Math.max(l,t[e]));let s=a<65536,m=s?new Uint16Array(o):new Uint32Array(o),c=l<65536?new Uint16Array(o):new Uint32Array(o);for(let e=0,r=0,n=0;e<t.length;e++)t[e]&&(m[r]=s?e-n:e,c[r++]=t[e],n=e);return{contexts:e,at:m,values:c,totals:r.every(e=>e<=4294967295)?Uint32Array.from(r):r,large:Float64Array.from(i),...s&&{gaps:!0}}}function $t({contexts:e,at:t,values:r,totals:n,large:i,gaps:o=!1}){let a=new Uint32Array(64*e);for(let e=0,n=0;e<t.length;e++)n=o?n+t[e]:t[e],a[n]=r[e];let l=new Array(e).fill(null);for(let e=0;e<i.length;){let t=l[i[e]]=new Map;for(let r=i[e+1],n=e+2;r>0;r--,n+=2)t.set(i[n],i[n+1]);e+=2+2*i[e+1]}return Object.assign(Object.create(uc.prototype),{contexts:e,small:a,large:l,totals:n instanceof Float64Array?n:Float64Array.from(n)})}function er(e){let t=e.length,r=new Int32Array(t),n=new Int32Array(t),i=new Float64Array(t),o=new Int32Array(t),a=new Float64Array(t),l=0,s=0;e.forEach((e,t)=>{l+=e.contexts.length,s+=e.freqs.length,r[t]=l,n[t]=s,i[t]=e.bits,o[t]=e.last,a[t]=e.cost});let m=new Int32Array(l),c=new Uint32Array(s);return e.forEach((e,t)=>{m.set(e.contexts,t?r[t-1]:0),c.set(e.freqs,t?n[t-1]:0)}),{contexts:m,ends:r,freqs:c,fends:n,bits:i,last:o,cost:a}}function tr(e){let t=new Int32Array(e.length),r=new Int32Array(e.length),n=0;e.forEach((e,i)=>{t[i]=e.ctx,n+=e.sparse.length,r[i]=n});let i=new Uint32Array(n);return e.forEach((e,t)=>i.set(e.sparse,t?r[t-1]:0)),{ctx:t,ends:r,runs:i}}function rr({contextMap:e,histograms:t}){let r=[0,0,0],n=new Int8Array(64*t.length),i=new Int32Array(64*t.length);return t.forEach(({code:e,config:t},o)=>{for(let a=0;a<64;a++){k(t,a,r);let l=e.lengths[r[0]],s=l+r[1],m=64*o+a;void 0===l||s>24?n[m]=-1:(n[m]=s,i[m]=e.codes[r[0]]|r[2]<<l)}}),{write:(r,o,a)=>{let l=e[o];if(a>=0&&a<64){let e=64*l+a,t=n[e];if(t>=0)return void r.write(t,i[e])}let s=t[l];C(r,s.code,s.config,a)},writeTokens(r,o,a,l){for(let s=0;s<l;s++){let l=e[o[s]],m=a[s];if(m>=0&&m<64){let e=64*l+m,t=n[e];if(t>=0){r.write(t,i[e]);continue}}let c=t[l];C(r,c.code,c.config,m)}}}}function nr(t,r){let{contextMap:n,histograms:i}=((t,r)=>e(Oc(t,r,void 0,void 0,void 0)))(t,r),o=0;for(let e of i){let{freqs:t,extra:r}=e,n=e.code=w(t);o+=r;for(let e=0;e<t.length;e++)t[e]&&(o+=t[e]*n.lengths[e])}let a=new vo;H(a,{contextMap:n,histograms:i}),o+=a.bitLength;let l={kind:"prefix",contextMap:n,histograms:i.map(({config:e,code:t})=>({config:e,code:t}))},{write:s,writeTokens:m}=rr(l);return{contextMap:n,histograms:i,model:l,write:s,writeTokens:m,writeFilled:r?.kernels?.prefixFilled?.(l)||void 0,bits:o,header:a,writeHistograms:e=>e.append(a)}}function ir(e){let t=[0,0,0],r=[],i=e.lengths||e.subarray(e.length-33);if(e.literalPairs){let t=e.literalPairs,n=e.literalPairsLen??t.length;for(let e=0;e<n;e++)r.push(t[e])}else if(e.literals)for(let[t,n]of e.literals)n&&r.push(t,n);else for(let t=0,n=e.length-33;t<n;t++)e[t]&&r.push(t,e[t]);let o,a,l=0;for(let e=0;e<33;e++)l+=i[e]*Math.max(0,e-12);e:for(let e of Nc){let s=new Uint32Array(na),m=l;for(let n=0;n<r.length;n+=2){if(k(e,r[n],t),t[0]>=224)continue e;s[t[0]]+=r[n+1],m+=r[n+1]*t[1]}s.set(i,224);let c=L(s),f=xc;f.at=0,f.acc=0,f.pending=0,x(f,e),F(f,c);let h=f.bitLength+m+(1===c.alphabetSize?1:5+n(c.alphabetSize-1));for(let e=0;e<c.alphabetSize;e++)s[e]&&(h+=s[e]*c.lengths[e]);let u={config:e,freqs:s,bits:h,extra:m};o||(o=u),(!a||h<a.bits)&&(a=u)}return[o,a]}function or(e,t,r,n,i=null){let o,a="dcBuckets"===e&&0===t,l=a?r?Kc:Jc:i?Ht(t?i:[],r,Nm[e](r)):Ut(n,t,r,Nm[e](r));return l.numCtxs>16?null:(a?o=r?Tc:Dc:(o=new vo(128),Kt(o,l)),{candidate:l,header:o})}function*ar(e,t,r,n,i,o,a,l,s=null,m=13){let c=or(e,t,r,n,s);if(!c)return null;let{candidate:f}=c,h=f===i||f.numCtxs===i.numCtxs&&f.numDc===i.numDc&&f.map.every((e,t)=>e===i.map[t]),u=[];for(let e=0;e<o.length;e++){let t=()=>h?o[e]:lr(i,o[e],f,m);u.push(a.steps?yield*a.steps(t,l):a(t(),l))}return Sc(c,u)}function lr(e,t,r,n){let i=new Int16Array(e.numCtxs).fill(-1);for(let t=0;t<3;t++)for(let o=0;o<n;o++)for(let n=0;n<e.numDc;n++)i[e.map[(t*Lm+o)*e.numDc+n]]=r.map[(t*Lm+o)*r.numDc+(1===r.numDc?0:n)];let o=new uc(r.contexts),a=(e,r)=>{if(t.totals[e]){o.totals[r]+=t.totals[e];for(let n=0;n<64;n++)o.small[64*r+n]+=t.small[64*e+n];if(t.large[e]){let n=o.large[r]||(o.large[r]=new Map);for(let[r,i]of t.large[e])n.set(r,(n.get(r)||0)+i)}}};for(let t=0;t<e.numCtxs;t++){let n=i[t];if(!(n<0)){for(let i=0;i<bm;i++)a(i*e.numCtxs+t,i*r.numCtxs+n);for(let i=0;i<wm;i++)a(e.numCtxs*bm+t*wm+i,r.numCtxs*bm+n*wm+i)}}return o}function sr(e,t,r,n,i){if(!n)return Rt(e,t,r);let o=t.map(()=>J(r)),a=o.map(()=>new Uint32Array(na)),l=n&&t.map((e,t)=>function(e,t,r,n,i){if(!t||!r)return{tags:new Uint32Array(0),extra:new Uint32Array(0),used:0,literalPairs:new Uint32Array(0),literalPairsLen:0,lengths:new Uint32Array(33)};if(5!==n)throw yo("JXL_INTERNAL","vardct:modular-plan");let o=(Ia.dcPlan??va().dcPlan??Fa())(e,t,r,i);if(!o)throw Na("dcPlan");return o}(e.data,e.w,e.h,r,a[t]));n||t.forEach((e,t)=>ac(null,a[t],e,o[t])),P(e,{useGlobalTree:!1,transforms:[]});let s=T(e,D(o)),m=n?new vo(256):e,c=_(m,s,a,e=>o.indexOf(e));if(n){let t=m.bitLength,r=l.map((e,r)=>{let n=a[r],i=c[r+1].code.lengths;for(let e=0;e<i.length;e++)n[e]&&(t+=n[e]*(i[e]+(e<224?e>1?e-1:0:Math.max(0,e-236))));let o=ir(e)[1],l=o.config;if((0!==l.split||0!==l.msb||0!==l.lsb)&&!(Ia.planTokens??va().planTokens??Fa())(e,l))throw Na("planTokens");return e.freqs=[o.freqs],o}),f=new vo(256),h=n(f,s,r.map(e=>e.freqs),e=>o.indexOf(e),e=>r[e].config,i);if(f.bitLength+h.measure(l)<t)return h(l),void e.append(f);e.append(m)}t.forEach((t,r)=>ac(e,c[r+1].code,t,o[r]))}function mr(e,t,r=0){let n=t[0].quant,i=t[1].quant,o=t[2].quant,a=_c.get(n),l=a?.get(i),s=l?.get(o);if(!s){let e=new vo(256),m=!1,c=[0,1,2].map(e=>{let n=new Int32Array(64);if(function(e,t,r=0,n=8){let i=!1;for(let o=r;o<n;o++)for(let r=0;r<8;r++){let n=e[8*o+r];t[8*r+o]=n,(n<-32768||n>32767)&&(i=!0)}return i}(t[e].quant,n)&&!r&&(m=!0),r)for(let e=0;e<64;e++)n[e]/=2**r;return{w:8,h:8,data:m?n:Int16Array.from(n)}});zt(e,c,5),s={writer:e,wide:m},a||_c.set(n,a=new WeakMap),l||a.set(i,l=new WeakMap),l.set(o,s)}return e.append(s.writer),s.wide}function cr(e,t,r,n,i,o){let a=Math.min(32,r-32*n),l=t+7>>3,s=(32*n-o)*e[1].stride*64,m=a*e[1].stride*64,c=4*n*l,f=(a+7>>3)*l,h=(Ia.entropy??va().entropy??Fa())()??Fa();for(let r=0;r<2;r++){let o=2*r;h.fitCfl(e[1].coeffs.subarray(s,s+m),e[o].coeffs.subarray(s,s+m),e[1].quant,e[o].quant,t,a,e[1].stride,i[r].subarray(c,c+f),i[2][n])}i[2][n]=1}function fr(e,t,r,n){let i=t+7>>3,o=r+7>>3,a=[new Int8Array(i*o),new Int8Array(i*o),new Uint8Array(n)],l=[{...e[0],coeffs:Int16Array.from(e[0].coeffs)},e[1],{...e[2],coeffs:Int16Array.from(e[2].coeffs)}];for(let e=0;e<n;e++)cr(l,t,r,e,a,0);return{comps:l,maps:a,tw:i}}function*hr(t,r={},n){n&&n.jpeg!==t&&Object.assign(n,{jpeg:t,cflFit:void 0,cflMaps:null,blockCounts:null,countedByOrder:null,tokensByOrder:null,tokenStore:null,dcSections:null,ansDcSections:null,lfSections:null,acSections:null,modularAns:null,lfCoder:null,modular16bit:!0});let l=(n?.modular16bit??!0)&&!1!==t.modular16bit,{width:s,height:m,components:c,alpha:f,auxiliary:h,xyb:g,strategyData:M,splineBits:y,useDCFrame:b,authoredOrderPasses:w}=t,L=1===c.length,{isFirstFrame:O=!0,isLastFrame:A=!0,crop:I=null,saveAsReference:v=0,imageWidth:F,imageHeight:N,alphaChannel:x=!!f,mask:k=!1,patches:E=null}=t.placement??{};if(k&&(!x||!I))throw yo("JXL_INTERNAL","vardct:mask");let C=function(e,t={},r=function(e,t={}){let{width:r,height:n,components:i,xyb:o,strategyData:a,progression:l,authoredOrderPasses:s}=e,m=1===i.length,c=void 0!==e.cflBase,f=l?.count||1,h=o&&e.epf||0,u=e.quantScale||1,d=e.quantFieldBase||1,p=1;for(;d/(2040*u)<1/16384;)d*=2,p*=2;let g=!o&&(e.ycbcr||m),M=m?[0,0,0]:g&&!e.frameOrder?[1,0,2]:[0,1,2],y=M.map(e=>i[e]),b=!(!t.orders||s||!M.some(e=>t.orders[e].some((e,t)=>e!==t))),w=b?M.map(e=>t.orders[e].map(e=>Im[e])):[Im,Im,Im],L=e=>1===e?0:2===e?1:-1,O=g?1:Math.min(...y.map(e=>e.h)),A=g?1:Math.min(...y.map(e=>e.v)),I=y.map(e=>e.h%O?-1:L(e.h/O)),v=y.map(e=>e.v%A?-1:L(e.v/A));if(I.includes(-1)||v.includes(-1))throw ge("sampling factors: 1 or 2");let F=Math.max(...I),N=Math.max(...v),x=I.map(e=>F-e),k=v.map(e=>N-e);if(!g&&(F||N))throw ge("subsampled RGB");let E=Math.ceil(r/(8<<F))<<F,C=Math.ceil(n/(8<<N))<<N,B=Math.ceil(r/xo),U=Math.ceil(n/xo),H=B*U,J=Math.ceil(E/256),K=Math.ceil(C/256),D=J*K,T=1===H&&1===f;if(a&&(F||N||t.orders&&!s))throw ge("subsampled variable transforms");return{grey:m,directRGB:c,numPasses:f,epf:h,quantScale:u,field:d,shift:p,ycbcr:g,map:M,comps:y,hasOrders:b,orders:w,rawH:I,rawV:v,maxhs:F,maxvs:N,hshifts:x,vshifts:k,xsizeBlocks:E,ysizeBlocks:C,groupsX:B,groupsY:U,numGroups:H,dcGroupsX:J,dcGroupsY:K,numDcGroups:D,single:T}}(e,t)){let{comps:n,ycbcr:i,directRGB:o}=r,{xyb:a}=e,l=!0===e.jpegReconstruction,s=e=>{let t=1024;for(;e%t;)t>>=1;return t},m=n.map(e=>i||a||o||l?1:e.quant[0]/s(e.quant[0])),c=n.map(e=>i||a||o?0:l?Math.floor(1024/e.quant[0]):1024/s(e.quant[0]));return r.dcScale=m,r.dcLift=c,r}(t,r),{directRGB:B,numPasses:U,epf:J,quantScale:K,field:D,shift:T,ycbcr:S,map:G,comps:j,hasOrders:P,orders:_,rawH:X,rawV:q,maxhs:R,maxvs:z,hshifts:Z,vshifts:Q,xsizeBlocks:$,ysizeBlocks:ee,groupsX:te,groupsY:re,numGroups:ne,dcGroupsX:ie,dcGroupsY:oe,numDcGroups:ae,single:le,dcScale:se,dcLift:me}=C,ce=!(!t.jpegReconstruction||L||R||z||S&&!(ne<=64)||M||t.cfl||!t.band&&!j.every(e=>e.coeffs)),fe=-1,he=ce?t.band?(()=>{let e=$+7>>3,t=ee+7>>3,r=n?.cflMaps||[new Int8Array(e*t),new Int8Array(e*t),new Uint8Array(re)];n&&(n.cflMaps=r);let i=new Int16Array(32*j[0].stride*64),o=new Int16Array(32*j[2].stride*64);return{comps:[{...j[0],coeffs:i},j[1],{...j[2],coeffs:o}],maps:r,tw:e,b0:i,b2:o}})():n?n.cflFit||=fr(j,$,ee,re):fr(j,$,ee,re):null,ue=he?he.comps:j,de=he&&t.band?e=>{e!==fe&&(t.band(e),he.b0.set(j[0].coeffs),he.b2.set(j[2].coeffs),ue[0].row0=j[0].row0,ue[2].row0=j[2].row0,fe=e,cr(ue,$,ee,e,he.maps,32*e))}:t.band,Me=e=>Z[e],ye=e=>Q[e],be=(Ia.entropy??va().entropy)?.(),we=function*(e,n){let o=r.lfCoder,a=new vo(4096),s=function(e,t){let r=t%e.dcGroupsX,n=Math.floor(t/e.dcGroupsX),o=256*r,a=256*n,l=Math.min(256,e.xsizeBlocks-o),s=Math.min(256,e.ysizeBlocks-a);return{gx:r,gy:n,x0:o,y0:a,rw:l,rh:s,cw:l+7>>3,ch:s+7>>3,bits:i(l*s)}}(C,e),{gx:m,gy:c,x0:f,y0:u,rw:d,rh:p,cw:g,ch:y,bits:w}=s;if(1!==n){if(!b){a.write(2,0);let e=[1,0,2].map(e=>{let t=d>>Me(e),r=p>>ye(e),n=Nt(vt(0,C,e,f>>Me(e),u>>ye(e),t,r),new Int16Array(t*r));return n instanceof Int32Array&&(l=!1),{w:t,h:r,data:n}}),t=t=>sr(t,e,5,r.modularAns,be);o?.dcSteps?yield*o.dcSteps(a,e,t,be):o?o.dc(a,e,t,be):t(a)}if(h?.group(a,2048*m,2048*c,2048,3,1/0),0===n)return a}let L=M&&M.blocks.filter(e=>e.bx>=f&&e.bx<f+d&&e.by>=u&&e.by<u+p).sort((e,t)=>e.by-t.by||e.bx-t.bx),O=!o||!0===o.plainMetadata,{count:A,uniformBlocks:I,uniformSharpness:v,sharpVal:F}=function(e,t,r,n,i){return{count:n??r.rw*r.rh,uniformBlocks:i&&null==n&&!e.quantFields,uniformSharpness:i&&!e.sharpness,sharpVal:t.epf?7:0}}(t,C,s,L?.length,O);w&&a.write(w,A-1);let N=null;ym(D,1),I||(N=new Int32Array(2*A).fill(D-1,A),L&&function(e,t,r=0,n=e.length){for(let i=r;i<n;i++)t[i]=e[i].id}(L,N),t.quantFields&&L?function(e,t,r,n,i,o=0,a=n.length){for(let l=o;l<a;l++){let o=n[l];i[n.length+l]=ym(e[o.by*t+o.bx],r)}}(t.quantFields,$,T,L,N):t.quantFields&&function(e,t,r,n,i,o,a,l,s=0,m=a){for(let c=s;c<m;c++)for(let s=0;s<o;s++)l[o*a+c*o+s]=ym(e[(i+c)*t+n+s],r)}(t.quantFields,$,T,f,u,d,p,N));let x=[new Int16Array(g*y),new Int16Array(g*y)];if(he)for(let e=0;e<y;e++){let t=(u>>3)+e;he.maps[2][t>>2]||de(t>>2);for(let r=0;r<g;r++){let n=t*he.tw+(f>>3)+r;x[0][e*g+r]=he.maps[0][n],x[1][e*g+r]=he.maps[1][n]}}let k=[{w:g,h:y,data:x[0]},{w:g,h:y,data:x[1]},I?{w:A,h:2,rowValues:[0,D-1]}:{w:A,h:2,data:N},v?{w:d,h:p,rowValues:new Int16Array(p).fill(F)}:{w:d,h:p,data:new Int16Array(d*p)}],E=e=>zt(e,k,D>1?5:0);return o?.metadataSteps?yield*o.metadataSteps(a,k,E,be):o?o.metadata(a,k,E,be):E(a),a};if(void 0!==r.lfGroup){let t=l,n=(t=>e(we(t,void 0)))(r.lfGroup);return{bytes:n.bytes.slice(0,n.at),at:n.at,pending:n.pending,acc:n.acc,wide:t&&!l}}let Le=$>>Me(1),Oe=ee>>ye(1),Ae=!!r.fast,Ie=null,ve=()=>(Ie||(Ie=new Int32Array(Ae?0:Le*Oe),Ae||Nt(vt(0,C,1,0,0,Le,Oe),Ie)),Ie),Fe=function(e,t,r){let n=t.comps[1].quant,o=(n[8]+n[16]+n[24]+n[32]+n[40])/t.quantScale,a=t.xsizeBlocks*t.ysizeBlocks;return r||e.useDCFrame||a<256?0:Math.max(1,Math.min(7,i(a)-i(o)-(e.xyb?6:7)))}(t,C,Ae),Ne=t.jpegReconstruction?[]:["standard"],xe=r.countedMap?["dcBuckets"]:M?r.richContexts?["dcBuckets","sizes","sizesShared","sizes3","sizes3Shared","sizesDc",...Ne]:["dcBuckets","sizes","sizesShared",...Ne]:["dcBuckets",...Ne],ke=!M&&0===Fe,Ee=M?Nm.fine(L):void 0,Ce=()=>L?Kc:Jc,Be=yield*V("block-contexts",()=>{let e=ve(),t=ke?Ce():Ut(e,Fe,L,Ee),r=new Uint8Array(e.length),n=t.bucketOf,i=0,o=-1;if(e.length){i=o=e[0];for(let t of e)t<i?i=t:t>o&&(o=t)}if(o-i<e.length){let t=new Uint8Array(o-i+1);for(let e=i;e<=o;e++)t[e-i]=n(e);for(let n=0;n<e.length;n++)r[n]=t[e[n]-i]}else for(let t=0;t<e.length;t++)r[t]=n(e[t]);return{thresholds:ke?null:t.thresholds,lumaBuckets:r}}),Ue=ke?Ce():Ht(Be.thresholds,L,Ee),{lumaBuckets:He}=Be,Je=null,Ke=[0,1,2].map(()=>new Int32Array(1024)),De=!L&&t.nonZero?G.map(e=>t.nonZero[e]):null,Te=!(!n?.blockCounts&&!De),Se=n?.blockCounts||De||ue.map((e,t)=>L&&1!==t?null:new Uint8Array(void 0===e.row0?e.coeffs.length/64:e.stride*e.rows)),Ge=Xc||={ctxs:new Int32Array(ko),values:new Int32Array(ko)},je=(e,r=0)=>{let n=t.band?Math.floor(e/te):-1,i={authoredOrderPasses:w,groupsX:te,strategyData:M,map:G,progression:null,contexts:Ue,lumaBuckets:He,lumaW:Le,nzeros:Ke,xsizeBlocks:$,ysizeBlocks:ee,comps:ue,grey:L,orders:_,counted:Te,blockCounts:Se,nonZero:t.nonZero||void 0,tokenBuffer:Ge,hshifts:Z,vshifts:Q};if(!t.band||M)return{state:i,g:e};let o=32*n,a=Math.min(32,ee-o);return{g:e%te,state:{...i,ysizeBlocks:a,comps:i.comps.map(e=>({...e,row0:0})),blockCounts:Se.map((e,t)=>e?.subarray((o>>ye(t))*ue[t].stride,(o+a>>ye(t))*ue[t].stride)),nonZero:t.nonZero?.map((e,t)=>e?.subarray((o>>ye(t))*ue[t].stride,(o+a>>ye(t))*ue[t].stride)),lumaBuckets:He.subarray((o>>ye(1))*Le,(o+a>>ye(1))*Le)}}},Pe=null,_e=null,Xe=(e,t)=>{let{state:r,g:n}=je(e,t);if(M){if(Ia.strategyFill||Ia.ensure?.(),!Ia.strategyFill)throw yo("JXL_WASM","WebAssembly SIMD required");let e=Ia.strategyFill(r,n,t,Am,Om,Mm,Ge.ctxs,Ge.values);if(null==e)throw yo("JXL_INTERNAL","vardct:strategy-fill");return[e,Ge.ctxs,Ge.values]}let i=be?.fill(r,n,t,vm);if(!i)throw Na("fill");return i},qe=(e,r,i)=>{de?.(e/te|0);let o=je(e,i);if((Ia.acGroup??va().acGroup)?.(o.state,o.g,i,{counts:r,coding:null,w:null},vm))return;if(t.unpackBand?.(),!Ge)throw Na("acGroup");let[a,l,s]=Xe(e,i);l.buffer!==Ge.ctxs.buffer&&be.countFilled(r,a)||r.addTokens(l,s,a),Pe&&!be&&!M&&(Pe[e]=n.tokenStore.keep({ctxs:l,values:s},a))},Re=(e,r,i,o)=>{de?.(e/te|0);let a=je(e,o),l=(Ia.acGroup??va().acGroup)?.(a.state,a.g,o,{counts:null,coding:r,w:i},vm);if(l)return l;if(t.unpackBand&&(t.unpackBand(),a=je(e,o)),M)return function(e,t,r,n,i){Ia.strategyWrite||Ia.ensure?.();let o=Ia.strategyWrite?.(e,t,r,Am,Om,Mm,n,i);if(!o)throw yo("JXL_INTERNAL","vardct:strategy-write");return o}(a.state,a.g,o,r,i);if(!Ge||!r.writeTokens)throw Na("acGroup");if(r.writeFilled&&!M){let e=be.fill(a.state,a.g,o,vm);if(e)return void(e.wide?r.writeTokens(i,e[1],e[2],e[0]):r.writeFilled(i,e[0]))}let s=Pe?.[e];if(!s||!1===_e){let[t,a,l]=Xe(e,o);return Pe&&!be&&!M&&!_e&&(Pe[e]=n.tokenStore.keep({ctxs:a,values:l},t)),void r.writeTokens(i,a,l,t)}if(!_e)return void r.writeTokens(i,s.ctxs,s.values,s.ctxs.length);let m=Ge.ctxs,c=s.ctxs.length;for(let e=0;e<c;e++)m[e]=_e[s.ctxs[e]];r.writeTokens(i,m,s.values,c)},ze=2*ne*U+ae,Ve=0,Ye=n?n.countedByOrder||=new Map:null,We=w||(P?r.orders:null),Ze=r.coding||Fc,Qe=Ye?.get(We),$e=Qe||Array.from({length:U},()=>new uc(Ue.contexts)),et=Ge&&Ye&&!t.band?n.tokensByOrder||=new Map:null;if(Pe=et?.get(We)||null,(!Qe||!Pe)&&et&&(et.clear(),(n.tokenStore||=function(){let e=[],t=0,r=0;return{reset(){t=0,r=0},keep({ctxs:n,values:i},o){let a=0;for(let e=0;e<o;e++)a|=n[e]|i[e];if(a>>>0>65535)return null;let l=ko<<Math.min(t,3);r+o>l&&(t++,r=0,l=ko<<Math.min(t,3));let s=e[t]||={ctxs:new Uint16Array(l),values:new Uint16Array(l)},m={ctxs:s.ctxs.subarray(r,r+o),values:s.values.subarray(r,r+o)};return m.ctxs.set(n.subarray(0,o)),m.values.set(i.subarray(0,o)),r+=o,m}}}()).reset(),Pe=[],et.set(We,Pe)),r.countGroups){for(let e=r.countGroups[0];e<r.countGroups[1];e++)qe(e,$e[0],0);return{counts:$e[0],blockCounts:Se}}let tt=kc()&&!Qe&&!r.pooled&&ne>1&&(yield{offload:"run",task:{kind:"count",image:t,plan:r,groups:ne},at:()=>Ve/ze});if(Qe&&!Ha())Ve+=ne*U,yield Ve/ze;else if(tt){for(let e of tt)$e[0].merge(e.counts),e.blockCounts.forEach((e,t)=>{let r=Se[t];if(e)for(let t=0;t<e.length;t++)e[t]>r[t]&&(r[t]=e[t])});Ve+=ne,yield Ve/ze}else{let e=null,t=()=>({counts:$e.map(Qt),blockCounts:Se}),r=()=>{e&&(e.counts.forEach((e,t)=>{$e[t]=$t(e)}),e.blockCounts.forEach((e,t)=>e&&Se[t].set(e)),e=null)};if(e=yield*W("counts",function*(){if(Qe)return Ve+=ne*U,yield Ve/ze,null;for(let n=0;n<U;n++)for(let i=0;i<ne;i+=2){let o=Math.min(ne,i+2),a=yield*Y("count",()=>{r();for(let e=i;e<o;e++)qe(e,$e[n],n);return null},t);for(a!==Ja&&null!==a&&(e=a);Ve<n*ne+o;)yield++Ve/ze}return r(),null},t,!1,!0),e&&(Ve=ne*U),Ha()){let t=e,n=yield*V("block-counts",()=>(r(),Se));if(t){n.forEach((e,t)=>e&&Se[t].set(e));let r=(e,t)=>Object.defineProperty($e,e,{value:t,writable:!0,enumerable:!0,configurable:!0}),i=()=>{let n=t.counts.map($t);e=null,n.forEach((e,t)=>r(t,e))};for(let e=0;e<$e.length;e++)Object.defineProperty($e,e,{get:()=>(i(),$e[e]),enumerable:!0,configurable:!0})}}else r()}Ye&&Ye.set(We,$e),Te=!0,n&&(n.blockCounts=Se);let rt=null,nt=Ue,it=[];for(let e of xe)for(let t of"standard"===e?[0]:r.fast?[Fe]:Fe>0&&"dcBuckets"===e?[0,Fe]:Fe>0&&"sizesDc"===e?[Fe]:[0])it.push([e,t]);let ot=(r.splitGroups&&M||r.remoteDesigns)&&it.length>1&&1===$e.length&&!r.fast?yield{kind:"designs",list:it,counts:$e[0],lumaDc:ve(),wanted:Fe,grey:L,fine:!!M,clusters:r.clusters,coding:Ze}:null,at=Array.isArray(ot)?ot:ot?.totals??null,lt=ot?.priced??null,st=1/0,mt=-1;for(let e=0;e<it.length;e++){let[t,n]=it[e];if(at){null!=at[e]&&(mt<0||at[e]<st)&&(st=at[e],mt=e);continue}let i=yield*ar(t,n,L,null,nt,$e,Ze,{...r.clusters,smallestMap:!0,kernels:be},Be.thresholds??[],M?Lm:1);i&&(!rt||i.total<rt.reduce((e,t)=>e+t.bits,Je.bitLength))&&(rt=i.codings,Ue=i.candidate,Je=i.header)}if(at&&mt>=0){let t=!lt?.[mt]&&ot.coding?.(mt),n=t?or(it[mt][0],it[mt][1],L,ve()):null;(lt?.[mt]||n)&&globalThis.__jxlTrace?.push(["the kept design built as "+(n?"a helper priced it":"priced here"),performance.now()]);let i=lt?.[mt]??(n&&Sc(n,[t]))??((...t)=>e(ar(...t)))(it[mt][0],it[mt][1],L,ve(),nt,$e,Ze,{...r.clusters,smallestMap:!0,kernels:be},null,M?Lm:1);rt=i.codings,Ue=i.candidate,Je=i.header}let ct=Ue===nt||Ue.numDc===nt.numDc&&Ue.numCtxs===nt.numCtxs&&Ue.map.every((e,t)=>e===nt.map[t]);if(Pe&&(_e=ct?null:function(e,t,r=13){let n=new Int16Array(e.numCtxs).fill(-1);for(let i=0;i<3;i++)for(let o=0;o<r;o++)for(let r=0;r<e.numDc;r++){let a=e.map[(i*Lm+o)*e.numDc+r],l=t.map[(i*Lm+o)*t.numDc+(1===t.numDc?0:r)];if(n[a]>=0&&n[a]!==l)return!1;n[a]=l}let i=new Int32Array(e.contexts).fill(-1);for(let r=0;r<e.numCtxs;r++){let o=n[r];if(!(o<0)){for(let n=0;n<bm;n++)i[n*e.numCtxs+r]=n*t.numCtxs+o;for(let n=0;n<wm;n++)i[e.numCtxs*bm+r*wm+n]=t.numCtxs*bm+o*wm+n}}return i}(nt,Ue,M?Lm:1)),r.writeGroups){let e=rt[0],t=[];for(let n=r.writeGroups[0];n<r.writeGroups[1];n++){let r=new vo(4096);Re(n,e,r,0),e.flush&&e.flush(r),t.push({bytes:r.bytes.slice(0,r.at+1),at:r.at,pending:r.pending,acc:r.acc})}return t}let ft=Array.from({length:Eo(ne,ae,U)},()=>null),ht=e=>ft[le?0:e]||(ft[le?0:e]=new vo(4096)),ut=new Uint32Array(ft.length),dt=0,pt=e=>{e=le?0:e;let t=Math.ceil(ft[e].bitLength/8);dt+=t-ut[e],ut[e]=t,a(dt)},gt=ht(0);E&&null(gt,E,x),y&>.append(y),function(e,t,r,n){let{comps:i,dcScale:a,quantScale:l}=r,{xyb:s}=t;e.write(1,0);for(let t=0;t<3;t++)e.write(16,o(i[t].quant[0]/a[t]/(2040*l)*128));if(e.write(2,3),e.write(16,57343),e.write(2,1),e.write(5,0),e.append(n),s)e.write(1,1);else{if(!(Math.abs(t.cflBase??0)<=4))throw yo("JXL_INTERNAL",`vardct-header:cfl ${t.cflBase}`);let r=o(t.cflBase??0);e.write(1,0),e.write(2,0),e.write(16,r),e.write(16,r),e.write(8,128),e.write(8,128)}e.write(1,0)}(gt,t,C,Je),h?h.global(gt):x&&((e,t)=>{if(k)return Rt(e,t,5,255);let n=e=>sr(e,t,5,r.modularAns,be);r.lfCoder&&!0!==r.lfCoder.plainMetadata?r.lfCoder.metadata(e,t,n,be):n(e)})(gt,[1===ne?(()=>{let e=0*xo,r=0*xo,n=Math.min(xo,s-e),i=Math.min(xo,m-r),o=t.alphaWords?new Int32Array(n*i):new Int16Array(n*i),a=t.alphaRows?.(r,i);return function(e,t,r,n,i,o,a,l,s=0,m=a.length/o,c=0){let f=e||t,h=l?7:0;if(!f)return void a.fill(l?1:255,s*o,m*o);let u=e?i:-c;for(let e=s;e<m;e++){let t=e*o,i=4*((u+e)*r+n)+3;for(let e=0;e<o;e++)a[t+e]=f[i+4*e]>>h}}(f,a,s,e,r,n,o,k),{w:n,h:i,data:o}})():{w:0,h:0,data:new Int32Array(0)}]),pt(0),n&&r.modularAns&&n.modularAns!==r.modularAns&&(n.ansDcSections=null,n.modularAns=r.modularAns);let Mt=r.lfCoder;n&&Mt&&n.lfCoder!==Mt&&(n.lfSections=null,n.lfCoder=Mt);let yt=Mt?"lfSections":r.modularAns?"ansDcSections":"dcSections",bt=n&&(n[yt]||(n[yt]=[])),wt=null;Mt&&r.modularAns&&(wt=((e,t)=>{let r={coder:t.lfCoder,modularAns:t.modularAns,epf:e.epf,strategyData:e.strategyData,quantFields:e.quantFields,cfl:e.cfl,auxiliary:e.auxiliary,useDCFrame:e.useDCFrame,sharpness:e.sharpness,field:e.quantFieldBase,alpha:e.alpha,xyb:e.xyb,ycbcr:e.ycbcr,reconstruction:e.jpegReconstruction,cflBase:e.cflBase},n=Hc.get(e.components);if(n&&Object.keys(r).every(e=>n[e]===r[e]))return n;let i={...r,sections:[],wide:!1};return Hc.set(e.components,i),i})(t,r),bt=wt.sections,n&&(n[yt]=bt),wt.wide&&(l=!1));let Lt=l,Ot=Ha()&&!n?.ownDc?null:bt,At=e=>({kind:"lf",image:t,plan:r,g:e}),It=kc()?Array.from({length:ae},(e,t)=>t).filter(e=>!Ot?.[e]):[];It.length&&(yield{offload:"prefetch",tasks:It.map(At),at:()=>Ve/ze});for(let e=0;e<ae;e++){if(Ot?.[e]){ht(1+e).append(bt[e]),pt(1+e),yield++Ve/ze;continue}let t,r=It.length&&(yield{offload:"run",task:At(e),at:()=>Ve/ze});if(r?.wide&&(l=!1),r)t=Object.assign(new vo(0),{bytes:r.bytes,at:r.at,pending:r.pending,acc:r.acc});else for(let r of[0,1]){let n=yield*W("dc",function*(){let t=l,n=yield*we(e,r);return{w:Gc(n),wide:t&&!l}},({w:e,wide:t})=>({w:jc(e),wide:t}));n.wide&&(l=!1);let i=Object.assign(new vo(0),n.w);r?t.append(i):t=i}ht(1+e).append(t),pt(1+e),bt&&(t.bytes=t.bytes.slice(0,t.at),bt[e]=t),n&&(n.modular16bit=l),wt&&Lt&&!l&&(wt.wide=!0),yield++Ve/ze}let Ft=ht(1+ae);Ft.write(1,0);for(let e=0;e<17;e++){let r=M?.tables[e];if(M?!r:0!==e){Ft.write(3,0);continue}if(r?.parameters){Bt(Ft,r.parameters.syntax,G);continue}if(!r&&t.quantTable){Ft.write(3,6),Ft.write(4,5);for(let e of G)for(let r of t.quantTable[e])Ft.write(16,r);continue}r&&0===e&&8===r.w&&r.h;let n=!1;if(n){Bt(Ft,n,[0,1,2]);continue}let i=xt(r?G.map(e=>r.planes[e]):ue.map(e=>e.quant));Ft.write(3,7),Ft.write(16,o(D/(2040*K)*2**i)),r?zt(Ft,[0,1,2].map(e=>{let t=i?Int32Array.from(r.planes[G[e]],e=>e/2**i):r.planes[G[e]];for(let e of t)(e<-32768||e>32767)&&(l=!1);return{w:r.h,h:r.w,data:t}}),r.w!==r.h?0:5):mr(Ft,ue,i)&&(l=!1)}ne>1&&Ft.write(i(ne),0);for(let e=0;e<rt.length;e++){let n=rt[e];Et(Ft,t,C,r,e),n.writeHistograms?n.writeHistograms(Ft):H(Ft,{contextMap:n.contextMap,histograms:n.histograms})}if(pt(1+ae),n&&(n.modular16bit=l),r.estimate&&rt.every(e=>void 0!==e.payloadBits))return Math.ceil(dt+rt.reduce((e,t)=>e+t.payloadBits,0)/8+4*ne*U);let Ct=n?.acCoding!==Ze||le||h||r.pooled||r.estimate?null:{global:Ft.finish(),globalBits:Ft.bitLength,contexts:Je.finish(),contextBits:Je.bitLength,coder:Ze,entropy:Ia.entropy,group:Ia.acGroup,alphaCoder:x&&!k?r.lfCoder:void 0},Jt=Ct&&!Ha()&&n.acSections;Jt&&(Jt.coder!==Ct.coder||Jt.entropy!==Ct.entropy||Jt.group!==Ct.group||Jt.alphaCoder!==Ct.alphaCoder||Jt.globalBits!==Ct.globalBits||Jt.contextBits!==Ct.contextBits||!Ct.global.every((e,t)=>e===Jt.global[t])||!Ct.contexts.every((e,t)=>e===Jt.contexts[t]))&&(Jt=null),n&&(n.acSections=null);let Kt,Dt=e=>null!=e&&(Object.getPrototypeOf(e)===Int16Array.prototype||Object.getPrototypeOf(e)===Int32Array.prototype),Tt=!t.band&&(r.pooled||kc())&&(M?M.blocks.every(e=>e.coeffs.every(Dt)):ue.every(e=>Dt(e.coeffs)));if(!Jt&&Tt&&(ne>1||r.pooled&&le)&&!h&&rt[0].model){let e=rt[0],n=[0,1,2].map(Me),i=[0,1,2].map(ye),o={coding:e.model,grey:L,orders:_,hshifts:n,vshifts:i,authoredOrderPasses:w?.map(({byStrategy:e,ordinary:t})=>({byStrategy:e,ordinary:t})),contexts:{thresholds:Ue.thresholds,map:Ue.map,numDc:Ue.numDc,numCtxs:Ue.numCtxs}},a=(e,t=1/0)=>{let r=e%te*32,n=32*Math.floor(e/te),i=Math.min(32,$-r),o=Math.min(32,ee-n),a=i>>Me(1),l=o>>ye(1),s=a*l;if(M){let t=new Set;for(let r of M.groups[e]){for(let e of G)s+=Cc.call(r.coeffs[e])*(r.coeffs[e]instanceof Int16Array?2:4);if(ArrayBuffer.isView(r.order)){let e=Bc.call(r.order);t.has(e)||(t.add(e),s+=Uc.call(e))}}}else for(let e=0;e<ue.length;e++)L&&1!==e||(s+=(i>>Me(e))*(o>>ye(e))*(64*(ue[e].coeffs instanceof Int16Array?2:4)+1));if(t!==1/0&&(!Number.isSafeInteger(t)||t<0)||!Number.isSafeInteger(s)||s>t)throw Object.assign(new RangeError("AC group: over reservation"),{code:"JXL_MEMORY"});let m=new Uint8Array(a*l);for(let e=0;e<l;e++){let t=((n>>ye(1))+e)*Le+(r>>Me(1));m.set(He.subarray(t,t+a),e*a)}let c=[m.buffer],f={xsizeBlocks:i,ysizeBlocks:o,lumaW:a,lumaBuckets:m};return M?f.strategyData={groups:[M.groups[e].map(e=>{let t=G.map(t=>{let r=e.coeffs[t],n=r instanceof Int16Array?new Int16Array(r):new Int32Array(r);return c.push(n.buffer),n}),{id:i,area:o,size:a,bw:l,bh:s,order:m}=e;return{id:i,area:o,size:a,bw:l,bh:s,order:m,bx:e.bx-r,by:e.by-n,coeffs:t}})]}:(f.blockCounts=[],f.comps=ue.map((e,t)=>{let a=i>>Me(t),l=o>>ye(t);if(L&&1!==t)return f.blockCounts.push(null),{stride:a,coeffs:new Int16Array(0)};let s=e.coeffs instanceof Int16Array?new Int16Array(a*l*64):new Int32Array(a*l*64),m=new Uint8Array(a*l);for(let i=0;i<l;i++){let o=((n>>ye(t))+i)*e.stride+(r>>Me(t));s.set(e.coeffs.subarray(64*o,64*(o+a)),i*a*64),m.set(Se[t].subarray(o,o+a),i*a)}return f.blockCounts.push(m),c.push(s.buffer,m.buffer),{stride:a,coeffs:s}})),{data:f,transfer:c}};if(Kt=yield{kind:"ac-group",offload:r.pooled?void 0:"groups",image:t,plan:r,groups:ne,model:o,job:a,...r.splitGroups?{lumaBuckets:He,lumaW:Le}:{},local:function(t){try{let r=new vo(4096);return 2!==Re(t,e,r,0)&&e.flush?.(r),r}finally{e.reset?.()}},at:e=>(Ve+e+1)/ze,stop:e=>r.abortable&&e+1<ne},Kt instanceof Error)throw Kt;if(!Kt&&r.pooled)return null;if(Kt)for(let e=0;e<ne;e++){if(Object.hasOwn(Kt.errors,e))throw Kt.errors[e];let t=2+ae+e,r=Object.assign(new vo(0),Kt.results[e]);Kt.results[e]=null,le?ht(t).append(r):ft[t]=r,pt(t)}Kt&&(Ve+=ne)}if(Jt)for(let e=0;e<ne;e++){let t=2+ae+e,r=Jt.groups[e];ft[t]=Object.assign(new vo(0),{bytes:r,at:r.length}),pt(t),yield++Ve/ze}if(!Jt&&!Kt){let e=(e,t)=>{let r=2+ae+t*ne+e,n=ht(r),i=rt[t];if(2!==Re(e,i,n,t)&&i.flush&&i.flush(n),h){let t={minimum:0,maximum:2};h.group(n,e%te*xo,Math.floor(e/te)*xo,xo,t.minimum,t.maximum)}return r};for(let t=0;t<U;t++)for(let r=0;r<ne;r+=2){let n=Math.min(ne,r+2);if(le)for(let i=r;i<n;i++)pt(e(i,t)),yield++Ve/ze;else{let i=yield*V("ac",()=>{let i=[];for(let o=r;o<n;o++)i.push(Gc(ft[e(o,t)]));return i},e=>e.map(jc));for(let e=r;e<n;e++){let n=2+ae+t*ne+e;i[e-r].bytes!==ft[n]?.bytes&&(ft[n]=Object.assign(new vo(0),i[e-r])),pt(n),yield++Ve/ze}}}}if(5===t.level&&!l)throw yo("JXL_INPUT","samples > 16-bit: use level 10");let St,Gt,jt=O&&!t.frameHeader?Math.max(t.level??5,l?5:10):5,Pt=Ha()&&t.profile?.iccData,_t=Ha()&&!le&&!Pt;if(Pt)St=yield*Ua("varDCTFile")(e=>kt(e,t,C,l,pe),ft,jt,{BitWriter:vo,writeTOC:u,codestreamFromParts:p});else{let e=new vo(256);kt(e,t,C,l,pe),_t?St=d(e,ft.map(Pc),jt,Ba):(Gt=function(e){return e.map(e=>e?e.finish():new Uint8Array(0))}(ft),St=d(e,Gt,jt))}if(Ct&&!Pt&&!_t&&St.length+Ct.global.length+Ct.contexts.length<=c.reduce((e,t)=>e+(t.coeffs?.byteLength??0),0)){let e=[],t=2+ae,r=St.length-Gt.slice(t).reduce((e,t)=>e+t.length,0);for(let n=t;n<Gt.length;n++)e.push(St.subarray(r,r+Gt[n].length)),r+=Gt[n].length;n.acSections={...Ct,groups:e}}return O&&A&&!I?((e,t)=>{if(hm.size&&e instanceof Uint8Array&&t)for(let r of hm)r(e,t);return e})(St,t):St}function*ur(e,t=8,r=!1){if(!r&&e.every(e=>e.natural))return yield 1,dr(e.map(e=>Uint32Array.from({length:64},(t,r)=>r?e.natural[Im[r]]:0)),t);let n=e.map(()=>new Uint32Array(64)),i=e.reduce((e,t)=>e+t.coeffs.length,0),o=0,a=new Uint32Array(64),l=r&&3===e.length?[1,0,2]:e.map((e,t)=>t);for(let t of l){let{coeffs:r}=e[t],l=n[t];a.fill(0);for(let e=0;e<r.length;e+=65536){let t=Math.min(e+65536,r.length);if(!(Ia.nonzero??va().nonzero??Fa())(r,e,t,a))throw Na("nonzero");if(o+=t-e,yield o/i)return null}for(let e=1;e<64;e++)l[e]=a[Im[e]]}return dr(n,t)}function dr(e,t=8,r=!1,n=1/0){return e.map(e=>((e,t=8)=>[0,...Array.from({length:63},(e,t)=>t+1).sort((r,n)=>Math.floor(e[n]/t)-Math.floor(e[r]/t)||r-n)])(e,t))}function*pr(e,t,r){return yield*W("candidate",function*(){if(!t.pooled&&kc()){let r=yield{offload:"run",task:{kind:"vardct",image:e,plan:t},at:e=>e};if(r)return r}return yield*hr(e,t,r)})}function*gr(e,r,n,i,o={},a=!1){function*l(t,r,n=o){let i,l;for(s=pr(e,a?{...t,pooled:!0,abortable:!!m}:t,n),h=!1,u=!1;!(i=s.next(l)).done;){f=!0;let e=i.value,t=yield Fo(e,r);if(f=!1,l="number"==typeof e?void 0:t,"number"==typeof e){if(h=t,h&&m&&e<1)return void(u=!0)}else t?.hurried&&(h=!0)}return i.value}if(r<=3&&!n&&!i){let r=e.xyb?{fast:!0}:{},n=yield*t(hr(e,a?{...r,pooled:!0,abortable:!1}:r,o),0,1);if(a&&null===n)throw yo("JXL_INTERNAL","coefficient-effort:ac-1");return n}let s,m=n,c=!1,f=!1,h=!1,u=!1;!a&&kc()&&(yield((e,t)=>({offload:"prefetch",tasks:t.map(t=>({kind:"vardct",image:e,plan:t})),at:e=>e}))(e,((e,t,r)=>e<=3&&!t&&!r?[Rc]:[...e>=4&&!t?[Rc]:[],{},...e>=3?[{clusters:qc}]:[],...e>=4?[{orders:"learned"}]:[]])(r,n,i)));let d=(e,t)=>{if(u||a&&null===e){if(!m)throw yo("JXL_INTERNAL","coefficient-effort:ac-2");return!1}return(!m||e.length<m.length)&&(m=e),i?.(e,t),!0};try{let t=r>=4&&!n&&e.xyb;if(t){let e={fast:!0};if(!d(yield*l(e,e=>e/10,{}),e)||h)return c=!0,m}if(!d(yield*l({},t?e=>.1+.4*e:e=>e/2),{})||h||r<3)return c=!0,m;let i,o=r<4?1:3;if(!d(yield*l({clusters:qc},e=>.5+e/(2*o)),{clusters:qc})||h||r<4)return c=!0,m;for(s=ur(e.components);!(i=s.next()).done;){f=!0;let e=yield.5+(1+i.value)/6;if(f=!1,e)return c=!0,m}let a={orders:i.value};return d(yield*l(a,e=>.5+(2+e)/6),a),c=!0,m}catch(e){if(f||!m||!Lo(e)&&"JXL_SIZE"!==e?.code)throw e;return m}finally{try{s?.return()}catch(e){if(c&&(!m||!Lo(e)&&"JXL_SIZE"!==e?.code))throw e}}}function Mr(e,t,r){let n=64*t;for(let t=0;t<64;t++)e.small[n+t]&&r(t,e.small[n+t]);let i=e.large[t];if(i)for(let[e,t]of i)r(e,t)}function yr(e,t,r,n){let i=new Uint32Array(128),o=[0,0,0],a=0;for(let n of t)Mr(e,n,(e,t)=>{k(r,e,o);let[n,l]=o;if(!Number.isInteger(n)||n<0||n>=128)throw yo("JXL_INTERNAL","coefficient-coding:alphabet");i[n]+=t,a+=t*l});n||=w(i);let l=a;for(let e=0;e<128;e++)if(i[e]){let t=n.lengths[e],r=1===n.simple?.length&&n.simple[0]===e;if(e>=n.alphabetSize||!(t>0||r))throw yo("JXL_INTERNAL","coefficient-coding:absent");l+=i[e]*t}let s={config:r,code:n},m=new vo(256);return H(m,{contextMap:new Uint8Array(1),histograms:[s]}),{histogram:s,payloadBits:l,bits:m.bitLength+l}}function br(e,t){(function(e){let t=0;for(let r=0;r<e.contexts;r++){let n=0;if(Mr(e,r,(e,t)=>{if(!Number.isInteger(e)||e<0||e>4294967295||!Number.isSafeInteger(t)||t<=0)throw yo("JXL_INTERNAL","coefficient-coding:counts");n+=t}),n!==e.totals[r])throw yo("JXL_INTERNAL","coefficient-coding:sum");t+=n}if(!Number.isSafeInteger(t)||t>4294967295)throw yo("JXL_INTERNAL","coefficient-coding:capacity")})(e);let r=Fc(e,t),n=r.contextMap,i=r.histograms.map(()=>[]);for(let t=0;t<e.contexts;t++)e.totals[t]&&i[n[t]].push(t);let o=0,a=r.histograms.map(({config:t,code:r},n)=>{let a=yr(e,i[n],t,r);for(let t of zc){let r=yr(e,i[n],t);r.bits<a.bits&&(a=r)}return o+=a.payloadBits,a.histogram}),l=new vo;H(l,{contextMap:n,histograms:a});let s=(e,t,r)=>{let i=a[n[t]];C(e,i.code,i.config,r)},m=t?.kernels?.prefixFilled({contextMap:n,histograms:a})||void 0;return{contextMap:n,histograms:a,write:s,writeTokens:(e,t,r,n)=>{for(let i=0;i<n;i++)s(e,t[i],r[i])},writeFilled:m,bits:l.bitLength+o}}function*wr(e,t,r,n=gr,i={}){function*o(t){let r=ur(e.components,t);for(;!(s=r.next()).done;)if(m=yield.5+(d+s.value)/(2*u),m)return r.return(),null;return d++,s.value}function*a(t){let n,o=pr(e,t,i);for(;!(s=o.next(n)).done;)if(n=void 0,"number"==typeof s.value){if(m=yield.5+(d+s.value)/(2*u),m&&s.value<1)return void o.return()}else n=yield Fo(s.value,e=>.5+(d+e)/(2*u));s.value.length<l.length&&(l=s.value),r?.(s.value,t),d++}if(t<8)return yield*n(e,t,void 0,r,i);let l,s,m,c,f=n(e,7,void 0,r,i);try{for(;!(s=f.next(c)).done;)c="number"==typeof s.value?m=yield s.value/2:yield Fo(s.value,e=>e/2)}finally{s?.done||f.return?.()}if(l=s.value,m)return l;let h={maxClusters:32,newClusterCost:160},u=8===t?2:11,d=0;try{let e=yield*o(8);if(m||(yield*a({orders:e,clusters:h}),m||8===t))return l;for(let t of[void 0,e])for(let e of[void 0,h])if(yield*a({orders:t,clusters:e,coding:br}),m)return l;let r=yield*o(1);if(m)return l;for(let e of[void 0,br])for(let t of[void 0,h])if(yield*a({orders:r,clusters:t,coding:e}),m)return l;return l}catch(e){if(!Lo(e)&&"JXL_SIZE"!==e.code)throw e;return l}}function Lr(e){let t=ef,r=new Uint8Array(e.length);for(let e=0;e<256;e++)t[e]=e;for(let n=0;n<e.length;n++){let i=e[n],o=0;for(;t[o]!==i;)o++;if(r[n]=o,o>0){for(let e=o;e>0;e--)t[e]=t[e-1];t[0]=i}}return r}function Or(e,t,r,n,i=1/0){let o=t?n??Lr(e):e,a=new vo(256);if(a.write(1,0),a.write(1,t?1:0),!r){let e=0;for(let t=0;t<o.length;t++)o[t]>e&&(e=o[t]);let t=df.subarray(0,e+1);t.fill(0);for(let e=0;e<o.length;e++)t[o[e]]++;let r=L(t),n=0;for(let i=0;i<=e;i++)t[i]&&(n+=t[i]*r.lengths[i]);if(14+n>=i||(r.codes=b(r.lengths),H(a,{contextMap:Qc,histograms:[{config:Vc,code:r}]}),a.bitLength+n>=i))return null;let l=r.lengths,s=r.codes;for(let e=0;e<o.length;e++){let t=o[e];a.write(l[t],s[t])}return a}for(let e=0;e<o.length;e++)if(o[e]>=Zc)return null;let l=function(e,t,r=64){let n=e.length,i=tf;rf.length<n&&(rf=new Int32Array(n)),nf.length<n&&(nf=new Uint32Array(n)),of.length<n&&(of=new Uint8Array(n),af=new Uint32Array(n),lf=new Uint32Array(n),sf=new Uint8Array(n),mf=new Uint8Array(n),cf=new Uint32Array(n),ff=new Uint8Array(n),hf=new Uint8Array(n),uf=new Uint32Array(n));let o=rf,a=nf,l=of,s=af,m=lf;if(n>0){a[n-1]=0;for(let t=n-2;t>=0;t--)a[t]=e[t]===e[t+1]?a[t+1]+1:0}let c=t=>31*(31*e[t]+e[t+1])+e[t+2]&32767,f=e=>{if(e+2<n){let t=c(e);o[e]=i[t],i[t]=e}},h=0;try{for(let u=0;u<n;){let d=0,p=0,g=a[u];if(u+2<n)for(let t=i[c(u)],l=0;t>=0&&l<r;t=o[t],l++){let r,i=a[t];if(i!==g)r=(i<g?i:g)+1;else for(r=g+1;u+r<n&&e[t+r]===e[u+r];)r++;r>d&&(d=r,p=u-t)}if(g>=t&&g+1>d&&(l[h]=e[u],s[h]=0,m[h++]=0,f(u),u++,d=g,p=1),d>=t){l[h]=0,s[h]=d,m[h++]=p;for(let e=0;e<d;e++)f(u+e);u+=d}else l[h]=e[u],s[h]=0,m[h++]=0,f(u),u++}return h}finally{for(let e=0;e+2<n;e++)i[c(e)]=-1}}(o,r),s=df,m=pf;s.fill(0),m.fill(0);let c=of,f=af,h=lf,u=sf,d=mf,p=cf,g=ff,M=hf,y=uf,w=0;for(let e=0;e<l;e++){let t=f[e];if(!t){s[c[e]]++;continue}k(Yc,t-r,gf);let n=gf[0],i=gf[1],o=gf[2];u[e]=n,d[e]=i,p[e]=o,k(Wc,h[e]-1,gf);let a=gf[0],l=gf[1],b=gf[2];g[e]=a,M[e]=l,y[e]=b,s[Zc+n]++,m[a]++,w+=i+l}let O=L(s),A=L(m),I=w;for(let e=0;e<O.alphabetSize;e++)s[e]&&(I+=s[e]*O.lengths[e]);for(let e=0;e<A.alphabetSize;e++)m[e]&&(I+=m[e]*A.lengths[e]);if(22+I>=i||(O.codes=b(O.lengths),A.codes=b(A.lengths),H(a,{lz77:{minSymbol:Zc,minLength:r,lengthConfig:Yc},contextMap:$c,histograms:[{config:Wc,code:A},{config:Vc,code:O}]}),a.bitLength+I>=i))return null;let v=O.lengths,F=O.codes,N=A.lengths,x=A.codes;for(let e=0;e<l;e++){if(!f[e]){let t=c[e];a.write(v[t],F[t]);continue}let t=Zc+u[e],r=d[e],n=g[e],i=M[e];a.write(v[t],F[t]),r&&a.write(r,p[e]),a.write(N[n],x[n]),i&&a.write(i,y[e])}return a}function Ar(e,t,r=!0){let n=new vo(256);B(n,t);let i=t.length>=16?Lr(t):null;if(t.length>=16)for(let e of[!1,!0])for(let o of r?[0,3,5]:[0]){let r=Or(t,e,o,i,n.bitLength);r&&r.bitLength<n.bitLength&&(n=r)}e.append(n)}function Ir(e,t){if(!t)return void e.write(1,0);let r=n(t);e.write(1,1),e.write(3,r),e.write(r,t-(1<<r))}function vr(e){let t=0,r=0;for(let n=0;n<e.length;n++)t+=e[n],e[n]&&(r=n+1);let n=new Uint16Array(r||1);if(!t)return n[0]=4096,n;let i=0;for(let o=0;o<r;o++)e[o]&&(i+=n[o]=Math.max(1,Math.round(4096*e[o]/t)));for(;4096!==i;){let o=i<4096?1:-1,a=-1,l=-1/0;for(let i=0;i<r;i++)if(e[i]&&(o>0||n[i]>1)){let r=o*(4096*e[i]-n[i]*t);r>l&&(a=i,l=r)}n[a]+=o,i+=o}return n}function Fr(e,t=!1){let r=0,n=0,i=0,o=0;for(let t=0;t<e.length;t++)e[t]&&(r+=e[t],n=t+1,o++,e[t]>e[i]&&(i=t));if(o<=2){let t=vr(e);return{counts:t,shift:12,omit:-1,bits:Nr(t,12,-1)+Cr(e,t)}}let a=(Ia.shape??va().shape??Fa())(e,n,r,i,If,t);if(!a)throw Na("shape");return a.none?null:a}function Nr(e,t,r){return xr(e,!0,t,r)}function xr(e,t=!1,r=12,i=-1){let o=e.length,a=i<0,l=0,s=-1,m=-1;a&&(i=0);for(let t=0;t<o;t++)e[t]&&(0===l?s=t:1===l&&(m=t),l++),a&&e[t]>e[i]&&(i=t);if(l<=2)return 2+(l?vf(s):0)+(2===l?vf(m)+12:0);let c=n(r+1),f=2+2*c+(c<3?1:0)+vf(o-3),h=t?10:0;for(let t=0;t<o;t++)t!==i&&e[t]&&(h=Math.max(h,n(e[t])+1+(t<i?1:0)));let u=t=>t===i?h:e[t]?n(e[t])+1:0;for(let n=0;n<o;n++){let a=u(n);if(f+=Mf[a],n!==i&&a>1&&(f+=wf(a-1,r)),t&&n!==i){let t=n+1;for(;t<o&&t!==i&&e[t]===e[n];)t++;t-n>=5&&(f+=7+vf(t-n-5),n=t-1)}}return f}function kr(e,t,r=!1,i=12,o=-1){let a=[],l=o<0;l&&(o=0);for(let e=0;e<t.length;e++)t[e]&&a.push(e),l&&t[e]>t[o]&&(o=e);if(a.length<=2){e.write(1,1),e.write(1,a.length-1);for(let t of a)Ir(e,t);return void(2===a.length&&e.write(12,t[a[0]]))}e.write(1,0),e.write(1,0);let s=i+1,m=n(s);e.write(m,(1<<m)-1),m<3&&e.write(1,0),e.write(m,s-(1<<m)),Ir(e,t.length-3);let c=new Uint8Array(t.length),f=r?10:0;for(let e=0;e<t.length;e++)e!==o&&t[e]&&(c[e]=n(t[e])+1,f=Math.max(f,c[e]+(e<o?1:0)));c[o]=f;let h=r?new Uint16Array(t.length):null;for(let n=0;n<t.length;n++)if(e.write(Mf[c[n]],yf[c[n]]),r&&n!==o){let r=n+1;for(;r<t.length&&r!==o&&t[r]===t[n];)r++;r-n>=5&&(h[n]=r-n,e.write(7,65),Ir(e,r-n-5),n=r-1)}for(let r=0;r<t.length;r++){if(r!==o&&c[r]>1){let n=c[r]-1,o=wf(n,i);e.write(o,t[r]-(1<<n)>>n-o)}h?.[r]&&(r+=h[r]-1)}}function Er(e,t){let r=1<<t,n=4096>>t,i=new Uint16Array(e.length+1),o=new Uint16Array(4096),a=-1;for(let t=0;t<e.length;t++)i[t+1]=i[t]+e[t],4096===e[t]&&(a=t);if(a>=0)return o.set(Cf),{starts:i,reverse:o};let l=r<=256?Ff:new Int32Array(r),s=r<=256?Nf:new Uint16Array(r),m=r<=256?xf:new Int32Array(r),c=r<=256?kf:new Uint16Array(r),f=r<=256?Ef:new Uint16Array(r);l.fill(0,0,r),s.fill(0,0,r),m.fill(0,0,r),l.set(e);let h=0,u=0;for(let e=0;e<r;e++)l[e]<n?c[h++]=e:l[e]>n&&(f[u++]=e);for(;u>0;){let e=f[--u],t=c[--h],r=n-l[t];l[e]-=r,s[t]=e,m[t]=l[e]-l[t],l[e]<n?c[h++]=e:l[e]>n&&(f[u++]=e)}for(let e=0;e<r;e++){let t=l[e],r=i[e],a=i[s[e]]+m[e],c=e*n;if(t>=16&&r>=0&&r+t<=4096)o.set(Cf.subarray(c,c+t),r);else for(let e=0;e<t;e++)o[r+e]=c+e;if(n-t>=16&&a+t>=0&&a+n<=4096)o.set(Cf.subarray(c+t,c+n),a+t);else for(let e=t;e<n;e++)o[a+e]=c+e}return{starts:i,reverse:o}}function Cr(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]&&(r+=e[n]*bf[t[n]]);return r}function Br(e,t,r,n,i,o=B){t.length>1&&o(e,t),e.write(1,0),e.write(2,r-5);for(let t of n)x(e,t,r);for(let t of i)kr(e,t.counts,!0,t.shift,t.omit)}function Ur(e,t){let r=vr(e),n=new Bf;return x(n,t,Math.max(5,i(r.length))),n.bitLength+xr(r,!0)+Cr(e,r)}function Hr(e){let t=vr(e),r=new Float64Array(e.length).fill(12);for(let e=0;e<t.length;e++)t[e]&&(r[e]=bf[t[e]]);return r}function Jr(e){let t={model:e,values:new Uint32Array(ko),ids:new Uint8Array(ko),length:0};return{write:(e,r,n)=>function(e,t,r){e.values[e.length]=r,e.ids[e.length++]=e.model.contextMap[t]}(t,r,n),writeTokens:(e,r,n,i)=>function(e,t,r,n){let{values:i,ids:o,model:a}=e,{contextMap:l}=a,s=e.length;for(let e=0;e<n;e++)i[s]=r[e],o[s++]=l[t[e]];e.length=s}(t,r,n,i),flush:e=>function(e,t){ms(t,e.model,e.values,e.ids,e.length),e.length=0}(t,e),reset:()=>{t.length=0}}}function Kr(t,r){return e(Dr(t,r))}function*Dr(e,t){let r=yield*W("coding",function*(){let r="function"==typeof e?e():e;return yield*function*(e,t){return yield*function*(e,t){let r=new WeakMap,n=128===t?.seeds||!!t?.headerAware,o=yield*Oc(e,t,Ur,Hr,(e,t)=>{let o=new Bf,a=Fr(e,n);return r.set(e,a),x(o,t,Math.max(5,i(e.findLastIndex(Boolean)+1))),o.bitLength+a.bits}),a=yield*V("shapes",()=>{let e=32,t=o.histograms.map(({config:t,freqs:i,extra:o})=>{let{counts:a,shift:l,omit:s}=r.get(i)??Fr(i,n);return e+=o+Cr(i,a),{config:t,counts:a,shift:l,omit:s}});return{bits:e,histograms:t}}),{bits:l,histograms:s}=a,m=Math.max(5,i(Math.max(...s.map(e=>e.counts.length))),...s.map(e=>e.config.split));for(let e of s)Object.assign(e,Er(e.counts,m));let c=new vo;if(c.write(1,0),o.contextMap.length>1){let e=yield*V("map",()=>{let e=new vo;return(t?.smallestMap?Ar:B)(e,o.contextMap,t?.mapLz??!0),{bytes:e.bytes,at:e.at,pending:e.pending,acc:e.acc}},e=>({...e,bytes:e.bytes.slice(0,e.at+1)}));c.append(Object.assign(new vo(0),e))}c.write(1,0),c.write(2,m-5);for(let e of s)x(c,e.config,m);for(let e of s)kr(c,e.counts,!0,e.shift,e.omit);let f={kind:"ans",contextMap:o.contextMap,histograms:s.map(({config:e,counts:t,starts:r,reverse:n})=>({config:e,counts:t,starts:r,reverse:n}))},{write:h,writeTokens:u,writeFilled:d,flush:p,reset:g}=t?.kernels?.ansWriter?.(f)??Jr(f);return{bits:l+c.bitLength,payloadBits:l,model:f,histogramHeader:c,write:h,writeTokens:u,writeFilled:d,flush:p,reset:g,writeHistograms:e=>e.append(c)}}(e,t)}(r,t)},e=>{let t=function(e){let t=Uf.get(e);if(t)return t;let{bits:r,payloadBits:n,model:i,histogramHeader:{bytes:o,at:a,pending:l,acc:s}}=e;return{bits:r,payloadBits:n,model:i,header:{bytes:o.slice(0,a+1),at:a,pending:l,acc:s}}}(e);return{...t,model:{...t.model,histograms:t.model.histograms.map(({config:e,counts:t})=>({config:e,counts:t}))}}});if(r.write)return r;let n=Object.assign(new vo(0),r.header),o={bits:r.bits,payloadBits:r.payloadBits,histogramHeader:n,writeHistograms:e=>e.append(n)};Uf.set(o,r);let a,l=()=>{if(!a){let e=r.model.histograms,n=Math.max(5,i(Math.max(...e.map(e=>e.counts.length))),...e.map(e=>e.config.split));for(let t of e)Object.assign(t,Er(t.counts,n));a=function({bits:e,payloadBits:t,model:r,header:n},i){let o=Object.assign(new vo(0),n),{write:a,writeTokens:l,writeFilled:s,flush:m,reset:c}=i?.ansWriter(r)??Jr(r);return{bits:e,payloadBits:t,model:r,histogramHeader:o,write:a,writeTokens:l,writeFilled:s,flush:m,reset:c,writeHistograms:e=>e.append(o)}}(r,t?.kernels)}return a};for(let e of["model","write","writeTokens","writeFilled","flush","reset"])Object.defineProperty(o,e,{get:()=>l()[e]});return o}function Tr(e){let t=Hf.get(e);if(t&&t.copy.length===e.length&&t.copy.every((t,r)=>t===e[r]))return t;let r={copy:e.slice(),shape:Fr(e),aliases:new Map};return Hf.set(e,r),r}function Sr(e,t,r,n=e=>e.context,o=()=>ra,a=null){let l=new Uint8Array(t.length+1);for(let e of t){let t=n(e)+1;if(t>255)throw yo("JXL_INTERNAL","ans:histograms");l[e.context]=t}let s=new Uint32Array(2);s[1]=1;let m=[s,...r.slice(0,Math.max(...l))].map(Tr),c=Math.max(5,i(Math.max(...m.map(e=>e.shape.counts.length))));if(c>8)throw yo("JXL_SIZE","ANS alphabet: max 256");let f=m.map(({shape:e,aliases:t})=>(t.has(c)||t.set(c,Er(e.counts,c)),{...e,...t.get(c)}));e.write(1,1),e.writeU32([[0,224],[0,512],[0,4096],[15,8]],ta.minSymbol),e.writeU32([[0,3],[0,4],[2,5],[8,9]],ta.minLength),x(e,ta.lengthConfig,8),Br(e,l,c,f.map((e,t)=>t?o(t-1):ra),f,Ar);let h=a?.modularAns(f),u=null,d=e=>{let t=(e=>{if(1===e.length&&!e[0].histogramMap){let t=e[0];return{tags:t.tags,extras:t.extra,n:t.used,offset:f.length-t.freqs.length}}let t=e.reduce((e,t)=>e+t.used,0),r=new Uint32Array(t),n=new Uint32Array(t),i=0,o=f.length-e.reduce((e,t)=>e+t.freqs.length,0);for(let t of e){let{histogramMap:e}=t;for(let a=0;a<t.used;a++,i++){let l=t.tags[a],s=o+(e?e[l>>>16]:l>>>16);r[i]=s<<16|65535&l,n[i]=t.extra[a]}o+=t.freqs.length}return{tags:r,extras:n,n:t,offset:0}})(e),r=_t(null,t.tags,t.extras,t.n,f,t.offset);if(!1===r)throw yo("JXL_INTERNAL","ans:layout");return{plans:e,packed:t,bits:r}},p=t=>{let r=h?.write(e,t);if(null!=r&&!1!==r)return u=null,r;let{packed:n}=u?.plans===t?u:d(t);u=null;let i=_t(e,n.tags,n.extras,n.n,f,n.offset);if(!1===i)throw yo("JXL_INTERNAL","ans:writer");return i};return p.measure=e=>{let t=h?.bits(e);return null!=t&&!1!==t?t:(u=d(e)).bits},p}function Gr(e,t,r){let n=new Uint32Array(t*r),i=new Int32Array(t*r);return function(e,t,r,n,i){if(!function(e,t,r,n,i,o,a,l,s,m=!1,c=0){if(!(r instanceof Int16Array)||n<1||i<1||n>16384||n*i>1048576||r.length<n*i||Math.abs(o)>32768||!m&&(!(l instanceof Uint32Array)||l.length<n*i||s&&(!(s instanceof Int32Array)||s.length<n*i))||!Dt())return!1;try{Gt(),c&&(8!==c||!Rl||Rl.buffer!==r.buffer||Rl.offset!==r.byteOffset||Rl.width!==n||Rl.height!==i||Rl.base!==Xm)&&(c=0);let e=n*i,t=m>2?n*m:e,a=Xm+4*t,f=Xm+8*t,h=Xm+12*t,u=h+40*(n+2);jt(m>1?u+(2*e+15&-16)+(2*e+15&-16)+e+16:u);let d=Xl.memory.buffer,p=new Int32Array(d);return c?p.set(r.subarray(c*n,e),(Xm>>2)+c*n):(p.set(r.subarray(0,e),Xm>>2),p.fill(0,h>>2,(h>>2)+10*(n+2))),c<i&&Xl.captureWeighted(Xm+c*n*4,n,i,o,a+c*n*4,f+c*n*4,c,0,0,16,272,h),m||(l.set(p.subarray(a>>2,(a>>2)+e)),s&&s.set(p.subarray(f>>2,(f>>2)+e))),!0}catch{return!1}}(0,0,e,t,r,0,0,n,i))throw jm()}(e,t,r,n,i),{residuals:n,properties:i}}function jr(e,t){let r=e.length,n=e[0],i=e[0];for(let t=1;t<r;t++){let r=e[t];r<n?n=r:r>i&&(i=r)}let o=i-n+1,a=[],l=new Uint8Array(r);if(o>Math.max(256,4*r)){let n=e.slice().sort();for(let e=1;e<t;e++){let i=n[Math.floor(e*r/t)-1];i<n[r-1]&&(!a.length||i>a[a.length-1])&&a.push(i)}for(let t=0;t<r;t++){let r=0,n=a.length;for(;r<n;){let i=r+n>>1;e[t]>a[i]?r=i+1:n=i}l[t]=r}return{cuts:a,indices:l}}let s=new Uint32Array(o);for(let t=0;t<r;t++)s[e[t]-n]++;let m=0,c=s[0];for(let e=1;e<t;e++){let o=Math.floor(e*r/t)-1;if(o<0)continue;for(;c<=o;)c+=s[++m];let l=n+m;l<i&&(!a.length||l>a[a.length-1])&&a.push(l)}let f=new Uint8Array(o);for(let e=0,t=0;e<o;e++){for(;t<a.length&&a[t]<n+e;)t++;f[e]=t}for(let t=0;t<r;t++)l[t]=f[e[t]-n];return{cuts:a,indices:l}}function Pr(e,t,r){let n=new vo(256);return _(n,T(n,e),r,e=>t.indexOf(e),()=>ra),n.bitLength}function _r(e,t){let{options:r,alphabet:n,table:i,rawPrice:o,candidates:a,count:l,population:s,store:m}=e;if(t.depth>=r.depth||t.ids.length<64||0===t.ownBits)return null;let c=t.ids,f=c.length,h={save:l>=256&&(f>=256||!!t.forSibling),parent:t.parent||null,sibling:t.sibling||null,handle:null},u=m.propose(c,t.hist,t.ownBits,h);if(t.parent=t.sibling=null,t.forSibling=!1,t.handle=h.handle,!u||u.gain<=0)return null;let d=J(a[t.choice.selected]),p=J(a[u.hi.selected]),g=J(a[u.lo.selected]),M=K(u.column.property,u.column.cuts[u.bin],p,g),y=Math.max(0,Pr(M,[p,g],[_f(u.high[u.hi.selected]),_f(u.low[u.lo.selected])])-Pr(d,[d],[_f(t.hist[t.choice.selected])])),b=u.gain*s-(y+r.charge)*jf*l;return b>0?{...u,score:b}:null}function Xr(e,t,r,n,i,o=null){let a=function(e){let t=new Map,r=[];for(let n of e){if(!n.cuts.length)continue;let e=n.indices,i=0;for(let t=0;t<e.length;t++)i=Math.imul(i^e[t],2654435761);let o=t.get(i);o?.some(t=>{if(t.cuts.length!==n.cuts.length)return!1;let r=t.indices;for(let t=0;t<e.length;t++)if(e[t]!==r[t])return!1;return!0})||(r.push(n),o?o.push(n):t.set(i,[n]))}return r}(e),l=t[0].length,s=function(e){if(Pf.length>e)return Pf;let t=new Float64Array(e+1);t.set(Pf);for(let r=Math.max(1,Pf.length);r<=e;r++){let e=31-Math.clz32(r),n=r*(1048576/(1<<e)),i=0;for(let e=2048;e;e>>=1)n=Math.floor(n*n/1048576),n>=2097152&&(n=Math.floor(n/2),i+=e);t[r]=r*(e*jf+i)}return Pf=t}(l),m=1;for(let e of t)for(let t=0;t<e.length;t++)e[t]>=m&&(m=e[t]+1);let c=r.length,f=Float64Array.from({length:m},(e,t)=>(e=>e<16?0:1+(e-16>>3))(t)*jf),h=e.some(e=>e.property>=16)?2:0,u=n/l,d=(Ia.sampled??va().sampled??Fa())(l,c,m,a,t,s,f);if(!d)throw Na("sampled");let p={options:i,clustered:!1,kinds:c,alphabet:m,table:s,rawPrice:f,columns:a,symbolSets:t,candidates:r,count:l,population:n,scale:u,store:d,clusters:null,maxClusters:Math.min(i.clusters??192,255-h),epoch:0,histBase:i.histBase??44,histSym:i.histSym??5.5,splitCost:((i.leafBits??24)+i.charge+14*(1-l/n)*u)*jf,scratchHist:null,remCluster:null};if(o)return p.clusters=o.clusters,p.epoch=o.epoch,{...o,st:p,reserve:h,active:o.active.map(e=>({...e,proposal:e.proposal&&{...e.proposal,column:a[e.proposal.column]}}))};let g=e=>{let t=((e,t)=>{let r=0,n=0;for(let i=0;i<e.length;i++)r+=e[i],n+=t[e[i]];return t[r]-n})(e,s);for(let r=0;r<e.length;r++)t+=e[r]*f[r];return t},M=new Uint32Array(l);for(let e=0;e<l;e++)M[e]=e;let y=function(e,t,r,n){let i=new Array(n),o=e.length;for(let a=0;a<n;a++){let n=new Uint32Array(r),l=t[a];for(let t=0;t<o;t++)n[l[e[t]]]++;i[a]=n}return i}(M,t,m,c),b=(e=>{let t=0,r=g(e[0]);for(let n=1;n<e.length;n++){let i=g(e[n]);i<r&&(t=n,r=i)}return{selected:t,bits:r}})(y),w=r[b.selected],L=J(w);p.clusters=null;let O=[{node:L,ids:M,hist:y,choice:b,ownBits:b.bits,curStats:null,cluster:0,depth:0}];return O[0].proposal=_r(p,O[0]),{st:p,reserve:h,active:O,root:L,predictor:w,leaves:1,done:!1}}function qr(e,t=1/0){let{st:r,reserve:n,active:i}=e,{options:o,candidates:a,store:l,clusters:s,table:m}=r;for(let s=0;e.leaves<o.leaves-n;s++){if(s===t)return!1;let m=-1;for(;;){m=-1;for(let e=0;e<i.length;e++){let t=i[e].proposal;t&&t.score>0&&(m<0||t.score>i[m].proposal.score)&&(m=e)}break}if(m<0)break;let c,f=i[m],h=f.proposal,u=h.lowIds,d=h.highIds;{let e=J(a[h.hi.selected]),t=J(a[h.lo.selected]);Object.assign(f.node,K(h.column.property,h.column.cuts[h.bin],e,t)),c=[{node:e,ids:d,hist:h.high,choice:h.hi,ownBits:h.hi.bits,depth:f.depth+1},{node:t,ids:u,hist:h.low,choice:h.lo,ownBits:h.lo.bits,depth:f.depth+1}]}if(e.leaves+1<o.leaves-n){let[e,t]=c[0].ids.length<=c[1].ids.length?c:[c[1],c[0]];f.handle&&(e.forSibling=!0),e.proposal=_r(r,e),f.handle&&e.handle&&(t.parent=f.handle,t.sibling=e.handle),t.proposal=_r(r,t),e.handle&&e.ids.length<256&&(l.release(e.handle),e.handle=null)}f.handle&&(l.release(f.handle),f.handle=null),i.splice(m,1,...c),e.leaves++}return e.done=!0,!0}function Rr({st:e,active:t,root:r,predictor:n,leaves:i,done:o}){for(let r of t)r.handle&&(e.store.release(r.handle),r.handle=null);return{root:r,predictor:n,leaves:i,done:o,clusters:e.clusters,epoch:e.epoch,active:t.map(({node:t,ids:r,hist:n,choice:i,ownBits:o,curStats:a,cluster:l,depth:s,proposal:m})=>({node:t,ids:r,hist:n,choice:i,ownBits:o,curStats:a,cluster:l,depth:s,proposal:m&&(({pairStats:t,...r})=>({...r,column:e.columns.indexOf(m.column)}))(m)}))}}function zr({st:e,active:t,root:r,predictor:n}){for(let r of t)r.handle&&e.store.release(r.handle);return t.forEach((e,t)=>{e.node.local=t}),function(e,t,r){let n=[e],i=!1;for(let e of n)e.left&&(i||=e.property>=16,n.push(e.left,e.right));if(!i)return e;let o=(e,t=1,r=1/0,n=1,i=1/0)=>{if(!e.left)return e;let a=e.splitval,l=e.property;if(2===l&&a<n||3===l&&a<t)return o(e.left,t,r,n,i);if(2===l&&a>=i||3===l&&a>=r)return o(e.right,t,r,n,i);let s=o(e.left,3===l?a+1:t,r,2===l?a+1:n,i),m=o(e.right,t,3===l?a:r,n,2===l?a:i);return s===e.left&&m===e.right?e:{...e,left:s,right:m}},a=Object.assign(J(t),{local:r}),l=Object.assign(J(t),{local:r+1});return K(2,0,K(3,0,o(e),a),l)}(r,n,t.length)}function Vr(e,t,r,{samples:n=Gf,bins:i=32,properties:o=Tf,predictors:a=Sf,references:l=[],referenceKinds:s=[0,1,2,3],least:m=4096}={},c){let f=t*r;if(f<m)return null;let{residuals:h,properties:u}=c,d=function(e,t){let r=Math.min(e,t),n=new Uint32Array(r);for(let t=0;t<r;t++){let i=Math.floor(t*e/r),o=Math.floor((t+1)*e/r),a=Math.imul(t+1,2654435761);a^=a>>>16,a=Math.imul(a,2246822507),a^=a>>>13,n[t]=i+(a>>>0)%(o-i)}return n}(f,n),p=[...o];for(let e=0;e<l.length;e++)for(let t of s)p.push(16+4*e+t);let{columns:g,symbolSets:M}=function(e,t,r,n,i,o,a,l,s){let m=n.length,c=i.length,f=o.length;qt(),Gt();let h=s.length,u=e=>e+15&-16,d=Math.min(m,65536),p=Xm+u(4*d)+u(4*c)+u(4*f)+u(c*d*4)+u(f*d),g=t*(2+2*h+8),M=t*(4+2*h)+16*(h+6),y=Math.min(r,Math.floor((Ym-p-M)/g));if(y<1)throw jm();let b=Array.from({length:c},(e,t)=>({property:i[t],values:new Int32Array(m)})),w=Array.from({length:f},()=>new Uint8Array(m)),L=u((2+y)*t*2)+u(h*(1+y)*t*2)+y*t*8+16;for(let p=0;p<m;p+=d){let g=Math.min(m,p+d),M=g-p,[,O,A]=ic(i=>(o,m,d,g,b,w)=>{for(let L=0;L<M;){let O=n[p+L]/t|0,A=Math.min(r,O+y),I=A*t,v=L+1;for(;v<M&&n[p+v]<I;)v++;let F=(A-O)*t,N=Math.min(O,2),x=Math.min(O,1),k=w+u((N+A-O)*t*2),E=(x+A-O)*t,C=k+u(h*E*2),B=C+4*F,U=i.memory.buffer;new Int16Array(U,w,(N+A-O)*t).set(e.subarray((O-N)*t,A*t)),s.forEach((e,r)=>new Int16Array(U,k+r*E*2,E).set(e.subarray((O-x)*t,A*t))),new Uint32Array(U,C,F).set(a.subarray(O*t,A*t)),new Int32Array(U,B,F).set(l.subarray(O*t,A*t)),i.treeSample(w+N*t*2,t,O,o,L,v,M,C,B,k+x*t*2,E,m,c,d,f,g,b),L=v}},[Bm(Uint32Array,n.subarray(p,g)),i,o,Um(Int32Array,c*M),Um(Uint8Array,f*M),Jm(L)],!0);for(let e=0;e<f;e++)w[e].set(A.subarray(e*M,(e+1)*M),p);for(let e=0;e<c;e++)b[e].values.set(O.subarray(e*M,(e+1)*M),p)}return{columns:b,symbolSets:w}}(e,t,r,d,Int32Array.from(p),Int32Array.from(a),h,u,l);return{quantized:g.map(({property:e,values:t})=>({property:e,...jr(t,i)})),symbolSets:M}}function Yr(e,t,r,{nodes:n=119,samples:i=Gf,bins:o=32,properties:a=Tf,predictors:l=Sf,references:s=[],referenceKinds:m=[0,1,2,3],least:c=4096,depth:f=24,charge:h=32,leafBits:u,histBase:d,histSym:p,clustered:g=!1,clusters:M=192}={},y=null){y||=Gr(e,t,r),n=Xf(n,t,r),a.includes(9)&&function(e,t,r){if(!(e instanceof Int32Array||e instanceof Uint32Array))return!1;for(let n=0,i=0;n<r;n++)for(let r=0;r<t;r++,i++){let o=r?e[i-1]:n?e[i-t]:0,a=o+(n?e[i-t]:o)-(r&&n?e[i-t-1]:o);if(a!==(0|a))return!0}return!1}(e,t,r)&&(a=a.filter(e=>9!==e));let b=function(e,t,r,n={},i){let{depth:o=24,predictors:a=Sf,clusters:l=192,charge:s=32,leafBits:m,histBase:c,histSym:f}=n,h=Vr(e,t,r,n,i),{leaves:u=60}=n;if(!h)return null;u=Math.min(u,255);let d=function(e,t,r,n,i){let o=Xr(e,t,r,n,i);return qr(o),zr(o)}(h.quantized,h.symbolSets,a,t*r,{leaves:u,depth:o,clustered:!1,clusters:l,charge:s,leafBits:m,histBase:c,histSym:f});return d.left?d:null}(e,t,r,{leaves:n+1>>1,depth:f,samples:i,bins:o,properties:a,predictors:l,references:s,referenceKinds:m,least:c,charge:h,leafBits:u,histBase:d,histSym:p,clustered:g,clusters:M},y),w=b&&Wr(b);return w&&{...w,...Zr(b,e,t,r,y.residuals,y.properties,s)}}function Wr(e){let t=[],r=new Map,n=e=>{if(e.left)return n(e.left),void n(e.right);r.has(e.local)||r.set(e.local,r.size),e.local=r.get(e.local),t.push(e)};return n(e),t.length>1?{tree:e,leaves:t,classes:r.size}:null}function Zr(e,t,r,n,i,o,a=[]){let l=[],s=e=>{l.push(e),e.left&&(s(e.left),s(e.right))};s(e);let m=new Map(l.map((e,t)=>[e,t])),c=new Int32Array(4*l.length);return l.forEach((e,t)=>c.set(e.left?[e.property,e.splitval,m.get(e.left),m.get(e.right)]:[-1,e.local,e.predictor,0],4*t)),function(e,t,r,n,i,o,a){let l=r*n,s=e=>e instanceof Int16Array||e.every(e=>e>=-32768&&e<=32767);(r<1||n<1||t.length<l||i.length<l||o.length<l||a.some(e=>e.length<l)||!s(t)||!a.every(s))&&Dm(),qt(),Gt();let m=a.length,c=Xm+(4*e.length+15&-16),f=r*(2+2*m+13),h=r*(4+2*m)+16*(m+6),u=Math.min(n,Math.floor((Ym-c-h)/f));if(u<1)throw jm();let d=new Int32Array(l),p=new Uint8Array(l);for(let l=0;l<n;l+=u){let s=Math.min(n,l+u),c=(s-l)*r,f=Math.min(l,2),h=Math.min(l,1),g=(h+s-l)*r,[,M,y]=ic(e=>(t,n,i,o,a,m,c)=>e.treeWalk(n+f*r*2,r,l,s-l,t,o,a,i+h*r*2,g,m,c),[Bm(Int32Array,e),Bm(Int16Array,t.subarray((l-f)*r,s*r)),Km(Int16Array,m*g,e=>a.forEach((t,n)=>e.set(t.subarray((l-h)*r,s*r),n*g))),Bm(Uint32Array,i.subarray(l*r,s*r)),Bm(Int32Array,o.subarray(l*r,s*r)),Um(Int32Array,c),Um(Uint8Array,c)],!0);d.set(M,l*r),p.set(y,l*r)}return{values:d,contexts:p}}(c,t,r,n,i,o,a)}function Qr(e,t,r){let n=2166136261,i=0;for(let t=0;t<e.length;t++)n=Math.imul(n^e[t],16777619),i=i+e[t]*(t+1)|0;return t+"x"+r+":"+(n>>>0)+":"+(i>>>0)}function $r(e,t,r,n=null,i=[],o=null){let a=n?n.leaves:[Object.assign(J(5),{local:0})],l=n?n.tree:a[0],{residuals:s,properties:m}=o||Gr(e,t,r),{values:c,contexts:f}=n?.values?n:Zr(l,e,t,r,s,m,i);return{kind:"smooth",tree:l,leaves:a,classes:n?.classes??a.length,width:t,height:r,stride:t,origin:0,plane:e,minimum:4,count:t*r,pieceValue:n?.values?Int32Array.from(c):c,pieceDistance:zf(t*r),pieceContext:f}}function en(e,t,r,n){if(t>Qf||t*r>$f){let i={residuals:new Uint32Array(t*r),properties:new Int32Array(t*r)};return n.map(()=>$r(e,t,r,null,[],i))}let i=Gr(e,t,r),o=Int32Array.from(i.properties).sort(),a=o.length;return n.map(n=>{let l=[];for(let e=1;e<(n||16);e++){let t=o[Math.floor(e*a/(n||16))];(!l.length||t>l[l.length-1])&&l.push(t)}l.length&&l[l.length-1]>=o[a-1]&&l.pop(),n||(l=function(e,t,r){let n=e.length+1,{hist:i,raw:o}=function(e,t,r){let n=t.length,i=e.length+1;(!(t instanceof Uint32Array)||!(r instanceof Int32Array)||r.length!==n||i>64)&&Dm(),qt(),Gt(),Xm+8*n+256+200*i>Ym&&Dm();let[,o,a]=ic(e=>e.cutHistogram,[t,r,n,Bm(Int32Array,e),e.length,Um(Uint32Array,48*i),Um(Float64Array,i)],!0);return{hist:Float64Array.from(o),raw:a.slice()}}(e,t,r),a=(e,t)=>{let r=0,n=t,i=0;for(let t=0;t<48;t++)r+=e[t];for(let t=0;t<48;t++)e[t]&&(n+=e[t]*Math.log2(r/e[t]),i++);return r?n+4*i+16:0},l=Array.from({length:n},(t,r)=>({h:i.slice(48*r,48*(r+1)),r:o[r],cut:r<e.length?e[r]:null}));for(;;){let e=0,t=-1;for(let r=0;r+1<l.length;r++){let n=l[r],i=l[r+1],o=n.h.map((e,t)=>e+i.h[t]),s=a(n.h,n.r)+a(i.h,i.r)-a(o,n.r+i.r);s>e&&(e=s,t=r)}if(t<0)break;let r=l[t],n=l[t+1];l.splice(t,2,{h:r.h.map((e,t)=>e+n.h[t]),r:r.r+n.r,cut:n.cut})}return l.slice(0,-1).map(e=>e.cut)}(l,i.residuals,i.properties));let s=[],m=(e,t)=>{if(e===t){let e=J(6);return e.local=s.length,s.push(e),e}let r=e+t>>1;return K(15,l[r],m(r+1,t),m(e,r))};return $r(e,t,r,{tree:m(0,l.length),leaves:s},[],i)})}function tn(e,t,r,n,i=[]){let o=eh(t,r),a=th(n,i,o),l=o??Gr(e,t,r);return $r(e,t,r,o&&a.predictors.length<3?null:Yr(e,t,r,a,l),i,l)}function rn(e){let t=lh.get(e);if(!t){let r=function(e){let t=new Map;for(let r=nh.length-2;r>=0;r-=2)t.set(Math.max(1,nh[r]+e*nh[r+1]),r/2);return t}(e),n=Math.max(...r.keys())+1,i=new Uint8Array(n),o=new Int16Array(n).fill(-1);for(let[e,t]of r)i[e]=t<2?1:t<12?3:t<32?5:7,o[e]=t;lh.size>64&&lh.clear(),lh.set(e,t=[i,o])}return t}function nn(e,t){let r=t.values.length;for(let t=0;t<ch;t++)e[t]&&r++;let n=new Int32Array(r),i=new Uint32Array(r),o=0;for(let t=0;t<ch;t++)e[t]&&(n[o]=t,i[o++]=e[t]);return n.set(t.values,o),i.set(t.counts,o),{values:n,counts:i}}function on(e,t,r){if(!e.length)return;let{values:n,counts:i,starts:o}=function(e,t){let r=e.length;(!(e instanceof Uint32Array)||r>1<<24||t<1||t>4096)&&Dm();let[,n,i,o]=ic(e=>e.keyCounts,[e,r,Jm(4*r),Jm(8192),Hm(Int32Array,r,e=>e),Hm(Uint32Array,r,e=>e),Um(Int32Array,t+1),t]);return{values:n,counts:i,starts:o}}(e,t.length);for(let e=0;e<t.length;e++)o[e+1]>o[e]&&(t[e][r]={values:n.subarray(o[e],o[e+1]),counts:i.subarray(o[e],o[e+1])})}function an(e,t){(function(){for(let e=0;e<dh;e++)hh[uh[e]]=0;dh=0})();let r=[0,0,0],n=0,i=0;for(let o=0;o<t.values.length;o++){let a=t.values[o],l=t.counts[o];k(e,a,r);let s=r[0];if(s>=fh)return dh=i,null;hh[s]||(uh[i++]=s),hh[s]+=l,n+=r[1]*l}return dh=i,[n,uh.subarray(0,i).sort()]}function ln(e,t){let r=an(e,t);if(!r)return 1/0;let i=new vo(16);return x(i,e,15),r[0]+i.bitLength+function(e,t){let r=t.length;if(!r)return 0;let i=t[r-1]+1;if(r<=4){let o=i<=1?0:4+r*(n(i-1)+1)+(4===r?1:0);if(r<2)return o;let a=[...t].sort((t,r)=>e[r]-e[t]||t-r),l=4===r&&e[a[0]]>e[a[2]]+e[a[3]],s=2===r?[1,1]:3===r?[1,2,2]:l?[1,2,3,3]:[2,2,2,2],m=o;for(let t=0;t<r;t++)m+=e[a[t]]*s[t];return m}jo.length<r&&(jo=new Uint32Array(Math.max(r,2*jo.length)));let o=jo;for(let n=0;n<r;n++)o[n]=e[t[n]];let a=O(o,r),l=0;for(let e=0;e<r;e++)l+=o[e]*a[e];let s=new Uint32Array(18),m=8,c=0,f=-1,h=(e,t)=>{let r=t;if(e&&e!==m&&(f<0&&(f=e),s[e]++,r--,m=e),r<3)return r&&f<0&&(f=e),void(s[e]+=r);let n=e?16:17,i=e?2:3;f<0&&(f=n);let o=0;for(let e=r-3;o++,e>>=i,e;e--);s[n]+=o,c+=o*(e?2:3)};for(let e=0,n=0;e<r;){if(n<t[e]){h(0,t[e]-n),n=t[e];continue}let i=e+1;for(;i<r&&t[i]===t[i-1]+1&&a[i]===a[e];)i++;h(a[e],i-e),n=t[i-1]+1,e=i}let[u,d]=I(s.slice(),f);l+=2+c;for(let e=0;e<d;e++)l+=Bo[u[Co[e]]];for(let e=0;e<18;e++)l+=s[e]*u[e];return l}(hh,r[1])}function sn(e,t,r=null,{transforms:n=[],global:i=!1,runs:o=!1}={}){var a,l;l=t,ih(a=e,{useGlobalTree:!1,transforms:n}),function(e,t,r,n=null,i=!1){let o,a,l,s=T(e,function(e,t,r){let n=(e,i)=>{if(e===i)return r(e);let o=e+i>>1;return K(0,t[o],n(o+1,i),n(e,o))};return n(0,t.length)}(0,(e=>Array.from({length:e},(e,t)=>t))(t.length-1),e=>t[e].tree),oh.treeContexts),m=0,c=[],f=0,h=0,u=0;for(let e of t){e.base=c.length,m+=e.count;let t=h,r=Xt(e,ch,e.base);o=bh(0,f,r.larges.length),a=bh(1,h,r.lengths.length),l=bh(2,h,r.lengths.length),o.set(r.larges,f),a.set(r.lengths,h),l.set(r.distances,h),f+=r.larges.length,h+=r.lengths.length;for(let t=0;t<e.classes;t++)c.push({small:r.counts.subarray(t*ch,(t+1)*ch),large:ph,lengths:ph,literals:r.literals[t],copies:r.copies[t],constant:e.constant});if(h>t){if(u&&u!==e.minimum)throw yo("JXL_INTERNAL","capture-modular-stream:minimum");u=e.minimum}}on(o.subarray(0,f),c,"large"),on(a.subarray(0,h),c,"lengths");let d={distances:ph};on(l.subarray(0,h),[d],"distances");let{values:p,counts:g}=d.distances,M=c.filter(e=>e.literals+e.copies),y=new Int32Array(c.length);for(let e=0,t=0;e<c.length;e++)y[e]=c[e].literals+c[e].copies?t++:0;let w=[0,0,0],L=t.some(e=>"index"===e.kind)&&t[0].width<=2048?224:512,O=M.map(e=>{let t=nn(e.small,e.large);if(!e.literals)return{config:sh[0],top:0};let r,n=0,i=!1;for(let e of t.values)e>n&&(n=e);let o=[];for(let e of sh)if(!(p.length&&(k(e,n,w),w[0]>=L))){if(e.splitToken>n){if(i)continue;i=!0}o.push(e)}let a=Pt(o,t);for(let e=0;e<o.length;e++){let t={config:o[e],bits:a[2*e],top:a[2*e+1]};(!r||t.bits<r.bits)&&(r=t)}return r}),I={config:ta.lengthConfig,bits:0};if(p.length){I=null;let e=new Float64Array(rh.length);for(let t of M)if(t.copies){let r=Pt(rh,t.lengths);for(let t=0;t<e.length;t++)e[t]+=r[2*t]}for(let t=0;t<e.length;t++)(!I||e[t]<I.bits)&&(I={config:rh[t],bits:e[t]})}let v,F=M.map((e,t)=>function(e){let t=[];for(let r=0;r<e.length;r++)e[r]&&t.push(r);let r=A(e,t);return r.codes=b(r.lengths),r}(function(e,t,r,n,i,o){let a=[0,0,0],l=(t,r,n,i)=>{k(t,r,a),e[i+Math.min(a[0],o)]+=n};for(let e=0;e<ch;e++)t.small[e]&&l(r,e,t.small[e],0);for(let e=0;e<t.large.values.length;e++)l(r,t.large.values[e],t.large.counts[e],0);for(let e=0;e<t.lengths.values.length;e++)l(n,t.lengths.values[e],t.lengths.counts[e],i);return e}(new Uint32Array(e.copies?L+1024:O[t].top+1),e,O[t].config,I.config,L,1/0))),N=null;p.length&&ah("distance",()=>{N=rn(Math.max(...t.map(e=>e.width)))[1];let e=N.length,r=new Int32Array(p.length),n=new Int32Array(p.length);for(let t=0;t<p.length;t++){let i=p[t];r[t]=i<e&&N[i]>=0?N[i]:i+119,n[t]=1===i?1:i+119}let i=[];for(let[e,t]of[[!0,{values:r,counts:g}],[!1,{values:n,counts:g}]]){let r=Pt(Mh,t,!0);for(let n=0;n<Mh.length;n++)i.push({config:Mh[n],kind:e,values:t,estimate:r[2*n]})}i.sort((e,t)=>e.estimate-t.estimate);for(let{config:e,kind:t,values:r}of i.slice(0,oh.prices)){let n=ln(e,r);(!v||n<v.bits)&&(v={bits:n,config:e,spatial:t,values:r})}v.code=function(e,t){return A(hh,an(e,t)[1])}(v.config,v.values),v.code.codes=b(v.code.lengths)});let x=v?1:0,E=new Uint8Array(s.length+x);if(M.length+x>256)throw yo("JXL_INTERNAL","capture-modular-stream:histograms");for(let e of t)for(let t of e.leaves)E[t.context]=y[e.base+t.local]+x;let C=v?{minSymbol:L,minLength:u,lengthConfig:I.config}:null,B=v?{lengthConfig:I.config,distanceConfig:v.config,code:v.code,minSymbol:L,spatial:v.spatial,sCodes:N}:null,U=new vo(1024);H(U,{lz77:C,contextMap:E,histograms:[...v?[{config:v.config,code:v.code}]:[],...F.map((e,t)=>({config:O[t].config,code:e}))]});let J=null;n&&ah("ans",()=>{let e=B&&{...B,distanceConfig:n.distanceConfig(v.values),lengthConfig:n.lengthConfig(M,256-L)};if(B&&(!e.distanceConfig||!e.lengthConfig))return;let r=!i,o=i||r?M.map((e,t)=>{if(!e.literals)return O[t].config;let n=nn(e.small,e.large),i=null,o=1/0,a=0,l=Math.min(B?L:1/0,r?256:1/0);if(l<1/0)for(let e of n.values)e>a&&(a=e);for(let e=0;e<mh.length;e+=64){let t=mh.slice(e,e+64),r=Pt(t,n);for(let e=0;e<t.length;e++)r[2*e]<o&&!(l<1/0&&(k(t[e],a,w),w[0]>=l))&&(o=r[2*e],i=t[e])}return i}):O.map(e=>e.config),a=n.tokens(t,y,o,e,F.length,m+h);if(!a)return;let l=new vo(1024),s=new vo(a.n+64),c=[...v?[e.distanceConfig]:[],...o];n.write(l,s,{lz77:C&&{...C,lengthConfig:e.lengthConfig},contextMap:E,configs:c},a)&&(J={header:l,data:s})});let D=null,S=null,G=null,j=()=>{if(null!==G)return G;let e=0;for(let t=0;t<M.length;t++){let r=M[t],n=F[t],i=O[t].config;for(let t=0;t<ch;t++)r.small[t]&&(k(i,t,w),e+=r.small[t]*(n.lengths[w[0]]+w[1]));for(let t=0;t<r.large.values.length;t++)k(i,r.large.values[t],w),e+=r.large.counts[t]*(n.lengths[w[0]]+w[1]);for(let t=0;t<r.lengths.values.length;t++)k(I.config,r.lengths.values[t],w),e+=r.lengths.counts[t]*(n.lengths[L+w[0]]+w[1])}if(v)for(let t=0,{values:r,counts:n}=v.values;t<r.length;t++)k(v.config,r[t],w),e+=n[t]*(v.code.lengths[w[0]]+w[1]);return G=e};J&&J.header.bitLength+J.data.bitLength>1*(U.bitLength+j())&&(J=null),e.append(J?J.header:U);let P=J?()=>e.append(J.data):()=>(e=>{if(!D){D=new Uint8Array(F.length<<9),S=new Uint32Array(F.length<<9);for(let e=0;e<F.length;e++){let t=F[e],r=O[e].config,n=e<<9,i=M[e].small;for(let e=0;e<512;e++){if(!i[e])continue;k(r,e,w);let o=w[0],a=t.lengths[o];o<t.lengths.length&&(D[n|e]=a+w[1],S[n|e]=t.codes[o]|w[2]<<a)}}}return function(e,t,r,n,i,o,a,l){let s=n.length,m=new Int32Array(s),c=0;for(let e=0;e<s;e++)m[e]=c,c+=n[e].lengths.length;let f=l?l.sCodes.length:0,h=l?l.code.lengths.length:0,u=1;for(let e of t)u=Math.max(u,e.count);ic(n=>(i,o,a,s,m,c,h,u,d,p,g,M,y,b,w,L,O)=>{let A=n.memory.buffer,I=new Int32Array(A),v=new Uint8Array(A);rc(A,i,e);for(let A of t){let t=A.count,F=A.classes;for(let e=0;e<F;e++)I[(o>>2)+e]=r[A.base+e];I.set(A.pieceValue.subarray(0,t),b>>2),I.set(A.pieceDistance.subarray(0,t),w>>2),v.set(A.pieceContext.subarray(0,t),L);for(let r=0;r<t;)r=n.captureTokens(b,w,L,r,t,o,h,u,a,d,p,s,m,c,g,M,l?l.minSymbol:0,l?.spatial?1:0,f,y,O,O+Wm,i),tc(e,v,O,I[3+(i>>2)]-O)}nc(A,i,e)},[Jm(16),Jm(1024),m,$m(i,s),l?Qm(l.lengthConfig):Jm(16),l?Qm(l.distanceConfig):Jm(16),Bm(Uint32Array,o,s<<9),Bm(Uint8Array,a,s<<9),Km(Uint16Array,c,e=>n.forEach((t,r)=>e.set(t.codes,m[r]))),Km(Uint8Array,c,e=>n.forEach((t,r)=>e.set(t.lengths,m[r]))),l?Bm(Uint16Array,l.code.codes,h):Jm(0),l?Bm(Uint8Array,l.code.lengths,h):Jm(0),f?Bm(Int16Array,l.sCodes,f):Jm(0),Jm(4*u),Jm(4*u),Jm(u),Jm(Wm+64)])}(e,t,y,F,O.map(e=>e.config),S,D,B)})(e);return P.bits=()=>J?J.data.bitLength:j(),P}(a,l,0,r,!0)()}function*mn(t,r){return xh(t)?yield*r:e(r)}function cn(e="fast"){if(!Jh.has(e)){let t="object"==typeof e?e:Ah[e];Jh.set(e,Object.freeze({dc:(e,r,n,i)=>Eh(e,r,t,n,!0,i),dcSteps:(e,r,n,i)=>kh(e,r,t,n,!0,i),metadataSteps:(e,r,n,i)=>kh(e,r,t,n,!1,i),metadata:(e,r,n,i)=>Eh(e,r,t,n,!1,i)}))}return Jh.get(e)}function*fn(e,t,r,n,i=Dh){let o=t.map(e=>Ih(e.data));if(o.includes(null)||t.some(e=>!e.w||!e.h))return void r(e);let a=[];for(let e=0;e<t.length;e++)a.push(yield*V("lf-trees",()=>en(o[e],t[e].w,t[e].h,Kh.map(t=>t[e]??t[2]))));let l=null;for(let e=0;e<Kh.length;e++){let t=yield*V("lf-stream",()=>{let t=new vo(256);return sn(t,Ta(a).map(t=>t[e]),i.ans?Uh:null),{bytes:t.bytes,at:t.at,pending:t.pending,acc:t.acc}},e=>({...e,bytes:e.bytes.slice(0,e.at+1)})),r=Object.assign(new vo(0),t);(!l||r.bitLength<l.bitLength)&&(l=r)}e.append(l)}function*hn(e,t,r,n){if(!t.length||t[0].w*t[0].h<256)return void r(e);let i=new vo(256);yield*fn(i,t,r,0,Th);let o=yield*V("lf-bound",()=>function(e){let t=Ia.dcEvents?.(e);if(!t)return null;let r=e=>{let t=0,r=0,n=0;for(let i of e)i&&(t+=i,r+=i*Math.log2(i),n+=i*i);return[t?t*Math.log2(t)-r:0,Math.sqrt(n)]},n=0,i=0,o=0;for(let e of t){let[t,a]=ir(e),[l]=r(t.freqs),[s,m]=r(a.freqs);n+=l+t.extra,i+=s+a.extra,o+=m}return Math.min(n,(i-Ph*o+Math.log2(1245184)+2*jh)/(1+jh/16))-1e-9*Math.max(n,i)-4}(t));if(null!=o&&i.bitLength<o)return void e.append(i);let a=Object.assign(new vo(0),yield*V("lf-plain",()=>{let e=new vo(256);return r(e),{...e,bytes:e.bytes.slice(0,e.at+1)}}));e.append(i.bitLength<a.bitLength?i:a)}function un(e){switch(e){case"plain-or-fixed":return Gh;case"quick-or-fixed":return qh;case"effort-7":return Vh;case"effort-8":return cn("fast");case"effort-9":return cn("broad");case"monotonic-8":return Yh;case"monotonic-9":return Wh;case null:case void 0:return;default:throw yo("JXL_INTERNAL","lf-coding:policy")}}function dn(e,t){if(!(31744&e)||!(31744&~e)||e>>15)return!1;let r=16*t/255,n=2**((e>>10&31)-25);return Math.abs((e=>(e>>15?-1:1)*2**((e>>10&31)-15)*(1+(1023&e)/1024))(e)-r)<=1.5*n}function pn(e,t){let r=t||b(e),n=0,i=0,o=0;for(let t=0;t<e.length;t++)e[t]&&(n++,i=t,o=Math.max(o,e[t]));if(Ze(n>0),1===n)return nu(i);let a=new Int32Array(1<<o).fill(-1),l=1<<o;for(let t=1;t<=o;t++)for(let n=0;n<e.length;n++)if(!(e[n]!==t||r[n]>=1<<t))for(let e=r[n];e<l;e+=1<<t)(a[e]<0||(31&a[e])===t)&&(a[e]=n<<5|t);if(o<=tu)return{table:a,bits:o};let s=l>>tu,m=[],c=1024,f=new Int32Array(c);for(let e=0;e<1024;e++){let t=a[e];if(t>=0&&(31&t)<=tu){f[e]=t;continue}let r=!1;for(let t=0;t<s;t++)a[e+(t<<tu)]>=0&&(r=!0);r?(f[e]=ru+c,m.push(e),c+=s):f[e]=-1}let h=new Int32Array(c);h.set(f);for(let e of m)for(let t=0;t<s;t++)h[f[e]-ru+t]=a[e+(t<<tu)];return{table:h,bits:o}}function gn(e,{table:t,bits:r}){let n=iu(t,e.peek(r),r);if(n<0)throw Ms();return e.skip(31&n),n>>5}function Mn(e,t){let r=e.read(i(t+1));Ze(r<=t);let n=r===t?0:e.read(i(r+1)),o=r===t?0:e.read(i(r-n+1));return Ze(n+o<=r),{split:r,msb:n,lsb:o}}function yn(e,t,{split:r,msb:n,lsb:i}){if(t<1<<r)return t;let o=((t-=1<<r)>>>n+i)+r-n-i;return Ze(o+n+i<=31),(((1<<n)+(t>>>i&(1<<n)-1))*(1<<o>>>0)+e.read(o))*(1<<i)+(t&(1<<i)-1)}function bn(e,t,r=0){Ze(t<=5e4&&r<3);let n=new Uint8Array(t);if(e.read(1)){let r=e.read(2);if(r)for(let i=0;i<t;i++)n[i]=e.read(r)}else{let i=e.read(1)?Uint8Array.from({length:256},(e,t)=>t):null,o=An(e,1,{depth:r+1,values:t,byteHistory:!0});for(let e=0;e<t;e++){let t=o.read(0);if(Ze(t<256),!i){n[e]=t;continue}let r=i[t];n[e]=r,i.copyWithin(1,0,t),i[0]=r}o.finish()}if(t){let e=0,t=0,r=new Uint8Array(256);for(let i of n)Ze(i<256),r[i]||(r[i]=1,t++),e=Math.max(e,i);Ze(t===e+1)}return n}function wn(e,t,{depth:r=0,byteHistory:n=!1,history:i=!1}={}){let o=e.read(1),a=o?e.u32([[0,224],[0,512],[0,4096],[15,8]]):0,l=o?e.u32([[0,3],[0,4],[2,5],[8,9]]):0,s=o?Mn(e,8):null,m=t+o===1?new Uint8Array(1):bn(e,t+o,r);return n&&Ze(m.subarray(0,t).every(e=>e===m[0])),{contexts:t,lz:o,minimum:a,minLength:l,lengthConfig:s,map:m,...Ln(e,1+Math.max(...m)),byteHistory:n||i}}function Ln(e,t){let r,n,o=e.read(1),a=o?15:e.read(2)+5,l=Array.from({length:t},()=>Mn(e,a));return o?r=l.map(()=>{return e.read(1)?(1<<(t=e.read(4)))+e.read(t)+1:1;var t}).map(t=>function(e,t){if(1===t)return nu(0);let r=new Uint8Array(t),n=e.read(2);if(1===n){let n=e.read(2)+1,o=Array.from({length:n},()=>e.read(i(t)));if(Ze(new Set(o).size===n&&o.every(e=>e<t)),1===n)return nu(o[0]);let a=2===n?[1,1]:3===n?[1,2,2]:e.read(1)?[1,2,3,3]:[2,2,2,2];o.forEach((e,t)=>{r[e]=a[t]})}else{let i=[1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15],o=pn([2,4,3,2,2,4],[0,7,3,2,1,15]),a=new Uint8Array(18),l=32;for(let t=n;t<i.length&&l;t++){let r=gn(e,o);a[i[t]]=r,r&&(l-=32>>>r)}Ze(0===l);let s=pn(a),m=0,c=8,f=0,h=-1;for(l=32768;l&&m<t;){let n=gn(e,s);if(n<16)r[m++]=n,n&&(c=n,l-=32768>>>n),f=0,h=-1;else{let i=16===n?c:0,o=16===n?2:3;i!==h&&(f=0);let a=f;f=(f?(f-2)*(1<<o):0)+e.read(o)+3,h=i;let s=f-a;Ze(s>=0&&m+s<=t),r.fill(i,m,m+s),m+=s,i&&(l-=s*(32768>>>i))}Ze(l>=0)}Ze(0===l)}return pn(r)}(e,t)):n=l.map(()=>{let t=function(e){if(e.read(1)){let t=e.read(1)+1,r=Array.from({length:t},()=>eu(e));Ze(1===t||r[0]!==r[1]);let n=new Uint16Array(Math.max(...r)+1);return n[r[0]]=1===t?4096:e.read(12),2===t&&(n[r[1]]=4096-n[r[0]]),n}if(e.read(1)){let t=eu(e)+1;Ze(t>=1&&t<=4096);let r=new Uint16Array(t),n=Math.floor(4096/t),i=4096%t;r.fill(n);for(let e=0;e<i;e++)r[e]++;return r}let t=0;for(;t<3&&e.read(1);)t++;let r=(e.read(t)|1<<t)-1;Ze(r<=13);let n=eu(e)+3,i=new Uint8Array(n),o=new Uint16Array(n);Ze(n<=256);let a=pn([...Mf,7],[...yf,65]),l=0;for(let t=0;t<n;t++){let r=gn(e,a);if(13===r){let r=eu(e)+4;Ze(t>0&&t+r<=n),i.fill(i[t-1],t,t+r),o[t-1]=r+1,t+=r-1}else i[t]=r,r>i[l]&&(l=t)}let s=new Uint16Array(n),m=0;for(let t=0;t<n;t++){if(t!==l&&i[t]){let n=i[t]-1,o=0===r||0===n?0:Math.max(0,Math.min(n,r-(12-n>>1)));s[t]=(1<<n)+(o?e.read(o)<<n-o:0)}let n=o[t]||1;Ze(t===l||t+n<=l||t>l),s.fill(s[t],t,t+n),m+=n*s[t],t+=n-1}return Ze(m<4096),s[l]=4096-m,s}(e),{starts:r,reverse:n}=Er(t,a),i=new Uint16Array(4096),o=new Uint16Array(4096);for(let e=0;e<t.length;e++)for(let a=0;a<t[e];a++){let t=n[r[e]+a];i[t]=e,o[t]=a}return{counts:t,symbols:i,offsets:o}}),{prefix:o,configs:l,decoders:r,aliases:n}}function On(e,t,r,n=0){Ze(Number.isSafeInteger(r)&&r>=0);let{contexts:i,lz:o,minimum:a,minLength:l,lengthConfig:s,map:m,prefix:c,configs:f,decoders:h,aliases:u,byteHistory:d}=e,p=r,g=null,M=0,y=0,b=1,w=d?new Uint8Array(1048576):o?new Int32Array(1048576):null,L=Int32Array.from(f,e=>1<<e.split),O=c&&h.map(e=>e.table),A=c&&Int32Array.from(h,e=>e.bits),I=e=>(w&&(Ze(!d||e<256),w[1048575&y++]=e),e),v=e=>{if(c){let r=iu(O[e],t.peek(A[e]),A[e]);if(r<0)throw Ms();return t.skip(31&r),r>>5}g??=t.read(32);let r=u[e],n=4095&g,i=r.symbols[n];return g=r.counts[i]*Math.floor(g/4096)+r.offsets[n],g<65536&&(g=65536*g+t.read(16)),i};return{read:(o||w?null:c?e=>{Ze(e>=0&&e<i&&p>0),p--;let r=m[e],n=t.bit,o=t.window(n>>>3),a=(n>>>3)-t.offset,l=iu(O[r],(o[a]|o[a+1]<<8|o[a+2]<<16|o[a+3]<<24)>>>(7&n),A[r]);if(l<0)throw Ms();Ze(n+(31&l)<=8*t.bytes.length),t.bit=n+(31&l);let s=l>>5;return s<L[r]?s:yn(t,s,f[r])}:e=>{Ze(e>=0&&e<i&&p>0),p--;let r=m[e];g??=t.read(32);let n=u[r],o=4095&g,a=n.symbols[o];return g=n.counts[a]*Math.floor(g/4096)+n.offsets[o],g<65536&&(g=65536*g+t.read(16)),a<L[r]?a:yn(t,a,f[r])})||(e=>{if(Ze(e>=0&&e<i&&p>0),p--,M)return M--,I(w[y-b&1048575]);let r=m[e],c=v(r);if(o&&c>=a){M=yn(t,c-a,s)+l-1,Ze(M<=p);let e=m[i],r=yn(t,v(e),f[e]);return Ze(y>0),b=Math.min(n&&r<120?Math.max(1,nh[2*r]+n*nh[2*r+1]):n?r-119:r+1,y,1048576),I(w[y-b&1048575])}return I(c<L[r]?c:yn(t,c,f[r]))}),finish(){Ze(!M&&(c||1245184===g||0===r)),g=null},checkpoint(){return{remaining:p,state:g,left:M,position:y,distance:b,history:w?.slice(0,Math.min(y,w.length))??null}},resume(e){({remaining:p,state:g,left:M,position:y,distance:b}=e),w&&(w.fill(0),w.set(e.history))}}}function An(e,t,r){return On(wn(e,t,r),e,r.values,r.multiplier)}function In(e){let t=e.bit,r=e.read(2),n=1===r?e.read(4)+1:2===r?e.read(8)+17:3===r?e.read(12):0;if(3===r)for(let t=12;e.read(1);t+=8)Ze(t<=28),n+=e.read(8)*(1<<t>>>0);return Ze(n>=132&&n<=4294967311&&n<=Math.max(65536,32*(8*e.bytes.length-t))),{start:t,size:n,model:wn(e,41,{history:!0}),bit:e.bit}}function vn(e,t,r,n,i,o){let a=new Uint8Array(Math.min(65536,r.size-n));for(let l=0,s=n;l<a.length;l++,s++){s&&s%65536==0&&Ze(s<=32*(e.bit-r.start));let n=t.read(s<=128?0:1+ou(i)+8*au(o));Ze(n<256),a[l]=n,o=i,i=n}return{bytes:a,previous:i,older:o,bit:e.bit}}function Fn(e){let t=e+2,r=new Int32Array(2*t),n=new Int32Array(2*t),i=new Int32Array(2*t),o=new Int32Array(2*t),a=new Int32Array(2*t),l=0,s=0,m=0,c=0,f=0,h=0,u=0,d=0,p=0;return{predict(g,M,y,b,w){m=g,l=1&M?0:t,s=1&M?t:0;let L=s+m,O=m<e-1?L+1:L,A=m?L-1:L,I=su(r[L]+r[O]+r[A],13),v=su(n[L]+n[O]+n[A],12),F=su(i[L]+i[O]+i[A],12),N=su(o[L]+o[O]+o[A],12),x=8*b,k=8*y,E=8*w,C=m?a[l+m-1]:0,B=a[L],U=a[A],H=a[O],J=B+C;p=C,Math.abs(B)>Math.abs(p)&&(p=B),Math.abs(U)>Math.abs(p)&&(p=U),Math.abs(H)>Math.abs(p)&&(p=H),c=k+E-x,f=x-(16*(J+H)>>5),h=k-(10*(J+U)>>5),u=x-(7*(U+B+H)>>5);let K=27-Math.clz32(I+v+F+N);I>>=K,v>>=K,F>>=K,N>>=K;let D=I+v+F+N;if(d=Math.floor(((D>>1)-1+c*I+f*v+h*F+u*N)*lu[D-1]/16777216),(B^C|B^U)<=0){let e=Math.min(k,E,x),t=Math.max(k,E,x);d=d<e?e:d>t?t:d}return d+3>>3},get most(){return p},update(e){let t=8*e,p=Math.abs(c-t)+3>>3,g=Math.abs(f-t)+3>>3,M=Math.abs(h-t)+3>>3,y=Math.abs(u-t)+3>>3;a[l+m]=d-t,r[l+m]=p,n[l+m]=g,i[l+m]=M,o[l+m]=y,r[s+m+1]+=p,n[s+m+1]+=g,i[s+m+1]+=M,o[s+m+1]+=y}}}function Nn(e,t){let r=An(e,6,{values:393216}),n=[{depth:0}],i=[];for(let e of n){Ze(n.length<=65536&&e.depth<=2048);let o=r.read(1);if(o)e.property=o-1,Ze(e.property>=0&&e.property<16+4*t),e.cut=Qh(r.read(0)),e.left={depth:e.depth+1},e.right={depth:e.depth+1},n.push(e.left,e.right);else{e.predictor=r.read(2),e.offset=Qh(r.read(3));let t=r.read(4),n=r.read(5);Ze(e.predictor<=13&&t<=31&&n<65536),e.multiplier=(n+1)*(t<31?1<<t:2147483648),e.ctx=i.length,i.push(e)}}return r.finish(),{root:n[0],leaves:i}}function xn(e,t,r,n,i){let o=!!e.read(1);Ze(!!e.read(1)&&0===e.u32([[0,0],[0,1],[4,2],[8,18]]));let a,l,s,m=t.reduce((e,[t,r])=>e+t*r,0),c=Math.max(1,...t.map(([e])=>e));o?(Ze(r),({root:a,leaves:l}=r.tree),s=On(r.model,e,m,c)):(({root:a,leaves:l}=Nn(e,t.length)),s=An(e,l.length,{multiplier:c,values:m}));let f=[],h=!1;for(let e=[a];e.length;){let t=e.pop();t.left?(15===t.property&&(h=!0),e.push(t.left,t.right)):6===t.predictor&&(h=!0)}for(let e=0;e<t.length;e++){let[r,o]=t[e],l=new Int32Array(r*o),m=h?Fn(r):null,c=[];for(let n=e-1;n>=0;n--)t[n][0]===r&&t[n][1]===o&&c.push(f[n]);for(let t=0,f=0;t<o;t++)for(let o=0;o<r;o++,f++){let h,u=o?l[f-1]:t?l[f-r]:0,d=t?l[f-r]:u,p=o&&t?l[f-r-1]:u,g=t&&o+1<r?l[f-r+1]:d,M=t>1?l[f-2*r]:d,y=o>1?l[f-2]:u,b=m?m.predict(o,t,u,d,g):0,w=a;for(;w.left;){if(--i.left<0)throw yo("JXL_LIMIT","modular work: exceeds limit");let a,s=w.property;if(s>=16){Ze(c.length>s-16>>2);let e=c[s-16>>2],n=s-16&3,i=e[f];if(n<2)a=n?i:Math.abs(i);else{let l=o?e[f-1]:0,s=t?e[f-r]:l,m=o&&t?e[f-r-1]:l,c=i-mu(l,s,m);a=2===n?Math.abs(c):c}}else switch(s){case 0:a=e;break;case 1:a=n;break;case 2:a=t;break;case 3:a=o;break;case 4:a=Math.abs(d);break;case 5:a=Math.abs(u);break;case 6:a=d;break;case 7:a=u;break;case 8:{if(!o){a=u;break}let e=o>1?l[f-2]:t?l[f-r-1]:0;a=u-(e+(t?l[f-r-1]:e)-(o>1&&t?l[f-r-2]:e));break}case 9:a=u+d-p;break;case 10:a=u-p;break;case 11:a=p-d;break;case 12:a=d-g;break;case 13:a=d-M;break;case 14:a=u-y;break;default:a=m.most}w=a>w.cut?w.left:w.right}switch(w.predictor){case 0:h=0;break;case 1:h=u;break;case 2:h=d;break;case 3:h=Math.trunc((u+d)/2);break;case 4:{let e=u+d-p;h=Math.abs(e-u)<Math.abs(e-d)?u:d;break}case 5:h=mu(u,d,p);break;case 6:h=b;break;case 7:h=g;break;case 8:h=p;break;case 9:h=y;break;case 10:h=Math.trunc((u+p)/2);break;case 11:h=Math.trunc((p+d)/2);break;case 12:h=Math.trunc((d+g)/2);break;default:{let e=t&&o+2<r?l[f-r+2]:g;h=Math.trunc((6*d-2*M+7*u+y+e+3*g+8)/16)}}let L=s.read(w.ctx),O=h+Qh(L)*w.multiplier+w.offset;Ze(Number.isSafeInteger(O)),l[f]=O,m?.update(l[f])}f.push(l)}return s.finish(),f}function kn(e,t,r=!1){if(!Number.isSafeInteger(t)||t<0||!Number.isInteger(e)||e<0||e>4294967295)throw yu("box: 4-byte type and safe length");let n=t+(r||t>4294967287?16:8);if(!Number.isSafeInteger(n))throw yu("box length: too large");let i=new Uint8Array(r||n>4294967295?16:8),o=new DataView(i.buffer);return o.setUint32(0,16===i.length?1:n),o.setUint32(4,e),16===i.length&&(o.setUint32(8,Math.floor(n/4294967296)),o.setUint32(12,n%4294967296)),i}function En(e=5){if(5!==e&&10!==e)throw yu("level: 5 or 10");let t=new Uint8Array(10===e?41:32),r=new DataView(t.buffer);return t.set(cu),r.setUint32(12,20),r.setUint32(16,fu),r.setUint32(20,hu),r.setUint32(28,hu),10===e&&(r.setUint32(32,9),r.setUint32(36,Mu),t[40]=10),t}function Cn(e){let t,r,n=-1,i=(i,o)=>{(!t||i<n||i+o>n+t.length)&&(n=i,t=e.subarray(i,Math.min(e.length,i+65536)),r=new DataView(t.buffer,t.byteOffset,t.byteLength))};return{u32(e){return i(e,4),r.getUint32(e-n)},u8(e){return i(e,1),t[e-n]}}}function Bn(e,t){if(!(e instanceof Uint8Array))throw yu("container: Uint8Array");if(!Number.isSafeInteger(t)||t<1)throw yu("maxBoxes: positive integer")}function Un(e,t,r,n){let i=r.at;if(r.count>=t)throw yu("boxes: over maxBoxes");if(e.length-i<8)throw yu("box header: incomplete");let o=n.u32(i),a=o,l=i+8,s=n.u32(i+4);if(1===a){if(e.length-i<16)throw yu("extended box header: incomplete");a=4294967296*n.u32(i+8)+n.u32(i+12),l+=8}else a||(a=e.length-i);if(!Number.isSafeInteger(a)||a<l-i||a>e.length-i)throw yu("box size");let m=i+a;if(r.first){if(s!==fu||m-l<12||(m-l)%4||n.u32(l)!==hu)throw yu("second box: jxl file type");if(n.u32(l+4)>1)throw yu("minorVersion: 0 or 1");let e=!1,t=r.brandAt??l+8,i=Math.min(m,t+65536);for(;t<i;t+=4)if(n.u32(t)===hu){e=!0;break}if(!e&&t<m)return r.brandAt=t,null;if(!e)throw yu("file type: jxl brand required");delete r.brandAt,r.minorVersion=n.u32(l+4),r.first=!1}else if(s===fu||1247300640===s)throw yu("file header: duplicate");if(s===Mu){if(1!==r.count||r.levelSeen||m-l!==1||5!==n.u8(l)&&10!==n.u8(l))throw yu("level box: 5 or 10 after file type");r.levelSeen=!0,r.level=n.u8(l)}let c,f,h=s;if(s===pu){if(m-l<4)throw yu("brob box: incomplete");if(h=n.u32(l),h===pu||h===gu||h>>>8==6977644)throw yu("Brotli box: not codestream/index/reconstruction/Brotli")}if(1786276969===h&&++r.indexBoxes>1||1785227117===h&&++r.gainBoxes>1)throw yu("duplicate jxli or jhgm");if(s===uu){if(r.complete||r.next)throw yu("codestream boxes: duplicate or mixed");r.complete=!0;for(let e=l;e<m&&r.stream<2;)if(n.u8(e++)!==(r.stream++?10:255))throw yu("logical codestream signature")}else if(s===du){if(r.complete&&!r.next||m-l<4)throw yu("jxlp box");let e=n.u32(l),t=2147483647&e,i=l+4;if(f=!!(2147483648&e),c=t,0===r.minorVersion){if(t!==r.next++)throw yu("fragment v0: duplicate or unordered");if(r.complete)throw yu(f?"final fragment: duplicate":"codestream: incomplete");r.complete=f;for(let e=i;e<m&&r.stream<2;)if(n.u8(e++)!==(r.stream++?10:255))throw yu("logical codestream signature")}else{if(r.prefixes.has(t))throw yu("fragment v0: duplicate or unordered");let e=Math.min(2,m-i),o=e<<16|(e?n.u8(i)<<8:0)|(e>1?n.u8(i+1):0);if(r.prefixes.set(t,o),r.next++,f){if(-1!==r.lastIndex)throw yu("final fragment: duplicate");r.lastIndex=t}if(r.highest=Math.max(r.highest??-1,t),-1!==r.lastIndex&&r.highest>r.lastIndex)throw yu("codestream: incomplete")}}return r.at=m,r.count++,{entry:{at:i,end:m,body:l,type:s,decoded:h},sequence:c,last:f,unbounded:0===o}}function Hn(e){if(1===e.minorVersion&&e.next){if(e.lastIndex!==e.next-1)throw yu("codestream: incomplete");for(let t=0;t<e.next;t++){if(!e.prefixes.has(t))throw yu("missing jxlp fragment");let r=e.prefixes.get(t);for(let t=0;t<r>>>16&&e.stream<2;t++)if((r>>>(t?0:8)&255)!=(e.stream++?10:255))throw yu("logical codestream signature")}e.complete=!0}if(e.first||!e.complete||e.stream<2)throw yu("codestream: incomplete")}function*Jn(e,t=65536){Bn(e,t);let r=wu(),n=Cn(e);for(;r.at<e.length;){let i=Un(e,t,r,n);i&&(yield i.entry)}Hn(r)}function Kn(e,t){if(e.entry.decoded===gu){if(t.reconstructionSeen)throw yu("duplicate jbrd");t.reconstructionSeen=!0}if(e.sequence>=bu)throw yu("boxes: over maxBoxes")}function*Dn(e,t=65536,r=!1){return yield*Ua("containerBoxes")(e,t,r,{admitBoxes:Bn,boxCursor:wu,boxWords:Cn,nextBox:Un,endBoxes:Hn,reconstructionBox:Kn})}function Tn(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}function Sn(e){if(!(e instanceof Uint8Array)||e.length<2)throw yu("input: Uint8Array");a(e.length);let t=e.subarray(0,Math.min(cu.length,e.length));if(255===t[0]&&10===t[1])return null;if(!cu.every((e,r)=>t[r]===e))throw yu("signature");return{reconstruction:null,exif:null,xml:null,exifCompressed:!1,xmlCompressed:!1,parts:[]}}function Gn(e,{entry:t,sequence:r},n){t.decoded===gu&&(e.reconstruction=n(t.body,t.end)),1165519206===t.decoded&&!e.exif&&(e.exifCompressed=t.type===pu,e.exif=n(t.body+(e.exifCompressed?4:0),t.end)),2020437024===t.decoded&&!e.xml&&(e.xmlCompressed=t.type===pu,e.xml=n(t.body+(e.xmlCompressed?4:0),t.end)),t.type===uu?e.parts.push(n(t.body,t.end)):t.type===du&&(e.parts[r]=n(t.body+4,t.end))}function jn(e,t){let{parts:r,...n}=e;return e.reconstruction?{...n,codestream:r.length>1?t(r):r[0]}:null}function Pn(e,t,r){return 0===e?63&t:1===e?t>>>2:3===e?8*Ju[t]+Ju[r]:(t<128?Uu[t]:(t>=192?2:0)+(1&t))|Hu[r]}function _n(e,t){if(!(e instanceof Uint8Array))throw Ku("bytes: Uint8Array");if(!t||"object"!=typeof t||Array.isArray(t))throw Ku("options: object");let r=t.maxOutputLength??Number.MAX_SAFE_INTEGER;if(!Number.isSafeInteger(r)||r<0)throw Ku("maxOutputLength: nonnegative integer");return r}function Xn(e,t){let r=0,n=t.length;for(;r+1<n;){let i=r+n>>1;e<t[i]?n=i:r=i}return r}function qn(e,t){return e.some(e=>e)||(e[0]=1),{...w(e),alphabetSize:t}}function Rn(e,t){for(let r=0;r<4;r++)if(e[r]===t)return r;for(let r=4;r<16;r++){let n=r<10?r-4:r-10;if(e[r<10?0:1]+(1&n?1:-1)*(1+(n>>1))===t)return r}return-1}function zn(e,t,r){let i=Rn(r,t);return 6*e-(0===i?5:i>0?10:10+n(t+3))}function Vn(e,t,r=!1,n=!1){let o=1<<Math.min(t,Math.max(16,i(e.length))),a=o-1,l=(1<<t)-16,s=new Int32Array(65536).fill(-1),m=new Int32Array(o).fill(-1),c=n?new Int32Array(32768).fill(-1):null,f=t=>Math.imul(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,506832829)>>>16,h=t=>Math.imul(e[t]|e[t+1]<<8|e[t+2]<<16,506832829)>>>17;return{history:[4,11,15,16],insert(t){if(t+3<e.length){let e=f(t);m[t&a]=s[e],s[e]=t}c&&t+2<e.length&&(c[h(t)]=t)},fill(t,r){let n=Math.min(r,e.length-3);for(let r=t;r<n;r++){let t=Math.imul(e[r]|e[r+1]<<8|e[r+2]<<16|e[r+3]<<24,506832829)>>>16;m[r&a]=s[t],s[t]=r}if(c)for(let n=t,i=Math.min(r,e.length-2);n<i;n++)c[Math.imul(e[n]|e[n+1]<<8|e[n+2]<<16,506832829)>>>17]=n},find(t,r,i){let o=r-t;if(o<(i?3:4))return{length:0,distance:0,score:0};let u=Math.max(0,t-l);if(!i){let r=s[f(t)],n=3,i=0,l=32;for(;r>=u&&l--;){if(e[r]===e[t]&&e[r+1]===e[t+1]&&e[r+2]===e[t+2]&&e[r+n]===e[t+n]){let a=3;for(;a<o&&e[r+a]===e[t+a];)a++;if(a>n&&(n=a,i=t-r,n===o))break}let l=m[r&a];if(l>=r)break;r=l}return{length:i?n:0,distance:i,score:6*n}}let d=0,p=0,g=3;for(let r=0;r<4;r++){let n=this.history[r];if(n>t-u)continue;let i=0;for(;i<o&&e[t-n+i]===e[t+i];)i++;if(i>=3){let e=6*i-(0===r?5:9);if(e>g&&(g=e,d=i,p=n,d===o))return{length:d,distance:p,score:g}}}if(d<4&&c){let r=c[h(t)];if(r>=u&&t-r<=256&&e[r]===e[t]&&e[r+1]===e[t+1]&&e[r+2]===e[t+2]){let e=t-r,n=zn(3,e,this.history);n>g&&(d=3,p=e,g=n)}}if(o>=4&&d<o){let r=s[f(t)],i=n?Math.max(3,d-2):Math.max(3,d),l=n?128:32;for(;r>=u&&l--;){if(e[r+i]===e[t+i]&&e[r]===e[t]&&e[r+1]===e[t+1]&&e[r+2]===e[t+2]){let a=3;for(;a<o&&e[r+a]===e[t+a];)a++;if(a>=4){let e=t-r,l=zn(a,e,this.history);if(l>g&&(g=l,d=a,p=e,i=n?Math.max(3,d-2):d,d===o))break}}let l=m[r&a];if(l>=r)break;r=l}}return{length:p?d:0,distance:p,score:g}}}}function Yn(e,t,r,n,i,o,a,l){for(;t<r;){let e=i.find(t,n,o);if(i.insert(t),e.length){if(a&&t+1<n&&e.length<32){let r=i.find(t+1,n,!0);if(r.length&&r.score>e.score+5){t++;continue}}l.push(t,e.length,e.distance),(!o||Rn(i.history,e.distance))&&(i.history.pop(),i.history.unshift(e.distance)),i.fill(t+1,t+e.length),t+=e.length}else t++}return t}function Wn(e,t,r,i,o,a,l=0,s=0){let m=[],c=new Uint32Array(256),f=new Uint32Array(704),h=16+s+(48<<l),u=new Uint32Array(h),d=t,p=0,g=(t,r,i)=>{let h=t-d,g=Xn(h,Nu),M=Xn(r||2,xu),y=Su[3*(g>>3)+(M>>3)]+((7&g)<<3)+(7&M),b={start:d,insert:h,count:r,insertCode:g,copyCode:M,code:y};for(let r=d;r<t;r++)c[e[r]]++;let w=r&&a?Rn(o,i):-1;if(0===w&&g<8&&M<16)b.code=(M>=8?64:0)+(g<<3)+(7&M),b.implicit=!0;else if(w>=0)b.distanceCode=w,b.distanceBits=0,b.distanceExtra=0,u[w]++;else if(r){let e=function(e,t,r){if(e<=r)return{code:15+e,bits:0,extra:0};let i=e-r-1,o=i&(1<<t)-1,a=(i>>>t)+4,l=n(a)-1,s=a>>>l&1;return{code:16+r+((l-1<<1|s)<<t|o),bits:l,extra:a-(2+s<<l)}}(i,l,s);b.distanceCode=e.code,b.distanceBits=e.bits,b.distanceExtra=e.extra,u[e.code]++}r&&0!==w&&(o.pop(),o.unshift(i)),r&&(p+=r),m.push(b),f[b.code]++};for(let e=0;e<i.length;e+=3)g(i[e],i[e+1],i[e+2]),d=i[e]+i[e+1];return d<r&&g(r,0,0),{commands:m,copied:p,postfix:l,direct:s,literalFrequencies:c,literal:qn(c,256),command:qn(f,704),distance:qn(u,h)}}function Zn(e,t,r,n,i,o){if(!o||n.length<24)return Wn(e,t,r,n,i.slice(),o,0,0);let a=null,l=1/0;for(let[s,m]of[[0,0],[0,4],[1,4],[2,3]]){let c=Wn(e,t,r,n,i.slice(),o,s,m<<s),f=0,h=0;for(let e of c.commands)f+=c.command.lengths[e.code]+Ou[e.insertCode]+Au[e.copyCode],e.count&&!e.implicit&&(f+=c.distance.lengths[e.distanceCode]+e.distanceBits);for(let e=0;e<c.distance.lengths.length;e++)c.distance.lengths[e]&&h++;f+=4*h,f<l&&(l=f,a=c)}return a}function Qn(e,t,r){e.write(1,0),e.write(2,0),e.write(16,t-1),e.write(1,r)}function $n(e,t){let r=0,n=0,i=0;for(let o=0;o<256;o++){let a=t?e[o]+t[o]:e[o];a&&(r+=a,n-=yc(a),i++)}return n+yc(r)+(i>1?16+5*i:8)}function ei(e,t,r,n){let o=Array.from({length:64},()=>new Uint32Array(256));for(let r of t)for(let t=r.start;t<r.start+r.insert;t++)o[Pn(n,t?e[t-1]:0,t>1?e[t-2]:0)][e[t]]++;let a,l=o.map((e,t)=>({freqs:e,contexts:[t],bits:$n(e)})).filter(e=>e.freqs.some(Boolean));if(l.length<2)return null;if(r)a=r.literalClusters(l);else{let e=l.length,t=new Float64Array(e*e),r=new Uint8Array(e).fill(1),n=(e,t)=>l[e].bits+l[t].bits-$n(l[e].freqs,l[t].freqs);for(let r=0;r<e;r++)for(let i=r+1;i<e;i++)t[r*e+i]=n(r,i);let i=e;for(;i>1;){let o=-1,a=-1,s=-1/0;for(let n=0;n<e;n++)if(r[n])for(let i=n+1;i<e;i++)r[i]&&t[n*e+i]>s&&(s=t[n*e+i],o=n,a=i);if(s<=0&&i<=256)break;let m=l[o],c=l[a];for(let e=0;e<256;e++)m.freqs[e]+=c.freqs[e];m.contexts.push(...c.contexts),m.bits=$n(m.freqs),r[a]=0,i--;for(let i=0;i<e;i++)r[i]&&i!==o&&(t[Math.min(i,o)*e+Math.max(i,o)]=n(Math.min(i,o),Math.max(i,o)))}a=l.filter((e,t)=>r[t])}let s=new Uint8Array(64);return a.forEach((e,t)=>{for(let r of e.contexts)s[r]=t}),{mode:n,map:s,bits:a.reduce((e,t)=>e+t.bits,0)+(a.length>1?64*Math.max(1,i(a.length)):0),trees:a.length}}function ti(e,t,r){let n=[],i=t;for(let t=0;t<e.length;t+=3)n.push({start:i,insert:e[t]-i}),i=e[t]+e[t+1];return i<r&&n.push({start:i,insert:r-i}),n}function ri(e,t,r,n,i,o,a=!0,l=null){let s=r-t,m=s>=8192&&n.copied<s>>5&&$n(n.literalFrequencies)>7.9*s;if(m&&!a)return{bytes:new Uint8Array(0),at:s+8,pending:0,acc:0};let c=m&&i?null:ni(e,t,r,n,{mode:0,map:new Uint8Array(64),trees:1,histograms:[n.literal]});if(!i)return c;let f=function(e,t,r,n,i=null){let o=new Uint32Array(256);for(let r of t)for(let t=r.start;t<r.start+r.insert;t++)o[e[t]]++;let a={mode:0,map:new Uint8Array(64),bits:$n(o),trees:1};for(let o of n){let n=i?i[o]:ei(e,t,r,o);n&&n.bits<a.bits&&(a=n)}if(1===a.trees)return{...a,histograms:[o]};let{mode:l,map:s,trees:m}=a,c=Array.from({length:m},()=>new Uint32Array(256));for(let r of t)for(let t=r.start;t<r.start+r.insert;t++)c[s[Pn(l,t?e[t-1]:0,t>1?e[t-2]:0)]][e[t]]++;return{...a,histograms:c}}(e,n.commands,o,m?[3]:[0,1,2,3],l);if(1===f.trees)return c||ni(e,t,r,n,{mode:0,map:new Uint8Array(64),trees:1,histograms:[n.literal]});let h=ni(e,t,r,n,f);return c&&c.bitLength<=h.bitLength?c:h}function ni(e,t,r,i,o){let a=new vo,l=o.histograms.map(e=>e.lengths?e:qn(Uint32Array.from(e),256));Qn(a,r-t,0),a.write(3,0),a.write(2,i.postfix),a.write(4,i.direct>>i.postfix),a.write(2,o.mode),function(e,t,r){if(function(e,t){if(!t)return void e.write(1,0);let r=n(t);e.write(1,1),e.write(3,r),e.write(r,t-(1<<r))}(e,r-1),r<=1)return;let i=new vo(64),o=new Uint32Array(r);for(let e of t)o[e]++;let a=qn(o,r);i.write(1,0),F(i,a);for(let e of t)Gu(i,a,e);i.write(1,0);let l=new Uint8Array(t.length),s=Uint8Array.from({length:r},(e,t)=>t);for(let e=0;e<t.length;e++){let r=t[e],n=0;for(;s[n]!==r;)n++;l[e]=n,n&&(s.copyWithin(1,0,n),s[0]=r)}let m=0,c=[];for(let e=0;e<l.length;){if(0!==l[e]){c.push({sym:l[e],extraBits:0,extra:0,nonZero:!0}),e++;continue}let t=0;for(;e+t<l.length&&0===l[e+t];)t++;for(e+=t;t>=2;){let e=Math.min(16,n(t)),r=t-(1<<e);r<1<<e?(e>m&&(m=e),c.push({sym:e,extraBits:e,extra:r,nonZero:!1}),t=0):(m=16,c.push({sym:16,extraBits:16,extra:65535,nonZero:!1}),t-=131071)}1===t&&c.push({sym:0,extraBits:0,extra:0,nonZero:!1})}let f=new vo(64),h=r+m,u=new Uint32Array(h);for(let e of c)u[e.nonZero?e.sym+m:e.sym]++;let d=qn(u,h);m>0?(f.write(1,1),f.write(4,m-1)):f.write(1,0),F(f,d);for(let e of c)Gu(f,d,e.nonZero?e.sym+m:e.sym),e.extraBits&&f.write(e.extraBits,e.extra);f.write(1,1),e.append(f.bitLength<i.bitLength?f:i)}(a,o.map,o.trees),a.write(1,0);for(let e of[...l,i.command,i.distance])F(a,e);for(let t of i.commands){Gu(a,i.command,t.code),a.write(Ou[t.insertCode],t.insert-Nu[t.insertCode]),a.write(Au[t.copyCode],(t.count||2)-xu[t.copyCode]);for(let r=t.start;r<t.start+t.insert;r++)Gu(a,l[o.trees>1?o.map[Pn(o.mode,r?e[r-1]:0,r>1?e[r-2]:0)]:0],e[r]);t.count&&!t.implicit&&(Gu(a,i.distance,t.distanceCode),a.write(t.distanceBits,t.distanceExtra))}return a}function*ii(e,t={},r=Pu){let n=_n(e,t),o=!!t.literalContexts,a=o&&!1!==t.thorough,l=t.contextLimit?Math.min(e.length,t.contextLimit):e.length,s=o?Math.min(24,Math.max(16,i(l+16))):16,m=1<<Math.min(s,Math.max(16,i(e.length))),c=e.length?Vn(e,s,o,a):null,f=0,h=[];if(t.cuts?.length){let r=[0,...t.cuts,e.length];for(let e=0;e+1<r.length;e++)for(let t=r[e];t<r[e+1];t+=65536)h.push([t,Math.min(r[e+1],t+65536)])}else for(let t=0;t<e.length;t+=65536)h.push([t,Math.min(e.length,t+65536)]);let u=[],d=16===s?1:17===s?7:4;for(let[i,l]of h){let h,p=c.history.slice(),g=[],M=o&&(!t.contextLimit||i<t.contextLimit),y=i,b=p;for(let t=i+16384;y<l;t+=16384)({at:y,found:h,history:b}=yield*r("brotli-matches",()=>{let r=ju(e,Math.max(0,y-m),l);(f!==y||r!==e)&&(c=Vn(r,s,o,a),c.fill(Math.max(0,y-m),y)),c.history=b.slice();let n=[],i=Yn(0,y,Math.min(l,t),l,c,M,a&&M,n);return f=i,{at:i,found:Int32Array.from(n),history:c.history.slice()}})),g.push(h);let w=()=>{let e=[];for(let t of Ta(g))for(let r of t)e.push(r);return e},L=null;if(M){L=[];for(let n of[[0,1],[2,3]])L.push(...yield*r("brotli-modes",()=>{let r=ti(w(),i,l),o=ju(e,Math.max(0,i-m),l);return n.map(e=>ei(o,r,t.kernels,e))}))}let O=yield*r("brotli-block",()=>{let r=ju(e,Math.max(0,i-m),l),n=w(),o=a&&M?Zn(r,i,l,n,p,!0):Wn(r,i,l,n,p.slice(),M,0,0),s=ri(r,i,l,o,M,t.kernels,a&&M,L);return{bytes:s.bytes.subarray(0,s.at),at:s.at,pending:s.pending,acc:s.acc,history:b.slice()}}),A=20+(8-(d+20)%8)%8+8*(l-i),I=8*O.at+O.pending,v=Math.min(A,I);if(Math.ceil((d+v+2)/8)>n)throw Tu();I<A?(u.push(O),c.history=O.history.slice()):(c.history=p,u.push({start:i,end:l})),d+=v}if(Math.ceil((d+2)/8)>n)throw Tu();let p=new vo;var g;g=p,16===s?g.write(1,0):17===s?(g.write(1,1),g.write(3,0),g.write(3,0)):(g.write(1,1),g.write(3,s-17));let M=p.pending,y=p.acc,b=[];for(let t of u){let n=yield*r("brotli-join",()=>{let r=new vo(65552);return r.pending=M,r.acc=y,t.bytes?r.append(t):(Qn(r,t.end-t.start,1),r.zeroPadToByte(),r.append({bytes:e.subarray(t.start,t.end),at:t.end-t.start,pending:0,acc:0})),{bytes:r.bytes.subarray(0,r.at),pending:r.pending,acc:r.acc}});b.push(n.bytes),M=n.pending,y=n.acc}b.push(yield*r("brotli-final",()=>{let e=new vo(8);return e.pending=M,e.acc=y,e.write(2,3),e.finish()}));let w=(e=>Ha()?Ba(e):(e=>{let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t})(e))(b);if(w.length>n)throw Tu();return w}function oi(e,t){let r=t??b(e),n=Array(16).fill(null),i=0,o=0,a=0,l=0;for(let t=0;t<e.length;t++)if(e[t]){let s=e[t];Du(s<=15),(n[s]??=new Map).set(r[t],t),a=Math.max(a,s),l+=32768>>s,i++,o=t}return Du(i>0&&(1===i||32768===l),"prefix lengths"),{levels:n,maximum:a,only:1===i?o:-1}}function ai(e,t){if(e.only>=0)return e.only;let r=0;for(let n=1;n<=e.maximum;n++){r|=t.read(1)<<n-1;let i=e.levels[n]?.get(r);if(void 0!==i)return i}throw Ku("prefix symbol")}function li(e){let t=e.reduce((e,t)=>e+t.length,0);a(t);let r=new Uint8Array(t),n=0;for(let t of e)r.set(t,n),n+=t.length;return r}function si(e){let t=!e.ycbcr&&(Math.min(...e.components.map(e=>e.h))>1||Math.min(...e.components.map(e=>e.v))>1);if(t&&e.progressive)throw ge("progressive shared sampling factors cannot be reconstructed");return{at:2,phase:"marker",sharedSampling:t,quant:[],events:0,markers:0,huffman:0,scans:0,restart:0,hasRestart:!1,ended:!1}}function mi(e,t,r){let n={...r,quant:r.quant.slice()},i={markers:[],apps:[],comments:[],huffman:[],scans:[],inter:[]},o=e=>{Ze(n.markers++<16384),i.markers.push(e)},a=e=>{for(let t=0;t<e.length;t+=65535)o(255),i.inter.push(Q(e,t,t+65535))};if("scan-fill"===n.phase){let e=Math.min(65535,n.fill-n.filled),t=new Uint8Array(e);for(let r=1&n.filled;r<e;r+=2)t[r]=255;return a(t),n.filled+=e,n.filled===n.fill&&(void 0!==n.finalRestart&&o(n.finalRestart),n.phase="marker"),{state:n,data:i}}let l=n.at,s=l,m=Math.min(e.length,l+65536),c=e.subarray(s,Math.min(e.length,m+65540)),f=e=>c[e-s];if("entropy"===n.phase||"entropy-code"===n.phase){for(;l<m;){if("entropy"===n.phase){for(;l<m&&255!==f(l);)l++;if(l===m)break;l++,n.phase="entropy-code"}if(l===m)break;if(!(0===f(l)||f(l)>=208&&f(l)<=215)){l--,n.phase="scan-fill";break}l++,n.phase="entropy"}return l===e.length&&(n.phase="scan-fill"),n.at=l,{state:n,data:i}}if(l>=e.length)throw ge("JPEG reconstruction requires an end marker");for("marker"===n.phase&&(n.start=l,n.phase="marker-code");l<m&&255===f(l);)l++,l-n.start>65535&&(a(Q(e,n.start,n.start+65535)),n.start+=65535);if(l===m)return n.at=l,{state:n,data:i};{Ze(n.markers<16384),l-n.start>1&&a(Q(e,n.start,l-1));let r=f(l++),m=l-2;if(n.phase="marker",217===r)return o(r),i.tail=Q(e,l),n.ended=!0,n.at=l,{state:n,data:i};if(1===r)return a(Q(e,m,l)),n.at=l,{state:n,data:i};if(l+2>e.length)throw ge("truncated");let h=256*f(l)+f(l+1),u=l+2,d=l+h;if(!(h>=2)||d>e.length)throw ge("bad segment");let p=!0;if(219===r){let e=[];for(let t=u;t<d;){let r=f(t)>>4,n=15&f(t++),i=new Int32Array(64);for(let e of Va)i[e]=r?256*f(t++)+f(t++):f(t++);e.push({precision:r,index:n,last:t===d,values:i})}p=n.quant.length+e.length<=3&&e.every(e=>t.components.some(t=>t.tq===e.index&&$u(t.quant,e.values)))&&e.every(e=>!n.quant.some(t=>t.index===e.index)),p&&n.quant.push(...e)}else if(196===r){u===d&&(p=!1);for(let e=u;e<d;){Ze(n.huffman++<89);let t=f(e++),r=[0,...c.subarray(e-s,e+16-s)];e+=16;let o=r.reduce((e,t)=>e+t,0),a=[...c.subarray(e-s,e+o-s),256];e+=o,Ze(o>0);let l=16;for(;!r[l];)l--;r[l]++,Ze(r[l]<=255),Ze(new Set(a).size===a.length&&(16&t||a.every(e=>e<12||256===e))),i.huffman.push({slot:t,counts:r,symbols:a,last:e===d})}}else if(218===r){let e=f(u),r=[];if(n.sharedSampling&&1!==e)throw ge("interleaved shared sampling factors cannot be reconstructed");for(let n=u+1,i=0;i<e;i++,n+=2)r.push({index:t.components.findIndex(e=>e.id===f(n)),dc:f(n+1)>>4,ac:15&f(n+1)});let o=u+1+2*e,a=t.scanChoices[n.scans++];if(Ze(o+3===d&&a.resets.length<=65555&&a.zeros.length<=65555),n.events+=a.resets.length+a.zeros.length,n.events>Qu)throw ge(`more than ${Qu} scan events cannot be reconstructed`);i.scans.push({components:r,ss:f(o),se:f(o+1),al:15&f(o+2),ah:f(o+2)>>4,index:n.scans-1,resets:a.resets.length,zeros:a.zeros.length}),n.phase="entropy",n.fill=2*(a.fill||0),n.filled=0,n.finalRestart=a.finalRestart}else if(r>=224&&r<=239)i.apps.push(Q(e,m+1,d));else if(254===r)i.comments.push(Q(e,m+1,d));else if(221===r){let e=256*f(u)+f(u+1);if(n.hasRestart&&e!==n.restart)throw ge("changing restart intervals cannot be reconstructed");n.restart=e,n.hasRestart=!0}else(![192,193,194].includes(r)||n.sharedSampling)&&(p=!1);p?o(r):a(Q(e,m,d)),n.at=d}return{state:n,data:i}}function ci(e){return{markers:[],apps:[],comments:[],huffman:[],scans:[],inter:[],tail:new Uint8Array(0),components:e.components.map(e=>({id:e.id,quant:-1}))}}function fi(e,t,r){let n=e.scanChoices[t][r?"zeros":"resets"];if(!r)return Uint32Array.from(n);let i=new Uint32Array(2*n.length);for(let e=0;e<n.length;e++)i[2*e]=n[e].block,i[2*e+1]=n[e].count;return i}function hi(e,t,r){for(let r of["markers","apps","comments","huffman","inter"])e[r].push(...t.data[r]);e.scans.push(...r),t.data.tail&&(e.tail=t.data.tail)}function ui(e,t,r){e.quant=t.quant,e.restart=t.restart;for(let t=0;t<r.components.length;t++){let n=r.components[t],i=e.quant.findIndex(e=>e.index===n.tq&&$u(e.values,n.quant));i<0&&(i=e.quant.length,e.quant.push({precision:n.quant.some(e=>e>255)?1:0,index:n.tq,values:n.quant,last:!0})),e.components[t].quant=i}return r.padding&&(e.padding=Q(r.padding),Ze(e.padding.length<16777216)),Ze(e.markers.length<=16384&&e.quant.length<=3&&e.huffman.length<=89&&e.tail.length<=4260096),e}function*di(e){let t=[];for(let r=0;r<e.length;r+=65536)t.push(yield*V("brotli-stored",()=>{let t=e.subarray(r,r+65536),n=new vo(t.length+8);return r||n.write(1,0),n.write(1,0),n.write(2,0),n.write(16,t.length-1),n.write(1,1),n.zeroPadToByte(),n.append({bytes:t,at:t.length,pending:0,acc:0}),n.finish()}));return t.push(Uint8Array.of(e.length?3:6)),Ha()?Ba(t):li(t)}function pi(e,t,r={curStart:0,curOff:0,lastKind:-1}){let n={...r},i=[],o=e=>225===e[0]&&e.length>9&&69===e[3]&&120===e[4]?1:225===e[0]&&e.length>32&&104===e[3]&&116===e[4]&&97===e[25]?2:225===e[0]&&e.length>35&&104===e[3]&&116===e[4]?3:235===e[0]?4:0,a=t?Z(e.map(e=>()=>e.subarray(0,Math.min(36,e.length)))):null;for(let r=0;r<e.length;r++){let l=e[r];if(t){let e=o(a[r]);-1!==n.lastKind&&e!==n.lastKind&&n.curOff-n.curStart>=1024&&l.length>=512&&(i.push(n.curOff),n.curStart=n.curOff),l.length>=1024&&(n.lastKind=e)}n.curOff+=l.length}return{state:n,cuts:i}}function gi(e,t){let r={...t},n=[],i=r.at,o=Math.min(e.length,i+65536),a=e.subarray(i,Math.min(e.length,o+4)),l=e=>a[e-i],s=(t,i)=>{let o=217===i?t+2:t;t-r.sosEnd>=1024&&(n.push(r.sosEnd),o<e.length&&n.push(o)),r.at=o,r.phase=217===i?"search":"marker"};for(;r.at<o;){if("search"===r.phase){let t=r.at;if(t+4>=e.length){r.done=!0;break}if(255!==l(t)||216!==l(t+1)||255!==l(t+2)||l(t+3)<192||l(t+3)>254){r.at++;continue}r.at+=2,r.phase="marker"}if("marker"===r.phase){if(r.at+4>e.length||255!==l(r.at)){r.phase="search";continue}r.phase="code"}if("code"===r.phase){for(;r.at<o&&255===l(r.at);)r.at++;if(r.at>=o)break;let t=l(r.at++);if(r.phase="marker",217===t){r.at++,r.phase="search";continue}if(216===t||t>=208&&t<=215||1===t)continue;let n=256*l(r.at)+l(r.at+1);if(r.at+2>e.length||!(n>=2)||r.at+n>e.length){r.phase="search";continue}r.at+=n,218===t&&(r.sosEnd=r.at,r.phase="entropy");continue}if("entropy"===r.phase){for(;r.at<o&&255!==l(r.at);)r.at++;if(r.at>=o)break;r.at++,r.phase="entropy-code"}if("entropy-code"===r.phase){if(r.at>=o)break;let e=l(r.at);if(0===e||e>=208&&e<=215){r.at++,r.phase="entropy";continue}if(s(r.at-1,e),r.at<i)break}}return r.at>=e.length&&(("entropy"===r.phase||"entropy-code"===r.phase)&&s(r.at),r.done=!0),{state:r,cuts:n}}function*Mi(e){let t=1===e.components.length;yield["jpeg-syntax-start",1,1,e=>e.write(1,t?1:0)],yield["jpeg-syntax-markers",e.markers.length,1024,(t,r,n)=>{for(let i=r;i<n;i++)t.write(6,e.markers[i]-192)}];for(let t of["apps","comments"])yield["jpeg-syntax-lengths",e[t].length,1024,(r,n,i)=>{for(let o=n;o<i;o++)"apps"===t&&r.write(2,0),r.write(16,e[t][o].length-1)}];yield["jpeg-syntax-tables",1,1,r=>{r.writeU32(qu,e.quant.length);for(let t of e.quant)r.write(1,t.precision),r.write(2,t.index),r.write(1,t.last?1:0);let n=e.components.map(e=>e.id),i=t&&1===n[0]?0:$u(n,[1,2,3])?1:$u(n,[82,71,66])?2:3;if(r.write(2,i),3===i){r.writeU32(qu,n.length);for(let e of n)r.write(8,e)}for(let t of e.components)r.write(2,t.quant);r.writeU32(Wu,e.huffman.length);for(let t of e.huffman){r.write(1,t.slot>>4),r.write(2,15&t.slot),r.write(1,t.last?1:0);for(let e of t.counts)r.writeU32(Ru,e);for(let e of t.symbols)r.writeU32(zu,e)}}],yield["jpeg-syntax-scans",e.scans.length,256,(t,r,n)=>{for(let i=r;i<n;i++){let r=e.scans[i];t.writeU32(qu,r.components.length),t.write(6,r.ss),t.write(6,r.se),t.write(4,r.al),t.write(4,r.ah);for(let e of r.components)t.write(2,e.index),t.write(2,e.ac),t.write(2,e.dc);t.write(2,0)}}],yield["jpeg-syntax-restart",1,1,t=>{e.markers.includes(221)&&t.write(16,e.restart)}];for(let t of e.scans)for(let e of["resets","zeros"]){let r=t[e],n="zeros"===e?2:1;yield["jpeg-syntax-events",Math.max(1,r.length),8192*n,(e,t,i)=>{t||e.writeU32(Vu,r.length/n);let o=t?r[t-n]:-1;for(let a=t;a<Math.min(r.length,i);a+=n){let t=r[a];2===n&&e.writeU32([[0,1],[2,2],[4,5],[8,20]],r[a+1]),e.writeU32(Yu,t-o-1),o=t}}]}yield["jpeg-syntax-inter",e.inter.length,1024,(t,r,n)=>{for(let i=r;i<n;i++)t.write(16,e.inter[i].length)}],yield["jpeg-syntax-tail",1,1,t=>{t.writeU32(Zu,e.tail.length),t.write(1,e.padding?1:0),e.padding&&t.write(24,e.padding.length)}],e.padding&&(yield["jpeg-syntax-padding",e.padding.length,65536,(t,r,n)=>{for(let i of e.padding.subarray(r,n))t.write(1,i)}]),yield["jpeg-syntax-end",1,1,e=>e.zeroPadToByte()]}function yi(e,t,r,n,i){let o={...n},{icc:a,exif:l,xml:s}=r,m=new Uint8Array(e.length);if(m[1]=e.length-1>>8,m[2]=e.length-1&255,e.type)if(1===e.type){let t=e.length-17;Ze(t>=0&&a&&o.icc+t<=a.length),m[0]=226,m.set(od,3),m[15]=++o.sequence,m[16]=i,m.set(a.subarray(o.icc,o.icc+=t),17)}else 2===e.type?(Ze(!o.exif&&l&&l.length>=4&&!(l[0]|l[1]|l[2]|l[3])&&e.length===l.length+5),m[0]=225,m.set(id,3),m.set(l.subarray(4),9),o.exif=!0):(Ze(!o.xml&&s&&e.length===s.length+32),m[0]=225,m.set(ad,3),m.set(s.subarray(0),32),o.xml=!0);else m.set(t.subarray(o.raw,o.raw+=e.length)),Ze(256*m[1]+m[2]+1===m.length);return{bytes:m,state:o}}function*bi(e,t,r,n){let i=yield*V("jpeg-event-count",()=>{let r=new ys(e);return r.bit=t,{count:r.u32(Vu),bit:r.bit}}),o=[],a=-1;t=i.bit;for(let l=0;l<i.count;l+=8192){let s=yield*V("jpeg-events",()=>{let o=new ys(e);o.bit=t;let s=Math.min(8192,i.count-l),m=new Uint32Array(s*(r?2:1)),c=a;for(let e=0;e<s;e++){if(l+e>=n)throw yo("JXL_RECONSTRUCTION",`reconstruction scans: max ${Qu}`);let t=r?o.u32([[0,1],[2,2],[4,5],[8,20]]):0;c+=1+o.u32(Yu),Ze(c<201326592&&t<=4),m[e*(r?2:1)]=c,r&&(m[2*e+1]=t)}return{values:m,last:c,bit:o.bit}});o.push(s.values),a=s.last,t=s.bit}return{values:yield*V("jpeg-event-list",()=>{let e=new Uint32Array(i.count*(r?2:1)),t=0;for(let r of o)e.set(r,t),t+=r.length;return e}),bit:t,count:i.count}}function wi(e){if(e>4294967295)throw ge("data after the JPEG past the 4 GiB its box can state")}function Li(e,t,r,n,i=null){wi(r);let o=n.reduce((e,t)=>e+t.length,0),l=new Uint8Array(22);l.set(fd),l[16]=1,l[17]=t,new DataView(l.buffer).setUint32(18,r);let s=i?[e,kn(sd,i.length),i]:[e];return s.push(kn(cd,22+o),l,...n),a(s.reduce((e,t)=>e+t.length,0)),Ha()?Ba(s):li(s)}function*Oi(e){try{let t=yield*ii(e,{literalContexts:!1,kernels:Ia.entropy?.()},V);if(t.length<e.length)return t}catch(e){if("JXL_SIZE"!==e.code&&"JXL_INPUT"!==e.code)throw e}return yield*di(e)}function Ai(e){for(let{marker:t,body:r,end:n}of vi(e)){let i=e.subarray(r,n);if(226===t&&i.length>=32&&[...md].every((e,t)=>i[t]===e.charCodeAt(0)))return i.subarray(28)}return null}function Ii(e){if(!(e instanceof Uint8Array)||e.length<21)return!1;let t=e.slice(),r=new DataView(t.buffer);if(0!==r.getUint16(0))return!1;let n=128&t[4]?3:1;if(t.length!==21+40*n||0===r.getUint32(9)||0===r.getUint32(17))return!1;for(let e=0;e<n;e++){let t=21+40*e,n=r.getInt32(t),i=r.getUint32(t+4),o=r.getInt32(t+8),a=r.getUint32(t+12),l=r.getUint32(t+16),s=r.getUint32(t+20),m=r.getUint32(t+28),c=r.getUint32(t+36);if(!i||!a||!l||!s||!m||!c||n/i>o/a)return!1}return!0}function*vi(e){for(let t=2;t+1<e.length&&255===e[t];){let r=e[t+1];if(255===r){t++;continue}if(1===r||r>=208&&r<=215){t+=2;continue}if(218===r||217===r||t+4>e.length)return;let n=e[t+2]<<8|e[t+3];yield{marker:r,length:n,body:t+4,end:t+2+n},t+=2+n}}function Fi(e,t){if(255!==e[t]||216!==e[t+1])return-1;let r=t+2,n=!1;for(;r+1<e.length;){if(255!==e[r]){if(!n)return-1;r++;continue}let t=e[r+1];if(255!==t){if(217===t)return n?r+2:-1;if(0===t||t>=208&&t<=215)r+=2;else{if(r+4>e.length)return-1;if(r+=2+(e[r+2]<<8|e[r+3]),218===t)for(n=!0;r+1<e.length&&(255!==e[r]||!e[r+1]||e[r+1]>=208&&e[r+1]<=215);)r++}}else r++}return-1}function Ni(e,t){for(let r=0;r<65536;r++){if(t===e.length)return r>0;if(t+8>e.length)return!1;let n=(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0,i=8;if(0===n)n=e.length-t;else if(1===n){if(t+16>e.length)return!1;n=0;for(let r=8;r<16;r++)n=256*n+e[t+r];i=16}if(n<i||n>e.length-t)return!1;t+=n}return!1}function xi(e){for(let{marker:t,length:r,body:n,end:i}of vi(e)){if(r<2||i>e.length)return[];let o=e.subarray(n,Math.min(i,n+4));if(226===t&&r>=16&&77===o[0]&&80===o[1]&&70===o[2]&&0===o[3]){let t=n+4,r=e.subarray(t,i).slice(),o=r.length;if(o<8)return[];let a=r[0]<<8|r[1],l=new DataView(r.buffer);if(18761!==a&&19789!==a)return[];let s=18761===a,m=e=>l.getUint16(e,s),c=e=>l.getUint32(e,s);if(42!==m(2))return[];let f=c(4);if(f<8||f+2>o)return[];let h=m(f);if(!h||f+2+12*h+4>o)return[];for(let r=0;r<h;r++){let n=f+2+12*r;if(45058!==m(n))continue;let i=c(n+4),a=c(n+8);if(7!==m(n+2)||i%16||i<32||a<8||a+i>o||0!==c(a+8))return[];let l=[];for(let r=1;r<i/16;r++){let n=c(a+16*r+4),i=c(a+16*r+8),o=t+i;if(!i||n<4||o+n>e.length)continue;let s=e.subarray(o,o+2),m=e.subarray(o+n-2,o+n);255===s[0]&&216===s[1]&&255===m[0]&&217===m[1]&&l.push({start:o,size:n})}return l}return[]}}return[]}function ki(e,t){let r=[],n=null;for(let t of Jn(e))t.type!==uu||n?r.push(Q(e,t.at,t.end)):n=Q(e,t.body,t.end);let i=Ha()?Ba:li;return{bundle:i([Uint8Array.of(0,t.length>>8,255&t.length),t,Uint8Array.of(0,0,0,0,0),n]),rest:i([Q(e,0,12),...r])}}function*Ei(e,t,r,n,i,o,a){Ze(1===e[0]&&e[1]<=2&&(!e[1]||i+2<=4));let l=e.subarray(0,Math.min(10,e.length)),s=new DataView(l.buffer,l.byteOffset,l.byteLength),m=s.getUint32(2);Ze(m<=a.left&&e.length>=(e[1]?10:6)),a.left-=m;let c=e[1]?s.getUint32(6):e.length-6,f=Q(e,e[1]?10:6);Ze(c<=f.length);let h=yield*W("tail-data",function*(){let e;try{e=yield*Si(Q(f,0,c),Math.max(m,1),t)}catch(e){if(Sa(e)||"JXL_INPUT"!==e?.code)throw e;Ze(!1)}return Ze(e.length===m),e});if(!e[1])return h;let u=Q(f,c);if(2===e[1]){let e=function(e){for(let t of Jn(e))if(t.type===sd){let r=Q(e,t.body,t.end);Ze(r.length>=3&&0===r[0]);let n=3+(r[1]<<8|r[2]);Ze(n<r.length),n+=1+r[n],Ze(n+4<=r.length);let i=r.subarray(n,n+4);return n+=4+new DataView(i.buffer,i.byteOffset,4).getUint32(0),Ze(n<r.length),Q(r,n)}Ze(!1)}(o),t=[u,kn(uu,e.length),e];u=Ha()?Ba(t):li(t)}let d=a.left,p=yield*Pi(u,t,r,n,null,i+1,a);Ze(p);let g=p.length-(d-a.left);return Ze(g>=0&&g<=a.left),a.left-=g,Ha()?Ba([h,p]):li([h,p])}function*Ci(e,t,r,n=1,i=7){try{let o=yield*W("structure",()=>function*(e,t){if(Ha())return yield*Ua("jpegStructure")(e,t,{start:si,window:mi,create:ci,choices:fi,scan:ed,append:hi,finish:ui});let r=ci(t),n=si(t);for(;!n.ended;){let i=mi(e,t,n);n=i.state,hi(r,i,i.data.scans.map(e=>ed(e,fi(t,e.index,!1),fi(t,e.index,!0))))}return ui(r,n,t)}(e,t));if(!(yield*W("check",()=>Ti(t,o,e))))throw ge("JPEG syntax cannot be reconstructed exactly");return function(e,t){if(!(e instanceof Uint8Array&&t instanceof Uint8Array))throw yu("codestream and reconstruction: Uint8Array");let r=e=>(a(e.reduce((e,t)=>e+t.length,0)),Ha()?Ba(e):Tn(e)),n=e.subarray(0,Math.min(cu.length,e.length));if(255!==n[0]||10!==n[1]){if(!cu.every((e,t)=>n[t]===e))throw yu("signature");let i=-1,o=0;for(let t of Jn(e)){if(++o>=bu)throw yu("boxes: over maxBoxes");if(t.decoded===gu)throw yu("jbrd: already present");i<0&&(t.type===uu||t.type===du)&&(i=t.at)}return r([Q(e,0,i),kn(gu,t.length),t,Q(e,i)])}return r([En(),kn(gu,t.length),t,kn(uu,e.length),e])}(r,yield*W("data",()=>function*(e,t,r){let n=yield*W("jpeg-syntax",()=>function*(e){if(Ha())return yield*Ua("jpegSyntax")(Mi(e),vo);let t=new vo;for(let[,r,,n]of Mi(e))r&&n(t,0,r);return t.finish()}(e),void 0,!1,!0),i=Ha()?Ba([...e.apps,...e.comments,...e.inter,e.tail]):li([...e.apps,...e.comments,...e.inter,e.tail]),o=yield*di(i);if(i.length>32){let n=t>=7||t>=r&&i.length<=196608;try{let r=yield*W("jpeg-payload-cuts",()=>function*(e,t=!0){if(Ha())return yield*Ua("jpegPayload")(e,t,{apps:pi,tail:gi,offset:td,finish:rd});let r=pi(e.apps,t),n=r.cuts,i=td(e,r.state.curOff),o={at:0,phase:"search",done:!1};for(;!o.done;){let t=gi(e.tail,o);o=t.state;for(let e of t.cuts)n.push(i+e)}return rd(n,i+e.tail.length)}(e,t>=5));for(let e of n&&t>=5?[!0,!1]:[n]){let n=yield*ii(i,{literalContexts:e,thorough:t>=5,cuts:r,kernels:Ia.entropy?.()},V);n.length<o.length&&(o=n)}}catch(e){if("JXL_SIZE"!==e.code&&"JXL_INPUT"!==e.code)throw e}}let a=[n,o];return Ha()?Ba(a):li(a)}(o,n,i)))}catch(e){throw"JXL_RECONSTRUCTION"===e.code?ge("JPEG syntax cannot be reconstructed exactly"):e}}function Bi(e){let t=new Int32Array(257),r=0,n=0;for(let i=1;i<=16;i++){Ze(r+e.counts[i]<=1<<i);for(let o=0;o<e.counts[i];o++)t[e.symbols[n++]]=i<<16|r++;r*=2}return t}function Ui(e,t,r,n){let i=(t>>>16)+r;i<=24?e.put(i,(65535&t)<<r|n):(e.put(t>>>16,65535&t),e.put(r,n))}function Hi(e){let t=e.coeffs,r=t.length>>6,n=new Int32Array(2*r);for(let e=0,i=0;e<r;e++,i+=64){let r=0,o=0;for(let e=1;e<64;e++)if(t[i+e]){let t=bd[e];t<32?r|=1<<t:o|=1<<t-32}n[2*e]=r,n[2*e+1]=o}return n}function Ji(e,t){let r=e.components,n=Math.max(...r.map(e=>e.h)),i=Math.max(...r.map(e=>e.v)),o=1===t.components.length,a=r[t.components[0].index];return{hmax:n,vmax:i,single:o,lead:a,nx:Math.ceil(e.width*(o?a.h:1)/(8*n)),ny:Math.ceil(e.height*(o?a.v:1)/(8*i))}}function*Ki(e,t,r,n,i,o,a,l){let{ss:s,se:m,al:c,ah:f}=r,h=t.components,u=t.rows?.();Ze(o?0===s?0===m:1===r.components.length:0===s&&63===m&&!c&&!f),u&&t.reset?.();let d=new Int32Array(h.length),p=yield*V("scan-events",()=>{let e=r.zeros.length?new Map:null;for(let t=0;t<r.zeros.length;t+=2)e.set(r.zeros[t],r.zeros[t+1]);return{resets:Int32Array.from(r.resets).sort(),zeros:e}}),g=p.resets,M=new yd(e,r,p.zeros),y=r.components.map(e=>({index:e.index,co:h[e.index].coeffs,row0:0,dc:n[e.dc]||gd,ac:n[16+e.ac]||gd,nonzero:o&&s&&!u?l(e.index):null})),{hmax:b,vmax:w,single:L,lead:O,nx:A,ny:I}=Ji(t,r),v=y.map(e=>{let t=h[e.index];return{stride:t.stride,h:L?1:t.h,v:L?1:t.v}});if(!o&&!u){let t=Ia.entropy?.()?.sequentialScan(e,y.map((e,t)=>({...e,...v[t]})),A,I,i,M.zeros||new Map,a,Md);if(null===t&&Ze(!1),t){let t=A*I*v.reduce((e,{h:t,v:r})=>e+t*r,0);return Ze(r.resets.every(e=>e<t)&&r.zeros.every((e,r)=>r%2||e<t)),void e.align(a)}}let F=0,N=32*(L?O.v:1)/w,x=u&&t.band&&(e.expected||e.parts),k=(r,n)=>{for(let l=r*A,m=r;m<n;m++){if(u&&(!(m%N)||x&&m===r))if(x){t.band(Math.floor(m/N));for(let e of y)({coeffs:e.co,row0:e.row0}=h[e.index]),o&&s&&(e.nonzero=Hi({coeffs:e.co}))}else{let e=u.next().value?.components??Ze(0);for(let t of y)({coeffs:t.co,row0:t.row0}=e[t.index])}for(let t=0;t<A;t++,l++){i&&l&&l%i===0&&(M.flush(),e.align(a),e.marker(208+(l/i-1&7)),d.fill(0));for(let e=0;e<y.length;e++){let r=y[e],{stride:n,h:i,v:a}=v[e];for(let e=0;e<a;e++)for(let l=0;l<i;l++){if(g[F]===M.blockIndex)for(M.flush();g[F]===M.blockIndex;)F++;let s=64*((m*a+e-r.row0)*n+t*i+l);o?M.progressive(r,s,d):M.sequential(r,s,d)}}}}return null};if(x)if(Ha())yield*Ua("jpegScanRows")({out:e,jpeg:t,writer:M,preds:d,ny:I,per:N,pad:a},{rows:k,nextReset:()=>F,restoreReset:e=>{F=e}});else for(let e=0,t=N%2?N:N/2;e<I;e+=t)k(e,Math.min(I,e+t));else k(0,I);let E=M.blockIndex;Ze(r.resets.every(e=>e<E)&&r.zeros.every((e,t)=>t%2||e<E)),M.flush(),e.align(a)}function Di(e,t,r,n,i,o){let a=0;for(let l=0;l<e.length;){if(Ze(255===e[l]),t&&0===e[l+1]){l+=2;continue}for(t=!1;255===e[l+1];)l++;if(l+1===e.length)break;let s=e[l+1];if(1===s){l+=2;continue}let m=256*e[l+2]+e[l+3],c=l+2+m,f=l+4;if(Ze(l+4<=e.length&&m>=2&&c<=e.length),219===s)for(let t=f;t<c;){let o=e[t]>>4,a=15&e[t++];Ze(o<=1&&a<=3&&t+64*(1+o)<=c);let l=new Int32Array(64);for(let r=0;r<64;r++,t+=1+o)l[Va[r]]=o?256*e[t]+e[t+1]:e[t];i.components.every((e,t)=>e.tq!==a||$u(e.quant,l)||r.has(t))?n.delete(a):n.add(a)}else if(196===s)Ze(2===m);else if(192===s||193===s){let t=i.components.length,n=e[f+7];Ze(!r.size&&!i.ycbcr&&o.scans.every(e=>1===e.components.length)&&m===8+3*t&&8===e[f]&&256*e[f+1]+e[f+2]===i.height&&256*e[f+3]+e[f+4]===i.width&&e[f+5]===t&&n>>4>=1&&n>>4<=4&&(15&n)>=1&&(15&n)<=4),i.components.forEach((t,r)=>{let i=f+6+3*r;Ze(e[i]===t.id&&e[i+1]===n&&e[i+2]===t.tq)}),a++}else Ze(s>=2&&s<=191||200===s||204===s||220===s||222===s||223===s||s>=224&&s<=254);l=c}return a}function*Ti(e,t,r=null,n=1/0){let i=new dd(r,n),o=[],a=t.padding?{bits:t.padding,at:0}:null,l=function*(e){Ha()?yield*Ua("jpegMarker")(i,e):e()},s=e.components.map(()=>({coverage:new Int8Array(64).fill(-1)})),m=[],c=t=>m[t]||=Hi(e.components[t]),f=0,h=0,u=0,d=0,p=0,g=0,M=0,y=!1;i.marker(216);for(let r of t.markers)if(r>=224&&r<=239||254===r){let e=254===r?t.comments[h++]:t.apps[f++];yield*l(()=>{Ze(e[0]===r&&256*e[1]+e[2]===e.length-1),i.byte(255),i.chunk(e)})}else if(255===r){let e=t.inter[u++];yield*l(()=>i.chunk(e))}else if(219===r){let e=[];for(;;){let r=t.quant[d++];Ze(r&&r.values),e.push(16*r.precision+r.index);for(let t of Va)r.precision?e.push(r.values[t]>>8):Ze(r.values[t]<256),e.push(255&r.values[t]);if(r.last)break}i.segment(r,e)}else if(196===r){let e=[];for(;;){let r=t.huffman[p++];Ze(r);let n=r.counts.slice(),i=16;for(;!n[i];)i--;if(n[i]--,e.push(r.slot,...n.slice(1),...r.symbols.slice(0,-1)),o[r.slot]=Bi(r),r.last)break}i.segment(r,e)}else if(192===r||193===r||194===r){y=194===r;let t=[8,e.height>>8,255&e.height,e.width>>8,255&e.width,e.components.length];for(let r of e.components)t.push(r.id,16*r.h+r.v,r.tq);i.segment(r,t)}else if(221===r)M=t.restart,i.segment(r,[M>>8,255&M]);else if(218===r){let n=t.scans[g++],l=[n.components.length];try{Ie({progressive:y},n.components.map(e=>({component:s[e.index]})),n.ss,n.se,n.ah,n.al)}catch(e){if("JXL_JPEG"!==e.code)throw e;Ze(!1)}for(let t of n.components)l.push(e.components[t.index].id,16*t.dc+t.ac);l.push(n.ss,n.se,16*n.ah+n.al),i.segment(r,l),Ha()&&(i.expected||i.parts)?yield*Ua("jpegScan")(i,a,()=>Ki(i,e,n,o,M,y,a,c)):yield*Ki(i,e,n,o,M,y,a,c)}else if(217===r)if(i.marker(r),i.expected&&Ha())for(let e=0;e<t.tail.length;e+=65536)yield*l(()=>i.chunk(t.tail.subarray(e,Math.min(t.tail.length,e+65536))));else i.parts||i.chunk(t.tail);else r>=208&&r<=215?i.marker(r):Ze(!1);return Ze(s.every(e=>e.coverage.every(e=>0===e))&&(!a||a.at===a.bits.length)),i.parts?yield*Ua("jpegEnd")(i,t.tail,Ze):i.finish()}function*Si(e,t,r){try{return yield*function*(e,t={}){return Ha()?yield*Ua("readBrotli")(e,t,Xu.owner):((e,t={})=>Xu.read(e,t))(e,t)}(e,{maxOutputLength:t,dictionary:"function"==typeof r?r:void 0})}catch(e){throw!0!==e.dictionary?e:yo("JXL_DICTIONARY","JPEG data: Brotli dictionary required")}}function*Gi(e,t,r){if(!e)return null;if(!t)return e;try{return yield*Si(e,Number.MAX_SAFE_INTEGER,r)}catch(e){if(Sa(e)||"JXL_INPUT"!==e?.code)throw e;Ze(!1)}}function*ji(e,t,{maxPixels:r,bands:n=!0}={},i=null){try{return yield*Pi(e,t,r,n,i)}catch(e){s(()=>{throw e})}}function*Pi(e,t,r,n,o=null,a=0,l={left:Number.MAX_SAFE_INTEGER}){let s=yield*function*(e){return Ha()?yield*Ua("jpegContainer")(e,{reconstructionStart:Sn,containerBoxesSteps:Dn,reconstructionPart:Gn,reconstructionEnd:jn,maximum:bu}):function(e){let t=Sn(e);if(!t)return null;let r=wu(),n=Cn(e),i=(t,r)=>e.subarray(t,r);for(;r.at<e.length;){let o=Un(e,bu,r,n);o&&(Kn(o,r),Gn(t,o,i))}return Hn(r),jn(t,Tn)}(e)}(e);if(!s)return null;let m=yield*function*(e,{reconstruction:t=!1,maxPixels:r=Mo.pixels,rows:n=!1}={}){let o=yield*W("coefficient-header",()=>function*(e,t){let r=yield*V("coefficient-preamble",()=>function(e,t){Ze(e instanceof Uint8Array&&e.length>0);let r=new ys(e),{width:n,height:i}=Qe(r);if(Ze(n<=Mo.edge&&i<=Mo.edge&&n*i<=Mo.pixels),n*i>t)throw yo("JXL_DIMENSIONS","image: exceeds maxPixels");r.expect(1,0);let o=r.read(1),a=o?r.read(3)+1:1;o&&r.expect(3,0),r.expect(3,0),r.read(1),r.expect(2,0),r.expect(1,0);let l=!1,s=!1;if(!r.read(1)){s=!!r.read(1);let e=r.u32([[0,0],[0,1],[4,2],[6,18]]);if(Ze(e<=1),l=1===e,!s){if(r.expect(2,1),!l){let e=r.u32([[0,0],[0,1],[4,2],[6,18]]);Ze(1===e||11===e)}r.expect(1,0),Ze(13===r.u32([[0,0],[0,1],[4,2],[6,18]])),Ze(r.u32([[0,0],[0,1],[4,2],[6,18]])<=3)}}return o&&r.expect(1,1),r.expect(3,4),{width:n,height:i,orientation:a,grey:l,icc:s,bit:r.bit}}(e,t)),n=new ys(e);n.bit=r.bit;let o=r.icc?yield*function*(e){if(!Ha())return(e=>function(e){let t=In(e),r=On(t.model,e,t.size),n=new Uint8Array(t.size),i=0,o=0;for(let a=0;a<t.size;a+=65536){let l=vn(e,r,t,a,i,o);i=l.previous,o=l.older,n?.set(l.bytes,a)}return r.finish(),n}(e))(e);let t=yield*Ua("jpegICCEntropy")(e,{header:In,reader:On,part:vn});return e.bit=t.bit,t.bytes}(n):null,a=yield*V("coefficient-layout",()=>function(e,t,r){let{width:n,height:i,orientation:o,grey:a}=t,l=new ys(e);l.bit=t.bit,l.align(),l.expect(4,0);let s=l.read(2),m=0===s?0:2===s?17+l.read(8):-1;Ze(0===m||128===m);let c=!!l.read(1),f=c?[l.read(2),l.read(2),l.read(2)]:[0,0,0];Ze(!a||f[0]===f[1]&&f[1]===f[2]);let h=f.map(e=>1===e||2===e?1:0),u=f.map(e=>1===e||3===e?1:0),d=Math.max(...h),p=Math.max(...u),g=h.map(e=>d-e),M=u.map(e=>p-e);l.expect(7,0),l.expect(11,1),l.expect(1,0),l.align();let y=Math.ceil(n/(8<<d))<<d,b=Math.ceil(i/(8<<p))<<p,w=Math.ceil(n/256),L=w*Math.ceil(i/256),O=Math.ceil(y/256),A=O*Math.ceil(b/256),I=Array.from({length:1===L?1:2+L+A},()=>l.u32([[10,0],[14,1024],[22,17408],[30,4211712]]));l.align();let v=l.bit/8,F=I.map(t=>{let r=v+t;Ze(r<=e.length);let n=Q(e,v,r);return v=r,n});return Ze(v===e.length),{width:n,height:i,orientation:o,grey:a,ycbcr:c,profile:r,hshift:g,vshift:M,hs:h,vs:u,blocksW:y,blocksH:b,groupsX:w,groups:L,dcX:O,dcs:A,sections:F}}(e,{...r,bit:n.bit},o)),{blocksW:l,blocksH:s,hshift:m,vshift:c,hs:f,vs:h,groups:u,dcs:d,dcX:p}=a,g=a.sections.map(e=>new ys(e)),M=e=>g[1===u?0:e],y=e=>{1!==u&&e.end()},b=l+7>>3,w=s+7>>3,L=new Int32Array(b*w),O=new Int32Array(b*w),A=[0,1,2].map(e=>({h:1<<f[e],v:1<<h[e],stride:l>>m[e],rows:s>>c[e],dc:new Int32Array((l>>m[e])*(s>>c[e])),coeffs:null})),I=M(0),v=yield*V("coefficient-global",()=>{I.expect(1,0);let e=[I.read(16),I.read(16),I.read(16)];Ze(65536===I.u32([[11,1],[11,2049],[12,4097],[16,8193]])),Ze(1===I.u32([[0,16],[5,1],[8,1],[16,1]]));let t,r,n,i,o,a=[[4,0],[8,16],[16,272],[32,65808]],l=[[2,0],[3,4],[5,12],[8,44]],s=Uint8Array.of(0,1,2,2,3,3,4,5,6,6,6,6,6,7,8,9,9,10,11,12,13,14,14,14,14,14,7,8,9,9,10,11,12,13,14,14,14,14,14);if(I.read(1)?(t=[[],[],[]],r=[],n=1,i=s,o=15):(t=[0,1,2].map(()=>Array.from({length:I.read(4)},()=>Qh(I.u32(a)))),n=t.reduce((e,t)=>e*(t.length+1),1),r=Array.from({length:I.read(4)},()=>I.u32(l)+1),Ze(n*(r.length+1)<=64),i=bn(I,39*n*(r.length+1)),o=Math.max(...i)+1,Ze(o<=16)),!I.read(1)){Ze(84===I.u32([[0,84],[0,256],[8,2],[16,258]]));let e=e=>!(32767&e);Ze(e(I.read(16))&&e(I.read(16))&&128===I.read(8)&&128===I.read(8))}let m=null;if(I.read(1)){let e=Nn(I,256);m={tree:e,model:wn(I,e.leaves.length)}}return y(I),{lfDequant:e,dcThresholds:t,qfThresholds:r,numDc:n,map:i,contexts:o,shared:m,bit:I.bit}}),{lfDequant:F,dcThresholds:N,qfThresholds:x,numDc:k,map:E,contexts:C,shared:B}=v;I.bit=v.bit;let U={left:536870912};for(let e=0;e<d;e++){let t=M(1+e),r=e%p*256,n=256*Math.floor(e/p),o=Math.min(256,l-r),a=Math.min(256,s-n),f=yield*V("coefficient-dc",()=>{t.expect(2,0);let r=xn(t,[1,0,2].map(e=>[o>>m[e],a>>c[e]]),B,1+e,U),n=o*a;t.expect(i(n),n-1);let l=o+7>>3,s=a+7>>3,[f,h,u]=xn(t,[[l,s],[l,s],[n,2],[o,a]],B,1+2*d+e,U);return Ze(u.subarray(0,n).every(e=>0===e)&&u.subarray(n,2*n).every(e=>0===e)),y(t),{values:r,ytox:f,ytob:h,bit:t.bit,left:U.left}});t.bit=f.bit,U.left=f.left;for(let[e,t]of[1,0,2].entries()){let i=A[t],l=o>>m[t],s=a>>c[t];for(let o=0;o<s;o++)for(let a=0;a<l;a++)i.dc[(o+(n>>c[t]))*i.stride+a+(r>>m[t])]=f.values[e][o*l+a]}let h=o+7>>3,u=a+7>>3;for(let e=0;e<u;e++)for(let t=0;t<h;t++){let i=((n>>3)+e)*b+(r>>3)+t;L[i]=f.ytox[e*h+t],O[i]=f.ytob[e*h+t]}}let H=M(1+d),J=yield*V("coefficient-ac",()=>{H.expect(1,0),H.expect(3,7),H.expect(16,4100);let e=xn(H,[[8,8],[8,8],[8,8]],B,1+3*d,U),t=[];for(let r=0;r<3;r++){let n=t[r]=Int32Array.from({length:64},(t,n)=>e[r][n%8*8+(n>>3)]);if(Ze(n.every(e=>e>0&&e<65536)),!dn(F[r],n[0]))throw yo("JXL_RECONSTRUCTION","LF dequantization: not a JPEG transcode")}H.expect(32,0),H.expect(16,0),u>1&&H.expect(i(u),0);let r=Va.map(e=>e%8*8+(e>>3)),n=[r,r,r],o=H.u32([[0,95],[0,19],[0,0],[13,0]]);Ze(0===o||1===o);let a=e=>Math.min(32-Math.clz32(e),7);if(o){let e=An(H,8,{values:192});for(let t=0;t<3;t++){let i=e.read(a(64))+1,o=r.slice(1),l=[0];Ze(i<=64);let s=0;for(let t=1;t<i;t++){let t=e.read(a(s));Ze(t<o.length),s=t,l.push(o.splice(t,1)[0])}n[t]=l.concat(o)}e.finish()}let l=wn(H,495*C);return y(H),{model:l,quant:t,orders:n,bit:H.bit}});return A.forEach((e,t)=>{e.quant=J.quant[t]}),{...a,planes:A,toX:L,toB:O,dcThresholds:N,qfThresholds:x,numDc:k,map:E,contexts:C,orders:J.orders,model:J.model,acBit:J.bit}}(e,r));return function(e,t,r){let{width:n,height:i,orientation:o,grey:a,ycbcr:l,profile:s,blocksW:m,blocksH:c,hshift:f,vshift:h,groupsX:u,groups:d,dcs:p,toX:g,toB:M,dcThresholds:y,qfThresholds:b,numDc:w,map:L,contexts:O,orders:A,model:I,acBit:v}=e,F=m+7>>3,N=e.planes.map(e=>({...e,coeffs:r?null:new Int16Array(e.stride*e.rows*64)})),x=e.sections.map(e=>new ys(e)),k=e=>x[1===d?0:e],E=k(1+p),C=N.reduce((e,t)=>e+t.stride*t.rows*64,0);E.bit=v;let B=On(I,E,C),U=A.map(e=>Int32Array.from(e)),H=37*O,J=(b.length+1)*w*13,K=y.every(e=>!e.length),D=(e,t)=>{let r=0;for(let n of t)r+=e>n;return r},T=(e,t,r)=>{let n=N[e];return n.dc[(r>>h[e])*n.stride+(t>>f[e])]},S=[0,1,2].map(()=>new Uint8Array(1024)),G=B.read,j=N.map(e=>e.coeffs),P=[0,0,0],_=e=>{for(let t=e*u;t<Math.min(d,(e+1)*u);t++){let e=k(2+p+t);1!==d&&(E.bytes=e.bytes,E.bit=0);let r=t%u*32,n=32*Math.floor(t/u),i=Math.min(32,m-r),o=Math.min(32,c-n);for(let e of S)e.fill(0);for(let e=0;e<o;e++)for(let t=0;t<i;t++)for(let i=0;i<3;i++){let o=0===i?1:1===i?0:2,a=t>>f[o],l=e>>h[o];if(a<<f[o]!==t||l<<h[o]!==e)continue;let s=N[o],m=j[o],c=U[o],u=64*(((n>>h[o])+l-P[o])*s.stride+(r>>f[o])+a),d=S[o],p=a?l?d[32*(l-1)+a]+d[32*l+a-1]+1>>1:d[a-1]:l?d[32*(l-1)]:32,g=0;if(!K){let i=D(T(0,r+t,n+e),y[0]),o=D(T(1,r+t,n+e),y[1]),a=D(T(2,r+t,n+e),y[2]);g=(i*(y[2].length+1)+a)*(y[1].length+1)+o}let M=L[(o<2?1^o:2)*J+g],b=G((p<8?p:4+(p>>1))*O+M);Ze(b<=63),d[32*l+a]=b;let w=b>4?0:1,A=H+458*M;for(let e=1;e<64&&b;e++){let t=G(A+$h[b<<6|e]+w),r=1&t?-(t+1)/2:t/2;Ze(r>=-32768&&r<=32767),m[u+c[e]]=r,w=r?1:0,b-=w}Ze(0===b)}B.finish(),E.end()}},X=g.some(Boolean)||M.some(Boolean);X&&Ze(f.every(e=>!e)&&h.every(e=>!e));let q=N[1],R=e=>Math.trunc(2048*e/84),z=X?[0,2].map(e=>Int32Array.from(N[e].quant,(e,t)=>Math.trunc(2048*q.quant[t]/e))):null,V=e=>{if(X){let t=32*e,r=Math.min(c,t+32);for(let e=t*m;e<r*m;e++){let t=(e/m>>3)*F+(e%m>>3),r=[R(g[t]),R(M[t])],n=64*(e-P[1]*m);for(let[e,t]of[0,2].entries()){if(!r[e])continue;let i=j[t];for(let t=1;t<64;t++){let o=j[1][n+t];if(!o)continue;let a=r[e]*z[e][t]+1024>>11,l=i[n+t]+(a*o+1024>>11);Ze(l>=-32768&&l<=32767),i[n+t]=l}}}}N.forEach((r,n)=>{let i=1024;for(;r.quant[0]%i;)i>>=1;let o=t?Math.floor(1024/r.quant[0]):1024/i,a=t?1:r.quant[0]/i;for(let t=(32*e>>h[n])*r.stride;t<Math.min(r.rows,32*(e+1)>>h[n])*r.stride;t++){let e=l?r.dc[t]:(r.dc[t]-o)/a;if(!(Number.isInteger(e)&&e>=-32768&&e<=32767))throw yo("JXL_RECONSTRUCTION","DC coefficient: outside signed 16-bit JPEG range");j[n][64*(t-P[n]*r.stride)]=e}})},Y=Math.ceil(c/32),W=a?[N[1]]:l?[N[1],N[0],N[2]]:N;if(r){let e=j=N.map((e,t)=>new Int16Array(e.stride*Math.min(e.rows,32>>h[t])*64)),t=W.map(e=>N.indexOf(e)),r=0,a=()=>{E.bit=v,B=On(I,E,C),G=B.read,r=0},m=n=>{for(let t of e)t.fill(0);j=e,P=h.map(e=>32*n>>e),_(n),V(n),r=n+1;for(let r=0;r<W.length;r++)W[r].coeffs=e[t[r]],W[r].row0=P[t[r]];return{components:t.map(t=>({coeffs:e[t],row0:P[t]}))}},c=e=>{for(e<r&&a();r<e;)m(r);return m(e)};return{width:n,height:i,orientation:o,ycbcr:l,icc:s,components:W,whole:()=>{a(),j=N.map(e=>e.coeffs=new Int16Array(e.stride*e.rows*64)),P=[0,0,0];for(let e=0;e<Y;e++)_(e),V(e);for(let e of N)delete e.dc,delete e.row0;return{width:n,height:i,orientation:o,ycbcr:l,icc:s,components:W}},band:c,reset:a,checkpoint:()=>({next:r,code:B.checkpoint()}),resume(e){r=e.next,B.resume(e.code)},*rows(){a();for(let e=0;e<Y;e++)yield c(e)}}}for(let e=0;e<Y;e++)_(e),V(e);for(let e of N)delete e.dc;return{width:n,height:i,orientation:o,ycbcr:l,icc:s,components:W}}(o,t,n)}(s.codestream,{reconstruction:!0,maxPixels:r,rows:!0}),c=yield*W("jpeg-data",function*(){let e=s.reconstruction;Ze(e);let r=m.icc?yield*function*(e){return Ha()?yield*Ua("jpegICC")(e,void 0,nd.owner):(e=>nd.decode(e))(e)}(m.icc):null,n=yield*Gi(s.exif,s.exifCompressed,t),i=yield*Gi(s.xml,s.xmlCompressed,t);return yield*function*(e,t={},r,n){let i=yield*V("jpeg-data-header",()=>function(e,t){let r=new ys(e),n=r.read(1);Ze((n?1:3)===t);let i={markers:[],apps:[],comments:[],quant:[],huffman:[],scans:[],inter:[],restart:0};for(;;){let e=r.read(6)+192;if(i.markers.push(e),Ze(i.markers.length<=16384),217===e)break}let o=e=>(Ze(e>=3&&e<=65536),e);for(let e of i.markers)if(e>=224&&e<=239){let e=r.u32([[0,0],[0,1],[1,2],[2,4]]);Ze(e<=3),i.apps.push({type:e,length:o(r.read(16)+1)})}for(let e of i.markers)254===e&&i.comments.push(o(r.read(16)+1));let a=r.u32(qu);Ze(a<4);for(let e=0;e<a;e++)i.quant.push({precision:r.read(1),index:r.read(2),last:!!r.read(1)});let l=r.read(2),s=3===l?Array.from({length:r.u32(qu)},()=>r.read(8)):0===l?[1]:1===l?[1,2,3]:[82,71,66];Ze(s.length===(n?1:3)&&new Set(s).size===s.length),i.components=s.map(e=>({id:e,quant:r.read(2)})),Ze(i.components.every(e=>e.quant<a));let m=r.u32(Wu);for(let e=0;e<m;e++){let e=r.read(1)<<4|r.read(2),t=!!r.read(1),n=Array.from({length:17},()=>r.u32(Ru)),o=n.reduce((e,t)=>e+t,0);Ze(o>=2&&o<=257&&!n[0]);let a=Array.from({length:o},()=>r.u32(zu));Ze(256===a.at(-1)&&new Set(a).size===o&&(16&e||a.slice(0,-1).every(e=>e<12))),i.huffman.push({slot:e,last:t,counts:n,symbols:a})}Ze(i.huffman.reduce((e,t)=>e+(t.last?1:0),0)===i.markers.reduce((e,t)=>e+(196===t?1:0),0)&&(!i.huffman.length||i.huffman.at(-1).last));for(let e of i.markers)if(218===e){let e=r.u32(qu),t=r.read(6),n=r.read(6),o=r.read(4),a=r.read(4);Ze(e<=s.length&&t<=n&&o<=13&&a<=13);let l=Array.from({length:e},()=>({index:r.read(2),ac:r.read(2),dc:r.read(2)}));Ze(l.every(e=>e.index<s.length)&&new Set(l.map(e=>e.index)).size===e),Ze(r.u32([[0,0],[0,1],[0,2],[3,3]])<=10),i.scans.push({components:l,ss:t,se:n,al:o,ah:a,resets:[],zeros:[]})}return i.markers.includes(221)&&(i.restart=r.read(16)),{data:i,bit:r.bit}}(e,n.components.length)),o={...i.data,scans:i.data.scans.map(e=>({...e}))},a=i.bit,l=0;for(let t of o.scans)for(let r of["resets","zeros"]){let n=yield*bi(e,a,"zeros"===r,Qu-l);a=n.bit,l+=n.count,t[r]=n.values}let s=yield*V("jpeg-data-lengths",()=>{let t=new ys(e);t.bit=a;let r=[];for(let e of o.markers)255===e&&r.push(t.read(16));let n=t.u32(Zu);Ze(n<=4260096);let i=t.read(1)?t.read(24):null;return Ze(null===i||i<=16777216),{inter:r,tail:n,padding:i,bit:t.bit}});if(null!==s.padding&&Ze(s.padding<=7*o.scans.length*(1+(o.restart?Math.floor(Math.ceil(n.width/8)*Math.ceil(n.height/8)/o.restart):0))),o.inter=s.inter,o.tail=s.tail,a=s.bit,o.padding=null,null!==s.padding){let t=[];for(let r=0;r<s.padding;r+=65536){let n=yield*V("jpeg-padding",()=>{let t=new ys(e);return t.bit=a,{values:Uint8Array.from({length:Math.min(65536,s.padding-r)},()=>t.read(1)),bit:t.bit}});t.push(n.values),a=n.bit}o.padding=Ha()?Ba(t):li(t)}let m,c=yield*V("jpeg-data-start",()=>{let t=new ys(e);return t.bit=a,t.align(),t.bit/8}),f=o.tail+o.comments.reduce((e,t)=>e+t,0)+o.inter.reduce((e,t)=>e+t,0)+o.apps.reduce((e,t)=>e+(t.type?0:t.length),0);try{m=yield*Si(Q(e,c),Math.max(f,1),r)}catch(e){if(Sa(e)||"JXL_INPUT"!==e?.code)throw e;Ze(!1)}Ze(m.length===f);let h=[],u=o.apps.reduce((e,t)=>e+(1===t.type),0),d={raw:0,icc:0,sequence:0,exif:!1,xml:!1};for(let e of o.apps){let r=yield*V("jpeg-app",()=>yi(e,m,t,d,u));h.push(r.bytes),d=r.state}Ze(!u||d.icc===t.icc.length),o.apps=h;let p=d.raw,g=[],M=[];for(let e of o.comments)g.push(yield*V("jpeg-comment",()=>{let t=m.subarray(p,p+e);return Ze(t.length===e&&256*t[1]+t[2]+1===t.length),t})),p+=e;for(let e of o.inter)M.push(Q(m,p,p+e)),p+=e;return o.comments=g,o.inter=M,o.tail=Q(m,p,p+o.tail),p+=o.tail.length,Ze(p===m.length),o}(e,{icc:r,exif:n,xml:i},t,m)});o?.(m,c.apps);let f=n&&(Ha()||1===c.scans.length&&!c.markers.includes(194));Ze(c.components.length===m.components.length);for(let e=0;e<m.components.length;e++){let t=m.components[e],r=c.components[e],n=c.quant[r.quant];Ze(!n.values||$u(n.values,t.quant)),n.values=t.quant,t.id=r.id,t.tq=n.index}for(let e=0;e<c.quant.length;e++)c.quant[e].values||=c.quant[e-1]?.values,Ze(c.quant[e].values);(function(e,t){let r=0,n=0,i=0,o=0,a=0,l=null,s=0,m=new Set,c=new Set;for(let f=0;f<t.markers.length;f++){let h=t.markers[f];if(255===h){let o=1;for(;255===t.markers[f+o];)o++;i+=Di(li(t.inter.slice(r,r+=o)),218===n,m,c,e,t),f+=o-1;continue}if(h>=192&&h<=194&&(Ze(!m.size),i++),219===h)for(let e;(e=t.quant[s++])&&(c.delete(e.index),!e.last););if(218===h){Ze(1===i),l=t.scans[o++];let{nx:r,ny:n,single:a}=Ji(e,l),s=r*n*(a?1:l.components.reduce((t,r)=>{let n=e.components[r.index];return t+n.h*n.v},0));Ze((!l.resets.length||l.resets[l.resets.length-1]<s)&&(!l.zeros.length||l.zeros[l.zeros.length-2]<s));for(let t of l.components)Ze(m.has(t.index)||!c.has(e.components[t.index].tq)),m.add(t.index)}if(h>=208&&h<=215){let{nx:t,ny:r}=Ji(e,l??Ze(0));Ze(218===n&&a&&t*r%a===0&&h===208+(t*r/a-1&7))}221===h&&(a=t.restart),n=h}Ze(1===i)})(m,c),f||(m=m.whole());let h=function(e){let t=null;for(let r of Jn(e))r.type===cd&&r.end-r.body>=16&&fd.every((t,n)=>e[r.body+n]===t)&&(Ze(!t&&r.end-r.body>=22),t=Q(e,r.body+16,r.end));return t}(e),u=l.left;if(h){let i=yield*W("jpeg-tail",function*(){return{bytes:yield*Ei(h,t,r,n,a,e,l),left:l.left}});c.tail=c.tail.length?Ha()?Ba([c.tail,i.bytes]):li([c.tail,i.bytes]):i.bytes,l.left=i.left}return yield*Ti(m,c,null,a?u:1/0)}function _i(e,t,r,n){let i=function(e={},t=1){if(null===e||"object"!=typeof e)throw yo("JXL_INPUT","options: object");let r=void 0===e.effort?t:e.effort;if(!Number.isInteger(r)||r<1||r>9)throw yo("JXL_INPUT","effort: integer 1-9");return r}(t);if(void 0!==t?.icc&&"preserve"!==t.icc)throw yo("JXL_INPUT","icc: preserve");if(void 0!==t?.iccCompression&&("preserve"!==t.icc||!["auto","prefix","lz77"].includes(t.iccCompression)))throw yo("JXL_INPUT","iccCompression: auto, prefix or lz77 with icc: preserve");if(!(e instanceof Uint8Array&&e.length))throw yo("JXL_INPUT","input: nonempty Uint8Array");let o={preserveICC:"preserve"===t?.icc,compression:t?.iccCompression,maxPixels:t?.maxPixels,bands:t?.bands},a="function"==typeof t?.outside?t.outside:null;return Xi(e,i,n,r,o,"function"==typeof t?.tails?t.tails:null,0,a,"function"==typeof t?.gainMap?t.gainMap:null)}function*Xi(e,t,r,n,i,o,a=0,l=null,s=null){let m=yield*W("parse",function*(){let{band:t,rows:r,...n}=yield*Ae(e,!0,{...i,maxPixels:i.maxPixels??Mo.pixels,bands:i.bands??(!kc()&&{from:Od?0:50331648})});if(n.bandFrame){for(let e of n.components)delete e.band;for(let{scan:e}of n.bandFrame.bands)for(let t of e)delete t.dc,delete t.ac}return n}),c=m.bandFrame?Object.assign(m,Ne(e,m.bandFrame)):m;c.jpegReconstruction=!0,function(e,t,r=Mo){if("number"==typeof r&&(r={edge:Mo.edge,pixels:r}),!Number.isInteger(e)||!Number.isInteger(t)||e<1||t<1)throw yo("JXL_INPUT","width, height: positive integers");if(e>r.edge||t>r.edge)throw yo("JXL_DIMENSIONS","side: max "+r.edge);if(e*t>r.pixels)throw yo("JXL_DIMENSIONS","pixels: max "+r.pixels.toLocaleString("en-US")+" (maxPixels)")}(c.width,c.height,Mo);let f=c.orientation>=5;r?.({width:f?c.height:c.width,height:f?c.width:c.height,orientation:c.orientation});let h=function(e,t,r){return t&&"relative"!==t?255===e[0]&&10===e[1]?$e(e,t,r):function(e,t){for(let r=0;r+8<=e.length;){let n=Os(e,r),i=String.fromCharCode(...e.subarray(r+4,r+8));if(1===n||0!==n&&n<8)return e;let o=n?r+n:e.length;if(o>e.length)return e;if("jxlc"===i||"jxlp"===i){let a=r+8+("jxlp"===i?4:0),l=e.subarray(a,o),s=$e(l,t);if(s===l)return e;let m=new Uint8Array(e.length+s.length-l.length),c=a-r+s.length;return m.set(e.subarray(0,a)),m.set(s,a),m.set(e.subarray(o),a+s.length),n&&new DataView(m.buffer).setUint32(r,c),m}r=o}return e}(e,t):e}(yield*W("coefficients",()=>n(c,t),void 0,!1,!0),c.renderingIntent,Ha()?Ba:void 0),u=c.end,d=s&&!a&&o&&e.length>u&&!!(yield*W("gain-map-check",function*(){return!!s(e,u)}));if(e.length-u<=ld&&!d||!o)return yield*Ci(e,c,h,t,n.contextsFrom);let p=d?u:u+(yield*W("tail-cut",function*(){return function(e,t){let r=e.length-t,n=[];for(let{start:r,size:i}of xi(e))if(!(r<t)){if(Fi(e,r)!==r+i)return 0;n.push([r-t,r-t+i])}for(let i=t;i+8<=Math.min(e.length,t+ld+8);i++)if(102===e[i+4]&&116===e[i+5]&&121===e[i+6]&&112===e[i+7]&&hd(e,i)&&Ni(e,i)){n.push([i-t,r]);break}let i=0;for(let[e,t]of n)for(let o of[e,t])o>i&&o<=ld&&o<r&&!n.some(([e,t])=>e<o&&o<t)&&(i=o);return i}(e,u)})),g=yield*Ci(e.subarray(0,p),c,h,t,n.contextsFrom);return l?.(e.length-p),yield*o(e,p,g,a,e=>Xi(e,t,null,n,i,o,a+1),i.maxPixels,s)}function*qi(e,r,n,i,o={},a=r>=9){let l=2===r?xd:a?kd:r>=5?Fd:vd;if(r<2)return yield*gr(e,r,n,i,o);let s=e.width*e.height<=262144,m=n,c=r>=5&&!s,f=r<=4&&!s?"learned":void 0;try{let t,n,a,h;if(f){let r=ur(e.components);try{for(;!(n=r.next()).done;)yield n.value/20}finally{n?.done||r.return()}t=n.value}let u=Id(e,l,s);for(let[l,f]of u.entries()){let d=e=>(t?.05+.95*e:s||c?e/2:e)*(l+1)/u.length,p={orders:t,coding:Kr,clusters:f,modularAns:Sr,lfCoder:Cd(r)},g=pr(e,p,o);for(;!(n=g.next(h)).done;)if(h=void 0,"number"==typeof n.value){if(a=yield d(n.value),a&&m&&n.value<1)return g.return(),m}else h=yield Fo(n.value,d);if((!m||n.value.length<m.length)&&(m=n.value),i?.(n.value,p),a)return m}}catch(e){if(!Lo(e)&&"JXL_SIZE"!==e.code)throw e;m||(s=!0)}if(s)return(yield.5)&&m?m:yield*t(gr(e,r,m,i,o),1,2);if(!c||(yield.5))return m;try{let t,n=ur(e.components);for(;!(t=n.next()).done;)if(yield.5+t.value/4)return n.return(),m;let a=t.value,s=Id(e,l,!0);for(let[n,l]of s.entries()){let c,f={orders:a,coding:Kr,clusters:l,modularAns:Sr,lfCoder:Cd(r)},h=e=>.75+(n+e)/(4*s.length),u=pr(e,f,o);for(;!(t=u.next(c)).done;)if(c=void 0,"number"==typeof t.value){if((yield h(t.value))&&t.value<1)return u.return(),m}else c=yield Fo(t.value,h);t.value.length<m.length&&(m=t.value),i?.(t.value,f)}}catch(e){if(!Lo(e)&&"JXL_SIZE"!==e.code)throw e}return m}function*Ri(e,t,r){function*n(t){let r=ur(e.components,t);for(;!(l=r.next()).done;)if(s=yield.5+(M+l.value)/(2*g),s)return r.return(),null;return M++,l.value}function*i(t,r){for(let n of Id(e,r))if(yield*o(t,n),s)return}function*o(n,i){let o,c={orders:n,clusters:i,coding:Kr,modularAns:Sr,lfCoder:Cd(t)},f=pr(e,c,a);for(;!(l=f.next(o)).done;)if(o=void 0,"number"==typeof l.value){if(s=yield.5+(M+l.value)/(2*g),s&&l.value<1)return void f.return()}else o=yield Fo(l.value,e=>.5+(M+e)/(2*g));l.value.length<m.length&&(m=l.value),r?.(l.value,c),M++}let a={};if(t<8)return yield*wr(e,t,r,qi,a);let l,s,m,c,f=e.width*e.height<=Ad,h=t>=9?(e,t,r,n,i)=>qi(e,t,r,n,i,!0):qi,u=null,d=f?wr(e,t,r,h,a):h(e,t,void 0,(e,n)=>{r?.(e,n),!f&&n.orders&&n.clusters===(9===t?kd:Fd)&&(u=n)},a);try{for(;!(l=d.next(c)).done;)c="number"==typeof l.value?s=yield l.value/2:yield Fo(l.value,e=>e/2)}finally{l?.done||d.return?.()}if(m=l.value,!m&&!f&&!s){let n=wr(e,t,r,gr,a);try{for(;!((l=n.next()).done||"number"==typeof l.value&&(s=yield l.value/2)););}finally{l?.done||n.return?.()}l?.done&&(m=l.value)}if(s)return m;let p={maxClusters:32,newClusterCost:160,everyConfig:9===t},g=(!f&&m?2:0)+(8===t?4:7)+(e.width*e.height<=Ad?8===t?2:4:0),M=0;try{if(yield*i(void 0,p),s)return m;if(!f&&m){let e=yield*n(16);if(s||(yield*i(e,9===t?Ed:Nd),s))return m}let e=u?(M++,u.orders):yield*n(8);if(s)return m;for(let r of 9===t?[kd,Ed]:[Fd,Nd])if(u?.clusters!==r){if(yield*i(e,r),s)return m}else M++;if(8===t)return m;let r=yield*n(1);if(s)return m;for(let e of[kd,Ed])if(yield*i(r,e),s)return m;return m}catch(e){if(!Lo(e)&&"JXL_SIZE"!==e.code)throw e;return m}}function*zi(e,t,r=0){return yield*W("tail-search",function*(){let n=r,i=!1;for(;!i&&n+2<e.length-t;){let r=yield*Y("tail-search-window",()=>{let r=e.subarray(t+n,Math.min(e.length,t+n+Ud+2)),i=0;for(;i+2<r.length&&(255!==r[i]||216!==r[i+1]||255!==r[i+2]);)i++;return{at:n+i,found:i+2<r.length}});r!==Ja&&({at:n,found:i}=r)}return n})}function*Vi(e,t,r,n,i,o,a=null){let l=e.length-t,s=null,m=0,c=!n&&a?yield*W("tail-gain-map",function*(){return a(e,t)}):null,f=c&&c.start>=t&&c.start+2<e.length;for(let o=0;!s&&o<5&&n+2<=4;o++){let o;if(f)o=c.start-t,f=!1;else{if(o=yield*zi(e,t,m),o+2>=l)break;m=o+2}try{wi(o);let a=yield*i(e.subarray(t+o)),l=yield*Oi(e.subarray(t,t+o)),m=Uint8Array.of(l.length>>>24,l.length>>>16&255,l.length>>>8&255,255&l.length),f=n?null:Ai(e),h=!n&&4===f?.length&&0===f[0]&&0===f[1]&&xi(e).some(e=>e.start===t+o),u=h?Ai(e.subarray(t+o)):null,d=u&&Ii(u)?u.slice():h||c?.start!==t+o?null:c.metadata;if(d&&d.length>4&&d.length<65536){let{bundle:e,rest:t}=ki(a,d);s=Li(r,2,o,[m,l,t],e)}else s=Li(r,1,o,[m,l,a])}catch(e){if("JXL_JPEG"!==e.code&&"JXL_DIMENSIONS"!==e.code)throw e}}if(s||(wi(l),s=Li(r,0,l,[yield*Oi(e.subarray(t))])),!n&&!(yield*function*(e,t,r){return yield*W("tail-check",function*(){let n;try{n=yield*ji(t,null,{maxPixels:r})}catch(e){if(Sa(e))throw e;return!1}if(!n||n.length!==e.length)return!1;let i=0,o=!0;for(;o&&i<e.length;){let t=yield*Y("tail-compare",()=>{let t=Math.min(e.length,i+Ud),r=n.subarray(i,t),o=e.subarray(i,t);return{at:t,same:r.every((e,t)=>e===o[t])}});t!==Ja&&({at:i,same:o}=t)}return o})}(e,s,o)))throw yo("JXL_JPEG","syntax: not exact");return s}function Yi(e){let t=null,r=[],n=0;for(let{marker:i,body:o,end:a}of vi(e)){if(225!==i||a>e.length||a<=o)continue;let l=e.subarray(o,a).slice();if(null===t&&Td(l,Hd))t=Kd.decode(l.subarray(29));else if(Td(l,Jd)&&l.length>=75){let e=35,t=Kd.decode(l.subarray(e,e+32)),i=new DataView(l.buffer,l.byteOffset+e+32,8),o=i.getUint32(0),a=i.getUint32(4),s=l.subarray(e+40);n+=s.length,n<=Dd&&o<=Dd&&a+s.length<=o&&r.push({guid:t.toUpperCase(),fullLength:o,offset:a,bytes:s})}}if(!t)return"";let i=/HasExtendedXMP\s*=\s*"([0-9A-Fa-f]{32})"|<[^>]*HasExtendedXMP[^>]*>\s*([0-9A-Fa-f]{32})\s*</.exec(t);if(!i||!r.length)return t;let o=(i[1]??i[2]).toUpperCase(),a=r.filter(e=>e.guid===o).sort((e,t)=>e.offset-t.offset);if(!a.length)return t;let l=a[0].fullLength,s=new Uint8Array(l),m=0;for(let e of a){if(e.fullLength!==l||e.offset!==m||m+e.bytes.length>l)return t;s.set(e.bytes,m),m+=e.bytes.length}return m!==l?t:t+Kd.decode(s)}function Wi(e,t){let r=new RegExp("hdrgm:"+t+'\\s*=\\s*"([^"]+)"',"i").exec(e);if(r)return[r[1].trim()];let n=new RegExp("<hdrgm:"+t+"[^>]*>([\\s\\S]*?)</hdrgm:"+t+">","i").exec(e);if(!n)return null;let i=n[1],o=[...i.matchAll(/<rdf:li[^>]*>([^<]+)<\/rdf:li>/gi)].map(e=>e[1].trim());return o.length?o:[i.trim()]}function Zi(e,t,r){let n=Wi(e,t);if(!n)return[r,r,r,!1];let i=n.map(Number);return i.some(e=>!Number.isFinite(e))?null:1===i.length?[i[0],i[0],i[0],!1]:3===i.length?[i[0],i[1],i[2],i[0]!==i[1]||i[1]!==i[2]]:null}function Qi(e){let t=Ai(e);return t&&Ii(t)?t.slice():function(e){if(!e||!/hdrgm:Version\s*=\s*"1\.0"|<hdrgm:Version>\s*1\.0\s*<\/hdrgm:Version>/i.test(e))return null;let t=Zi(e,"GainMapMax",1),r=Zi(e,"GainMapMin",0),n=Zi(e,"Gamma",1),i=Zi(e,"OffsetSDR",1/64),o=Zi(e,"OffsetHDR",1/64);if(!t||!r||!n||!i||!o||n.slice(0,3).some(e=>!(e>0))||[0,1,2].some(e=>r[e]>t[e])||!Wi(e,"GainMapMax")&&!Wi(e,"HDRCapacityMax"))return null;let a=Wi(e,"HDRCapacityMin"),l=Wi(e,"HDRCapacityMax"),s=a?Number(a[0]):0,m=l?Number(l[0]):Math.max(t[0],t[1],t[2]);if(!Number.isFinite(s)||!Number.isFinite(m)||s<0||m<s)return null;let c=Wi(e,"BaseRenditionIsHDR"),f=!!c&&/^true$/i.test(c[0]),h=t[3]||r[3]||n[3]||i[3]||o[3],u=f?m:s,d=f?s:m,p=[0,1,2].map(e=>({gainMapMin:r[e],gainMapMax:t[e],gamma:n[e],baseOffset:f?o[e]:i[e],alternateOffset:f?i[e]:o[e]})),g={format:"xmp-hdrgm",writerVersion:0,multichannel:h,useBaseColorSpace:!0,baseIsHdr:f,baseHdrHeadroom:u,alternateHdrHeadroom:d,headroom:2**Math.max(u,d),channels:p};return g.isoPayload=function(e){let t=!!e.multichannel,r=t?3:1,n=new Uint8Array(21+40*r),i=new DataView(n.buffer);i.setUint16(0,0),i.setUint16(2,0),n[4]=(t?128:0)|(!1!==e.useBaseColorSpace?64:0);let o=1e6,a=(e,t)=>{let r=Math.max(0,Math.min(4294,t));i.setUint32(e,Math.round(r*o)>>>0),i.setUint32(e+4,o)},l=(e,t)=>{let r=Math.max(-2147,Math.min(2147,t));i.setInt32(e,0|Math.round(r*o)),i.setUint32(e+4,o)};a(5,e.baseHdrHeadroom),a(13,e.alternateHdrHeadroom);for(let t=0;t<r;t++){let r=e.channels[t],n=21+40*t;l(n,r.gainMapMin),l(n+8,r.gainMapMax),a(n+16,r.gamma),l(n+24,r.baseOffset),l(n+32,r.alternateOffset)}return n}(g),g}(Yi(e))?.isoPayload??null}function $i(e,t){for(let r of xi(e)){if(r.start<t)continue;let n=Qi(e.subarray(r.start,r.start+r.size));if(n&&n.length<65536)return{start:r.start,metadata:n}}if(!Sd.test(Yi(e)))return null;for(let r of function*(e,t){for(let r=t,n=0;r+2<e.length&&n<8;r+=65536){let t=e.subarray(r,Math.min(e.length,r+65536+2));for(let e=0;e+2<t.length&&n<8;e++)255===t[e]&&216===t[e+1]&&255===t[e+2]&&(n++,yield r+e)}}(e,t)){let t=Qi(e.subarray(r));if(t&&t.length<65536)return{start:r,metadata:t}}return null}function eo(){if(!Bd){Bd=(new TextEncoder).encode('timedownlifeleftbackcodedatashowonlysitecityopenjustlikefreeworktextyearoverbodyloveformbookplaylivelinehelphomesidemorewordlongthemviewfindpagedaysfullheadtermeachareafromtruemarkableuponhighdatelandnewsevennextcasebothpostusedmadehandherewhatnameLinkblogsizebaseheldmakemainuser\') +holdendswithNewsreadweresigntakehavegameseencallpathwellplusmenufilmpartjointhislistgoodneedwayswestjobsmindalsologorichuseslastteamarmyfoodkingwilleastwardbestfirePageknowaway.pngmovethanloadgiveselfnotemuchfeedmanyrockicononcelookhidediedHomerulehostajaxinfoclublawslesshalfsomesuchzone100%onescareTimeracebluefourweekfacehopegavehardlostwhenparkkeptpassshiproomHTMLplanTypedonesavekeepflaglinksoldfivetookratetownjumpthusdarkcardfilefearstaykillthatfallautoever.comtalkshopvotedeepmoderestturnbornbandfellroseurl(skinrolecomeactsagesmeetgold.jpgitemvaryfeltthensenddropViewcopy1.0"</a>stopelseliestourpack.gifpastcss?graymean>rideshotlatesaidroadvar feeljohnrickportfast\'UA-dead</b>poorbilltypeU.S.woodmust2px;Inforankwidewantwalllead[0];paulwavesure$(\'#waitmassarmsgoesgainlangpaid!-- lockunitrootwalkfirmwifexml"songtest20pxkindrowstoolfontmailsafestarmapscorerainflowbabyspansays4px;6px;artsfootrealwikiheatsteptriporg/lakeweaktoldFormcastfansbankveryrunsjulytask1px;goalgrewslowedgeid="sets5px;.js?40pxif (soonseatnonetubezerosentreedfactintogiftharm18pxcamehillboldzoomvoideasyringfillpeakinitcost3px;jacktagsbitsrolleditknewnear\x3c!--growJSONdutyNamesaleyou lotspainjazzcoldeyesfishwww.risktabsprev10pxrise25pxBlueding300,ballfordearnwildbox.fairlackverspairjunetechif(!pickevil$("#warmlorddoespull,000ideadrawhugespotfundburnhrefcellkeystickhourlossfuel12pxsuitdealRSS"agedgreyGET"easeaimsgirlaids8px;navygridtips#999warsladycars); }php?helltallwhomzh:?*/\r\n 100hall.\n\nA7px;pushchat0px;crew*/</hash75pxflatrare && tellcampontolaidmissskiptentfinemalegetsplot400,\r\n\r\ncoolfeet.php<br>ericmostguidbelldeschairmathatom/imgRluckcent000;tinygonehtmlselldrugFREEnodenick?id=losenullvastwindRSS wearrelybeensamedukenasacapewishgulfT23:hitsslotgatekickblurthey15px\'\'););">msiewinsbirdsortbetaseekT18:ordstreemall60pxfarm’sboys[0].\');"POSTbearkids);}}marytend(UK)quadzh:?-siz----prop\');\rliftT19:viceandydebt>RSSpoolneckblowT16:doorevalT17:letsfailoralpollnovacolsgene —softrometillross<h3>pourfadepink<tr>mini)|!(minezh:?barshear00);milk --\x3eironfreddiskwentsoilputs/js/holyT22:ISBNT20:adamsees<h2>json\', \'contT21: RSSloopasiamoon</p>soulLINEfortcartT14:<h1>80px!--<9px;T04:mike:46ZniceinchYorkricezh:?\'));puremageparatonebond:37Z_of_\']);000,zh:?tankyardbowlbush:56ZJava30px\n|}\n%C3%:34ZjeffEXPIcashvisagolfsnowzh:?quer.csssickmeatmin.binddellhirepicsrent:36ZHTTP-201fotowolfEND xbox:54ZBODYdick;\n}\nexit:35Zvarsbeat\'});diet999;anne}}</[i].Langkm²wiretoysaddssealalex;\n\t}echonine.org005)tonyjewssandlegsroof000) 200winegeardogsbootgarycutstyletemption.xmlcockgang$(\'.50pxPh.Dmiscalanloandeskmileryanunixdisc);}\ndustclip).\n\n70px-200DVDs7]><tapedemoi++)wageeurophiloptsholeFAQsasin-26TlabspetsURL bulkcook;}\r\nHEAD[0])abbrjuan(198leshtwin</i>sonyguysfuckpipe|-\n!002)ndow[1];[];\nLog salt\r\n\t\tbangtrimbath){\r\n00px\n});ko:?feesad>\rs:// [];tollplug(){\n{\r\n .js\'200pdualboat.JPG);\n}quot);\n\n\');\n\r\n}\r201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037201320122011201020092008200720062005200420032002200120001999199819971996199519941993199219911990198919881987198619851984198319821981198019791978197719761975197419731972197119701969196819671966196519641963196219611960195919581957195619551954195319521951195010001024139400009999comomásesteestaperotodohacecadaañobiendíaasívidacasootroforosolootracualdijosidograntipotemadebealgoquéestonadatrespococasabajotodasinoaguapuesunosantediceluisellamayozonaamorpisoobraclicellodioshoracasiзанаомрарутанепоотизнодотожеонихНаеебымыВысовывоНообПолиниРФНеМытыОнимдаЗаДаНуОбтеИзейнуммТыужفيأنمامعكلأورديافىهولملكاولهبسالإنهيأيقدهلثمبهلوليبلايبكشيامأمنتبيلنحبهممشوشfirstvideolightworldmediawhitecloseblackrightsmallbooksplacemusicfieldorderpointvalueleveltableboardhousegroupworksyearsstatetodaywaterstartstyledeathpowerphonenighterrorinputabouttermstitletoolseventlocaltimeslargewordsgamesshortspacefocusclearmodelblockguideradiosharewomenagainmoneyimagenamesyounglineslatercolorgreenfront&watchforcepricerulesbeginaftervisitissueareasbelowindextotalhourslabelprintpressbuiltlinksspeedstudytradefoundsenseundershownformsrangeaddedstillmovedtakenaboveflashfixedoftenotherviewschecklegalriveritemsquickshapehumanexistgoingmoviethirdbasicpeacestagewidthloginideaswrotepagesusersdrivestorebreaksouthvoicesitesmonthwherebuildwhichearthforumthreesportpartyClicklowerlivesclasslayerentrystoryusagesoundcourtyour birthpopuptypesapplyImagebeinguppernoteseveryshowsmeansextramatchtrackknownearlybegansuperpapernorthlearngivennamedendedTermspartsGroupbrandusingwomanfalsereadyaudiotakeswhile.com/livedcasesdailychildgreatjudgethoseunitsneverbroadcoastcoverapplefilescyclesceneplansclickwritequeenpieceemailframeolderphotolimitcachecivilscaleenterthemetheretouchboundroyalaskedwholesincestock namefaithheartemptyofferscopeownedmightalbumthinkbloodarraymajortrustcanonunioncountvalidstoneStyleLoginhappyoccurleft:freshquitefilmsgradeneedsurbanfightbasishoverauto;route.htmlmixedfinalYour slidetopicbrownalonedrawnsplitreachRightdatesmarchquotegoodsLinksdoubtasyncthumballowchiefyouthnovel10px;serveuntilhandsCheckSpacequeryjamesequaltwice0,000Startpanelsongsroundeightshiftworthpostsleadsweeksavoidthesemilesplanesmartalphaplantmarksratesplaysclaimsalestextsstarswrong</h3>thing.org/multiheardPowerstandtokensolid(thisbringshipsstafftriedcallsfullyfactsagentThis //--\x3eadminegyptEvent15px;Emailtrue"crossspentblogsbox">notedleavechinasizesguest</h4>robotheavytrue,sevengrandcrimesignsawaredancephase>\x3c!--en_US'200px_namelatinenjoyajax.ationsmithU.S. holdspeterindianav">chainscorecomesdoingpriorShare1990sromanlistsjapanfallstrialowneragree</h2>abusealertopera"-//WcardshillsteamsPhototruthclean.php?saintmetallouismeantproofbriefrow">genretrucklooksValueFrame.net/--\x3e\n<try {\nvar makescostsplainadultquesttrainlaborhelpscausemagicmotortheir250pxleaststepsCountcouldglasssidesfundshotelawardmouthmovesparisgivesdutchtexasfruitnull,||[];top">\n\x3c!--POST"ocean<br/>floorspeakdepth sizebankscatchchart20px;aligndealswould50px;url="parksmouseMost ...</amongbrainbody none;basedcarrydraftreferpage_home.meterdelaydreamprovejoint</tr>drugs\x3c!-- aprilidealallenexactforthcodeslogicView seemsblankports (200saved_linkgoalsgrantgreekhomesringsrated30px;whoseparse();" Blocklinuxjonespixel\');">);if(-leftdavidhorseFocusraiseboxesTrackement</em>bar">.src=toweralt="cablehenry24px;setupitalysharpminortastewantsthis.resetwheelgirls/css/100%;clubsstuffbiblevotes 1000korea});\r\nbandsqueue= {};80px;cking{\r\n\t\taheadclockirishlike ratiostatsForm"yahoo)[0];Aboutfinds</h1>debugtasksURL =cells})();12px;primetellsturns0x600.jpg"spainbeachtaxesmicroangel--\x3e</giftssteve-linkbody.});\n\tmount (199FAQ</rogerfrankClass28px;feeds<h1><scotttests22px;drink) || lewisshall#039; for lovedwaste00px;ja:??simon<fontreplymeetsuntercheaptightBrand) != dressclipsroomsonkeymobilmain.Name platefunnytreescom/"1.jpgwmodeparamSTARTleft idden, 201);\n}\nform.viruschairtransworstPagesitionpatch\x3c!--\no-cacfirmstours,000 asiani++){adobe\')[0]id=10both;menu .2.mi.png"kevincoachChildbruce2.jpgURL)+.jpg|suitesliceharry120" sweettr>\r\nname=diegopage swiss--\x3e\n\n#fff;">Log.com"treatsheet) && 14px;sleepntentfiledja:??id="cName"worseshots-box-delta\n<bears:48Z<data-rural</a> spendbakershops= "";php">ction13px;brianhellosize=o=%2F joinmaybe<img img">, fjsimg" ")[0]MTopBType"newlyDanskczechtrailknows</h5>faq">zh-cn10);\n-1");type=bluestrulydavis.js\';>\r\n<!steel you h2>\r\nform jesus100% menu.\r\n\t\r\nwalesrisksumentddingb-likteachgif" vegasdanskeestishqipsuomisobredesdeentretodospuedeañosestátienehastaotrospartedondenuevohacerformamismomejormundoaquídíassóloayudafechatodastantomenosdatosotrassitiomuchoahoralugarmayorestoshorastenerantesfotosestaspaísnuevasaludforosmedioquienmesespoderchileserávecesdecirjoséestarventagrupohechoellostengoamigocosasnivelgentemismaairesjuliotemashaciafavorjuniolibrepuntobuenoautorabrilbuenatextomarzosaberlistaluegocómoenerojuegoperúhaberestoynuncamujervalorfueralibrogustaigualvotoscasosguíapuedosomosavisousteddebennochebuscafaltaeurosseriedichocursoclavecasasleónplazolargoobrasvistaapoyojuntotratavistocrearcampohemoscincocargopisosordenhacenáreadiscopedrocercapuedapapelmenorútilclarojorgecalleponertardenadiemarcasigueellassiglocochemotosmadreclaserestoniñoquedapasarbancohijosviajepabloéstevienereinodejarfondocanalnorteletracausatomarmanoslunesautosvillavendopesartipostengamarcollevapadreunidovamoszonasambosbandamariaabusomuchasubirriojavivirgradochicaallíjovendichaestantalessalirsuelopesosfinesllamabuscoéstalleganegroplazahumorpagarjuntadobleislasbolsabañohablaluchaÁreadicenjugarnotasvalleallácargadolorabajoestégustomentemariofirmacostofichaplatahogarartesleyesaquelmuseobasespocosmitadcielochicomiedoganarsantoetapadebesplayaredessietecortecoreadudasdeseoviejodeseaaguas"domaincommonstatuseventsmastersystemactionbannerremovescrollupdateglobalmediumfilternumberchangeresultpublicscreenchoosenormaltravelissuessourcetargetspringmodulemobileswitchphotosborderregionitselfsocialactivecolumnrecordfollowtitle>eitherlengthfamilyfriendlayoutauthorcreatereviewsummerserverplayedplayerexpandpolicyformatdoublepointsseriespersonlivingdesignmonthsforcesuniqueweightpeopleenergynaturesearchfigurehavingcustomoffsetletterwindowsubmitrendergroupsuploadhealthmethodvideosschoolfutureshadowdebatevaluesObjectothersrightsleaguechromesimplenoticesharedendingseasonreportonlinesquarebuttonimagesenablemovinglatestwinterFranceperiodstrongrepeatLondondetailformeddemandsecurepassedtoggleplacesdevicestaticcitiesstreamyellowattackstreetflighthiddeninfo">openedusefulvalleycausesleadersecretseconddamagesportsexceptratingsignedthingseffectfieldsstatesofficevisualeditorvolumeReportmuseummoviesparentaccessmostlymother" id="marketgroundchancesurveybeforesymbolmomentspeechmotioninsidematterCenterobjectexistsmiddleEuropegrowthlegacymannerenoughcareeransweroriginportalclientselectrandomclosedtopicscomingfatheroptionsimplyraisedescapechosenchurchdefinereasoncorneroutputmemoryiframepolicemodelsNumberduringoffersstyleskilledlistedcalledsilvermargindeletebetterbrowselimitsGlobalsinglewidgetcenterbudgetnowrapcreditclaimsenginesafetychoicespirit-stylespreadmakingneededrussiapleaseextentScriptbrokenallowschargedividefactormember-basedtheoryconfigaroundworkedhelpedChurchimpactshouldalwayslogo" bottomlist">){var prefixorangeHeader.push(couplegardenbridgelaunchReviewtakingvisionlittledatingButtonbeautythemesforgotSearchanchoralmostloadedChangereturnstringreloadMobileincomesupplySourceordersviewed courseAbout island<html cookiename="amazonmodernadvicein</a>: The dialoghousesBEGIN MexicostartscentreheightaddingIslandassetsEmpireSchooleffortdirectnearlymanualSelect.\n\nOnejoinedmenu">PhilipawardshandleimportOfficeregardskillsnationSportsdegreeweekly (e.g.behinddoctorloggedunited</b></beginsplantsassistartistissued300px|canadaagencyschemeremainBrazilsamplelogo">beyond-scaleacceptservedmarineFootercamera</h1>\n_form"leavesstress" />\r\n.gif" onloadloaderOxfordsistersurvivlistenfemaleDesignsize="appealtext">levelsthankshigherforcedanimalanyoneAfricaagreedrecentPeople<br />wonderpricesturned|| {};main">inlinesundaywrap">failedcensusminutebeaconquotes150px|estateremoteemail"linkedright;signalformal1.htmlsignupprincefloat:.png" forum.AccesspaperssoundsextendHeightsliderUTF-8"& Before. WithstudioownersmanageprofitjQueryannualparamsboughtfamousgooglelongeri++) {israelsayingdecidehome">headerensurebranchpiecesblock;statedtop"><racingresize-->pacitysexualbureau.jpg" 10,000obtaintitlesamount, Inc.comedymenu" lyricstoday.indeedcounty_logo.FamilylookedMarketlse ifPlayerturkey);var forestgivingerrorsDomain}else{insertBlog</footerlogin.fasteragents<body 10px 0pragmafridayjuniordollarplacedcoversplugin5,000 page">boston.test(avatartested_countforumsschemaindex,filledsharesreaderalert(appearSubmitline">body">\n* TheThoughseeingjerseyNews</verifyexpertinjurywidth=CookieSTART across_imagethreadnativepocketbox">\nSystem DavidcancertablesprovedApril reallydriveritem">more">boardscolorscampusfirst || [];media.guitarfinishwidth:showedOther .php" assumelayerswilsonstoresreliefswedenCustomeasily your String\n\nWhiltaylorclear:resortfrenchthough") + "<body>buyingbrandsMembername">oppingsector5px;">vspacepostermajor coffeemartinmaturehappen</nav>kansaslink">Images=falsewhile hspace0& \n\nIn powerPolski-colorjordanBottomStart -count2.htmlnews">01.jpgOnline-rightmillerseniorISBN 00,000 guidesvalue)ectionrepair.xml" rights.html-blockregExp:hoverwithinvirginphones</tr>\rusing \n\tvar >\');\n\t</td>\n</tr>\nbahasabrasilgalegomagyarpolskisrpskiردو中文简体繁體信息中国我们一个公司管理论坛可以服务时间个人产品自己企业查看工作联系没有网站所有评论中心文章用户首页作者技术问题相关下载搜索使用软件在线主题资料视频回复注册网络收藏内容推荐市场消息空间发布什么好友生活图片发展如果手机新闻最新方式北京提供关于更多这个系统知道游戏广告其他发表安全第一会员进行点击版权电子世界设计免费教育加入活动他们商品博客现在上海如何已经留言详细社区登录本站需要价格支持国际链接国家建设朋友阅读法律位置经济选择这样当前分类排行因为交易最后音乐不能通过行业科技可能设备合作大家社会研究专业全部项目这里还是开始情况电脑文件品牌帮助文化资源大学学习地址浏览投资工程要求怎么时候功能主要目前资讯城市方法电影招聘声明任何健康数据美国汽车介绍但是交流生产所以电话显示一些单位人员分析地图旅游工具学生系列网友帖子密码频道控制地区基本全国网上重要第二喜欢进入友情这些考试发现培训以上政府成为环境香港同时娱乐发送一定开发作品标准欢迎解决地方一下以及责任或者客户代表积分女人数码销售出现离线应用列表不同编辑统计查询不要有关机构很多播放组织政策直接能力来源時間看到热门关键专区非常英语百度希望美女比较知识规定建议部门意见精彩日本提高发言方面基金处理权限影片银行还有分享物品经营添加专家这种话题起来业务公告记录简介质量男人影响引用报告部分快速咨询时尚注意申请学校应该历史只是返回购买名称为了成功说明供应孩子专题程序一般會員只有其它保护而且今天窗口动态状态特别认为必须更新小说我們作为媒体包括那么一样国内是否根据电视学院具有过程由于人才出来不过正在明星故事关系标题商务输入一直基础教学了解建筑结果全球通知计划对于艺术相册发生真的建立等级类型经验实现制作来自标签以下原创无法其中個人一切指南关闭集团第三关注因此照片深圳商业广州日期高级最近综合表示专辑行为交通评价觉得精华家庭完成感觉安装得到邮件制度食品虽然转载报价记者方案行政人民用品东西提出酒店然后付款热点以前完全发帖设置领导工业医院看看经典原因平台各种增加材料新增之后职业效果今年论文我国告诉版主修改参与打印快乐机械观点存在精神获得利用继续你们这么模式语言能够雅虎操作风格一起科学体育短信条件治疗运动产业会议导航先生联盟可是問題结构作用调查資料自动负责农业访问实施接受讨论那个反馈加强女性范围服務休闲今日客服觀看参加的话一点保证图书有效测试移动才能决定股票不断需求不得办法之间采用营销投诉目标爱情摄影有些複製文学机会数字装修购物农村全面精品其实事情水平提示上市谢谢普通教师上传类别歌曲拥有创新配件只要时代資訊达到人生订阅老师展示心理贴子網站主題自然级别简单改革那些来说打开代码删除证券节目重点次數多少规划资金找到以后大全主页最佳回答天下保障现代检查投票小时沒有正常甚至代理目录公开复制金融幸福版本形成准备行情回到思想怎样协议认证最好产生按照服装广东动漫采购新手组图面板参考政治容易天地努力人们升级速度人物调整流行造成文字韩国贸易开展相關表现影视如此美容大小报道条款心情许多法规家居书店连接立即举报技巧奥运登入以来理论事件自由中华办公妈妈真正不错全文合同价值别人监督具体世纪团队创业承担增长有人保持商家维修台湾左右股份答案实际电信经理生命宣传任务正式特色下来协会只能当然重新內容指导运行日志賣家超过土地浙江支付推出站长杭州执行制造之一推广现场描述变化传统歌手保险课程医疗经过过去之前收入年度杂志美丽最高登陆未来加工免责教程版块身体重庆出售成本形式土豆出價东方邮箱南京求职取得职位相信页面分钟网页确定图例网址积极错误目的宝贝机关风险授权病毒宠物除了評論疾病及时求购站点儿童每天中央认识每个天津字体台灣维护本页个性官方常见相机战略应当律师方便校园股市房屋栏目员工导致突然道具本网结合档案劳动另外美元引起改变第四会计說明隐私宝宝规范消费共同忘记体系带来名字發表开放加盟受到二手大量成人数量共享区域女孩原则所在结束通信超级配置当时优秀性感房产遊戲出口提交就业保健程度参数事业整个山东情感特殊分類搜尋属于门户财务声音及其财经坚持干部成立利益考虑成都包装用戶比赛文明招商完整真是眼睛伙伴威望领域卫生优惠論壇公共良好充分符合附件特点不可英文资产根本明显密碼公众民族更加享受同学启动适合原来问答本文美食绿色稳定终于生物供求搜狐力量严重永远写真有限竞争对象费用不好绝对十分促进点评影音优势不少欣赏并且有点方向全新信用设施形象资格突破随着重大于是毕业智能化工完美商城统一出版打造產品概况用于保留因素中國存储贴图最愛长期口价理财基地安排武汉里面创建天空首先完善驱动下面不再诚信意义阳光英国漂亮军事玩家群众农民即可名稱家具动画想到注明小学性能考研硬件观看清楚搞笑首頁黄金适用江苏真实主管阶段註冊翻译权利做好似乎通讯施工狀態也许环保培养概念大型机票理解匿名cuandoenviarmadridbuscariniciotiempoporquecuentaestadopuedenjuegoscontraestánnombretienenperfilmaneraamigosciudadcentroaunquepuedesdentroprimerpreciosegúnbuenosvolverpuntossemanahabíaagostonuevosunidoscarlosequiponiñosmuchosalgunacorreoimagenpartirarribamaríahombreempleoverdadcambiomuchasfueronpasadolíneaparecenuevascursosestabaquierolibroscuantoaccesomiguelvarioscuatrotienesgruposseráneuropamediosfrenteacercademásofertacochesmodeloitalialetrasalgúncompracualesexistecuerposiendoprensallegarviajesdineromurciapodrápuestodiariopuebloquieremanuelpropiocrisisciertoseguromuertefuentecerrargrandeefectopartesmedidapropiaofrecetierrae-mailvariasformasfuturoobjetoseguirriesgonormasmismosúnicocaminositiosrazóndebidopruebatoledoteníajesúsesperococinaorigentiendacientocádizhablarseríalatinafuerzaestiloguerraentraréxitolópezagendavídeoevitarpaginametrosjavierpadresfácilcabezaáreassalidaenvíojapónabusosbienestextosllevarpuedanfuertecomúnclaseshumanotenidobilbaounidadestáseditarcreadoдлячтокакилиэтовсеегопритакещеужеКакбезбылониВсеподЭтотомчемнетлетразонагдемнеДляПринаснихтемктогодвоттамСШАмаяЧтовасвамемуТакдванамэтиэтуВамтехпротутнаддняВоттринейВаснимсамтотрубОнимирнееОООлицэтаОнанемдоммойдвеоносудकेहैकीसेकाकोऔरपरनेएककिभीइसकरतोहोआपहीयहयातकथाjagranआजजोअबदोगईजागएहमइनवहयेथेथीघरजबदीकईजीवेनईनएहरउसमेकमवोलेसबमईदेओरआमबसभरबनचलमनआगसीलीعلىإلىهذاآخرعددالىهذهصورغيركانولابينعرضذلكهنايومقالعليانالكنحتىقبلوحةاخرفقطعبدركنإذاكمااحدإلافيهبعضكيفبحثومنوهوأناجدالهاسلمعندليسعبرصلىمنذبهاأنهمثلكنتالاحيثمصرشرححولوفياذالكلمرةانتالفأبوخاصأنتانهاليعضووقدابنخيربنتلكمشاءوهيابوقصصومارقمأحدنحنعدمرأياحةكتبدونيجبمنهتحتجهةسنةيتمكرةغزةنفسبيتللهلناتلكقلبلماعنهأولشيءنورأمافيكبكلذاترتببأنهمسانكبيعفقدحسنلهمشعرأهلشهرقطرطلبprofileservicedefaulthimselfdetailscontentsupportstartedmessagesuccessfashion<title>countryaccountcreatedstoriesresultsrunningprocesswritingobjectsvisiblewelcomearticleunknownnetworkcompanydynamicbrowserprivacyproblemServicerespectdisplayrequestreservewebsitehistoryfriendsoptionsworkingversionmillionchannelwindow.addressvisitedweathercorrectproductedirectforwardyou canremovedsubjectcontrolarchivecurrentreadinglibrarylimitedmanagerfurthersummarymachineminutesprivatecontextprogramsocietynumberswrittenenabledtriggersourcesloadingelementpartnerfinallyperfectmeaningsystemskeepingculture",journalprojectsurfaces"expiresreviewsbalanceEnglishContentthroughPlease opinioncontactaverageprimaryvillageSpanishgallerydeclinemeetingmissionpopularqualitymeasuregeneralspeciessessionsectionwriterscounterinitialreportsfiguresmembersholdingdisputeearlierexpressdigitalpictureAnothermarriedtrafficleadingchangedcentralvictoryimages/reasonsstudiesfeaturelistingmust beschoolsVersionusuallyepisodeplayinggrowingobviousoverlaypresentactions</ul>\r\nwrapperalreadycertainrealitystorageanotherdesktopofferedpatternunusualDigitalcapitalWebsitefailureconnectreducedAndroiddecadesregular & animalsreleaseAutomatgettingmethodsnothingPopularcaptionletterscapturesciencelicensechangesEngland=1&History = new CentralupdatedSpecialNetworkrequirecommentwarningCollegetoolbarremainsbecauseelectedDeutschfinanceworkersquicklybetweenexactlysettingdiseaseSocietyweaponsexhibit<!--Controlclassescoveredoutlineattacksdevices(windowpurposetitle="Mobile killingshowingItaliandroppedheavilyeffects-1\']);\nconfirmCurrentadvancesharingopeningdrawingbillionorderedGermanyrelated</form>includewhetherdefinedSciencecatalogArticlebuttonslargestuniformjourneysidebarChicagoholidayGeneralpassage,"animatefeelingarrivedpassingnaturalroughly.\n\nThe but notdensityBritainChineselack oftributeIreland" data-factorsreceivethat isLibraryhusbandin factaffairsCharlesradicalbroughtfindinglanding:lang="return leadersplannedpremiumpackageAmericaEdition]"Messageneed tovalue="complexlookingstationbelievesmaller-mobilerecordswant tokind ofFirefoxyou aresimilarstudiedmaximumheadingrapidlyclimatekingdomemergedamountsfoundedpioneerformuladynastyhow to SupportrevenueeconomyResultsbrothersoldierlargelycalling."AccountEdward segmentRobert effortsPacificlearnedup withheight:we haveAngelesnations_searchappliedacquiremassivegranted: falsetreatedbiggestbenefitdrivingStudiesminimumperhapsmorningsellingis usedreversevariant role="missingachievepromotestudentsomeoneextremerestorebottom:evolvedall thesitemapenglishway to AugustsymbolsCompanymattersmusicalagainstserving})();\r\npaymenttroubleconceptcompareparentsplayersregionsmonitor \'\'The winningexploreadaptedGalleryproduceabilityenhancecareers). The collectSearch ancientexistedfooter handlerprintedconsoleEasternexportswindowsChannelillegalneutralsuggest_headersigning.html">settledwesterncausing-webkitclaimedJusticechaptervictimsThomas mozillapromisepartieseditionoutside:false,hundredOlympic_buttonauthorsreachedchronicdemandssecondsprotectadoptedprepareneithergreatlygreateroverallimprovecommandspecialsearch.worshipfundingthoughthighestinsteadutilityquarterCulturetestingclearlyexposedBrowserliberal} catchProjectexamplehide();FloridaanswersallowedEmperordefenseseriousfreedomSeveral-buttonFurtherout of != nulltrainedDenmarkvoid(0)/all.jspreventRequestStephen\n\nWhen observe</h2>\r\nModern provide" alt="borders.\n\nFor \n\nMany artistspoweredperformfictiontype ofmedicalticketsopposedCouncilwitnessjusticeGeorge Belgium...</a>twitternotablywaitingwarfare Other rankingphrasesmentionsurvivescholar</p>\r\n Countryignoredloss ofjust asGeorgiastrange<head><stopped1\']);\r\nislandsnotableborder:list ofcarried100,000</h3>\n severalbecomesselect wedding00.htmlmonarchoff theteacherhighly biologylife ofor evenrise of»plusonehunting(thoughDouglasjoiningcirclesFor theAncientVietnamvehiclesuch ascrystalvalue =Windowsenjoyeda smallassumed<a id="foreign All rihow theDisplayretiredhoweverhidden;battlesseekingcabinetwas notlook atconductget theJanuaryhappensturninga:hoverOnline French lackingtypicalextractenemieseven ifgeneratdecidedare not/searchbeliefs-image:locatedstatic.login">convertviolententeredfirst">circuitFinlandchemistshe was10px;">as suchdivided</span>will beline ofa greatmystery/index.fallingdue to railwaycollegemonsterdescentit withnuclearJewish protestBritishflowerspredictreformsbutton who waslectureinstantsuicidegenericperiodsmarketsSocial fishingcombinegraphicwinners<br /><by the NaturalPrivacycookiesoutcomeresolveSwedishbrieflyPersianso muchCenturydepictscolumnshousingscriptsnext tobearingmappingrevisedjQuery(-width:title">tooltipSectiondesignsTurkishyounger.match(})();\n\nburningoperatedegreessource=Richardcloselyplasticentries</tr>\r\ncolor:#ul id="possessrollingphysicsfailingexecutecontestlink toDefault<br />\n: true,chartertourismclassicproceedexplain</h1>\r\nonline.?xml vehelpingdiamonduse theairlineend --\x3e).attr(readershosting#ffffffrealizeVincentsignals src="/ProductdespitediversetellingPublic held inJoseph theatreaffects<style>a largedoesn\'tlater, ElementfaviconcreatorHungaryAirportsee theso thatMichaelSystemsPrograms, and width=e"tradingleft">\npersonsGolden Affairsgrammarformingdestroyidea ofcase ofoldest this is.src = cartoonregistrCommonsMuslimsWhat isin manymarkingrevealsIndeed,equally/show_aoutdoorescape(Austriageneticsystem,In the sittingHe alsoIslandsAcademy\n\t\t\x3c!--Daniel bindingblock">imposedutilizeAbraham(except{width:putting).html(|| [];\nDATA[ *kitchenmountedactual dialectmainly _blank\'installexpertsif(typeIt also© ">Termsborn inOptionseasterntalkingconcerngained ongoingjustifycriticsfactoryits ownassaultinvitedlastinghis ownhref="/" rel="developconcertdiagramdollarsclusterphp?id=alcohol);})();using a><span>vesselsrevivalAddressamateurandroidallegedillnesswalkingcentersqualifymatchesunifiedextinctDefensedied in\n\t\x3c!-- customslinkingLittle Book ofeveningmin.js?are thekontakttoday\'s.html" target=wearingAll Rig;\n})();raising Also, crucialabout">declare--\x3e\n<scfirefoxas muchappliesindex, s, but type = \n\r\n\x3c!--towardsRecordsPrivateForeignPremierchoicesVirtualreturnsCommentPoweredinline;povertychamberLiving volumesAnthonylogin" RelatedEconomyreachescuttinggravitylife inChapter-shadowNotable</td>\r\n returnstadiumwidgetsvaryingtravelsheld bywho arework infacultyangularwho hadairporttown of\n\nSome \'click\'chargeskeywordit willcity of(this);Andrew unique checkedor more300px; return;rsion="pluginswithin herselfStationFederalventurepublishsent totensionactresscome tofingersDuke ofpeople,exploitwhat isharmonya major":"httpin his menu">\nmonthlyofficercouncilgainingeven inSummarydate ofloyaltyfitnessand wasemperorsupremeSecond hearingRussianlongestAlbertalateralset of small">.appenddo withfederalbank ofbeneathDespiteCapitalgrounds), and percentit fromclosingcontainInsteadfifteenas well.yahoo.respondfighterobscurereflectorganic= Math.editingonline paddinga wholeonerroryear ofend of barrierwhen itheader home ofresumedrenamedstrong>heatingretainscloudfrway of March 1knowingin partBetweenlessonsclosestvirtuallinks">crossedEND --\x3efamous awardedLicenseHealth fairly wealthyminimalAfricancompetelabel">singingfarmersBrasil)discussreplaceGregoryfont copursuedappearsmake uproundedboth ofblockedsaw theofficescoloursif(docuwhen heenforcepush(fuAugust UTF-8">Fantasyin mostinjuredUsuallyfarmingclosureobject defenceuse of Medical<body>\nevidentbe usedkeyCodesixteenIslamic#000000entire widely active (typeofone cancolor =speakerextendsPhysicsterrain<tbody>funeralviewingmiddle cricketprophetshifteddoctorsRussell targetcompactalgebrasocial-bulk ofman and</td>\n he left).val()false);logicalbankinghome tonaming Arizonacredits);\n});\nfounderin turnCollinsbefore But thechargedTitle">CaptainspelledgoddessTag --\x3eAdding:but wasRecent patientback in=false&Lincolnwe knowCounterJudaismscript altered\']);\n has theunclearEvent\',both innot all\n\n\x3c!-- placinghard to centersort ofclientsstreetsBernardassertstend tofantasydown inharbourFreedomjewelry/about..searchlegendsis mademodern only ononly toimage" linear painterand notrarely acronymdelivershorter00&as manywidth="/* <![Ctitle =of the lowest picked escapeduses ofpeoples PublicMatthewtacticsdamagedway forlaws ofeasy to windowstrong simple}catch(seventhinfoboxwent topaintedcitizenI don\'tretreat. Some ww.");\nbombingmailto:made in. Many carries||{};wiwork ofsynonymdefeatsfavoredopticalpageTraunless sendingleft"><comScorAll thejQuery.touristClassicfalse" Wilhelmsuburbsgenuinebishops.split(global followsbody ofnominalContactsecularleft tochiefly-hidden-banner</li>\n\n. When in bothdismissExplorealways via thespañolwelfareruling arrangecaptainhis sonrule ofhe tookitself,=0&(calledsamplesto makecom/pagMartin Kennedyacceptsfull ofhandledBesides//--\x3e</able totargetsessencehim to its by common.mineralto takeways tos.org/ladvisedpenaltysimple:if theyLettersa shortHerbertstrikes groups.lengthflightsoverlapslowly lesser social </p>\n\t\tit intoranked rate oful>\r\n attemptpair ofmake itKontaktAntoniohaving ratings activestreamstrapped").css(hostilelead tolittle groups,Picture--\x3e\r\n\r\n rows=" objectinverse<footerCustomV><\\/scrsolvingChamberslaverywoundedwhereas!= \'undfor allpartly -right:Arabianbacked centuryunit ofmobile-Europe,is homerisk ofdesiredClintoncost ofage of become none ofp"Middle ead\')[0Criticsstudios>©group">assemblmaking pressedwidget.ps:" ? rebuiltby someFormer editorsdelayedCanonichad thepushingclass="but arepartialBabylonbottom carrierCommandits useAs withcoursesa thirddenotesalso inHouston20px;">accuseddouble goal ofFamous ).bind(priests Onlinein Julyst + "gconsultdecimalhelpfulrevivedis veryr\'+\'iptlosing femalesis alsostringsdays ofarrivalfuture <objectforcingString(" />\n\t\there isencoded. The balloondone by/commonbgcolorlaw of Indianaavoidedbut the2px 3pxjquery.after apolicy.men andfooter-= true;for usescreen.Indian image =family,http:// driverseternalsame asnoticedviewers})();\n is moreseasonsformer the newis justconsent Searchwas thewhy theshippedbr><br>width: height=made ofcuisineis thata very Admiral fixed;normal MissionPress, ontariocharsettry to invaded="true"spacingis mosta more totallyfall of});\r\n immensetime inset outsatisfyto finddown tolot of Playersin Junequantumnot thetime todistantFinnishsrc = (single help ofGerman law andlabeledforestscookingspace">header-well asStanleybridges/globalCroatia About [0];\n it, andgroupedbeing a){throwhe madelighterethicalFFFFFF"bottom"like a employslive inas seenprintermost ofub-linkrejectsand useimage">succeedfeedingNuclearinformato helpWomen\'sNeitherMexicanprotein<table by manyhealthylawsuitdevised.push({sellerssimply Through.cookie Image(older">us.js"> Since universlarger open to!-- endlies in\']);\r\n marketwho is ("DOMComanagedone fortypeof Kingdomprofitsproposeto showcenter;made itdressedwere inmixtureprecisearisingsrc = \'make a securedBaptistvoting \n\t\tvar March 2grew upClimate.removeskilledway the</head>face ofacting right">to workreduceshas haderectedshow();action=book ofan area== "htt<header\n<html>conformfacing cookie.rely onhosted .customhe wentbut forspread Family a meansout theforums.footage">MobilClements" id="as highintense--\x3e\x3c!--female is seenimpliedset thea stateand hisfastestbesidesbutton_bounded"><img Infoboxevents,a youngand areNative cheaperTimeoutand hasengineswon the(mostlyright: find a -bottomPrince area ofmore ofsearch_nature,legallyperiod,land ofor withinducedprovingmissilelocallyAgainstthe wayk"px;">\r\npushed abandonnumeralCertainIn thismore inor somename isand, incrownedISBN 0-createsOctobermay notcenter late inDefenceenactedwish tobroadlycoolingonload=it. TherecoverMembersheight assumes<html>\npeople.in one =windowfooter_a good reklamaothers,to this_cookiepanel">London,definescrushedbaptismcoastalstatus title" move tolost inbetter impliesrivalryservers SystemPerhapses and contendflowinglasted rise inGenesisview ofrising seem tobut in backinghe willgiven agiving cities.flow of Later all butHighwayonly bysign ofhe doesdiffersbattery&lasinglesthreatsintegertake onrefusedcalled =US&See thenativesby thissystem.head of:hover,lesbiansurnameand allcommon/header__paramsHarvard/pixel.removalso longrole ofjointlyskyscraUnicodebr />\r\nAtlantanucleusCounty,purely count">easily build aonclicka givenpointerh"events else {\nditionsnow the, with man whoorg/Webone andcavalryHe diedseattle00,000 {windowhave toif(windand itssolely m"renewedDetroitamongsteither them inSenatorUs</a><King ofFrancis-produche usedart andhim andused byscoringat hometo haverelatesibilityfactionBuffalolink"><what hefree toCity ofcome insectorscountedone daynervoussquare };if(goin whatimg" alis onlysearch/tuesdaylooselySolomonsexual - <a hrmedium"DO NOT France,with a war andsecond take a >\r\n\r\n\r\nmarket.highwaydone inctivity"last">obligedrise to"undefimade to Early praisedin its for hisathleteJupiterYahoo! termed so manyreally s. The a woman?value=direct right" bicycleacing="day andstatingRather,higher Office are nowtimes, when a pay foron this-link">;borderaround annual the Newput the.com" takin toa brief(in thegroups.; widthenzymessimple in late{returntherapya pointbanninginks">\n();" rea place\\u003Caabout atr>\r\n\t\tccount gives a<SCRIPTRailwaythemes/toolboxById("xhumans,watchesin some if (wicoming formats Under but hashanded made bythan infear ofdenoted/iframeleft involtagein eacha"base ofIn manyundergoregimesaction </p>\r\n<ustomVa;></importsor thatmostly &re size="</a></ha classpassiveHost = WhetherfertileVarious=[];(fucameras/></td>acts asIn some>\r\n\r\n<!organis <br />Beijingcatalàdeutscheuropeueuskaragaeilgesvenskaespañamensajeusuariotrabajoméxicopáginasiempresistemaoctubreduranteañadirempresamomentonuestroprimeratravésgraciasnuestraprocesoestadoscalidadpersonanúmeroacuerdomúsicamiembroofertasalgunospaísesejemploderechoademásprivadoagregarenlacesposiblehotelessevillaprimeroúltimoeventosarchivoculturamujeresentradaanuncioembargomercadograndesestudiomejoresfebrerodiseñoturismocódigoportadaespaciofamiliaantoniopermiteguardaralgunaspreciosalguiensentidovisitastítuloconocersegundoconsejofranciaminutossegundatenemosefectosmálagasesiónrevistagranadacompraringresogarcíaacciónecuadorquienesinclusodeberámateriahombresmuestrapodríamañanaúltimaestamosoficialtambienningúnsaludospodemosmejorarpositionbusinesshomepagesecuritylanguagestandardcampaignfeaturescategoryexternalchildrenreservedresearchexchangefavoritetemplatemilitaryindustryservicesmaterialproductsz-index:commentssoftwarecompletecalendarplatformarticlesrequiredmovementquestionbuildingpoliticspossiblereligionphysicalfeedbackregisterpicturesdisabledprotocolaudiencesettingsactivityelementslearninganythingabstractprogressoverviewmagazineeconomictrainingpressurevarious <strong>propertyshoppingtogetheradvancedbehaviordownloadfeaturedfootballselectedLanguagedistanceremembertrackingpasswordmodifiedstudentsdirectlyfightingnortherndatabasefestivalbreakinglocationinternetdropdownpracticeevidencefunctionmarriageresponseproblemsnegativeprogramsanalysisreleasedbanner">purchasepoliciesregionalcreativeargumentbookmarkreferrerchemicaldivisioncallbackseparateprojectsconflicthardwareinterestdeliverymountainobtained= false;for(var acceptedcapacitycomputeridentityaircraftemployedproposeddomesticincludesprovidedhospitalverticalcollapseapproachpartnerslogo"><adaughterauthor" culturalfamilies/images/assemblypowerfulteachingfinisheddistrictcriticalcgi-bin/purposesrequireselectionbecomingprovidesacademicexerciseactuallymedicineconstantaccidentMagazinedocumentstartingbottom">observed: "extendedpreviousSoftwarecustomerdecisionstrengthdetailedslightlyplanningtextareacurrencyeveryonestraighttransferpositiveproducedheritageshippingabsolutereceivedrelevantbutton" violenceanywherebenefitslaunchedrecentlyalliancefollowedmultiplebulletinincludedoccurredinternal$(this).republic><tr><tdcongressrecordedultimatesolution<ul id="discoverHome</a>websitesnetworksalthoughentirelymemorialmessagescontinueactive">somewhatvictoriaWestern title="LocationcontractvisitorsDownloadwithout right">\nmeasureswidth = variableinvolvedvirginianormallyhappenedaccountsstandingnationalRegisterpreparedcontrolsaccuratebirthdaystrategyofficialgraphicscriminalpossiblyconsumerPersonalspeakingvalidateachieved.jpg" />machines</h2>\n keywordsfriendlybrotherscombinedoriginalcomposedexpectedadequatepakistanfollow" valuable</label>relativebringingincreasegovernorplugins/List of Header">" name=" ("graduate</head>\ncommercemalaysiadirectormaintain;height:schedulechangingback to catholicpatternscolor: #greatestsuppliesreliable</ul>\n\t\t<select citizensclothingwatching<li id="specificcarryingsentence<center>contrastthinkingcatch(e)southernMichael merchantcarouselpadding:interior.split("lizationOctober ){returnimproved-->\n\ncoveragechairman.png" />subjectsRichard whateverprobablyrecoverybaseballjudgmentconnect..css" /> websitereporteddefault"/></a>\r\nelectricscotlandcreationquantity. ISBN 0did not instance-search-" lang="speakersComputercontainsarchivesministerreactiondiscountItalianocriteriastrongly: \'http:\'script\'coveringofferingappearedBritish identifyFacebooknumerousvehiclesconcernsAmericanhandlingdiv id="William provider_contentaccuracysection andersonflexibleCategorylawrence<script>layout="approved maximumheader"></table>Serviceshamiltoncurrent canadianchannels/themes//articleoptionalportugalvalue=""intervalwirelessentitledagenciesSearch" measuredthousandspending…new Date" size="pageNamemiddle" " /></a>hidden">sequencepersonaloverflowopinionsillinoislinks">\n\t<title>versionssaturdayterminalitempropengineersectionsdesignerproposal="false"Españolreleasessubmit" er"additionsymptomsorientedresourceright"><pleasurestationshistory.leaving border=contentscenter">.\n\nSome directedsuitablebulgaria.show();designedGeneral conceptsExampleswilliamsOriginal"><span>search">operatorrequestsa "allowingDocumentrevision. \n\nThe yourselfContact michiganEnglish columbiapriorityprintingdrinkingfacilityreturnedContent officersRussian generate-8859-1"indicatefamiliar qualitymargin:0 contentviewportcontacts-title">portable.length eligibleinvolvesatlanticonload="default.suppliedpaymentsglossary\n\nAfter guidance</td><tdencodingmiddle">came to displaysscottishjonathanmajoritywidgets.clinicalthailandteachers<head>\n\taffectedsupportspointer;toString</small>oklahomawill be investor0" alt="holidaysResourcelicensed (which . After considervisitingexplorerprimary search" android"quickly meetingsestimate;return ;color:# height=approval, " checked.min.js"magnetic></a></hforecast. While thursdaydvertiseéhasClassevaluateorderingexistingpatients Online coloradoOptions"campbell\x3c!-- end</span><<br />\r\n_popups|sciences," quality Windows assignedheight: <b classle" value=" Companyexamples<iframe believespresentsmarshallpart of properly).\n\nThe taxonomymuch of </span>\n" data-srtuguêsscrollTo project<head>\r\nattorneyemphasissponsorsfancyboxworld\'s wildlifechecked=sessionsprogrammpx;font- Projectjournalsbelievedvacationthompsonlightingand the special border=0checking</tbody><button Completeclearfix\n<head>\narticle <sectionfindingsrole in popular Octoberwebsite exposureused to changesoperatedclickingenteringcommandsinformed numbers </div>creatingonSubmitmarylandcollegesanalyticlistingscontact.loggedInadvisorysiblingscontent"s")s. This packagescheckboxsuggestspregnanttomorrowspacing=icon.pngjapanesecodebasebutton">gamblingsuch as , while </span> missourisportingtop:1px .</span>tensionswidth="2lazyloadnovemberused in height="cript">\n </<tr><td height:2/productcountry include footer" <!-- title"></jquery.</form>\n(简体)(繁體)hrvatskiitalianoromânătürkçeاردوtambiénnoticiasmensajespersonasderechosnacionalserviciocontactousuariosprogramagobiernoempresasanunciosvalenciacolombiadespuésdeportesproyectoproductopúbliconosotroshistoriapresentemillonesmediantepreguntaanteriorrecursosproblemasantiagonuestrosopiniónimprimirmientrasaméricavendedorsociedadrespectorealizarregistropalabrasinterésentoncesespecialmiembrosrealidadcórdobazaragozapáginassocialesbloqueargestiónalquilersistemascienciascompletoversióncompletaestudiospúblicaobjetivoalicantebuscadorcantidadentradasaccionesarchivossuperiormayoríaalemaniafunciónúltimoshaciendoaquellosediciónfernandoambientefacebooknuestrasclientesprocesosbastantepresentareportarcongresopublicarcomerciocontratojóvenesdistritotécnicaconjuntoenergíatrabajarasturiasrecienteutilizarboletínsalvadorcorrectatrabajosprimerosnegocioslibertaddetallespantallapróximoalmeríaanimalesquiénescorazónsecciónbuscandoopcionesexteriorconceptotodavíagaleríaescribirmedicinalicenciaconsultaaspectoscríticadólaresjusticiadeberánperíodonecesitamantenerpequeñorecibidatribunaltenerifecancióncanariasdescargadiversosmallorcarequieretécnicodeberíaviviendafinanzasadelantefuncionaconsejosdifícilciudadesantiguasavanzadatérminounidadessánchezcampañasoftonicrevistascontienesectoresmomentosfacultadcréditodiversassupuestofactoressegundospequeñaгодаеслиестьбылобытьэтомЕслитогоменявсехэтойдажебылигодуденьэтотбыласебяодинсебенадосайтфотонегосвоисвойигрытожевсемсвоюлишьэтихпокаднейдомамиралиботемухотядвухсетилюдиделомиретебясвоевидечегоэтимсчеттемыценысталведьтемеводытебевышенамитипатомуправлицаоднагодызнаюмогудругвсейидеткиноодноделаделесрокиюнявесьЕстьразанашиاللهالتيجميعخاصةالذيعليهجديدالآنالردتحكمصفحةكانتاللييكونشبكةفيهابناتحواءأكثرخلالالحبدليلدروساضغطتكونهناكساحةناديالطبعليكشكرايمكنمنهاشركةرئيسنشيطماذاالفنشبابتعبررحمةكافةيقولمركزكلمةأحمدقلبييعنيصورةطريقشاركجوالأخرىمعناابحثعروضبشكلمسجلبنانخالدكتابكليةبدونأيضايوجدفريقكتبتأفضلمطبخاكثرباركافضلاحلىنفسهأيامردودأنهاديناالانمعرضتعلمداخلممكن\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\b\t\n\v\f\r\r\f\v\n\t\b????\0\0\0\0\0\0\0\0????\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0??\0\0\0\0\0\0??\0\0\0\0\b\0\b\0\b\0\b\0\0\0\0\0\0\0\0\0resourcescountriesquestionsequipmentcommunityavailablehighlightDTD/xhtmlmarketingknowledgesomethingcontainerdirectionsubscribeadvertisecharacter" value="</select>Australia" class="situationauthorityfollowingprimarilyoperationchallengedevelopedanonymousfunction functionscompaniesstructureagreement" title="potentialeducationargumentssecondarycopyrightlanguagesexclusivecondition</form>\r\nstatementattentionBiography} else {\nsolutionswhen the Analyticstemplatesdangeroussatellitedocumentspublisherimportantprototypeinfluence»</effectivegenerallytransformbeautifultransportorganizedpublishedprominentuntil thethumbnailNational .focus();over the migrationannouncedfooter">\nexceptionless thanexpensiveformationframeworkterritoryndicationcurrentlyclassNamecriticismtraditionelsewhereAlexanderappointedmaterialsbroadcastmentionedaffiliate</option>treatmentdifferent/default.Presidentonclick="biographyotherwisepermanentFrançaisHollywoodexpansionstandards</style>\nreductionDecember preferredCambridgeopponentsBusiness confusion>\n<title>presentedexplaineddoes not worldwideinterfacepositionsnewspaper</table>\nmountainslike the essentialfinancialselectionaction="/abandonedEducationparseInt(stabilityunable to</title>\nrelationsNote thatefficientperformedtwo yearsSince thethereforewrapper">alternateincreasedBattle ofperceivedtrying tonecessaryportrayedelectionsElizabeth</iframe>discoveryinsurances.length;legendaryGeographycandidatecorporatesometimesservices.inherited</strong>CommunityreligiouslocationsCommitteebuildingsthe worldno longerbeginningreferencecannot befrequencytypicallyinto the relative;recordingpresidentinitiallytechniquethe otherit can beexistenceunderlinethis timetelephoneitemscopepracticesadvantage);return For otherprovidingdemocracyboth the extensivesufferingsupportedcomputers functionpracticalsaid thatit may beEnglish</from the scheduleddownloads</label>\nsuspectedmargin: 0spiritual</head>\n\nmicrosoftgraduallydiscussedhe becameexecutivejquery.jshouseholdconfirmedpurchasedliterallydestroyedup to thevariationremainingit is notcenturiesJapanese among thecompletedalgorithminterestsrebellionundefinedencourageresizableinvolvingsensitiveuniversalprovision(althoughfeaturingconducted), which continued-header">February numerous overflow:componentfragmentsexcellentcolspan="technicalnear the Advanced source ofexpressedHong Kong Facebookmultiple mechanismelevationoffensive</form>\n\tsponsoreddocument.or "there arethose whomovementsprocessesdifficultsubmittedrecommendconvincedpromoting" width=".replace(classicalcoalitionhis firstdecisionsassistantindicatedevolution-wrapper"enough toalong thedelivered--\x3e\r\n\x3c!--American protectedNovember </style><furnitureInternet onblur="suspendedrecipientbased on Moreover,abolishedcollectedwere madeemotionalemergencynarrativeadvocatespx;bordercommitteddir="ltr"employeesresearch. selectedsuccessorcustomersdisplayedSeptemberaddClass(Facebook suggestedand lateroperatingelaborateSometimesInstitutecertainlyinstalledfollowersJerusalemthey havecomputinggeneratedprovincesguaranteearbitraryrecognizewanted topx;width:theory ofbehaviourWhile theestimatedbegan to it becamemagnitudemust havemore thanDirectoryextensionsecretarynaturallyoccurringvariablesgiven theplatform.</label><failed tocompoundskinds of societiesalongside -->\n\nsouthwestthe rightradiationmay have unescape(spoken in" href="/programmeonly the come fromdirectoryburied ina similarthey were</font></Norwegianspecifiedproducingpassenger(new DatetemporaryfictionalAfter theequationsdownload.regularlydeveloperabove thelinked tophenomenaperiod oftooltip">substanceautomaticaspect ofAmong theconnectedestimatesAir Forcesystem ofobjectiveimmediatemaking itpaintingsconqueredare stillproceduregrowth ofheaded byEuropean divisionsmoleculesfranchiseintentionattractedchildhoodalso useddedicatedsingaporedegree offather ofconflicts</a></p>\ncame fromwere usednote thatreceivingExecutiveeven moreaccess tocommanderPoliticalmusiciansdeliciousprisonersadvent ofUTF-8" /><![CDATA[">ContactSouthern bgcolor="series of. It was in Europepermittedvalidate.appearingofficialsseriously-languageinitiatedextendinglong-terminflationsuch thatgetCookiemarked by</button>implementbut it isincreasesdown the requiringdependent--\x3e\n\x3c!-- interviewWith the copies ofconsensuswas builtVenezuela(formerlythe statepersonnelstrategicfavour ofinventionWikipediacontinentvirtuallywhich wasprincipleComplete identicalshow thatprimitiveaway frommolecularpreciselydissolvedUnder theversion="> </It is the This is will haveorganismssome timeFriedrichwas firstthe only fact thatform id="precedingTechnicalphysicistoccurs innavigatorsection">span id="sought tobelow thesurviving}</style>his deathas in thecaused bypartiallyexisting using thewas givena list oflevels ofnotion ofOfficial dismissedscientistresemblesduplicateexplosiverecoveredall othergalleries{padding:people ofregion ofaddressesassociateimg alt="in modernshould bemethod ofreportingtimestampneeded tothe Greatregardingseemed toviewed asimpact onidea thatthe Worldheight ofexpandingThese arecurrent">carefullymaintainscharge ofClassicaladdressedpredictedownership<div id="right">\r\nresidenceleave thecontent">are often })();\r\nprobably Professor-button" respondedsays thathad to beplaced inHungarianstatus ofserves asUniversalexecutionaggregatefor whichinfectionagreed tohowever, popular">placed onconstructelectoralsymbol ofincludingreturn toarchitectChristianprevious living ineasier toprofessor\n<!-- effect ofanalyticswas takenwhere thetook overbelief inAfrikaansas far aspreventedwork witha special<fieldsetChristmasRetrieved\n\nIn the back intonortheastmagazines><strong>committeegoverninggroups ofstored inestablisha generalits firsttheir ownpopulatedan objectCaribbeanallow thedistrictswisconsinlocation.; width: inhabitedSocialistJanuary 1</footer>similarlychoice ofthe same specific business The first.length; desire todeal withsince theuserAgentconceivedindex.phpas "engage inrecently,few yearswere also\n<head>\n<edited byare knowncities inaccesskeycondemnedalso haveservices,family ofSchool ofconvertednature of languageministers</object>there is a popularsequencesadvocatedThey wereany otherlocation=enter themuch morereflectedwas namedoriginal a typicalwhen theyengineerscould notresidentswednesdaythe third productsJanuary 2what theya certainreactionsprocessorafter histhe last contained"></div>\n</a></td>depend onsearch">\npieces ofcompetingReferencetennesseewhich has version=</span> <</header>gives thehistorianvalue="">padding:0view thattogether,the most was foundsubset ofattack onchildren,points ofpersonal position:allegedlyClevelandwas laterand afterare givenwas stillscrollingdesign ofmakes themuch lessAmericans.\n\nAfter , but theMuseum oflouisiana(from theminnesotaparticlesa processDominicanvolume ofreturningdefensive00px|righmade frommouseover" style="states of(which iscontinuesFranciscobuilding without awith somewho woulda form ofa part ofbefore itknown as Serviceslocation and oftenmeasuringand it ispaperbackvalues of\r\n<title>= window.determineer" played byand early</center>from thisthe threepower andof "innerHTML<a href="y:inline;Church ofthe eventvery highofficial -height: content="/cgi-bin/to createafrikaansesperantofrançaislatviešulietuviųČeštinačeštinaไทย日本語简体字繁體字한국어为什么计算机笔记本討論區服务器互联网房地产俱乐部出版社排行榜部落格进一步支付宝验证码委员会数据库消费者办公室讨论区深圳市播放器北京市大学生越来越管理员信息网serviciosartículoargentinabarcelonacualquierpublicadoproductospolíticarespuestawikipediasiguientebúsquedacomunidadseguridadprincipalpreguntascontenidorespondervenezuelaproblemasdiciembrerelaciónnoviembresimilaresproyectosprogramasinstitutoactividadencuentraeconomíaimágenescontactardescargarnecesarioatenciónteléfonocomisióncancionescapacidadencontraranálisisfavoritostérminosprovinciaetiquetaselementosfuncionesresultadocarácterpropiedadprincipionecesidadmunicipalcreacióndescargaspresenciacomercialopinionesejercicioeditorialsalamancagonzálezdocumentopelícularecientesgeneralestarragonaprácticanovedadespropuestapacientestécnicasobjetivoscontactosमेंलिएहैंगयासाथएवंरहेकोईकुछरहाबादकहासभीहुएरहीमैंदिनबातdiplodocsसमयरूपनामपताफिरऔसततरहलोगहुआबारदेशहुईखेलयदिकामवेबतीनबीचमौतसाललेखजॉबमददतथानहीशहरअलगकभीनगरपासरातकिएउसेगयीहूँआगेटीमखोजकारअभीगयेतुमवोटदेंअगरऐसेमेललगाहालऊपरचारऐसादेरजिसदिलबंदबनाहूंलाखजीतबटनमिलइसेआनेनयाकुललॉगभागरेलजगहरामलगेपेजहाथइसीसहीकलाठीकहाँदूरतहतसातयादआयापाककौनशामदेखयहीरायखुदलगीcategoriesexperience</title>\r\nCopyright javascriptconditionseverything<p class="technologybackground<a class="management© 201javaScriptcharactersbreadcrumbthemselveshorizontalgovernmentCaliforniaactivitiesdiscoveredNavigationtransitionconnectionnavigationappearance</title><mcheckbox" techniquesprotectionapparentlyas well asunt\', \'UA-resolutionoperationstelevisiontranslatedWashingtonnavigator. = window.impression<br>literaturepopulationbgcolor="#especially content="productionnewsletterpropertiesdefinitionleadershipTechnologyParliamentcomparisonul class=".indexOf("conclusiondiscussioncomponentsbiologicalRevolution_containerunderstoodnoscript><permissioneach otheratmosphere onfocus="<form id="processingthis.valuegenerationConferencesubsequentwell-knownvariationsreputationphenomenondisciplinelogo.png" (document,boundariesexpressionsettlementBackgroundout of theenterprise("https:" unescape("password" democratic<a href="/wrapper">\nmembershiplinguisticpx;paddingphilosophyassistanceuniversityfacilitiesrecognizedpreferenceif (typeofmaintainedvocabularyhypothesis.submit();&nbsp;annotationbehind theFoundationpublisher"assumptionintroducedcorruptionscientistsexplicitlyinstead ofdimensions onClick="considereddepartmentoccupationsoon afterinvestmentpronouncedidentifiedexperimentManagementgeographic" height="link rel=".replace(/depressionconferencepunishmenteliminatedresistanceadaptationoppositionwell knownsupplementdeterminedh1 class="0px;marginmechanicalstatisticscelebratedGovernment\n\nDuring tdevelopersartificialequivalentoriginatedCommissionattachment<span id="there wereNederlandsbeyond theregisteredjournalistfrequentlyall of thelang="en" </style>\r\nabsolute; supportingextremely mainstream</strong> popularityemployment</table>\r\n colspan="</form>\n conversionabout the </p></div>integrated" lang="enPortuguesesubstituteindividualimpossiblemultimediaalmost allpx solid #apart fromsubject toin Englishcriticizedexcept forguidelinesoriginallyremarkablethe secondh2 class="<a title="(includingparametersprohibited= "http://dictionaryperceptionrevolutionfoundationpx;height:successfulsupportersmillenniumhis fatherthe "no-repeat;commercialindustrialencouragedamount of unofficialefficiencyReferencescoordinatedisclaimerexpeditiondevelopingcalculatedsimplifiedlegitimatesubstring(0" class="completelyillustratefive yearsinstrumentPublishing1" class="psychologyconfidencenumber of absence offocused onjoined thestructurespreviously></iframe>once againbut ratherimmigrantsof course,a group ofLiteratureUnlike the</a> \nfunction it was theConventionautomobileProtestantaggressiveafter the Similarly," /></div>collection\r\nfunctionvisibilitythe use ofvolunteersattractionunder the threatened*<![CDATA[importancein generalthe latter</form>\n</.indexOf(\'i = 0; i <differencedevoted totraditionssearch forultimatelytournamentattributesso-called }\n</style>evaluationemphasizedaccessible</section>successionalong withMeanwhile,industries</a><br />has becomeaspects ofTelevisionsufficientbasketballboth sidescontinuingan article<img alt="adventureshis mothermanchesterprinciplesparticularcommentaryeffects ofdecided to"><strong>publishersJournal ofdifficultyfacilitateacceptablestyle.css"\tfunction innovation>Copyrightsituationswould havebusinessesDictionarystatementsoften usedpersistentin Januarycomprising</title>\n\tdiplomaticcontainingperformingextensionsmay not beconcept of onclick="It is alsofinancial making theLuxembourgadditionalare calledengaged in"script");but it waselectroniconsubmit="\n\x3c!-- End electricalofficiallysuggestiontop of theunlike theAustralianOriginallyreferences\n</head>\r\nrecognisedinitializelimited toAlexandriaretirementAdventuresfour years\n\n<!-- increasingdecorationh3 class="origins ofobligationregulationclassified(function(advantagesbeing the historians<base hrefrepeatedlywilling tocomparabledesignatednominationfunctionalinside therevelationend of thes for the authorizedrefused totake placeautonomouscompromisepolitical restauranttwo of theFebruary 2quality ofswfobject.understandnearly allwritten byinterviews" width="1withdrawalfloat:leftis usuallycandidatesnewspapersmysteriousDepartmentbest knownparliamentsuppressedconvenientremembereddifferent systematichas led topropagandacontrolledinfluencesceremonialproclaimedProtectionli class="Scientificclass="no-trademarksmore than widespreadLiberationtook placeday of theas long asimprisonedAdditional\n<head>\n<mLaboratoryNovember 2exceptionsIndustrialvariety offloat: lefDuring theassessmenthave been deals withStatisticsoccurrence/ul></div>clearfix">the publicmany yearswhich wereover time,synonymouscontent">\npresumablyhis familyuserAgent.unexpectedincluding challengeda minorityundefined"belongs totaken fromin Octoberposition: said to bereligious Federation rowspan="only a fewmeant thatled to the--\x3e\r\n<div <fieldset>Archbishop class="nobeing usedapproachesprivilegesnoscript>\nresults inmay be theEaster eggmechanismsreasonablePopulationCollectionselected">noscript>\r/index.phparrival of-jssdk\'));managed toincompletecasualtiescompletionChristiansSeptember arithmeticproceduresmight haveProductionit appearsPhilosophyfriendshipleading togiving thetoward theguaranteeddocumentedcolor:#000video gamecommissionreflectingchange theassociatedsans-serifonkeypress; padding:He was theunderlyingtypically , and the srcElementsuccessivesince the should be networkingaccountinguse of thelower thanshows that</span>\n\t\tcomplaintscontinuousquantitiesastronomerhe did notdue to itsapplied toan averageefforts tothe futureattempt toTherefore,capabilityRepublicanwas formedElectronickilometerschallengespublishingthe formerindigenousdirectionssubsidiaryconspiracydetails ofand in theaffordablesubstancesreason forconventionitemtype="absolutelysupposedlyremained aattractivetravellingseparatelyfocuses onelementaryapplicablefound thatstylesheetmanuscriptstands for no-repeat(sometimesCommercialin Americaundertakenquarter ofan examplepersonallyindex.php?</button>\npercentagebest-knowncreating a" dir="ltrLieutenant\n<div id="they wouldability ofmade up ofnoted thatclear thatargue thatto anotherchildren\'spurpose offormulatedbased uponthe regionsubject ofpassengerspossession.\n\nIn the Before theafterwardscurrently across thescientificcommunity.capitalismin Germanyright-wingthe systemSociety ofpoliticiandirection:went on toremoval of New York apartmentsindicationduring theunless thehistoricalhad been adefinitiveingredientattendanceCenter forprominencereadyStatestrategiesbut in theas part ofconstituteclaim thatlaboratorycompatiblefailure of, such as began withusing the to providefeature offrom which/" class="geologicalseveral ofdeliberateimportant holds thating" valign=topthe Germanoutside ofnegotiatedhis careerseparationid="searchwas calledthe fourthrecreationother thanpreventionwhile the education,connectingaccuratelywere builtwas killedagreementsmuch more Due to thewidth: 100some otherKingdom ofthe entirefamous forto connectobjectivesthe Frenchpeople andfeatured">is said tostructuralreferendummost oftena separate->\n<div id Official worldwide.aria-labelthe planetand it wasd" value="looking atbeneficialare in themonitoringreportedlythe modernworking onallowed towhere the innovative</a></div>soundtracksearchFormtend to beinput id="opening ofrestrictedadopted byaddressingtheologianmethods ofvariant ofChristian very largeautomotiveby far therange frompursuit offollow thebrought toin Englandagree thataccused ofcomes frompreventingdiv style=his or hertremendousfreedom ofconcerning0 1em 1em;Basketball/style.cssan earliereven after/" title=".com/indextaking thepittsburghcontent">\r<script>(fturned outhaving the</span>\r\n occasionalbecause itstarted tophysically></div>\n created byCurrently, bgcolor="tabindex="disastrousAnalytics also has a><div id="</style>\n<called forsinger and.src = "//violationsthis pointconstantlyis locatedrecordingsd from thenederlandsportuguêsעבריתفارسیdesarrollocomentarioeducaciónseptiembreregistradodirecciónubicaciónpublicidadrespuestasresultadosimportantereservadosartículosdiferentessiguientesrepúblicasituaciónministerioprivacidaddirectorioformaciónpoblaciónpresidentecontenidosaccesoriostechnoratipersonalescategoríaespecialesdisponibleactualidadreferenciavalladolidbibliotecarelacionescalendariopolíticasanterioresdocumentosnaturalezamaterialesdiferenciaeconómicatransporterodríguezparticiparencuentrandiscusiónestructurafundaciónfrecuentespermanentetotalmenteможнобудетможетвремятакжечтобыболееоченьэтогокогдапослевсегосайтечерезмогутсайтажизнимеждубудутПоискздесьвидеосвязинужносвоейлюдейпорномногодетейсвоихправатакойместоимеетжизньоднойлучшепередчастичастьработновыхправособойпотомменеечисленовыеуслугоколоназадтакоетогдапочтиПослетакиеновыйстоиттакихсразуСанктфорумКогдакнигислованашейнайтисвоимсвязьлюбойчастосредиКромеФорумрынкесталипоисктысячмесяццентртрудасамыхрынкаНовыйчасовместафильммартастранместетекстнашихминутимениимеютномергородсамомэтомуконцесвоемкакойАрхивمنتدىإرسالرسالةالعامكتبهابرامجاليومالصورجديدةالعضوإضافةالقسمالعابتحميلملفاتملتقىتعديلالشعرأخبارتطويرعليكمإرفاقطلباتاللغةترتيبالناسالشيخمنتديالعربالقصصافلامعليهاتحديثاللهمالعملمكتبةيمكنكالطفلفيديوإدارةتاريخالصحةتسجيلالوقتعندمامدينةتصميمأرشيفالذينعربيةبوابةألعابالسفرمشاكلتعالىالأولالسنةجامعةالصحفالدينكلماتالخاصالملفأعضاءكتابةالخيررسائلالقلبالأدبمقاطعمراسلمنطقةالكتبالرجلاشتركالقدميعطيكsByTagName(.jpg" alt="1px solid #.gif" alt="transparentinformationapplication" onclick="establishedadvertising.png" alt="environmentperformanceappropriate&mdash;immediately</strong></rather thantemperaturedevelopmentcompetitionplaceholdervisibility:copyright">0" height="even thoughreplacementdestinationCorporation<ul class="AssociationindividualsperspectivesetTimeout(url(http://mathematicsmargin-top:eventually description) no-repeatcollections.JPG|thumb|participate/head><bodyfloat:left;<li class="hundreds of\n\nHowever, compositionclear:both;cooperationwithin the label for="border-top:New Zealandrecommendedphotographyinteresting<sup>controversyNetherlandsalternativemaxlength="switzerlandDevelopmentessentially\n\nAlthough </textarea>thunderbirdrepresented&ndash;speculationcommunitieslegislationelectronics\n\t<div id="illustratedengineeringterritoriesauthoritiesdistributed6" height="sans-serif;capable of disappearedinteractivelooking forit would beAfghanistanwas createdMath.floor(surroundingcan also beobservationmaintenanceencountered<h2 class="more recentit has beeninvasion of).getTime()fundamentalDespite the"><div id="inspirationexaminationpreparationexplanation<input id="</a></span>versions ofinstrumentsbefore the = \'http://Descriptionrelatively .substring(each of theexperimentsinfluentialintegrationmany peopledue to the combinationdo not haveMiddle East<noscript><copyright" perhaps theinstitutionin Decemberarrangementmost famouspersonalitycreation oflimitationsexclusivelysovereignty-content">\n<td class="undergroundparallel todoctrine ofoccupied byterminologyRenaissancea number ofsupport forexplorationrecognitionpredecessor<img src="/<h1 class="publicationmay also bespecialized</fieldset>progressivemillions ofstates thatenforcementaround the one another.parentNodeagricultureAlternativeresearcherstowards theMost of themany other (especially<td width=";width:100%independent<h3 class=" onchange=").addClass(interactionOne of the daughter ofaccessoriesbranches of\r\n<div id="the largestdeclarationregulationsInformationtranslationdocumentaryin order to">\n<head>\n<" height="1across the orientation);<\/script>implementedcan be seenthere was ademonstratecontainer">connectionsthe Britishwas written!important;px; margin-followed byability to complicatedduring the immigrationalso called<h4 class="distinctionreplaced bygovernmentslocation ofin Novemberwhether the</p>\n</div>acquisitioncalled the persecutiondesignation{font-size:appeared ininvestigateexperiencedmost likelywidely useddiscussionspresence of (document.extensivelyIt has beenit does notcontrary toinhabitantsimprovementscholarshipconsumptioninstructionfor exampleone or morepx; paddingthe currenta series ofare usuallyrole in thepreviously derivativesevidence ofexperiencescolorschemestated thatcertificate</a></div>\n selected="high schoolresponse tocomfortableadoption ofthree yearsthe countryin Februaryso that thepeople who provided by<param nameaffected byin terms ofappointmentISO-8859-1"was born inhistorical regarded asmeasurementis based on and other : function(significantcelebrationtransmitted/js/jquery.is known astheoretical tabindex="it could be<noscript>\nhaving been\r\n<head>\r\n< "The compilationhe had beenproduced byphilosopherconstructedintended toamong othercompared toto say thatEngineeringa differentreferred todifferencesbelief thatphotographsidentifyingHistory of Republic ofnecessarilyprobabilitytechnicallyleaving thespectacularfraction ofelectricityhead of therestaurantspartnershipemphasis onmost recentshare with saying thatfilled withdesigned toit is often"></iframe>as follows:merged withthrough thecommercial pointed outopportunityview of therequirementdivision ofprogramminghe receivedsetInterval"></span></in New Yorkadditional compression\n\n<div id="incorporate;<\/script><attachEventbecame the " target="_carried outSome of thescience andthe time ofContainer">maintainingChristopherMuch of thewritings of" height="2size of theversion of mixture of between theExamples ofeducationalcompetitive onsubmit="director ofdistinctive/DTD XHTML relating totendency toprovince ofwhich woulddespite thescientific legislature.innerHTML allegationsAgriculturewas used inapproach tointelligentyears later,sans-serifdeterminingPerformanceappearances, which is foundationsabbreviatedhigher thans from the individual composed ofsupposed toclaims thatattributionfont-size:1elements ofHistorical his brotherat the timeanniversarygoverned byrelated to ultimately innovationsit is stillcan only bedefinitionstoGMTStringA number ofimg class="Eventually,was changedoccurred inneighboringdistinguishwhen he wasintroducingterrestrialMany of theargues thatan Americanconquest ofwidespread were killedscreen and In order toexpected todescendantsare locatedlegislativegenerations backgroundmost peopleyears afterthere is nothe highestfrequently they do notargued thatshowed thatpredominanttheologicalby the timeconsideringshort-lived</span></a>can be usedvery littleone of the had alreadyinterpretedcommunicatefeatures ofgovernment,</noscript>entered the" height="3Independentpopulationslarge-scale. Although used in thedestructionpossibilitystarting intwo or moreexpressionssubordinatelarger thanhistory and</option>\r\nContinentaleliminatingwill not bepractice ofin front ofsite of theensure thatto create amississippipotentiallyoutstandingbetter thanwhat is nowsituated inmeta name="TraditionalsuggestionsTranslationthe form ofatmosphericideologicalenterprisescalculatingeast of theremnants ofpluginspage/index.php?remained intransformedHe was alsowas alreadystatisticalin favor ofMinistry ofmovement offormulationis required<link rel="This is the <a href="/popularizedinvolved inare used toand severalmade by theseems to belikely thatPalestiniannamed afterit had beenmost commonto refer tobut this isconsecutivetemporarilyIn general,conventionstakes placesubdivisionterritorialoperationalpermanentlywas largelyoutbreak ofin the pastfollowing a xmlns:og="><a class="class="textConversion may be usedmanufactureafter beingclearfix">\nquestion ofwas electedto become abecause of some peopleinspired bysuccessful a time whenmore commonamongst thean officialwidth:100%;technology,was adoptedto keep thesettlementslive birthsindex.html"Connecticutassigned to&times;account foralign=rightthe companyalways beenreturned toinvolvementBecause thethis period" name="q" confined toa result ofvalue="" />is actuallyEnvironment\r\n</head>\r\nConversely,>\n<div id="0" width="1is probablyhave becomecontrollingthe problemcitizens ofpoliticiansreached theas early as:none; over<table cellvalidity ofdirectly toonmousedownwhere it iswhen it wasmembers of relation toaccommodatealong with In the latethe Englishdelicious">this is notthe presentif they areand finallya matter of\r\n\t</div>\r\n\r\n<\/script>faster thanmajority ofafter whichcomparativeto maintainimprove theawarded theer" class="frameborderrestorationin the sameanalysis oftheir firstDuring the continentalsequence offunction(){font-size: work on the<\/script>\n<begins withjavascript:constituentwas foundedequilibriumassume thatis given byneeds to becoordinatesthe variousare part ofonly in thesections ofis a commontheories ofdiscoveriesassociationedge of thestrength ofposition inpresent-dayuniversallyto form thebut insteadcorporationattached tois commonlyreasons for "the can be madewas able towhich meansbut did notonMouseOveras possibleoperated bycoming fromthe primaryaddition offor severaltransferreda period ofare able tohowever, itshould havemuch larger\n\t<\/script>adopted theproperty ofdirected byeffectivelywas broughtchildren ofProgramminglonger thanmanuscriptswar againstby means ofand most ofsimilar to proprietaryoriginatingprestigiousgrammaticalexperience.to make theIt was alsois found incompetitorsin the U.S.replace thebrought thecalculationfall of thethe generalpracticallyin honor ofreleased inresidentialand some ofking of thereaction to1st Earl ofculture andprincipally</title>\n they can beback to thesome of hisexposure toare similarform of theaddFavoritecitizenshippart in thepeople within practiceto continue&minus;approved by the first allowed theand for thefunctioningplaying thesolution toheight="0" in his bookmore than afollows thecreated thepresence in </td>nationalistthe idea ofa characterwere forced class="btndays of thefeatured inshowing theinterest inin place ofturn of thethe head ofLord of thepoliticallyhas its ownEducationalapproval ofsome of theeach other,behavior ofand becauseand anotherappeared onrecorded inblack"may includethe world\'scan lead torefers to aborder="0" government winning theresulted in while the Washington,the subjectcity in the></div>\r\n\t\treflect theto completebecame moreradioactiverejected bywithout anyhis father,which couldcopy of theto indicatea politicalaccounts ofconstitutesworked wither</a></li>of his lifeaccompaniedclientWidthprevent theLegislativedifferentlytogether inhas severalfor anothertext of thefounded thee with the is used forchanged theusually theplace wherewhereas the> <a href=""><a href="themselves,although hethat can betraditionalrole of theas a resultremoveChilddesigned bywest of theSome peopleproduction,side of thenewslettersused by thedown to theaccepted bylive in theattempts tooutside thefrequenciesHowever, inprogrammersat least inapproximatealthough itwas part ofand variousGovernor ofthe articleturned into><a href="/the economyis the mostmost widelywould laterand perhapsrise to theoccurs whenunder whichconditions.the westerntheory thatis producedthe city ofin which heseen in thethe centralbuilding ofmany of hisarea of theis the onlymost of themany of thethe WesternThere is noextended toStatisticalcolspan=2 |short storypossible totopologicalcritical ofreported toa Christiandecision tois equal toproblems ofThis can bemerchandisefor most ofno evidenceeditions ofelements in". Thecom/images/which makesthe processremains theliterature,is a memberthe popularthe ancientproblems intime of thedefeated bybody of thea few yearsmuch of thethe work ofCalifornia,served as agovernment.concepts ofmovement in\t\t<div id="it" value="language ofas they areproduced inis that theexplain thediv></div>\nHowever thelead to the\t<a href="/was grantedpeople havecontinuallywas seen asand relatedthe role ofproposed byof the besteach other.Constantinepeople fromdialects ofto revisionwas renameda source ofthe initiallaunched inprovide theto the westwhere thereand similarbetween twois also theEnglish andconditions,that it wasentitled tothemselves.quantity ofransparencythe same asto join thecountry andthis is theThis led toa statementcontrast tolastIndexOfthrough hisis designedthe term isis providedprotect theng</a></li>The currentthe site ofsubstantialexperience,in the Westthey shouldslovenčinacomentariosuniversidadcondicionesactividadesexperienciatecnologíaproducciónpuntuaciónaplicacióncontraseñacategoríasregistrarseprofesionaltratamientoregístratesecretaríaprincipalesprotecciónimportantesimportanciaposibilidadinteresantecrecimientonecesidadessuscribirseasociacióndisponiblesevaluaciónestudiantesresponsableresoluciónguadalajararegistradosoportunidadcomercialesfotografíaautoridadesingenieríatelevisióncompetenciaoperacionesestablecidosimplementeactualmentenavegaciónconformidadline-height:font-family:" : "http://applicationslink" href="specifically//<![CDATA[\nOrganizationdistribution0px; height:relationshipdevice-width<div class="<label for="registration</noscript>\n/index.html"window.open( !important;application/independence//www.googleorganizationautocompleterequirementsconservative<form name="intellectualmargin-left:18th centuryan importantinstitutionsabbreviation<img class="organisationcivilization19th centuryarchitectureincorporated20th century-container">most notably/></a></div>notification\'undefined\')Furthermore,believe thatinnerHTML = prior to thedramaticallyreferring tonegotiationsheadquartersSouth AfricaunsuccessfulPennsylvaniaAs a result,<html lang="</sup>dealing withphiladelphiahistorically);<\/script>\npadding-top:experimentalgetAttributeinstructionstechnologiespart of the =function(){subscriptionl.dtd">\r\n<htgeographicalConstitution\', function(supported byagriculturalconstructionpublicationsfont-size: 1a variety of<div style="Encyclopediaiframe src="demonstratedaccomplisheduniversitiesDemographics);<\/script><dedicated toknowledge ofsatisfactionparticularly</div></div>English (US)appendChild(transmissions. However, intelligence" tabindex="float:right;Commonwealthranging fromin which theat least onereproductionencyclopedia;font-size:1jurisdictionat that time"><a class="In addition,description+conversationcontact withis generallyr" content="representing<math>presentationoccasionally<img width="navigation">compensationchampionshipmedia="all" violation ofreference toreturn true;Strict//EN" transactionsinterventionverificationInformation difficultiesChampionshipcapabilities<![endif]--\x3e}\n<\/script>\nChristianityfor example,Professionalrestrictionssuggest thatwas released(such as theremoveClass(unemploymentthe Americanstructure of/index.html published inspan class=""><a href="/introductionbelonging toclaimed thatconsequences<meta name="Guide to theoverwhelmingagainst the concentrated,\n.nontouch observations</a>\n</div>\nf (document.border: 1px {font-size:1treatment of0" height="1modificationIndependencedivided intogreater thanachievementsestablishingJavaScript" neverthelesssignificanceBroadcasting> </td>container">\nsuch as the influence ofa particularsrc=\'http://navigation" half of the substantial </div>advantage ofdiscovery offundamental metropolitanthe opposite" xml:lang="deliberatelyalign=centerevolution ofpreservationimprovementsbeginning inJesus ChristPublicationsdisagreementtext-align:r, function()similaritiesbody></html>is currentlyalphabeticalis sometimestype="image/many of the flow:hidden;available indescribe theexistence ofall over thethe Internet\t<ul class="installationneighborhoodarmed forcesreducing thecontinues toNonetheless,temperatures\n\t\t<a href="close to theexamples of is about the(see below)." id="searchprofessionalis availablethe official\t\t<\/script>\n\n\t\t<div id="accelerationthrough the Hall of Famedescriptionstranslationsinterference type=\'text/recent yearsin the worldvery popular{background:traditional some of the connected toexploitationemergence ofconstitutionA History ofsignificant manufacturedexpectations><noscript><can be foundbecause the has not beenneighbouringwithout the added to the\t<li class="instrumentalSoviet Unionacknowledgedwhich can bename for theattention toattempts to developmentsIn fact, the<li class="aimplicationssuitable formuch of the colonizationpresidentialcancelBubble Informationmost of the is describedrest of the more or lessin SeptemberIntelligencesrc="http://px; height: available tomanufacturerhuman rightslink href="/availabilityproportionaloutside the astronomicalhuman beingsname of the are found inare based onsmaller thana person whoexpansion ofarguing thatnow known asIn the earlyintermediatederived fromScandinavian</a></div>\r\nconsider thean estimatedthe National<div id="pagresulting incommissionedanalogous toare required/ul>\n</div>\nwas based onand became a t" value="" was capturedno more thanrespectivelycontinue to >\r\n<head>\r\n<were createdmore generalinformation used for theindependent the Imperialcomponent ofto the northinclude the Constructionside of the would not befor instanceinvention ofmore complexcollectivelybackground: text-align: its originalinto accountthis processan extensivehowever, thethey are notrejected thecriticism ofduring whichprobably thethis article(function(){It should bean agreementaccidentallydiffers fromArchitecturebetter knownarrangementsinfluence onattended theidentical tosouth of thepass throughxml" title="weight:bold;creating thedisplay:nonereplaced the<img src="/ihttps://www.World War IItestimonialsfound in therequired to and that thebetween the was designedconsists of considerablypublished bythe languageConservationconsisted ofrefer to theback to the css" media="People from available onproved to besuggestions"was known asvarieties oflikely to becomprised ofsupport the hands of thecoupled withconnect and border:none;performancesbefore beinglater becamecalculationsoften calledresidents ofmeaning that><li class="evidence forexplanationsenvironments"></a></div>which allowsIntroductiondeveloped bya wide rangeon behalf ofvalign="top"principle ofat the time,</noscript>\rsaid to havein the firstwhile othershypotheticalphilosopherspower of thecontained inperformed byinability towere writtenspan style="input name="the questionintended forrejection ofimplies thatinvented thethe standardwas probablylink betweenprofessor ofinteractionschanging theIndian Ocean class="lastworking with\'http://www.years beforeThis was therecreationalentering themeasurementsan extremelyvalue of thestart of the\n<\/script>\n\nan effort toincrease theto the southspacing="0">sufficientlythe Europeanconverted toclearTimeoutdid not haveconsequentlyfor the nextextension ofeconomic andalthough theare producedand with theinsufficientgiven by thestating thatexpenditures</span></a>\nthought thaton the basiscellpadding=image of thereturning toinformation,separated byassassinateds" content="authority ofnorthwestern</div>\n<div "></div>\r\n consultationcommunity ofthe nationalit should beparticipants align="leftthe greatestselection ofsupernaturaldependent onis mentionedallowing thewas inventedaccompanyinghis personalavailable atstudy of theon the otherexecution ofHuman Rightsterms of theassociationsresearch andsucceeded bydefeated theand from thebut they arecommander ofstate of theyears of agethe study of<ul class="splace in thewhere he was<li class="fthere are nowhich becamehe publishedexpressed into which thecommissionerfont-weight:territory ofextensions">Roman Empireequal to theIn contrast,however, andis typicallyand his wife(also called><ul class="effectively evolved intoseem to havewhich is thethere was noan excellentall of thesedescribed byIn practice,broadcastingcharged withreflected insubjected tomilitary andto the pointeconomicallysetTargetingare actuallyvictory over();<\/script>continuouslyrequired forevolutionaryan effectivenorth of the, which was front of theor otherwisesome form ofhad not beengenerated byinformation.permitted toincludes thedevelopment,entered intothe previousconsistentlyare known asthe field ofthis type ofgiven to thethe title ofcontains theinstances ofin the northdue to theirare designedcorporationswas that theone of thesemore popularsucceeded insupport fromin differentdominated bydesigned forownership ofand possiblystandardizedresponseTextwas intendedreceived theassumed thatareas of theprimarily inthe basis ofin the senseaccounts fordestroyed byat least twowas declaredcould not beSecretary ofappear to bemargin-top:1/^\\s+|\\s+$/ge){throw e};the start oftwo separatelanguage andwho had beenoperation ofdeath of thereal numbers\t<link rel="provided thethe story ofcompetitionsenglish (UK)english (US)МонголСрпскисрпскисрпскоلعربية正體中文简体中文繁体中文有限公司人民政府阿里巴巴社会主义操作系统政策法规informaciónherramientaselectrónicodescripciónclasificadosconocimientopublicaciónrelacionadasinformáticarelacionadosdepartamentotrabajadoresdirectamenteayuntamientomercadoLibrecontáctenoshabitacionescumplimientorestaurantesdisposiciónconsecuenciaelectrónicaaplicacionesdesconectadoinstalaciónrealizaciónutilizaciónenciclopediaenfermedadesinstrumentosexperienciasinstituciónparticularessubcategoriaтолькоРоссииработыбольшепростоможетедругихслучаесейчасвсегдаРоссияМоскведругиегородавопросданныхдолжныименноМосквырублейМосквастраныничегоработедолженуслугитеперьОднакопотомуработуапрелявообщеодногосвоегостатьидругойфорумехорошопротивссылкакаждыйвластигруппывместеработасказалпервыйделатьденьгипериодбизнесосновемоменткупитьдолжнарамкахначалоРаботаТолькосовсемвторойначаласписокслужбысистемпечатиновогопомощисайтовпочемупомощьдолжноссылкибыстроданныемногиепроектСейчасмоделитакогоонлайнгородеверсиястранефильмыуровняразныхискатьнеделюянваряменьшемногихданнойзначитнельзяфорумаТеперьмесяцазащитыЛучшиеनहींकरनेअपनेकियाकरेंअन्यक्यागाइडबारेकिसीदियापहलेसिंहभारतअपनीवालेसेवाकरतेमेरेहोनेसकतेबहुतसाइटहोगाजानेमिनटकरताकरनाउनकेयहाँसबसेभाषाआपकेलियेशुरूइसकेघंटेमेरीसकतामेरालेकरअधिकअपनासमाजमुझेकारणहोताकड़ीयहांहोटलशब्दलियाजीवनजाताकैसेआपकावालीदेनेपूरीपानीउसकेहोगीबैठकआपकीवर्षगांवआपकोजिलाजानासहमतहमेंउनकीयाहूदर्जसूचीपसंदसवालहोनाहोतीजैसेवापसजनतानेताजारीघायलजिलेनीचेजांचपत्रगूगलजातेबाहरआपनेवाहनइसकासुबहरहनेइससेसहितबड़ेघटनातलाशपांचश्रीबड़ीहोतेसाईटशायदसकतीजातीवालाहजारपटनारखनेसड़कमिलाउसकीकेवललगताखानाअर्थजहांदेखापहलीनियमबिनाबैंककहींकहनादेताहमलेकाफीजबकितुरतमांगवहींरोज़मिलीआरोपसेनायादवलेनेखाताकरीबउनकाजवाबपूराबड़ासौदाशेयरकियेकहांअकसरबनाएवहांस्थलमिलेलेखकविषयक्रंसमूहथानाتستطيعمشاركةبواسطةالصفحةمواضيعالخاصةالمزيدالعامةالكاتبالردودبرنامجالدولةالعالمالموقعالعربيالسريعالجوالالذهابالحياةالحقوقالكريمالعراقمحفوظةالثانيمشاهدةالمرأةالقرآنالشبابالحوارالجديدالأسرةالعلوممجموعةالرحمنالنقاطفلسطينالكويتالدنيابركاتهالرياضتحياتيبتوقيتالأولىالبريدالكلامالرابطالشخصيسياراتالثالثالصلاةالحديثالزوارالخليجالجميعالعامهالجمالالساعةمشاهدهالرئيسالدخولالفنيةالكتابالدوريالدروساستغرقتصاميمالبناتالعظيمentertainmentunderstanding = function().jpg" width="configuration.png" width="<body class="Math.random()contemporary United Statescircumstances.appendChild(organizations<span class=""><img src="/distinguishedthousands of communicationclear"></div>investigationfavicon.ico" margin-right:based on the Massachusettstable border=internationalalso known aspronunciationbackground:#fpadding-left:For example, miscellaneous</math>psychologicalin particularearch" type="form method="as opposed toSupreme Courtoccasionally Additionally,North Americapx;backgroundopportunitiesEntertainment.toLowerCase(manufacturingprofessional combined withFor instance,consisting of" maxlength="return false;consciousnessMediterraneanextraordinaryassassinationsubsequently button type="the number ofthe original comprehensiverefers to the</ul>\n</div>\nphilosophicallocation.hrefwas publishedSan Francisco(function(){\n<div id="mainsophisticatedmathematical /head>\r\n<bodysuggests thatdocumentationconcentrationrelationshipsmay have been(for example,This article in some casesparts of the definition ofGreat Britain cellpadding=equivalent toplaceholder="; font-size: justificationbelieved thatsuffered fromattempted to leader of thecript" src="/(function() {are available\n\t<link rel=" src=\'http://interested inconventional " alt="" /></are generallyhas also beenmost popular correspondingcredited withtyle="border:</a></span></.gif" width="<iframe src="table class="inline-block;according to together withapproximatelyparliamentarymore and moredisplay:none;traditionallypredominantly | </span> cellspacing=<input name="or" content="controversialproperty="og:/x-shockwave-demonstrationsurrounded byNevertheless,was the firstconsiderable Although the collaborationshould not beproportion of<span style="known as the shortly afterfor instance,described as /head>\n<body starting withincreasingly the fact thatdiscussion ofmiddle of thean individualdifficult to point of viewhomosexualityacceptance of</span></div>manufacturersorigin of thecommonly usedimportance ofdenominationsbackground: #length of thedeterminationa significant" border="0">revolutionaryprinciples ofis consideredwas developedIndo-Europeanvulnerable toproponents ofare sometimescloser to theNew York City name="searchattributed tocourse of themathematicianby the end ofat the end of" border="0" technological.removeClass(branch of theevidence that![endif]--\x3e\r\nInstitute of into a singlerespectively.and thereforeproperties ofis located insome of whichThere is alsocontinued to appearance of &ndash; describes theconsiderationauthor of theindependentlyequipped withdoes not have</a><a href="confused with<link href="/at the age ofappear in theThese includeregardless ofcould be used style="several timesrepresent thebody>\n</html>thought to bepopulation ofpossibilitiespercentage ofaccess to thean attempt toproduction ofjquery/jquerytwo differentbelong to theestablishmentreplacing thedescription" determine theavailable forAccording to wide range of\t<div class="more commonlyorganisationsfunctionalitywas completed &mdash; participationthe characteran additionalappears to befact that thean example ofsignificantlyonmouseover="because they async = true;problems withseems to havethe result of src="http://familiar withpossession offunction () {took place inand sometimessubstantially<span></span>is often usedin an attemptgreat deal ofEnvironmentalsuccessfully virtually all20th century,professionalsnecessary to determined bycompatibilitybecause it isDictionary ofmodificationsThe followingmay refer to:Consequently,Internationalalthough somethat would beworld\'s firstclassified asbottom of the(particularlyalign="left" most commonlybasis for thefoundation ofcontributionspopularity ofcenter of theto reduce thejurisdictionsapproximation onmouseout="New Testamentcollection of</span></a></in the Unitedfilm director-strict.dtd">has been usedreturn to thealthough thischange in theseveral otherbut there areunprecedentedis similar toespecially inweight: bold;is called thecomputationalindicate thatrestricted to\t<meta name="are typicallyconflict withHowever, the An example ofcompared withquantities ofrather than aconstellationnecessary forreported thatspecificationpolitical and <references tothe same yearGovernment ofgeneration ofhave not beenseveral yearscommitment to\t\t<ul class="visualization19th century,practitionersthat he wouldand continuedoccupation ofis defined ascentre of thethe amount of><div style="equivalent ofdifferentiatebrought aboutmargin-left: automaticallythought of asSome of these\n<div class="input class="replaced withis one of theeducation andinfluenced byreputation as\n<meta name="accommodation</div>\n</div>large part ofInstitute forthe so-called against the In this case,was appointedclaimed to beHowever, thisDepartment ofthe remainingeffect on theparticularly deal with the\n<div style="almost alwaysare currentlyexpression ofphilosophy offor more thancivilizationson the islandselectedIndexcan result in" value="" />the structure /></a></div>Many of thesecaused by theof the Unitedspan class="mcan be tracedis related tobecame one ofis frequentlyliving in thetheoreticallyFollowing theRevolutionarygovernment inis determinedthe politicalintroduced insufficient todescription">short storiesseparation ofas to whetherknown for itswas initiallydisplay:blockis an examplethe principalconsists of arecognized as/body></html>a substantialreconstructedhead of stateresistance toundergraduateThere are twogravitationalare describedintentionallyserved as theclass="headeropposition tofundamentallydominated theand the otheralliance withwas forced torespectively,and politicalin support ofpeople in the20th century.and publishedloadChartbeatto understandmember statesenvironmentalfirst half ofcountries andarchitecturalbe consideredcharacterizedclearIntervalauthoritativeFederation ofwas succeededand there area consequencethe Presidentalso includedfree softwaresuccession ofdeveloped thewas destroyedaway from the;\n<\/script>\n<although theyfollowed by amore powerfulresulted in aUniversity ofHowever, manythe presidentHowever, someis thought tountil the endwas announcedare importantalso includes><input type=the center of DO NOT ALTERused to referthemes/?sort=that had beenthe basis forhas developedin the summercomparativelydescribed thesuch as thosethe resultingis impossiblevarious otherSouth Africanhave the sameeffectivenessin which case; text-align:structure and; background:regarding thesupported theis also knownstyle="marginincluding thebahasa Melayunorsk bokmålnorsk nynorskslovenščinainternacionalcalificacióncomunicaciónconstrucción"><div class="disambiguationDomainName\', \'administrationsimultaneouslytransportationInternational margin-bottom:responsibility<![endif]--\x3e\n</><meta name="implementationinfrastructurerepresentationborder-bottom:</head>\n<body>=http%3A%2F%2F<form method="method="post" /favicon.ico" });\n<\/script>\n.setAttribute(Administration= new Array();<![endif]--\x3e\r\ndisplay:block;Unfortunately,"> </div>/favicon.ico">=\'stylesheet\' identification, for example,<li><a href="/an alternativeas a result ofpt"><\/script>\ntype="submit" \n(function() {recommendationform action="/transformationreconstruction.style.display According to hidden" name="along with thedocument.body.approximately Communicationspost" action="meaning "--<![endif]--\x3ePrime Ministercharacteristic</a> <a class=the history of onmouseover="the governmenthref="https://was originallywas introducedclassificationrepresentativeare considered<![endif]--\x3e\n\ndepends on theUniversity of in contrast to placeholder="in the case ofinternational constitutionalstyle="border-: function() {Because of the-strict.dtd">\n<table class="accompanied byaccount of the<script src="/nature of the the people in in addition tos); js.id = id" width="100%"regarding the Roman Catholican independentfollowing the .gif" width="1the following discriminationarchaeologicalprime minister.js"><\/script>combination of marginwidth="createElement(w.attachEvent(</a></td></tr>src="https://aIn particular, align="left" Czech RepublicUnited Kingdomcorrespondenceconcluded that.html" title="(function () {comes from theapplication of<span class="sbelieved to beement(\'script\'</a>\n</li>\n<livery different><span class="option value="(also known as\t<li><a href="><input name="separated fromreferred to as valign="top">founder of theattempting to carbon dioxide\n\n<div class="class="search-/body>\n</html>opportunity tocommunications</head>\r\n<body style="width:Tiếng Việtchanges in theborder-color:#0" border="0" </span></div><was discovered" type="text" );\n<\/script>\n\nDepartment of ecclesiasticalthere has beenresulting from</body></html>has never beenthe first timein response toautomatically </div>\n\n<div iwas consideredpercent of the" /></a></div>collection of descended fromsection of theaccept-charsetto be confusedmember of the padding-right:translation ofinterpretation href=\'http://whether or notThere are alsothere are manya small numberother parts ofimpossible to class="buttonlocated in the. However, theand eventuallyAt the end of because of itsrepresents the<form action=" method="post"it is possiblemore likely toan increase inhave also beencorresponds toannounced thatalign="right">many countriesfor many yearsearliest knownbecause it waspt"><\/script>\r valign="top" inhabitants offollowing year\r\n<div class="million peoplecontroversial concerning theargue that thegovernment anda reference totransferred todescribing the style="color:although therebest known forsubmit" name="multiplicationmore than one recognition ofCouncil of theedition of the <meta name="Entertainment away from the ;margin-right:at the time ofinvestigationsconnected withand many otheralthough it isbeginning with <span class="descendants of<span class="i align="right"</head>\n<body aspects of thehas since beenEuropean Unionreminiscent ofmore difficultVice Presidentcomposition ofpassed throughmore importantfont-size:11pxexplanation ofthe concept ofwritten in the\t<span class="is one of the resemblance toon the groundswhich containsincluding the defined by thepublication ofmeans that theoutside of thesupport of the<input class="<span class="t(Math.random()most prominentdescription ofConstantinoplewere published<div class="seappears in the1" height="1" most importantwhich includeswhich had beendestruction ofthe population\n\t<div class="possibility ofsometimes usedappear to havesuccess of theintended to bepresent in thestyle="clear:b\r\n<\/script>\r\n<was founded ininterview with_id" content="capital of the\r\n<link rel="srelease of thepoint out thatxMLHttpRequestand subsequentsecond largestvery importantspecificationssurface of theapplied to theforeign policy_setDomainNameestablished inis believed toIn addition tomeaning of theis named afterto protect theis representedDeclaration ofmore efficientClassificationother forms ofhe returned to<span class="cperformance of(function() {\rif and only ifregions of theleading to therelations withUnited Nationsstyle="height:other than theype" content="Association of\n</head>\n<bodylocated on theis referred to(including theconcentrationsthe individualamong the mostthan any other/>\n<link rel=" return false;the purpose ofthe ability to;color:#fff}\n.\n<span class="the subject ofdefinitions of>\r\n<link rel="claim that thehave developed<table width="celebration ofFollowing the to distinguish<span class="btakes place inunder the namenoted that the><![endif]--\x3e\nstyle="margin-instead of theintroduced thethe process ofincreasing thedifferences inestimated thatespecially the/div><div id="was eventuallythroughout histhe differencesomething thatspan></span></significantly ><\/script>\r\n\r\nenvironmental to prevent thehave been usedespecially forunderstand theis essentiallywere the firstis the largesthave been made" src="http://interpreted assecond half ofcrolling="no" is composed ofII, Holy Romanis expected tohave their owndefined as thetraditionally have differentare often usedto ensure thatagreement withcontaining theare frequentlyinformation onexample is theresulting in a</a></li></ul> class="footerand especiallytype="button" </span></span>which included>\n<meta name="considered thecarried out byHowever, it isbecame part ofin relation topopular in thethe capital ofwas officiallywhich has beenthe History ofalternative todifferent fromto support thesuggested thatin the process <div class="the foundationbecause of hisconcerned withthe universityopposed to thethe context of<span class="ptext" name="q"\t\t<div class="the scientificrepresented bymathematicianselected by thethat have been><div class="cdiv id="headerin particular,converted into);\n<\/script>\n<philosophical srpskohrvatskitiếng ViệtРусскийрусскийinvestigaciónparticipaciónкоторыеобластикоторыйчеловексистемыНовостикоторыхобластьвременикотораясегодняскачатьновостиУкраинывопросыкоторойсделатьпомощьюсредствобразомстороныучастиетечениеГлавнаяисториисистемарешенияСкачатьпоэтомуследуетсказатьтоваровконечнорешениекотороеоргановкоторомРекламаالمنتدىمنتدياتالموضوعالبرامجالمواقعالرسائلمشاركاتالأعضاءالرياضةالتصميمالاعضاءالنتائجالألعابالتسجيلالأقسامالضغطاتالفيديوالترحيبالجديدةالتعليمالأخبارالافلامالأفلامالتاريخالتقنيةالالعابالخواطرالمجتمعالديكورالسياحةعبداللهالتربيةالروابطالأدبيةالاخبارالمتحدةالاغانيcursor:pointer;</title>\n<meta " href="http://"><span class="members of the window.locationvertical-align:/a> | <a href="<!doctype html>media="screen" <option value="favicon.ico" />\n\t\t<div class="characteristics" method="get" /body>\n</html>\nshortcut icon" document.write(padding-bottom:representativessubmit" value="align="center" throughout the science fiction\n <div class="submit" class="one of the most valign="top"><was established);\r\n<\/script>\r\nreturn false;">).style.displaybecause of the document.cookie<form action="/}body{margin:0;Encyclopedia ofversion of the .createElement(name" content="</div>\n</div>\n\nadministrative </body>\n</html>history of the "><input type="portion of the as part of the <a href="other countries">\n<div class="</span></span><In other words,display: block;control of the introduction of/>\n<meta name="as well as the in recent years\r\n\t<div class="</div>\n\t</div>\ninspired by thethe end of the compatible withbecame known as style="margin:.js"><\/script>< International there have beenGerman language style="color:#Communist Partyconsistent withborder="0" cell marginheight="the majority of" align="centerrelated to the many different Orthodox Churchsimilar to the />\n<link rel="swas one of the until his death})();\n<\/script>other languagescompared to theportions of thethe Netherlandsthe most commonbackground:url(argued that thescrolling="no" included in theNorth American the name of theinterpretationsthe traditionaldevelopment of frequently useda collection ofvery similar tosurrounding theexample of thisalign="center">would have beenimage_caption =attached to thesuggesting thatin the form of involved in theis derived fromnamed after theIntroduction torestrictions on style="width: can be used to the creation ofmost important information andresulted in thecollapse of theThis means thatelements of thewas replaced byanalysis of theinspiration forregarded as themost successfulknown as "a comprehensiveHistory of the were consideredreturned to theare referred toUnsourced image>\n\t<div class="consists of thestopPropagationinterest in theavailability ofappears to haveelectromagneticenableServices(function of theIt is important<\/script></div>function(){var relative to theas a result of the position ofFor example, in method="post" was followed by&mdash; thethe applicationjs"><\/script>\r\nul></div></div>after the deathwith respect tostyle="padding:is particularlydisplay:inline; type="submit" is divided into中文 (简体)responsabilidadadministracióninternacionalescorrespondienteउपयोगपूर्वहमारेलोगोंचुनावलेकिनसरकारपुलिसखोजेंचाहिएभेजेंशामिलहमारीजागरणबनानेकुमारब्लॉगमालिकमहिलापृष्ठबढ़तेभाजपाक्लिकट्रेनखिलाफदौरानमामलेमतदानबाजारविकासक्योंचाहतेपहुँचबतायासंवाददेखनेपिछलेविशेषराज्यउत्तरमुंबईदोनोंउपकरणपढ़ेंस्थितफिल्ममुख्यअच्छाछूटतीसंगीतजाएगाविभागघण्टेदूसरेदिनोंहत्यासेक्सगांधीविश्वरातेंदैट्सनक्शासामनेअदालतबिजलीपुरूषहिंदीमित्रकवितारुपयेस्थानकरोड़मुक्तयोजनाकृपयापोस्टघरेलूकार्यविचारसूचनामूल्यदेखेंहमेशास्कूलमैंनेतैयारजिसकेrss+xml" title="-type" content="title" content="at the same time.js"><\/script>\n<" method="post" </span></a></li>vertical-align:t/jquery.min.js">.click(function( style="padding-})();\n<\/script>\n</span><a href="<a href="http://); return false;text-decoration: scrolling="no" border-collapse:associated with Bahasa IndonesiaEnglish language<text xml:space=.gif" border="0"</body>\n</html>\noverflow:hidden;img src="http://addEventListenerresponsible for s.js"><\/script>\n/favicon.ico" />operating system" style="width:1target="_blank">State Universitytext-align:left;\ndocument.write(, including the around the world);\r\n<\/script>\r\n<" style="height:;overflow:hiddenmore informationan internationala member of the one of the firstcan be found in </div>\n\t\t</div>\ndisplay: none;">" />\n<link rel="\n (function() {the 15th century.preventDefault(large number of Byzantine Empire.jpg|thumb|left|vast majority ofmajority of the align="center">University Pressdominated by theSecond World Wardistribution of style="position:the rest of the characterized by rel="nofollow">derives from therather than the a combination ofstyle="width:100English-speakingcomputer scienceborder="0" alt="the existence ofDemocratic Party" style="margin-For this reason,.js"><\/script>\n\tsByTagName(s)[0]js"><\/script>\r\n<.js"><\/script>\r\nlink rel="icon" \' alt=\'\' class=\'formation of theversions of the </a></div></div>/page>\n <page>\n<div class="contbecame the firstbahasa Indonesiaenglish (simple)ΕλληνικάхрватскикомпанииявляетсяДобавитьчеловекаразвитияИнтернетОтветитьнапримеринтернеткоторогостраницыкачествеусловияхпроблемыполучитьявляютсянаиболеекомпаниявниманиесредстваالمواضيعالرئيسيةالانتقالمشاركاتكالسياراتالمكتوبةالسعوديةاحصائياتالعالميةالصوتياتالانترنتالتصاميمالإسلاميالمشاركةالمرئياتrobots" content="<div id="footer">the United States<img src="http://.jpg|right|thumb|.js"><\/script>\r\n<location.protocolframeborder="0" s" />\n<meta name="</a></div></div><font-weight:bold;" and "depending on the margin:0;padding:" rel="nofollow" President of the twentieth centuryevision>\n </pageInternet Explorera.async = true;\r\ninformation about<div id="header">" action="http://<a href="https://<div id="content"</div>\r\n</div>\r\n<derived from the <img src=\'http://according to the \n</body>\n</html>\nstyle="font-size:script language="Arial, Helvetica,</a><span class="<\/script><script political partiestd></tr></table><href="http://www.interpretation ofrel="stylesheet" document.write(\'<charset="utf-8">\nbeginning of the revealed that thetelevision series" rel="nofollow"> target="_blank">claiming that thehttp%3A%2F%2Fwww.manifestations ofPrime Minister ofinfluenced by theclass="clearfix">/div>\r\n</div>\r\n\r\nthree-dimensionalChurch of Englandof North Carolinasquare kilometres.addEventListenerdistinct from thecommonly known asPhonetic Alphabetdeclared that thecontrolled by theBenjamin Franklinrole-playing gamethe University ofin Western Europepersonal computerProject Gutenbergregardless of thehas been proposedtogether with the></li><li class="in some countriesmin.js"><\/script>of the populationofficial language<img src="images/identified by thenatural resourcesclassification ofcan be consideredquantum mechanicsNevertheless, themillion years ago</body>\r\n</html>\rΕλληνικά\ntake advantage ofand, according toattributed to theMicrosoft Windowsthe first centuryunder the controldiv class="headershortly after thenotable exceptiontens of thousandsseveral differentaround the world.reaching militaryisolated from theopposition to thethe Old TestamentAfrican Americansinserted into theseparate from themetropolitan areamakes it possibleacknowledged thatarguably the mosttype="text/css">\nthe InternationalAccording to the pe="text/css" />\ncoincide with thetwo-thirds of theDuring this time,during the periodannounced that hethe internationaland more recentlybelieved that theconsciousness andformerly known assurrounded by thefirst appeared inoccasionally usedposition:absolute;" target="_blank" position:relative;text-align:center;jax/libs/jquery/1.background-color:#type="application/anguage" content="<meta http-equiv="Privacy Policy</a>e("%3Cscript src=\'" target="_blank">On the other hand,.jpg|thumb|right|2</div><div class="<div style="float:nineteenth century</body>\r\n</html>\r\n<img src="http://s;text-align:centerfont-weight: bold; According to the difference between" frameborder="0" " style="position:link href="http://html4/loose.dtd">\nduring this period</td></tr></table>closely related tofor the first time;font-weight:bold;input type="text" <span style="font-onreadystatechange\t<div class="cleardocument.location. For example, the a wide variety of <!DOCTYPE html>\r\n< "><a href="http://style="float:left;concerned with the=http%3A%2F%2Fwww.in popular culturetype="text/css" />it is possible to Harvard Universitytylesheet" href="/the main characterOxford University name="keywords" cstyle="text-align:the United Kingdomfederal government<div style="margin depending on the description of the<div class="header.min.js"><\/script>destruction of theslightly differentin accordance withtelecommunicationsindicates that theshortly thereafterespecially in the European countriesHowever, there aresrc="http://staticsuggested that the" src="http://www.a large number of Telecommunications" rel="nofollow" tHoly Roman Emperoralmost exclusively" border="0" alt="Secretary of Stateculminating in theCIA World Factbookthe most importantanniversary of thestyle="background-<li><em><a href="/the Atlantic Oceanstrictly speaking,shortly before thedifferent types ofthe Ottoman Empire><img src="http://An Introduction toconsequence of thedeparture from theConfederate Statesindigenous peoplesProceedings of theinformation on thetheories have beeninvolvement in thedivided into threeadjacent countriesis responsible fordissolution of thecollaboration withwidely regarded ashis contemporariesfounding member ofDominican Republicgenerally acceptedthe possibility ofare also availableunder constructionrestoration of thethe general publicis almost entirelypasses through thehas been suggestedcomputer and videoGermanic languages according to the different from theshortly afterwardshref="https://www.recent developmentBoard of Directors<div class="search| <a href="http://In particular, theMultiple footnotesor other substancethousands of yearstranslation of the</div>\r\n</div>\r\n\r\n<a href="index.phpwas established inmin.js"><\/script>\nparticipate in thea strong influencestyle="margin-top:represented by thegraduated from theTraditionally, theElement("script");However, since the/div>\n</div>\n<div left; margin-left:protection against0; vertical-align:Unfortunately, thetype="image/x-icon/div>\n<div class=" class="clearfix"><div class="footer\t\t</div>\n\t\t</div>\nthe motion pictureБългарскибългарскиФедерациинесколькосообщениесообщенияпрограммыОтправитьбесплатноматериалыпозволяетпоследниеразличныхпродукциипрограммаполностьюнаходитсяизбранноенаселенияизменениякатегорииАлександрद्वारामैनुअलप्रदानभारतीयअनुदेशहिन्दीइंडियादिल्लीअधिकारवीडियोचिट्ठेसमाचारजंक्शनदुनियाप्रयोगअनुसारऑनलाइनपार्टीशर्तोंलोकसभाफ़्लैशशर्तेंप्रदेशप्लेयरकेंद्रस्थितिउत्पादउन्हेंचिट्ठायात्राज्यादापुरानेजोड़ेंअनुवादश्रेणीशिक्षासरकारीसंग्रहपरिणामब्रांडबच्चोंउपलब्धमंत्रीसंपर्कउम्मीदमाध्यमसहायताशब्दोंमीडियाआईपीएलमोबाइलसंख्याआपरेशनअनुबंधबाज़ारनवीनतमप्रमुखप्रश्नपरिवारनुकसानसमर्थनआयोजितसोमवारالمشاركاتالمنتدياتالكمبيوترالمشاهداتعددالزوارعددالردودالإسلاميةالفوتوشوبالمسابقاتالمعلوماتالمسلسلاتالجرافيكسالاسلاميةالاتصالاتkeywords" content="w3.org/1999/xhtml"><a target="_blank" text/html; charset=" target="_blank"><table cellpadding="autocomplete="off" text-align: center;to last version by background-color: #" href="http://www./div></div><div id=<a href="#" class=""><img src="http://cript" src="http://\n<script language="//EN" "http://www.wencodeURIComponent(" href="javascript:<div class="contentdocument.write(\'<scposition: absolute;script src="http:// style="margin-top:.min.js"><\/script>\n</div>\n<div class="w3.org/1999/xhtml" \n\r\n</body>\r\n</html>distinction between/" target="_blank"><link href="http://encoding="utf-8"?>\nw.addEventListener?action="http://www.icon" href="http:// style="background:type="text/css" />\nmeta property="og:t<input type="text" style="text-align:the development of tylesheet" type="tehtml; charset=utf-8is considered to betable width="100%" In addition to the contributed to the differences betweendevelopment of the It is important to <\/script>\n\n<script style="font-size:1></span><span id=gbLibrary of Congress<img src="http://imEnglish translationAcademy of Sciencesdiv style="display:construction of the.getElementById(id)in conjunction withElement(\'script\'); <meta property="og:Български\n type="text" name=">Privacy Policy</a>administered by theenableSingleRequeststyle="margin:</div></div></div><><img src="http://i style="float:referred to as the total population ofin Washington, D.C. style="background-among other things,organization of theparticipated in thethe introduction ofidentified with thefictional character Oxford University misunderstanding ofThere are, however,stylesheet" href="/Columbia Universityexpanded to includeusually referred toindicating that thehave suggested thataffiliated with thecorrelation betweennumber of different></td></tr></table>Republic of Ireland\n<\/script>\n<script under the influencecontribution to theOfficial website ofheadquarters of thecentered around theimplications of thehave been developedFederal Republic ofbecame increasinglycontinuation of theNote, however, thatsimilar to that of capabilities of theaccordance with theparticipants in thefurther developmentunder the directionis often consideredhis younger brother</td></tr></table><a http-equiv="X-UA-physical propertiesof British Columbiahas been criticized(with the exceptionquestions about thepassing through the0" cellpadding="0" thousands of peopleredirects here. Forhave children under%3E%3C/script%3E"));<a href="http://www.<li><a href="http://site_name" content="text-decoration:nonestyle="display: none<meta http-equiv="X-new Date().getTime() type="image/x-icon"</span><span class="language="javascriptwindow.location.href<a href="javascript:--\x3e\r\n<script type="t<a href=\'http://www.hortcut icon" href="</div>\r\n<div class="<script src="http://" rel="stylesheet" t</div>\n<script type=/a> <a href="http:// allowTransparency="X-UA-Compatible" conrelationship between\n<\/script>\r\n<script </a></li></ul></div>associated with the programming language</a><a href="http://</a></li><li class="form action="http://<div style="display:type="text" name="q"<table width="100%" background-position:" border="0" width="rel="shortcut icon" h6><ul><li><a href=" <meta http-equiv="css" media="screen" responsible for the " type="application/" style="background-html; charset=utf-8" allowtransparency="stylesheet" type="te\r\n<meta http-equiv="></span><span class="0" cellspacing="0">;\n<\/script>\n<script sometimes called thedoes not necessarilyFor more informationat the beginning of <!DOCTYPE html><htmlparticularly in the type="hidden" name="javascript:void(0);"effectiveness of the autocomplete="off" generally considered><input type="text" "><\/script>\r\n<scriptthroughout the worldcommon misconceptionassociation with the</div>\n</div>\n<div cduring his lifetime,corresponding to thetype="image/x-icon" an increasing numberdiplomatic relationsare often consideredmeta charset="utf-8" <input type="text" examples include the"><img src="http://iparticipation in thethe establishment of\n</div>\n<div class="&nbsp;&nbsp;to determine whetherquite different frommarked the beginningdistance between thecontributions to theconflict between thewidely considered towas one of the firstwith varying degreeshave speculated that(document.getElementparticipating in theoriginally developedeta charset="utf-8"> type="text/css" />\ninterchangeably withmore closely relatedsocial and politicalthat would otherwiseperpendicular to thestyle type="text/csstype="submit" name="families residing indeveloping countriescomputer programmingeconomic developmentdetermination of thefor more informationon several occasionsportuguês (Europeu)УкраїнськаукраїнськаРоссийскойматериаловинформацииуправлениянеобходимоинформацияИнформацияРеспубликиколичествоинформациютерриториидостаточноالمتواجدونالاشتراكاتالاقتراحاتhtml; charset=UTF-8" setTimeout(function()display:inline-block;<input type="submit" type = \'text/javascri<img src="http://www." "http://www.w3.org/shortcut icon" href="" autocomplete="off" </a></div><div class=</a></li>\n<li class="css" type="text/css" <form action="http://xt/css" href="http://link rel="alternate" \r\n<script type="text/ onclick="javascript:(new Date).getTime()}height="1" width="1" People\'s Republic of <a href="http://www.text-decoration:underthe beginning of the </div>\n</div>\n</div>\nestablishment of the </div></div></div></d#viewport{min-height:\n<script src="http://option><option value=often referred to as /option>\n<option valu<!DOCTYPE html>\n\x3c!--[International Airport>\n<a href="http://www</a><a href="http://wภาษาไทยქართული正體中文 (繁體)निर्देशडाउनलोडक्षेत्रजानकारीसंबंधितस्थापनास्वीकारसंस्करणसामग्रीचिट्ठोंविज्ञानअमेरिकाविभिन्नगाडियाँक्योंकिसुरक्षापहुँचतीप्रबंधनटिप्पणीक्रिकेटप्रारंभप्राप्तमालिकोंरफ़्तारनिर्माणलिमिटेडdescription" content="document.location.prot.getElementsByTagName(<!DOCTYPE html>\n<html <meta charset="utf-8">:url" content="http://.css" rel="stylesheet"style type="text/css">type="text/css" href="w3.org/1999/xhtml" xmltype="text/javascript" method="get" action="link rel="stylesheet" = document.getElementtype="image/x-icon" />cellpadding="0" cellsp.css" type="text/css" </a></li><li><a href="" width="1" height="1""><a href="http://www.style="display:none;">alternate" type="appli-//W3C//DTD XHTML 1.0 ellspacing="0" cellpad type="hidden" value="/a> <span role="s\n<input type="hidden" language="JavaScript" document.getElementsBg="0" cellspacing="0" ype="text/css" media="type=\'text/javascript\'with the exception of ype="text/css" rel="st height="1" width="1" =\'+encodeURIComponent(<link rel="alternate" \nbody, tr, input, textmeta name="robots" conmethod="post" action=">\n<a href="http://www.css" rel="stylesheet" </div></div><div classlanguage="javascript">aria-hidden="true">·<ript" type="text/javasl=0;})();\n(function(){background-image: url(/a></li><li><a href="h\t\t<li><a href="http://ator" aria-hidden="tru> <a href="http://www.language="javascript" /option>\n<option value/div></div><div class=rator" aria-hidden="tre=(new Date).getTime()português (do Brasil)организациивозможностьобразованиярегистрациивозможностиобязательна<!DOCTYPE html PUBLIC "nt-Type" content="text/<meta http-equiv="Conteransitional//EN" "http:<html xmlns="http://www-//W3C//DTD XHTML 1.0 TDTD/xhtml1-transitional//www.w3.org/TR/xhtml1/pe = \'text/javascript\';<meta name="descriptionparentNode.insertBefore<input type="hidden" najs" type="text/javascri(document).ready(functiscript type="text/javasimage" content="http://UA-Compatible" content=tml; charset=utf-8" />\nlink rel="shortcut icon<link rel="stylesheet" <\/script>\n<script type== document.createElemen<a target="_blank" href= document.getElementsBinput type="text" name=a.type = \'text/javascrinput type="hidden" namehtml; charset=utf-8" />dtd">\n<html xmlns="http-//W3C//DTD HTML 4.01 TentsByTagName(\'script\')input type="hidden" nam<script type="text/javas" style="display:none;">document.getElementById(=document.createElement(\' type=\'text/javascript\'input type="text" name="d.getElementsByTagName(snical" href="http://www.C//DTD HTML 4.01 Transit<style type="text/css">\n\n<style type="text/css">ional.dtd">\n<html xmlns=http-equiv="Content-Typeding="0" cellspacing="0"html; charset=utf-8" />\n style="display:none;"><<li><a href="http://www. type=\'text/javascript\'>деятельностисоответствиипроизводствабезопасностиपुस्तिकाकांग्रेसउन्होंनेविधानसभाफिक्सिंगसुरक्षितकॉपीराइटविज्ञापनकार्रवाईसक्रियता');for(let e=0;e<Gd.length;e+=2)Bd[Gd[e]]=Gd[e+1]}return Bd}function to(e,t,r){let n=ro(e.length,t,r),i=t=>e[t];for(let e=n.next();!e.done;e=n.next(i));}function*ro(e,t,r){let n=yield 0;if(255!==n(0)||216!==n(1))throw cs("JXL_JPEG",jd);for(let i=2;i<e;){if(n=yield i,255!==n(i++))throw cs("JXL_JPEG",Pd);for(;255===n(i);)n=yield++i;let o=n(i++);if(217===o||218===o)break;if(1===o||o>=208&&o<=215)continue;if(i+2>e)break;let a=256*n(i)+n(i+1);if(a<2||i+a>e)break;if(qd.includes(o)){if(a<8)break;n=yield i;let e=256*n(i+5)+n(i+6),o=256*n(i+3)+n(i+4);if(!e||!o)throw cs("JXL_JPEG",_d);return Ye(e,o,t,r)}i+=a}throw cs("JXL_JPEG",Xd)}function no({width:e,height:t,orientation:r,orientationAt:n,orientationBig:i},o){if(void 0===e||void 0===t)throw cs("JXL_JPEG","JPEG dimensions: missing or truncated");return Ye(e,t,o),{width:e,height:t,orientation:r??1,orientationAt:n,orientationBig:i}}function io(e,t){let r={...t},n=r.at,i=e.length,o=Math.min(i,n+131072),a=e.subarray(n,Math.min(i,o+65540)),l=e=>a[e-n],s=()=>"marker-code"===r.phase||"entropy-code"===r.phase;if("signature"===r.phase){if(255!==l(0)||216!==l(1))throw cs("JXL_JPEG","JPEG signature: not a JPEG");r.at=2,r.phase="marker"}for(;!r.done&&(r.at<o||r.at>=i&&s());){if("entropy"===r.phase){for(;r.at<o&&255!==l(r.at);)r.at++;r.at<o&&(r.at++,r.phase="entropy-code");continue}if("marker"===r.phase){if(255!==l(r.at++))throw cs("JXL_JPEG","JPEG marker: invalid");r.phase="marker-code"}for(;r.at<o&&255===l(r.at);)r.at++;if(r.at>=o&&r.at<i)break;if("entropy-code"===r.phase){let e=l(r.at);if(0===e||e>=208&&e<=215){r.at++,r.phase="entropy";continue}r.phase="marker-code"}let e=l(r.at++);if(217===e){r.done=!0;break}if(r.phase="marker",1===e||e>=208&&e<=215)continue;let t=256*l(r.at)+l(r.at+1),s=r.at+t,m=r.at+2;if(!Number.isInteger(t)||t<2||s>i)throw cs("JXL_JPEG","JPEG segment: incomplete");if([192,193,194,195,197,198,199,201,202,203,205,206,207].includes(e)){if(t<8)throw cs("JXL_JPEG","JPEG dimensions: missing or truncated");if(r.height=256*l(m+1)+l(m+2),r.width=256*l(m+3)+l(m+4),!r.width||!r.height)throw cs("JXL_JPEG","JPEG deferred height: use host pixels")}225===e&&null===r.orientation&&s-m>=6&&[69,120,105,102,0].every((e,t)=>l(m+t)===e)&&(r.orientation=Me(a,m+6-n,s-n,(e,t)=>{r.orientationAt=n+e,r.orientationBig=t})),r.at=s,218===e&&(r.phase="entropy")}return r.at>=i&&!s()&&(r.done=!0),r}function oo({effort:e=7}){if(!Number.isInteger(e)||e<1||e>9)throw cs("JXL_OPTIONS","effort: integer 1-9");return e}function ao(e,{name:t,gpu:r=!1,helpers:n,helper:i,ready:o}={}){let a=new WeakSet,l=t=>{if("function"!=typeof e[t])throw cs("JXL_OPTIONS",`unknown operation: ${t}`)};return Object.freeze({module:t,async run(n,i,o={},a={}){let s;if(ze(o),Pe(a.signal),l(n),Object.hasOwn(o,Qd)){let{[Qd]:e,...t}=o;s=e,o=t}let m={maxPixels:Math.min(void 0===o.maxPixels?1/0:We(o.maxPixels),a.maxPixels??go),...r&&ep(n)&&{webgpu:o.webgpu??a.webgpu}},{webgpu:c,...f}=o,h={...r||"capture"===n?o:f,...m,...void 0!==s&&{[Zd]:s},..."capture"===n&&void 0===o.webgpu&&void 0!==a.webgpu&&{webgpu:a.webgpu},..."format"===n&&void 0!==a.webgpu&&{[$d]:a.webgpu},signal:a.signal,onProgress:a.onProgress,...a.onPreview&&{onPreview:a.onPreview},..."rapier-jxl/animation"===t&&a.retainInput&&{[Gs]:a.retainInput}};try{return await e[n](i,h)}finally{(typeof ImageBitmap<"u"&&i instanceof ImageBitmap||"function"==typeof VideoFrame&&i instanceof VideoFrame)&&i.close()}},async prepare(t,{webgpu:n,owner:i,helpers:o}={}){l(t),r&&(ep(t)||"format"===t)&&"required"===n&&await r("required");let a=e.prepare?.operations;return e.prepare?.(a?a.includes(t)?t:a[0]:void 0)},async release(e,t=!1){t&&a.add(e)}})}function lo(e,t=new Set,r=new Set){if(!e||"object"!=typeof e||r.has(e))return t;if(r.add(e),e instanceof ArrayBuffer)t.add(e);else if(ArrayBuffer.isView(e))t.add(e.buffer);else for(let n of Object.values(e))lo(n,t,r);return t}function so(e,t=!1){let r="Error",n="JXL_INTERNAL",i="worker:job";try{let t=e?.name;"string"==typeof t&&t&&(r=t)}catch{}try{let t=e?.code;"string"==typeof t&&t.startsWith("JXL_")&&(n=t)}catch{}try{let t=e?.message??e;(null===t||"object"!=typeof t&&"function"!=typeof t)&&(i=""===t&&e&&"object"==typeof e?r:String(t))}catch{}return"JXL_INTERNAL"===n&&Lo(e)&&(n="JXL_MEMORY",i="memory: shrink picture"+(i?` (${i})`:"")),t?{name:r,code:n,message:i}:{code:n,message:i}}async function mo(){if(!await es()||!Ql()||!Ia.channel)throw Aa()}async function co(e){if("webgpu"===e)return!1;if(void 0!==e)throw cs("JXL_OPTIONS","supported(): no argument or 'webgpu'");try{return await mo(),!0}catch{return!1}}function fo(e){let{signal:t,onProgress:r}=e;if(je(t),void 0!==r&&"function"!=typeof r)throw cs("JXL_OPTIONS","onProgress: function");return{signal:t,progress:Re(r,t)??(()=>{})}}async function ho(e,t,r,n){if(typeof Blob<"u"&&e instanceof Blob){void 0!==n&&await async function(e,t,r,n){await async function(e,t,r){let n=0,i=new Uint8Array(0),o=e=>i[e-n],a=r.next();for(;!a.done;a=r.next(o)){let r=a.value;r>=n&&r+16<=n+i.length||(n=r,i=await _e(e,t,r,r+4096),Pe(t))}return a.value}(e,r,ro(e.size,t,n))}(e,n,t,Mo.edge);let i=await _e(e,t);return r(function(e){if(!(e instanceof Uint8Array&&e.length))throw cs("JXL_INPUT","input: nonempty Uint8Array");return e}(i)),i}return mt(e),r(function(e,t=!1){let r=mt(e,t);try{return new Uint8Array(Js.buffer.call(e),Js.byteOffset.call(e),r)}catch{throw cs("JXL_INPUT","buffer: attached ArrayBuffer")}}(e)),ct(e)}
|