conformtools 0.6.17 → 0.6.18
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/dist/account-O3J732QJ.js +3 -0
- package/dist/{bridge-DRC6BQFR.js → bridge-25FGN67G.js} +1 -1
- package/dist/{chunk-MTAXVOHK.js → chunk-2DEUYEQD.js} +1 -1
- package/dist/{chunk-STGGRRYM.js → chunk-2GRXBIJB.js} +1 -1
- package/dist/{chunk-S2WAFMRV.js → chunk-2V5PY4P5.js} +1 -1
- package/dist/{chunk-CRMGV32N.js → chunk-34JO3JNC.js} +1 -1
- package/dist/{chunk-GRJLKGBG.js → chunk-3DYCTUSQ.js} +1 -1
- package/dist/{chunk-RITYQNOO.js → chunk-567IWIX6.js} +1 -1
- package/dist/{chunk-JT3HI632.js → chunk-6B3IELRW.js} +1 -1
- package/dist/{chunk-WKNX742H.js → chunk-AAJRTGEP.js} +2 -2
- package/dist/{chunk-M5CEBOLK.js → chunk-ANQZKVDD.js} +1 -1
- package/dist/{chunk-73RFYAVG.js → chunk-ATEWMIY5.js} +1 -1
- package/dist/{chunk-R2WEXCVQ.js → chunk-AYUKWSCR.js} +1 -1
- package/dist/{chunk-2VH2Z6RD.js → chunk-DIW5X4GI.js} +1 -1
- package/dist/{chunk-MVQ5RGZB.js → chunk-EWW5KWAO.js} +1 -1
- package/dist/{chunk-LVGGCRDW.js → chunk-IDEKLW7C.js} +1 -1
- package/dist/{chunk-QNF4NMIW.js → chunk-L2RTMZCN.js} +1 -1
- package/dist/chunk-LP2MR4ZH.js +516 -0
- package/dist/{chunk-UBWUED67.js → chunk-LUKA7UUJ.js} +1 -1
- package/dist/{chunk-2SDAOYP5.js → chunk-MHBNMYZP.js} +1 -1
- package/dist/{chunk-IG2X534U.js → chunk-ND2YUUUH.js} +1 -1
- package/dist/{chunk-TWHNQFKI.js → chunk-PIM3PV5N.js} +1 -1
- package/dist/{chunk-VCBLWNQR.js → chunk-QBQJDV2F.js} +62 -61
- package/dist/{chunk-P4PCSGEH.js → chunk-RXRBRR3E.js} +1 -1
- package/dist/{chunk-YGAAGTLE.js → chunk-TD3ZHREE.js} +1 -1
- package/dist/chunk-UIX3TT72.js +7 -0
- package/dist/cli.js +1 -1
- package/dist/{cr3-wasm-VUEEZYKQ.js → cr3-wasm-DIWL7CPH.js} +1 -1
- package/dist/{demo-engine-5TCNOTTH.js → demo-engine-JAQPM4EV.js} +1 -1
- package/dist/{dng-wasm-5RQBGYAK.js → dng-wasm-PE463PG2.js} +1 -1
- package/dist/{dpx-wasm-OQVTNGOB.js → dpx-wasm-DKE3LJ6Z.js} +1 -1
- package/dist/{engine-4X6TDWWA.js → engine-ZGBF3SQN.js} +2 -2
- package/dist/{exr-wasm-72YZFOME.js → exr-wasm-HAFH3YA5.js} +1 -1
- package/dist/framing-PGFJZIBU.js +3 -0
- package/dist/gfx-worker.js +1 -1
- package/dist/{h264-QCYEI6RF.js → h264-YX5KP63E.js} +1 -1
- package/dist/{h264-mxf-2BYKXDGT.js → h264-mxf-VAHIJCA7.js} +1 -1
- package/dist/hook.js +2 -2
- package/dist/{host-relink-37DCSN47.js → host-relink-M2VWUZW5.js} +1 -1
- package/dist/{hosted-M2OZSONX.js → hosted-4CNQYNX5.js} +1 -1
- package/dist/hosts-R4BHIZJS.js +3 -0
- package/dist/http.js +2 -2
- package/dist/{inspect-R4RWCK3X.js → inspect-7XEE32P5.js} +18 -18
- package/dist/{isobmff-RH4JKUUB.js → isobmff-RHP3N5K2.js} +1 -1
- package/dist/{mc-video-MMKWEKFZ.js → mc-video-CHBOYPI5.js} +1 -1
- package/dist/mcp.js +1 -1
- package/dist/{media-6MB7EKA7.js → media-4VUWQJLQ.js} +1 -1
- package/dist/{media_core_bg-FDL7GJZP.js → media_core_bg-ZMRCKALR.js} +1 -1
- package/dist/{mxf-7HFFEBNW.js → mxf-R2ONKSYU.js} +1 -1
- package/dist/{ops-EM345H7F.js → ops-MKDFWWPG.js} +1 -1
- package/dist/{r3d-DDOTSYZH.js → r3d-EKISZSKU.js} +1 -1
- package/dist/{r3d-G34YLXXA.js → r3d-F4OWLQE2.js} +1 -1
- package/dist/{still-AGBF3OOY.js → still-IDLCMQRD.js} +1 -1
- package/dist/{still-wasm-6YLI6NQQ.js → still-wasm-54HEDTRX.js} +1 -1
- package/dist/{store-LWUDJD76.js → store-A5AKWOSX.js} +1 -1
- package/dist/{tiff-wasm-6APT7FYP.js → tiff-wasm-O7XUGXIO.js} +1 -1
- package/dist/timeline-ZHDJXDZJ.js +3 -0
- package/dist/{wav-CV43ZAJI.js → wav-OLA3QYFJ.js} +1 -1
- package/package.json +5 -5
- package/dist/account-VXAKXGY6.js +0 -3
- package/dist/chunk-CZ6OZKR6.js +0 -516
- package/dist/chunk-JTRM2JCE.js +0 -7
- package/dist/framing-HGW5RCUA.js +0 -3
- package/dist/hosts-IAJTORJD.js +0 -3
- package/dist/timeline-EZ6WUHCB.js +0 -3
- /package/dist/{arriraw-GZ63YMLZ.js → arriraw-PS6V532Y.js} +0 -0
- /package/dist/{chunk-D6YDLKSA.js → chunk-LMRPCWHV.js} +0 -0
- /package/dist/{media_core_bg-XRBVKQZH.js → media_core_bg-57CDWER6.js} +0 -0
- /package/dist/{prores-RIG37OIH.js → prores-CFX64NME.js} +0 -0
- /package/dist/{timeline_core_bg-JW42YM3G.js → timeline_core_bg-5COJCLPG.js} +0 -0
- /package/dist/{udf_bg-B37GKRIH.js → udf_bg-HOHEKAVF.js} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
import{Ha as r,X as s,o}from"./chunk-
|
|
3
|
+
import{Ha as r,X as s,o}from"./chunk-L2RTMZCN.js";async function d(t){await r();let e=s(t);return e==="null"?null:JSON.parse(e)}async function l(t){await r();let e;try{e=o(t)}catch{return null}if(e.length<8)return null;let n=new DataView(e.buffer,e.byteOffset,e.byteLength),a=n.getUint32(0,!0),i=n.getUint32(4,!0),u=a*i*4;return e.length<8+u?null:{width:a,height:i,rgba:new Uint8ClampedArray(e.subarray(8,8+u))}}export{d as a,l as b};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
import{G as g,S as f}from"./chunk-C2ESM27Z.js";var m={prproj:"prproj","resolve-drt":"drt",aaf:"aaf",avb:"avb",otio:"otio",capcut:"capcut","flame-archive":"flame","resolve-fcpxml":"fcpxml","finalcut-fcpxml":"fcpxml","fcp-xml":"xmeml","premiere-xml":"xmeml","resolve-xml":"xmeml","baselight-blscene":"blscene"};function R(e){return e in m}var l=null;function c(){return l||(l=b()),l}async function b(){let e=await import("./timeline_core-ZKQQHUA2.js"),r=(await import("./timeline_core_bg-
|
|
3
|
+
import{G as g,S as f}from"./chunk-C2ESM27Z.js";var m={prproj:"prproj","resolve-drt":"drt",aaf:"aaf",avb:"avb",otio:"otio",capcut:"capcut","flame-archive":"flame","resolve-fcpxml":"fcpxml","finalcut-fcpxml":"fcpxml","fcp-xml":"xmeml","premiere-xml":"xmeml","resolve-xml":"xmeml","baselight-blscene":"blscene"};function R(e){return e in m}var l=null;function c(){return l||(l=b()),l}async function b(){let e=await import("./timeline_core-ZKQQHUA2.js"),r=(await import("./timeline_core_bg-5COJCLPG.js")).default;return await e.default({module_or_path:r}),e}async function S(e,r){let o=m[r];if(!o)throw new Error(`timelineInspect: no Rust engine for format '${r}'`);let n=await c(),s=e.name.replace(/\.[^.]+$/,""),t=(y,..._)=>n[y](..._),i;switch(o){case"prproj":i=t("inspect_prproj_json",await a(e));break;case"aaf":i=t("inspect_aaf_json",await a(e));break;case"avb":i=t("inspect_avb_json",await a(e));break;case"flame":i=t("inspect_flame_json",await a(e),s);break;case"drt":i=t("inspect_drt_json",await w(e));break;case"otio":i=t("inspect_otio_json",await e.text(),s);break;case"capcut":i=t("inspect_capcut_json",await e.text(),s);break;case"fcpxml":i=t("inspect_fcpxml_json",await e.text(),s);break;case"xmeml":i=t("inspect_xmeml_json",await e.text(),s);break;case"blscene":i=t("inspect_blscene_json",await a(e),s);break}return v(i)}var d=12*1024*1024,p=!1;function j(e){p=e}var x=null,h=8e3;async function I(){!x||p||await Promise.race([x,new Promise(e=>setTimeout(e,h))])}function u(e,r,o){if(p||e.length<=d)return e;let n=(e.length/1048576).toFixed(0),s=o?.length??0;throw s===1?new Error(`This ${r.toUpperCase()} timeline extracts to ${n} MB, past what our conversion server can hold in one pass (the ceiling is ours, not your file \u2014 a single long timeline can exceed it on its own). Get in touch and we will convert it for you while we lift the limit.`):new Error(`This ${r.toUpperCase()} selection${s?` (${s} sequences)`:""} extracts to ${n} MB, past what our conversion server can hold in one pass. Convert a few sequences at a time \u2014 one long timeline is usually about ${(d/1048576).toFixed(0)} MB. If a single timeline still will not go through, get in touch and we will convert it for you.`)}async function W(e,r,o){let n=m[r];if(!n)throw new Error(`timelineExtract: no Rust engine for format '${r}'`);switch(await I(),n){case"otio":case"capcut":case"fcpxml":case"xmeml":return{fmt:n,extract:await e.text()};case"blscene":{let t=(await c()).extract_blscene_json(await a(e));return{fmt:n,extract:u(t,n,o)}}case"drt":{let t=(await c()).extract_drt_json(await w(e));return{fmt:n,extract:u(t,n,o)}}case"prproj":{let s=await c(),t=JSON.stringify(o??[]),i=s.extract_prproj_json(await a(e),t);return{fmt:n,extract:u(i,n,o)}}case"avb":{let s=await c(),t=JSON.stringify(o??[]),i=s.extract_avb_json(await a(e),t);return{fmt:n,extract:u(i,n,o)}}case"aaf":case"flame":{let t=(await c())[`extract_${n}_json`](await a(e));return{fmt:n,extract:u(t,n,o)}}}}async function a(e){return new Uint8Array(await e.arrayBuffer())}async function w(e){let r=f(await a(e)),o={};for(let[n,s]of Object.entries(r))n.toLowerCase().endsWith(".xml")&&(o[n]=g(s));return JSON.stringify(o)}function v(e){let r=JSON.parse(e),o=Array.isArray(r)?r:r?.timelines??r?.sequences??[],n=o.filter(t=>typeof t=="object"&&t!==null),s=o.map(t=>{if(typeof t=="string")return t;let i=t;return i?.name??i?.title??i?.id??""}).filter(t=>!!t);return{names:Array.from(new Set(s)),timelines:n}}async function A(e){let r=await c();return JSON.parse(r.drx_grade_tree(e))}var T="X-Write-Issues";var C=8*1024;function U(e){if(!e)return[];try{let r=JSON.parse(decodeURIComponent(e));return Array.isArray(r)?r:[]}catch{return[]}}export{R as a,S as b,j as c,W as d,A as e,T as f,U as g};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
import{d as Tt}from"./chunk-PSANHDZM.js";var At={};Tt(At,{ExrBench:()=>J,ExrStreamEncoder:()=>Q,ProResBench:()=>Z,ProResMovEncoder:()=>tt,ProResMovWriter:()=>et,arriraw12_clip_info:()=>Ot,arriraw_mxf_gpu_frame:()=>Ft,audio_aac_au:()=>Wt,audio_aac_config:()=>St,audio_info:()=>Lt,bench_f32_boundary:()=>Rt,bench_piz_no_huffman:()=>jt,color_cst:()=>zt,dci_code_full_depth:()=>Dt,dci_frame_cap:()=>Ut,dci_gpu_colour_patch:()=>Bt,dci_gpu_colour_tables:()=>Pt,dci_last_pass_caps:()=>Ct,dci_legal_rates:()=>qt,dci_mq_bench:()=>Nt,dci_pack_tier1:()=>Ht,dci_stage_rgba8:()=>Gt,dci_transform_only:()=>Vt,decode_arriraw12_luma:()=>Kt,decode_arriraw12_mxf:()=>Xt,decode_arriraw12_preview:()=>Yt,decode_arriraw12_rgba:()=>$t,decode_arriraw_luma:()=>Jt,decode_arriraw_mxf:()=>Qt,decode_arriraw_preview:()=>Zt,decode_arriraw_preview_gray:()=>te,decode_arriraw_preview_meta:()=>ee,decode_arriraw_rgba:()=>ne,decode_arriraw_rgba_meta:()=>re,decode_arw_preview:()=>_e,decode_arw_rgba:()=>oe,decode_audio_pcm:()=>ie,decode_audio_track_pcm:()=>ae,decode_bmp_rgba:()=>de,decode_braw_gen5log:()=>ce,decode_braw_luma:()=>se,decode_braw_preview:()=>pe,decode_braw_rgba:()=>ge,decode_cr2_preview:()=>ue,decode_cr2_rgba:()=>we,decode_cr3_rgba:()=>be,decode_crm:()=>le,decode_dng_preview:()=>fe,decode_dng_rgba:()=>ve,decode_dpx_preview:()=>xe,decode_dpx_rgba:()=>Ie,decode_dv_luma:()=>ye,decode_dv_preview:()=>me,decode_dv_rgba:()=>he,decode_exr_linear:()=>ke,decode_exr_preview:()=>Ae,decode_exr_rgba:()=>Me,decode_gif_rgba:()=>Ee,decode_heic_rgba:()=>Te,decode_j2k_luma:()=>Oe,decode_j2k_preview:()=>Fe,decode_j2k_rgba:()=>We,decode_jpeg_rgba:()=>Se,decode_mpeg2_luma:()=>Le,decode_mpeg2_preview:()=>Re,decode_mpeg2_rgba:()=>je,decode_png_rgba:()=>ze,decode_prores_band_rgba:()=>De,decode_prores_luma:()=>Ue,decode_prores_mxf:()=>Be,decode_prores_preview:()=>Pe,decode_prores_raw_acescct:()=>Ce,decode_prores_raw_luma:()=>qe,decode_prores_raw_preview:()=>Ne,decode_prores_raw_rec2020:()=>He,decode_prores_raw_rgba:()=>Ge,decode_prores_raw_tier:()=>Ve,decode_prores_rgb16:()=>Ke,decode_prores_rgba:()=>Xe,decode_prores_thumb_dc32:()=>Ye,decode_psd_rgba:()=>$e,decode_r3d_luma:()=>Je,decode_r3d_preview:()=>Qe,decode_r3d_preview_clip:()=>Ze,decode_r3d_rgb16:()=>tn,decode_r3d_rgba:()=>en,decode_r3d_rgba_clip:()=>nn,decode_tga_rgba:()=>rn,decode_tiff_preview:()=>_n,decode_tiff_rgba:()=>on,decode_vc3_band_rgba:()=>an,decode_vc3_luma:()=>dn,decode_vc3_mxf:()=>cn,decode_vc3_preview:()=>sn,decode_vc3_rgba:()=>pn,decode_webp_rgba:()=>gn,decode_xocn_index_luma:()=>un,decode_xocn_luma:()=>wn,decode_xocn_mxf:()=>bn,decode_xocn_preview:()=>ln,decode_xocn_preview_rec709:()=>fn,decode_xocn_rgb16:()=>vn,decode_xocn_rgba:()=>xn,default:()=>rt,encode_dci_j2c:()=>In,encode_dci_j2c_rgb:()=>yn,encode_dci_j2c_rgba8:()=>mn,encode_dci_j2c_staged:()=>hn,encode_dci_j2c_staged_modelled:()=>kn,encode_exr:()=>An,encode_prores_4444_alpha_mov_rgba:()=>Mn,encode_prores_4444_alpha_sample_q:()=>En,encode_prores_444_sample_cbr:()=>Tn,encode_prores_444_sample_cbr_rgb16:()=>On,encode_prores_444_sample_cbr_rgb16_lut:()=>Fn,encode_prores_mov_rgba:()=>Wn,encode_prores_rgba:()=>Sn,encode_prores_sample_cbr:()=>Ln,encode_prores_sample_cbr_rgb16:()=>Rn,encode_prores_sample_cbr_rgb16_lut:()=>jn,encode_prores_sample_q:()=>zn,exr_sequence_filename:()=>Dn,fit_sizing:()=>Un,initSync:()=>g_,inspect_arw:()=>Bn,inspect_cr2:()=>Pn,inspect_cr3:()=>Cn,inspect_dng:()=>qn,inspect_dpx:()=>Nn,inspect_exr:()=>Hn,inspect_isobmff:()=>Gn,inspect_tiff:()=>Vn,inspect_wav:()=>Kn,is_arriraw12_mxf:()=>Xn,is_arriraw_mxf:()=>Yn,is_crm:()=>$n,is_prores_mxf:()=>Jn,is_vc3_mxf:()=>Qn,is_xavc_mxf:()=>Zn,is_xocn_mxf:()=>tr,list_isobmff_segments:()=>er,list_mxf_segments:()=>nr,list_r3d_frames:()=>rr,list_r3d_segments:()=>_r,list_wav_segments:()=>or,mux_prores_4444_alpha_samples:()=>ir,mux_prores_samples:()=>ar,mux_prores_samples_full:()=>dr,mxf_au_run:()=>cr,mxf_frame_index:()=>sr,mxf_gop_map:()=>pr,mxf_h264_kind:()=>gr,plan_isobmff_trim:()=>ur,plan_isobmff_trim_reader:()=>wr,plan_mxf_compact_trim:()=>br,plan_mxf_trim:()=>lr,plan_r3d_compact:()=>fr,plan_wav_trim:()=>vr,plan_wav_trim_reader:()=>xr,prepare_isobmff:()=>Ir,prepare_mxf:()=>yr,prepare_r3d:()=>mr,prepare_wav:()=>hr,probe_mov:()=>kr,probe_mxf:()=>Ar,probe_r3d:()=>Mr,prores_band_info:()=>Er,prores_raw_container_color:()=>Tr,prores_reset_rate_control:()=>Or,r3d_gpu_develop_params:()=>Fr,r3d_index_ranges:()=>Wr,r3d_is_helium:()=>Sr,read_arriraw_fcs:()=>Lr,read_arriraw_unit_correction:()=>Rr,recover_reframe:()=>jr,resample_rgba16:()=>zr,resample_rgba8:()=>Dr,reset_dci_rate_state:()=>Ur,resize_luma_area:()=>Br,rgba8_to_xyz12:()=>Pr,shot_crop:()=>Cr,shot_ramp:()=>qr,shot_scan:()=>Nr,trim_r3d:()=>Hr,vc3_band_info:()=>Gr,video_close:()=>Vr,video_decode:()=>Kr,video_frame_index_isobmff_reader:()=>Xr,video_open:()=>Yr,xavc_au:()=>$r,xavc_frame_count:()=>Jr,xocn_frame_count:()=>Qr,xocn_index_prefix_len:()=>Zr,xocn_preview_prefix_len:()=>t_});var J=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,wt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_exrbench_free(e,0)}block_rows(){return t.exrbench_block_rows(this.__wbg_ptr)>>>0}f32_to_half_block(){return t.exrbench_f32_to_half_block(this.__wbg_ptr)}n_blocks(){return t.exrbench_n_blocks(this.__wbg_ptr)>>>0}constructor(e,n,i,a){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=y(a,t.__wbindgen_export4,t.__wbindgen_export5),w=p;t.exrbench_new(s,e,n,i,g,w);var d=r().getInt32(s+0,!0),_=r().getInt32(s+4,!0),c=r().getInt32(s+8,!0);if(c)throw u(_);return this.__wbg_ptr=d,wt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}piz_stage_block(e){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.exrbench_piz_stage_block(d,this.__wbg_ptr,e);var n=r().getFloat64(d+0,!0),i=r().getInt32(d+8,!0),a=r().getInt32(d+12,!0);if(a)throw u(i);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}staging_f32_ptr(){return t.exrbench_staging_f32_ptr(this.__wbg_ptr)>>>0}staging_f32_samples(){return t.exrbench_staging_f32_samples(this.__wbg_ptr)>>>0}staging_half_len(){return t.exrbench_staging_half_len(this.__wbg_ptr)>>>0}staging_half_ptr(){return t.exrbench_staging_half_ptr(this.__wbg_ptr)>>>0}zip_stage_block(e){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.exrbench_zip_stage_block(d,this.__wbg_ptr,e);var n=r().getFloat64(d+0,!0),i=r().getInt32(d+8,!0),a=r().getInt32(d+12,!0);if(a)throw u(i);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);var Q=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,bt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_exrstreamencoder_free(e,0)}block_rows(){return t.exrstreamencoder_block_rows(this.__wbg_ptr)>>>0}finish(){try{let _=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_finish(_,this.__wbg_ptr);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_header(a,this.__wbg_ptr);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}n_blocks(){return t.exrstreamencoder_n_blocks(this.__wbg_ptr)>>>0}constructor(e,n,i,a,d,_,c,s,g,w){try{let I=t.__wbindgen_add_to_stack_pointer(-16),h=y(i,t.__wbindgen_export4,t.__wbindgen_export5),k=p,M=y(a,t.__wbindgen_export4,t.__wbindgen_export5),O=p,F=y(d,t.__wbindgen_export4,t.__wbindgen_export5),T=p,S=y(_,t.__wbindgen_export4,t.__wbindgen_export5),R=p,j=y(s,t.__wbindgen_export4,t.__wbindgen_export5),D=p;t.exrstreamencoder_new(I,e,n,h,k,M,O,F,T,S,R,c,j,D,g,w);var b=r().getInt32(I+0,!0),v=r().getInt32(I+4,!0),m=r().getInt32(I+8,!0);if(m)throw u(v);return this.__wbg_ptr=b,bt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_block(e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_push_block(c,this.__wbg_ptr,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}rows_remaining(){return t.exrstreamencoder_rows_remaining(this.__wbg_ptr)>>>0}staging_ptr(){return t.exrstreamencoder_staging_ptr(this.__wbg_ptr)>>>0}staging_samples(){return t.exrstreamencoder_staging_samples(this.__wbg_ptr)>>>0}};Symbol.dispose&&(Q.prototype[Symbol.dispose]=Q.prototype.free);var Z=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,lt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresbench_free(e,0)}constructor(e,n,i,a){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=y(i,t.__wbindgen_export4,t.__wbindgen_export5),w=p;t.proresbench_new(s,e,n,g,w,a);var d=r().getInt32(s+0,!0),_=r().getInt32(s+4,!0),c=r().getInt32(s+8,!0);if(c)throw u(_);return this.__wbg_ptr=d,lt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}stage(e){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.proresbench_stage(d,this.__wbg_ptr,e);var n=r().getFloat64(d+0,!0),i=r().getInt32(d+8,!0),a=r().getInt32(d+12,!0);if(a)throw u(i);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}staging_len(){return t.proresbench_staging_len(this.__wbg_ptr)>>>0}staging_ptr(){return t.proresbench_staging_ptr(this.__wbg_ptr)>>>0}};Symbol.dispose&&(Z.prototype[Symbol.dispose]=Z.prototype.free);var tt=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ft.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresmovencoder_free(e,0)}add_frame_rgba(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(e,t.__wbindgen_export4),_=p;t.proresmovencoder_add_frame_rgba(a,this.__wbg_ptr,d,_);var n=r().getInt32(a+0,!0),i=r().getInt32(a+4,!0);if(i)throw u(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}finish(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovencoder_finish(a,this.__wbg_ptr);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}frame_count(){return t.proresmovencoder_frame_count(this.__wbg_ptr)>>>0}constructor(e,n,i,a){let d=t.proresmovencoder_new(e,n,i,a);return this.__wbg_ptr=d,ft.register(this,this.__wbg_ptr,this),this}set_alpha(e){t.proresmovencoder_set_alpha(this.__wbg_ptr,e)}set_bitrate_mbps(e){t.proresmovencoder_set_bitrate_mbps(this.__wbg_ptr,e)}set_qscale(e){t.proresmovencoder_set_qscale(this.__wbg_ptr,e)}};Symbol.dispose&&(tt.prototype[Symbol.dispose]=tt.prototype.free);var et=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,vt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresmovwriter_free(e,0)}finish(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_finish(a,this.__wbg_ptr);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}frame_count(){return t.proresmovwriter_frame_count(this.__wbg_ptr)>>>0}header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_header(a,this.__wbg_ptr);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}mdat_box_header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_mdat_box_header(a,this.__wbg_ptr);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}mdat_box_offset(){return t.proresmovwriter_mdat_box_offset(this.__wbg_ptr)}constructor(e,n,i,a){let d=t.proresmovwriter_new(e,n,i,a);return this.__wbg_ptr=d,vt.register(this,this.__wbg_ptr,this),this}push_frame(){try{let _=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_push_frame(_,this.__wbg_ptr);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_sample(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(e,t.__wbindgen_export4),_=p;t.proresmovwriter_push_sample(a,this.__wbg_ptr,d,_);var n=r().getInt32(a+0,!0),i=r().getInt32(a+4,!0);if(i)throw u(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_sample_len(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_push_sample_len(a,this.__wbg_ptr,e);var n=r().getInt32(a+0,!0),i=r().getInt32(a+4,!0);if(i)throw u(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}reserve_large_mdat(e){t.proresmovwriter_reserve_large_mdat(this.__wbg_ptr,e)}set_alpha(e){t.proresmovwriter_set_alpha(this.__wbg_ptr,e)}set_bitrate_mbps(e){t.proresmovwriter_set_bitrate_mbps(this.__wbg_ptr,e)}set_par(e,n){t.proresmovwriter_set_par(this.__wbg_ptr,e,n)}set_profile(e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p;t.proresmovwriter_set_profile(this.__wbg_ptr,n,i)}set_qscale(e){t.proresmovwriter_set_qscale(this.__wbg_ptr,e)}set_start_timecode(e,n){t.proresmovwriter_set_start_timecode(this.__wbg_ptr,e,n)}staging_len(){return t.proresmovwriter_staging_len(this.__wbg_ptr)>>>0}staging_ptr(){return t.proresmovwriter_staging_ptr(this.__wbg_ptr)>>>0}total_len(){return t.proresmovwriter_total_len(this.__wbg_ptr)}};Symbol.dispose&&(et.prototype[Symbol.dispose]=et.prototype.free);function Ot(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.arriraw12_clip_info(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Ft(o,e,n,i){var a=B(i)?0:y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p;let _=t.arriraw_mxf_gpu_frame(x(o),e,n,a,d);return u(_)}function Wt(o,e,n){let i=t.audio_aac_au(x(o),e,n);return u(i)}function St(o,e){let n=t.audio_aac_config(x(o),e);return u(n)}function Lt(o,e){let n=t.audio_info(x(o),e);return u(n)}function Rt(o){let e=ot(o,t.__wbindgen_export4),n=p;return t.bench_f32_boundary(e,n)}function jt(o,e,n,i){let a=ot(o,t.__wbindgen_export4),d=p;return t.bench_piz_no_huffman(a,d,e,n,i)}function zt(o,e){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=y(o,t.__wbindgen_export4,t.__wbindgen_export5),s=p;var n=ot(e,t.__wbindgen_export4),i=p;t.color_cst(_,c,s,n,i,x(e));var a=r().getInt32(_+0,!0),d=r().getInt32(_+4,!0);if(d)throw u(a)}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Dt(o,e,n){let i=W(o,t.__wbindgen_export4),a=p;return t.dci_code_full_depth(i,a,e,n)}function Ut(o,e,n){return t.dci_frame_cap(o,e,n)>>>0}function Bt(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p,w=y(e,t.__wbindgen_export4,t.__wbindgen_export5),b=p;t.dci_gpu_colour_patch(c,s,g,w,b);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=gt(n,i).slice();return t.__wbindgen_export3(n,i*2,2),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Pt(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=y(o,t.__wbindgen_export4,t.__wbindgen_export5),s=p;t.dci_gpu_colour_tables(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ct(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.dci_last_pass_caps(i);var o=r().getInt32(i+0,!0),e=r().getInt32(i+4,!0),n=nt(o,e).slice();return t.__wbindgen_export3(o,e*4,4),n}finally{t.__wbindgen_add_to_stack_pointer(16)}}function qt(o,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.dci_legal_rates(d,o,e);var n=r().getInt32(d+0,!0),i=r().getInt32(d+4,!0),a=nt(n,i).slice();return t.__wbindgen_export3(n,i*4,4),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Nt(o){return t.dci_mq_bench(o)>>>0}function Ht(o,e,n,i,a,d,_,c,s,g,w){try{let k=t.__wbindgen_add_to_stack_pointer(-16),M=L(o,t.__wbindgen_export4),O=p,F=l(e,t.__wbindgen_export4),T=p,S=L(n,t.__wbindgen_export4),R=p,j=L(i,t.__wbindgen_export4),D=p,C=L(a,t.__wbindgen_export4),q=p,it=L(d,t.__wbindgen_export4),at=p,dt=L(_,t.__wbindgen_export4),ct=p,Mt=L(c,t.__wbindgen_export4),Et=p;t.dci_pack_tier1(k,M,O,F,T,S,R,j,D,C,q,it,at,dt,ct,Mt,Et,s,g,w);var b=r().getInt32(k+0,!0),v=r().getInt32(k+4,!0),m=r().getInt32(k+8,!0),I=r().getInt32(k+12,!0);if(I)throw u(m);var h=f(b,v).slice();return t.__wbindgen_export3(b,v*1,1),h}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Gt(o,e){let n=t.dci_stage_rgba8(o,e);return u(n)}function Vt(o,e,n){let i=W(o,t.__wbindgen_export4),a=p;return t.dci_transform_only(i,a,e,n)}function Kt(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p,w=l(e,t.__wbindgen_export4),b=p;t.decode_arriraw12_luma(c,s,g,w,b);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Xt(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_arriraw12_mxf(x(o),e,n,a,d);return u(_)}function Yt(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p,b=l(e,t.__wbindgen_export4),v=p;t.decode_arriraw12_preview(s,g,w,b,v,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function $t(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p,w=l(e,t.__wbindgen_export4),b=p;t.decode_arriraw12_rgba(c,s,g,w,b);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Jt(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p;t.decode_arriraw_luma(s,g,w,e,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Qt(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_arriraw_mxf(x(o),e,n,a,d);return u(_)}function Zt(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.decode_arriraw_preview(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function te(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.decode_arriraw_preview_gray(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ee(o,e,n,i,a,d,_,c,s){try{let k=t.__wbindgen_add_to_stack_pointer(-16),M=l(o,t.__wbindgen_export4),O=p;var g=B(s)?0:Y(s,t.__wbindgen_export4),w=p;t.decode_arriraw_preview_meta(k,M,O,e,n,i,a,d,_,c,g,w);var b=r().getInt32(k+0,!0),v=r().getInt32(k+4,!0),m=r().getInt32(k+8,!0),I=r().getInt32(k+12,!0);if(I)throw u(m);var h=f(b,v).slice();return t.__wbindgen_export3(b,v*1,1),h}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ne(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p;t.decode_arriraw_rgba(s,g,w,e,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function re(o,e,n,i,a,d,_,c){try{let h=t.__wbindgen_add_to_stack_pointer(-16),k=l(o,t.__wbindgen_export4),M=p;var s=B(c)?0:Y(c,t.__wbindgen_export4),g=p;t.decode_arriraw_rgba_meta(h,k,M,e,n,i,a,d,_,s,g);var w=r().getInt32(h+0,!0),b=r().getInt32(h+4,!0),v=r().getInt32(h+8,!0),m=r().getInt32(h+12,!0);if(m)throw u(v);var I=f(w,b).slice();return t.__wbindgen_export3(w,b*1,1),I}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _e(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_arw_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function oe(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_arw_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ie(o,e,n,i){let a=t.decode_audio_pcm(x(o),e,n,i);return u(a)}function ae(o,e,n,i,a){let d=t.decode_audio_track_pcm(x(o),e,n,i,a);return u(d)}function de(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_bmp_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ce(o){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(o,t.__wbindgen_export4),_=p;t.decode_braw_gen5log(a,d,_);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function se(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_braw_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function pe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_braw_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ge(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_braw_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ue(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_cr2_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function we(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_cr2_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function be(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_cr3_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function le(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_crm(x(o),e,n,a,d);return u(_)}function fe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_dng_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ve(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_dng_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function xe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_dpx_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ie(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_dpx_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ye(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_dv_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function me(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_dv_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function he(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_dv_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ke(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_exr_linear(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ae(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_exr_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Me(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_exr_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ee(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_gif_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Te(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_heic_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Oe(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_j2k_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Fe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_j2k_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function We(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_j2k_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Se(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_jpeg_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Le(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_mpeg2_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Re(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_mpeg2_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function je(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_mpeg2_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ze(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_png_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function De(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p;t.decode_prores_band_rgba(s,g,w,e,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ue(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Be(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_prores_mxf(x(o),e,n,a,d);return u(_)}function Pe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_prores_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ce(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_raw_acescct(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function qe(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_raw_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ne(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_prores_raw_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function He(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_raw_rec2020(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ge(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_raw_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ve(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p,b=y(e,t.__wbindgen_export4,t.__wbindgen_export5),v=p,m=l(n,t.__wbindgen_export4),I=p;t.decode_prores_raw_tier(s,g,w,b,v,m,I);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ke(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_rgb16(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Xe(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ye(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_thumb_dc32(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function $e(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_psd_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Je(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_r3d_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Qe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_r3d_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ze(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p,b=l(e,t.__wbindgen_export4),v=p;t.decode_r3d_preview_clip(s,g,w,b,v,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function tn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_r3d_rgb16(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function en(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_r3d_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function nn(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p,w=l(e,t.__wbindgen_export4),b=p;t.decode_r3d_rgba_clip(c,s,g,w,b);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function rn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_tga_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _n(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_tiff_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function on(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_tiff_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function an(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p;t.decode_vc3_band_rgba(s,g,w,e,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function dn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_vc3_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function cn(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_vc3_mxf(x(o),e,n,a,d);return u(_)}function sn(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_vc3_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function pn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_vc3_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function gn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_webp_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function un(o){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(o,t.__wbindgen_export4),_=p;t.decode_xocn_index_luma(a,d,_);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function wn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_xocn_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function bn(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_xocn_mxf(x(o),e,n,a,d);return u(_)}function ln(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_xocn_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function fn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_xocn_preview_rec709(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function vn(o){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(o,t.__wbindgen_export4),_=p;t.decode_xocn_rgb16(a,d,_);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function xn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_xocn_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function In(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=W(o,t.__wbindgen_export4),b=p;t.encode_dci_j2c(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function yn(o,e,n,i,a,d){try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=W(o,t.__wbindgen_export4),m=p,I=y(n,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.encode_dci_j2c_rgb(b,v,m,e,I,h,i,a,d);var _=r().getInt32(b+0,!0),c=r().getInt32(b+4,!0),s=r().getInt32(b+8,!0),g=r().getInt32(b+12,!0);if(g)throw u(s);var w=f(_,c).slice();return t.__wbindgen_export3(_,c*1,1),w}finally{t.__wbindgen_add_to_stack_pointer(16)}}function mn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=l(o,t.__wbindgen_export4),v=p,m=y(e,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.encode_dci_j2c_rgba8(w,b,v,m,I,n,i,a);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function hn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=y(i,t.__wbindgen_export4,t.__wbindgen_export5),v=p;t.encode_dci_j2c_staged(w,o,e,n,b,v,a);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function kn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=y(i,t.__wbindgen_export4,t.__wbindgen_export5),v=p;t.encode_dci_j2c_staged_modelled(w,o,e,n,b,v,a);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function An(o,e,n,i,a,d,_,c,s,g,w,b,v,m,I){try{let T=t.__wbindgen_add_to_stack_pointer(-16),S=ot(o,t.__wbindgen_export4),R=p,j=y(a,t.__wbindgen_export4,t.__wbindgen_export5),D=p,C=y(d,t.__wbindgen_export4,t.__wbindgen_export5),q=p,it=y(_,t.__wbindgen_export4,t.__wbindgen_export5),at=p,dt=y(v,t.__wbindgen_export4,t.__wbindgen_export5),ct=p;t.encode_exr(T,S,R,e,n,i,j,D,C,q,it,at,c,s,g,w,b,dt,ct,m,I);var h=r().getInt32(T+0,!0),k=r().getInt32(T+4,!0),M=r().getInt32(T+8,!0),O=r().getInt32(T+12,!0);if(O)throw u(M);var F=f(h,k).slice();return t.__wbindgen_export3(h,k*1,1),F}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Mn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=l(o,t.__wbindgen_export4),v=p;t.encode_prores_4444_alpha_mov_rgba(w,b,v,e,n,i,a);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function En(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.encode_prores_4444_alpha_sample_q(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Tn(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.encode_prores_444_sample_cbr(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function On(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=W(o,t.__wbindgen_export4),b=p;t.encode_prores_444_sample_cbr_rgb16(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Fn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=W(o,t.__wbindgen_export4),v=p,m=W(a,t.__wbindgen_export4),I=p;t.encode_prores_444_sample_cbr_rgb16_lut(w,b,v,e,n,i,m,I);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Wn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=l(o,t.__wbindgen_export4),v=p;t.encode_prores_mov_rgba(w,b,v,e,n,i,a);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Sn(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p;t.encode_prores_rgba(s,g,w,e,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ln(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.encode_prores_sample_cbr(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Rn(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=W(o,t.__wbindgen_export4),b=p;t.encode_prores_sample_cbr_rgb16(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function jn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=W(o,t.__wbindgen_export4),v=p,m=W(a,t.__wbindgen_export4),I=p;t.encode_prores_sample_cbr_rgb16_lut(w,b,v,e,n,i,m,I);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function zn(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.encode_prores_sample_q(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Dn(o,e,n,i){let a,d;try{let v=t.__wbindgen_add_to_stack_pointer(-16),m=y(o,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.exr_sequence_filename(v,m,I,e,n,i);var _=r().getInt32(v+0,!0),c=r().getInt32(v+4,!0),s=r().getInt32(v+8,!0),g=r().getInt32(v+12,!0),w=_,b=c;if(g)throw w=0,b=0,u(s);return a=w,d=b,E(w,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,d,1)}}function Un(o,e,n,i,a,d,_,c){let s,g;try{let k=t.__wbindgen_add_to_stack_pointer(-16),M=l(o,t.__wbindgen_export4),O=p,F=l(i,t.__wbindgen_export4),T=p,S=y(c,t.__wbindgen_export4,t.__wbindgen_export5),R=p;t.fit_sizing(k,M,O,e,n,F,T,a,d,_,S,R);var w=r().getInt32(k+0,!0),b=r().getInt32(k+4,!0),v=r().getInt32(k+8,!0),m=r().getInt32(k+12,!0),I=w,h=b;if(m)throw I=0,h=0,u(v);return s=I,g=h,E(I,h)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(s,g,1)}}function Bn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_arw(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Pn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_cr2(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Cn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_cr3(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function qn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_dng(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Nn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_dpx(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Hn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_exr(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Gn(o,e,n){let i=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=t.inspect_isobmff(x(o),e,i,a);return u(d)}function Vn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_tiff(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Kn(o,e){let n=t.inspect_wav(x(o),e);return u(n)}function Xn(o,e){let n=t.is_arriraw12_mxf(x(o),e);return u(n)}function Yn(o,e){let n=t.is_arriraw_mxf(x(o),e);return u(n)}function $n(o,e){let n=t.is_crm(x(o),e);return u(n)}function Jn(o,e){let n=t.is_prores_mxf(x(o),e);return u(n)}function Qn(o,e){let n=t.is_vc3_mxf(x(o),e);return u(n)}function Zn(o,e){let n=t.is_xavc_mxf(x(o),e);return u(n)}function tr(o,e){let n=t.is_xocn_mxf(x(o),e);return u(n)}function er(o,e,n){let i=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=t.list_isobmff_segments(x(o),e,i,a);return u(d)}function nr(o,e){let n=t.list_mxf_segments(x(o),e);return u(n)}function rr(o,e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p,a=t.list_r3d_frames(x(o),n,i);return u(a)}function _r(o,e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p,a=t.list_r3d_segments(x(o),n,i);return u(a)}function or(o,e){let n=t.list_wav_segments(x(o),e);return u(n)}function ir(o,e,n,i,a,d){try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=l(o,t.__wbindgen_export4),m=p,I=L(e,t.__wbindgen_export4),h=p;t.mux_prores_4444_alpha_samples(b,v,m,I,h,n,i,a,d);var _=r().getInt32(b+0,!0),c=r().getInt32(b+4,!0),s=r().getInt32(b+8,!0),g=r().getInt32(b+12,!0);if(g)throw u(s);var w=f(_,c).slice();return t.__wbindgen_export3(_,c*1,1),w}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ar(o,e,n,i,a,d){try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=l(o,t.__wbindgen_export4),m=p,I=L(e,t.__wbindgen_export4),h=p;t.mux_prores_samples(b,v,m,I,h,n,i,a,d);var _=r().getInt32(b+0,!0),c=r().getInt32(b+4,!0),s=r().getInt32(b+8,!0),g=r().getInt32(b+12,!0);if(g)throw u(s);var w=f(_,c).slice();return t.__wbindgen_export3(_,c*1,1),w}finally{t.__wbindgen_add_to_stack_pointer(16)}}function dr(o,e,n,i,a,d,_,c,s,g,w,b){try{let M=t.__wbindgen_add_to_stack_pointer(-16),O=l(o,t.__wbindgen_export4),F=p,T=L(e,t.__wbindgen_export4),S=p,R=y(_,t.__wbindgen_export4,t.__wbindgen_export5),j=p;t.mux_prores_samples_full(M,O,F,T,S,n,i,a,d,R,j,c,s,g,w,b);var v=r().getInt32(M+0,!0),m=r().getInt32(M+4,!0),I=r().getInt32(M+8,!0),h=r().getInt32(M+12,!0);if(h)throw u(I);var k=f(v,m).slice();return t.__wbindgen_export3(v,m*1,1),k}finally{t.__wbindgen_add_to_stack_pointer(16)}}function cr(o,e,n,i){let a=t.mxf_au_run(x(o),e,n,i);return u(a)}function sr(o,e){let n=t.mxf_frame_index(x(o),e);return u(n)}function pr(o,e){let n=t.mxf_gop_map(x(o),e);return u(n)}function gr(o,e){let n=t.mxf_h264_kind(x(o),e);return u(n)}function ur(o,e){let n,i;try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=l(o,t.__wbindgen_export4),v=p,m=y(e,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.plan_isobmff_trim(w,b,v,m,I);var a=r().getInt32(w+0,!0),d=r().getInt32(w+4,!0),_=r().getInt32(w+8,!0),c=r().getInt32(w+12,!0),s=a,g=d;if(c)throw s=0,g=0,u(_);return n=s,i=g,E(s,g)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,i,1)}}function wr(o,e,n,i,a){let d=y(a,t.__wbindgen_export4,t.__wbindgen_export5),_=p,c=t.plan_isobmff_trim_reader(x(o),e,n,i,d,_);return u(c)}function br(o){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=y(o,t.__wbindgen_export4,t.__wbindgen_export5),b=p;t.plan_mxf_compact_trim(g,w,b);var i=r().getInt32(g+0,!0),a=r().getInt32(g+4,!0),d=r().getInt32(g+8,!0),_=r().getInt32(g+12,!0),c=i,s=a;if(_)throw c=0,s=0,u(d);return e=c,n=s,E(c,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function lr(o,e,n,i){let a=t.plan_mxf_trim(x(o),e,n,i);return u(a)}function fr(o,e,n,i,a,d,_,c){let s,g;try{let v=t.__wbindgen_add_to_stack_pointer(-16),m=l(o,t.__wbindgen_export4),I=p,h=l(e,t.__wbindgen_export4),k=p,M=l(n,t.__wbindgen_export4),O=p,F=l(i,t.__wbindgen_export4),T=p,S=Y(a,t.__wbindgen_export4),R=p,j=Y(d,t.__wbindgen_export4),D=p,C=Y(_,t.__wbindgen_export4),q=p;t.plan_r3d_compact(v,m,I,h,k,M,O,F,T,S,R,j,D,C,q,c);var w=r().getInt32(v+0,!0),b=r().getInt32(v+4,!0);return s=w,g=b,E(w,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(s,g,1)}}function vr(o,e,n,i){let a,d;try{let v=t.__wbindgen_add_to_stack_pointer(-16),m=l(o,t.__wbindgen_export4),I=p;t.plan_wav_trim(v,m,I,e,n,i);var _=r().getInt32(v+0,!0),c=r().getInt32(v+4,!0),s=r().getInt32(v+8,!0),g=r().getInt32(v+12,!0),w=_,b=c;if(g)throw w=0,b=0,u(s);return a=w,d=b,E(w,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,d,1)}}function xr(o,e,n,i,a){let d=t.plan_wav_trim_reader(x(o),e,n,i,a);return u(d)}function Ir(o,e,n,i){let a=y(n,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=y(i,t.__wbindgen_export4,t.__wbindgen_export5),c=p,s=t.prepare_isobmff(x(o),e,a,d,_,c);return u(s)}function yr(o,e,n){let i=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=t.prepare_mxf(x(o),e,i,a);return u(d)}function mr(o,e,n){let i=y(e,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=y(n,t.__wbindgen_export4,t.__wbindgen_export5),_=p,c=t.prepare_r3d(x(o),i,a,d,_);return u(c)}function hr(o,e,n,i){let a=y(n,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.prepare_wav(x(o),e,a,d,i);return u(_)}function kr(o){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.probe_mov(g,w,b);var i=r().getInt32(g+0,!0),a=r().getInt32(g+4,!0),d=r().getInt32(g+8,!0),_=r().getInt32(g+12,!0),c=i,s=a;if(_)throw c=0,s=0,u(d);return e=c,n=s,E(c,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Ar(o,e){let n=t.probe_mxf(x(o),e);return u(n)}function Mr(o,e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p,a=t.probe_r3d(x(o),n,i);return u(a)}function Er(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.prores_band_info(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=nt(e,n).slice();return t.__wbindgen_export3(e,n*4,4),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Tr(o){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(o,t.__wbindgen_export4),_=p;t.prores_raw_container_color(a,d,_);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Or(){t.prores_reset_rate_control()}function Fr(o){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(o,t.__wbindgen_export4),_=p;t.r3d_gpu_develop_params(a,d,_);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Wr(o,e,n){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.r3d_index_ranges(_,c,s,e,n);var i=r().getInt32(_+0,!0),a=r().getInt32(_+4,!0),d=nt(i,a).slice();return t.__wbindgen_export3(i,a*4,4),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Sr(o){let e=l(o,t.__wbindgen_export4),n=p;return t.r3d_is_helium(e,n)!==0}function Lr(o){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.read_arriraw_fcs(g,w,b);var i=r().getInt32(g+0,!0),a=r().getInt32(g+4,!0),d=r().getInt32(g+8,!0),_=r().getInt32(g+12,!0),c=i,s=a;if(_)throw c=0,s=0,u(d);return e=c,n=s,E(c,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Rr(o,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.read_arriraw_unit_correction(d,_,c,e);var n=r().getInt32(d+0,!0),i=r().getInt32(d+4,!0),a=__(n,i).slice();return t.__wbindgen_export3(n,i*8,8),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function jr(o,e,n,i,a,d,_){let c,s;try{let h=t.__wbindgen_add_to_stack_pointer(-16),k=l(o,t.__wbindgen_export4),M=p,O=l(i,t.__wbindgen_export4),F=p,T=y(_,t.__wbindgen_export4,t.__wbindgen_export5),S=p;t.recover_reframe(h,k,M,e,n,O,F,a,d,T,S);var g=r().getInt32(h+0,!0),w=r().getInt32(h+4,!0),b=r().getInt32(h+8,!0),v=r().getInt32(h+12,!0),m=g,I=w;if(v)throw m=0,I=0,u(b);return c=m,s=I,E(m,I)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(c,s,1)}}function zr(o,e,n,i,a,d){try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=W(o,t.__wbindgen_export4),m=p,I=y(d,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.resample_rgba16(b,v,m,e,n,i,a,I,h);var _=r().getInt32(b+0,!0),c=r().getInt32(b+4,!0),s=r().getInt32(b+8,!0),g=r().getInt32(b+12,!0);if(g)throw u(s);var w=gt(_,c).slice();return t.__wbindgen_export3(_,c*2,2),w}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Dr(o,e,n,i,a,d){try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=l(o,t.__wbindgen_export4),m=p,I=y(d,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.resample_rgba8(b,v,m,e,n,i,a,I,h);var _=r().getInt32(b+0,!0),c=r().getInt32(b+4,!0),s=r().getInt32(b+8,!0),g=r().getInt32(b+12,!0);if(g)throw u(s);var w=f(_,c).slice();return t.__wbindgen_export3(_,c*1,1),w}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ur(){t.reset_dci_rate_state()}function Br(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.resize_luma_area(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Pr(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=l(o,t.__wbindgen_export4),v=p,m=y(a,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.rgba8_to_xyz12(w,b,v,e,n,i,m,I);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=gt(d,_).slice();return t.__wbindgen_export3(d,_*2,2),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Cr(o,e,n,i){let a,d;try{let v=t.__wbindgen_add_to_stack_pointer(-16),m=W(o,t.__wbindgen_export4),I=p,h=l(e,t.__wbindgen_export4),k=p,M=L(n,t.__wbindgen_export4),O=p,F=y(i,t.__wbindgen_export4,t.__wbindgen_export5),T=p;t.shot_crop(v,m,I,h,k,M,O,F,T);var _=r().getInt32(v+0,!0),c=r().getInt32(v+4,!0),s=r().getInt32(v+8,!0),g=r().getInt32(v+12,!0),w=_,b=c;if(g)throw w=0,b=0,u(s);return a=w,d=b,E(w,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,d,1)}}function qr(o,e,n){let i,a;try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=W(o,t.__wbindgen_export4),m=p,I=l(e,t.__wbindgen_export4),h=p,k=y(n,t.__wbindgen_export4,t.__wbindgen_export5),M=p;t.shot_ramp(b,v,m,I,h,k,M);var d=r().getInt32(b+0,!0),_=r().getInt32(b+4,!0),c=r().getInt32(b+8,!0),s=r().getInt32(b+12,!0),g=d,w=_;if(s)throw g=0,w=0,u(c);return i=g,a=w,E(g,w)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(i,a,1)}}function Nr(o,e,n,i){let a,d;try{let v=t.__wbindgen_add_to_stack_pointer(-16),m=W(o,t.__wbindgen_export4),I=p,h=l(e,t.__wbindgen_export4),k=p,M=L(n,t.__wbindgen_export4),O=p,F=y(i,t.__wbindgen_export4,t.__wbindgen_export5),T=p;t.shot_scan(v,m,I,h,k,M,O,F,T);var _=r().getInt32(v+0,!0),c=r().getInt32(v+4,!0),s=r().getInt32(v+8,!0),g=r().getInt32(v+12,!0),w=_,b=c;if(g)throw w=0,b=0,u(s);return a=w,d=b,E(w,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,d,1)}}function Hr(o,e,n,i){let a=y(e,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=y(n,t.__wbindgen_export4,t.__wbindgen_export5),c=p,s=y(i,t.__wbindgen_export4,t.__wbindgen_export5),g=p,w=t.trim_r3d(x(o),a,d,_,c,s,g);return u(w)}function Gr(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.vc3_band_info(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=nt(e,n).slice();return t.__wbindgen_export3(e,n*4,4),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Vr(o){t.video_close(o)}function Kr(o,e,n,i){let a=t.video_decode(o,e,n,i);return u(a)}function Xr(o,e,n){let i=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=t.video_frame_index_isobmff_reader(x(o),e,i,a);return u(d)}function Yr(o,e){let n=t.video_open(x(o),e);return u(n)}function $r(o,e,n){let i=t.xavc_au(x(o),e,n);return u(i)}function Jr(o,e){let n=t.xavc_frame_count(x(o),e);return u(n)}function Qr(o,e){let n=t.xocn_frame_count(x(o),e);return u(n)}function Zr(o){let e=l(o,t.__wbindgen_export4),n=p;return t.xocn_index_prefix_len(e,n)>>>0}function t_(o){let e=l(o,t.__wbindgen_export4),n=p;return t.xocn_preview_prefix_len(e,n)>>>0}function It(){return{__proto__:null,"./media_core_bg.js":{__proto__:null,__wbg___wbindgen_copy_to_typed_array_c5728021fabd0236:function(e,n,i){new Uint8Array(A(i).buffer,A(i).byteOffset,A(i).byteLength).set(f(e,n))},__wbg___wbindgen_is_function_acc5528be2b923f2:function(e){return typeof A(e)=="function"},__wbg___wbindgen_is_undefined_721f8decd50c87a3:function(e){return A(e)===void 0},__wbg___wbindgen_throw_ea4887a5f8f9a9db:function(e,n){throw new Error(E(e,n))},__wbg__wbg_cb_unref_33c39e13d73b25f6:function(e){A(e)._wbg_cb_unref()},__wbg_call_0e855b388e315e17:function(){return st(function(e,n,i,a){let d=A(e).call(A(n),A(i),A(a));return x(d)},arguments)},__wbg_call_5575218572ead796:function(){return st(function(e,n,i){let a=A(e).call(A(n),A(i));return x(a)},arguments)},__wbg_call_dd0f909cbc9405d0:function(){return st(function(e,n,i,a,d){let _=A(e).call(A(n),A(i),A(a),A(d));return x(_)},arguments)},__wbg_length_589238bdcf171f0e:function(e){return A(e).length},__wbg_new_81880fb5002cb255:function(e){let n=new Uint8Array(A(e));return x(n)},__wbg_new_typed_00a409eb4ec4f2d9:function(e,n){try{var i={a:e,b:n},a=(_,c)=>{let s=i.a;i.a=0;try{return n_(s,i.b,_,c)}finally{i.a=s}};let d=new Promise(a);return x(d)}finally{i.a=0}},__wbg_prototypesetcall_d721637c7ca66eb8:function(e,n,i){Uint8Array.prototype.set.call(f(e,n),A(i))},__wbg_queueMicrotask_1c9b3800e321a967:function(e){let n=A(e).queueMicrotask;return x(n)},__wbg_queueMicrotask_311744e534a929a3:function(e){queueMicrotask(A(e))},__wbg_resolve_d82363d90af6928a:function(e){let n=Promise.resolve(A(e));return x(n)},__wbg_static_accessor_GLOBAL_THIS_2fee5048bcca5938:function(){let e=typeof globalThis>"u"?null:globalThis;return B(e)?0:x(e)},__wbg_static_accessor_GLOBAL_ce44e66a4935da8c:function(){let e=typeof global>"u"?null:global;return B(e)?0:x(e)},__wbg_static_accessor_SELF_44f6e0cb5e67cdad:function(){let e=typeof self>"u"?null:self;return B(e)?0:x(e)},__wbg_static_accessor_WINDOW_168f178805d978fe:function(){let e=typeof window>"u"?null:window;return B(e)?0:x(e)},__wbg_then_05edfc8a4fea5106:function(e,n,i){let a=A(e).then(A(n),A(i));return x(a)},__wbg_then_591b6b3a75ee817a:function(e,n){let i=A(e).then(A(n));return x(i)},__wbindgen_cast_0000000000000001:function(e,n){let i=i_(e,n,e_);return x(i)},__wbindgen_cast_0000000000000002:function(e){return x(e)},__wbindgen_cast_0000000000000003:function(e,n){let i=f(e,n);return x(i)},__wbindgen_cast_0000000000000004:function(e,n){let i=E(e,n);return x(i)},__wbindgen_cast_0000000000000005:function(e,n){var i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),x(i)},__wbindgen_object_clone_ref:function(e){let n=A(e);return x(n)},__wbindgen_object_drop_ref:function(e){u(e)}}}}function e_(o,e,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.__wasm_bindgen_func_elem_3171(d,o,e,x(n));var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);if(a)throw u(i)}finally{t.__wbindgen_add_to_stack_pointer(16)}}function n_(o,e,n,i){t.__wasm_bindgen_func_elem_3186(o,e,x(n),x(i))}var wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbg_exrbench_free(o,1)),bt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbg_exrstreamencoder_free(o,1)),lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbg_proresbench_free(o,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbg_proresmovencoder_free(o,1)),vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbg_proresmovwriter_free(o,1));function x(o){X===z.length&&z.push(z.length+1);let e=X;return X=z[e],z[e]=o,e}var xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbindgen_export2(o.a,o.b));function r_(o){o<1028||(z[o]=X,X=o)}function __(o,e){return o=o>>>0,yt().subarray(o/8,o/8+e)}function gt(o,e){return o=o>>>0,mt().subarray(o/2,o/2+e)}function nt(o,e){return o=o>>>0,ht().subarray(o/4,o/4+e)}function f(o,e){return o=o>>>0,P().subarray(o/1,o/1+e)}var U=null;function r(){return(U===null||U.buffer.detached===!0||U.buffer.detached===void 0&&U.buffer!==t.memory.buffer)&&(U=new DataView(t.memory.buffer)),U}var N=null;function o_(){return(N===null||N.byteLength===0)&&(N=new Float32Array(t.memory.buffer)),N}var H=null;function yt(){return(H===null||H.byteLength===0)&&(H=new Float64Array(t.memory.buffer)),H}function E(o,e){return d_(o>>>0,e)}var G=null;function mt(){return(G===null||G.byteLength===0)&&(G=new Uint16Array(t.memory.buffer)),G}var V=null;function ht(){return(V===null||V.byteLength===0)&&(V=new Uint32Array(t.memory.buffer)),V}var K=null;function P(){return(K===null||K.byteLength===0)&&(K=new Uint8Array(t.memory.buffer)),K}function A(o){return z[o]}function st(o,e){try{return o.apply(this,e)}catch(n){t.__wbindgen_export(x(n))}}var z=new Array(1024).fill(void 0);z.push(void 0,null,!0,!1);var X=z.length;function B(o){return o==null}function i_(o,e,n){let i={a:o,b:e,cnt:1},a=(...d)=>{i.cnt++;let _=i.a;i.a=0;try{return n(_,i.b,...d)}finally{i.a=_,a._wbg_cb_unref()}};return a._wbg_cb_unref=()=>{--i.cnt===0&&(t.__wbindgen_export2(i.a,i.b),i.a=0,xt.unregister(i))},xt.register(a,i,i),a}function W(o,e){let n=e(o.length*2,2)>>>0;return mt().set(o,n/2),p=o.length,n}function L(o,e){let n=e(o.length*4,4)>>>0;return ht().set(o,n/4),p=o.length,n}function l(o,e){let n=e(o.length*1,1)>>>0;return P().set(o,n/1),p=o.length,n}function ot(o,e){let n=e(o.length*4,4)>>>0;return o_().set(o,n/4),p=o.length,n}function Y(o,e){let n=e(o.length*8,8)>>>0;return yt().set(o,n/8),p=o.length,n}function y(o,e,n){if(n===void 0){let c=$.encode(o),s=e(c.length,1)>>>0;return P().subarray(s,s+c.length).set(c),p=c.length,s}let i=o.length,a=e(i,1)>>>0,d=P(),_=0;for(;_<i;_++){let c=o.charCodeAt(_);if(c>127)break;d[a+_]=c}if(_!==i){_!==0&&(o=o.slice(_)),a=n(a,i,i=_+o.length*3,1)>>>0;let c=P().subarray(a+_,a+i),s=$.encodeInto(o,c);_+=s.written,a=n(a,i,_,1)>>>0}return p=_,a}function u(o){let e=A(o);return r_(o),e}var _t=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});_t.decode();var a_=2146435072,pt=0;function d_(o,e){return pt+=e,pt>=a_&&(_t=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),_t.decode(),pt=e),_t.decode(P().subarray(o,o+e))}var $=new TextEncoder;"encodeInto"in $||($.encodeInto=function(o,e){let n=$.encode(o);return e.set(n),{read:o.length,written:n.length}});var p=0,c_,s_,t;function kt(o,e){return s_=o,t=o.exports,c_=e,U=null,N=null,H=null,G=null,V=null,K=null,t}async function p_(o,e){if(typeof Response=="function"&&o instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(o,e)}catch(a){if(o.ok&&n(o.type)&&o.headers.get("Content-Type")!=="application/wasm")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",a);else throw a}let i=await o.arrayBuffer();return await WebAssembly.instantiate(i,e)}else{let i=await WebAssembly.instantiate(o,e);return i instanceof WebAssembly.Instance?{instance:i,module:o}:i}function n(i){switch(i){case"basic":case"cors":case"default":return!0}return!1}}function g_(o){if(t!==void 0)return t;o!==void 0&&(Object.getPrototypeOf(o)===Object.prototype?{module:o}=o:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let e=It();o instanceof WebAssembly.Module||(o=new WebAssembly.Module(o));let n=new WebAssembly.Instance(o,e);return kt(n,o)}async function rt(o){if(t!==void 0)return t;o!==void 0&&(Object.getPrototypeOf(o)===Object.prototype?{module_or_path:o}=o:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),o===void 0&&(o=new URL("media_core_bg.wasm",import.meta.url));let e=It();(typeof o=="string"||typeof Request=="function"&&o instanceof Request||typeof URL=="function"&&o instanceof URL)&&(o=fetch(o));let{instance:n,module:i}=await p_(await o,e);return kt(n,i)}var b_=import.meta.env?.MODE==="development"?["conform.tools","localhost"]:["conform.tools"];var ut=null,u_=!1;function w_(o){return ut||(ut=(async()=>{if(o!==void 0)return rt(o);if(typeof process<"u"&&process.versions?.node){let n="node:fs/promises",{readFile:i}=await import(n),a=await i(new URL("./wasm/media_core_bg.wasm",import.meta.url));return rt({module_or_path:a})}let{default:e}=await import("./media_core_bg-FDL7GJZP.js");return rt({module_or_path:e})})().then(e=>(u_=!0,e))),ut}function I_(){return w_()}export{et as a,Ft as b,Lt as c,zt as d,Xt as e,Jt as f,Qt as g,te as h,ie as i,ae as j,ce as k,se as l,pe as m,ge as n,be as o,le as p,ve as q,Ie as r,Me as s,Se as t,ze as u,Ue as v,Be as w,Pe as x,Ce as y,qe as z,Ne as A,Ge as B,Ke as C,Xe as D,Ye as E,Je as F,Qe as G,Ze as H,tn as I,nn as J,on as K,dn as L,cn as M,sn as N,pn as O,un as P,wn as Q,bn as R,ln as S,fn as T,En as U,Sn as V,zn as W,Cn as X,qn as Y,Nn as Z,Hn as _,Gn as $,Vn as aa,Kn as ba,Xn as ca,Yn as da,Jn as ea,Qn as fa,tr as ga,er as ha,nr as ia,rr as ja,_r as ka,or as la,dr as ma,cr as na,sr as oa,pr as pa,wr as qa,lr as ra,xr as sa,Ir as ta,yr as ua,hr as va,Ar as wa,Mr as xa,Fr as ya,Wr as za,Sr as Aa,Hr as Ba,Vr as Ca,Xr as Da,Zr as Ea,t_ as Fa,At as Ga,I_ as Ha};
|
|
3
|
+
import{d as Tt}from"./chunk-PSANHDZM.js";var At={};Tt(At,{ExrBench:()=>J,ExrStreamEncoder:()=>Q,ProResBench:()=>Z,ProResMovEncoder:()=>tt,ProResMovWriter:()=>et,arriraw12_clip_info:()=>Ot,arriraw_mxf_gpu_frame:()=>Ft,audio_aac_au:()=>Wt,audio_aac_config:()=>St,audio_info:()=>Lt,bench_f32_boundary:()=>Rt,bench_piz_no_huffman:()=>jt,color_cst:()=>zt,dci_code_full_depth:()=>Dt,dci_frame_cap:()=>Ut,dci_gpu_colour_patch:()=>Bt,dci_gpu_colour_tables:()=>Pt,dci_last_pass_caps:()=>Ct,dci_legal_rates:()=>qt,dci_mq_bench:()=>Nt,dci_pack_tier1:()=>Ht,dci_stage_rgba8:()=>Gt,dci_transform_only:()=>Vt,decode_arriraw12_luma:()=>Kt,decode_arriraw12_mxf:()=>Xt,decode_arriraw12_preview:()=>Yt,decode_arriraw12_rgba:()=>$t,decode_arriraw_luma:()=>Jt,decode_arriraw_mxf:()=>Qt,decode_arriraw_preview:()=>Zt,decode_arriraw_preview_gray:()=>te,decode_arriraw_preview_meta:()=>ee,decode_arriraw_rgba:()=>ne,decode_arriraw_rgba_meta:()=>re,decode_arw_preview:()=>_e,decode_arw_rgba:()=>oe,decode_audio_pcm:()=>ie,decode_audio_track_pcm:()=>ae,decode_bmp_rgba:()=>de,decode_braw_gen5log:()=>ce,decode_braw_luma:()=>se,decode_braw_preview:()=>pe,decode_braw_rgba:()=>ge,decode_cr2_preview:()=>ue,decode_cr2_rgba:()=>we,decode_cr3_rgba:()=>be,decode_crm:()=>le,decode_dng_preview:()=>fe,decode_dng_rgba:()=>ve,decode_dpx_preview:()=>xe,decode_dpx_rgba:()=>Ie,decode_dv_luma:()=>ye,decode_dv_preview:()=>me,decode_dv_rgba:()=>he,decode_exr_linear:()=>ke,decode_exr_preview:()=>Ae,decode_exr_rgba:()=>Me,decode_gif_rgba:()=>Ee,decode_heic_rgba:()=>Te,decode_j2k_luma:()=>Oe,decode_j2k_preview:()=>Fe,decode_j2k_rgba:()=>We,decode_jpeg_rgba:()=>Se,decode_mpeg2_luma:()=>Le,decode_mpeg2_preview:()=>Re,decode_mpeg2_rgba:()=>je,decode_png_rgba:()=>ze,decode_prores_band_rgba:()=>De,decode_prores_luma:()=>Ue,decode_prores_mxf:()=>Be,decode_prores_preview:()=>Pe,decode_prores_raw_acescct:()=>Ce,decode_prores_raw_luma:()=>qe,decode_prores_raw_preview:()=>Ne,decode_prores_raw_rec2020:()=>He,decode_prores_raw_rgba:()=>Ge,decode_prores_raw_tier:()=>Ve,decode_prores_rgb16:()=>Ke,decode_prores_rgba:()=>Xe,decode_prores_thumb_dc32:()=>Ye,decode_psd_rgba:()=>$e,decode_r3d_luma:()=>Je,decode_r3d_preview:()=>Qe,decode_r3d_preview_clip:()=>Ze,decode_r3d_rgb16:()=>tn,decode_r3d_rgba:()=>en,decode_r3d_rgba_clip:()=>nn,decode_tga_rgba:()=>rn,decode_tiff_preview:()=>_n,decode_tiff_rgba:()=>on,decode_vc3_band_rgba:()=>an,decode_vc3_luma:()=>dn,decode_vc3_mxf:()=>cn,decode_vc3_preview:()=>sn,decode_vc3_rgba:()=>pn,decode_webp_rgba:()=>gn,decode_xocn_index_luma:()=>un,decode_xocn_luma:()=>wn,decode_xocn_mxf:()=>bn,decode_xocn_preview:()=>ln,decode_xocn_preview_rec709:()=>fn,decode_xocn_rgb16:()=>vn,decode_xocn_rgba:()=>xn,default:()=>rt,encode_dci_j2c:()=>In,encode_dci_j2c_rgb:()=>yn,encode_dci_j2c_rgba8:()=>mn,encode_dci_j2c_staged:()=>hn,encode_dci_j2c_staged_modelled:()=>kn,encode_exr:()=>An,encode_prores_4444_alpha_mov_rgba:()=>Mn,encode_prores_4444_alpha_sample_q:()=>En,encode_prores_444_sample_cbr:()=>Tn,encode_prores_444_sample_cbr_rgb16:()=>On,encode_prores_444_sample_cbr_rgb16_lut:()=>Fn,encode_prores_mov_rgba:()=>Wn,encode_prores_rgba:()=>Sn,encode_prores_sample_cbr:()=>Ln,encode_prores_sample_cbr_rgb16:()=>Rn,encode_prores_sample_cbr_rgb16_lut:()=>jn,encode_prores_sample_q:()=>zn,exr_sequence_filename:()=>Dn,fit_sizing:()=>Un,initSync:()=>g_,inspect_arw:()=>Bn,inspect_cr2:()=>Pn,inspect_cr3:()=>Cn,inspect_dng:()=>qn,inspect_dpx:()=>Nn,inspect_exr:()=>Hn,inspect_isobmff:()=>Gn,inspect_tiff:()=>Vn,inspect_wav:()=>Kn,is_arriraw12_mxf:()=>Xn,is_arriraw_mxf:()=>Yn,is_crm:()=>$n,is_prores_mxf:()=>Jn,is_vc3_mxf:()=>Qn,is_xavc_mxf:()=>Zn,is_xocn_mxf:()=>tr,list_isobmff_segments:()=>er,list_mxf_segments:()=>nr,list_r3d_frames:()=>rr,list_r3d_segments:()=>_r,list_wav_segments:()=>or,mux_prores_4444_alpha_samples:()=>ir,mux_prores_samples:()=>ar,mux_prores_samples_full:()=>dr,mxf_au_run:()=>cr,mxf_frame_index:()=>sr,mxf_gop_map:()=>pr,mxf_h264_kind:()=>gr,plan_isobmff_trim:()=>ur,plan_isobmff_trim_reader:()=>wr,plan_mxf_compact_trim:()=>br,plan_mxf_trim:()=>lr,plan_r3d_compact:()=>fr,plan_wav_trim:()=>vr,plan_wav_trim_reader:()=>xr,prepare_isobmff:()=>Ir,prepare_mxf:()=>yr,prepare_r3d:()=>mr,prepare_wav:()=>hr,probe_mov:()=>kr,probe_mxf:()=>Ar,probe_r3d:()=>Mr,prores_band_info:()=>Er,prores_raw_container_color:()=>Tr,prores_reset_rate_control:()=>Or,r3d_gpu_develop_params:()=>Fr,r3d_index_ranges:()=>Wr,r3d_is_helium:()=>Sr,read_arriraw_fcs:()=>Lr,read_arriraw_unit_correction:()=>Rr,recover_reframe:()=>jr,resample_rgba16:()=>zr,resample_rgba8:()=>Dr,reset_dci_rate_state:()=>Ur,resize_luma_area:()=>Br,rgba8_to_xyz12:()=>Pr,shot_crop:()=>Cr,shot_ramp:()=>qr,shot_scan:()=>Nr,trim_r3d:()=>Hr,vc3_band_info:()=>Gr,video_close:()=>Vr,video_decode:()=>Kr,video_frame_index_isobmff_reader:()=>Xr,video_open:()=>Yr,xavc_au:()=>$r,xavc_frame_count:()=>Jr,xocn_frame_count:()=>Qr,xocn_index_prefix_len:()=>Zr,xocn_preview_prefix_len:()=>t_});var J=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,wt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_exrbench_free(e,0)}block_rows(){return t.exrbench_block_rows(this.__wbg_ptr)>>>0}f32_to_half_block(){return t.exrbench_f32_to_half_block(this.__wbg_ptr)}n_blocks(){return t.exrbench_n_blocks(this.__wbg_ptr)>>>0}constructor(e,n,i,a){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=y(a,t.__wbindgen_export4,t.__wbindgen_export5),w=p;t.exrbench_new(s,e,n,i,g,w);var d=r().getInt32(s+0,!0),_=r().getInt32(s+4,!0),c=r().getInt32(s+8,!0);if(c)throw u(_);return this.__wbg_ptr=d,wt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}piz_stage_block(e){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.exrbench_piz_stage_block(d,this.__wbg_ptr,e);var n=r().getFloat64(d+0,!0),i=r().getInt32(d+8,!0),a=r().getInt32(d+12,!0);if(a)throw u(i);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}staging_f32_ptr(){return t.exrbench_staging_f32_ptr(this.__wbg_ptr)>>>0}staging_f32_samples(){return t.exrbench_staging_f32_samples(this.__wbg_ptr)>>>0}staging_half_len(){return t.exrbench_staging_half_len(this.__wbg_ptr)>>>0}staging_half_ptr(){return t.exrbench_staging_half_ptr(this.__wbg_ptr)>>>0}zip_stage_block(e){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.exrbench_zip_stage_block(d,this.__wbg_ptr,e);var n=r().getFloat64(d+0,!0),i=r().getInt32(d+8,!0),a=r().getInt32(d+12,!0);if(a)throw u(i);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);var Q=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,bt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_exrstreamencoder_free(e,0)}block_rows(){return t.exrstreamencoder_block_rows(this.__wbg_ptr)>>>0}finish(){try{let _=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_finish(_,this.__wbg_ptr);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_header(a,this.__wbg_ptr);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}n_blocks(){return t.exrstreamencoder_n_blocks(this.__wbg_ptr)>>>0}constructor(e,n,i,a,d,_,c,s,g,w){try{let I=t.__wbindgen_add_to_stack_pointer(-16),h=y(i,t.__wbindgen_export4,t.__wbindgen_export5),k=p,M=y(a,t.__wbindgen_export4,t.__wbindgen_export5),O=p,F=y(d,t.__wbindgen_export4,t.__wbindgen_export5),T=p,S=y(_,t.__wbindgen_export4,t.__wbindgen_export5),R=p,j=y(s,t.__wbindgen_export4,t.__wbindgen_export5),D=p;t.exrstreamencoder_new(I,e,n,h,k,M,O,F,T,S,R,c,j,D,g,w);var b=r().getInt32(I+0,!0),v=r().getInt32(I+4,!0),m=r().getInt32(I+8,!0);if(m)throw u(v);return this.__wbg_ptr=b,bt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_block(e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_push_block(c,this.__wbg_ptr,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}rows_remaining(){return t.exrstreamencoder_rows_remaining(this.__wbg_ptr)>>>0}staging_ptr(){return t.exrstreamencoder_staging_ptr(this.__wbg_ptr)>>>0}staging_samples(){return t.exrstreamencoder_staging_samples(this.__wbg_ptr)>>>0}};Symbol.dispose&&(Q.prototype[Symbol.dispose]=Q.prototype.free);var Z=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,lt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresbench_free(e,0)}constructor(e,n,i,a){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=y(i,t.__wbindgen_export4,t.__wbindgen_export5),w=p;t.proresbench_new(s,e,n,g,w,a);var d=r().getInt32(s+0,!0),_=r().getInt32(s+4,!0),c=r().getInt32(s+8,!0);if(c)throw u(_);return this.__wbg_ptr=d,lt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}stage(e){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.proresbench_stage(d,this.__wbg_ptr,e);var n=r().getFloat64(d+0,!0),i=r().getInt32(d+8,!0),a=r().getInt32(d+12,!0);if(a)throw u(i);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}staging_len(){return t.proresbench_staging_len(this.__wbg_ptr)>>>0}staging_ptr(){return t.proresbench_staging_ptr(this.__wbg_ptr)>>>0}};Symbol.dispose&&(Z.prototype[Symbol.dispose]=Z.prototype.free);var tt=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ft.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresmovencoder_free(e,0)}add_frame_rgba(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(e,t.__wbindgen_export4),_=p;t.proresmovencoder_add_frame_rgba(a,this.__wbg_ptr,d,_);var n=r().getInt32(a+0,!0),i=r().getInt32(a+4,!0);if(i)throw u(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}finish(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovencoder_finish(a,this.__wbg_ptr);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}frame_count(){return t.proresmovencoder_frame_count(this.__wbg_ptr)>>>0}constructor(e,n,i,a){let d=t.proresmovencoder_new(e,n,i,a);return this.__wbg_ptr=d,ft.register(this,this.__wbg_ptr,this),this}set_alpha(e){t.proresmovencoder_set_alpha(this.__wbg_ptr,e)}set_bitrate_mbps(e){t.proresmovencoder_set_bitrate_mbps(this.__wbg_ptr,e)}set_qscale(e){t.proresmovencoder_set_qscale(this.__wbg_ptr,e)}};Symbol.dispose&&(tt.prototype[Symbol.dispose]=tt.prototype.free);var et=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,vt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresmovwriter_free(e,0)}finish(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_finish(a,this.__wbg_ptr);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}frame_count(){return t.proresmovwriter_frame_count(this.__wbg_ptr)>>>0}header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_header(a,this.__wbg_ptr);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}mdat_box_header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_mdat_box_header(a,this.__wbg_ptr);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}mdat_box_offset(){return t.proresmovwriter_mdat_box_offset(this.__wbg_ptr)}constructor(e,n,i,a){let d=t.proresmovwriter_new(e,n,i,a);return this.__wbg_ptr=d,vt.register(this,this.__wbg_ptr,this),this}push_frame(){try{let _=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_push_frame(_,this.__wbg_ptr);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_sample(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(e,t.__wbindgen_export4),_=p;t.proresmovwriter_push_sample(a,this.__wbg_ptr,d,_);var n=r().getInt32(a+0,!0),i=r().getInt32(a+4,!0);if(i)throw u(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_sample_len(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_push_sample_len(a,this.__wbg_ptr,e);var n=r().getInt32(a+0,!0),i=r().getInt32(a+4,!0);if(i)throw u(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}reserve_large_mdat(e){t.proresmovwriter_reserve_large_mdat(this.__wbg_ptr,e)}set_alpha(e){t.proresmovwriter_set_alpha(this.__wbg_ptr,e)}set_bitrate_mbps(e){t.proresmovwriter_set_bitrate_mbps(this.__wbg_ptr,e)}set_par(e,n){t.proresmovwriter_set_par(this.__wbg_ptr,e,n)}set_profile(e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p;t.proresmovwriter_set_profile(this.__wbg_ptr,n,i)}set_qscale(e){t.proresmovwriter_set_qscale(this.__wbg_ptr,e)}set_start_timecode(e,n){t.proresmovwriter_set_start_timecode(this.__wbg_ptr,e,n)}staging_len(){return t.proresmovwriter_staging_len(this.__wbg_ptr)>>>0}staging_ptr(){return t.proresmovwriter_staging_ptr(this.__wbg_ptr)>>>0}total_len(){return t.proresmovwriter_total_len(this.__wbg_ptr)}};Symbol.dispose&&(et.prototype[Symbol.dispose]=et.prototype.free);function Ot(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.arriraw12_clip_info(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Ft(o,e,n,i){var a=B(i)?0:y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p;let _=t.arriraw_mxf_gpu_frame(x(o),e,n,a,d);return u(_)}function Wt(o,e,n){let i=t.audio_aac_au(x(o),e,n);return u(i)}function St(o,e){let n=t.audio_aac_config(x(o),e);return u(n)}function Lt(o,e){let n=t.audio_info(x(o),e);return u(n)}function Rt(o){let e=ot(o,t.__wbindgen_export4),n=p;return t.bench_f32_boundary(e,n)}function jt(o,e,n,i){let a=ot(o,t.__wbindgen_export4),d=p;return t.bench_piz_no_huffman(a,d,e,n,i)}function zt(o,e){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=y(o,t.__wbindgen_export4,t.__wbindgen_export5),s=p;var n=ot(e,t.__wbindgen_export4),i=p;t.color_cst(_,c,s,n,i,x(e));var a=r().getInt32(_+0,!0),d=r().getInt32(_+4,!0);if(d)throw u(a)}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Dt(o,e,n){let i=W(o,t.__wbindgen_export4),a=p;return t.dci_code_full_depth(i,a,e,n)}function Ut(o,e,n){return t.dci_frame_cap(o,e,n)>>>0}function Bt(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p,w=y(e,t.__wbindgen_export4,t.__wbindgen_export5),b=p;t.dci_gpu_colour_patch(c,s,g,w,b);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=gt(n,i).slice();return t.__wbindgen_export3(n,i*2,2),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Pt(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=y(o,t.__wbindgen_export4,t.__wbindgen_export5),s=p;t.dci_gpu_colour_tables(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ct(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.dci_last_pass_caps(i);var o=r().getInt32(i+0,!0),e=r().getInt32(i+4,!0),n=nt(o,e).slice();return t.__wbindgen_export3(o,e*4,4),n}finally{t.__wbindgen_add_to_stack_pointer(16)}}function qt(o,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.dci_legal_rates(d,o,e);var n=r().getInt32(d+0,!0),i=r().getInt32(d+4,!0),a=nt(n,i).slice();return t.__wbindgen_export3(n,i*4,4),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Nt(o){return t.dci_mq_bench(o)>>>0}function Ht(o,e,n,i,a,d,_,c,s,g,w){try{let k=t.__wbindgen_add_to_stack_pointer(-16),M=L(o,t.__wbindgen_export4),O=p,F=l(e,t.__wbindgen_export4),T=p,S=L(n,t.__wbindgen_export4),R=p,j=L(i,t.__wbindgen_export4),D=p,C=L(a,t.__wbindgen_export4),q=p,it=L(d,t.__wbindgen_export4),at=p,dt=L(_,t.__wbindgen_export4),ct=p,Mt=L(c,t.__wbindgen_export4),Et=p;t.dci_pack_tier1(k,M,O,F,T,S,R,j,D,C,q,it,at,dt,ct,Mt,Et,s,g,w);var b=r().getInt32(k+0,!0),v=r().getInt32(k+4,!0),m=r().getInt32(k+8,!0),I=r().getInt32(k+12,!0);if(I)throw u(m);var h=f(b,v).slice();return t.__wbindgen_export3(b,v*1,1),h}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Gt(o,e){let n=t.dci_stage_rgba8(o,e);return u(n)}function Vt(o,e,n){let i=W(o,t.__wbindgen_export4),a=p;return t.dci_transform_only(i,a,e,n)}function Kt(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p,w=l(e,t.__wbindgen_export4),b=p;t.decode_arriraw12_luma(c,s,g,w,b);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Xt(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_arriraw12_mxf(x(o),e,n,a,d);return u(_)}function Yt(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p,b=l(e,t.__wbindgen_export4),v=p;t.decode_arriraw12_preview(s,g,w,b,v,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function $t(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p,w=l(e,t.__wbindgen_export4),b=p;t.decode_arriraw12_rgba(c,s,g,w,b);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Jt(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p;t.decode_arriraw_luma(s,g,w,e,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Qt(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_arriraw_mxf(x(o),e,n,a,d);return u(_)}function Zt(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.decode_arriraw_preview(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function te(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.decode_arriraw_preview_gray(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ee(o,e,n,i,a,d,_,c,s){try{let k=t.__wbindgen_add_to_stack_pointer(-16),M=l(o,t.__wbindgen_export4),O=p;var g=B(s)?0:Y(s,t.__wbindgen_export4),w=p;t.decode_arriraw_preview_meta(k,M,O,e,n,i,a,d,_,c,g,w);var b=r().getInt32(k+0,!0),v=r().getInt32(k+4,!0),m=r().getInt32(k+8,!0),I=r().getInt32(k+12,!0);if(I)throw u(m);var h=f(b,v).slice();return t.__wbindgen_export3(b,v*1,1),h}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ne(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p;t.decode_arriraw_rgba(s,g,w,e,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function re(o,e,n,i,a,d,_,c){try{let h=t.__wbindgen_add_to_stack_pointer(-16),k=l(o,t.__wbindgen_export4),M=p;var s=B(c)?0:Y(c,t.__wbindgen_export4),g=p;t.decode_arriraw_rgba_meta(h,k,M,e,n,i,a,d,_,s,g);var w=r().getInt32(h+0,!0),b=r().getInt32(h+4,!0),v=r().getInt32(h+8,!0),m=r().getInt32(h+12,!0);if(m)throw u(v);var I=f(w,b).slice();return t.__wbindgen_export3(w,b*1,1),I}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _e(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_arw_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function oe(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_arw_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ie(o,e,n,i){let a=t.decode_audio_pcm(x(o),e,n,i);return u(a)}function ae(o,e,n,i,a){let d=t.decode_audio_track_pcm(x(o),e,n,i,a);return u(d)}function de(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_bmp_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ce(o){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(o,t.__wbindgen_export4),_=p;t.decode_braw_gen5log(a,d,_);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function se(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_braw_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function pe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_braw_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ge(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_braw_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ue(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_cr2_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function we(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_cr2_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function be(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_cr3_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function le(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_crm(x(o),e,n,a,d);return u(_)}function fe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_dng_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ve(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_dng_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function xe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_dpx_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ie(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_dpx_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ye(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_dv_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function me(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_dv_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function he(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_dv_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ke(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_exr_linear(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ae(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_exr_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Me(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_exr_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ee(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_gif_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Te(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_heic_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Oe(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_j2k_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Fe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_j2k_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function We(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_j2k_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Se(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_jpeg_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Le(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_mpeg2_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Re(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_mpeg2_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function je(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_mpeg2_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ze(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_png_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function De(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p;t.decode_prores_band_rgba(s,g,w,e,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ue(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Be(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_prores_mxf(x(o),e,n,a,d);return u(_)}function Pe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_prores_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ce(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_raw_acescct(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function qe(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_raw_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ne(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_prores_raw_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function He(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_raw_rec2020(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ge(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_raw_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ve(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p,b=y(e,t.__wbindgen_export4,t.__wbindgen_export5),v=p,m=l(n,t.__wbindgen_export4),I=p;t.decode_prores_raw_tier(s,g,w,b,v,m,I);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ke(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_rgb16(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Xe(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ye(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_prores_thumb_dc32(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function $e(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_psd_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Je(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_r3d_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Qe(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_r3d_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ze(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p,b=l(e,t.__wbindgen_export4),v=p;t.decode_r3d_preview_clip(s,g,w,b,v,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function tn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_r3d_rgb16(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function en(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_r3d_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function nn(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p,w=l(e,t.__wbindgen_export4),b=p;t.decode_r3d_rgba_clip(c,s,g,w,b);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function rn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_tga_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _n(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_tiff_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function on(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_tiff_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function an(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p;t.decode_vc3_band_rgba(s,g,w,e,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function dn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_vc3_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function cn(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_vc3_mxf(x(o),e,n,a,d);return u(_)}function sn(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_vc3_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function pn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_vc3_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function gn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_webp_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function un(o){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(o,t.__wbindgen_export4),_=p;t.decode_xocn_index_luma(a,d,_);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function wn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_xocn_luma(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function bn(o,e,n,i){let a=y(i,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.decode_xocn_mxf(x(o),e,n,a,d);return u(_)}function ln(o,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),s=l(o,t.__wbindgen_export4),g=p;t.decode_xocn_preview(c,s,g,e);var n=r().getInt32(c+0,!0),i=r().getInt32(c+4,!0),a=r().getInt32(c+8,!0),d=r().getInt32(c+12,!0);if(d)throw u(a);var _=f(n,i).slice();return t.__wbindgen_export3(n,i*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function fn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_xocn_preview_rec709(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function vn(o){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(o,t.__wbindgen_export4),_=p;t.decode_xocn_rgb16(a,d,_);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function xn(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.decode_xocn_rgba(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function In(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=W(o,t.__wbindgen_export4),b=p;t.encode_dci_j2c(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function yn(o,e,n,i,a,d){try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=W(o,t.__wbindgen_export4),m=p,I=y(n,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.encode_dci_j2c_rgb(b,v,m,e,I,h,i,a,d);var _=r().getInt32(b+0,!0),c=r().getInt32(b+4,!0),s=r().getInt32(b+8,!0),g=r().getInt32(b+12,!0);if(g)throw u(s);var w=f(_,c).slice();return t.__wbindgen_export3(_,c*1,1),w}finally{t.__wbindgen_add_to_stack_pointer(16)}}function mn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=l(o,t.__wbindgen_export4),v=p,m=y(e,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.encode_dci_j2c_rgba8(w,b,v,m,I,n,i,a);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function hn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=y(i,t.__wbindgen_export4,t.__wbindgen_export5),v=p;t.encode_dci_j2c_staged(w,o,e,n,b,v,a);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function kn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=y(i,t.__wbindgen_export4,t.__wbindgen_export5),v=p;t.encode_dci_j2c_staged_modelled(w,o,e,n,b,v,a);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function An(o,e,n,i,a,d,_,c,s,g,w,b,v,m,I){try{let T=t.__wbindgen_add_to_stack_pointer(-16),S=ot(o,t.__wbindgen_export4),R=p,j=y(a,t.__wbindgen_export4,t.__wbindgen_export5),D=p,C=y(d,t.__wbindgen_export4,t.__wbindgen_export5),q=p,it=y(_,t.__wbindgen_export4,t.__wbindgen_export5),at=p,dt=y(v,t.__wbindgen_export4,t.__wbindgen_export5),ct=p;t.encode_exr(T,S,R,e,n,i,j,D,C,q,it,at,c,s,g,w,b,dt,ct,m,I);var h=r().getInt32(T+0,!0),k=r().getInt32(T+4,!0),M=r().getInt32(T+8,!0),O=r().getInt32(T+12,!0);if(O)throw u(M);var F=f(h,k).slice();return t.__wbindgen_export3(h,k*1,1),F}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Mn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=l(o,t.__wbindgen_export4),v=p;t.encode_prores_4444_alpha_mov_rgba(w,b,v,e,n,i,a);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function En(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.encode_prores_4444_alpha_sample_q(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Tn(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.encode_prores_444_sample_cbr(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function On(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=W(o,t.__wbindgen_export4),b=p;t.encode_prores_444_sample_cbr_rgb16(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Fn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=W(o,t.__wbindgen_export4),v=p,m=W(a,t.__wbindgen_export4),I=p;t.encode_prores_444_sample_cbr_rgb16_lut(w,b,v,e,n,i,m,I);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Wn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=l(o,t.__wbindgen_export4),v=p;t.encode_prores_mov_rgba(w,b,v,e,n,i,a);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Sn(o,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(o,t.__wbindgen_export4),w=p;t.encode_prores_rgba(s,g,w,e,n);var i=r().getInt32(s+0,!0),a=r().getInt32(s+4,!0),d=r().getInt32(s+8,!0),_=r().getInt32(s+12,!0);if(_)throw u(d);var c=f(i,a).slice();return t.__wbindgen_export3(i,a*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ln(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.encode_prores_sample_cbr(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Rn(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=W(o,t.__wbindgen_export4),b=p;t.encode_prores_sample_cbr_rgb16(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function jn(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=W(o,t.__wbindgen_export4),v=p,m=W(a,t.__wbindgen_export4),I=p;t.encode_prores_sample_cbr_rgb16_lut(w,b,v,e,n,i,m,I);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=f(d,_).slice();return t.__wbindgen_export3(d,_*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function zn(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.encode_prores_sample_q(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Dn(o,e,n,i){let a,d;try{let v=t.__wbindgen_add_to_stack_pointer(-16),m=y(o,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.exr_sequence_filename(v,m,I,e,n,i);var _=r().getInt32(v+0,!0),c=r().getInt32(v+4,!0),s=r().getInt32(v+8,!0),g=r().getInt32(v+12,!0),w=_,b=c;if(g)throw w=0,b=0,u(s);return a=w,d=b,E(w,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,d,1)}}function Un(o,e,n,i,a,d,_,c){let s,g;try{let k=t.__wbindgen_add_to_stack_pointer(-16),M=l(o,t.__wbindgen_export4),O=p,F=l(i,t.__wbindgen_export4),T=p,S=y(c,t.__wbindgen_export4,t.__wbindgen_export5),R=p;t.fit_sizing(k,M,O,e,n,F,T,a,d,_,S,R);var w=r().getInt32(k+0,!0),b=r().getInt32(k+4,!0),v=r().getInt32(k+8,!0),m=r().getInt32(k+12,!0),I=w,h=b;if(m)throw I=0,h=0,u(v);return s=I,g=h,E(I,h)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(s,g,1)}}function Bn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_arw(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Pn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_cr2(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Cn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_cr3(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function qn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_dng(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Nn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_dpx(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Hn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_exr(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Gn(o,e,n){let i=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=t.inspect_isobmff(x(o),e,i,a);return u(d)}function Vn(o){let e,n;try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.inspect_tiff(d,_,c);var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);return e=i,n=a,E(i,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Kn(o,e){let n=t.inspect_wav(x(o),e);return u(n)}function Xn(o,e){let n=t.is_arriraw12_mxf(x(o),e);return u(n)}function Yn(o,e){let n=t.is_arriraw_mxf(x(o),e);return u(n)}function $n(o,e){let n=t.is_crm(x(o),e);return u(n)}function Jn(o,e){let n=t.is_prores_mxf(x(o),e);return u(n)}function Qn(o,e){let n=t.is_vc3_mxf(x(o),e);return u(n)}function Zn(o,e){let n=t.is_xavc_mxf(x(o),e);return u(n)}function tr(o,e){let n=t.is_xocn_mxf(x(o),e);return u(n)}function er(o,e,n){let i=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=t.list_isobmff_segments(x(o),e,i,a);return u(d)}function nr(o,e){let n=t.list_mxf_segments(x(o),e);return u(n)}function rr(o,e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p,a=t.list_r3d_frames(x(o),n,i);return u(a)}function _r(o,e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p,a=t.list_r3d_segments(x(o),n,i);return u(a)}function or(o,e){let n=t.list_wav_segments(x(o),e);return u(n)}function ir(o,e,n,i,a,d){try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=l(o,t.__wbindgen_export4),m=p,I=L(e,t.__wbindgen_export4),h=p;t.mux_prores_4444_alpha_samples(b,v,m,I,h,n,i,a,d);var _=r().getInt32(b+0,!0),c=r().getInt32(b+4,!0),s=r().getInt32(b+8,!0),g=r().getInt32(b+12,!0);if(g)throw u(s);var w=f(_,c).slice();return t.__wbindgen_export3(_,c*1,1),w}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ar(o,e,n,i,a,d){try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=l(o,t.__wbindgen_export4),m=p,I=L(e,t.__wbindgen_export4),h=p;t.mux_prores_samples(b,v,m,I,h,n,i,a,d);var _=r().getInt32(b+0,!0),c=r().getInt32(b+4,!0),s=r().getInt32(b+8,!0),g=r().getInt32(b+12,!0);if(g)throw u(s);var w=f(_,c).slice();return t.__wbindgen_export3(_,c*1,1),w}finally{t.__wbindgen_add_to_stack_pointer(16)}}function dr(o,e,n,i,a,d,_,c,s,g,w,b){try{let M=t.__wbindgen_add_to_stack_pointer(-16),O=l(o,t.__wbindgen_export4),F=p,T=L(e,t.__wbindgen_export4),S=p,R=y(_,t.__wbindgen_export4,t.__wbindgen_export5),j=p;t.mux_prores_samples_full(M,O,F,T,S,n,i,a,d,R,j,c,s,g,w,b);var v=r().getInt32(M+0,!0),m=r().getInt32(M+4,!0),I=r().getInt32(M+8,!0),h=r().getInt32(M+12,!0);if(h)throw u(I);var k=f(v,m).slice();return t.__wbindgen_export3(v,m*1,1),k}finally{t.__wbindgen_add_to_stack_pointer(16)}}function cr(o,e,n,i){let a=t.mxf_au_run(x(o),e,n,i);return u(a)}function sr(o,e){let n=t.mxf_frame_index(x(o),e);return u(n)}function pr(o,e){let n=t.mxf_gop_map(x(o),e);return u(n)}function gr(o,e){let n=t.mxf_h264_kind(x(o),e);return u(n)}function ur(o,e){let n,i;try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=l(o,t.__wbindgen_export4),v=p,m=y(e,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.plan_isobmff_trim(w,b,v,m,I);var a=r().getInt32(w+0,!0),d=r().getInt32(w+4,!0),_=r().getInt32(w+8,!0),c=r().getInt32(w+12,!0),s=a,g=d;if(c)throw s=0,g=0,u(_);return n=s,i=g,E(s,g)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,i,1)}}function wr(o,e,n,i,a){let d=y(a,t.__wbindgen_export4,t.__wbindgen_export5),_=p,c=t.plan_isobmff_trim_reader(x(o),e,n,i,d,_);return u(c)}function br(o){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=y(o,t.__wbindgen_export4,t.__wbindgen_export5),b=p;t.plan_mxf_compact_trim(g,w,b);var i=r().getInt32(g+0,!0),a=r().getInt32(g+4,!0),d=r().getInt32(g+8,!0),_=r().getInt32(g+12,!0),c=i,s=a;if(_)throw c=0,s=0,u(d);return e=c,n=s,E(c,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function lr(o,e,n,i){let a=t.plan_mxf_trim(x(o),e,n,i);return u(a)}function fr(o,e,n,i,a,d,_,c){let s,g;try{let v=t.__wbindgen_add_to_stack_pointer(-16),m=l(o,t.__wbindgen_export4),I=p,h=l(e,t.__wbindgen_export4),k=p,M=l(n,t.__wbindgen_export4),O=p,F=l(i,t.__wbindgen_export4),T=p,S=Y(a,t.__wbindgen_export4),R=p,j=Y(d,t.__wbindgen_export4),D=p,C=Y(_,t.__wbindgen_export4),q=p;t.plan_r3d_compact(v,m,I,h,k,M,O,F,T,S,R,j,D,C,q,c);var w=r().getInt32(v+0,!0),b=r().getInt32(v+4,!0);return s=w,g=b,E(w,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(s,g,1)}}function vr(o,e,n,i){let a,d;try{let v=t.__wbindgen_add_to_stack_pointer(-16),m=l(o,t.__wbindgen_export4),I=p;t.plan_wav_trim(v,m,I,e,n,i);var _=r().getInt32(v+0,!0),c=r().getInt32(v+4,!0),s=r().getInt32(v+8,!0),g=r().getInt32(v+12,!0),w=_,b=c;if(g)throw w=0,b=0,u(s);return a=w,d=b,E(w,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,d,1)}}function xr(o,e,n,i,a){let d=t.plan_wav_trim_reader(x(o),e,n,i,a);return u(d)}function Ir(o,e,n,i){let a=y(n,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=y(i,t.__wbindgen_export4,t.__wbindgen_export5),c=p,s=t.prepare_isobmff(x(o),e,a,d,_,c);return u(s)}function yr(o,e,n){let i=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=t.prepare_mxf(x(o),e,i,a);return u(d)}function mr(o,e,n){let i=y(e,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=y(n,t.__wbindgen_export4,t.__wbindgen_export5),_=p,c=t.prepare_r3d(x(o),i,a,d,_);return u(c)}function hr(o,e,n,i){let a=y(n,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=t.prepare_wav(x(o),e,a,d,i);return u(_)}function kr(o){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.probe_mov(g,w,b);var i=r().getInt32(g+0,!0),a=r().getInt32(g+4,!0),d=r().getInt32(g+8,!0),_=r().getInt32(g+12,!0),c=i,s=a;if(_)throw c=0,s=0,u(d);return e=c,n=s,E(c,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Ar(o,e){let n=t.probe_mxf(x(o),e);return u(n)}function Mr(o,e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p,a=t.probe_r3d(x(o),n,i);return u(a)}function Er(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.prores_band_info(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=nt(e,n).slice();return t.__wbindgen_export3(e,n*4,4),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Tr(o){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(o,t.__wbindgen_export4),_=p;t.prores_raw_container_color(a,d,_);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Or(){t.prores_reset_rate_control()}function Fr(o){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(o,t.__wbindgen_export4),_=p;t.r3d_gpu_develop_params(a,d,_);var e=r().getInt32(a+0,!0),n=r().getInt32(a+4,!0),i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Wr(o,e,n){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.r3d_index_ranges(_,c,s,e,n);var i=r().getInt32(_+0,!0),a=r().getInt32(_+4,!0),d=nt(i,a).slice();return t.__wbindgen_export3(i,a*4,4),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Sr(o){let e=l(o,t.__wbindgen_export4),n=p;return t.r3d_is_helium(e,n)!==0}function Lr(o){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.read_arriraw_fcs(g,w,b);var i=r().getInt32(g+0,!0),a=r().getInt32(g+4,!0),d=r().getInt32(g+8,!0),_=r().getInt32(g+12,!0),c=i,s=a;if(_)throw c=0,s=0,u(d);return e=c,n=s,E(c,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Rr(o,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),_=l(o,t.__wbindgen_export4),c=p;t.read_arriraw_unit_correction(d,_,c,e);var n=r().getInt32(d+0,!0),i=r().getInt32(d+4,!0),a=__(n,i).slice();return t.__wbindgen_export3(n,i*8,8),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function jr(o,e,n,i,a,d,_){let c,s;try{let h=t.__wbindgen_add_to_stack_pointer(-16),k=l(o,t.__wbindgen_export4),M=p,O=l(i,t.__wbindgen_export4),F=p,T=y(_,t.__wbindgen_export4,t.__wbindgen_export5),S=p;t.recover_reframe(h,k,M,e,n,O,F,a,d,T,S);var g=r().getInt32(h+0,!0),w=r().getInt32(h+4,!0),b=r().getInt32(h+8,!0),v=r().getInt32(h+12,!0),m=g,I=w;if(v)throw m=0,I=0,u(b);return c=m,s=I,E(m,I)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(c,s,1)}}function zr(o,e,n,i,a,d){try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=W(o,t.__wbindgen_export4),m=p,I=y(d,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.resample_rgba16(b,v,m,e,n,i,a,I,h);var _=r().getInt32(b+0,!0),c=r().getInt32(b+4,!0),s=r().getInt32(b+8,!0),g=r().getInt32(b+12,!0);if(g)throw u(s);var w=gt(_,c).slice();return t.__wbindgen_export3(_,c*2,2),w}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Dr(o,e,n,i,a,d){try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=l(o,t.__wbindgen_export4),m=p,I=y(d,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.resample_rgba8(b,v,m,e,n,i,a,I,h);var _=r().getInt32(b+0,!0),c=r().getInt32(b+4,!0),s=r().getInt32(b+8,!0),g=r().getInt32(b+12,!0);if(g)throw u(s);var w=f(_,c).slice();return t.__wbindgen_export3(_,c*1,1),w}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ur(){t.reset_dci_rate_state()}function Br(o,e,n,i){try{let g=t.__wbindgen_add_to_stack_pointer(-16),w=l(o,t.__wbindgen_export4),b=p;t.resize_luma_area(g,w,b,e,n,i);var a=r().getInt32(g+0,!0),d=r().getInt32(g+4,!0),_=r().getInt32(g+8,!0),c=r().getInt32(g+12,!0);if(c)throw u(_);var s=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Pr(o,e,n,i,a){try{let w=t.__wbindgen_add_to_stack_pointer(-16),b=l(o,t.__wbindgen_export4),v=p,m=y(a,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.rgba8_to_xyz12(w,b,v,e,n,i,m,I);var d=r().getInt32(w+0,!0),_=r().getInt32(w+4,!0),c=r().getInt32(w+8,!0),s=r().getInt32(w+12,!0);if(s)throw u(c);var g=gt(d,_).slice();return t.__wbindgen_export3(d,_*2,2),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Cr(o,e,n,i){let a,d;try{let v=t.__wbindgen_add_to_stack_pointer(-16),m=W(o,t.__wbindgen_export4),I=p,h=l(e,t.__wbindgen_export4),k=p,M=L(n,t.__wbindgen_export4),O=p,F=y(i,t.__wbindgen_export4,t.__wbindgen_export5),T=p;t.shot_crop(v,m,I,h,k,M,O,F,T);var _=r().getInt32(v+0,!0),c=r().getInt32(v+4,!0),s=r().getInt32(v+8,!0),g=r().getInt32(v+12,!0),w=_,b=c;if(g)throw w=0,b=0,u(s);return a=w,d=b,E(w,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,d,1)}}function qr(o,e,n){let i,a;try{let b=t.__wbindgen_add_to_stack_pointer(-16),v=W(o,t.__wbindgen_export4),m=p,I=l(e,t.__wbindgen_export4),h=p,k=y(n,t.__wbindgen_export4,t.__wbindgen_export5),M=p;t.shot_ramp(b,v,m,I,h,k,M);var d=r().getInt32(b+0,!0),_=r().getInt32(b+4,!0),c=r().getInt32(b+8,!0),s=r().getInt32(b+12,!0),g=d,w=_;if(s)throw g=0,w=0,u(c);return i=g,a=w,E(g,w)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(i,a,1)}}function Nr(o,e,n,i){let a,d;try{let v=t.__wbindgen_add_to_stack_pointer(-16),m=W(o,t.__wbindgen_export4),I=p,h=l(e,t.__wbindgen_export4),k=p,M=L(n,t.__wbindgen_export4),O=p,F=y(i,t.__wbindgen_export4,t.__wbindgen_export5),T=p;t.shot_scan(v,m,I,h,k,M,O,F,T);var _=r().getInt32(v+0,!0),c=r().getInt32(v+4,!0),s=r().getInt32(v+8,!0),g=r().getInt32(v+12,!0),w=_,b=c;if(g)throw w=0,b=0,u(s);return a=w,d=b,E(w,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,d,1)}}function Hr(o,e,n,i){let a=y(e,t.__wbindgen_export4,t.__wbindgen_export5),d=p,_=y(n,t.__wbindgen_export4,t.__wbindgen_export5),c=p,s=y(i,t.__wbindgen_export4,t.__wbindgen_export5),g=p,w=t.trim_r3d(x(o),a,d,_,c,s,g);return u(w)}function Gr(o){try{let _=t.__wbindgen_add_to_stack_pointer(-16),c=l(o,t.__wbindgen_export4),s=p;t.vc3_band_info(_,c,s);var e=r().getInt32(_+0,!0),n=r().getInt32(_+4,!0),i=r().getInt32(_+8,!0),a=r().getInt32(_+12,!0);if(a)throw u(i);var d=nt(e,n).slice();return t.__wbindgen_export3(e,n*4,4),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Vr(o){t.video_close(o)}function Kr(o,e,n,i){let a=t.video_decode(o,e,n,i);return u(a)}function Xr(o,e,n){let i=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=t.video_frame_index_isobmff_reader(x(o),e,i,a);return u(d)}function Yr(o,e){let n=t.video_open(x(o),e);return u(n)}function $r(o,e,n){let i=t.xavc_au(x(o),e,n);return u(i)}function Jr(o,e){let n=t.xavc_frame_count(x(o),e);return u(n)}function Qr(o,e){let n=t.xocn_frame_count(x(o),e);return u(n)}function Zr(o){let e=l(o,t.__wbindgen_export4),n=p;return t.xocn_index_prefix_len(e,n)>>>0}function t_(o){let e=l(o,t.__wbindgen_export4),n=p;return t.xocn_preview_prefix_len(e,n)>>>0}function It(){return{__proto__:null,"./media_core_bg.js":{__proto__:null,__wbg___wbindgen_copy_to_typed_array_c5728021fabd0236:function(e,n,i){new Uint8Array(A(i).buffer,A(i).byteOffset,A(i).byteLength).set(f(e,n))},__wbg___wbindgen_is_function_acc5528be2b923f2:function(e){return typeof A(e)=="function"},__wbg___wbindgen_is_undefined_721f8decd50c87a3:function(e){return A(e)===void 0},__wbg___wbindgen_throw_ea4887a5f8f9a9db:function(e,n){throw new Error(E(e,n))},__wbg__wbg_cb_unref_33c39e13d73b25f6:function(e){A(e)._wbg_cb_unref()},__wbg_call_0e855b388e315e17:function(){return st(function(e,n,i,a){let d=A(e).call(A(n),A(i),A(a));return x(d)},arguments)},__wbg_call_5575218572ead796:function(){return st(function(e,n,i){let a=A(e).call(A(n),A(i));return x(a)},arguments)},__wbg_call_dd0f909cbc9405d0:function(){return st(function(e,n,i,a,d){let _=A(e).call(A(n),A(i),A(a),A(d));return x(_)},arguments)},__wbg_length_589238bdcf171f0e:function(e){return A(e).length},__wbg_new_81880fb5002cb255:function(e){let n=new Uint8Array(A(e));return x(n)},__wbg_new_typed_00a409eb4ec4f2d9:function(e,n){try{var i={a:e,b:n},a=(_,c)=>{let s=i.a;i.a=0;try{return n_(s,i.b,_,c)}finally{i.a=s}};let d=new Promise(a);return x(d)}finally{i.a=0}},__wbg_prototypesetcall_d721637c7ca66eb8:function(e,n,i){Uint8Array.prototype.set.call(f(e,n),A(i))},__wbg_queueMicrotask_1c9b3800e321a967:function(e){let n=A(e).queueMicrotask;return x(n)},__wbg_queueMicrotask_311744e534a929a3:function(e){queueMicrotask(A(e))},__wbg_resolve_d82363d90af6928a:function(e){let n=Promise.resolve(A(e));return x(n)},__wbg_static_accessor_GLOBAL_THIS_2fee5048bcca5938:function(){let e=typeof globalThis>"u"?null:globalThis;return B(e)?0:x(e)},__wbg_static_accessor_GLOBAL_ce44e66a4935da8c:function(){let e=typeof global>"u"?null:global;return B(e)?0:x(e)},__wbg_static_accessor_SELF_44f6e0cb5e67cdad:function(){let e=typeof self>"u"?null:self;return B(e)?0:x(e)},__wbg_static_accessor_WINDOW_168f178805d978fe:function(){let e=typeof window>"u"?null:window;return B(e)?0:x(e)},__wbg_then_05edfc8a4fea5106:function(e,n,i){let a=A(e).then(A(n),A(i));return x(a)},__wbg_then_591b6b3a75ee817a:function(e,n){let i=A(e).then(A(n));return x(i)},__wbindgen_cast_0000000000000001:function(e,n){let i=i_(e,n,e_);return x(i)},__wbindgen_cast_0000000000000002:function(e){return x(e)},__wbindgen_cast_0000000000000003:function(e,n){let i=f(e,n);return x(i)},__wbindgen_cast_0000000000000004:function(e,n){let i=E(e,n);return x(i)},__wbindgen_cast_0000000000000005:function(e,n){var i=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),x(i)},__wbindgen_object_clone_ref:function(e){let n=A(e);return x(n)},__wbindgen_object_drop_ref:function(e){u(e)}}}}function e_(o,e,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.__wasm_bindgen_func_elem_3171(d,o,e,x(n));var i=r().getInt32(d+0,!0),a=r().getInt32(d+4,!0);if(a)throw u(i)}finally{t.__wbindgen_add_to_stack_pointer(16)}}function n_(o,e,n,i){t.__wasm_bindgen_func_elem_3186(o,e,x(n),x(i))}var wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbg_exrbench_free(o,1)),bt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbg_exrstreamencoder_free(o,1)),lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbg_proresbench_free(o,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbg_proresmovencoder_free(o,1)),vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbg_proresmovwriter_free(o,1));function x(o){X===z.length&&z.push(z.length+1);let e=X;return X=z[e],z[e]=o,e}var xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(o=>t.__wbindgen_export2(o.a,o.b));function r_(o){o<1028||(z[o]=X,X=o)}function __(o,e){return o=o>>>0,yt().subarray(o/8,o/8+e)}function gt(o,e){return o=o>>>0,mt().subarray(o/2,o/2+e)}function nt(o,e){return o=o>>>0,ht().subarray(o/4,o/4+e)}function f(o,e){return o=o>>>0,P().subarray(o/1,o/1+e)}var U=null;function r(){return(U===null||U.buffer.detached===!0||U.buffer.detached===void 0&&U.buffer!==t.memory.buffer)&&(U=new DataView(t.memory.buffer)),U}var N=null;function o_(){return(N===null||N.byteLength===0)&&(N=new Float32Array(t.memory.buffer)),N}var H=null;function yt(){return(H===null||H.byteLength===0)&&(H=new Float64Array(t.memory.buffer)),H}function E(o,e){return d_(o>>>0,e)}var G=null;function mt(){return(G===null||G.byteLength===0)&&(G=new Uint16Array(t.memory.buffer)),G}var V=null;function ht(){return(V===null||V.byteLength===0)&&(V=new Uint32Array(t.memory.buffer)),V}var K=null;function P(){return(K===null||K.byteLength===0)&&(K=new Uint8Array(t.memory.buffer)),K}function A(o){return z[o]}function st(o,e){try{return o.apply(this,e)}catch(n){t.__wbindgen_export(x(n))}}var z=new Array(1024).fill(void 0);z.push(void 0,null,!0,!1);var X=z.length;function B(o){return o==null}function i_(o,e,n){let i={a:o,b:e,cnt:1},a=(...d)=>{i.cnt++;let _=i.a;i.a=0;try{return n(_,i.b,...d)}finally{i.a=_,a._wbg_cb_unref()}};return a._wbg_cb_unref=()=>{--i.cnt===0&&(t.__wbindgen_export2(i.a,i.b),i.a=0,xt.unregister(i))},xt.register(a,i,i),a}function W(o,e){let n=e(o.length*2,2)>>>0;return mt().set(o,n/2),p=o.length,n}function L(o,e){let n=e(o.length*4,4)>>>0;return ht().set(o,n/4),p=o.length,n}function l(o,e){let n=e(o.length*1,1)>>>0;return P().set(o,n/1),p=o.length,n}function ot(o,e){let n=e(o.length*4,4)>>>0;return o_().set(o,n/4),p=o.length,n}function Y(o,e){let n=e(o.length*8,8)>>>0;return yt().set(o,n/8),p=o.length,n}function y(o,e,n){if(n===void 0){let c=$.encode(o),s=e(c.length,1)>>>0;return P().subarray(s,s+c.length).set(c),p=c.length,s}let i=o.length,a=e(i,1)>>>0,d=P(),_=0;for(;_<i;_++){let c=o.charCodeAt(_);if(c>127)break;d[a+_]=c}if(_!==i){_!==0&&(o=o.slice(_)),a=n(a,i,i=_+o.length*3,1)>>>0;let c=P().subarray(a+_,a+i),s=$.encodeInto(o,c);_+=s.written,a=n(a,i,_,1)>>>0}return p=_,a}function u(o){let e=A(o);return r_(o),e}var _t=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});_t.decode();var a_=2146435072,pt=0;function d_(o,e){return pt+=e,pt>=a_&&(_t=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),_t.decode(),pt=e),_t.decode(P().subarray(o,o+e))}var $=new TextEncoder;"encodeInto"in $||($.encodeInto=function(o,e){let n=$.encode(o);return e.set(n),{read:o.length,written:n.length}});var p=0,c_,s_,t;function kt(o,e){return s_=o,t=o.exports,c_=e,U=null,N=null,H=null,G=null,V=null,K=null,t}async function p_(o,e){if(typeof Response=="function"&&o instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(o,e)}catch(a){if(o.ok&&n(o.type)&&o.headers.get("Content-Type")!=="application/wasm")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",a);else throw a}let i=await o.arrayBuffer();return await WebAssembly.instantiate(i,e)}else{let i=await WebAssembly.instantiate(o,e);return i instanceof WebAssembly.Instance?{instance:i,module:o}:i}function n(i){switch(i){case"basic":case"cors":case"default":return!0}return!1}}function g_(o){if(t!==void 0)return t;o!==void 0&&(Object.getPrototypeOf(o)===Object.prototype?{module:o}=o:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let e=It();o instanceof WebAssembly.Module||(o=new WebAssembly.Module(o));let n=new WebAssembly.Instance(o,e);return kt(n,o)}async function rt(o){if(t!==void 0)return t;o!==void 0&&(Object.getPrototypeOf(o)===Object.prototype?{module_or_path:o}=o:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),o===void 0&&(o=new URL("media_core_bg.wasm",import.meta.url));let e=It();(typeof o=="string"||typeof Request=="function"&&o instanceof Request||typeof URL=="function"&&o instanceof URL)&&(o=fetch(o));let{instance:n,module:i}=await p_(await o,e);return kt(n,i)}var b_=import.meta.env?.MODE==="development"?["conform.tools","localhost"]:["conform.tools"];var ut=null,u_=!1;function w_(o){return ut||(ut=(async()=>{if(o!==void 0)return rt(o);if(typeof process<"u"&&process.versions?.node){let n="node:fs/promises",{readFile:i}=await import(n),a=await i(new URL("./wasm/media_core_bg.wasm",import.meta.url));return rt({module_or_path:a})}let{default:e}=await import("./media_core_bg-ZMRCKALR.js");return rt({module_or_path:e})})().then(e=>(u_=!0,e))),ut}function I_(){return w_()}export{et as a,Ft as b,Lt as c,zt as d,Xt as e,Jt as f,Qt as g,te as h,ie as i,ae as j,ce as k,se as l,pe as m,ge as n,be as o,le as p,ve as q,Ie as r,Me as s,Se as t,ze as u,Ue as v,Be as w,Pe as x,Ce as y,qe as z,Ne as A,Ge as B,Ke as C,Xe as D,Ye as E,Je as F,Qe as G,Ze as H,tn as I,nn as J,on as K,dn as L,cn as M,sn as N,pn as O,un as P,wn as Q,bn as R,ln as S,fn as T,En as U,Sn as V,zn as W,Cn as X,qn as Y,Nn as Z,Hn as _,Gn as $,Vn as aa,Kn as ba,Xn as ca,Yn as da,Jn as ea,Qn as fa,tr as ga,er as ha,nr as ia,rr as ja,_r as ka,or as la,dr as ma,cr as na,sr as oa,pr as pa,wr as qa,lr as ra,xr as sa,Ir as ta,yr as ua,hr as va,Ar as wa,Mr as xa,Fr as ya,Wr as za,Sr as Aa,Hr as Ba,Vr as Ca,Xr as Da,Zr as Ea,t_ as Fa,At as Ga,I_ as Ha};
|