@evfrenkel/decap-cms-core 3.13.0-image-conversions.0 → 3.13.0-image-conversions.2

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.
@@ -1,2 +1,2 @@
1
- "use strict";(window.webpackChunkDecapCmsCore=window.webpackChunkDecapCmsCore||[]).push([[20],{65020(e,t,n){let r;function _(e){const t=typeof e;if("number"==t||"boolean"==t||null==e)return`${e}`;if("string"==t)return`"${e}"`;if("symbol"==t){const t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==t){const t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){const t=e.length;let n="[";t>0&&(n+=_(e[0]));for(let r=1;r<t;r++)n+=", "+_(e[r]);return n+="]",n}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(!(n.length>1))return toString.call(e);if(r=n[1],"Object"==r)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:r}n.d(t,{PhotonImage:()=>I,SamplingFilter:()=>C,default:()=>E,resize:()=>l});let i=0,o=null;function a(){return null!==o&&0!==o.byteLength||(o=new Uint8Array(r.memory.buffer)),o}const c="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},g="function"==typeof c.encodeInto?function(e,t){return c.encodeInto(e,t)}:function(e,t){const n=c.encode(e);return t.set(n),{read:e.length,written:n.length}};function s(e,t,n){if(void 0===n){const n=c.encode(e),r=t(n.length,1)>>>0;return a().subarray(r,r+n.length).set(n),i=n.length,r}let r=e.length,_=t(r,1)>>>0;const o=a();let s=0;for(;s<r;s++){const t=e.charCodeAt(s);if(t>127)break;o[_+s]=t}if(s!==r){0!==s&&(e=e.slice(s)),_=n(_,r,r=s+3*e.length,1)>>>0;const t=a().subarray(_+s,_+r);s+=g(e,t).written,_=n(_,r,s,1)>>>0}return i=s,_}let b=null;function u(){return(null===b||!0===b.buffer.detached||void 0===b.buffer.detached&&b.buffer!==r.memory.buffer)&&(b=new DataView(r.memory.buffer)),b}const f="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};function w(e,t){return e>>>=0,f.decode(a().subarray(e,e+t))}function l(e,t,n,_){!function(e,t){if(!(e instanceof t))throw new Error(`expected instance of ${t.name}`);e.ptr}(e,I);const i=r.resize(e.__wbg_ptr,t,n,_);return I.__wrap(i)}function d(e,t){const n=t(1*e.length,1)>>>0;return a().set(e,n/1),i=e.length,n}function h(e,t){return e>>>=0,a().subarray(e/1,e/1+t)}function m(e){return null==e}function p(e){const t=r.__externref_table_alloc();return r.__wbindgen_export_2.set(t,e),t}function y(e,t){try{return e.apply(this,t)}catch(e){const t=p(e);r.__wbindgen_exn_store(t)}}"undefined"!=typeof TextDecoder&&f.decode();let x=null;const C=Object.freeze({Nearest:1,1:"Nearest",Triangle:2,2:"Triangle",CatmullRom:3,3:"CatmullRom",Gaussian:4,4:"Gaussian",Lanczos3:5,5:"Lanczos3"}),v="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_photonimage_free(e>>>0,1));class I{static __wrap(e){e>>>=0;const t=Object.create(I.prototype);return t.__wbg_ptr=e,v.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),e}free(){const e=this.__destroy_into_raw();r.__wbg_photonimage_free(e,0)}constructor(e,t,n){const _=d(e,r.__wbindgen_malloc),o=i,a=r.photonimage_new(_,o,t,n);return this.__wbg_ptr=a>>>0,v.register(this,this.__wbg_ptr,this),this}static new_from_base64(e){const t=s(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=i,_=r.base64_to_image(t,n);return I.__wrap(_)}static new_from_byteslice(e){const t=d(e,r.__wbindgen_malloc),n=i,_=r.photonimage_new_from_byteslice(t,n);return I.__wrap(_)}static new_from_blob(e){const t=r.photonimage_new_from_blob(e);return I.__wrap(t)}static new_from_image(e){const t=r.photonimage_new_from_image(e);return I.__wrap(t)}get_width(){return r.photonimage_get_width(this.__wbg_ptr)>>>0}get_raw_pixels(){const e=r.photonimage_get_raw_pixels(this.__wbg_ptr);var t=h(e[0],e[1]).slice();return r.__wbindgen_free(e[0],1*e[1],1),t}get_height(){return r.photonimage_get_height(this.__wbg_ptr)>>>0}get_base64(){let e,t;try{const n=r.photonimage_get_base64(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get_bytes(){const e=r.photonimage_get_bytes(this.__wbg_ptr);var t=h(e[0],e[1]).slice();return r.__wbindgen_free(e[0],1*e[1],1),t}get_bytes_jpeg(e){const t=r.photonimage_get_bytes_jpeg(this.__wbg_ptr,e);var n=h(t[0],t[1]).slice();return r.__wbindgen_free(t[0],1*t[1],1),n}get_bytes_webp(){const e=r.photonimage_get_bytes_webp(this.__wbg_ptr);var t=h(e[0],e[1]).slice();return r.__wbindgen_free(e[0],1*e[1],1),t}get_image_data(){return r.photonimage_get_image_data(this.__wbg_ptr)}set_imgdata(e){r.photonimage_set_imgdata(this.__wbg_ptr,e)}get_estimated_filesize(){const e=r.photonimage_get_estimated_filesize(this.__wbg_ptr);return BigInt.asUintN(64,e)}}function R(){const e={wbg:{}};return e.wbg.__wbg_new_abda76e883ba8a5f=function(){return new Error},e.wbg.__wbg_stack_658279fe44541cf6=function(e,t){const n=s(t.stack,r.__wbindgen_malloc,r.__wbindgen_realloc),_=i;u().setInt32(e+4,_,!0),u().setInt32(e+0,n,!0)},e.wbg.__wbg_error_f851667af71bcfc6=function(e,t){let n,_;try{n=e,_=t,console.error(w(e,t))}finally{r.__wbindgen_free(n,_,1)}},e.wbg.__wbg_instanceof_Window_c4b70662a0d2c5ec=function(e){let t;try{t=e instanceof Window}catch(e){t=!1}return t},e.wbg.__wbg_document_e5c1786dea6542e4=function(e){const t=e.document;return m(t)?0:p(t)},e.wbg.__wbg_body_e70ae6abd01ae584=function(e){const t=e.body;return m(t)?0:p(t)},e.wbg.__wbg_createElement_5d4c76f218b78145=function(){return y(function(e,t,n){return e.createElement(w(t,n))},arguments)},e.wbg.__wbg_width_4c6f0048d64cf86b=function(e){return e.width},e.wbg.__wbg_height_21f0d3fd8f753394=function(e){return e.height},e.wbg.__wbg_width_79e0847ed5883b03=function(e){return e.width},e.wbg.__wbg_height_e4e4e4779f8feac0=function(e){return e.height},e.wbg.__wbg_data_fda507064d127f5b=function(e,t){const n=d(t.data,r.__wbindgen_malloc),_=i;u().setInt32(e+4,_,!0),u().setInt32(e+0,n,!0)},e.wbg.__wbg_newwithu8clampedarrayandsh_1fddccb3a94a5e05=function(){return y(function(e,t,n,_){return new ImageData((i=e,o=t,i>>>=0,(null!==x&&0!==x.byteLength||(x=new Uint8ClampedArray(r.memory.buffer)),x).subarray(i/1,i/1+o)),n>>>0,_>>>0);var i,o},arguments)},e.wbg.__wbg_instanceof_CanvasRenderingContext2d_3abbe7ec7af32cae=function(e){let t;try{t=e instanceof CanvasRenderingContext2D}catch(e){t=!1}return t},e.wbg.__wbg_drawImage_fede06db74e39a60=function(){return y(function(e,t,n,r){e.drawImage(t,n,r)},arguments)},e.wbg.__wbg_drawImage_f395c8e43c79a909=function(){return y(function(e,t,n,r,_,i,o,a,c,g){e.drawImage(t,n,r,_,i,o,a,c,g)},arguments)},e.wbg.__wbg_getImageData_5e1c242046e6b59e=function(){return y(function(e,t,n,r,_){return e.getImageData(t,n,r,_)},arguments)},e.wbg.__wbg_putImageData_a8b3e177ee06d521=function(){return y(function(e,t,n,r){e.putImageData(t,n,r)},arguments)},e.wbg.__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e=function(e){let t;try{t=e instanceof HTMLCanvasElement}catch(e){t=!1}return t},e.wbg.__wbg_width_dc225e55343b745e=function(e){return e.width},e.wbg.__wbg_setwidth_488780db69b08846=function(e,t){e.width=t>>>0},e.wbg.__wbg_height_3a8bec2f3fe71b26=function(e){return e.height},e.wbg.__wbg_setheight_1761808c18403921=function(e,t){e.height=t>>>0},e.wbg.__wbg_getContext_fc99dbd3a9a7e318=function(){return y(function(e,t,n){const r=e.getContext(w(t,n));return m(r)?0:p(r)},arguments)},e.wbg.__wbg_settextContent_f82a86a8df347e1c=function(e,t,n){e.textContent=0===t?void 0:w(t,n)},e.wbg.__wbg_appendChild_fa3b00dade9fc4cf=function(){return y(function(e,t){return e.appendChild(t)},arguments)},e.wbg.__wbg_newnoargs_e643855c6572a4a8=function(e,t){return new Function(w(e,t))},e.wbg.__wbg_call_f96b398515635514=function(){return y(function(e,t){return e.call(t)},arguments)},e.wbg.__wbg_self_b9aad7f1c618bfaf=function(){return y(function(){return self.self},arguments)},e.wbg.__wbg_window_55e469842c98b086=function(){return y(function(){return window.window},arguments)},e.wbg.__wbg_globalThis_d0957e302752547e=function(){return y(function(){return globalThis.globalThis},arguments)},e.wbg.__wbg_global_ae2f87312b8987fb=function(){return y(function(){return n.g.global},arguments)},e.wbg.__wbindgen_is_undefined=function(e){return void 0===e},e.wbg.__wbg_buffer_fcbfb6d88b2732e9=function(e){return e.buffer},e.wbg.__wbg_new_bc5d9aad3f9ac80e=function(e){return new Uint8Array(e)},e.wbg.__wbg_set_4b3aa8445ac1e91c=function(e,t,n){e.set(t,n>>>0)},e.wbg.__wbg_length_d9c4ded7e708c6a1=function(e){return e.length},e.wbg.__wbindgen_debug_string=function(e,t){const n=s(_(t),r.__wbindgen_malloc,r.__wbindgen_realloc),o=i;u().setInt32(e+4,o,!0),u().setInt32(e+0,n,!0)},e.wbg.__wbindgen_throw=function(e,t){throw new Error(w(e,t))},e.wbg.__wbindgen_memory=function(){return r.memory},e.wbg.__wbindgen_init_externref_table=function(){const e=r.__wbindgen_export_2,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)},e}async function z(e){if(void 0!==r)return r;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module_or_path:e}=e):console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===e&&(e=new URL(n(51986),n.b));const t=R();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:_,module:i}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if("application/wasm"==e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}(await e,t);return function(e,t){return r=e.exports,z.__wbindgen_wasm_module=t,b=null,o=null,x=null,r.__wbindgen_start(),r}(_,i)}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_rgb_free(e>>>0,1)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_rgba_free(e>>>0,1));const E=z},51986(e,t,n){e.exports=n.p+"3802306e7b58a11862fb.wasm"}}]);
1
+ "use strict";(window.webpackChunkEvfrenkelDecapCmsCore=window.webpackChunkEvfrenkelDecapCmsCore||[]).push([[20],{65020(e,t,n){let r;function _(e){const t=typeof e;if("number"==t||"boolean"==t||null==e)return`${e}`;if("string"==t)return`"${e}"`;if("symbol"==t){const t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==t){const t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){const t=e.length;let n="[";t>0&&(n+=_(e[0]));for(let r=1;r<t;r++)n+=", "+_(e[r]);return n+="]",n}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(!(n.length>1))return toString.call(e);if(r=n[1],"Object"==r)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:r}n.d(t,{PhotonImage:()=>I,SamplingFilter:()=>x,default:()=>z,resize:()=>l});let i=0,o=null;function a(){return null!==o&&0!==o.byteLength||(o=new Uint8Array(r.memory.buffer)),o}const c="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},g="function"==typeof c.encodeInto?function(e,t){return c.encodeInto(e,t)}:function(e,t){const n=c.encode(e);return t.set(n),{read:e.length,written:n.length}};function s(e,t,n){if(void 0===n){const n=c.encode(e),r=t(n.length,1)>>>0;return a().subarray(r,r+n.length).set(n),i=n.length,r}let r=e.length,_=t(r,1)>>>0;const o=a();let s=0;for(;s<r;s++){const t=e.charCodeAt(s);if(t>127)break;o[_+s]=t}if(s!==r){0!==s&&(e=e.slice(s)),_=n(_,r,r=s+3*e.length,1)>>>0;const t=a().subarray(_+s,_+r);s+=g(e,t).written,_=n(_,r,s,1)>>>0}return i=s,_}let b=null;function u(){return(null===b||!0===b.buffer.detached||void 0===b.buffer.detached&&b.buffer!==r.memory.buffer)&&(b=new DataView(r.memory.buffer)),b}const f="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};function w(e,t){return e>>>=0,f.decode(a().subarray(e,e+t))}function l(e,t,n,_){!function(e,t){if(!(e instanceof t))throw new Error(`expected instance of ${t.name}`);e.ptr}(e,I);const i=r.resize(e.__wbg_ptr,t,n,_);return I.__wrap(i)}function d(e,t){const n=t(1*e.length,1)>>>0;return a().set(e,n/1),i=e.length,n}function h(e,t){return e>>>=0,a().subarray(e/1,e/1+t)}function m(e){return null==e}function p(e){const t=r.__externref_table_alloc();return r.__wbindgen_export_2.set(t,e),t}function y(e,t){try{return e.apply(this,t)}catch(e){const t=p(e);r.__wbindgen_exn_store(t)}}"undefined"!=typeof TextDecoder&&f.decode();let v=null;const x=Object.freeze({Nearest:1,1:"Nearest",Triangle:2,2:"Triangle",CatmullRom:3,3:"CatmullRom",Gaussian:4,4:"Gaussian",Lanczos3:5,5:"Lanczos3"}),C="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_photonimage_free(e>>>0,1));class I{static __wrap(e){e>>>=0;const t=Object.create(I.prototype);return t.__wbg_ptr=e,C.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,C.unregister(this),e}free(){const e=this.__destroy_into_raw();r.__wbg_photonimage_free(e,0)}constructor(e,t,n){const _=d(e,r.__wbindgen_malloc),o=i,a=r.photonimage_new(_,o,t,n);return this.__wbg_ptr=a>>>0,C.register(this,this.__wbg_ptr,this),this}static new_from_base64(e){const t=s(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=i,_=r.base64_to_image(t,n);return I.__wrap(_)}static new_from_byteslice(e){const t=d(e,r.__wbindgen_malloc),n=i,_=r.photonimage_new_from_byteslice(t,n);return I.__wrap(_)}static new_from_blob(e){const t=r.photonimage_new_from_blob(e);return I.__wrap(t)}static new_from_image(e){const t=r.photonimage_new_from_image(e);return I.__wrap(t)}get_width(){return r.photonimage_get_width(this.__wbg_ptr)>>>0}get_raw_pixels(){const e=r.photonimage_get_raw_pixels(this.__wbg_ptr);var t=h(e[0],e[1]).slice();return r.__wbindgen_free(e[0],1*e[1],1),t}get_height(){return r.photonimage_get_height(this.__wbg_ptr)>>>0}get_base64(){let e,t;try{const n=r.photonimage_get_base64(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get_bytes(){const e=r.photonimage_get_bytes(this.__wbg_ptr);var t=h(e[0],e[1]).slice();return r.__wbindgen_free(e[0],1*e[1],1),t}get_bytes_jpeg(e){const t=r.photonimage_get_bytes_jpeg(this.__wbg_ptr,e);var n=h(t[0],t[1]).slice();return r.__wbindgen_free(t[0],1*t[1],1),n}get_bytes_webp(){const e=r.photonimage_get_bytes_webp(this.__wbg_ptr);var t=h(e[0],e[1]).slice();return r.__wbindgen_free(e[0],1*e[1],1),t}get_image_data(){return r.photonimage_get_image_data(this.__wbg_ptr)}set_imgdata(e){r.photonimage_set_imgdata(this.__wbg_ptr,e)}get_estimated_filesize(){const e=r.photonimage_get_estimated_filesize(this.__wbg_ptr);return BigInt.asUintN(64,e)}}function R(){const e={wbg:{}};return e.wbg.__wbg_new_abda76e883ba8a5f=function(){return new Error},e.wbg.__wbg_stack_658279fe44541cf6=function(e,t){const n=s(t.stack,r.__wbindgen_malloc,r.__wbindgen_realloc),_=i;u().setInt32(e+4,_,!0),u().setInt32(e+0,n,!0)},e.wbg.__wbg_error_f851667af71bcfc6=function(e,t){let n,_;try{n=e,_=t,console.error(w(e,t))}finally{r.__wbindgen_free(n,_,1)}},e.wbg.__wbg_instanceof_Window_c4b70662a0d2c5ec=function(e){let t;try{t=e instanceof Window}catch(e){t=!1}return t},e.wbg.__wbg_document_e5c1786dea6542e4=function(e){const t=e.document;return m(t)?0:p(t)},e.wbg.__wbg_body_e70ae6abd01ae584=function(e){const t=e.body;return m(t)?0:p(t)},e.wbg.__wbg_createElement_5d4c76f218b78145=function(){return y(function(e,t,n){return e.createElement(w(t,n))},arguments)},e.wbg.__wbg_width_4c6f0048d64cf86b=function(e){return e.width},e.wbg.__wbg_height_21f0d3fd8f753394=function(e){return e.height},e.wbg.__wbg_width_79e0847ed5883b03=function(e){return e.width},e.wbg.__wbg_height_e4e4e4779f8feac0=function(e){return e.height},e.wbg.__wbg_data_fda507064d127f5b=function(e,t){const n=d(t.data,r.__wbindgen_malloc),_=i;u().setInt32(e+4,_,!0),u().setInt32(e+0,n,!0)},e.wbg.__wbg_newwithu8clampedarrayandsh_1fddccb3a94a5e05=function(){return y(function(e,t,n,_){return new ImageData((i=e,o=t,i>>>=0,(null!==v&&0!==v.byteLength||(v=new Uint8ClampedArray(r.memory.buffer)),v).subarray(i/1,i/1+o)),n>>>0,_>>>0);var i,o},arguments)},e.wbg.__wbg_instanceof_CanvasRenderingContext2d_3abbe7ec7af32cae=function(e){let t;try{t=e instanceof CanvasRenderingContext2D}catch(e){t=!1}return t},e.wbg.__wbg_drawImage_fede06db74e39a60=function(){return y(function(e,t,n,r){e.drawImage(t,n,r)},arguments)},e.wbg.__wbg_drawImage_f395c8e43c79a909=function(){return y(function(e,t,n,r,_,i,o,a,c,g){e.drawImage(t,n,r,_,i,o,a,c,g)},arguments)},e.wbg.__wbg_getImageData_5e1c242046e6b59e=function(){return y(function(e,t,n,r,_){return e.getImageData(t,n,r,_)},arguments)},e.wbg.__wbg_putImageData_a8b3e177ee06d521=function(){return y(function(e,t,n,r){e.putImageData(t,n,r)},arguments)},e.wbg.__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e=function(e){let t;try{t=e instanceof HTMLCanvasElement}catch(e){t=!1}return t},e.wbg.__wbg_width_dc225e55343b745e=function(e){return e.width},e.wbg.__wbg_setwidth_488780db69b08846=function(e,t){e.width=t>>>0},e.wbg.__wbg_height_3a8bec2f3fe71b26=function(e){return e.height},e.wbg.__wbg_setheight_1761808c18403921=function(e,t){e.height=t>>>0},e.wbg.__wbg_getContext_fc99dbd3a9a7e318=function(){return y(function(e,t,n){const r=e.getContext(w(t,n));return m(r)?0:p(r)},arguments)},e.wbg.__wbg_settextContent_f82a86a8df347e1c=function(e,t,n){e.textContent=0===t?void 0:w(t,n)},e.wbg.__wbg_appendChild_fa3b00dade9fc4cf=function(){return y(function(e,t){return e.appendChild(t)},arguments)},e.wbg.__wbg_newnoargs_e643855c6572a4a8=function(e,t){return new Function(w(e,t))},e.wbg.__wbg_call_f96b398515635514=function(){return y(function(e,t){return e.call(t)},arguments)},e.wbg.__wbg_self_b9aad7f1c618bfaf=function(){return y(function(){return self.self},arguments)},e.wbg.__wbg_window_55e469842c98b086=function(){return y(function(){return window.window},arguments)},e.wbg.__wbg_globalThis_d0957e302752547e=function(){return y(function(){return globalThis.globalThis},arguments)},e.wbg.__wbg_global_ae2f87312b8987fb=function(){return y(function(){return n.g.global},arguments)},e.wbg.__wbindgen_is_undefined=function(e){return void 0===e},e.wbg.__wbg_buffer_fcbfb6d88b2732e9=function(e){return e.buffer},e.wbg.__wbg_new_bc5d9aad3f9ac80e=function(e){return new Uint8Array(e)},e.wbg.__wbg_set_4b3aa8445ac1e91c=function(e,t,n){e.set(t,n>>>0)},e.wbg.__wbg_length_d9c4ded7e708c6a1=function(e){return e.length},e.wbg.__wbindgen_debug_string=function(e,t){const n=s(_(t),r.__wbindgen_malloc,r.__wbindgen_realloc),o=i;u().setInt32(e+4,o,!0),u().setInt32(e+0,n,!0)},e.wbg.__wbindgen_throw=function(e,t){throw new Error(w(e,t))},e.wbg.__wbindgen_memory=function(){return r.memory},e.wbg.__wbindgen_init_externref_table=function(){const e=r.__wbindgen_export_2,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)},e}async function E(e){if(void 0!==r)return r;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module_or_path:e}=e):console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===e&&(e=new URL(n(51986),n.b));const t=R();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:_,module:i}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if("application/wasm"==e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}(await e,t);return function(e,t){return r=e.exports,E.__wbindgen_wasm_module=t,b=null,o=null,v=null,r.__wbindgen_start(),r}(_,i)}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_rgb_free(e>>>0,1)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_rgba_free(e>>>0,1));const z=E},51986(e,t,n){e.exports=n.p+"3802306e7b58a11862fb.wasm"}}]);
2
2
  //# sourceMappingURL=20.decap-cms-core.js.map