prisma 6.1.0-dev.2 → 6.1.0-dev.21

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 A=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var M=Object.prototype.hasOwnProperty;var U=(t,e)=>{for(var n in e)A(t,n,{get:e[n],enumerable:!0})},B=(t,e,n,_)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of D(e))!M.call(t,o)&&o!==n&&A(t,o,{get:()=>e[o],enumerable:!(_=R(e,o))||_.enumerable});return t};var N=t=>B(A({},"__esModule",{value:!0}),t);var qe={};U(qe,{QueryEngine:()=>G,__wbg_String_88810dfeb4021902:()=>Rt,__wbg_buffer_b7b08af79b0b0974:()=>Mt,__wbg_call_1084a111329e68ce:()=>Gt,__wbg_call_89af060b4e1523f2:()=>se,__wbg_crypto_58f13aa23ffcb166:()=>Vt,__wbg_done_bfda7aa8f252b39f:()=>Zt,__wbg_entries_7a0e06255456ebcd:()=>ye,__wbg_getRandomValues_504510b5564925af:()=>Ct,__wbg_getTime_91058879093a1589:()=>ct,__wbg_get_224d16597dbbfd96:()=>ne,__wbg_get_3baa728f9d58d3f6:()=>Kt,__wbg_get_94990005bd6ca07c:()=>Ft,__wbg_getwithrefkey_5e6d9547403deab8:()=>vt,__wbg_globalThis_86b222e13bdf32ed:()=>oe,__wbg_global_e5a3fe56f8be9485:()=>ce,__wbg_has_4bfbc01db38743f7:()=>rt,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>xe,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>bt,__wbg_instanceof_Uint8Array_247a91427532499e:()=>pe,__wbg_isArray_8364a5371e9737d8:()=>ue,__wbg_isSafeInteger_7f1ed56200d90674:()=>fe,__wbg_iterator_888179a48810a9fe:()=>lt,__wbg_keys_7840ae453e408eab:()=>st,__wbg_length_8339fcf5d8ecd12e:()=>le,__wbg_length_ae22078168b726f5:()=>ft,__wbg_msCrypto_abcb1295e768d1f2:()=>Jt,__wbg_new0_65387337a95cf44d:()=>ot,__wbg_new_525245e2b9901204:()=>At,__wbg_new_8608a2b51a5f6737:()=>jt,__wbg_new_a220cf903aa02ca2:()=>It,__wbg_new_b85e72ed1bfd57f9:()=>Y,__wbg_new_ea1883e1e5e86686:()=>Bt,__wbg_newnoargs_76313bd6ff35d0f2:()=>ie,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>Ut,__wbg_newwithlength_ec548f448387c968:()=>Qt,__wbg_next_de3e9db4440638b2:()=>ee,__wbg_next_f9cb570345655b9a:()=>Yt,__wbg_node_523d7bd03ef69fba:()=>Pt,__wbg_now_28a6b413aca4a96a:()=>de,__wbg_now_8ed1a4454e40ecd1:()=>it,__wbg_now_b7a162010a9e75b4:()=>ut,__wbg_parse_52202f117ec9ecfa:()=>_t,__wbg_process_5b786e71d465a513:()=>zt,__wbg_push_37c89022f34c01ca:()=>Et,__wbg_randomFillSync_a0d98aa11c81fe89:()=>$t,__wbg_require_2784e593a4674877:()=>Wt,__wbg_resolve_570458cb99d56a43:()=>Ae,__wbg_self_3093d5d1f7bcb682:()=>re,__wbg_setTimeout_631fe61f31fa2fad:()=>Z,__wbg_set_49185437f0ab06f8:()=>Ot,__wbg_set_673dda6c73d19609:()=>St,__wbg_set_841ac57cff3d672b:()=>kt,__wbg_set_d1e79e2388520f18:()=>ge,__wbg_set_eacc7d73fefaafdf:()=>ae,__wbg_set_wasm:()=>C,__wbg_stringify_bbf45426c92a6bf5:()=>be,__wbg_subarray_7c2e3576afe181d1:()=>Nt,__wbg_then_876bb3c633745cc6:()=>je,__wbg_then_95e6edc0f89b73b1:()=>Se,__wbg_valueOf_c759749a331da0c0:()=>Xt,__wbg_value_6d39332ab4788d86:()=>te,__wbg_versions_c2ab80650590b6a2:()=>Lt,__wbg_window_3bcfc4d31bc012f8:()=>_e,__wbindgen_bigint_from_i64:()=>xt,__wbindgen_bigint_from_u64:()=>mt,__wbindgen_bigint_get_as_i64:()=>he,__wbindgen_boolean_get:()=>dt,__wbindgen_cb_drop:()=>Ie,__wbindgen_closure_wrapper7018:()=>Oe,__wbindgen_debug_string:()=>Te,__wbindgen_error_new:()=>X,__wbindgen_in:()=>yt,__wbindgen_is_bigint:()=>wt,__wbindgen_is_function:()=>Ht,__wbindgen_is_object:()=>gt,__wbindgen_is_string:()=>qt,__wbindgen_is_undefined:()=>nt,__wbindgen_jsval_eq:()=>ht,__wbindgen_jsval_loose_eq:()=>we,__wbindgen_memory:()=>Dt,__wbindgen_number_get:()=>pt,__wbindgen_number_new:()=>Tt,__wbindgen_object_clone_ref:()=>et,__wbindgen_object_drop_ref:()=>at,__wbindgen_string_get:()=>K,__wbindgen_string_new:()=>tt,__wbindgen_throw:()=>me,debug_panic:()=>Q,getBuildTimeInfo:()=>J});module.exports=N(qe);var T=()=>{};T.prototype=T;let c;function C(t){c=t}const w=new Array(128).fill(void 0);w.push(void 0,null,!0,!1);function r(t){return w[t]}let a=0,I=null;function S(){return(I===null||I.byteLength===0)&&(I=new Uint8Array(c.memory.buffer)),I}const $=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let j=new $("utf-8");const V=typeof j.encodeInto=="function"?function(t,e){return j.encodeInto(t,e)}:function(t,e){const n=j.encode(t);return e.set(n),{read:t.length,written:n.length}};function l(t,e,n){if(n===void 0){const s=j.encode(t),p=e(s.length,1)>>>0;return S().subarray(p,p+s.length).set(s),a=s.length,p}let _=t.length,o=e(_,1)>>>0;const f=S();let u=0;for(;u<_;u++){const s=t.charCodeAt(u);if(s>127)break;f[o+u]=s}if(u!==_){u!==0&&(t=t.slice(u)),o=n(o,_,_=u+t.length*3,1)>>>0;const s=S().subarray(o+u,o+_),p=V(t,s);u+=p.written,o=n(o,_,u,1)>>>0}return a=u,o}function x(t){return t==null}let y=null;function d(){return(y===null||y.buffer.detached===!0||y.buffer.detached===void 0&&y.buffer!==c.memory.buffer)&&(y=new DataView(c.memory.buffer)),y}const z=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let q=new z("utf-8",{ignoreBOM:!0,fatal:!0});q.decode();function m(t,e){return t=t>>>0,q.decode(S().subarray(t,t+e))}let h=w.length;function i(t){h===w.length&&w.push(w.length+1);const e=h;return h=w[e],w[e]=t,e}function L(t){t<132||(w[t]=h,h=t)}function b(t){const e=r(t);return L(t),e}function O(t){const e=typeof t;if(e=="number"||e=="boolean"||t==null)return`${t}`;if(e=="string")return`"${t}"`;if(e=="symbol"){const o=t.description;return o==null?"Symbol":`Symbol(${o})`}if(e=="function"){const o=t.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(t)){const o=t.length;let f="[";o>0&&(f+=O(t[0]));for(let u=1;u<o;u++)f+=", "+O(t[u]);return f+="]",f}const n=/\[object ([^\]]+)\]/.exec(toString.call(t));let _;if(n.length>1)_=n[1];else return toString.call(t);if(_=="Object")try{return"Object("+JSON.stringify(t)+")"}catch{return"Object"}return t instanceof Error?`${t.name}: ${t.message}
2
- ${t.stack}`:_}const k=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{c.__wbindgen_export_2.get(t.dtor)(t.a,t.b)});function P(t,e,n,_){const o={a:t,b:e,cnt:1,dtor:n},f=(...u)=>{o.cnt++;const s=o.a;o.a=0;try{return _(s,o.b,...u)}finally{--o.cnt===0?(c.__wbindgen_export_2.get(o.dtor)(s,o.b),k.unregister(o)):o.a=s}};return f.original=o,k.register(f,o,o),f}function W(t,e,n){c._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9f2fcea3357d311c(t,e,i(n))}function J(){const t=c.getBuildTimeInfo();return b(t)}function Q(t){try{const f=c.__wbindgen_add_to_stack_pointer(-16);var e=x(t)?0:l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),n=a;c.debug_panic(f,e,n);var _=d().getInt32(f+4*0,!0),o=d().getInt32(f+4*1,!0);if(o)throw b(_)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function g(t,e){try{return t.apply(this,e)}catch(n){c.__wbindgen_exn_store(i(n))}}function H(t,e,n,_){c.wasm_bindgen__convert__closures__invoke2_mut__h157f32060ce6ea34(t,e,i(n),i(_))}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>c.__wbg_queryengine_free(t>>>0,1));class G{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),e}free(){const e=this.__destroy_into_raw();c.__wbg_queryengine_free(e,0)}constructor(e,n,_){try{const s=c.__wbindgen_add_to_stack_pointer(-16);c.queryengine_new(s,i(e),i(n),i(_));var o=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw b(f);return this.__wbg_ptr=o>>>0,v.register(this,this.__wbg_ptr,this),this}finally{c.__wbindgen_add_to_stack_pointer(16)}}connect(e){const n=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,o=c.queryengine_connect(this.__wbg_ptr,n,_);return b(o)}disconnect(e){const n=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,o=c.queryengine_disconnect(this.__wbg_ptr,n,_);return b(o)}query(e,n,_){const o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a,u=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),s=a;var p=x(_)?0:l(_,c.__wbindgen_malloc,c.__wbindgen_realloc),E=a;const F=c.queryengine_query(this.__wbg_ptr,o,f,u,s,p,E);return b(F)}startTransaction(e,n){const _=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,f=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_startTransaction(this.__wbg_ptr,_,o,f,u);return b(s)}commitTransaction(e,n){const _=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,f=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_commitTransaction(this.__wbg_ptr,_,o,f,u);return b(s)}rollbackTransaction(e,n){const _=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,f=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_rollbackTransaction(this.__wbg_ptr,_,o,f,u);return b(s)}metrics(e){const n=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,o=c.queryengine_metrics(this.__wbg_ptr,n,_);return b(o)}}function K(t,e){const n=r(e),_=typeof n=="string"?n:void 0;var o=x(_)?0:l(_,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a;d().setInt32(t+4*1,f,!0),d().setInt32(t+4*0,o,!0)}function X(t,e){const n=new Error(m(t,e));return i(n)}function Y(t,e){try{var n={a:t,b:e},_=(f,u)=>{const s=n.a;n.a=0;try{return H(s,n.b,f,u)}finally{n.a=s}};const o=new Promise(_);return i(o)}finally{n.a=n.b=0}}function Z(t,e){return setTimeout(r(t),e>>>0)}function tt(t,e){const n=m(t,e);return i(n)}function et(t){const e=r(t);return i(e)}function nt(t){return r(t)===void 0}function rt(){return g(function(t,e){return Reflect.has(r(t),r(e))},arguments)}function _t(){return g(function(t,e){const n=JSON.parse(m(t,e));return i(n)},arguments)}function ot(){return i(new Date)}function ct(t){return r(t).getTime()}function it(t){return r(t).now()}function ut(){return Date.now()}function st(t){const e=Object.keys(r(t));return i(e)}function ft(t){return r(t).length}function at(t){b(t)}function bt(t){let e;try{e=r(t)instanceof Promise}catch{e=!1}return e}function gt(t){const e=r(t);return typeof e=="object"&&e!==null}function lt(){return i(Symbol.iterator)}function dt(t){const e=r(t);return typeof e=="boolean"?e?1:0:2}function wt(t){return typeof r(t)=="bigint"}function pt(t,e){const n=r(e),_=typeof n=="number"?n:void 0;d().setFloat64(t+8*1,x(_)?0:_,!0),d().setInt32(t+4*0,!x(_),!0)}function xt(t){return i(t)}function yt(t,e){return r(t)in r(e)}function mt(t){const e=BigInt.asUintN(64,t);return i(e)}function ht(t,e){return r(t)===r(e)}function Tt(t){return i(t)}function It(){const t=new Array;return i(t)}function St(t,e,n){r(t)[e>>>0]=b(n)}function jt(){return i(new Map)}function At(){const t=new Object;return i(t)}function Ot(t,e,n){const _=r(t).set(r(e),r(n));return i(_)}function qt(t){return typeof r(t)=="string"}function kt(t,e,n){r(t)[b(e)]=b(n)}function vt(t,e){const n=r(t)[r(e)];return i(n)}function Et(t,e){return r(t).push(r(e))}function Ft(){return g(function(t,e){const n=r(t)[b(e)];return i(n)},arguments)}function Rt(t,e){const n=String(r(e)),_=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a;d().setInt32(t+4*1,o,!0),d().setInt32(t+4*0,_,!0)}function Dt(){const t=c.memory;return i(t)}function Mt(t){const e=r(t).buffer;return i(e)}function Ut(t,e,n){const _=new Uint8Array(r(t),e>>>0,n>>>0);return i(_)}function Bt(t){const e=new Uint8Array(r(t));return i(e)}function Nt(t,e,n){const _=r(t).subarray(e>>>0,n>>>0);return i(_)}function Ct(){return g(function(t,e){r(t).getRandomValues(r(e))},arguments)}function $t(){return g(function(t,e){r(t).randomFillSync(b(e))},arguments)}function Vt(t){const e=r(t).crypto;return i(e)}function zt(t){const e=r(t).process;return i(e)}function Lt(t){const e=r(t).versions;return i(e)}function Pt(t){const e=r(t).node;return i(e)}function Wt(){return g(function(){const t=module.require;return i(t)},arguments)}function Jt(t){const e=r(t).msCrypto;return i(e)}function Qt(t){const e=new Uint8Array(t>>>0);return i(e)}function Ht(t){return typeof r(t)=="function"}function Gt(){return g(function(t,e){const n=r(t).call(r(e));return i(n)},arguments)}function Kt(t,e){const n=r(t)[e>>>0];return i(n)}function Xt(t){return r(t).valueOf()}function Yt(){return g(function(t){const e=r(t).next();return i(e)},arguments)}function Zt(t){return r(t).done}function te(t){const e=r(t).value;return i(e)}function ee(t){const e=r(t).next;return i(e)}function ne(){return g(function(t,e){const n=Reflect.get(r(t),r(e));return i(n)},arguments)}function re(){return g(function(){const t=self.self;return i(t)},arguments)}function _e(){return g(function(){const t=window.window;return i(t)},arguments)}function oe(){return g(function(){const t=globalThis.globalThis;return i(t)},arguments)}function ce(){return g(function(){const t=global.global;return i(t)},arguments)}function ie(t,e){const n=new T(m(t,e));return i(n)}function ue(t){return Array.isArray(r(t))}function se(){return g(function(t,e,n){const _=r(t).call(r(e),r(n));return i(_)},arguments)}function fe(t){return Number.isSafeInteger(r(t))}function ae(){return g(function(t,e,n){return Reflect.set(r(t),r(e),r(n))},arguments)}function be(){return g(function(t){const e=JSON.stringify(r(t));return i(e)},arguments)}function ge(t,e,n){r(t).set(r(e),n>>>0)}function le(t){return r(t).length}function de(){return g(function(){return Date.now()},arguments)}function we(t,e){return r(t)==r(e)}function pe(t){let e;try{e=r(t)instanceof Uint8Array}catch{e=!1}return e}function xe(t){let e;try{e=r(t)instanceof ArrayBuffer}catch{e=!1}return e}function ye(t){const e=Object.entries(r(t));return i(e)}function me(t,e){throw new Error(m(t,e))}function he(t,e){const n=r(e),_=typeof n=="bigint"?n:void 0;d().setBigInt64(t+8*1,x(_)?BigInt(0):_,!0),d().setInt32(t+4*0,!x(_),!0)}function Te(t,e){const n=O(r(e)),_=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a;d().setInt32(t+4*1,o,!0),d().setInt32(t+4*0,_,!0)}function Ie(t){const e=b(t).original;return e.cnt--==1?(e.a=0,!0):!1}function Se(t,e){const n=r(t).then(r(e));return i(n)}function je(t,e,n){const _=r(t).then(r(e),r(n));return i(_)}function Ae(t){const e=Promise.resolve(r(t));return i(e)}function Oe(t,e,n){const _=P(t,e,537,W);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_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_wrapper7018,__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_wrapper7127:()=>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__h9f2fcea3357d311c(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__h157f32060ce6ea34(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_wrapper7127,__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 A=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var M=Object.prototype.hasOwnProperty;var U=(t,e)=>{for(var n in e)A(t,n,{get:e[n],enumerable:!0})},B=(t,e,n,_)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of D(e))!M.call(t,o)&&o!==n&&A(t,o,{get:()=>e[o],enumerable:!(_=R(e,o))||_.enumerable});return t};var N=t=>B(A({},"__esModule",{value:!0}),t);var Ee={};U(Ee,{QueryEngine:()=>G,__wbg_String_88810dfeb4021902:()=>Mt,__wbg_buffer_b7b08af79b0b0974:()=>Bt,__wbg_call_1084a111329e68ce:()=>Xt,__wbg_call_89af060b4e1523f2:()=>ae,__wbg_crypto_58f13aa23ffcb166:()=>Lt,__wbg_done_bfda7aa8f252b39f:()=>ee,__wbg_entries_7a0e06255456ebcd:()=>he,__wbg_exec_a29a4ce5544bd3be:()=>Rt,__wbg_getRandomValues_504510b5564925af:()=>Vt,__wbg_getTime_91058879093a1589:()=>ct,__wbg_get_224d16597dbbfd96:()=>_e,__wbg_get_3baa728f9d58d3f6:()=>Yt,__wbg_get_94990005bd6ca07c:()=>Dt,__wbg_getwithrefkey_5e6d9547403deab8:()=>Et,__wbg_globalThis_86b222e13bdf32ed:()=>ie,__wbg_global_e5a3fe56f8be9485:()=>ue,__wbg_has_4bfbc01db38743f7:()=>rt,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>me,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>gt,__wbg_instanceof_Uint8Array_247a91427532499e:()=>ye,__wbg_isArray_8364a5371e9737d8:()=>fe,__wbg_isSafeInteger_7f1ed56200d90674:()=>be,__wbg_iterator_888179a48810a9fe:()=>dt,__wbg_keys_7840ae453e408eab:()=>ft,__wbg_length_8339fcf5d8ecd12e:()=>we,__wbg_length_ae22078168b726f5:()=>at,__wbg_msCrypto_abcb1295e768d1f2:()=>Ht,__wbg_new0_65387337a95cf44d:()=>ot,__wbg_new_13847c66f41dda63:()=>Ft,__wbg_new_525245e2b9901204:()=>At,__wbg_new_8608a2b51a5f6737:()=>jt,__wbg_new_a220cf903aa02ca2:()=>It,__wbg_new_b85e72ed1bfd57f9:()=>Y,__wbg_new_ea1883e1e5e86686:()=>Ct,__wbg_newnoargs_76313bd6ff35d0f2:()=>se,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>Nt,__wbg_newwithlength_ec548f448387c968:()=>Gt,__wbg_next_de3e9db4440638b2:()=>re,__wbg_next_f9cb570345655b9a:()=>te,__wbg_node_523d7bd03ef69fba:()=>Jt,__wbg_now_28a6b413aca4a96a:()=>pe,__wbg_now_8ed1a4454e40ecd1:()=>ut,__wbg_now_b7a162010a9e75b4:()=>st,__wbg_parse_52202f117ec9ecfa:()=>_t,__wbg_process_5b786e71d465a513:()=>Pt,__wbg_push_37c89022f34c01ca:()=>vt,__wbg_randomFillSync_a0d98aa11c81fe89:()=>zt,__wbg_require_2784e593a4674877:()=>Qt,__wbg_resolve_570458cb99d56a43:()=>qe,__wbg_self_3093d5d1f7bcb682:()=>oe,__wbg_setTimeout_631fe61f31fa2fad:()=>Z,__wbg_set_49185437f0ab06f8:()=>Ot,__wbg_set_673dda6c73d19609:()=>St,__wbg_set_841ac57cff3d672b:()=>kt,__wbg_set_d1e79e2388520f18:()=>le,__wbg_set_eacc7d73fefaafdf:()=>ge,__wbg_set_wasm:()=>C,__wbg_stringify_bbf45426c92a6bf5:()=>de,__wbg_subarray_7c2e3576afe181d1:()=>$t,__wbg_then_876bb3c633745cc6:()=>Oe,__wbg_then_95e6edc0f89b73b1:()=>Ae,__wbg_valueOf_c759749a331da0c0:()=>Zt,__wbg_value_6d39332ab4788d86:()=>ne,__wbg_versions_c2ab80650590b6a2:()=>Wt,__wbg_window_3bcfc4d31bc012f8:()=>ce,__wbindgen_bigint_from_i64:()=>xt,__wbindgen_bigint_from_u64:()=>mt,__wbindgen_bigint_get_as_i64:()=>Ie,__wbindgen_boolean_get:()=>lt,__wbindgen_cb_drop:()=>je,__wbindgen_closure_wrapper7072:()=>ke,__wbindgen_debug_string:()=>Se,__wbindgen_error_new:()=>X,__wbindgen_in:()=>yt,__wbindgen_is_bigint:()=>wt,__wbindgen_is_function:()=>Kt,__wbindgen_is_object:()=>bt,__wbindgen_is_string:()=>qt,__wbindgen_is_undefined:()=>nt,__wbindgen_jsval_eq:()=>ht,__wbindgen_jsval_loose_eq:()=>xe,__wbindgen_memory:()=>Ut,__wbindgen_number_get:()=>pt,__wbindgen_number_new:()=>Tt,__wbindgen_object_clone_ref:()=>et,__wbindgen_object_drop_ref:()=>it,__wbindgen_string_get:()=>K,__wbindgen_string_new:()=>tt,__wbindgen_throw:()=>Te,debug_panic:()=>Q,getBuildTimeInfo:()=>J});module.exports=N(Ee);var T=()=>{};T.prototype=T;let c;function C(t){c=t}const w=new Array(128).fill(void 0);w.push(void 0,null,!0,!1);function r(t){return w[t]}let a=0,I=null;function S(){return(I===null||I.byteLength===0)&&(I=new Uint8Array(c.memory.buffer)),I}const $=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let j=new $("utf-8");const V=typeof j.encodeInto=="function"?function(t,e){return j.encodeInto(t,e)}:function(t,e){const n=j.encode(t);return e.set(n),{read:t.length,written:n.length}};function d(t,e,n){if(n===void 0){const s=j.encode(t),y=e(s.length,1)>>>0;return S().subarray(y,y+s.length).set(s),a=s.length,y}let _=t.length,o=e(_,1)>>>0;const f=S();let u=0;for(;u<_;u++){const s=t.charCodeAt(u);if(s>127)break;f[o+u]=s}if(u!==_){u!==0&&(t=t.slice(u)),o=n(o,_,_=u+t.length*3,1)>>>0;const s=S().subarray(o+u,o+_),y=V(t,s);u+=y.written,o=n(o,_,u,1)>>>0}return a=u,o}function p(t){return t==null}let m=null;function l(){return(m===null||m.buffer.detached===!0||m.buffer.detached===void 0&&m.buffer!==c.memory.buffer)&&(m=new DataView(c.memory.buffer)),m}const z=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let q=new z("utf-8",{ignoreBOM:!0,fatal:!0});q.decode();function x(t,e){return t=t>>>0,q.decode(S().subarray(t,t+e))}let h=w.length;function i(t){h===w.length&&w.push(w.length+1);const e=h;return h=w[e],w[e]=t,e}function L(t){t<132||(w[t]=h,h=t)}function b(t){const e=r(t);return L(t),e}function O(t){const e=typeof t;if(e=="number"||e=="boolean"||t==null)return`${t}`;if(e=="string")return`"${t}"`;if(e=="symbol"){const o=t.description;return o==null?"Symbol":`Symbol(${o})`}if(e=="function"){const o=t.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(t)){const o=t.length;let f="[";o>0&&(f+=O(t[0]));for(let u=1;u<o;u++)f+=", "+O(t[u]);return f+="]",f}const n=/\[object ([^\]]+)\]/.exec(toString.call(t));let _;if(n.length>1)_=n[1];else return toString.call(t);if(_=="Object")try{return"Object("+JSON.stringify(t)+")"}catch{return"Object"}return t instanceof Error?`${t.name}: ${t.message}
2
- ${t.stack}`:_}const k=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{c.__wbindgen_export_2.get(t.dtor)(t.a,t.b)});function P(t,e,n,_){const o={a:t,b:e,cnt:1,dtor:n},f=(...u)=>{o.cnt++;const s=o.a;o.a=0;try{return _(s,o.b,...u)}finally{--o.cnt===0?(c.__wbindgen_export_2.get(o.dtor)(s,o.b),k.unregister(o)):o.a=s}};return f.original=o,k.register(f,o,o),f}function W(t,e,n){c._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9f2fcea3357d311c(t,e,i(n))}function J(){const t=c.getBuildTimeInfo();return b(t)}function Q(t){try{const f=c.__wbindgen_add_to_stack_pointer(-16);var e=p(t)?0:d(t,c.__wbindgen_malloc,c.__wbindgen_realloc),n=a;c.debug_panic(f,e,n);var _=l().getInt32(f+4*0,!0),o=l().getInt32(f+4*1,!0);if(o)throw b(_)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function g(t,e){try{return t.apply(this,e)}catch(n){c.__wbindgen_exn_store(i(n))}}function H(t,e,n,_){c.wasm_bindgen__convert__closures__invoke2_mut__h157f32060ce6ea34(t,e,i(n),i(_))}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>c.__wbg_queryengine_free(t>>>0,1));class G{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),e}free(){const e=this.__destroy_into_raw();c.__wbg_queryengine_free(e,0)}constructor(e,n,_){try{const s=c.__wbindgen_add_to_stack_pointer(-16);c.queryengine_new(s,i(e),i(n),i(_));var o=l().getInt32(s+4*0,!0),f=l().getInt32(s+4*1,!0),u=l().getInt32(s+4*2,!0);if(u)throw b(f);return this.__wbg_ptr=o>>>0,E.register(this,this.__wbg_ptr,this),this}finally{c.__wbindgen_add_to_stack_pointer(16)}}connect(e){const n=d(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,o=c.queryengine_connect(this.__wbg_ptr,n,_);return b(o)}disconnect(e){const n=d(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,o=c.queryengine_disconnect(this.__wbg_ptr,n,_);return b(o)}query(e,n,_){const o=d(e,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a,u=d(n,c.__wbindgen_malloc,c.__wbindgen_realloc),s=a;var y=p(_)?0:d(_,c.__wbindgen_malloc,c.__wbindgen_realloc),v=a;const F=c.queryengine_query(this.__wbg_ptr,o,f,u,s,y,v);return b(F)}startTransaction(e,n){const _=d(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,f=d(n,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_startTransaction(this.__wbg_ptr,_,o,f,u);return b(s)}commitTransaction(e,n){const _=d(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,f=d(n,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_commitTransaction(this.__wbg_ptr,_,o,f,u);return b(s)}rollbackTransaction(e,n){const _=d(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,f=d(n,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_rollbackTransaction(this.__wbg_ptr,_,o,f,u);return b(s)}metrics(e){const n=d(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,o=c.queryengine_metrics(this.__wbg_ptr,n,_);return b(o)}}function K(t,e){const n=r(e),_=typeof n=="string"?n:void 0;var o=p(_)?0:d(_,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a;l().setInt32(t+4*1,f,!0),l().setInt32(t+4*0,o,!0)}function X(t,e){const n=new Error(x(t,e));return i(n)}function Y(t,e){try{var n={a:t,b:e},_=(f,u)=>{const s=n.a;n.a=0;try{return H(s,n.b,f,u)}finally{n.a=s}};const o=new Promise(_);return i(o)}finally{n.a=n.b=0}}function Z(t,e){return setTimeout(r(t),e>>>0)}function tt(t,e){const n=x(t,e);return i(n)}function et(t){const e=r(t);return i(e)}function nt(t){return r(t)===void 0}function rt(){return g(function(t,e){return Reflect.has(r(t),r(e))},arguments)}function _t(){return g(function(t,e){const n=JSON.parse(x(t,e));return i(n)},arguments)}function ot(){return i(new Date)}function ct(t){return r(t).getTime()}function it(t){b(t)}function ut(t){return r(t).now()}function st(){return Date.now()}function ft(t){const e=Object.keys(r(t));return i(e)}function at(t){return r(t).length}function bt(t){const e=r(t);return typeof e=="object"&&e!==null}function gt(t){let e;try{e=r(t)instanceof Promise}catch{e=!1}return e}function dt(){return i(Symbol.iterator)}function lt(t){const e=r(t);return typeof e=="boolean"?e?1:0:2}function wt(t){return typeof r(t)=="bigint"}function pt(t,e){const n=r(e),_=typeof n=="number"?n:void 0;l().setFloat64(t+8*1,p(_)?0:_,!0),l().setInt32(t+4*0,!p(_),!0)}function xt(t){return i(t)}function yt(t,e){return r(t)in r(e)}function mt(t){const e=BigInt.asUintN(64,t);return i(e)}function ht(t,e){return r(t)===r(e)}function Tt(t){return i(t)}function It(){const t=new Array;return i(t)}function St(t,e,n){r(t)[e>>>0]=b(n)}function jt(){return i(new Map)}function At(){const t=new Object;return i(t)}function Ot(t,e,n){const _=r(t).set(r(e),r(n));return i(_)}function qt(t){return typeof r(t)=="string"}function kt(t,e,n){r(t)[b(e)]=b(n)}function Et(t,e){const n=r(t)[r(e)];return i(n)}function vt(t,e){return r(t).push(r(e))}function Ft(t,e,n,_){const o=new RegExp(x(t,e),x(n,_));return i(o)}function Rt(t,e,n){const _=r(t).exec(x(e,n));return p(_)?0:i(_)}function Dt(){return g(function(t,e){const n=r(t)[b(e)];return i(n)},arguments)}function Mt(t,e){const n=String(r(e)),_=d(n,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a;l().setInt32(t+4*1,o,!0),l().setInt32(t+4*0,_,!0)}function Ut(){const t=c.memory;return i(t)}function Bt(t){const e=r(t).buffer;return i(e)}function Nt(t,e,n){const _=new Uint8Array(r(t),e>>>0,n>>>0);return i(_)}function Ct(t){const e=new Uint8Array(r(t));return i(e)}function $t(t,e,n){const _=r(t).subarray(e>>>0,n>>>0);return i(_)}function Vt(){return g(function(t,e){r(t).getRandomValues(r(e))},arguments)}function zt(){return g(function(t,e){r(t).randomFillSync(b(e))},arguments)}function Lt(t){const e=r(t).crypto;return i(e)}function Pt(t){const e=r(t).process;return i(e)}function Wt(t){const e=r(t).versions;return i(e)}function Jt(t){const e=r(t).node;return i(e)}function Qt(){return g(function(){const t=module.require;return i(t)},arguments)}function Ht(t){const e=r(t).msCrypto;return i(e)}function Gt(t){const e=new Uint8Array(t>>>0);return i(e)}function Kt(t){return typeof r(t)=="function"}function Xt(){return g(function(t,e){const n=r(t).call(r(e));return i(n)},arguments)}function Yt(t,e){const n=r(t)[e>>>0];return i(n)}function Zt(t){return r(t).valueOf()}function te(){return g(function(t){const e=r(t).next();return i(e)},arguments)}function ee(t){return r(t).done}function ne(t){const e=r(t).value;return i(e)}function re(t){const e=r(t).next;return i(e)}function _e(){return g(function(t,e){const n=Reflect.get(r(t),r(e));return i(n)},arguments)}function oe(){return g(function(){const t=self.self;return i(t)},arguments)}function ce(){return g(function(){const t=window.window;return i(t)},arguments)}function ie(){return g(function(){const t=globalThis.globalThis;return i(t)},arguments)}function ue(){return g(function(){const t=global.global;return i(t)},arguments)}function se(t,e){const n=new T(x(t,e));return i(n)}function fe(t){return Array.isArray(r(t))}function ae(){return g(function(t,e,n){const _=r(t).call(r(e),r(n));return i(_)},arguments)}function be(t){return Number.isSafeInteger(r(t))}function ge(){return g(function(t,e,n){return Reflect.set(r(t),r(e),r(n))},arguments)}function de(){return g(function(t){const e=JSON.stringify(r(t));return i(e)},arguments)}function le(t,e,n){r(t).set(r(e),n>>>0)}function we(t){return r(t).length}function pe(){return g(function(){return Date.now()},arguments)}function xe(t,e){return r(t)==r(e)}function ye(t){let e;try{e=r(t)instanceof Uint8Array}catch{e=!1}return e}function me(t){let e;try{e=r(t)instanceof ArrayBuffer}catch{e=!1}return e}function he(t){const e=Object.entries(r(t));return i(e)}function Te(t,e){throw new Error(x(t,e))}function Ie(t,e){const n=r(e),_=typeof n=="bigint"?n:void 0;l().setBigInt64(t+8*1,p(_)?BigInt(0):_,!0),l().setInt32(t+4*0,!p(_),!0)}function Se(t,e){const n=O(r(e)),_=d(n,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a;l().setInt32(t+4*1,o,!0),l().setInt32(t+4*0,_,!0)}function je(t){const e=b(t).original;return e.cnt--==1?(e.a=0,!0):!1}function Ae(t,e){const n=r(t).then(r(e));return i(n)}function Oe(t,e,n){const _=r(t).then(r(e),r(n));return i(_)}function qe(t){const e=Promise.resolve(r(t));return i(e)}function ke(t,e,n){const _=P(t,e,542,W);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_wrapper7072,__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=(e,n)=>{for(var t in n)q(e,t,{get:n[t],enumerable:!0})},$=(e,n,t,_)=>{if(n&&typeof n=="object"||typeof n=="function")for(let c of B(n))!N.call(e,c)&&c!==t&&q(e,c,{get:()=>n[c],enumerable:!(_=U(n,c))||_.enumerable});return e};var V=e=>$(q({},"__esModule",{value:!0}),e);var Dn={};C(Dn,{QueryEngine:()=>Y,__wbg_String_88810dfeb4021902:()=>Ne,__wbg_buffer_b7b08af79b0b0974:()=>$e,__wbg_call_1084a111329e68ce:()=>en,__wbg_call_89af060b4e1523f2:()=>dn,__wbg_crypto_58f13aa23ffcb166:()=>Je,__wbg_done_bfda7aa8f252b39f:()=>_n,__wbg_entries_7a0e06255456ebcd:()=>jn,__wbg_exec_a29a4ce5544bd3be:()=>Ue,__wbg_getRandomValues_504510b5564925af:()=>Pe,__wbg_getTime_91058879093a1589:()=>se,__wbg_get_224d16597dbbfd96:()=>un,__wbg_get_3baa728f9d58d3f6:()=>nn,__wbg_get_94990005bd6ca07c:()=>Be,__wbg_getwithrefkey_5e6d9547403deab8:()=>Re,__wbg_globalThis_86b222e13bdf32ed:()=>an,__wbg_global_e5a3fe56f8be9485:()=>bn,__wbg_has_4bfbc01db38743f7:()=>ce,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>Sn,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>de,__wbg_instanceof_Uint8Array_247a91427532499e:()=>In,__wbg_isArray_8364a5371e9737d8:()=>ln,__wbg_isSafeInteger_7f1ed56200d90674:()=>wn,__wbg_iterator_888179a48810a9fe:()=>pe,__wbg_keys_7840ae453e408eab:()=>ge,__wbg_length_8339fcf5d8ecd12e:()=>yn,__wbg_length_ae22078168b726f5:()=>le,__wbg_msCrypto_abcb1295e768d1f2:()=>Xe,__wbg_new0_65387337a95cf44d:()=>ue,__wbg_new_13847c66f41dda63:()=>Me,__wbg_new_525245e2b9901204:()=>ke,__wbg_new_8608a2b51a5f6737:()=>qe,__wbg_new_a220cf903aa02ca2:()=>Ae,__wbg_new_b85e72ed1bfd57f9:()=>ee,__wbg_new_ea1883e1e5e86686:()=>ze,__wbg_newnoargs_76313bd6ff35d0f2:()=>gn,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>Ve,__wbg_newwithlength_ec548f448387c968:()=>Ye,__wbg_next_de3e9db4440638b2:()=>cn,__wbg_next_f9cb570345655b9a:()=>rn,__wbg_node_523d7bd03ef69fba:()=>Ge,__wbg_now_28a6b413aca4a96a:()=>hn,__wbg_now_8ed1a4454e40ecd1:()=>ae,__wbg_now_b7a162010a9e75b4:()=>be,__wbg_parse_52202f117ec9ecfa:()=>ie,__wbg_process_5b786e71d465a513:()=>Qe,__wbg_push_37c89022f34c01ca:()=>De,__wbg_randomFillSync_a0d98aa11c81fe89:()=>We,__wbg_require_2784e593a4674877:()=>Ke,__wbg_resolve_570458cb99d56a43:()=>Fn,__wbg_self_3093d5d1f7bcb682:()=>sn,__wbg_setTimeout_631fe61f31fa2fad:()=>ne,__wbg_set_49185437f0ab06f8:()=>Ee,__wbg_set_673dda6c73d19609:()=>Oe,__wbg_set_841ac57cff3d672b:()=>Fe,__wbg_set_d1e79e2388520f18:()=>mn,__wbg_set_eacc7d73fefaafdf:()=>pn,__wbg_set_wasm:()=>z,__wbg_stringify_bbf45426c92a6bf5:()=>xn,__wbg_subarray_7c2e3576afe181d1:()=>Le,__wbg_then_876bb3c633745cc6:()=>vn,__wbg_then_95e6edc0f89b73b1:()=>En,__wbg_valueOf_c759749a331da0c0:()=>tn,__wbg_value_6d39332ab4788d86:()=>on,__wbg_versions_c2ab80650590b6a2:()=>He,__wbg_window_3bcfc4d31bc012f8:()=>fn,__wbindgen_bigint_from_i64:()=>he,__wbindgen_bigint_from_u64:()=>Ie,__wbindgen_bigint_get_as_i64:()=>On,__wbindgen_boolean_get:()=>xe,__wbindgen_cb_drop:()=>kn,__wbindgen_closure_wrapper7173:()=>Rn,__wbindgen_debug_string:()=>qn,__wbindgen_error_new:()=>re,__wbindgen_in:()=>Te,__wbindgen_is_bigint:()=>me,__wbindgen_is_function:()=>Ze,__wbindgen_is_object:()=>we,__wbindgen_is_string:()=>ve,__wbindgen_is_undefined:()=>oe,__wbindgen_jsval_eq:()=>Se,__wbindgen_jsval_loose_eq:()=>Tn,__wbindgen_memory:()=>Ce,__wbindgen_number_get:()=>ye,__wbindgen_number_new:()=>je,__wbindgen_object_clone_ref:()=>_e,__wbindgen_object_drop_ref:()=>fe,__wbindgen_string_get:()=>Z,__wbindgen_string_new:()=>te,__wbindgen_throw:()=>An,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=V(Dn);var S=()=>{};S.prototype=S;let o;function z(e){o=e}const p=new Array(128).fill(void 0);p.push(void 0,null,!0,!1);function r(e){return p[e]}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(e,n){return O.encodeInto(e,n)}:function(e,n){const t=O.encode(e);return n.set(t),{read:e.length,written:t.length}};function b(e,n,t){if(t===void 0){const s=O.encode(e),w=n(s.length,1)>>>0;return A().subarray(w,w+s.length).set(s),a=s.length,w}let _=e.length,c=n(_,1)>>>0;const f=A();let u=0;for(;u<_;u++){const s=e.charCodeAt(u);if(s>127)break;f[c+u]=s}if(u!==_){u!==0&&(e=e.slice(u)),c=t(c,_,_=u+e.length*3,1)>>>0;const s=A().subarray(c+u,c+_),w=P(e,s);u+=w.written,c=t(c,_,u,1)>>>0}return a=u,c}function x(e){return e==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(e,n){return e=e>>>0,E.decode(A().subarray(e,e+n))}let I=p.length;function i(e){I===p.length&&p.push(p.length+1);const n=I;return I=p[n],p[n]=e,n}function J(e){e<132||(p[e]=I,I=e)}function g(e){const n=r(e);return J(e),n}function k(e){const n=typeof e;if(n=="number"||n=="boolean"||e==null)return`${e}`;if(n=="string")return`"${e}"`;if(n=="symbol"){const c=e.description;return c==null?"Symbol":`Symbol(${c})`}if(n=="function"){const c=e.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(e)){const c=e.length;let f="[";c>0&&(f+=k(e[0]));for(let u=1;u<c;u++)f+=", "+k(e[u]);return f+="]",f}const t=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(t.length>1)_=t[1];else return toString.call(e);if(_=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
2
+ ${e.stack}`:_}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{o.__wbindgen_export_2.get(e.dtor)(e.a,e.b)});function Q(e,n,t,_){const c={a:e,b:n,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(e,n,t){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9f2fcea3357d311c(e,n,i(t))}function G(){const e=o.getBuildTimeInfo();return g(e)}function K(e){try{const f=o.__wbindgen_add_to_stack_pointer(-16);var n=x(e)?0:b(e,o.__wbindgen_malloc,o.__wbindgen_realloc),t=a;o.debug_panic(f,n,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(e,n){try{return e.apply(this,n)}catch(t){o.__wbindgen_exn_store(i(t))}}function X(e,n,t,_){o.wasm_bindgen__convert__closures__invoke2_mut__h157f32060ce6ea34(e,n,i(t),i(_))}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>o.__wbg_queryengine_free(e>>>0,1));class Y{__destroy_into_raw(){const n=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),n}free(){const n=this.__destroy_into_raw();o.__wbg_queryengine_free(n,0)}constructor(n,t,_){try{const s=o.__wbindgen_add_to_stack_pointer(-16);o.queryengine_new(s,i(n),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(n,t){const _=b(n,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(n,t){const _=b(n,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(n,t,_,c){const f=b(n,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(n,t,_){const c=b(n,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(n,t,_){const c=b(n,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(n,t,_){const c=b(n,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(n){const t=b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_metrics(this.__wbg_ptr,t,_);return g(c)}trace(n){const t=b(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=a,c=o.queryengine_trace(this.__wbg_ptr,t,_);return g(c)}}function Z(e,n){const t=r(n),_=typeof t=="string"?t:void 0;var c=x(_)?0:b(_,o.__wbindgen_malloc,o.__wbindgen_realloc),f=a;d().setInt32(e+4*1,f,!0),d().setInt32(e+4*0,c,!0)}function ee(e,n){try{var t={a:e,b:n},_=(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 ne(e,n){return setTimeout(r(e),n>>>0)}function te(e,n){const t=m(e,n);return i(t)}function re(e,n){const t=new Error(m(e,n));return i(t)}function _e(e){const n=r(e);return i(n)}function oe(e){return r(e)===void 0}function ce(){return l(function(e,n){return Reflect.has(r(e),r(n))},arguments)}function ie(){return l(function(e,n){const t=JSON.parse(m(e,n));return i(t)},arguments)}function ue(){return i(new Date)}function se(e){return r(e).getTime()}function fe(e){g(e)}function ae(e){return r(e).now()}function be(){return Date.now()}function ge(e){const n=Object.keys(r(e));return i(n)}function le(e){return r(e).length}function de(e){let n;try{n=r(e)instanceof Promise}catch{n=!1}return n}function we(e){const n=r(e);return typeof n=="object"&&n!==null}function pe(){return i(Symbol.iterator)}function xe(e){const n=r(e);return typeof n=="boolean"?n?1:0:2}function me(e){return typeof r(e)=="bigint"}function ye(e,n){const t=r(n),_=typeof t=="number"?t:void 0;d().setFloat64(e+8*1,x(_)?0:_,!0),d().setInt32(e+4*0,!x(_),!0)}function he(e){return i(e)}function Te(e,n){return r(e)in r(n)}function Ie(e){const n=BigInt.asUintN(64,e);return i(n)}function Se(e,n){return r(e)===r(n)}function je(e){return i(e)}function Ae(){const e=new Array;return i(e)}function Oe(e,n,t){r(e)[n>>>0]=g(t)}function qe(){return i(new Map)}function ke(){const e=new Object;return i(e)}function Ee(e,n,t){const _=r(e).set(r(n),r(t));return i(_)}function ve(e){return typeof r(e)=="string"}function Fe(e,n,t){r(e)[g(n)]=g(t)}function Re(e,n){const t=r(e)[r(n)];return i(t)}function De(e,n){return r(e).push(r(n))}function Me(e,n,t,_){const c=new RegExp(m(e,n),m(t,_));return i(c)}function Ue(e,n,t){const _=r(e).exec(m(n,t));return x(_)?0:i(_)}function Be(){return l(function(e,n){const t=r(e)[g(n)];return i(t)},arguments)}function Ne(e,n){const t=String(r(n)),_=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(e+4*1,c,!0),d().setInt32(e+4*0,_,!0)}function Ce(){const e=o.memory;return i(e)}function $e(e){const n=r(e).buffer;return i(n)}function Ve(e,n,t){const _=new Uint8Array(r(e),n>>>0,t>>>0);return i(_)}function ze(e){const n=new Uint8Array(r(e));return i(n)}function Le(e,n,t){const _=r(e).subarray(n>>>0,t>>>0);return i(_)}function Pe(){return l(function(e,n){r(e).getRandomValues(r(n))},arguments)}function We(){return l(function(e,n){r(e).randomFillSync(g(n))},arguments)}function Je(e){const n=r(e).crypto;return i(n)}function Qe(e){const n=r(e).process;return i(n)}function He(e){const n=r(e).versions;return i(n)}function Ge(e){const n=r(e).node;return i(n)}function Ke(){return l(function(){const e=module.require;return i(e)},arguments)}function Xe(e){const n=r(e).msCrypto;return i(n)}function Ye(e){const n=new Uint8Array(e>>>0);return i(n)}function Ze(e){return typeof r(e)=="function"}function en(){return l(function(e,n){const t=r(e).call(r(n));return i(t)},arguments)}function nn(e,n){const t=r(e)[n>>>0];return i(t)}function tn(e){return r(e).valueOf()}function rn(){return l(function(e){const n=r(e).next();return i(n)},arguments)}function _n(e){return r(e).done}function on(e){const n=r(e).value;return i(n)}function cn(e){const n=r(e).next;return i(n)}function un(){return l(function(e,n){const t=Reflect.get(r(e),r(n));return i(t)},arguments)}function sn(){return l(function(){const e=self.self;return i(e)},arguments)}function fn(){return l(function(){const e=window.window;return i(e)},arguments)}function an(){return l(function(){const e=globalThis.globalThis;return i(e)},arguments)}function bn(){return l(function(){const e=global.global;return i(e)},arguments)}function gn(e,n){const t=new S(m(e,n));return i(t)}function ln(e){return Array.isArray(r(e))}function dn(){return l(function(e,n,t){const _=r(e).call(r(n),r(t));return i(_)},arguments)}function wn(e){return Number.isSafeInteger(r(e))}function pn(){return l(function(e,n,t){return Reflect.set(r(e),r(n),r(t))},arguments)}function xn(){return l(function(e){const n=JSON.stringify(r(e));return i(n)},arguments)}function mn(e,n,t){r(e).set(r(n),t>>>0)}function yn(e){return r(e).length}function hn(){return l(function(){return Date.now()},arguments)}function Tn(e,n){return r(e)==r(n)}function In(e){let n;try{n=r(e)instanceof Uint8Array}catch{n=!1}return n}function Sn(e){let n;try{n=r(e)instanceof ArrayBuffer}catch{n=!1}return n}function jn(e){const n=Object.entries(r(e));return i(n)}function An(e,n){throw new Error(m(e,n))}function On(e,n){const t=r(n),_=typeof t=="bigint"?t:void 0;d().setBigInt64(e+8*1,x(_)?BigInt(0):_,!0),d().setInt32(e+4*0,!x(_),!0)}function qn(e,n){const t=k(r(n)),_=b(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=a;d().setInt32(e+4*1,c,!0),d().setInt32(e+4*0,_,!0)}function kn(e){const n=g(e).original;return n.cnt--==1?(n.a=0,!0):!1}function En(e,n){const t=r(e).then(r(n));return i(t)}function vn(e,n,t){const _=r(e).then(r(n),r(t));return i(_)}function Fn(e){const n=Promise.resolve(r(e));return i(n)}function Rn(e,n,t){const _=Q(e,n,546,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_wrapper7173,__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 A=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var M=Object.prototype.hasOwnProperty;var U=(t,e)=>{for(var n in e)A(t,n,{get:e[n],enumerable:!0})},B=(t,e,n,_)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of D(e))!M.call(t,o)&&o!==n&&A(t,o,{get:()=>e[o],enumerable:!(_=R(e,o))||_.enumerable});return t};var N=t=>B(A({},"__esModule",{value:!0}),t);var qe={};U(qe,{QueryEngine:()=>G,__wbg_String_88810dfeb4021902:()=>Rt,__wbg_buffer_b7b08af79b0b0974:()=>Mt,__wbg_call_1084a111329e68ce:()=>Gt,__wbg_call_89af060b4e1523f2:()=>se,__wbg_crypto_58f13aa23ffcb166:()=>Vt,__wbg_done_bfda7aa8f252b39f:()=>Zt,__wbg_entries_7a0e06255456ebcd:()=>ye,__wbg_getRandomValues_504510b5564925af:()=>Ct,__wbg_getTime_91058879093a1589:()=>ct,__wbg_get_224d16597dbbfd96:()=>ne,__wbg_get_3baa728f9d58d3f6:()=>Kt,__wbg_get_94990005bd6ca07c:()=>Ft,__wbg_getwithrefkey_5e6d9547403deab8:()=>vt,__wbg_globalThis_86b222e13bdf32ed:()=>oe,__wbg_global_e5a3fe56f8be9485:()=>ce,__wbg_has_4bfbc01db38743f7:()=>rt,__wbg_instanceof_ArrayBuffer_61dfc3198373c902:()=>xe,__wbg_instanceof_Promise_ae8c7ffdec83f2ae:()=>gt,__wbg_instanceof_Uint8Array_247a91427532499e:()=>pe,__wbg_isArray_8364a5371e9737d8:()=>ue,__wbg_isSafeInteger_7f1ed56200d90674:()=>fe,__wbg_iterator_888179a48810a9fe:()=>lt,__wbg_keys_7840ae453e408eab:()=>st,__wbg_length_8339fcf5d8ecd12e:()=>le,__wbg_length_ae22078168b726f5:()=>ft,__wbg_msCrypto_abcb1295e768d1f2:()=>Jt,__wbg_new0_65387337a95cf44d:()=>ot,__wbg_new_525245e2b9901204:()=>At,__wbg_new_8608a2b51a5f6737:()=>jt,__wbg_new_a220cf903aa02ca2:()=>It,__wbg_new_b85e72ed1bfd57f9:()=>Y,__wbg_new_ea1883e1e5e86686:()=>Bt,__wbg_newnoargs_76313bd6ff35d0f2:()=>ie,__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9:()=>Ut,__wbg_newwithlength_ec548f448387c968:()=>Qt,__wbg_next_de3e9db4440638b2:()=>ee,__wbg_next_f9cb570345655b9a:()=>Yt,__wbg_node_523d7bd03ef69fba:()=>Pt,__wbg_now_28a6b413aca4a96a:()=>de,__wbg_now_8ed1a4454e40ecd1:()=>it,__wbg_now_b7a162010a9e75b4:()=>ut,__wbg_parse_52202f117ec9ecfa:()=>_t,__wbg_process_5b786e71d465a513:()=>zt,__wbg_push_37c89022f34c01ca:()=>Et,__wbg_randomFillSync_a0d98aa11c81fe89:()=>$t,__wbg_require_2784e593a4674877:()=>Wt,__wbg_resolve_570458cb99d56a43:()=>Ae,__wbg_self_3093d5d1f7bcb682:()=>re,__wbg_setTimeout_631fe61f31fa2fad:()=>Z,__wbg_set_49185437f0ab06f8:()=>Ot,__wbg_set_673dda6c73d19609:()=>St,__wbg_set_841ac57cff3d672b:()=>kt,__wbg_set_d1e79e2388520f18:()=>ge,__wbg_set_eacc7d73fefaafdf:()=>ae,__wbg_set_wasm:()=>C,__wbg_stringify_bbf45426c92a6bf5:()=>be,__wbg_subarray_7c2e3576afe181d1:()=>Nt,__wbg_then_876bb3c633745cc6:()=>je,__wbg_then_95e6edc0f89b73b1:()=>Se,__wbg_valueOf_c759749a331da0c0:()=>Xt,__wbg_value_6d39332ab4788d86:()=>te,__wbg_versions_c2ab80650590b6a2:()=>Lt,__wbg_window_3bcfc4d31bc012f8:()=>_e,__wbindgen_bigint_from_i64:()=>xt,__wbindgen_bigint_from_u64:()=>mt,__wbindgen_bigint_get_as_i64:()=>he,__wbindgen_boolean_get:()=>dt,__wbindgen_cb_drop:()=>Ie,__wbindgen_closure_wrapper6733:()=>Oe,__wbindgen_debug_string:()=>Te,__wbindgen_error_new:()=>X,__wbindgen_in:()=>yt,__wbindgen_is_bigint:()=>wt,__wbindgen_is_function:()=>Ht,__wbindgen_is_object:()=>bt,__wbindgen_is_string:()=>qt,__wbindgen_is_undefined:()=>nt,__wbindgen_jsval_eq:()=>ht,__wbindgen_jsval_loose_eq:()=>we,__wbindgen_memory:()=>Dt,__wbindgen_number_get:()=>pt,__wbindgen_number_new:()=>Tt,__wbindgen_object_clone_ref:()=>et,__wbindgen_object_drop_ref:()=>at,__wbindgen_string_get:()=>K,__wbindgen_string_new:()=>tt,__wbindgen_throw:()=>me,debug_panic:()=>Q,getBuildTimeInfo:()=>J});module.exports=N(qe);var T=()=>{};T.prototype=T;let c;function C(t){c=t}const w=new Array(128).fill(void 0);w.push(void 0,null,!0,!1);function r(t){return w[t]}let a=0,I=null;function S(){return(I===null||I.byteLength===0)&&(I=new Uint8Array(c.memory.buffer)),I}const $=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let j=new $("utf-8");const V=typeof j.encodeInto=="function"?function(t,e){return j.encodeInto(t,e)}:function(t,e){const n=j.encode(t);return e.set(n),{read:t.length,written:n.length}};function l(t,e,n){if(n===void 0){const s=j.encode(t),p=e(s.length,1)>>>0;return S().subarray(p,p+s.length).set(s),a=s.length,p}let _=t.length,o=e(_,1)>>>0;const f=S();let u=0;for(;u<_;u++){const s=t.charCodeAt(u);if(s>127)break;f[o+u]=s}if(u!==_){u!==0&&(t=t.slice(u)),o=n(o,_,_=u+t.length*3,1)>>>0;const s=S().subarray(o+u,o+_),p=V(t,s);u+=p.written,o=n(o,_,u,1)>>>0}return a=u,o}function x(t){return t==null}let y=null;function d(){return(y===null||y.buffer.detached===!0||y.buffer.detached===void 0&&y.buffer!==c.memory.buffer)&&(y=new DataView(c.memory.buffer)),y}const z=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let q=new z("utf-8",{ignoreBOM:!0,fatal:!0});q.decode();function m(t,e){return t=t>>>0,q.decode(S().subarray(t,t+e))}let h=w.length;function i(t){h===w.length&&w.push(w.length+1);const e=h;return h=w[e],w[e]=t,e}function L(t){t<132||(w[t]=h,h=t)}function b(t){const e=r(t);return L(t),e}function O(t){const e=typeof t;if(e=="number"||e=="boolean"||t==null)return`${t}`;if(e=="string")return`"${t}"`;if(e=="symbol"){const o=t.description;return o==null?"Symbol":`Symbol(${o})`}if(e=="function"){const o=t.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(t)){const o=t.length;let f="[";o>0&&(f+=O(t[0]));for(let u=1;u<o;u++)f+=", "+O(t[u]);return f+="]",f}const n=/\[object ([^\]]+)\]/.exec(toString.call(t));let _;if(n.length>1)_=n[1];else return toString.call(t);if(_=="Object")try{return"Object("+JSON.stringify(t)+")"}catch{return"Object"}return t instanceof Error?`${t.name}: ${t.message}
2
- ${t.stack}`:_}const k=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{c.__wbindgen_export_2.get(t.dtor)(t.a,t.b)});function P(t,e,n,_){const o={a:t,b:e,cnt:1,dtor:n},f=(...u)=>{o.cnt++;const s=o.a;o.a=0;try{return _(s,o.b,...u)}finally{--o.cnt===0?(c.__wbindgen_export_2.get(o.dtor)(s,o.b),k.unregister(o)):o.a=s}};return f.original=o,k.register(f,o,o),f}function W(t,e,n){c._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9f2fcea3357d311c(t,e,i(n))}function J(){const t=c.getBuildTimeInfo();return b(t)}function Q(t){try{const f=c.__wbindgen_add_to_stack_pointer(-16);var e=x(t)?0:l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),n=a;c.debug_panic(f,e,n);var _=d().getInt32(f+4*0,!0),o=d().getInt32(f+4*1,!0);if(o)throw b(_)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function g(t,e){try{return t.apply(this,e)}catch(n){c.__wbindgen_exn_store(i(n))}}function H(t,e,n,_){c.wasm_bindgen__convert__closures__invoke2_mut__h157f32060ce6ea34(t,e,i(n),i(_))}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>c.__wbg_queryengine_free(t>>>0,1));class G{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),e}free(){const e=this.__destroy_into_raw();c.__wbg_queryengine_free(e,0)}constructor(e,n,_){try{const s=c.__wbindgen_add_to_stack_pointer(-16);c.queryengine_new(s,i(e),i(n),i(_));var o=d().getInt32(s+4*0,!0),f=d().getInt32(s+4*1,!0),u=d().getInt32(s+4*2,!0);if(u)throw b(f);return this.__wbg_ptr=o>>>0,v.register(this,this.__wbg_ptr,this),this}finally{c.__wbindgen_add_to_stack_pointer(16)}}connect(e){const n=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,o=c.queryengine_connect(this.__wbg_ptr,n,_);return b(o)}disconnect(e){const n=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,o=c.queryengine_disconnect(this.__wbg_ptr,n,_);return b(o)}query(e,n,_){const o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a,u=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),s=a;var p=x(_)?0:l(_,c.__wbindgen_malloc,c.__wbindgen_realloc),E=a;const F=c.queryengine_query(this.__wbg_ptr,o,f,u,s,p,E);return b(F)}startTransaction(e,n){const _=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,f=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_startTransaction(this.__wbg_ptr,_,o,f,u);return b(s)}commitTransaction(e,n){const _=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,f=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_commitTransaction(this.__wbg_ptr,_,o,f,u);return b(s)}rollbackTransaction(e,n){const _=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,f=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_rollbackTransaction(this.__wbg_ptr,_,o,f,u);return b(s)}metrics(e){const n=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,o=c.queryengine_metrics(this.__wbg_ptr,n,_);return b(o)}}function K(t,e){const n=r(e),_=typeof n=="string"?n:void 0;var o=x(_)?0:l(_,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a;d().setInt32(t+4*1,f,!0),d().setInt32(t+4*0,o,!0)}function X(t,e){const n=new Error(m(t,e));return i(n)}function Y(t,e){try{var n={a:t,b:e},_=(f,u)=>{const s=n.a;n.a=0;try{return H(s,n.b,f,u)}finally{n.a=s}};const o=new Promise(_);return i(o)}finally{n.a=n.b=0}}function Z(t,e){return setTimeout(r(t),e>>>0)}function tt(t,e){const n=m(t,e);return i(n)}function et(t){const e=r(t);return i(e)}function nt(t){return r(t)===void 0}function rt(){return g(function(t,e){return Reflect.has(r(t),r(e))},arguments)}function _t(){return g(function(t,e){const n=JSON.parse(m(t,e));return i(n)},arguments)}function ot(){return i(new Date)}function ct(t){return r(t).getTime()}function it(t){return r(t).now()}function ut(){return Date.now()}function st(t){const e=Object.keys(r(t));return i(e)}function ft(t){return r(t).length}function at(t){b(t)}function bt(t){const e=r(t);return typeof e=="object"&&e!==null}function gt(t){let e;try{e=r(t)instanceof Promise}catch{e=!1}return e}function lt(){return i(Symbol.iterator)}function dt(t){const e=r(t);return typeof e=="boolean"?e?1:0:2}function wt(t){return typeof r(t)=="bigint"}function pt(t,e){const n=r(e),_=typeof n=="number"?n:void 0;d().setFloat64(t+8*1,x(_)?0:_,!0),d().setInt32(t+4*0,!x(_),!0)}function xt(t){return i(t)}function yt(t,e){return r(t)in r(e)}function mt(t){const e=BigInt.asUintN(64,t);return i(e)}function ht(t,e){return r(t)===r(e)}function Tt(t){return i(t)}function It(){const t=new Array;return i(t)}function St(t,e,n){r(t)[e>>>0]=b(n)}function jt(){return i(new Map)}function At(){const t=new Object;return i(t)}function Ot(t,e,n){const _=r(t).set(r(e),r(n));return i(_)}function qt(t){return typeof r(t)=="string"}function kt(t,e,n){r(t)[b(e)]=b(n)}function vt(t,e){const n=r(t)[r(e)];return i(n)}function Et(t,e){return r(t).push(r(e))}function Ft(){return g(function(t,e){const n=r(t)[b(e)];return i(n)},arguments)}function Rt(t,e){const n=String(r(e)),_=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a;d().setInt32(t+4*1,o,!0),d().setInt32(t+4*0,_,!0)}function Dt(){const t=c.memory;return i(t)}function Mt(t){const e=r(t).buffer;return i(e)}function Ut(t,e,n){const _=new Uint8Array(r(t),e>>>0,n>>>0);return i(_)}function Bt(t){const e=new Uint8Array(r(t));return i(e)}function Nt(t,e,n){const _=r(t).subarray(e>>>0,n>>>0);return i(_)}function Ct(){return g(function(t,e){r(t).getRandomValues(r(e))},arguments)}function $t(){return g(function(t,e){r(t).randomFillSync(b(e))},arguments)}function Vt(t){const e=r(t).crypto;return i(e)}function zt(t){const e=r(t).process;return i(e)}function Lt(t){const e=r(t).versions;return i(e)}function Pt(t){const e=r(t).node;return i(e)}function Wt(){return g(function(){const t=module.require;return i(t)},arguments)}function Jt(t){const e=r(t).msCrypto;return i(e)}function Qt(t){const e=new Uint8Array(t>>>0);return i(e)}function Ht(t){return typeof r(t)=="function"}function Gt(){return g(function(t,e){const n=r(t).call(r(e));return i(n)},arguments)}function Kt(t,e){const n=r(t)[e>>>0];return i(n)}function Xt(t){return r(t).valueOf()}function Yt(){return g(function(t){const e=r(t).next();return i(e)},arguments)}function Zt(t){return r(t).done}function te(t){const e=r(t).value;return i(e)}function ee(t){const e=r(t).next;return i(e)}function ne(){return g(function(t,e){const n=Reflect.get(r(t),r(e));return i(n)},arguments)}function re(){return g(function(){const t=self.self;return i(t)},arguments)}function _e(){return g(function(){const t=window.window;return i(t)},arguments)}function oe(){return g(function(){const t=globalThis.globalThis;return i(t)},arguments)}function ce(){return g(function(){const t=global.global;return i(t)},arguments)}function ie(t,e){const n=new T(m(t,e));return i(n)}function ue(t){return Array.isArray(r(t))}function se(){return g(function(t,e,n){const _=r(t).call(r(e),r(n));return i(_)},arguments)}function fe(t){return Number.isSafeInteger(r(t))}function ae(){return g(function(t,e,n){return Reflect.set(r(t),r(e),r(n))},arguments)}function be(){return g(function(t){const e=JSON.stringify(r(t));return i(e)},arguments)}function ge(t,e,n){r(t).set(r(e),n>>>0)}function le(t){return r(t).length}function de(){return g(function(){return Date.now()},arguments)}function we(t,e){return r(t)==r(e)}function pe(t){let e;try{e=r(t)instanceof Uint8Array}catch{e=!1}return e}function xe(t){let e;try{e=r(t)instanceof ArrayBuffer}catch{e=!1}return e}function ye(t){const e=Object.entries(r(t));return i(e)}function me(t,e){throw new Error(m(t,e))}function he(t,e){const n=r(e),_=typeof n=="bigint"?n:void 0;d().setBigInt64(t+8*1,x(_)?BigInt(0):_,!0),d().setInt32(t+4*0,!x(_),!0)}function Te(t,e){const n=O(r(e)),_=l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a;d().setInt32(t+4*1,o,!0),d().setInt32(t+4*0,_,!0)}function Ie(t){const e=b(t).original;return e.cnt--==1?(e.a=0,!0):!1}function Se(t,e){const n=r(t).then(r(e));return i(n)}function je(t,e,n){const _=r(t).then(r(e),r(n));return i(_)}function Ae(t){const e=Promise.resolve(r(t));return i(e)}function Oe(t,e,n){const _=P(t,e,529,W);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_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_wrapper6733,__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_wrapper6840:()=>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__h9f2fcea3357d311c(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__h157f32060ce6ea34(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,532,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_wrapper6840,__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});
@@ -1165,25 +1165,17 @@ declare type EngineEventType = QueryEventType | LogEventType;
1165
1165
  declare type EngineProtocol = 'graphql' | 'json';
1166
1166
 
1167
1167
  declare type EngineSpan = {
1168
- span: boolean;
1168
+ id: EngineSpanId;
1169
+ parentId: string | null;
1169
1170
  name: string;
1170
- trace_id: string;
1171
- span_id: string;
1172
- parent_span_id: string;
1173
- start_time: [number, number];
1174
- end_time: [number, number];
1175
- attributes?: Record<string, string>;
1176
- links?: {
1177
- trace_id: string;
1178
- span_id: string;
1179
- }[];
1171
+ startTime: HrTime;
1172
+ endTime: HrTime;
1180
1173
  kind: EngineSpanKind;
1174
+ attributes?: Record<string, unknown>;
1175
+ links?: EngineSpanId[];
1181
1176
  };
1182
1177
 
1183
- declare type EngineSpanEvent = {
1184
- span: boolean;
1185
- spans: EngineSpan[];
1186
- };
1178
+ declare type EngineSpanId = string;
1187
1179
 
1188
1180
  declare type EngineSpanKind = 'client' | 'internal';
1189
1181
 
@@ -1752,6 +1744,8 @@ declare type HandleErrorParams = {
1752
1744
  globalOmit?: GlobalOmitOptions;
1753
1745
  };
1754
1746
 
1747
+ declare type HrTime = [number, number];
1748
+
1755
1749
  /**
1756
1750
  * Defines High-Resolution Time.
1757
1751
  *
@@ -1764,7 +1758,7 @@ declare type HandleErrorParams = {
1764
1758
  * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.
1765
1759
  * This is represented in HrTime format as [1609504210, 150000000].
1766
1760
  */
1767
- declare type HrTime = [number, number];
1761
+ declare type HrTime_2 = [number, number];
1768
1762
 
1769
1763
  /**
1770
1764
  * Matches a JSON array.
@@ -2546,20 +2540,20 @@ declare interface QueryEngineConstructor {
2546
2540
  }
2547
2541
 
2548
2542
  declare type QueryEngineInstance = {
2549
- connect(headers: string): Promise<void>;
2550
- disconnect(headers: string): Promise<void>;
2543
+ connect(headers: string, requestId: string): Promise<void>;
2544
+ disconnect(headers: string, requestId: string): Promise<void>;
2551
2545
  /**
2552
2546
  * @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`
2553
2547
  * @param headersStr JSON.stringified `QueryEngineRequestHeaders`
2554
2548
  */
2555
- query(requestStr: string, headersStr: string, transactionId?: string): Promise<string>;
2556
- sdlSchema(): Promise<string>;
2557
- dmmf(traceparent: string): Promise<string>;
2558
- startTransaction(options: string, traceHeaders: string): Promise<string>;
2559
- commitTransaction(id: string, traceHeaders: string): Promise<string>;
2560
- rollbackTransaction(id: string, traceHeaders: string): Promise<string>;
2561
- metrics(options: string): Promise<string>;
2562
- applyPendingMigrations(): Promise<void>;
2549
+ query(requestStr: string, headersStr: string, transactionId: string | undefined, requestId: string): Promise<string>;
2550
+ sdlSchema?(): Promise<string>;
2551
+ startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;
2552
+ commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;
2553
+ rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;
2554
+ metrics?(options: string): Promise<string>;
2555
+ applyPendingMigrations?(): Promise<void>;
2556
+ trace(requestId: string): Promise<string | null>;
2563
2557
  };
2564
2558
 
2565
2559
  declare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';
@@ -3161,7 +3155,7 @@ export declare function sqltag(strings: readonly string[], ...values: readonly R
3161
3155
  *
3162
3156
  * hrtime, epoch milliseconds, performance.now() or Date
3163
3157
  */
3164
- declare type TimeInput = HrTime | number | Date;
3158
+ declare type TimeInput = HrTime_2 | number | Date;
3165
3159
 
3166
3160
  export declare type ToTuple<T> = T extends any[] ? T : [T];
3167
3161
 
@@ -3206,7 +3200,7 @@ declare interface TraceState {
3206
3200
  declare interface TracingHelper {
3207
3201
  isEnabled(): boolean;
3208
3202
  getTraceParent(context?: Context): string;
3209
- createEngineSpan(engineSpanEvent: EngineSpanEvent): void;
3203
+ dispatchEngineSpans(spans: EngineSpan[]): void;
3210
3204
  getActiveContext(): Context | undefined;
3211
3205
  runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;
3212
3206
  }