@midscene/ios 1.0.1-beta-20251021060907.0 → 1.0.1-beta-20251022061922.0
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/package.json +5 -5
- package/static/index.html +1 -1
- package/static/static/js/63.b6f8c5e5.js +667 -0
- package/static/static/js/{823.f2656426.js.map → 63.b6f8c5e5.js.map} +1 -1
- package/static/static/js/async/150.2d81d791.js +158 -0
- package/static/static/js/async/{212.e243c338.js.map → 150.2d81d791.js.map} +1 -1
- package/static/static/js/async/{624.45ee2b2c.js → 195.7911eb6e.js} +3 -3
- package/static/static/js/async/{624.45ee2b2c.js.map → 195.7911eb6e.js.map} +1 -1
- package/static/static/js/async/260.638dda74.js +2 -0
- package/static/static/js/async/{544.b73fa603.js.map → 260.638dda74.js.map} +1 -1
- package/static/static/js/async/271.9e1c79dc.js +3 -0
- package/static/static/js/async/{173.9cf6b074.js.map → 271.9e1c79dc.js.map} +1 -1
- package/static/static/js/async/355.f86b7375.js +1 -0
- package/static/static/js/async/{644.6bdc4065.js → 441.11908ede.js} +1 -1
- package/static/static/js/async/45.ebc9207b.js +21 -0
- package/static/static/js/async/45.ebc9207b.js.map +1 -0
- package/static/static/js/async/586.bf0d228e.js +26 -0
- package/static/static/js/async/{329.f888b505.js.map → 586.bf0d228e.js.map} +1 -1
- package/static/static/js/async/631.422c34d1.js +30 -0
- package/static/static/js/async/{364.1821e74b.js.map → 631.422c34d1.js.map} +1 -1
- package/static/static/js/async/{702.60261735.js → 779.d48d6dc9.js} +20 -20
- package/static/static/js/async/{702.60261735.js.map → 779.d48d6dc9.js.map} +1 -1
- package/static/static/js/index.fd41dad8.js +30 -0
- package/static/static/js/index.fd41dad8.js.map +1 -0
- package/static/static/js/lib-react.88bfef40.js +3 -0
- package/static/static/js/{lib-react.f566a9ed.js.map → lib-react.88bfef40.js.map} +1 -1
- package/static/static/js/823.f2656426.js +0 -667
- package/static/static/js/async/173.9cf6b074.js +0 -3
- package/static/static/js/async/212.e243c338.js +0 -158
- package/static/static/js/async/329.f888b505.js +0 -26
- package/static/static/js/async/364.1821e74b.js +0 -30
- package/static/static/js/async/544.b73fa603.js +0 -2
- package/static/static/js/async/582.5dccae2d.js +0 -21
- package/static/static/js/async/582.5dccae2d.js.map +0 -1
- package/static/static/js/async/983.8b91303f.js +0 -1
- package/static/static/js/index.33d0fb98.js +0 -30
- package/static/static/js/index.33d0fb98.js.map +0 -1
- package/static/static/js/lib-react.f566a9ed.js +0 -3
- /package/static/static/js/{823.f2656426.js.LICENSE.txt → 63.b6f8c5e5.js.LICENSE.txt} +0 -0
- /package/static/static/js/{index.33d0fb98.js.LICENSE.txt → index.fd41dad8.js.LICENSE.txt} +0 -0
- /package/static/static/js/{lib-react.f566a9ed.js.LICENSE.txt → lib-react.88bfef40.js.LICENSE.txt} +0 -0
- /package/static/static/wasm/{9e906fbf55e08f98.module.wasm → 9e906fbf.module.wasm} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(self.webpackChunkplayground=self.webpackChunkplayground||[]).push([["271"],{39570:function(t,e,r){let n,o={};o.__wbindgen_placeholder__=t.exports;let{TextEncoder:_,TextDecoder:i}=r(1344),a=Array(32).fill(void 0);a.push(void 0,null,!0,!1);let s=a.length;function p(t){let e=a[t];return t<36||(a[t]=s,s=t),e}function c(t){s===a.length&&a.push(a.length+1);let e=s;return s=a[e],a[e]=t,e}let u=0,l=null;function f(){return(null===l||l.buffer!==n.memory.buffer)&&(l=new Uint8Array(n.memory.buffer)),l}let g=new _("utf-8"),d="function"==typeof g.encodeInto?function(t,e){return g.encodeInto(t,e)}:function(t,e){let r=g.encode(t);return e.set(r),{read:t.length,written:r.length}};function b(t,e,r){if(void 0===r){let r=g.encode(t),n=e(r.length);return f().subarray(n,n+r.length).set(r),u=r.length,n}let n=t.length,o=e(n),_=f(),i=0;for(;i<n;i++){let e=t.charCodeAt(i);if(e>127)break;_[o+i]=e}if(i!==n){0!==i&&(t=t.slice(i)),o=r(o,n,n=i+3*t.length);let e=d(t,f().subarray(o+i,o+n));i+=e.written}return u=i,o}let h=null;function x(){return(null===h||h.buffer!==n.memory.buffer)&&(h=new Int32Array(n.memory.buffer)),h}let w=new i("utf-8",{ignoreBOM:!0,fatal:!0});function m(t,e){return w.decode(f().subarray(t,t+e))}function v(t,e){if(!(t instanceof e))throw Error(`expected instance of ${e.name}`);return t.ptr}function y(t,e){let r=e(+t.length);return f().set(t,r/1),u=t.length,r}function k(t,e){return f().subarray(t/1,t/1+e)}w.decode(),t.exports.crop=function(t,e,r,o,_){v(t,A);var i=n.crop(t.ptr,e,r,o,_);return A.__wrap(i)},t.exports.crop_img_browser=function(t,e,r,o,_){return p(n.crop_img_browser(c(t),e,r,o,_))},t.exports.fliph=function(t){v(t,A),n.fliph(t.ptr)},t.exports.flipv=function(t){v(t,A),n.flipv(t.ptr)},t.exports.resize_img_browser=function(t,e,r,o){return v(t,A),p(n.resize_img_browser(t.ptr,e,r,o))},t.exports.resize=function(t,e,r,o){v(t,A);var _=n.resize(t.ptr,e,r,o);return A.__wrap(_)},t.exports.seam_carve=function(t,e,r){v(t,A);var o=n.seam_carve(t.ptr,e,r);return A.__wrap(o)},t.exports.padding_uniform=function(t,e,r){v(t,A),v(r,O);var o=r.ptr;r.ptr=0;var _=n.padding_uniform(t.ptr,e,o);return A.__wrap(_)},t.exports.padding_left=function(t,e,r){v(t,A),v(r,O);var o=r.ptr;r.ptr=0;var _=n.padding_left(t.ptr,e,o);return A.__wrap(_)},t.exports.padding_right=function(t,e,r){v(t,A),v(r,O);var o=r.ptr;r.ptr=0;var _=n.padding_right(t.ptr,e,o);return A.__wrap(_)},t.exports.padding_top=function(t,e,r){v(t,A),v(r,O);var o=r.ptr;r.ptr=0;var _=n.padding_top(t.ptr,e,o);return A.__wrap(_)},t.exports.padding_bottom=function(t,e,r){v(t,A),v(r,O);var o=r.ptr;r.ptr=0;var _=n.padding_bottom(t.ptr,e,o);return A.__wrap(_)},t.exports.rotate=function(t,e){v(t,A);var r=n.rotate(t.ptr,e);return A.__wrap(r)},t.exports.resample=function(t,e,r){v(t,A);var o=n.resample(t.ptr,e,r);return A.__wrap(o)},t.exports.draw_text_with_border=function(t,e,r,o){v(t,A);var _=b(e,n.__wbindgen_malloc,n.__wbindgen_realloc),i=u;n.draw_text_with_border(t.ptr,_,i,r,o)},t.exports.draw_text=function(t,e,r,o){v(t,A);var _=b(e,n.__wbindgen_malloc,n.__wbindgen_realloc),i=u;n.draw_text(t.ptr,_,i,r,o)},t.exports.run=function(){n.run()};let z=32;function C(t){if(1==z)throw Error("out of js stack");return a[--z]=t,z}function j(t,e){try{return t.apply(this,e)}catch(t){n.__wbindgen_exn_store(c(t))}}t.exports.get_image_data=function(t,e){try{var r=n.get_image_data(C(t),C(e));return p(r)}finally{a[z++]=void 0,a[z++]=void 0}},t.exports.putImageData=function(t,e,r){v(r,A);var o=r.ptr;r.ptr=0,n.putImageData(c(t),c(e),o)},t.exports.open_image=function(t,e){var r=n.open_image(c(t),c(e));return A.__wrap(r)},t.exports.to_raw_pixels=function(t){try{let _=n.__wbindgen_add_to_stack_pointer(-16);n.to_raw_pixels(_,c(t));var e=x()[_/4+0],r=x()[_/4+1],o=k(e,r).slice();return n.__wbindgen_free(e,+r),o}finally{n.__wbindgen_add_to_stack_pointer(16)}},t.exports.base64_to_image=function(t){var e=b(t,n.__wbindgen_malloc,n.__wbindgen_realloc),r=u,o=n.base64_to_image(e,r);return A.__wrap(o)},t.exports.base64_to_vec=function(t){try{let a=n.__wbindgen_add_to_stack_pointer(-16);var e=b(t,n.__wbindgen_malloc,n.__wbindgen_realloc),r=u;n.base64_to_vec(a,e,r);var o=x()[a/4+0],_=x()[a/4+1],i=k(o,_).slice();return n.__wbindgen_free(o,+_),i}finally{n.__wbindgen_add_to_stack_pointer(16)}},t.exports.to_image_data=function(t){v(t,A);var e=t.ptr;return t.ptr=0,p(n.to_image_data(e))},t.exports.alter_channel=function(t,e,r){v(t,A),n.alter_channel(t.ptr,e,r)},t.exports.alter_red_channel=function(t,e){v(t,A),n.alter_red_channel(t.ptr,e)},t.exports.alter_green_channel=function(t,e){v(t,A),n.alter_green_channel(t.ptr,e)},t.exports.alter_blue_channel=function(t,e){v(t,A),n.alter_blue_channel(t.ptr,e)},t.exports.alter_two_channels=function(t,e,r,o,_){v(t,A),n.alter_two_channels(t.ptr,e,r,o,_)},t.exports.alter_channels=function(t,e,r,o){v(t,A),n.alter_channels(t.ptr,e,r,o)},t.exports.remove_channel=function(t,e,r){v(t,A),n.remove_channel(t.ptr,e,r)},t.exports.remove_red_channel=function(t,e){v(t,A),n.remove_red_channel(t.ptr,e)},t.exports.remove_green_channel=function(t,e){v(t,A),n.remove_green_channel(t.ptr,e)},t.exports.remove_blue_channel=function(t,e){v(t,A),n.remove_blue_channel(t.ptr,e)},t.exports.swap_channels=function(t,e,r){v(t,A),n.swap_channels(t.ptr,e,r)},t.exports.invert=function(t){v(t,A),n.invert(t.ptr)},t.exports.selective_hue_rotate=function(t,e,r){v(t,A),v(e,E);var o=e.ptr;e.ptr=0,n.selective_hue_rotate(t.ptr,o,r)},t.exports.selective_color_convert=function(t,e,r,o){v(t,A),v(e,E);var _=e.ptr;e.ptr=0,v(r,E);var i=r.ptr;r.ptr=0,n.selective_color_convert(t.ptr,_,i,o)},t.exports.selective_lighten=function(t,e,r){v(t,A),v(e,E);var o=e.ptr;e.ptr=0,n.selective_lighten(t.ptr,o,r)},t.exports.selective_desaturate=function(t,e,r){v(t,A),v(e,E);var o=e.ptr;e.ptr=0,n.selective_desaturate(t.ptr,o,r)},t.exports.selective_saturate=function(t,e,r){v(t,A),v(e,E);var o=e.ptr;e.ptr=0,n.selective_saturate(t.ptr,o,r)},t.exports.selective_greyscale=function(t,e){v(t,A);var r=t.ptr;t.ptr=0,v(e,E);var o=e.ptr;e.ptr=0,n.selective_greyscale(r,o)},t.exports.monochrome=function(t,e,r,o){v(t,A),n.monochrome(t.ptr,e,r,o)},t.exports.sepia=function(t){v(t,A),n.sepia(t.ptr)},t.exports.grayscale=function(t){v(t,A),n.grayscale(t.ptr)},t.exports.grayscale_human_corrected=function(t){v(t,A),n.grayscale_human_corrected(t.ptr)},t.exports.desaturate=function(t){v(t,A),n.desaturate(t.ptr)},t.exports.decompose_min=function(t){v(t,A),n.decompose_min(t.ptr)},t.exports.decompose_max=function(t){v(t,A),n.decompose_max(t.ptr)},t.exports.grayscale_shades=function(t,e){v(t,A),n.grayscale_shades(t.ptr,e)},t.exports.r_grayscale=function(t){v(t,A),n.r_grayscale(t.ptr)},t.exports.g_grayscale=function(t){v(t,A),n.g_grayscale(t.ptr)},t.exports.b_grayscale=function(t){v(t,A),n.b_grayscale(t.ptr)},t.exports.single_channel_grayscale=function(t,e){v(t,A),n.single_channel_grayscale(t.ptr,e)},t.exports.threshold=function(t,e){v(t,A),n.threshold(t.ptr,e)},t.exports.offset=function(t,e,r){v(t,A),n.offset(t.ptr,e,r)},t.exports.offset_red=function(t,e){v(t,A),n.offset_red(t.ptr,e)},t.exports.offset_green=function(t,e){v(t,A),n.offset_green(t.ptr,e)},t.exports.offset_blue=function(t,e){v(t,A),n.offset_blue(t.ptr,e)},t.exports.multiple_offsets=function(t,e,r,o){v(t,A),n.multiple_offsets(t.ptr,e,r,o)},t.exports.primary=function(t){v(t,A),n.primary(t.ptr)},t.exports.colorize=function(t){v(t,A),n.colorize(t.ptr)},t.exports.solarize=function(t){v(t,A),n.solarize(t.ptr)},t.exports.solarize_retimg=function(t){v(t,A);var e=n.solarize_retimg(t.ptr);return A.__wrap(e)},t.exports.inc_brightness=function(t,e){v(t,A),n.inc_brightness(t.ptr,e)},t.exports.adjust_contrast=function(t,e){v(t,A),n.adjust_contrast(t.ptr,e)},t.exports.tint=function(t,e,r,o){v(t,A),n.tint(t.ptr,e,r,o)},t.exports.horizontal_strips=function(t,e){v(t,A),n.horizontal_strips(t.ptr,e)},t.exports.color_horizontal_strips=function(t,e,r){v(t,A),v(r,E);var o=r.ptr;r.ptr=0,n.color_horizontal_strips(t.ptr,e,o)},t.exports.vertical_strips=function(t,e){v(t,A),n.vertical_strips(t.ptr,e)},t.exports.color_vertical_strips=function(t,e,r){v(t,A),v(r,E);var o=r.ptr;r.ptr=0,n.color_vertical_strips(t.ptr,e,o)},t.exports.oil=function(t,e,r){v(t,A),n.oil(t.ptr,e,r)},t.exports.frosted_glass=function(t){v(t,A),n.frosted_glass(t.ptr)},t.exports.pixelize=function(t,e){v(t,A),n.pixelize(t.ptr,e)},t.exports.normalize=function(t){v(t,A),n.normalize(t.ptr)},t.exports.dither=function(t,e){v(t,A),n.dither(t.ptr,e)},t.exports.duotone=function(t,e,r){v(t,A),v(e,E);var o=e.ptr;e.ptr=0,v(r,E);var _=r.ptr;r.ptr=0,n.duotone(t.ptr,o,_)},t.exports.neue=function(t){v(t,A),n.neue(t.ptr)},t.exports.lix=function(t){v(t,A),n.lix(t.ptr)},t.exports.ryo=function(t){v(t,A),n.ryo(t.ptr)},t.exports.filter=function(t,e){v(t,A);var r=b(e,n.__wbindgen_malloc,n.__wbindgen_realloc),o=u;n.filter(t.ptr,r,o)},t.exports.lofi=function(t){v(t,A),n.lofi(t.ptr)},t.exports.pastel_pink=function(t){v(t,A),n.pastel_pink(t.ptr)},t.exports.golden=function(t){v(t,A),n.golden(t.ptr)},t.exports.cali=function(t){v(t,A),n.cali(t.ptr)},t.exports.dramatic=function(t){v(t,A),n.dramatic(t.ptr)},t.exports.monochrome_tint=function(t,e){v(t,A),v(e,E);var r=e.ptr;e.ptr=0,n.monochrome_tint(t.ptr,r)},t.exports.duotone_violette=function(t){v(t,A),n.duotone_violette(t.ptr)},t.exports.duotone_horizon=function(t){v(t,A),n.duotone_horizon(t.ptr)},t.exports.duotone_tint=function(t,e){v(t,A),v(e,E);var r=e.ptr;e.ptr=0,n.duotone_tint(t.ptr,r)},t.exports.duotone_lilac=function(t){v(t,A),n.duotone_lilac(t.ptr)},t.exports.duotone_ochre=function(t){v(t,A),n.duotone_ochre(t.ptr)},t.exports.firenze=function(t){v(t,A),n.firenze(t.ptr)},t.exports.obsidian=function(t){v(t,A),n.obsidian(t.ptr)},t.exports.gamma_correction=function(t,e,r,o){v(t,A),n.gamma_correction(t.ptr,e,r,o)},t.exports.hsluv=function(t,e,r){v(t,A);var o=b(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=u;n.hsluv(t.ptr,o,_,r)},t.exports.lch=function(t,e,r){v(t,A);var o=b(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=u;n.lch(t.ptr,o,_,r)},t.exports.hsl=function(t,e,r){v(t,A);var o=b(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=u;n.hsl(t.ptr,o,_,r)},t.exports.hsv=function(t,e,r){v(t,A);var o=b(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=u;n.hsv(t.ptr,o,_,r)},t.exports.hue_rotate_hsl=function(t,e){v(t,A),n.hue_rotate_hsl(t.ptr,e)},t.exports.hue_rotate_hsv=function(t,e){v(t,A),n.hue_rotate_hsv(t.ptr,e)},t.exports.hue_rotate_lch=function(t,e){v(t,A),n.hue_rotate_lch(t.ptr,e)},t.exports.hue_rotate_hsluv=function(t,e){v(t,A),n.hue_rotate_hsluv(t.ptr,e)},t.exports.saturate_hsl=function(t,e){v(t,A),n.saturate_hsl(t.ptr,e)},t.exports.saturate_lch=function(t,e){v(t,A),n.saturate_lch(t.ptr,e)},t.exports.saturate_hsluv=function(t,e){v(t,A),n.saturate_hsluv(t.ptr,e)},t.exports.saturate_hsv=function(t,e){v(t,A),n.saturate_hsv(t.ptr,e)},t.exports.lighten_lch=function(t,e){v(t,A),n.lighten_lch(t.ptr,e)},t.exports.lighten_hsluv=function(t,e){v(t,A),n.lighten_hsluv(t.ptr,e)},t.exports.lighten_hsl=function(t,e){v(t,A),n.lighten_hsl(t.ptr,e)},t.exports.lighten_hsv=function(t,e){v(t,A),n.lighten_hsv(t.ptr,e)},t.exports.darken_lch=function(t,e){v(t,A),n.darken_lch(t.ptr,e)},t.exports.darken_hsluv=function(t,e){v(t,A),n.darken_hsluv(t.ptr,e)},t.exports.darken_hsl=function(t,e){v(t,A),n.darken_hsl(t.ptr,e)},t.exports.darken_hsv=function(t,e){v(t,A),n.darken_hsv(t.ptr,e)},t.exports.desaturate_hsv=function(t,e){v(t,A),n.desaturate_hsv(t.ptr,e)},t.exports.desaturate_hsl=function(t,e){v(t,A),n.desaturate_hsl(t.ptr,e)},t.exports.desaturate_lch=function(t,e){v(t,A),n.desaturate_lch(t.ptr,e)},t.exports.desaturate_hsluv=function(t,e){v(t,A),n.desaturate_hsluv(t.ptr,e)},t.exports.mix_with_colour=function(t,e,r){v(t,A),v(e,E);var o=e.ptr;e.ptr=0,n.mix_with_colour(t.ptr,o,r)},t.exports.watermark=function(t,e,r,o){v(t,A),v(e,A),n.watermark(t.ptr,e.ptr,r,o)},t.exports.blend=function(t,e,r){v(t,A),v(e,A);var o=b(r,n.__wbindgen_malloc,n.__wbindgen_realloc),_=u;n.blend(t.ptr,e.ptr,o,_)},t.exports.create_gradient=function(t,e){var r=n.create_gradient(t,e);return A.__wrap(r)},t.exports.apply_gradient=function(t){v(t,A),n.apply_gradient(t.ptr)},t.exports.noise_reduction=function(t){v(t,A),n.noise_reduction(t.ptr)},t.exports.sharpen=function(t){v(t,A),n.sharpen(t.ptr)},t.exports.edge_detection=function(t){v(t,A),n.edge_detection(t.ptr)},t.exports.identity=function(t){v(t,A),n.identity(t.ptr)},t.exports.box_blur=function(t){v(t,A),n.box_blur(t.ptr)},t.exports.gaussian_blur=function(t,e){v(t,A),n.gaussian_blur(t.ptr,e)},t.exports.detect_horizontal_lines=function(t){v(t,A),n.detect_horizontal_lines(t.ptr)},t.exports.detect_vertical_lines=function(t){v(t,A),n.detect_vertical_lines(t.ptr)},t.exports.detect_45_deg_lines=function(t){v(t,A),n.detect_45_deg_lines(t.ptr)},t.exports.detect_135_deg_lines=function(t){v(t,A),n.detect_135_deg_lines(t.ptr)},t.exports.laplace=function(t){v(t,A),n.laplace(t.ptr)},t.exports.edge_one=function(t){v(t,A),n.edge_one(t.ptr)},t.exports.emboss=function(t){v(t,A),n.emboss(t.ptr)},t.exports.sobel_horizontal=function(t){v(t,A),n.sobel_horizontal(t.ptr)},t.exports.prewitt_horizontal=function(t){v(t,A),n.prewitt_horizontal(t.ptr)},t.exports.sobel_vertical=function(t){v(t,A),n.sobel_vertical(t.ptr)};let I=null;t.exports.SamplingFilter=Object.freeze({Nearest:1,1:"Nearest",Triangle:2,2:"Triangle",CatmullRom:3,3:"CatmullRom",Gaussian:4,4:"Gaussian",Lanczos3:5,5:"Lanczos3"});class A{static __wrap(t){let e=Object.create(A.prototype);return e.ptr=t,e}__destroy_into_raw(){let t=this.ptr;return this.ptr=0,t}free(){let t=this.__destroy_into_raw();n.__wbg_photonimage_free(t)}constructor(t,e,r){var o=y(t,n.__wbindgen_malloc),_=u,i=n.photonimage_new(o,_,e,r);return A.__wrap(i)}static new_from_base64(t){var e=b(t,n.__wbindgen_malloc,n.__wbindgen_realloc),r=u,o=n.base64_to_image(e,r);return A.__wrap(o)}static new_from_byteslice(t){var e=y(t,n.__wbindgen_malloc),r=u,o=n.photonimage_new_from_byteslice(e,r);return A.__wrap(o)}get_width(){return n.photonimage_get_width(this.ptr)>>>0}get_raw_pixels(){try{let o=n.__wbindgen_add_to_stack_pointer(-16);n.photonimage_get_raw_pixels(o,this.ptr);var t=x()[o/4+0],e=x()[o/4+1],r=k(t,e).slice();return n.__wbindgen_free(t,+e),r}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_height(){return n.photonimage_get_height(this.ptr)>>>0}get_base64(){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.photonimage_get_base64(r,this.ptr);var t=x()[r/4+0],e=x()[r/4+1];return m(t,e)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_free(t,e)}}get_bytes(){try{let o=n.__wbindgen_add_to_stack_pointer(-16);n.photonimage_get_bytes(o,this.ptr);var t=x()[o/4+0],e=x()[o/4+1],r=k(t,e).slice();return n.__wbindgen_free(t,+e),r}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_bytes_jpeg(t){try{let _=n.__wbindgen_add_to_stack_pointer(-16);n.photonimage_get_bytes_jpeg(_,this.ptr,t);var e=x()[_/4+0],r=x()[_/4+1],o=k(e,r).slice();return n.__wbindgen_free(e,+r),o}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_image_data(){return p(n.photonimage_get_image_data(this.ptr))}set_imgdata(t){n.photonimage_set_imgdata(this.ptr,c(t))}}t.exports.PhotonImage=A;class E{static __wrap(t){let e=Object.create(E.prototype);return e.ptr=t,e}__destroy_into_raw(){let t=this.ptr;return this.ptr=0,t}free(){let t=this.__destroy_into_raw();n.__wbg_rgb_free(t)}constructor(t,e,r){var o=n.rgb_new(t,e,r);return E.__wrap(o)}set_red(t){n.rgb_set_red(this.ptr,t)}set_green(t){n.rgb_set_green(this.ptr,t)}set_blue(t){n.rgb_set_blue(this.ptr,t)}get_red(){return n.rgb_get_red(this.ptr)}get_green(){return n.rgb_get_green(this.ptr)}get_blue(){return n.rgb_get_blue(this.ptr)}}t.exports.Rgb=E;class O{static __wrap(t){let e=Object.create(O.prototype);return e.ptr=t,e}__destroy_into_raw(){let t=this.ptr;return this.ptr=0,t}free(){let t=this.__destroy_into_raw();n.__wbg_rgba_free(t)}constructor(t,e,r,o){var _=n.rgba_new(t,e,r,o);return O.__wrap(_)}set_red(t){n.rgb_set_red(this.ptr,t)}set_green(t){n.rgb_set_green(this.ptr,t)}set_blue(t){n.rgb_set_blue(this.ptr,t)}set_alpha(t){n.rgba_set_alpha(this.ptr,t)}get_red(){return n.rgb_get_red(this.ptr)}get_green(){return n.rgb_get_green(this.ptr)}get_blue(){return n.rgb_get_blue(this.ptr)}get_alpha(){return n.rgba_get_alpha(this.ptr)}}t.exports.Rgba=O,t.exports.__wbindgen_object_drop_ref=function(t){p(t)},t.exports.__wbg_new_693216e109162396=function(){return c(Error())},t.exports.__wbg_stack_0ddaca5d1abfb52f=function(t,e){var r=b(a[e].stack,n.__wbindgen_malloc,n.__wbindgen_realloc),o=u;x()[t/4+1]=o,x()[t/4+0]=r},t.exports.__wbg_error_09919627ac0992f5=function(t,e){try{console.error(m(t,e))}finally{n.__wbindgen_free(t,e)}},t.exports.__wbg_instanceof_Window_c4b70662a0d2c5ec=function(t){return a[t]instanceof Window},t.exports.__wbg_document_1c64944725c0d81d=function(t){var e=a[t].document;return null==e?0:c(e)},t.exports.__wbg_body_78ae4fd43b446013=function(t){var e=a[t].body;return null==e?0:c(e)},t.exports.__wbg_createElement_86c152812a141a62=function(){return j(function(t,e,r){return c(a[t].createElement(m(e,r)))},arguments)},t.exports.__wbg_width_16bd64d09cbf5661=function(t){return a[t].width},t.exports.__wbg_height_368bb86c37d51bc9=function(t){return a[t].height},t.exports.__wbg_data_1ae7496c58caf755=function(t,e){var r=y(a[e].data,n.__wbindgen_malloc),o=u;x()[t/4+1]=o,x()[t/4+0]=r},t.exports.__wbg_newwithu8clampedarrayandsh_1b8c6e1bede43657=function(){return j(function(t,e,r,o){return c(new ImageData(((null===I||I.buffer!==n.memory.buffer)&&(I=new Uint8ClampedArray(n.memory.buffer)),I).subarray(t/1,t/1+e),r>>>0,o>>>0))},arguments)},t.exports.__wbg_instanceof_CanvasRenderingContext2d_3abbe7ec7af32cae=function(t){return a[t]instanceof CanvasRenderingContext2D},t.exports.__wbg_drawImage_9e2d13329d92a0a3=function(){return j(function(t,e,r,n,o,_,i,s,p,c){a[t].drawImage(a[e],r,n,o,_,i,s,p,c)},arguments)},t.exports.__wbg_getImageData_9ffc3df78ca3dbc9=function(){return j(function(t,e,r,n,o){return c(a[t].getImageData(e,r,n,o))},arguments)},t.exports.__wbg_putImageData_b9544b271e569392=function(){return j(function(t,e,r,n){a[t].putImageData(a[e],r,n)},arguments)},t.exports.__wbg_settextContent_799ebbf96e16265d=function(t,e,r){a[t].textContent=0===e?void 0:m(e,r)},t.exports.__wbg_appendChild_d318db34c4559916=function(){return j(function(t,e){return c(a[t].appendChild(a[e]))},arguments)},t.exports.__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e=function(t){return a[t]instanceof HTMLCanvasElement},t.exports.__wbg_width_555f63ab09ba7d3f=function(t){return a[t].width},t.exports.__wbg_setwidth_c1a7061891b71f25=function(t,e){a[t].width=e>>>0},t.exports.__wbg_height_7153faec70fbaf7b=function(t){return a[t].height},t.exports.__wbg_setheight_88894b05710ff752=function(t,e){a[t].height=e>>>0},t.exports.__wbg_getContext_f701d0231ae22393=function(){return j(function(t,e,r){var n=a[t].getContext(m(e,r));return null==n?0:c(n)},arguments)},t.exports.__wbg_newnoargs_be86524d73f67598=function(t,e){return c(Function(m(t,e)))},t.exports.__wbg_call_888d259a5fefc347=function(){return j(function(t,e){return c(a[t].call(a[e]))},arguments)},t.exports.__wbindgen_object_clone_ref=function(t){return c(a[t])},t.exports.__wbg_self_c6fbdfc2918d5e58=function(){return j(function(){return c(self.self)},arguments)},t.exports.__wbg_window_baec038b5ab35c54=function(){return j(function(){return c(window.window)},arguments)},t.exports.__wbg_globalThis_3f735a5746d41fbd=function(){return j(function(){return c(globalThis.globalThis)},arguments)},t.exports.__wbg_global_1bc0b39582740e95=function(){return j(function(){return c(r.g.global)},arguments)},t.exports.__wbindgen_is_undefined=function(t){return void 0===a[t]},t.exports.__wbindgen_debug_string=function(t,e){var r=b(function t(e){let r,n=typeof e;if("number"==n||"boolean"==n||null==e)return`${e}`;if("string"==n)return`"${e}"`;if("symbol"==n){let t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==n){let t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){let r=e.length,n="[";r>0&&(n+=t(e[0]));for(let o=1;o<r;o++)n+=", "+t(e[o]);return n+"]"}let o=/\[object ([^\]]+)\]/.exec(toString.call(e));if(!(o.length>1))return toString.call(e);if("Object"==(r=o[1]))try{return"Object("+JSON.stringify(e)+")"}catch(t){return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
|
2
|
+
${e.stack}`:r}(a[e]),n.__wbindgen_malloc,n.__wbindgen_realloc),o=u;x()[t/4+1]=o,x()[t/4+0]=r},t.exports.__wbindgen_throw=function(t,e){throw Error(m(t,e))},t.exports.__wbindgen_rethrow=function(t){throw p(t)};let D=r(13078).join("/","photon_rs_bg.wasm"),$=r(3736).readFileSync(D),S=new WebAssembly.Module($);n=new WebAssembly.Instance(S,o).exports,t.exports.__wasm=n}}]);
|
|
3
|
+
//# sourceMappingURL=271.9e1c79dc.js.map
|