conformtools 0.6.17 → 0.6.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/account-KSE6H6DJ.js +3 -0
- package/dist/{agent-hook-setup-HBT2LTVR.js → agent-hook-setup-SHZOVJYL.js} +1 -1
- package/dist/{analysis-engine-BZUEBW55.js → analysis-engine-KUGSWNQB.js} +1 -1
- package/dist/{bridge-DRC6BQFR.js → bridge-REYIYXUU.js} +1 -1
- package/dist/browser/timeline_core_bg.wasm +0 -0
- package/dist/{chunk-MTAXVOHK.js → chunk-2DEUYEQD.js} +1 -1
- package/dist/{chunk-STGGRRYM.js → chunk-2GRXBIJB.js} +1 -1
- package/dist/{chunk-GRJLKGBG.js → chunk-3DYCTUSQ.js} +1 -1
- package/dist/{chunk-M5CEBOLK.js → chunk-3J2FARFO.js} +1 -1
- package/dist/chunk-4KMSOMLG.js +524 -0
- package/dist/chunk-4PV2UTKG.js +10 -0
- package/dist/{chunk-RITYQNOO.js → chunk-567IWIX6.js} +1 -1
- package/dist/{chunk-73RFYAVG.js → chunk-ATEWMIY5.js} +1 -1
- package/dist/{chunk-TWHNQFKI.js → chunk-BD54PRSN.js} +1 -1
- package/dist/{chunk-NN444GPH.js → chunk-BZQAUU3D.js} +1 -1
- package/dist/chunk-COALWMI7.js +4 -0
- package/dist/{chunk-JT3HI632.js → chunk-CUZVK2JJ.js} +1 -1
- package/dist/{chunk-MVQ5RGZB.js → chunk-EWW5KWAO.js} +1 -1
- package/dist/{chunk-CRMGV32N.js → chunk-GTN62ZQV.js} +1 -1
- package/dist/{chunk-S5AOIOTT.js → chunk-HKHEL4MZ.js} +1 -1
- package/dist/chunk-HZG55H3B.js +3 -0
- package/dist/{chunk-QNF4NMIW.js → chunk-L2RTMZCN.js} +1 -1
- package/dist/{chunk-UBWUED67.js → chunk-LUKA7UUJ.js} +1 -1
- package/dist/chunk-MJKISVPS.js +7 -0
- package/dist/{chunk-IG2X534U.js → chunk-ND2YUUUH.js} +1 -1
- package/dist/{chunk-2VH2Z6RD.js → chunk-NHVH373D.js} +1 -1
- package/dist/chunk-NQD6H7SY.js +7 -0
- package/dist/chunk-PY6HS3EP.js +10 -0
- package/dist/{chunk-YGAAGTLE.js → chunk-TD3ZHREE.js} +1 -1
- package/dist/chunk-UWEM5YEM.js +161 -0
- package/dist/{chunk-R2WEXCVQ.js → chunk-WM7ESQLY.js} +1 -1
- package/dist/{chunk-2SDAOYP5.js → chunk-WNDA7QSY.js} +1 -1
- package/dist/{chunk-S2WAFMRV.js → chunk-XQON6ASI.js} +1 -1
- package/dist/chunk-Y7PFSVRX.js +3 -0
- package/dist/{claude-setup-W27DLJIO.js → claude-setup-ZOEQ5NXE.js} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{cr3-wasm-VUEEZYKQ.js → cr3-wasm-DIWL7CPH.js} +1 -1
- package/dist/demo-engine-ZX24TAXA.js +3 -0
- 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-K6QYU5KJ.js +5 -0
- package/dist/{exr-wasm-72YZFOME.js → exr-wasm-HAFH3YA5.js} +1 -1
- package/dist/framing-B6LP7MS2.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 +3 -2
- package/dist/host-relink-VYEOE3NE.js +10 -0
- package/dist/hosted-NLYSTYYN.js +3 -0
- package/dist/hosts-47EW33NY.js +3 -0
- package/dist/http.js +4 -3
- package/dist/{inspect-R4RWCK3X.js → inspect-QRHOFMC2.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 +8 -8
- package/dist/media-TPGEESEU.js +3 -0
- 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/{probe-YDOFGCGD.js → probe-CHT266NN.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/resolve-bridge.py +173 -27
- package/dist/{sequence-patch-2S7IPE52.js → sequence-patch-6FSMBG7O.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-CFQHKBGL.js} +1 -1
- package/dist/{tiff-wasm-6APT7FYP.js → tiff-wasm-O7XUGXIO.js} +1 -1
- package/dist/timeline-MZ6A3PQX.js +3 -0
- package/dist/timeline_core-6BRZG4LP.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-GTPTZRO6.js +0 -3
- package/dist/chunk-JTRM2JCE.js +0 -7
- package/dist/chunk-LVGGCRDW.js +0 -3
- package/dist/chunk-P4PCSGEH.js +0 -10
- package/dist/chunk-ROGMKTND.js +0 -4
- package/dist/chunk-T7S2UBNN.js +0 -7
- package/dist/chunk-VCBLWNQR.js +0 -160
- package/dist/chunk-WKNX742H.js +0 -10
- package/dist/demo-engine-5TCNOTTH.js +0 -3
- package/dist/engine-4X6TDWWA.js +0 -5
- package/dist/framing-HGW5RCUA.js +0 -3
- package/dist/host-relink-37DCSN47.js +0 -10
- package/dist/hosted-M2OZSONX.js +0 -3
- package/dist/hosts-IAJTORJD.js +0 -3
- package/dist/media-6MB7EKA7.js +0 -3
- package/dist/timeline-EZ6WUHCB.js +0 -3
- package/dist/timeline_core-ZKQQHUA2.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{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};
|
|
@@ -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 n,Z as s,r as o}from"./chunk-
|
|
3
|
+
import{Ha as n,Z as s,r as o}from"./chunk-L2RTMZCN.js";async function p(t){await n();let e=s(t);return e==="null"?null:JSON.parse(e)}async function d(t){await n();let e;try{e=o(t)}catch{return null}if(e.length<8)return null;let r=new DataView(e.buffer,e.byteOffset,e.byteLength),a=r.getUint32(0,!0),i=r.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{p as a,d as b};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
+
import{a as ee}from"./chunk-BZQAUU3D.js";import{a as d}from"./chunk-COALWMI7.js";import{A as I,B as M,C as q,D as S,E as V,N as X,Q as Z,U as W,V as Q,b as c,ca as s,g,h as Y,n as p,o as _,u as H,y as f}from"./chunk-HZG55H3B.js";var _e=["pro","studio","enterprise"],Be=e=>_e.includes((e??"").toLowerCase()),te=["align","reconform","conform-reference"],he={transferGB:2e3},l={payg:{id:"payg",name:"Pay As You Go",includes:{web:!0,mcp:!1,app:!1,studio_tools:!1}},web:{id:"web",name:"Indie",unlisted:!0,includes:{web:!0,mcp:!1,app:!1,studio_tools:!1},allowance:{transferGB:50}},indie:{id:"indie",name:"Pro",popular:!0,includes:{web:!0,mcp:!0,app:!0,studio_tools:!1},allowance:{transferGB:250}},pro:{id:"pro",name:"Studio",includes:{web:!0,mcp:!0,app:!0,studio_tools:!0},allowance:{transferGB:1e3}},studio:{id:"studio",name:"Enterprise",includes:{web:!0,mcp:!0,app:!0,studio_tools:!0},allowance:he}},ne={web:!0,mcp:!0,app:!0,studio_tools:!0};import{createPrivateKey as Je,createPublicKey as we,sign as Ke,verify as ye}from"node:crypto";import{Buffer as h}from"node:buffer";var be="CONFORMTOOLS_LICENSE_V1",ae=/^[0-9A-F]{8}(-[0-9A-F]{8}){3}$/,re=e=>JSON.stringify({dev_mode:e.dev_mode??!1,email:e.email,expires_at:e.expires_at,features:e.features,issued_at:e.issued_at,machine_fingerprint:e.machine_fingerprint,tier:e.tier});function ie(e){let t=e.split(/\r?\n/).map(a=>a.trim()).filter(a=>a&&!a.startsWith("#")&&!a.startsWith("-----")).join(""),n=JSON.parse(h.from(t,"base64").toString("utf8"));if(n?.magic!==be||!n.payload?.data)throw new Error("not a conform.tools licence");return n.payload}function oe(e,t){let n=h.from(e.signature,"base64"),a=h.from(re(e.data));return n.length!==64?!1:t.some(r=>ye(null,a,we({key:h.concat([h.from("302a300506032b6570032100","hex"),h.from(r)]),format:"der",type:"spki"}),n))}var xe=["cMwVBrEYKMzlG6pC7FF2lNKIoEqGz2xB5yph6clNnTg=","qnheqkkDU09l1oI6h2CFh4uQ97bY/hkTA5niGKH0+X8="],ve=xe.map(e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0)));function E(){let e=c("CONFORM_RECORDS_DIR");if(e)return e;let t=_(),n=g()==="darwin"?s(t,"Library/Application Support"):g()==="win32"?c("LOCALAPPDATA")??s(t,"AppData/Local"):c("XDG_DATA_HOME")??s(t,".local/share");return s(n,"conform.tools")}var Se=()=>c("CONFORM_LICENSE_PATH")??s(E(),"license.lic"),N=()=>s(E(),"grant.lic"),ke=null;function $(){return ke??=(async()=>{let e=await ee();if(!e)return[];let t=await Z(e,["machine"],{timeoutMs:15e3}).catch(()=>null);try{return JSON.parse(t?.stdout??"").machines.filter(n=>ae.test(n))}catch{return[]}})()}function Oe(e,t,n=Date.now()){if(!oe(e,ve))return{ok:!1,reason:"invalid licence signature"};let a=Date.parse(e.data.expires_at);return!Number.isFinite(a)||a<n?{ok:!1,reason:`licence expired ${e.data.expires_at}`}:[t??[]].flat().includes(e.data.machine_fingerprint)?{ok:!0,data:e.data}:{ok:!1,reason:"licence is for another machine"}}async function se(){let e;try{e=await f(Se())}catch{return null}try{return Oe(ie(e),await $())}catch(t){return{ok:!1,reason:t.message}}}var Ae={production:{supabaseUrl:"https://sttpwvjbpsetzbhrkohl.supabase.co",anonKey:"sb_publishable_cyuIPsrQa5Ye7lqFxjnknQ_ozDuwwzp",appBase:"https://conform.tools"},staging:{supabaseUrl:"https://slxggvbvgzkiwojcgykx.supabase.co",anonKey:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InNseGdndmJ2Z3praXdvamNneWt4Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzEyODUzMTksImV4cCI6MjA4Njg2MTMxOX0.b18iDsWftny0k9VmOCcbN6kLlyZsZ7GULn_jRH9CE9I",appBase:"https://beta.conform.tools"}};function i(){let e=c("CONFORM_ENV")==="staging"?"staging":"production",t=Ae[e];return{env:e,supabaseUrl:c("CONFORM_SUPABASE_URL")??t.supabaseUrl,anonKey:c("CONFORM_SUPABASE_ANON_KEY")??t.anonKey,appBase:c("CONFORM_APP_BASE")??t.appBase}}var Pe=600*1e3,ce=72*3600*1e3,Le=300*1e3,y=()=>s(p(),i().env==="production"?"auth.json":`auth-${i().env}.json`);async function b(){for(let e of new Set([y(),s(p(),"auth.json")]))try{let t=JSON.parse(await f(e));if(t.env===i().env&&t.access_token)return t}catch{}return await Ee()}var Ie=()=>{let e=g()==="win32"?c("APPDATA")??s(_(),"AppData","Roaming"):g()==="darwin"?s(_(),"Library","Application Support"):c("XDG_CONFIG_HOME")??s(_(),".config");return s(e,"conform-tools","kv-store.json")};async function Ee(){let e=Ie();try{let t=JSON.parse(await f(e)),n=JSON.parse(t["ct-supabase-auth"]??"null");if(!n?.access_token||!n.refresh_token)return null;let a=n.access_token.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");if(JSON.parse(atob(a+"=".repeat(-a.length&3))).iss!==`${i().supabaseUrl}/auth/v1`)return null;let o={env:i().env,access_token:n.access_token,refresh_token:n.refresh_token,expires_at:n.expires_at??0};return await D(o),delete t["ct-supabase-auth"],await I(e,JSON.stringify(t)),o}catch{return null}}async function Ne(){try{for await(let e of X(p())){if(!/^auth(?:-(\w+))?\.json$/.exec(e.name))continue;let n=JSON.parse(await f(s(p(),e.name)));if(n.access_token&&n.env&&n.env!==i().env)return{other_env:n.env}}}catch{}return{}}async function D(e){await M(p()),await I(y(),JSON.stringify(e)),await V(y(),384)}var j=6e3,A=0,B=()=>Date.now()<A,ue=()=>{A=Date.now()+6e4};function nt(){A=0}var pe=e=>e.expires_at-60>Date.now()/1e3;async function R(e){let t=await b();return t&&t.refresh_token!==e.refresh_token&&Object.assign(e,t),pe(e)}async function G(e){if(pe(e))return e.access_token;if(B())return null;if(await R(e))return e.access_token;let t=await q(`${y()}.lock`);try{if(await R(e))return e.access_token;let n=i(),a=await fetch(`${n.supabaseUrl}/auth/v1/token?grant_type=refresh_token`,{method:"POST",headers:{apikey:n.anonKey,"content-type":"application/json"},body:JSON.stringify({refresh_token:e.refresh_token}),signal:AbortSignal.timeout(j)}).catch(o=>{throw ue(),o});if(!a.ok)return a.status!==400&&a.status!==401?null:await R(e)?e.access_token:"";let r=await a.json();return e.access_token=r.access_token,r.refresh_token&&(e.refresh_token=r.refresh_token),e.expires_at=r.expires_at??Math.floor(Date.now()/1e3)+(r.expires_in??3600),await D(e),e.access_token}catch{return null}finally{await t()}}async function at(){return(await b().catch(()=>null))?.last_entitlement?.model_key??null}async function rt(){let e=await b();return e&&await G(e)||null}var w=null;function le(e,t){return{signed_in:!0,entitled:e.entitled,env:i().env,email:e.email,access:e.access,tier:e.tier,trial_days_remaining:e.trial_days_remaining,source:t,...e.entitled?{}:{reason:"not_entitled"},...e.invite_only?{invite_only:!0}:{}}}async function fe(e={}){let t=await se();if(t?.ok)return{signed_in:!!await b().catch(()=>null),entitled:!0,env:i().env,email:t.data.email,access:"licence",tier:t.data.tier,source:"licence"};let n=await $e(e);return t&&!n.entitled?{...n,licence_error:t.reason}:n}async function $e(e){if(!e.force&&w&&Date.now()-w.at<Pe)return{...w.status,source:"cache"};let t=i(),n=await b();if(!n)return{signed_in:!1,entitled:!1,env:t.env,reason:"not_signed_in",...await Ne()};let a=await G(n);if(a==="")return{signed_in:!0,entitled:!1,env:t.env,reason:"auth_rejected"};if(a&&!B())try{let r=(await $())[0],o=await fetch(`${t.supabaseUrl}/functions/v1/v1-billing/v1/billing/entitlement${r?`?machine=${r}`:""}`,{headers:{authorization:`Bearer ${a}`,apikey:t.anonKey},signal:AbortSignal.timeout(j)}).catch(u=>{throw ue(),u});if(o.status===401||o.status===403)return{signed_in:!0,entitled:!1,env:t.env,reason:"auth_rejected"};if(o.ok){let{grant:u,...P}=(await o.json()).data;r&&await De(u),n.last_entitlement=P,n.last_entitlement_at=Date.now(),await D(n);let L=le(P,"live");return w={at:Date.now(),status:L},L}}catch{}if(n.last_entitlement&&n.last_entitlement_at&&Date.now()-n.last_entitlement_at<ce){let r=ce-(Date.now()-n.last_entitlement_at);return{...le(n.last_entitlement,"grace"),grace_remaining_h:Math.round(r/36e4)/10}}return{signed_in:!0,entitled:!1,env:t.env,reason:"offline_grace_expired"}}async function De(e){try{if(!e)return await S(N());await M(E()),await I(N(),e)}catch{}}function Te(e){return e.source==="licence"?`${e.email} \xB7 machine licence (${e.tier}) \u2014 runs offline, no account check`:Ce(e)+(e.licence_error?`
|
|
4
|
+
(the machine licence was not used: ${e.licence_error})`:"")}function Ce(e){let t=i();if(!e.signed_in)return`not signed in (${t.env})${e.other_env?`; you are signed in to ${e.other_env} only (each server keeps its own sign-in)`:""}. Run the account_login tool, or \`npx -y conformtools@latest login\` in a terminal.`;if(e.reason==="auth_rejected")return"signed-in session was rejected (expired or revoked) \u2014 sign in again with account_login.";if(e.reason==="offline_grace_expired")return"offline for more than 72 h since the last account check \u2014 reconnect and run account_status.";let n=`${e.email??"(unknown email)"} \xB7 ${t.env}`;if(!e.entitled&&e.invite_only)return`${n}
|
|
5
|
+
the conform.tools engine (the MCP and the app) is invite-only for now, and ${e.email??"this account"} is not on the list. If that is the wrong Google account, run account_logout, then account_login with the invited one.`;if(!e.entitled)return`${n}
|
|
6
|
+
no active plan on ${e.email??"this account"}: the MCP is in the ${l.indie.name} plan and up. If that is the wrong Google account, run account_logout, then account_login and pick the account with the plan; otherwise choose a plan at ${t.appBase}/pricing, then run account_status.`;let a=e.access==="trial"?`trial, ${e.trial_days_remaining??"?"} day(s) left`:e.access==="allowlist"?"invited (early access)":`subscribed${e.tier?` (${F(e.tier)})`:""}`,r=T(e),o=r?` \xB7 includes ${[r.web&&"the web tools",r.mcp&&"the MCP",r.app&&"the app"].filter(Boolean).join(", ")||"the web tools"}`:"";return`${n}
|
|
7
|
+
${a}${o}${e.source==="grace"?` \u2014 offline, using the last check (${e.grace_remaining_h} h of grace left)`:""}`}function F(e){return l[e.toLowerCase()]?.name??e}function T(e){if(e.access==="trial")return ne;let t=(e.tier??"").toLowerCase();return(t==="enterprise"?l.studio:l[t])?.includes??null}var de=()=>fe();function it(e){de=e}async function me(){let e=await de();if(e.entitled)return e;let t=e.signed_in&&e.reason==="not_entitled"?"not_entitled":"not_signed_in";throw new d(t,Te(e),{account:e})}async function ot(){let e=await me();if(e.source==="licence"||T(e)?.mcp!==!1)return e;throw new d("not_entitled",`The conform.tools MCP is in the ${l.indie.name} plan and up. ${e.access==="trial"?"Your trial":`Your plan${e.tier?` (${F(e.tier)})`:""}`} includes Timeline Exchange and Conform Connect on ${i().appBase}, but not the engine on this machine. Upgrade at ${i().appBase}/pricing, then run account_status.`,{account:e,needs:"mcp"})}async function Ue(){let e=await me();if(e.source==="licence")return e;if(!T(e)?.app)throw new d("not_entitled",`The conform.tools app is in the ${l.indie.name} plan and up. ${e.access==="trial"?"Your trial":`Your plan${e.tier?` (${F(e.tier)})`:""}`} does not include the app. Upgrade at ${i().appBase}/pricing, then reopen the app.`,{account:e,needs:"app"});let t=await Re();if(t)throw new d("seat_in_use",`This seat is in use on ${t}. Each seat runs the app on one computer at a time: quit the app there (or sign out), or wait 15 minutes after it last ran, then reopen it here.`,{account:e,needs:"seat",in_use_by:t});return e}async function st(e){if(!te.includes(e))return;let t=await Ue();if(!(t.source==="licence"||T(t)?.studio_tools!==!1))throw new d("not_entitled",`This tool is in the ${l.pro.name} plan. Upgrade at ${i().appBase}/pricing.`,{account:t,needs:"studio_tools"})}var Me=240*1e3,O=null;async function Re(){if(O&&Date.now()-O.at<Me)return O.busy;let e=await ge("POST").catch(()=>null);return O={at:Date.now(),busy:e},e}async function ge(e){let t=i(),n=await b(),a=(await $())[0],r=n&&await G(n);if(!r||!a||B())return null;let o=await fetch(`${t.supabaseUrl}/functions/v1/v1-billing/v1/billing/seat`,{method:e,headers:{authorization:`Bearer ${r}`,apikey:t.anonKey,"content-type":"application/json"},body:JSON.stringify({machine:a,name:Y()}),signal:AbortSignal.timeout(j)});return o.status===409?(await o.json()).in_use_by??"another computer":null}var k=null;function ct(e={}){if(k)return k;let t=i(),n=crypto.randomUUID().replaceAll("-","");return k=new Promise((a,r)=>{let o=!1,u=x=>{o||(o=!0,clearTimeout(L),setTimeout(()=>P.close(),250),k=null,x())},P=Q({hostname:"127.0.0.1",port:0,onListen:async x=>{let v=`${t.appBase}/plugin-auth?client=engine&port=${x}&state=${n}`,m=await W(v);e.onUrl?.(v,m)}},async x=>{let v=new URL(x.url);if(v.pathname!=="/callback")return new Response("not found",{status:404});let m=v.searchParams,J=m.get("access_token")??"",K=m.get("refresh_token")??"",C=!!J&&!!K&&m.get("state")===n;if(C){let z=Number(m.get("expires_at"));await D({env:t.env,access_token:J,refresh_token:K,expires_at:z>0?z:Math.floor(Date.now()/1e3)+3600}),w=null,A=0,fe({force:!0}).then(U=>u(()=>a(U)),U=>u(()=>r(U)))}return new Response(je(C),{status:C?200:400,headers:{"content-type":"text/html; charset=utf-8"}})}),L=setTimeout(()=>u(()=>r(new d("not_signed_in","sign-in was not completed within 5 minutes"))),e.timeoutMs??Le)}),k}async function lt(){await ge("DELETE").catch(()=>{}),O=null,w=null,A=0,await H(y())&&await S(y()),await S(N()).catch(()=>{});let e=s(p(),"auth.json");try{JSON.parse(await f(e)).env===i().env&&await S(e)}catch{}}function je(e){let[t,n]=e?["Connected","You're signed in \u2014 you can close this tab."]:["Sign-in failed","Please try again."];return`<!doctype html><meta charset=utf-8><title>conform.tools</title><body style='font:16px -apple-system,Helvetica,Arial,sans-serif;display:flex;align-items:center;justify-content:center;height:100vh;margin:0;background:#f5f5f7;color:#1d1d1f'><div style='text-align:center'><div style='font-size:22px;font-weight:700'>conform<span style='color:#ff3c00'>.tools</span></div><div style='margin-top:14px;font-size:20px;font-weight:600'>${t}</div><div style='margin-top:6px;color:#6e6e73'>${n}</div></div></body>`}export{Be as a,l as b,$ as c,i as d,Ie as e,j as f,nt as g,at as h,rt as i,fe as j,Te as k,T as l,it as m,me as n,ot as o,Ue as p,st as q,ct as r,lt as s};
|
|
@@ -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
|
-
var s={scrub:{output:"rgba8",detail:"coarse"},thumbnail:{output:"rgba8",detail:"coarse"},park:{output:"rgba8",detail:"exact"},render:{output:"rgba8",detail:"exact"},transcode:{output:"rgb16",detail:"exact"}};function p(e){let t=new DataView(e.buffer,e.byteOffset,8),r=t.getUint32(0,!0),n=t.getUint32(4,!0),o=e.slice(8);return{width:r,height:n,rgb16:new Uint16Array(o.buffer,o.byteOffset,r*n*3)}}var a=class extends Error{constructor(r,n){super(`COVERAGE_MISS: frame ${r} not in linked media (${n} frames)`);this.index=r;this.frameCount=n;this.name="CoverageMissError"}},m=/(?:[A-Z0-9]+_)?COVERAGE_MISS\s+(\{[\s\S]*\})/;function d(e){let r=(e instanceof Error?e.message:String(e??"")).match(m);if(!r)return null;try{return JSON.parse(r[1])}catch{return{reason:"coverage_miss"}}}var i=class extends Error{constructor(r){super(`DELIVERY_COVERAGE_MISS: ${r.reason}`+(r.cut_in!=null?` cut [${r.cut_in}..${r.cut_out}] file_frames ${r.file_frames}`:""));this.detail=r;this.name="DeliveryCoverageMissError"}};function l(e){return e instanceof i?e.detail:d(e)}var u={mov:()=>import("./isobmff-
|
|
3
|
+
var s={scrub:{output:"rgba8",detail:"coarse"},thumbnail:{output:"rgba8",detail:"coarse"},park:{output:"rgba8",detail:"exact"},render:{output:"rgba8",detail:"exact"},transcode:{output:"rgb16",detail:"exact"}};function p(e){let t=new DataView(e.buffer,e.byteOffset,8),r=t.getUint32(0,!0),n=t.getUint32(4,!0),o=e.slice(8);return{width:r,height:n,rgb16:new Uint16Array(o.buffer,o.byteOffset,r*n*3)}}var a=class extends Error{constructor(r,n){super(`COVERAGE_MISS: frame ${r} not in linked media (${n} frames)`);this.index=r;this.frameCount=n;this.name="CoverageMissError"}},m=/(?:[A-Z0-9]+_)?COVERAGE_MISS\s+(\{[\s\S]*\})/;function d(e){let r=(e instanceof Error?e.message:String(e??"")).match(m);if(!r)return null;try{return JSON.parse(r[1])}catch{return{reason:"coverage_miss"}}}var i=class extends Error{constructor(r){super(`DELIVERY_COVERAGE_MISS: ${r.reason}`+(r.cut_in!=null?` cut [${r.cut_in}..${r.cut_out}] file_frames ${r.file_frames}`:""));this.detail=r;this.name="DeliveryCoverageMissError"}};function l(e){return e instanceof i?e.detail:d(e)}var u={mov:()=>import("./isobmff-RHP3N5K2.js").then(e=>e.isobmffFormat),crm:()=>import("./isobmff-RHP3N5K2.js").then(e=>e.isobmffFormat),braw:()=>import("./isobmff-RHP3N5K2.js").then(e=>e.isobmffFormat),wav:()=>import("./wav-OLA3QYFJ.js").then(e=>e.wavFormat),mxf:()=>import("./mxf-R2ONKSYU.js").then(e=>e.mxfFormat),r3d:()=>import("./r3d-F4OWLQE2.js").then(e=>e.r3dFormat),still:()=>import("./still-IDLCMQRD.js").then(e=>e.stillFormat),avc1:()=>import("./h264-YX5KP63E.js").then(e=>e.h264Format),avc3:()=>import("./h264-YX5KP63E.js").then(e=>e.h264Format),h264:()=>import("./h264-YX5KP63E.js").then(e=>e.h264Format),hvc1:()=>import("./h264-YX5KP63E.js").then(e=>e.h264Format),hev1:()=>import("./h264-YX5KP63E.js").then(e=>e.h264Format),hevc:()=>import("./h264-YX5KP63E.js").then(e=>e.h264Format),h264_mxf:()=>import("./h264-mxf-VAHIJCA7.js").then(e=>e.h264MxfFormat),mcvideo:()=>import("./mc-video-CHBOYPI5.js").then(e=>e.mcVideoFormat)};async function c(e){let t=u[e];return t?await t():null}async function f(e){let t=await c(e.format);if(!t)throw new Error(`extract: no handler for format '${e.format}'`);return t.extract(e)}async function b(e,t){let r=await c(e.format);if(!r){if(t.verb==="inspect")return null;throw new Error(`mediaOp: no handler for format '${e.format}' (verb ${t.verb})`)}switch(t.verb){case"inspect":{let n=await r.inspect(e);return n&&(n.source_facts_origin="probed"),n}case"sparsify":return r.sparsify(e,t.selection);case"trim":return r.trim(e,t.selection);case"decode":{let{output:n,detail:o}=s[t.intent];if(n==="rgb16"){if(!r.decode16)throw new Error(`mediaOp: format '${e.format}' has no 16-bit decoder (intent '${t.intent}')`);return r.decode16(e,t.index)}if(!r.decode)throw new Error(`mediaOp: format '${e.format}' has no decoder (no viewer)`);return r.decode(e,t.index,{detail:o})}}}export{s as a,p as b,a as c,d,i as e,l as f,c as g,f as h,b as i};
|