prisma 6.4.0-dev.19 → 6.4.0-dev.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- "use strict";var q=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(n,t)=>{for(var e in t)q(n,e,{get:t[e],enumerable:!0})},$=(n,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of B(t))!N.call(n,c)&&c!==e&&q(n,c,{get:()=>t[c],enumerable:!(o=U(t,c))||o.enumerable});return n};var V=n=>$(q({},"__esModule",{value:!0}),n);var Ft={};C(Ft,{QueryEngine:()=>Y,__wbg_String_88810dfeb4021902:()=>Bn,__wbg_buffer_b7b08af79b0b0974:()=>Cn,__wbg_call_1084a111329e68ce:()=>Zn,__wbg_call_89af060b4e1523f2:()=>gt,__wbg_crypto_58f13aa23ffcb166:()=>Wn,__wbg_done_bfda7aa8f252b39f:()=>rt,__wbg_entries_7a0e06255456ebcd:()=>It,__wbg_getRandomValues_504510b5564925af:()=>Ln,__wbg_getTime_91058879093a1589:()=>fn,__wbg_get_224d16597dbbfd96:()=>ct,__wbg_get_3baa728f9d58d3f6:()=>nt,__wbg_get_94990005bd6ca07c:()=>Un,__wbg_getwithrefkey_5e6d9547403deab8:()=>Dn,__wbg_globalThis_86b222e13bdf32ed:()=>st,__wbg_global_e5a3fe56f8be9485:()=>ft,__wbg_has_4bfbc01db38743f7:()=>cn,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>Tt,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>wn,__wbg_instanceof_Uint8Array_247a91427532499e:()=>ht,__wbg_isArray_8364a5371e9737d8:()=>bt,__wbg_isSafeInteger_7f1ed56200d90674:()=>lt,__wbg_iterator_888179a48810a9fe:()=>xn,__wbg_keys_7840ae453e408eab:()=>gn,__wbg_length_8339fcf5d8ecd12e:()=>xt,__wbg_length_ae22078168b726f5:()=>ln,__wbg_msCrypto_abcb1295e768d1f2:()=>Kn,__wbg_new0_65387337a95cf44d:()=>sn,__wbg_new_525245e2b9901204:()=>vn,__wbg_new_8608a2b51a5f6737:()=>kn,__wbg_new_a220cf903aa02ca2:()=>On,__wbg_new_b85e72ed1bfd57f9:()=>nn,__wbg_new_ea1883e1e5e86686:()=>Vn,__wbg_newnoargs_76313bd6ff35d0f2:()=>at,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>$n,__wbg_newwithlength_ec548f448387c968:()=>Xn,__wbg_next_de3e9db4440638b2:()=>ot,__wbg_next_f9cb570345655b9a:()=>et,__wbg_node_523d7bd03ef69fba:()=>Hn,__wbg_now_28a6b413aca4a96a:()=>mt,__wbg_now_8ed1a4454e40ecd1:()=>an,__wbg_now_b7a162010a9e75b4:()=>bn,__wbg_parse_52202f117ec9ecfa:()=>un,__wbg_process_5b786e71d465a513:()=>Jn,__wbg_push_37c89022f34c01ca:()=>Mn,__wbg_randomFillSync_a0d98aa11c81fe89:()=>Pn,__wbg_require_2784e593a4674877:()=>Gn,__wbg_resolve_570458cb99d56a43:()=>vt,__wbg_self_3093d5d1f7bcb682:()=>it,__wbg_setTimeout_631fe61f31fa2fad:()=>tn,__wbg_set_49185437f0ab06f8:()=>En,__wbg_set_673dda6c73d19609:()=>qn,__wbg_set_841ac57cff3d672b:()=>Rn,__wbg_set_d1e79e2388520f18:()=>pt,__wbg_set_eacc7d73fefaafdf:()=>dt,__wbg_set_wasm:()=>z,__wbg_stringify_bbf45426c92a6bf5:()=>wt,__wbg_subarray_7c2e3576afe181d1:()=>zn,__wbg_then_876bb3c633745cc6:()=>kt,__wbg_then_95e6edc0f89b73b1:()=>qt,__wbg_valueOf_c759749a331da0c0:()=>tt,__wbg_value_6d39332ab4788d86:()=>_t,__wbg_versions_c2ab80650590b6a2:()=>Qn,__wbg_window_3bcfc4d31bc012f8:()=>ut,__wbindgen_bigint_from_i64:()=>Tn,__wbindgen_bigint_from_u64:()=>Sn,__wbindgen_bigint_get_as_i64:()=>jt,__wbindgen_boolean_get:()=>mn,__wbindgen_cb_drop:()=>Ot,__wbindgen_closure_wrapper7236:()=>Et,__wbindgen_debug_string:()=>At,__wbindgen_error_new:()=>rn,__wbindgen_in:()=>In,__wbindgen_is_bigint:()=>yn,__wbindgen_is_function:()=>Yn,__wbindgen_is_object:()=>pn,__wbindgen_is_string:()=>Fn,__wbindgen_is_undefined:()=>on,__wbindgen_jsval_eq:()=>jn,__wbindgen_jsval_loose_eq:()=>yt,__wbindgen_memory:()=>Nn,__wbindgen_number_get:()=>hn,__wbindgen_number_new:()=>An,__wbindgen_object_clone_ref:()=>_n,__wbindgen_object_drop_ref:()=>dn,__wbindgen_string_get:()=>Z,__wbindgen_string_new:()=>en,__wbindgen_throw:()=>St,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=V(Ft);var S=()=>{};S.prototype=S;let _;function z(n){_=n}const p=new Array(128).fill(void 0);p.push(void 0,null,!0,!1);function r(n){return p[n]}let a=0,j=null;function A(){return(j===null||j.byteLength===0)&&(j=new Uint8Array(_.memory.buffer)),j}const L=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let O=new L("utf-8");const P=typeof O.encodeInto=="function"?function(n,t){return O.encodeInto(n,t)}:function(n,t){const e=O.encode(n);return t.set(e),{read:n.length,written:e.length}};function b(n,t,e){if(e===void 0){const s=O.encode(n),w=t(s.length,1)>>>0;return A().subarray(w,w+s.length).set(s),a=s.length,w}let o=n.length,c=t(o,1)>>>0;const f=A();let u=0;for(;u<o;u++){const s=n.charCodeAt(u);if(s>127)break;f[c+u]=s}if(u!==o){u!==0&&(n=n.slice(u)),c=e(c,o,o=u+n.length*3,1)>>>0;const s=A().subarray(c+u,c+o),w=P(n,s);u+=w.written,c=e(c,o,u,1)>>>0}return a=u,c}function y(n){return n==null}let h=null;function d(){return(h===null||h.buffer.detached===!0||h.buffer.detached===void 0&&h.buffer!==_.memory.buffer)&&(h=new DataView(_.memory.buffer)),h}const W=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let v=new W("utf-8",{ignoreBOM:!0,fatal:!0});v.decode();function T(n,t){return n=n>>>0,v.decode(A().subarray(n,n+t))}let I=p.length;function i(n){I===p.length&&p.push(p.length+1);const t=I;return I=p[t],p[t]=n,t}function J(n){n<132||(p[n]=I,I=n)}function g(n){const t=r(n);return J(n),t}function k(n){const t=typeof n;if(t=="number"||t=="boolean"||n==null)return`${n}`;if(t=="string")return`"${n}"`;if(t=="symbol"){const c=n.description;return c==null?"Symbol":`Symbol(${c})`}if(t=="function"){const c=n.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(n)){const c=n.length;let f="[";c>0&&(f+=k(n[0]));for(let u=1;u<c;u++)f+=", "+k(n[u]);return f+="]",f}const e=/\[object ([^\]]+)\]/.exec(toString.call(n));let o;if(e.length>1)o=e[1];else return toString.call(n);if(o=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
2
- ${n.stack}`:o}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{_.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const c={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return o(s,c.b,...u)}finally{--c.cnt===0?(_.__wbindgen_export_2.get(c.dtor)(s,c.b),E.unregister(c)):c.a=s}};return f.original=c,E.register(f,c,c),f}function H(n,t,e){_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,t,i(e))}function G(){const n=_.getBuildTimeInfo();return g(n)}function K(n){try{const f=_.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),e=a;_.debug_panic(f,t,e);var o=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function l(n,t){try{return n.apply(this,t)}catch(e){_.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){_.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,t,i(e),i(o))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>_.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}constructor(t,e,o){try{const s=_.__wbindgen_add_to_stack_pointer(-16);_.queryengine_new(s,i(t),i(e),i(o));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}connect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_connect(this.__wbg_ptr,o,c,f,u);return g(s)}disconnect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_disconnect(this.__wbg_ptr,o,c,f,u);return g(s)}query(t,e,o,c){const f=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),w=a;var x=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),m=a;const R=b(c,_.__wbindgen_malloc,_.__wbindgen_realloc),D=a,M=_.queryengine_query(this.__wbg_ptr,f,u,s,w,x,m,R,D);return g(M)}startTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}commitTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}rollbackTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}metrics(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_metrics(this.__wbg_ptr,e,o);return g(c)}trace(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_trace(this.__wbg_ptr,e,o);return g(c)}}function Z(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var c=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const c=new Promise(o);return i(c)}finally{e.a=e.b=0}}function tn(n,t){return setTimeout(r(n),t>>>0)}function en(n,t){const e=T(n,t);return i(e)}function rn(n,t){const e=new Error(T(n,t));return i(e)}function _n(n){const t=r(n);return i(t)}function on(n){return r(n)===void 0}function cn(){return l(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function un(){return l(function(n,t){const e=JSON.parse(T(n,t));return i(e)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){return r(n).now()}function bn(){return Date.now()}function gn(n){const t=Object.keys(r(n));return i(t)}function ln(n){return r(n).length}function dn(n){g(n)}function wn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function pn(n){const t=r(n);return typeof t=="object"&&t!==null}function xn(){return i(Symbol.iterator)}function mn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;d().setFloat64(n+8*1,y(o)?0:o,!0),d().setInt32(n+4*0,!y(o),!0)}function Tn(n){return i(n)}function In(n,t){return r(n)in r(t)}function Sn(n){const t=BigInt.asUintN(64,n);return i(t)}function jn(n,t){return r(n)===r(t)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=g(e)}function kn(){return i(new Map)}function vn(){const n=new Object;return i(n)}function En(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function Fn(n){return typeof r(n)=="string"}function Rn(n,t,e){r(n)[g(t)]=g(e)}function Dn(n,t){const e=r(n)[r(t)];return i(e)}function Mn(n,t){return r(n).push(r(t))}function Un(){return l(function(n,t){const e=r(n)[g(t)];return i(e)},arguments)}function Bn(n,t){const e=String(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Nn(){const n=_.memory;return i(n)}function Cn(n){const t=r(n).buffer;return i(t)}function $n(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Vn(n){const t=new Uint8Array(r(n));return i(t)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Ln(){return l(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Pn(){return l(function(n,t){r(n).randomFillSync(g(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Qn(n){const t=r(n).versions;return i(t)}function Hn(n){const t=r(n).node;return i(t)}function Gn(){return l(function(){const n=module.require;return i(n)},arguments)}function Kn(n){const t=r(n).msCrypto;return i(t)}function Xn(n){const t=new Uint8Array(n>>>0);return i(t)}function Yn(n){return typeof r(n)=="function"}function Zn(){return l(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return l(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function _t(n){const t=r(n).value;return i(t)}function ot(n){const t=r(n).next;return i(t)}function ct(){return l(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return l(function(){const n=self.self;return i(n)},arguments)}function ut(){return l(function(){const n=window.window;return i(n)},arguments)}function st(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return l(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new S(T(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return l(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return l(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return l(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function xt(n){return r(n).length}function mt(){return l(function(){return Date.now()},arguments)}function yt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function It(n){const t=Object.entries(r(n));return i(t)}function St(n,t){throw new Error(T(n,t))}function jt(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;d().setBigInt64(n+8*1,y(o)?BigInt(0):o,!0),d().setInt32(n+4*0,!y(o),!0)}function At(n,t){const e=k(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Ot(n){const t=g(n).original;return t.cnt--==1?(t.a=0,!0):!1}function qt(n,t){const e=r(n).then(r(t));return i(e)}function kt(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function vt(n){const t=Promise.resolve(r(n));return i(t)}function Et(n,t,e){const o=Q(n,t,548,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7236,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
1
+ "use strict";var q=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(n,t)=>{for(var e in t)q(n,e,{get:t[e],enumerable:!0})},$=(n,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of B(t))!N.call(n,c)&&c!==e&&q(n,c,{get:()=>t[c],enumerable:!(o=U(t,c))||o.enumerable});return n};var V=n=>$(q({},"__esModule",{value:!0}),n);var Ft={};C(Ft,{QueryEngine:()=>Y,__wbg_String_88810dfeb4021902:()=>Bn,__wbg_buffer_b7b08af79b0b0974:()=>Cn,__wbg_call_1084a111329e68ce:()=>Zn,__wbg_call_89af060b4e1523f2:()=>gt,__wbg_crypto_58f13aa23ffcb166:()=>Wn,__wbg_done_bfda7aa8f252b39f:()=>rt,__wbg_entries_7a0e06255456ebcd:()=>It,__wbg_getRandomValues_504510b5564925af:()=>Ln,__wbg_getTime_91058879093a1589:()=>fn,__wbg_get_224d16597dbbfd96:()=>ct,__wbg_get_3baa728f9d58d3f6:()=>nt,__wbg_get_94990005bd6ca07c:()=>Un,__wbg_getwithrefkey_5e6d9547403deab8:()=>Dn,__wbg_globalThis_86b222e13bdf32ed:()=>st,__wbg_global_e5a3fe56f8be9485:()=>ft,__wbg_has_4bfbc01db38743f7:()=>cn,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>Tt,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>wn,__wbg_instanceof_Uint8Array_247a91427532499e:()=>ht,__wbg_isArray_8364a5371e9737d8:()=>bt,__wbg_isSafeInteger_7f1ed56200d90674:()=>lt,__wbg_iterator_888179a48810a9fe:()=>xn,__wbg_keys_7840ae453e408eab:()=>gn,__wbg_length_8339fcf5d8ecd12e:()=>xt,__wbg_length_ae22078168b726f5:()=>ln,__wbg_msCrypto_abcb1295e768d1f2:()=>Kn,__wbg_new0_65387337a95cf44d:()=>sn,__wbg_new_525245e2b9901204:()=>vn,__wbg_new_8608a2b51a5f6737:()=>kn,__wbg_new_a220cf903aa02ca2:()=>On,__wbg_new_b85e72ed1bfd57f9:()=>nn,__wbg_new_ea1883e1e5e86686:()=>Vn,__wbg_newnoargs_76313bd6ff35d0f2:()=>at,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>$n,__wbg_newwithlength_ec548f448387c968:()=>Xn,__wbg_next_de3e9db4440638b2:()=>ot,__wbg_next_f9cb570345655b9a:()=>et,__wbg_node_523d7bd03ef69fba:()=>Hn,__wbg_now_28a6b413aca4a96a:()=>mt,__wbg_now_8ed1a4454e40ecd1:()=>an,__wbg_now_b7a162010a9e75b4:()=>bn,__wbg_parse_52202f117ec9ecfa:()=>un,__wbg_process_5b786e71d465a513:()=>Jn,__wbg_push_37c89022f34c01ca:()=>Mn,__wbg_randomFillSync_a0d98aa11c81fe89:()=>Pn,__wbg_require_2784e593a4674877:()=>Gn,__wbg_resolve_570458cb99d56a43:()=>vt,__wbg_self_3093d5d1f7bcb682:()=>it,__wbg_setTimeout_631fe61f31fa2fad:()=>tn,__wbg_set_49185437f0ab06f8:()=>En,__wbg_set_673dda6c73d19609:()=>qn,__wbg_set_841ac57cff3d672b:()=>Rn,__wbg_set_d1e79e2388520f18:()=>pt,__wbg_set_eacc7d73fefaafdf:()=>dt,__wbg_set_wasm:()=>z,__wbg_stringify_bbf45426c92a6bf5:()=>wt,__wbg_subarray_7c2e3576afe181d1:()=>zn,__wbg_then_876bb3c633745cc6:()=>kt,__wbg_then_95e6edc0f89b73b1:()=>qt,__wbg_valueOf_c759749a331da0c0:()=>tt,__wbg_value_6d39332ab4788d86:()=>_t,__wbg_versions_c2ab80650590b6a2:()=>Qn,__wbg_window_3bcfc4d31bc012f8:()=>ut,__wbindgen_bigint_from_i64:()=>Tn,__wbindgen_bigint_from_u64:()=>Sn,__wbindgen_bigint_get_as_i64:()=>jt,__wbindgen_boolean_get:()=>mn,__wbindgen_cb_drop:()=>Ot,__wbindgen_closure_wrapper7235:()=>Et,__wbindgen_debug_string:()=>At,__wbindgen_error_new:()=>rn,__wbindgen_in:()=>In,__wbindgen_is_bigint:()=>yn,__wbindgen_is_function:()=>Yn,__wbindgen_is_object:()=>pn,__wbindgen_is_string:()=>Fn,__wbindgen_is_undefined:()=>on,__wbindgen_jsval_eq:()=>jn,__wbindgen_jsval_loose_eq:()=>yt,__wbindgen_memory:()=>Nn,__wbindgen_number_get:()=>hn,__wbindgen_number_new:()=>An,__wbindgen_object_clone_ref:()=>_n,__wbindgen_object_drop_ref:()=>dn,__wbindgen_string_get:()=>Z,__wbindgen_string_new:()=>en,__wbindgen_throw:()=>St,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=V(Ft);var S=()=>{};S.prototype=S;let _;function z(n){_=n}const p=new Array(128).fill(void 0);p.push(void 0,null,!0,!1);function r(n){return p[n]}let a=0,j=null;function A(){return(j===null||j.byteLength===0)&&(j=new Uint8Array(_.memory.buffer)),j}const L=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let O=new L("utf-8");const P=typeof O.encodeInto=="function"?function(n,t){return O.encodeInto(n,t)}:function(n,t){const e=O.encode(n);return t.set(e),{read:n.length,written:e.length}};function b(n,t,e){if(e===void 0){const s=O.encode(n),w=t(s.length,1)>>>0;return A().subarray(w,w+s.length).set(s),a=s.length,w}let o=n.length,c=t(o,1)>>>0;const f=A();let u=0;for(;u<o;u++){const s=n.charCodeAt(u);if(s>127)break;f[c+u]=s}if(u!==o){u!==0&&(n=n.slice(u)),c=e(c,o,o=u+n.length*3,1)>>>0;const s=A().subarray(c+u,c+o),w=P(n,s);u+=w.written,c=e(c,o,u,1)>>>0}return a=u,c}function y(n){return n==null}let h=null;function d(){return(h===null||h.buffer.detached===!0||h.buffer.detached===void 0&&h.buffer!==_.memory.buffer)&&(h=new DataView(_.memory.buffer)),h}const W=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let v=new W("utf-8",{ignoreBOM:!0,fatal:!0});v.decode();function T(n,t){return n=n>>>0,v.decode(A().subarray(n,n+t))}let I=p.length;function i(n){I===p.length&&p.push(p.length+1);const t=I;return I=p[t],p[t]=n,t}function J(n){n<132||(p[n]=I,I=n)}function g(n){const t=r(n);return J(n),t}function k(n){const t=typeof n;if(t=="number"||t=="boolean"||n==null)return`${n}`;if(t=="string")return`"${n}"`;if(t=="symbol"){const c=n.description;return c==null?"Symbol":`Symbol(${c})`}if(t=="function"){const c=n.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(n)){const c=n.length;let f="[";c>0&&(f+=k(n[0]));for(let u=1;u<c;u++)f+=", "+k(n[u]);return f+="]",f}const e=/\[object ([^\]]+)\]/.exec(toString.call(n));let o;if(e.length>1)o=e[1];else return toString.call(n);if(o=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
2
+ ${n.stack}`:o}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{_.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const c={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return o(s,c.b,...u)}finally{--c.cnt===0?(_.__wbindgen_export_2.get(c.dtor)(s,c.b),E.unregister(c)):c.a=s}};return f.original=c,E.register(f,c,c),f}function H(n,t,e){_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,t,i(e))}function G(){const n=_.getBuildTimeInfo();return g(n)}function K(n){try{const f=_.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),e=a;_.debug_panic(f,t,e);var o=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function l(n,t){try{return n.apply(this,t)}catch(e){_.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){_.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,t,i(e),i(o))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>_.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}constructor(t,e,o){try{const s=_.__wbindgen_add_to_stack_pointer(-16);_.queryengine_new(s,i(t),i(e),i(o));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}connect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_connect(this.__wbg_ptr,o,c,f,u);return g(s)}disconnect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_disconnect(this.__wbg_ptr,o,c,f,u);return g(s)}query(t,e,o,c){const f=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),w=a;var x=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),m=a;const R=b(c,_.__wbindgen_malloc,_.__wbindgen_realloc),D=a,M=_.queryengine_query(this.__wbg_ptr,f,u,s,w,x,m,R,D);return g(M)}startTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}commitTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}rollbackTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}metrics(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_metrics(this.__wbg_ptr,e,o);return g(c)}trace(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_trace(this.__wbg_ptr,e,o);return g(c)}}function Z(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var c=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const c=new Promise(o);return i(c)}finally{e.a=e.b=0}}function tn(n,t){return setTimeout(r(n),t>>>0)}function en(n,t){const e=T(n,t);return i(e)}function rn(n,t){const e=new Error(T(n,t));return i(e)}function _n(n){const t=r(n);return i(t)}function on(n){return r(n)===void 0}function cn(){return l(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function un(){return l(function(n,t){const e=JSON.parse(T(n,t));return i(e)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){return r(n).now()}function bn(){return Date.now()}function gn(n){const t=Object.keys(r(n));return i(t)}function ln(n){return r(n).length}function dn(n){g(n)}function wn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function pn(n){const t=r(n);return typeof t=="object"&&t!==null}function xn(){return i(Symbol.iterator)}function mn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;d().setFloat64(n+8*1,y(o)?0:o,!0),d().setInt32(n+4*0,!y(o),!0)}function Tn(n){return i(n)}function In(n,t){return r(n)in r(t)}function Sn(n){const t=BigInt.asUintN(64,n);return i(t)}function jn(n,t){return r(n)===r(t)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=g(e)}function kn(){return i(new Map)}function vn(){const n=new Object;return i(n)}function En(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function Fn(n){return typeof r(n)=="string"}function Rn(n,t,e){r(n)[g(t)]=g(e)}function Dn(n,t){const e=r(n)[r(t)];return i(e)}function Mn(n,t){return r(n).push(r(t))}function Un(){return l(function(n,t){const e=r(n)[g(t)];return i(e)},arguments)}function Bn(n,t){const e=String(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Nn(){const n=_.memory;return i(n)}function Cn(n){const t=r(n).buffer;return i(t)}function $n(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Vn(n){const t=new Uint8Array(r(n));return i(t)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Ln(){return l(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Pn(){return l(function(n,t){r(n).randomFillSync(g(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Qn(n){const t=r(n).versions;return i(t)}function Hn(n){const t=r(n).node;return i(t)}function Gn(){return l(function(){const n=module.require;return i(n)},arguments)}function Kn(n){const t=r(n).msCrypto;return i(t)}function Xn(n){const t=new Uint8Array(n>>>0);return i(t)}function Yn(n){return typeof r(n)=="function"}function Zn(){return l(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return l(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function _t(n){const t=r(n).value;return i(t)}function ot(n){const t=r(n).next;return i(t)}function ct(){return l(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return l(function(){const n=self.self;return i(n)},arguments)}function ut(){return l(function(){const n=window.window;return i(n)},arguments)}function st(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return l(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new S(T(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return l(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return l(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return l(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function xt(n){return r(n).length}function mt(){return l(function(){return Date.now()},arguments)}function yt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function It(n){const t=Object.entries(r(n));return i(t)}function St(n,t){throw new Error(T(n,t))}function jt(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;d().setBigInt64(n+8*1,y(o)?BigInt(0):o,!0),d().setInt32(n+4*0,!y(o),!0)}function At(n,t){const e=k(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Ot(n){const t=g(n).original;return t.cnt--==1?(t.a=0,!0):!1}function qt(n,t){const e=r(n).then(r(t));return i(e)}function kt(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function vt(n){const t=Promise.resolve(r(n));return i(t)}function Et(n,t,e){const o=Q(n,t,548,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7235,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
@@ -1,2 +1,2 @@
1
- "use strict";var q=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(n,e)=>{for(var t in e)q(n,t,{get:e[t],enumerable:!0})},$=(n,e,t,_)=>{if(e&&typeof e=="object"||typeof e=="function")for(let c of B(e))!N.call(n,c)&&c!==t&&q(n,c,{get:()=>e[c],enumerable:!(_=U(e,c))||_.enumerable});return n};var V=n=>$(q({},"__esModule",{value:!0}),n);var De={};C(De,{QueryEngine:()=>Y,__wbg_String_88810dfeb4021902:()=>Cn,__wbg_buffer_b7b08af79b0b0974:()=>Vn,__wbg_call_1084a111329e68ce:()=>ee,__wbg_call_89af060b4e1523f2:()=>de,__wbg_crypto_58f13aa23ffcb166:()=>Qn,__wbg_done_bfda7aa8f252b39f:()=>oe,__wbg_entries_7a0e06255456ebcd:()=>je,__wbg_exec_a29a4ce5544bd3be:()=>Bn,__wbg_getRandomValues_504510b5564925af:()=>Wn,__wbg_getTime_91058879093a1589:()=>fn,__wbg_get_224d16597dbbfd96:()=>ue,__wbg_get_3baa728f9d58d3f6:()=>te,__wbg_get_94990005bd6ca07c:()=>Nn,__wbg_getwithrefkey_5e6d9547403deab8:()=>Dn,__wbg_globalThis_86b222e13bdf32ed:()=>ae,__wbg_global_e5a3fe56f8be9485:()=>be,__wbg_has_4bfbc01db38743f7:()=>cn,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>Se,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>wn,__wbg_instanceof_Uint8Array_247a91427532499e:()=>Ie,__wbg_isArray_8364a5371e9737d8:()=>le,__wbg_isSafeInteger_7f1ed56200d90674:()=>we,__wbg_iterator_888179a48810a9fe:()=>xn,__wbg_keys_7840ae453e408eab:()=>ln,__wbg_length_8339fcf5d8ecd12e:()=>ye,__wbg_length_ae22078168b726f5:()=>dn,__wbg_msCrypto_abcb1295e768d1f2:()=>Yn,__wbg_new0_65387337a95cf44d:()=>sn,__wbg_new_13847c66f41dda63:()=>Un,__wbg_new_525245e2b9901204:()=>En,__wbg_new_8608a2b51a5f6737:()=>kn,__wbg_new_a220cf903aa02ca2:()=>On,__wbg_new_b85e72ed1bfd57f9:()=>nn,__wbg_new_ea1883e1e5e86686:()=>Ln,__wbg_newnoargs_76313bd6ff35d0f2:()=>ge,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>zn,__wbg_newwithlength_ec548f448387c968:()=>Zn,__wbg_next_de3e9db4440638b2:()=>ie,__wbg_next_f9cb570345655b9a:()=>_e,__wbg_node_523d7bd03ef69fba:()=>Kn,__wbg_now_28a6b413aca4a96a:()=>he,__wbg_now_8ed1a4454e40ecd1:()=>bn,__wbg_now_b7a162010a9e75b4:()=>gn,__wbg_parse_52202f117ec9ecfa:()=>un,__wbg_process_5b786e71d465a513:()=>Hn,__wbg_push_37c89022f34c01ca:()=>Mn,__wbg_randomFillSync_a0d98aa11c81fe89:()=>Jn,__wbg_require_2784e593a4674877:()=>Xn,__wbg_resolve_570458cb99d56a43:()=>Fe,__wbg_self_3093d5d1f7bcb682:()=>se,__wbg_setTimeout_631fe61f31fa2fad:()=>en,__wbg_set_49185437f0ab06f8:()=>vn,__wbg_set_673dda6c73d19609:()=>qn,__wbg_set_841ac57cff3d672b:()=>Rn,__wbg_set_d1e79e2388520f18:()=>me,__wbg_set_eacc7d73fefaafdf:()=>pe,__wbg_set_wasm:()=>z,__wbg_stringify_bbf45426c92a6bf5:()=>xe,__wbg_subarray_7c2e3576afe181d1:()=>Pn,__wbg_then_876bb3c633745cc6:()=>ve,__wbg_then_95e6edc0f89b73b1:()=>Ee,__wbg_valueOf_c759749a331da0c0:()=>re,__wbg_value_6d39332ab4788d86:()=>ce,__wbg_versions_c2ab80650590b6a2:()=>Gn,__wbg_window_3bcfc4d31bc012f8:()=>fe,__wbindgen_bigint_from_i64:()=>Tn,__wbindgen_bigint_from_u64:()=>Sn,__wbindgen_bigint_get_as_i64:()=>Oe,__wbindgen_boolean_get:()=>mn,__wbindgen_cb_drop:()=>ke,__wbindgen_closure_wrapper7296:()=>Re,__wbindgen_debug_string:()=>qe,__wbindgen_error_new:()=>rn,__wbindgen_in:()=>In,__wbindgen_is_bigint:()=>yn,__wbindgen_is_function:()=>ne,__wbindgen_is_object:()=>pn,__wbindgen_is_string:()=>Fn,__wbindgen_is_undefined:()=>on,__wbindgen_jsval_eq:()=>jn,__wbindgen_jsval_loose_eq:()=>Te,__wbindgen_memory:()=>$n,__wbindgen_number_get:()=>hn,__wbindgen_number_new:()=>An,__wbindgen_object_clone_ref:()=>_n,__wbindgen_object_drop_ref:()=>an,__wbindgen_string_get:()=>Z,__wbindgen_string_new:()=>tn,__wbindgen_throw:()=>Ae,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=V(De);var S=()=>{};S.prototype=S;let o;function z(n){o=n}const p=new Array(128).fill(void 0);p.push(void 0,null,!0,!1);function r(n){return p[n]}let a=0,j=null;function A(){return(j===null||j.byteLength===0)&&(j=new Uint8Array(o.memory.buffer)),j}const L=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let O=new L("utf-8");const P=typeof O.encodeInto=="function"?function(n,e){return O.encodeInto(n,e)}:function(n,e){const t=O.encode(n);return e.set(t),{read:n.length,written:t.length}};function b(n,e,t){if(t===void 0){const s=O.encode(n),w=e(s.length,1)>>>0;return A().subarray(w,w+s.length).set(s),a=s.length,w}let _=n.length,c=e(_,1)>>>0;const f=A();let u=0;for(;u<_;u++){const s=n.charCodeAt(u);if(s>127)break;f[c+u]=s}if(u!==_){u!==0&&(n=n.slice(u)),c=t(c,_,_=u+n.length*3,1)>>>0;const s=A().subarray(c+u,c+_),w=P(n,s);u+=w.written,c=t(c,_,u,1)>>>0}return a=u,c}function x(n){return n==null}let T=null;function d(){return(T===null||T.buffer.detached===!0||T.buffer.detached===void 0&&T.buffer!==o.memory.buffer)&&(T=new DataView(o.memory.buffer)),T}const W=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let E=new W("utf-8",{ignoreBOM:!0,fatal:!0});E.decode();function m(n,e){return n=n>>>0,E.decode(A().subarray(n,n+e))}let I=p.length;function i(n){I===p.length&&p.push(p.length+1);const e=I;return I=p[e],p[e]=n,e}function J(n){n<132||(p[n]=I,I=n)}function g(n){const e=r(n);return J(n),e}function k(n){const e=typeof n;if(e=="number"||e=="boolean"||n==null)return`${n}`;if(e=="string")return`"${n}"`;if(e=="symbol"){const c=n.description;return c==null?"Symbol":`Symbol(${c})`}if(e=="function"){const c=n.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(n)){const c=n.length;let f="[";c>0&&(f+=k(n[0]));for(let u=1;u<c;u++)f+=", "+k(n[u]);return f+="]",f}const t=/\[object ([^\]]+)\]/.exec(toString.call(n));let _;if(t.length>1)_=t[1];else return toString.call(n);if(_=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
2
- ${n.stack}`:_}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{o.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,e,t,_){const c={a:n,b:e,cnt:1,dtor:t},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return _(s,c.b,...u)}finally{--c.cnt===0?(o.__wbindgen_export_2.get(c.dtor)(s,c.b),v.unregister(c)):c.a=s}};return f.original=c,v.register(f,c,c),f}function H(n,e,t){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,e,i(t))}function G(){const n=o.getBuildTimeInfo();return g(n)}function K(n){try{const f=o.__wbindgen_add_to_stack_pointer(-16);var e=x(n)?0:b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),t=a;o.debug_panic(f,e,t);var _=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(_)}finally{o.__wbindgen_add_to_stack_pointer(16)}}function l(n,e){try{return n.apply(this,e)}catch(t){o.__wbindgen_exn_store(i(t))}}function X(n,e,t,_){o.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,e,i(t),i(_))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>o.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),e}free(){const e=this.__destroy_into_raw();o.__wbg_queryengine_free(e,0)}constructor(e,t,_){try{const s=o.__wbindgen_add_to_stack_pointer(-16);o.queryengine_new(s,i(e),i(t),i(_));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{o.__wbindgen_add_to_stack_pointer(16)}}connect(e,t){const _=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a,f=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=o.queryengine_connect(this.__wbg_ptr,_,c,f,u);return g(s)}disconnect(e,t){const _=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a,f=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=o.queryengine_disconnect(this.__wbg_ptr,_,c,f,u);return g(s)}query(e,t,_,c){const f=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),w=a;var y=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),h=a;const R=b(c,o.__wbindgen_malloc,o.__wbindgen_realloc),D=a,M=o.queryengine_query(this.__wbg_ptr,f,u,s,w,y,h,R,D);return g(M)}startTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}commitTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}rollbackTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}metrics(e){const t=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_metrics(this.__wbg_ptr,t,_);return g(c)}trace(e){const t=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_trace(this.__wbg_ptr,t,_);return g(c)}}function Z(n,e){const t=r(e),_=typeof t=="string"?t:void 0;var c=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,e){try{var t={a:n,b:e},_=(f,u)=>{const s=t.a;t.a=0;try{return X(s,t.b,f,u)}finally{t.a=s}};const c=new Promise(_);return i(c)}finally{t.a=t.b=0}}function en(n,e){return setTimeout(r(n),e>>>0)}function tn(n,e){const t=m(n,e);return i(t)}function rn(n,e){const t=new Error(m(n,e));return i(t)}function _n(n){const e=r(n);return i(e)}function on(n){return r(n)===void 0}function cn(){return l(function(n,e){return Reflect.has(r(n),r(e))},arguments)}function un(){return l(function(n,e){const t=JSON.parse(m(n,e));return i(t)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){g(n)}function bn(n){return r(n).now()}function gn(){return Date.now()}function ln(n){const e=Object.keys(r(n));return i(e)}function dn(n){return r(n).length}function wn(n){let e;try{e=r(n)instanceof Promise}catch{e=!1}return e}function pn(n){const e=r(n);return typeof e=="object"&&e!==null}function xn(){return i(Symbol.iterator)}function mn(n){const e=r(n);return typeof e=="boolean"?e?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,e){const t=r(e),_=typeof t=="number"?t:void 0;d().setFloat64(n+8*1,x(_)?0:_,!0),d().setInt32(n+4*0,!x(_),!0)}function Tn(n){return i(n)}function In(n,e){return r(n)in r(e)}function Sn(n){const e=BigInt.asUintN(64,n);return i(e)}function jn(n,e){return r(n)===r(e)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,e,t){r(n)[e>>>0]=g(t)}function kn(){return i(new Map)}function En(){const n=new Object;return i(n)}function vn(n,e,t){const _=r(n).set(r(e),r(t));return i(_)}function Fn(n){return typeof r(n)=="string"}function Rn(n,e,t){r(n)[g(e)]=g(t)}function Dn(n,e){const t=r(n)[r(e)];return i(t)}function Mn(n,e){return r(n).push(r(e))}function Un(n,e,t,_){const c=new RegExp(m(n,e),m(t,_));return i(c)}function Bn(n,e,t){const _=r(n).exec(m(e,t));return x(_)?0:i(_)}function Nn(){return l(function(n,e){const t=r(n)[g(e)];return i(t)},arguments)}function Cn(n,e){const t=String(r(e)),_=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,_,!0)}function $n(){const n=o.memory;return i(n)}function Vn(n){const e=r(n).buffer;return i(e)}function zn(n,e,t){const _=new Uint8Array(r(n),e>>>0,t>>>0);return i(_)}function Ln(n){const e=new Uint8Array(r(n));return i(e)}function Pn(n,e,t){const _=r(n).subarray(e>>>0,t>>>0);return i(_)}function Wn(){return l(function(n,e){r(n).getRandomValues(r(e))},arguments)}function Jn(){return l(function(n,e){r(n).randomFillSync(g(e))},arguments)}function Qn(n){const e=r(n).crypto;return i(e)}function Hn(n){const e=r(n).process;return i(e)}function Gn(n){const e=r(n).versions;return i(e)}function Kn(n){const e=r(n).node;return i(e)}function Xn(){return l(function(){const n=module.require;return i(n)},arguments)}function Yn(n){const e=r(n).msCrypto;return i(e)}function Zn(n){const e=new Uint8Array(n>>>0);return i(e)}function ne(n){return typeof r(n)=="function"}function ee(){return l(function(n,e){const t=r(n).call(r(e));return i(t)},arguments)}function te(n,e){const t=r(n)[e>>>0];return i(t)}function re(n){return r(n).valueOf()}function _e(){return l(function(n){const e=r(n).next();return i(e)},arguments)}function oe(n){return r(n).done}function ce(n){const e=r(n).value;return i(e)}function ie(n){const e=r(n).next;return i(e)}function ue(){return l(function(n,e){const t=Reflect.get(r(n),r(e));return i(t)},arguments)}function se(){return l(function(){const n=self.self;return i(n)},arguments)}function fe(){return l(function(){const n=window.window;return i(n)},arguments)}function ae(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function be(){return l(function(){const n=global.global;return i(n)},arguments)}function ge(n,e){const t=new S(m(n,e));return i(t)}function le(n){return Array.isArray(r(n))}function de(){return l(function(n,e,t){const _=r(n).call(r(e),r(t));return i(_)},arguments)}function we(n){return Number.isSafeInteger(r(n))}function pe(){return l(function(n,e,t){return Reflect.set(r(n),r(e),r(t))},arguments)}function xe(){return l(function(n){const e=JSON.stringify(r(n));return i(e)},arguments)}function me(n,e,t){r(n).set(r(e),t>>>0)}function ye(n){return r(n).length}function he(){return l(function(){return Date.now()},arguments)}function Te(n,e){return r(n)==r(e)}function Ie(n){let e;try{e=r(n)instanceof Uint8Array}catch{e=!1}return e}function Se(n){let e;try{e=r(n)instanceof ArrayBuffer}catch{e=!1}return e}function je(n){const e=Object.entries(r(n));return i(e)}function Ae(n,e){throw new Error(m(n,e))}function Oe(n,e){const t=r(e),_=typeof t=="bigint"?t:void 0;d().setBigInt64(n+8*1,x(_)?BigInt(0):_,!0),d().setInt32(n+4*0,!x(_),!0)}function qe(n,e){const t=k(r(e)),_=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,_,!0)}function ke(n){const e=g(n).original;return e.cnt--==1?(e.a=0,!0):!1}function Ee(n,e){const t=r(n).then(r(e));return i(t)}function ve(n,e,t){const _=r(n).then(r(e),r(t));return i(_)}function Fe(n){const e=Promise.resolve(r(n));return i(e)}function Re(n,e,t){const _=Q(n,e,553,H);return i(_)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_exec_a29a4ce5544bd3be,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_13847c66f41dda63,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7296,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
1
+ "use strict";var q=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(n,e)=>{for(var t in e)q(n,t,{get:e[t],enumerable:!0})},$=(n,e,t,_)=>{if(e&&typeof e=="object"||typeof e=="function")for(let c of B(e))!N.call(n,c)&&c!==t&&q(n,c,{get:()=>e[c],enumerable:!(_=U(e,c))||_.enumerable});return n};var V=n=>$(q({},"__esModule",{value:!0}),n);var De={};C(De,{QueryEngine:()=>Y,__wbg_String_88810dfeb4021902:()=>Cn,__wbg_buffer_b7b08af79b0b0974:()=>Vn,__wbg_call_1084a111329e68ce:()=>ee,__wbg_call_89af060b4e1523f2:()=>de,__wbg_crypto_58f13aa23ffcb166:()=>Qn,__wbg_done_bfda7aa8f252b39f:()=>oe,__wbg_entries_7a0e06255456ebcd:()=>je,__wbg_exec_a29a4ce5544bd3be:()=>Bn,__wbg_getRandomValues_504510b5564925af:()=>Wn,__wbg_getTime_91058879093a1589:()=>fn,__wbg_get_224d16597dbbfd96:()=>ue,__wbg_get_3baa728f9d58d3f6:()=>te,__wbg_get_94990005bd6ca07c:()=>Nn,__wbg_getwithrefkey_5e6d9547403deab8:()=>Dn,__wbg_globalThis_86b222e13bdf32ed:()=>ae,__wbg_global_e5a3fe56f8be9485:()=>be,__wbg_has_4bfbc01db38743f7:()=>cn,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>Se,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>wn,__wbg_instanceof_Uint8Array_247a91427532499e:()=>Ie,__wbg_isArray_8364a5371e9737d8:()=>le,__wbg_isSafeInteger_7f1ed56200d90674:()=>we,__wbg_iterator_888179a48810a9fe:()=>xn,__wbg_keys_7840ae453e408eab:()=>ln,__wbg_length_8339fcf5d8ecd12e:()=>ye,__wbg_length_ae22078168b726f5:()=>dn,__wbg_msCrypto_abcb1295e768d1f2:()=>Yn,__wbg_new0_65387337a95cf44d:()=>sn,__wbg_new_13847c66f41dda63:()=>Un,__wbg_new_525245e2b9901204:()=>En,__wbg_new_8608a2b51a5f6737:()=>kn,__wbg_new_a220cf903aa02ca2:()=>On,__wbg_new_b85e72ed1bfd57f9:()=>nn,__wbg_new_ea1883e1e5e86686:()=>Ln,__wbg_newnoargs_76313bd6ff35d0f2:()=>ge,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>zn,__wbg_newwithlength_ec548f448387c968:()=>Zn,__wbg_next_de3e9db4440638b2:()=>ie,__wbg_next_f9cb570345655b9a:()=>_e,__wbg_node_523d7bd03ef69fba:()=>Kn,__wbg_now_28a6b413aca4a96a:()=>he,__wbg_now_8ed1a4454e40ecd1:()=>bn,__wbg_now_b7a162010a9e75b4:()=>gn,__wbg_parse_52202f117ec9ecfa:()=>un,__wbg_process_5b786e71d465a513:()=>Hn,__wbg_push_37c89022f34c01ca:()=>Mn,__wbg_randomFillSync_a0d98aa11c81fe89:()=>Jn,__wbg_require_2784e593a4674877:()=>Xn,__wbg_resolve_570458cb99d56a43:()=>Fe,__wbg_self_3093d5d1f7bcb682:()=>se,__wbg_setTimeout_631fe61f31fa2fad:()=>en,__wbg_set_49185437f0ab06f8:()=>vn,__wbg_set_673dda6c73d19609:()=>qn,__wbg_set_841ac57cff3d672b:()=>Rn,__wbg_set_d1e79e2388520f18:()=>me,__wbg_set_eacc7d73fefaafdf:()=>pe,__wbg_set_wasm:()=>z,__wbg_stringify_bbf45426c92a6bf5:()=>xe,__wbg_subarray_7c2e3576afe181d1:()=>Pn,__wbg_then_876bb3c633745cc6:()=>ve,__wbg_then_95e6edc0f89b73b1:()=>Ee,__wbg_valueOf_c759749a331da0c0:()=>re,__wbg_value_6d39332ab4788d86:()=>ce,__wbg_versions_c2ab80650590b6a2:()=>Gn,__wbg_window_3bcfc4d31bc012f8:()=>fe,__wbindgen_bigint_from_i64:()=>Tn,__wbindgen_bigint_from_u64:()=>Sn,__wbindgen_bigint_get_as_i64:()=>Oe,__wbindgen_boolean_get:()=>mn,__wbindgen_cb_drop:()=>ke,__wbindgen_closure_wrapper7295:()=>Re,__wbindgen_debug_string:()=>qe,__wbindgen_error_new:()=>rn,__wbindgen_in:()=>In,__wbindgen_is_bigint:()=>yn,__wbindgen_is_function:()=>ne,__wbindgen_is_object:()=>pn,__wbindgen_is_string:()=>Fn,__wbindgen_is_undefined:()=>on,__wbindgen_jsval_eq:()=>jn,__wbindgen_jsval_loose_eq:()=>Te,__wbindgen_memory:()=>$n,__wbindgen_number_get:()=>hn,__wbindgen_number_new:()=>An,__wbindgen_object_clone_ref:()=>_n,__wbindgen_object_drop_ref:()=>an,__wbindgen_string_get:()=>Z,__wbindgen_string_new:()=>tn,__wbindgen_throw:()=>Ae,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=V(De);var S=()=>{};S.prototype=S;let o;function z(n){o=n}const p=new Array(128).fill(void 0);p.push(void 0,null,!0,!1);function r(n){return p[n]}let a=0,j=null;function A(){return(j===null||j.byteLength===0)&&(j=new Uint8Array(o.memory.buffer)),j}const L=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let O=new L("utf-8");const P=typeof O.encodeInto=="function"?function(n,e){return O.encodeInto(n,e)}:function(n,e){const t=O.encode(n);return e.set(t),{read:n.length,written:t.length}};function b(n,e,t){if(t===void 0){const s=O.encode(n),w=e(s.length,1)>>>0;return A().subarray(w,w+s.length).set(s),a=s.length,w}let _=n.length,c=e(_,1)>>>0;const f=A();let u=0;for(;u<_;u++){const s=n.charCodeAt(u);if(s>127)break;f[c+u]=s}if(u!==_){u!==0&&(n=n.slice(u)),c=t(c,_,_=u+n.length*3,1)>>>0;const s=A().subarray(c+u,c+_),w=P(n,s);u+=w.written,c=t(c,_,u,1)>>>0}return a=u,c}function x(n){return n==null}let T=null;function d(){return(T===null||T.buffer.detached===!0||T.buffer.detached===void 0&&T.buffer!==o.memory.buffer)&&(T=new DataView(o.memory.buffer)),T}const W=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let E=new W("utf-8",{ignoreBOM:!0,fatal:!0});E.decode();function m(n,e){return n=n>>>0,E.decode(A().subarray(n,n+e))}let I=p.length;function i(n){I===p.length&&p.push(p.length+1);const e=I;return I=p[e],p[e]=n,e}function J(n){n<132||(p[n]=I,I=n)}function g(n){const e=r(n);return J(n),e}function k(n){const e=typeof n;if(e=="number"||e=="boolean"||n==null)return`${n}`;if(e=="string")return`"${n}"`;if(e=="symbol"){const c=n.description;return c==null?"Symbol":`Symbol(${c})`}if(e=="function"){const c=n.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(n)){const c=n.length;let f="[";c>0&&(f+=k(n[0]));for(let u=1;u<c;u++)f+=", "+k(n[u]);return f+="]",f}const t=/\[object ([^\]]+)\]/.exec(toString.call(n));let _;if(t.length>1)_=t[1];else return toString.call(n);if(_=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
2
+ ${n.stack}`:_}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{o.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,e,t,_){const c={a:n,b:e,cnt:1,dtor:t},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return _(s,c.b,...u)}finally{--c.cnt===0?(o.__wbindgen_export_2.get(c.dtor)(s,c.b),v.unregister(c)):c.a=s}};return f.original=c,v.register(f,c,c),f}function H(n,e,t){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,e,i(t))}function G(){const n=o.getBuildTimeInfo();return g(n)}function K(n){try{const f=o.__wbindgen_add_to_stack_pointer(-16);var e=x(n)?0:b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),t=a;o.debug_panic(f,e,t);var _=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(_)}finally{o.__wbindgen_add_to_stack_pointer(16)}}function l(n,e){try{return n.apply(this,e)}catch(t){o.__wbindgen_exn_store(i(t))}}function X(n,e,t,_){o.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,e,i(t),i(_))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>o.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),e}free(){const e=this.__destroy_into_raw();o.__wbg_queryengine_free(e,0)}constructor(e,t,_){try{const s=o.__wbindgen_add_to_stack_pointer(-16);o.queryengine_new(s,i(e),i(t),i(_));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{o.__wbindgen_add_to_stack_pointer(16)}}connect(e,t){const _=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a,f=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=o.queryengine_connect(this.__wbg_ptr,_,c,f,u);return g(s)}disconnect(e,t){const _=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a,f=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=o.queryengine_disconnect(this.__wbg_ptr,_,c,f,u);return g(s)}query(e,t,_,c){const f=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),u=a,s=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),w=a;var y=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),h=a;const R=b(c,o.__wbindgen_malloc,o.__wbindgen_realloc),D=a,M=o.queryengine_query(this.__wbg_ptr,f,u,s,w,y,h,R,D);return g(M)}startTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}commitTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}rollbackTransaction(e,t,_){const c=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a,u=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),s=a,w=b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),y=a,h=o.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,y);return g(h)}metrics(e){const t=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_metrics(this.__wbg_ptr,t,_);return g(c)}trace(e){const t=b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_trace(this.__wbg_ptr,t,_);return g(c)}}function Z(n,e){const t=r(e),_=typeof t=="string"?t:void 0;var c=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,e){try{var t={a:n,b:e},_=(f,u)=>{const s=t.a;t.a=0;try{return X(s,t.b,f,u)}finally{t.a=s}};const c=new Promise(_);return i(c)}finally{t.a=t.b=0}}function en(n,e){return setTimeout(r(n),e>>>0)}function tn(n,e){const t=m(n,e);return i(t)}function rn(n,e){const t=new Error(m(n,e));return i(t)}function _n(n){const e=r(n);return i(e)}function on(n){return r(n)===void 0}function cn(){return l(function(n,e){return Reflect.has(r(n),r(e))},arguments)}function un(){return l(function(n,e){const t=JSON.parse(m(n,e));return i(t)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){g(n)}function bn(n){return r(n).now()}function gn(){return Date.now()}function ln(n){const e=Object.keys(r(n));return i(e)}function dn(n){return r(n).length}function wn(n){let e;try{e=r(n)instanceof Promise}catch{e=!1}return e}function pn(n){const e=r(n);return typeof e=="object"&&e!==null}function xn(){return i(Symbol.iterator)}function mn(n){const e=r(n);return typeof e=="boolean"?e?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,e){const t=r(e),_=typeof t=="number"?t:void 0;d().setFloat64(n+8*1,x(_)?0:_,!0),d().setInt32(n+4*0,!x(_),!0)}function Tn(n){return i(n)}function In(n,e){return r(n)in r(e)}function Sn(n){const e=BigInt.asUintN(64,n);return i(e)}function jn(n,e){return r(n)===r(e)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,e,t){r(n)[e>>>0]=g(t)}function kn(){return i(new Map)}function En(){const n=new Object;return i(n)}function vn(n,e,t){const _=r(n).set(r(e),r(t));return i(_)}function Fn(n){return typeof r(n)=="string"}function Rn(n,e,t){r(n)[g(e)]=g(t)}function Dn(n,e){const t=r(n)[r(e)];return i(t)}function Mn(n,e){return r(n).push(r(e))}function Un(n,e,t,_){const c=new RegExp(m(n,e),m(t,_));return i(c)}function Bn(n,e,t){const _=r(n).exec(m(e,t));return x(_)?0:i(_)}function Nn(){return l(function(n,e){const t=r(n)[g(e)];return i(t)},arguments)}function Cn(n,e){const t=String(r(e)),_=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,_,!0)}function $n(){const n=o.memory;return i(n)}function Vn(n){const e=r(n).buffer;return i(e)}function zn(n,e,t){const _=new Uint8Array(r(n),e>>>0,t>>>0);return i(_)}function Ln(n){const e=new Uint8Array(r(n));return i(e)}function Pn(n,e,t){const _=r(n).subarray(e>>>0,t>>>0);return i(_)}function Wn(){return l(function(n,e){r(n).getRandomValues(r(e))},arguments)}function Jn(){return l(function(n,e){r(n).randomFillSync(g(e))},arguments)}function Qn(n){const e=r(n).crypto;return i(e)}function Hn(n){const e=r(n).process;return i(e)}function Gn(n){const e=r(n).versions;return i(e)}function Kn(n){const e=r(n).node;return i(e)}function Xn(){return l(function(){const n=module.require;return i(n)},arguments)}function Yn(n){const e=r(n).msCrypto;return i(e)}function Zn(n){const e=new Uint8Array(n>>>0);return i(e)}function ne(n){return typeof r(n)=="function"}function ee(){return l(function(n,e){const t=r(n).call(r(e));return i(t)},arguments)}function te(n,e){const t=r(n)[e>>>0];return i(t)}function re(n){return r(n).valueOf()}function _e(){return l(function(n){const e=r(n).next();return i(e)},arguments)}function oe(n){return r(n).done}function ce(n){const e=r(n).value;return i(e)}function ie(n){const e=r(n).next;return i(e)}function ue(){return l(function(n,e){const t=Reflect.get(r(n),r(e));return i(t)},arguments)}function se(){return l(function(){const n=self.self;return i(n)},arguments)}function fe(){return l(function(){const n=window.window;return i(n)},arguments)}function ae(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function be(){return l(function(){const n=global.global;return i(n)},arguments)}function ge(n,e){const t=new S(m(n,e));return i(t)}function le(n){return Array.isArray(r(n))}function de(){return l(function(n,e,t){const _=r(n).call(r(e),r(t));return i(_)},arguments)}function we(n){return Number.isSafeInteger(r(n))}function pe(){return l(function(n,e,t){return Reflect.set(r(n),r(e),r(t))},arguments)}function xe(){return l(function(n){const e=JSON.stringify(r(n));return i(e)},arguments)}function me(n,e,t){r(n).set(r(e),t>>>0)}function ye(n){return r(n).length}function he(){return l(function(){return Date.now()},arguments)}function Te(n,e){return r(n)==r(e)}function Ie(n){let e;try{e=r(n)instanceof Uint8Array}catch{e=!1}return e}function Se(n){let e;try{e=r(n)instanceof ArrayBuffer}catch{e=!1}return e}function je(n){const e=Object.entries(r(n));return i(e)}function Ae(n,e){throw new Error(m(n,e))}function Oe(n,e){const t=r(e),_=typeof t=="bigint"?t:void 0;d().setBigInt64(n+8*1,x(_)?BigInt(0):_,!0),d().setInt32(n+4*0,!x(_),!0)}function qe(n,e){const t=k(r(e)),_=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,_,!0)}function ke(n){const e=g(n).original;return e.cnt--==1?(e.a=0,!0):!1}function Ee(n,e){const t=r(n).then(r(e));return i(t)}function ve(n,e,t){const _=r(n).then(r(e),r(t));return i(_)}function Fe(n){const e=Promise.resolve(r(n));return i(e)}function Re(n,e,t){const _=Q(n,e,553,H);return i(_)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_exec_a29a4ce5544bd3be,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_13847c66f41dda63,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7295,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
@@ -1,2 +1,2 @@
1
- "use strict";var q=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(n,t)=>{for(var e in t)q(n,e,{get:t[e],enumerable:!0})},$=(n,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of B(t))!N.call(n,c)&&c!==e&&q(n,c,{get:()=>t[c],enumerable:!(o=U(t,c))||o.enumerable});return n};var V=n=>$(q({},"__esModule",{value:!0}),n);var Ft={};C(Ft,{QueryEngine:()=>Y,__wbg_String_88810dfeb4021902:()=>Bn,__wbg_buffer_b7b08af79b0b0974:()=>Cn,__wbg_call_1084a111329e68ce:()=>Zn,__wbg_call_89af060b4e1523f2:()=>gt,__wbg_crypto_58f13aa23ffcb166:()=>Wn,__wbg_done_bfda7aa8f252b39f:()=>rt,__wbg_entries_7a0e06255456ebcd:()=>It,__wbg_getRandomValues_504510b5564925af:()=>Ln,__wbg_getTime_91058879093a1589:()=>fn,__wbg_get_224d16597dbbfd96:()=>ct,__wbg_get_3baa728f9d58d3f6:()=>nt,__wbg_get_94990005bd6ca07c:()=>Un,__wbg_getwithrefkey_5e6d9547403deab8:()=>Dn,__wbg_globalThis_86b222e13bdf32ed:()=>st,__wbg_global_e5a3fe56f8be9485:()=>ft,__wbg_has_4bfbc01db38743f7:()=>cn,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>Tt,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>wn,__wbg_instanceof_Uint8Array_247a91427532499e:()=>ht,__wbg_isArray_8364a5371e9737d8:()=>bt,__wbg_isSafeInteger_7f1ed56200d90674:()=>lt,__wbg_iterator_888179a48810a9fe:()=>xn,__wbg_keys_7840ae453e408eab:()=>gn,__wbg_length_8339fcf5d8ecd12e:()=>xt,__wbg_length_ae22078168b726f5:()=>ln,__wbg_msCrypto_abcb1295e768d1f2:()=>Kn,__wbg_new0_65387337a95cf44d:()=>sn,__wbg_new_525245e2b9901204:()=>vn,__wbg_new_8608a2b51a5f6737:()=>kn,__wbg_new_a220cf903aa02ca2:()=>On,__wbg_new_b85e72ed1bfd57f9:()=>nn,__wbg_new_ea1883e1e5e86686:()=>Vn,__wbg_newnoargs_76313bd6ff35d0f2:()=>at,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>$n,__wbg_newwithlength_ec548f448387c968:()=>Xn,__wbg_next_de3e9db4440638b2:()=>ot,__wbg_next_f9cb570345655b9a:()=>et,__wbg_node_523d7bd03ef69fba:()=>Hn,__wbg_now_28a6b413aca4a96a:()=>mt,__wbg_now_8ed1a4454e40ecd1:()=>an,__wbg_now_b7a162010a9e75b4:()=>bn,__wbg_parse_52202f117ec9ecfa:()=>un,__wbg_process_5b786e71d465a513:()=>Jn,__wbg_push_37c89022f34c01ca:()=>Mn,__wbg_randomFillSync_a0d98aa11c81fe89:()=>Pn,__wbg_require_2784e593a4674877:()=>Gn,__wbg_resolve_570458cb99d56a43:()=>vt,__wbg_self_3093d5d1f7bcb682:()=>it,__wbg_setTimeout_631fe61f31fa2fad:()=>tn,__wbg_set_49185437f0ab06f8:()=>En,__wbg_set_673dda6c73d19609:()=>qn,__wbg_set_841ac57cff3d672b:()=>Rn,__wbg_set_d1e79e2388520f18:()=>pt,__wbg_set_eacc7d73fefaafdf:()=>dt,__wbg_set_wasm:()=>z,__wbg_stringify_bbf45426c92a6bf5:()=>wt,__wbg_subarray_7c2e3576afe181d1:()=>zn,__wbg_then_876bb3c633745cc6:()=>kt,__wbg_then_95e6edc0f89b73b1:()=>qt,__wbg_valueOf_c759749a331da0c0:()=>tt,__wbg_value_6d39332ab4788d86:()=>_t,__wbg_versions_c2ab80650590b6a2:()=>Qn,__wbg_window_3bcfc4d31bc012f8:()=>ut,__wbindgen_bigint_from_i64:()=>Tn,__wbindgen_bigint_from_u64:()=>Sn,__wbindgen_bigint_get_as_i64:()=>jt,__wbindgen_boolean_get:()=>mn,__wbindgen_cb_drop:()=>Ot,__wbindgen_closure_wrapper6974:()=>Et,__wbindgen_debug_string:()=>At,__wbindgen_error_new:()=>rn,__wbindgen_in:()=>In,__wbindgen_is_bigint:()=>yn,__wbindgen_is_function:()=>Yn,__wbindgen_is_object:()=>pn,__wbindgen_is_string:()=>Fn,__wbindgen_is_undefined:()=>on,__wbindgen_jsval_eq:()=>jn,__wbindgen_jsval_loose_eq:()=>yt,__wbindgen_memory:()=>Nn,__wbindgen_number_get:()=>hn,__wbindgen_number_new:()=>An,__wbindgen_object_clone_ref:()=>_n,__wbindgen_object_drop_ref:()=>dn,__wbindgen_string_get:()=>Z,__wbindgen_string_new:()=>en,__wbindgen_throw:()=>St,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=V(Ft);var S=()=>{};S.prototype=S;let _;function z(n){_=n}const p=new Array(128).fill(void 0);p.push(void 0,null,!0,!1);function r(n){return p[n]}let a=0,j=null;function A(){return(j===null||j.byteLength===0)&&(j=new Uint8Array(_.memory.buffer)),j}const L=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let O=new L("utf-8");const P=typeof O.encodeInto=="function"?function(n,t){return O.encodeInto(n,t)}:function(n,t){const e=O.encode(n);return t.set(e),{read:n.length,written:e.length}};function b(n,t,e){if(e===void 0){const s=O.encode(n),w=t(s.length,1)>>>0;return A().subarray(w,w+s.length).set(s),a=s.length,w}let o=n.length,c=t(o,1)>>>0;const f=A();let u=0;for(;u<o;u++){const s=n.charCodeAt(u);if(s>127)break;f[c+u]=s}if(u!==o){u!==0&&(n=n.slice(u)),c=e(c,o,o=u+n.length*3,1)>>>0;const s=A().subarray(c+u,c+o),w=P(n,s);u+=w.written,c=e(c,o,u,1)>>>0}return a=u,c}function y(n){return n==null}let h=null;function d(){return(h===null||h.buffer.detached===!0||h.buffer.detached===void 0&&h.buffer!==_.memory.buffer)&&(h=new DataView(_.memory.buffer)),h}const W=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let v=new W("utf-8",{ignoreBOM:!0,fatal:!0});v.decode();function T(n,t){return n=n>>>0,v.decode(A().subarray(n,n+t))}let I=p.length;function i(n){I===p.length&&p.push(p.length+1);const t=I;return I=p[t],p[t]=n,t}function J(n){n<132||(p[n]=I,I=n)}function g(n){const t=r(n);return J(n),t}function k(n){const t=typeof n;if(t=="number"||t=="boolean"||n==null)return`${n}`;if(t=="string")return`"${n}"`;if(t=="symbol"){const c=n.description;return c==null?"Symbol":`Symbol(${c})`}if(t=="function"){const c=n.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(n)){const c=n.length;let f="[";c>0&&(f+=k(n[0]));for(let u=1;u<c;u++)f+=", "+k(n[u]);return f+="]",f}const e=/\[object ([^\]]+)\]/.exec(toString.call(n));let o;if(e.length>1)o=e[1];else return toString.call(n);if(o=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
2
- ${n.stack}`:o}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{_.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const c={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return o(s,c.b,...u)}finally{--c.cnt===0?(_.__wbindgen_export_2.get(c.dtor)(s,c.b),E.unregister(c)):c.a=s}};return f.original=c,E.register(f,c,c),f}function H(n,t,e){_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,t,i(e))}function G(){const n=_.getBuildTimeInfo();return g(n)}function K(n){try{const f=_.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),e=a;_.debug_panic(f,t,e);var o=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function l(n,t){try{return n.apply(this,t)}catch(e){_.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){_.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,t,i(e),i(o))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>_.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}constructor(t,e,o){try{const s=_.__wbindgen_add_to_stack_pointer(-16);_.queryengine_new(s,i(t),i(e),i(o));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}connect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_connect(this.__wbg_ptr,o,c,f,u);return g(s)}disconnect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_disconnect(this.__wbg_ptr,o,c,f,u);return g(s)}query(t,e,o,c){const f=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),w=a;var x=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),m=a;const R=b(c,_.__wbindgen_malloc,_.__wbindgen_realloc),D=a,M=_.queryengine_query(this.__wbg_ptr,f,u,s,w,x,m,R,D);return g(M)}startTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}commitTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}rollbackTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}metrics(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_metrics(this.__wbg_ptr,e,o);return g(c)}trace(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_trace(this.__wbg_ptr,e,o);return g(c)}}function Z(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var c=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const c=new Promise(o);return i(c)}finally{e.a=e.b=0}}function tn(n,t){return setTimeout(r(n),t>>>0)}function en(n,t){const e=T(n,t);return i(e)}function rn(n,t){const e=new Error(T(n,t));return i(e)}function _n(n){const t=r(n);return i(t)}function on(n){return r(n)===void 0}function cn(){return l(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function un(){return l(function(n,t){const e=JSON.parse(T(n,t));return i(e)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){return r(n).now()}function bn(){return Date.now()}function gn(n){const t=Object.keys(r(n));return i(t)}function ln(n){return r(n).length}function dn(n){g(n)}function wn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function pn(n){const t=r(n);return typeof t=="object"&&t!==null}function xn(){return i(Symbol.iterator)}function mn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;d().setFloat64(n+8*1,y(o)?0:o,!0),d().setInt32(n+4*0,!y(o),!0)}function Tn(n){return i(n)}function In(n,t){return r(n)in r(t)}function Sn(n){const t=BigInt.asUintN(64,n);return i(t)}function jn(n,t){return r(n)===r(t)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=g(e)}function kn(){return i(new Map)}function vn(){const n=new Object;return i(n)}function En(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function Fn(n){return typeof r(n)=="string"}function Rn(n,t,e){r(n)[g(t)]=g(e)}function Dn(n,t){const e=r(n)[r(t)];return i(e)}function Mn(n,t){return r(n).push(r(t))}function Un(){return l(function(n,t){const e=r(n)[g(t)];return i(e)},arguments)}function Bn(n,t){const e=String(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Nn(){const n=_.memory;return i(n)}function Cn(n){const t=r(n).buffer;return i(t)}function $n(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Vn(n){const t=new Uint8Array(r(n));return i(t)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Ln(){return l(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Pn(){return l(function(n,t){r(n).randomFillSync(g(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Qn(n){const t=r(n).versions;return i(t)}function Hn(n){const t=r(n).node;return i(t)}function Gn(){return l(function(){const n=module.require;return i(n)},arguments)}function Kn(n){const t=r(n).msCrypto;return i(t)}function Xn(n){const t=new Uint8Array(n>>>0);return i(t)}function Yn(n){return typeof r(n)=="function"}function Zn(){return l(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return l(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function _t(n){const t=r(n).value;return i(t)}function ot(n){const t=r(n).next;return i(t)}function ct(){return l(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return l(function(){const n=self.self;return i(n)},arguments)}function ut(){return l(function(){const n=window.window;return i(n)},arguments)}function st(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return l(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new S(T(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return l(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return l(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return l(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function xt(n){return r(n).length}function mt(){return l(function(){return Date.now()},arguments)}function yt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function It(n){const t=Object.entries(r(n));return i(t)}function St(n,t){throw new Error(T(n,t))}function jt(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;d().setBigInt64(n+8*1,y(o)?BigInt(0):o,!0),d().setInt32(n+4*0,!y(o),!0)}function At(n,t){const e=k(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Ot(n){const t=g(n).original;return t.cnt--==1?(t.a=0,!0):!1}function qt(n,t){const e=r(n).then(r(t));return i(e)}function kt(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function vt(n){const t=Promise.resolve(r(n));return i(t)}function Et(n,t,e){const o=Q(n,t,541,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper6974,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
1
+ "use strict";var q=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(n,t)=>{for(var e in t)q(n,e,{get:t[e],enumerable:!0})},$=(n,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of B(t))!N.call(n,c)&&c!==e&&q(n,c,{get:()=>t[c],enumerable:!(o=U(t,c))||o.enumerable});return n};var V=n=>$(q({},"__esModule",{value:!0}),n);var Ft={};C(Ft,{QueryEngine:()=>Y,__wbg_String_88810dfeb4021902:()=>Bn,__wbg_buffer_b7b08af79b0b0974:()=>Cn,__wbg_call_1084a111329e68ce:()=>Zn,__wbg_call_89af060b4e1523f2:()=>gt,__wbg_crypto_58f13aa23ffcb166:()=>Wn,__wbg_done_bfda7aa8f252b39f:()=>rt,__wbg_entries_7a0e06255456ebcd:()=>It,__wbg_getRandomValues_504510b5564925af:()=>Ln,__wbg_getTime_91058879093a1589:()=>fn,__wbg_get_224d16597dbbfd96:()=>ct,__wbg_get_3baa728f9d58d3f6:()=>nt,__wbg_get_94990005bd6ca07c:()=>Un,__wbg_getwithrefkey_5e6d9547403deab8:()=>Dn,__wbg_globalThis_86b222e13bdf32ed:()=>st,__wbg_global_e5a3fe56f8be9485:()=>ft,__wbg_has_4bfbc01db38743f7:()=>cn,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>Tt,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>wn,__wbg_instanceof_Uint8Array_247a91427532499e:()=>ht,__wbg_isArray_8364a5371e9737d8:()=>bt,__wbg_isSafeInteger_7f1ed56200d90674:()=>lt,__wbg_iterator_888179a48810a9fe:()=>xn,__wbg_keys_7840ae453e408eab:()=>gn,__wbg_length_8339fcf5d8ecd12e:()=>xt,__wbg_length_ae22078168b726f5:()=>ln,__wbg_msCrypto_abcb1295e768d1f2:()=>Kn,__wbg_new0_65387337a95cf44d:()=>sn,__wbg_new_525245e2b9901204:()=>vn,__wbg_new_8608a2b51a5f6737:()=>kn,__wbg_new_a220cf903aa02ca2:()=>On,__wbg_new_b85e72ed1bfd57f9:()=>nn,__wbg_new_ea1883e1e5e86686:()=>Vn,__wbg_newnoargs_76313bd6ff35d0f2:()=>at,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>$n,__wbg_newwithlength_ec548f448387c968:()=>Xn,__wbg_next_de3e9db4440638b2:()=>ot,__wbg_next_f9cb570345655b9a:()=>et,__wbg_node_523d7bd03ef69fba:()=>Hn,__wbg_now_28a6b413aca4a96a:()=>mt,__wbg_now_8ed1a4454e40ecd1:()=>an,__wbg_now_b7a162010a9e75b4:()=>bn,__wbg_parse_52202f117ec9ecfa:()=>un,__wbg_process_5b786e71d465a513:()=>Jn,__wbg_push_37c89022f34c01ca:()=>Mn,__wbg_randomFillSync_a0d98aa11c81fe89:()=>Pn,__wbg_require_2784e593a4674877:()=>Gn,__wbg_resolve_570458cb99d56a43:()=>vt,__wbg_self_3093d5d1f7bcb682:()=>it,__wbg_setTimeout_631fe61f31fa2fad:()=>tn,__wbg_set_49185437f0ab06f8:()=>En,__wbg_set_673dda6c73d19609:()=>qn,__wbg_set_841ac57cff3d672b:()=>Rn,__wbg_set_d1e79e2388520f18:()=>pt,__wbg_set_eacc7d73fefaafdf:()=>dt,__wbg_set_wasm:()=>z,__wbg_stringify_bbf45426c92a6bf5:()=>wt,__wbg_subarray_7c2e3576afe181d1:()=>zn,__wbg_then_876bb3c633745cc6:()=>kt,__wbg_then_95e6edc0f89b73b1:()=>qt,__wbg_valueOf_c759749a331da0c0:()=>tt,__wbg_value_6d39332ab4788d86:()=>_t,__wbg_versions_c2ab80650590b6a2:()=>Qn,__wbg_window_3bcfc4d31bc012f8:()=>ut,__wbindgen_bigint_from_i64:()=>Tn,__wbindgen_bigint_from_u64:()=>Sn,__wbindgen_bigint_get_as_i64:()=>jt,__wbindgen_boolean_get:()=>mn,__wbindgen_cb_drop:()=>Ot,__wbindgen_closure_wrapper6973:()=>Et,__wbindgen_debug_string:()=>At,__wbindgen_error_new:()=>rn,__wbindgen_in:()=>In,__wbindgen_is_bigint:()=>yn,__wbindgen_is_function:()=>Yn,__wbindgen_is_object:()=>pn,__wbindgen_is_string:()=>Fn,__wbindgen_is_undefined:()=>on,__wbindgen_jsval_eq:()=>jn,__wbindgen_jsval_loose_eq:()=>yt,__wbindgen_memory:()=>Nn,__wbindgen_number_get:()=>hn,__wbindgen_number_new:()=>An,__wbindgen_object_clone_ref:()=>_n,__wbindgen_object_drop_ref:()=>dn,__wbindgen_string_get:()=>Z,__wbindgen_string_new:()=>en,__wbindgen_throw:()=>St,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=V(Ft);var S=()=>{};S.prototype=S;let _;function z(n){_=n}const p=new Array(128).fill(void 0);p.push(void 0,null,!0,!1);function r(n){return p[n]}let a=0,j=null;function A(){return(j===null||j.byteLength===0)&&(j=new Uint8Array(_.memory.buffer)),j}const L=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let O=new L("utf-8");const P=typeof O.encodeInto=="function"?function(n,t){return O.encodeInto(n,t)}:function(n,t){const e=O.encode(n);return t.set(e),{read:n.length,written:e.length}};function b(n,t,e){if(e===void 0){const s=O.encode(n),w=t(s.length,1)>>>0;return A().subarray(w,w+s.length).set(s),a=s.length,w}let o=n.length,c=t(o,1)>>>0;const f=A();let u=0;for(;u<o;u++){const s=n.charCodeAt(u);if(s>127)break;f[c+u]=s}if(u!==o){u!==0&&(n=n.slice(u)),c=e(c,o,o=u+n.length*3,1)>>>0;const s=A().subarray(c+u,c+o),w=P(n,s);u+=w.written,c=e(c,o,u,1)>>>0}return a=u,c}function y(n){return n==null}let h=null;function d(){return(h===null||h.buffer.detached===!0||h.buffer.detached===void 0&&h.buffer!==_.memory.buffer)&&(h=new DataView(_.memory.buffer)),h}const W=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let v=new W("utf-8",{ignoreBOM:!0,fatal:!0});v.decode();function T(n,t){return n=n>>>0,v.decode(A().subarray(n,n+t))}let I=p.length;function i(n){I===p.length&&p.push(p.length+1);const t=I;return I=p[t],p[t]=n,t}function J(n){n<132||(p[n]=I,I=n)}function g(n){const t=r(n);return J(n),t}function k(n){const t=typeof n;if(t=="number"||t=="boolean"||n==null)return`${n}`;if(t=="string")return`"${n}"`;if(t=="symbol"){const c=n.description;return c==null?"Symbol":`Symbol(${c})`}if(t=="function"){const c=n.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(n)){const c=n.length;let f="[";c>0&&(f+=k(n[0]));for(let u=1;u<c;u++)f+=", "+k(n[u]);return f+="]",f}const e=/\[object ([^\]]+)\]/.exec(toString.call(n));let o;if(e.length>1)o=e[1];else return toString.call(n);if(o=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
2
+ ${n.stack}`:o}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{_.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const c={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{c.cnt++;const s=c.a;c.a=0;try{return o(s,c.b,...u)}finally{--c.cnt===0?(_.__wbindgen_export_2.get(c.dtor)(s,c.b),E.unregister(c)):c.a=s}};return f.original=c,E.register(f,c,c),f}function H(n,t,e){_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h92ff5ab9e3740637(n,t,i(e))}function G(){const n=_.getBuildTimeInfo();return g(n)}function K(n){try{const f=_.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),e=a;_.debug_panic(f,t,e);var o=d().getInt32(f+4*0,!0),c=d().getInt32(f+4*1,!0);if(c)throw g(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function l(n,t){try{return n.apply(this,t)}catch(e){_.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){_.wasm_bindgen__convert__closures__invoke2_mut__h2dd59201d446cc9a(n,t,i(e),i(o))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>_.__wbg_queryengine_free(n>>>0,1));class Y{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}constructor(t,e,o){try{const s=_.__wbindgen_add_to_stack_pointer(-16);_.queryengine_new(s,i(t),i(e),i(o));var c=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw g(f);return this.__wbg_ptr=c>>>0,F.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}connect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_connect(this.__wbg_ptr,o,c,f,u);return g(s)}disconnect(t,e){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a,f=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=_.queryengine_disconnect(this.__wbg_ptr,o,c,f,u);return g(s)}query(t,e,o,c){const f=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),u=a,s=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),w=a;var x=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),m=a;const R=b(c,_.__wbindgen_malloc,_.__wbindgen_realloc),D=a,M=_.queryengine_query(this.__wbg_ptr,f,u,s,w,x,m,R,D);return g(M)}startTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_startTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}commitTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_commitTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}rollbackTransaction(t,e,o){const c=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a,u=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),s=a,w=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),x=a,m=_.queryengine_rollbackTransaction(this.__wbg_ptr,c,f,u,s,w,x);return g(m)}metrics(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_metrics(this.__wbg_ptr,e,o);return g(c)}trace(t){const e=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=a,c=_.queryengine_trace(this.__wbg_ptr,e,o);return g(c)}}function Z(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var c=y(o)?0:b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),f=a;d().setInt32(n+4*1,f,!0),d().setInt32(n+4*0,c,!0)}function nn(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const c=new Promise(o);return i(c)}finally{e.a=e.b=0}}function tn(n,t){return setTimeout(r(n),t>>>0)}function en(n,t){const e=T(n,t);return i(e)}function rn(n,t){const e=new Error(T(n,t));return i(e)}function _n(n){const t=r(n);return i(t)}function on(n){return r(n)===void 0}function cn(){return l(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function un(){return l(function(n,t){const e=JSON.parse(T(n,t));return i(e)},arguments)}function sn(){return i(new Date)}function fn(n){return r(n).getTime()}function an(n){return r(n).now()}function bn(){return Date.now()}function gn(n){const t=Object.keys(r(n));return i(t)}function ln(n){return r(n).length}function dn(n){g(n)}function wn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function pn(n){const t=r(n);return typeof t=="object"&&t!==null}function xn(){return i(Symbol.iterator)}function mn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function yn(n){return typeof r(n)=="bigint"}function hn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;d().setFloat64(n+8*1,y(o)?0:o,!0),d().setInt32(n+4*0,!y(o),!0)}function Tn(n){return i(n)}function In(n,t){return r(n)in r(t)}function Sn(n){const t=BigInt.asUintN(64,n);return i(t)}function jn(n,t){return r(n)===r(t)}function An(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=g(e)}function kn(){return i(new Map)}function vn(){const n=new Object;return i(n)}function En(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function Fn(n){return typeof r(n)=="string"}function Rn(n,t,e){r(n)[g(t)]=g(e)}function Dn(n,t){const e=r(n)[r(t)];return i(e)}function Mn(n,t){return r(n).push(r(t))}function Un(){return l(function(n,t){const e=r(n)[g(t)];return i(e)},arguments)}function Bn(n,t){const e=String(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Nn(){const n=_.memory;return i(n)}function Cn(n){const t=r(n).buffer;return i(t)}function $n(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Vn(n){const t=new Uint8Array(r(n));return i(t)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Ln(){return l(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Pn(){return l(function(n,t){r(n).randomFillSync(g(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Qn(n){const t=r(n).versions;return i(t)}function Hn(n){const t=r(n).node;return i(t)}function Gn(){return l(function(){const n=module.require;return i(n)},arguments)}function Kn(n){const t=r(n).msCrypto;return i(t)}function Xn(n){const t=new Uint8Array(n>>>0);return i(t)}function Yn(n){return typeof r(n)=="function"}function Zn(){return l(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return l(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function _t(n){const t=r(n).value;return i(t)}function ot(n){const t=r(n).next;return i(t)}function ct(){return l(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return l(function(){const n=self.self;return i(n)},arguments)}function ut(){return l(function(){const n=window.window;return i(n)},arguments)}function st(){return l(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return l(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new S(T(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return l(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return l(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return l(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function xt(n){return r(n).length}function mt(){return l(function(){return Date.now()},arguments)}function yt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function It(n){const t=Object.entries(r(n));return i(t)}function St(n,t){throw new Error(T(n,t))}function jt(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;d().setBigInt64(n+8*1,y(o)?BigInt(0):o,!0),d().setInt32(n+4*0,!y(o),!0)}function At(n,t){const e=k(r(t)),o=b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),c=a;d().setInt32(n+4*1,c,!0),d().setInt32(n+4*0,o,!0)}function Ot(n){const t=g(n).original;return t.cnt--==1?(t.a=0,!0):!1}function qt(n,t){const e=r(n).then(r(t));return i(e)}function kt(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function vt(n){const t=Promise.resolve(r(n));return i(t)}function Et(n,t,e){const o=Q(n,t,541,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_b7b08af79b0b0974,__wbg_call_1084a111329e68ce,__wbg_call_89af060b4e1523f2,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bfda7aa8f252b39f,__wbg_entries_7a0e06255456ebcd,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_91058879093a1589,__wbg_get_224d16597dbbfd96,__wbg_get_3baa728f9d58d3f6,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_86b222e13bdf32ed,__wbg_global_e5a3fe56f8be9485,__wbg_has_4bfbc01db38743f7,__wbg_instanceof_ArrayBuffer_61dfc3198373c902,__wbg_instanceof_Promise_ae8c7ffdec83f2ae,__wbg_instanceof_Uint8Array_247a91427532499e,__wbg_isArray_8364a5371e9737d8,__wbg_isSafeInteger_7f1ed56200d90674,__wbg_iterator_888179a48810a9fe,__wbg_keys_7840ae453e408eab,__wbg_length_8339fcf5d8ecd12e,__wbg_length_ae22078168b726f5,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_65387337a95cf44d,__wbg_new_525245e2b9901204,__wbg_new_8608a2b51a5f6737,__wbg_new_a220cf903aa02ca2,__wbg_new_b85e72ed1bfd57f9,__wbg_new_ea1883e1e5e86686,__wbg_newnoargs_76313bd6ff35d0f2,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9,__wbg_newwithlength_ec548f448387c968,__wbg_next_de3e9db4440638b2,__wbg_next_f9cb570345655b9a,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_8ed1a4454e40ecd1,__wbg_now_b7a162010a9e75b4,__wbg_parse_52202f117ec9ecfa,__wbg_process_5b786e71d465a513,__wbg_push_37c89022f34c01ca,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_570458cb99d56a43,__wbg_self_3093d5d1f7bcb682,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_49185437f0ab06f8,__wbg_set_673dda6c73d19609,__wbg_set_841ac57cff3d672b,__wbg_set_d1e79e2388520f18,__wbg_set_eacc7d73fefaafdf,__wbg_set_wasm,__wbg_stringify_bbf45426c92a6bf5,__wbg_subarray_7c2e3576afe181d1,__wbg_then_876bb3c633745cc6,__wbg_then_95e6edc0f89b73b1,__wbg_valueOf_c759749a331da0c0,__wbg_value_6d39332ab4788d86,__wbg_versions_c2ab80650590b6a2,__wbg_window_3bcfc4d31bc012f8,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper6973,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
@@ -373,8 +373,6 @@ declare function debugCreate(namespace: string): ((...args: any[]) => void) & {
373
373
  extend: () => void;
374
374
  };
375
375
 
376
- export declare function Decimal(n: Decimal.Value): Decimal;
377
-
378
376
  export declare namespace Decimal {
379
377
  export type Constructor = typeof Decimal;
380
378
  export type Instance = Decimal;
@@ -1246,7 +1244,7 @@ declare type Error_2 = {
1246
1244
  kind: 'UnsupportedNativeDataType';
1247
1245
  type: string;
1248
1246
  } | {
1249
- kind: 'postgres';
1247
+ kind: 'Postgres';
1250
1248
  code: string;
1251
1249
  severity: string;
1252
1250
  message: string;
@@ -1254,12 +1252,12 @@ declare type Error_2 = {
1254
1252
  column: string | undefined;
1255
1253
  hint: string | undefined;
1256
1254
  } | {
1257
- kind: 'mysql';
1255
+ kind: 'Mysql';
1258
1256
  code: number;
1259
1257
  message: string;
1260
1258
  state: string;
1261
1259
  } | {
1262
- kind: 'sqlite';
1260
+ kind: 'Sqlite';
1263
1261
  /**
1264
1262
  * Sqlite extended error code: https://www.sqlite.org/rescode.html
1265
1263
  */
@@ -1434,6 +1432,8 @@ export declare interface FieldRef<Model, FieldType> {
1434
1432
  readonly isList: boolean;
1435
1433
  }
1436
1434
 
1435
+ declare type Flavour = 'mysql' | 'postgres' | 'sqlite';
1436
+
1437
1437
  export declare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';
1438
1438
 
1439
1439
  export declare interface Fn<Params = unknown, Returns = unknown> {
@@ -2536,8 +2536,6 @@ declare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatc
2536
2536
 
2537
2537
  export declare const PrivateResultType: unique symbol;
2538
2538
 
2539
- declare type Provider = 'mysql' | 'postgres' | 'sqlite';
2540
-
2541
2539
  declare namespace Public {
2542
2540
  export {
2543
2541
  validator
@@ -2563,7 +2561,7 @@ declare type Query = {
2563
2561
  };
2564
2562
 
2565
2563
  declare interface Queryable {
2566
- readonly provider: Provider;
2564
+ readonly provider: Flavour;
2567
2565
  readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});
2568
2566
  /**
2569
2567
  * Execute a query given as SQL, interpolating the given parameters,
@@ -2592,7 +2590,7 @@ declare interface QueryCompilerConstructor {
2592
2590
 
2593
2591
  declare type QueryCompilerOptions = {
2594
2592
  datamodel: string;
2595
- provider: Provider;
2593
+ flavour: Flavour;
2596
2594
  connectionInfo: ConnectionInfo;
2597
2595
  };
2598
2596