diff --git a/295.dbe00356.worker.js b/295.dbe00356.worker.js deleted file mode 100644 index 067f655..0000000 --- a/295.dbe00356.worker.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var t={551:(t,e,n)=>{t.exports=n.p+"assets/grad_aff_paa.c6b504cf.wasm"}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.p="",(()=>{var t=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{A(r.next(t))}catch(t){o(t)}}function a(t){try{A(r.throw(t))}catch(t){o(t)}}function A(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}A((r=r.apply(t,e||[])).next())}))};class e extends Error{constructor(){super('AFF not ready yet. Remember awaiting the "aff.ready" promise, before accessing any methods or properties.'),this.name="AFFNotReadyError"}}const r=new Map([[0,"OK"],[-1,"Unknown Error"],[-2,"Read Error"],[-3,"Argument Error"],[-4,"Invalid State"],[-5,"IO Error"],[-6,"Compression Error"],[-7,"Invalid State"]]);class i extends Error{constructor(t){var e;super(`${null!==(e=r.get(t))&&void 0!==e?e:"Unknown Error Code"} (Code: ${t})`),this.name="AFFExceptionError"}}class o{constructor(e,n){this.instance=null,this.memory=new WebAssembly.Memory({initial:256,maximum:32768}),this.dataView=new DataView(this.memory.buffer),this.ready=function(e,n){return t(this,void 0,void 0,(function*(){if(void 0!==WebAssembly.instantiateStreaming){const{instance:t}=yield WebAssembly.instantiateStreaming(e,n);return t}const t=yield(yield e).arrayBuffer();return(yield WebAssembly.instantiate(t,n)).instance}))}(e,{env:{memory:this.memory,__sys_stat64:(t,e)=>(this.setErrNo(5),-1),emscripten_notify_memory_growth:t=>this.updateViews()},wasi_snapshot_preview1:{fd_read:(t,e,n,r)=>(this.setErrNo(5),-1),fd_close:t=>(this.setErrNo(5),-1),fd_seek:(t,e,n,r,i)=>(this.setErrNo(5),-1),fd_write:(t,e,n,r)=>(this.setErrNo(5),-1),environ_sizes_get:(t,e)=>(this.dataView.setInt32(t,0,!0),this.dataView.setInt32(e,0,!0),0),environ_get:(t,e)=>0,proc_exit:t=>{var e;null===(e=null==n?void 0:n.exit)||void 0===e||e.call(n,t)}}}).then((t=>{this.instance=t,this.updateViews()}))}get exports(){var t;return null===(t=this.instance)||void 0===t?void 0:t.exports}updateViews(){this.dataView=new DataView(this.memory.buffer)}malloc(t){if(null===this.exports)throw new e;const n=this.exports.malloc(t);if(0===n)throw new Error("Failed to allocate memory");return n}free(t){if(null===this.exports)throw new e;this.exports.free(t)}writeBufferToMemory(t){const e=this.malloc(t.byteLength),n=new Uint8Array(t);for(let t=0;t{e.onload=()=>t(),e.onerror=()=>n(Error("Image loading error"))}));return e.decode&&(yield e.decode().catch((()=>null))),yield n,e},new((r=void 0)||(r=Promise))((function(t,o){function s(t){try{A(i.next(t))}catch(t){o(t)}}function a(t){try{A(i.throw(t))}catch(t){o(t)}}function A(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(t){t(n)}))).then(s,a)}A((i=i.apply(e,n||[])).next())}));var e,n,r,i}var a=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{A(r.next(t))}catch(t){o(t)}}function a(t){try{A(r.throw(t))}catch(t){o(t)}}function A(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}A((r=r.apply(t,e||[])).next())}))};a(void 0,void 0,void 0,(function*(){const t=[["image/vnd.paa","PAA"],["image/png","PNG"],["image/jpeg","JPEG"],["image/svg+xml","SVG"],["image/bmp","BMP"],["image/gif","GIF"],["image/x-icon","ICO"]],e=yield Promise.all([A(["image/webp","WebP"],"data:image/webp;base64,UklGRhYAAABXRUJQVlA4TAoAAAAvAAAAAEX/I/of"),A(["image/avif","AVIF"],"data:image/avif;base64,AAAAFGZ0eXBhdmlmAAAAAG1pZjEAAACgbWV0YQAAAAAAAAAOcGl0bQAAAAAAAQAAAB5pbG9jAAAAAEQAAAEAAQAAAAEAAAC8AAAAGwAAACNpaW5mAAAAAAABAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAARWlwcnAAAAAoaXBjbwAAABRpc3BlAAAAAAAAAAQAAAAEAAAADGF2MUOBAAAAAAAAFWlwbWEAAAAAAAAAAQABAgECAAAAI21kYXQSAAoIP8R8hAQ0BUAyDWeeUy0JG+QAACANEkA="),A(["image/jxl","JPEG XL"],"data:image/jxl;base64,/woAELASCAgQADAASxLFgoUUlw17/v8f")]);for(const n of e)void 0!==n&&t.push(n);return new Map(t)}));function A(t,e){return a(this,void 0,void 0,(function*(){try{yield s(e)}catch(t){return}return t}))}new RegExp(`\\.(${["paa"].join("|")})$`,"i");var c=n(551),f=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{A(r.next(t))}catch(t){o(t)}}function a(t){try{A(r.throw(t))}catch(t){o(t)}}function A(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}A((r=r.apply(t,e||[])).next())}))};const h=function(e="/grad_aff_paa.wasm",n){return t(this,void 0,void 0,(function*(){("string"==typeof e||e instanceof Request||e instanceof URL)&&(e instanceof URL&&(e=e.toString()),e=fetch(e));const t=new o(e,n);return yield t.ready,t}))}(c);function d(t){return f(this,void 0,void 0,(function*(){const e=yield(n=t,new Response(n).arrayBuffer());var n;const r=new Uint8Array(e);return(yield h).decode(r)}))}addEventListener("message",(t=>f(void 0,void 0,void 0,(function*(){const e=t.data;let n;try{n={type:"data",data:yield d(e)}}catch(t){n=t instanceof Error?{type:"error",data:t.toString()}:{type:"error",data:t}}postMessage(n,this)}))))})()})(); \ No newline at end of file diff --git a/316.6f0135b9.worker.js b/316.6f0135b9.worker.js new file mode 100644 index 0000000..a7fd66d --- /dev/null +++ b/316.6f0135b9.worker.js @@ -0,0 +1 @@ +(()=>{"use strict";var t=function(t,e,n,i){return new(n||(n=Promise))((function(r,o){function s(t){try{A(i.next(t))}catch(t){o(t)}}function a(t){try{A(i.throw(t))}catch(t){o(t)}}function A(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}A((i=i.apply(t,e||[])).next())}))};class e extends Error{constructor(){super('AFF not ready yet. Remember awaiting the "aff.ready" promise, before accessing any methods or properties.'),this.name="AFFNotReadyError"}}const n=new Map([[0,"OK"],[-1,"Unknown Error"],[-2,"Read Error"],[-3,"Argument Error"],[-4,"Invalid State"],[-5,"IO Error"],[-6,"Compression Error"],[-7,"Invalid State"]]);class i extends Error{constructor(t){var e;super(`${null!==(e=n.get(t))&&void 0!==e?e:"Unknown Error Code"} (Code: ${t})`),this.name="AFFExceptionError"}}class r{constructor(e,n){this.instance=null,this.memory=new WebAssembly.Memory({initial:256,maximum:32768}),this.dataView=new DataView(this.memory.buffer),this.ready=function(e,n){return t(this,void 0,void 0,(function*(){if(void 0!==WebAssembly.instantiateStreaming){const{instance:t}=yield WebAssembly.instantiateStreaming(e,n);return t}const t=yield(yield e).arrayBuffer();return(yield WebAssembly.instantiate(t,n)).instance}))}(e,{env:{memory:this.memory,__sys_stat64:(t,e)=>(this.setErrNo(5),-1),emscripten_notify_memory_growth:t=>{this.updateViews()}},wasi_snapshot_preview1:{fd_read:(t,e,n,i)=>(this.setErrNo(5),-1),fd_close:t=>(this.setErrNo(5),-1),fd_seek:(t,e,n,i,r)=>(this.setErrNo(5),-1),fd_write:(t,e,n,i)=>(this.setErrNo(5),-1),environ_sizes_get:(t,e)=>(this.dataView.setInt32(t,0,!0),this.dataView.setInt32(e,0,!0),0),environ_get:(t,e)=>0,proc_exit:t=>{var e;null===(e=null==n?void 0:n.exit)||void 0===e||e.call(n,t)}}}).then((t=>{this.instance=t,this.updateViews()}))}get exports(){var t;return null===(t=this.instance)||void 0===t?void 0:t.exports}updateViews(){this.dataView=new DataView(this.memory.buffer)}malloc(t){if(null===this.exports)throw new e;const n=this.exports.malloc(t);if(0===n)throw new Error("Failed to allocate memory");return n}free(t){if(null===this.exports)throw new e;this.exports.free(t)}writeBufferToMemory(t){const e=this.malloc(t.byteLength),n=new Uint8Array(t);for(let t=0;t{e.onload=()=>{t()},e.onerror=()=>{n(Error("Image loading error"))}}));return e.decode&&(yield e.decode().catch((()=>null))),yield n,e}))}(e)}catch(t){return}return t}))}new RegExp(`\\.(${A.join("|")})$`,"i");var f=function(t,e,n,i){return new(n||(n=Promise))((function(r,o){function s(t){try{A(i.next(t))}catch(t){o(t)}}function a(t){try{A(i.throw(t))}catch(t){o(t)}}function A(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}A((i=i.apply(t,e||[])).next())}))};const h=function(e="/grad_aff_paa.wasm",n){return t(this,void 0,void 0,(function*(){("string"==typeof e||e instanceof Request||e instanceof URL)&&(e instanceof URL&&(e=e.toString()),e=fetch(e));const t=new r(e,n);return yield t.ready,t}))}("assets/grad_aff_paa.c6b504cf.wasm");addEventListener("message",(t=>f(void 0,void 0,void 0,(function*(){const e=t.data;let n;try{n={type:"data",data:yield function(t){return f(this,void 0,void 0,(function*(){const e=(yield h).encode(t);return new Blob([e.buffer],{type:a})}))}(e)}}catch(t){n=t instanceof Error?{type:"error",data:t.toString()}:{type:"error",data:t}}postMessage(n,this)}))))})(); \ No newline at end of file diff --git a/386.9a45f1db.worker.js b/386.9a45f1db.worker.js new file mode 100644 index 0000000..39f1c86 --- /dev/null +++ b/386.9a45f1db.worker.js @@ -0,0 +1 @@ +(()=>{"use strict";var t=function(t,e,n,i){return new(n||(n=Promise))((function(r,o){function a(t){try{A(i.next(t))}catch(t){o(t)}}function s(t){try{A(i.throw(t))}catch(t){o(t)}}function A(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}A((i=i.apply(t,e||[])).next())}))};class e extends Error{constructor(){super('AFF not ready yet. Remember awaiting the "aff.ready" promise, before accessing any methods or properties.'),this.name="AFFNotReadyError"}}const n=new Map([[0,"OK"],[-1,"Unknown Error"],[-2,"Read Error"],[-3,"Argument Error"],[-4,"Invalid State"],[-5,"IO Error"],[-6,"Compression Error"],[-7,"Invalid State"]]);class i extends Error{constructor(t){var e;super(`${null!==(e=n.get(t))&&void 0!==e?e:"Unknown Error Code"} (Code: ${t})`),this.name="AFFExceptionError"}}class r{constructor(e,n){this.instance=null,this.memory=new WebAssembly.Memory({initial:256,maximum:32768}),this.dataView=new DataView(this.memory.buffer),this.ready=function(e,n){return t(this,void 0,void 0,(function*(){if(void 0!==WebAssembly.instantiateStreaming){const{instance:t}=yield WebAssembly.instantiateStreaming(e,n);return t}const t=yield(yield e).arrayBuffer();return(yield WebAssembly.instantiate(t,n)).instance}))}(e,{env:{memory:this.memory,__sys_stat64:(t,e)=>(this.setErrNo(5),-1),emscripten_notify_memory_growth:t=>{this.updateViews()}},wasi_snapshot_preview1:{fd_read:(t,e,n,i)=>(this.setErrNo(5),-1),fd_close:t=>(this.setErrNo(5),-1),fd_seek:(t,e,n,i,r)=>(this.setErrNo(5),-1),fd_write:(t,e,n,i)=>(this.setErrNo(5),-1),environ_sizes_get:(t,e)=>(this.dataView.setInt32(t,0,!0),this.dataView.setInt32(e,0,!0),0),environ_get:(t,e)=>0,proc_exit:t=>{var e;null===(e=null==n?void 0:n.exit)||void 0===e||e.call(n,t)}}}).then((t=>{this.instance=t,this.updateViews()}))}get exports(){var t;return null===(t=this.instance)||void 0===t?void 0:t.exports}updateViews(){this.dataView=new DataView(this.memory.buffer)}malloc(t){if(null===this.exports)throw new e;const n=this.exports.malloc(t);if(0===n)throw new Error("Failed to allocate memory");return n}free(t){if(null===this.exports)throw new e;this.exports.free(t)}writeBufferToMemory(t){const e=this.malloc(t.byteLength),n=new Uint8Array(t);for(let t=0;t{e.onload=()=>{t()},e.onerror=()=>{n(Error("Image loading error"))}}));return e.decode&&(yield e.decode().catch((()=>null))),yield n,e}))}(e)}catch(t){return}return t}))}new RegExp(`\\.(${["paa"].join("|")})$`,"i");var A=function(t,e,n,i){return new(n||(n=Promise))((function(r,o){function a(t){try{A(i.next(t))}catch(t){o(t)}}function s(t){try{A(i.throw(t))}catch(t){o(t)}}function A(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}A((i=i.apply(t,e||[])).next())}))};const c=function(e="/grad_aff_paa.wasm",n){return t(this,void 0,void 0,(function*(){("string"==typeof e||e instanceof Request||e instanceof URL)&&(e instanceof URL&&(e=e.toString()),e=fetch(e));const t=new r(e,n);return yield t.ready,t}))}("assets/grad_aff_paa.c6b504cf.wasm");function f(t){return A(this,void 0,void 0,(function*(){const e=yield function(t){return e=this,n=void 0,r=function*(){return yield new Response(t).arrayBuffer()},new((i=void 0)||(i=Promise))((function(t,o){function a(t){try{A(r.next(t))}catch(t){o(t)}}function s(t){try{A(r.throw(t))}catch(t){o(t)}}function A(e){var n;e.done?t(e.value):(n=e.value,n instanceof i?n:new i((function(t){t(n)}))).then(a,s)}A((r=r.apply(e,n||[])).next())}));var e,n,i,r}(t),n=new Uint8Array(e);return(yield c).decode(n)}))}addEventListener("message",(t=>A(void 0,void 0,void 0,(function*(){const e=t.data;let n;try{n={type:"data",data:yield f(e)}}catch(t){n=t instanceof Error?{type:"error",data:t.toString()}:{type:"error",data:t}}postMessage(n,this)}))))})(); \ No newline at end of file diff --git a/548.2e1b6cfd.worker.js b/548.2e1b6cfd.worker.js deleted file mode 100644 index b0a5dc2..0000000 --- a/548.2e1b6cfd.worker.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var t={551:(t,e,n)=>{t.exports=n.p+"assets/grad_aff_paa.c6b504cf.wasm"}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.p="",(()=>{var t=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{A(r.next(t))}catch(t){o(t)}}function a(t){try{A(r.throw(t))}catch(t){o(t)}}function A(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}A((r=r.apply(t,e||[])).next())}))};class e extends Error{constructor(){super('AFF not ready yet. Remember awaiting the "aff.ready" promise, before accessing any methods or properties.'),this.name="AFFNotReadyError"}}const r=new Map([[0,"OK"],[-1,"Unknown Error"],[-2,"Read Error"],[-3,"Argument Error"],[-4,"Invalid State"],[-5,"IO Error"],[-6,"Compression Error"],[-7,"Invalid State"]]);class i extends Error{constructor(t){var e;super(`${null!==(e=r.get(t))&&void 0!==e?e:"Unknown Error Code"} (Code: ${t})`),this.name="AFFExceptionError"}}class o{constructor(e,n){this.instance=null,this.memory=new WebAssembly.Memory({initial:256,maximum:32768}),this.dataView=new DataView(this.memory.buffer),this.ready=function(e,n){return t(this,void 0,void 0,(function*(){if(void 0!==WebAssembly.instantiateStreaming){const{instance:t}=yield WebAssembly.instantiateStreaming(e,n);return t}const t=yield(yield e).arrayBuffer();return(yield WebAssembly.instantiate(t,n)).instance}))}(e,{env:{memory:this.memory,__sys_stat64:(t,e)=>(this.setErrNo(5),-1),emscripten_notify_memory_growth:t=>this.updateViews()},wasi_snapshot_preview1:{fd_read:(t,e,n,r)=>(this.setErrNo(5),-1),fd_close:t=>(this.setErrNo(5),-1),fd_seek:(t,e,n,r,i)=>(this.setErrNo(5),-1),fd_write:(t,e,n,r)=>(this.setErrNo(5),-1),environ_sizes_get:(t,e)=>(this.dataView.setInt32(t,0,!0),this.dataView.setInt32(e,0,!0),0),environ_get:(t,e)=>0,proc_exit:t=>{var e;null===(e=null==n?void 0:n.exit)||void 0===e||e.call(n,t)}}}).then((t=>{this.instance=t,this.updateViews()}))}get exports(){var t;return null===(t=this.instance)||void 0===t?void 0:t.exports}updateViews(){this.dataView=new DataView(this.memory.buffer)}malloc(t){if(null===this.exports)throw new e;const n=this.exports.malloc(t);if(0===n)throw new Error("Failed to allocate memory");return n}free(t){if(null===this.exports)throw new e;this.exports.free(t)}writeBufferToMemory(t){const e=this.malloc(t.byteLength),n=new Uint8Array(t);for(let t=0;t{e.onload=()=>t(),e.onerror=()=>n(Error("Image loading error"))}));return e.decode&&(yield e.decode().catch((()=>null))),yield n,e},new((r=void 0)||(r=Promise))((function(t,o){function s(t){try{A(i.next(t))}catch(t){o(t)}}function a(t){try{A(i.throw(t))}catch(t){o(t)}}function A(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(t){t(n)}))).then(s,a)}A((i=i.apply(e,n||[])).next())}));var e,n,r,i}var a=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{A(r.next(t))}catch(t){o(t)}}function a(t){try{A(r.throw(t))}catch(t){o(t)}}function A(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}A((r=r.apply(t,e||[])).next())}))};const A="image/vnd.paa",c=(a(void 0,void 0,void 0,(function*(){const t=[[A,"PAA"],["image/png","PNG"],["image/jpeg","JPEG"],["image/svg+xml","SVG"],["image/bmp","BMP"],["image/gif","GIF"],["image/x-icon","ICO"]],e=yield Promise.all([f(["image/webp","WebP"],"data:image/webp;base64,UklGRhYAAABXRUJQVlA4TAoAAAAvAAAAAEX/I/of"),f(["image/avif","AVIF"],"data:image/avif;base64,AAAAFGZ0eXBhdmlmAAAAAG1pZjEAAACgbWV0YQAAAAAAAAAOcGl0bQAAAAAAAQAAAB5pbG9jAAAAAEQAAAEAAQAAAAEAAAC8AAAAGwAAACNpaW5mAAAAAAABAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAARWlwcnAAAAAoaXBjbwAAABRpc3BlAAAAAAAAAAQAAAAEAAAADGF2MUOBAAAAAAAAFWlwbWEAAAAAAAAAAQABAgECAAAAI21kYXQSAAoIP8R8hAQ0BUAyDWeeUy0JG+QAACANEkA="),f(["image/jxl","JPEG XL"],"data:image/jxl;base64,/woAELASCAgQADAASxLFgoUUlw17/v8f")]);for(const n of e)void 0!==n&&t.push(n);return new Map(t)})),["paa"]);function f(t,e){return a(this,void 0,void 0,(function*(){try{yield s(e)}catch(t){return}return t}))}new RegExp(`\\.(${c.join("|")})$`,"i");var h=n(551),d=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{A(r.next(t))}catch(t){o(t)}}function a(t){try{A(r.throw(t))}catch(t){o(t)}}function A(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}A((r=r.apply(t,e||[])).next())}))};const u=function(e="/grad_aff_paa.wasm",n){return t(this,void 0,void 0,(function*(){("string"==typeof e||e instanceof Request||e instanceof URL)&&(e instanceof URL&&(e=e.toString()),e=fetch(e));const t=new o(e,n);return yield t.ready,t}))}(h);addEventListener("message",(t=>d(void 0,void 0,void 0,(function*(){const e=t.data;let n;try{n={type:"data",data:yield function(t){return d(this,void 0,void 0,(function*(){const e=(yield u).encode(t);return new Blob([e.buffer],{type:A})}))}(e)}}catch(t){n=t instanceof Error?{type:"error",data:t.toString()}:{type:"error",data:t}}postMessage(n,this)}))))})()})(); \ No newline at end of file diff --git a/index.html b/index.html index 7c73247..d66c6aa 100644 --- a/index.html +++ b/index.html @@ -1,12 +1,12 @@ -PAA Converter - Gruppe Adler
We're sorry but paa.gruppe-adler.de doesn't work properly in Internet Explorer.

ARMA 3 PAA CONVERTER

This free image to PAA / PAA to image converter works 100% in the browser.

Just drag your image or .paa files into this window or click the button below to start converting files to the corresponding format.

Your files won't be uploaded anywhere. Everything is processed on your machine. This site will even work when you're offline.

Thanks to BI and the Arma 3 Community for being awesome
Also check out our PAA plugins for Gimp Logo Gimp Adobe Photoshop Logo Photoshop

PAA CONVERTER

    Any Feedback?

    We hope your overall experience was good, but we are open to any criticism you have and would appreciate if you report any bugs you encounter.

    Join our discord server to chat directly with us, open an issue on GitHub or shoot us an email: