prisma 6.19.0-dev.2 → 6.19.0-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +640 -640
- package/build/prisma_schema_build_bg.wasm +0 -0
- package/build/query_compiler_bg.cockroachdb.js +2 -2
- package/build/query_compiler_bg.cockroachdb.mjs +2 -2
- package/build/query_compiler_bg.cockroachdb.wasm +0 -0
- package/build/query_compiler_bg.mysql.js +2 -2
- package/build/query_compiler_bg.mysql.mjs +2 -2
- package/build/query_compiler_bg.mysql.wasm +0 -0
- package/build/query_compiler_bg.postgresql.js +2 -2
- package/build/query_compiler_bg.postgresql.mjs +2 -2
- package/build/query_compiler_bg.postgresql.wasm +0 -0
- package/build/query_compiler_bg.sqlite.js +2 -2
- package/build/query_compiler_bg.sqlite.mjs +2 -2
- package/build/query_compiler_bg.sqlite.wasm +0 -0
- package/build/query_compiler_bg.sqlserver.js +2 -2
- package/build/query_compiler_bg.sqlserver.mjs +2 -2
- package/build/query_compiler_bg.sqlserver.wasm +0 -0
- package/build/query_engine_bg.cockroachdb.js +2 -2
- package/build/query_engine_bg.cockroachdb.mjs +2 -2
- package/build/query_engine_bg.cockroachdb.wasm +0 -0
- package/build/query_engine_bg.mysql.js +2 -2
- package/build/query_engine_bg.mysql.mjs +2 -2
- package/build/query_engine_bg.mysql.wasm +0 -0
- package/build/query_engine_bg.postgresql.js +2 -2
- package/build/query_engine_bg.postgresql.mjs +2 -2
- package/build/query_engine_bg.postgresql.wasm +0 -0
- package/build/query_engine_bg.sqlite.js +2 -2
- package/build/query_engine_bg.sqlite.mjs +2 -2
- package/build/query_engine_bg.sqlite.wasm +0 -0
- package/build/query_engine_bg.sqlserver.js +2 -2
- package/build/query_engine_bg.sqlserver.mjs +2 -2
- package/build/query_engine_bg.sqlserver.wasm +0 -0
- package/build/schema_engine_bg.wasm +0 -0
- package/package.json +15 -15
- package/prisma-client/generator-build/index.js +11 -11
- package/prisma-client/package.json +4 -4
- package/prisma-client/runtime/binary.js +6 -6
- package/prisma-client/runtime/binary.js.map +3 -3
- package/prisma-client/runtime/binary.mjs +5 -5
- package/prisma-client/runtime/binary.mjs.map +3 -3
- package/prisma-client/runtime/client.js +3 -3
- package/prisma-client/runtime/client.js.map +3 -3
- package/prisma-client/runtime/client.mjs +3 -3
- package/prisma-client/runtime/client.mjs.map +3 -3
- package/prisma-client/runtime/edge-esm.js +3 -3
- package/prisma-client/runtime/edge-esm.js.map +4 -4
- package/prisma-client/runtime/edge.js +3 -3
- package/prisma-client/runtime/edge.js.map +4 -4
- package/prisma-client/runtime/library.js +18 -18
- package/prisma-client/runtime/library.js.map +3 -3
- package/prisma-client/runtime/library.mjs +17 -17
- package/prisma-client/runtime/library.mjs.map +3 -3
- package/prisma-client/runtime/query_compiler_bg.cockroachdb.js +2 -2
- package/prisma-client/runtime/query_compiler_bg.cockroachdb.mjs +2 -2
- package/prisma-client/runtime/query_compiler_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_compiler_bg.mysql.mjs +2 -2
- package/prisma-client/runtime/query_compiler_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_compiler_bg.postgresql.mjs +2 -2
- package/prisma-client/runtime/query_compiler_bg.sqlite.js +2 -2
- package/prisma-client/runtime/query_compiler_bg.sqlite.mjs +2 -2
- package/prisma-client/runtime/query_compiler_bg.sqlserver.js +2 -2
- package/prisma-client/runtime/query_compiler_bg.sqlserver.mjs +2 -2
- package/prisma-client/runtime/query_engine_bg.cockroachdb.js +2 -2
- package/prisma-client/runtime/query_engine_bg.cockroachdb.mjs +2 -2
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.mysql.mjs +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.mjs +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.mjs +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlserver.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlserver.mjs +2 -2
- package/prisma-client/runtime/react-native.js +2 -2
- package/prisma-client/runtime/react-native.js.map +4 -4
- package/prisma-client/scripts/default-index.js +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
2
|
-
${e.stack}`:
|
|
1
|
+
"use strict";var F=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var N=(e,t)=>{for(var n in t)F(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,_)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of M(t))!B.call(e,r)&&r!==n&&F(e,r,{get:()=>t[r],enumerable:!(_=j(t,r))||_.enumerable});return e};var R=e=>U(F({},"__esModule",{value:!0}),e);var Ge={};N(Ge,{QueryCompiler:()=>E,__wbg_Error_e83987f665cf5504:()=>k,__wbg_Number_bb48ca12f395cd08:()=>W,__wbg_String_8f0eb39a4a4c2f66:()=>$,__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68:()=>V,__wbg___wbindgen_debug_string_df47ffb5e35e6763:()=>z,__wbg___wbindgen_in_bb933bd9e1b3bc0f:()=>G,__wbg___wbindgen_is_function_ee8a6c5833c90377:()=>P,__wbg___wbindgen_is_object_c818261d21f283a4:()=>Q,__wbg___wbindgen_is_string_fbb76cb2940daafd:()=>Y,__wbg___wbindgen_is_undefined_2d472862bd29a478:()=>H,__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147:()=>J,__wbg___wbindgen_number_get_a20bf9b85341449d:()=>X,__wbg___wbindgen_string_get_e4f06c90489ad01b:()=>K,__wbg___wbindgen_throw_b855445ff6a94295:()=>Z,__wbg_call_525440f72fbfc0ea:()=>v,__wbg_call_e762c39fa8ea36bf:()=>ee,__wbg_crypto_805be4ce92f1e370:()=>te,__wbg_entries_e171b586f8f6bdbf:()=>ne,__wbg_getRandomValues_f6a868620c8bab49:()=>re,__wbg_getTime_14776bfb48a1bff9:()=>_e,__wbg_get_7bed016f185add81:()=>oe,__wbg_get_with_ref_key_1dc361bd10053bfe:()=>ce,__wbg_instanceof_ArrayBuffer_70beb1189ca63b38:()=>ie,__wbg_instanceof_Uint8Array_20c8e73002f7af98:()=>ue,__wbg_isSafeInteger_d216eda7911dde36:()=>se,__wbg_keys_b4d27b02ad14f4be:()=>fe,__wbg_length_69bca3cb64fc8748:()=>be,__wbg_length_cdd215e10d9dd507:()=>ae,__wbg_msCrypto_2ac4d17c4748234a:()=>de,__wbg_new_0_f9740686d739025c:()=>ge,__wbg_new_1acc0b6eea89d040:()=>le,__wbg_new_5a79be3ab53b8aa5:()=>we,__wbg_new_68651c719dcda04e:()=>pe,__wbg_new_e17d9f43105b08be:()=>xe,__wbg_new_no_args_ee98eee5275000a4:()=>ye,__wbg_new_with_length_01aa0dc35aa13543:()=>me,__wbg_node_ecc8306b9857f33d:()=>he,__wbg_now_793306c526e2e3b6:()=>Ae,__wbg_now_b3f7572f6ef3d3a9:()=>Se,__wbg_process_5cff2739921be718:()=>Fe,__wbg_prototypesetcall_2a6620b6922694b2:()=>Ie,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>Te,__wbg_require_0c566c6f2eef6c79:()=>Ee,__wbg_set_3f1d0b984ed272ed:()=>Oe,__wbg_set_907fb406c34a251d:()=>De,__wbg_set_c213c871859d6500:()=>je,__wbg_set_message_82ae475bb413aa5c:()=>Me,__wbg_set_wasm:()=>q,__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e:()=>Be,__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac:()=>Ne,__wbg_static_accessor_SELF_6fdf4b64710cc91b:()=>Ue,__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2:()=>Re,__wbg_subarray_480600f3d6a9f26c:()=>qe,__wbg_versions_a8e5a362e1f16442:()=>Ce,__wbindgen_cast_2241b6af4c4b2941:()=>Le,__wbindgen_cast_4625c577ab2ec9ee:()=>ke,__wbindgen_cast_9ae0607507abb057:()=>We,__wbindgen_cast_cb9088102bce6b30:()=>$e,__wbindgen_cast_d6cd19b81560fd6e:()=>Ve,__wbindgen_init_externref_table:()=>ze});module.exports=R(Ge);var h=()=>{};h.prototype=h;let o;function q(e){o=e}let A=null;function l(){return(A===null||A.byteLength===0)&&(A=new Uint8Array(o.memory.buffer)),A}let S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});S.decode();const C=2146435072;let I=0;function L(e,t){return I+=t,I>=C&&(S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),S.decode(),I=t),S.decode(l().subarray(e,e+t))}function w(e,t){return e=e>>>0,L(e,t)}let b=0;const p=new TextEncoder;"encodeInto"in p||(p.encodeInto=function(e,t){const n=p.encode(e);return t.set(n),{read:e.length,written:n.length}});function x(e,t,n){if(n===void 0){const i=p.encode(e),g=t(i.length,1)>>>0;return l().subarray(g,g+i.length).set(i),b=i.length,g}let _=e.length,r=t(_,1)>>>0;const u=l();let c=0;for(;c<_;c++){const i=e.charCodeAt(c);if(i>127)break;u[r+c]=i}if(c!==_){c!==0&&(e=e.slice(c)),r=n(r,_,_=c+e.length*3,1)>>>0;const i=l().subarray(r+c,r+_),g=p.encodeInto(e,i);c+=g.written,r=n(r,_,c,1)>>>0}return b=c,r}let a=null;function s(){return(a===null||a.buffer.detached===!0||a.buffer.detached===void 0&&a.buffer!==o.memory.buffer)&&(a=new DataView(o.memory.buffer)),a}function f(e){return e==null}function T(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const r=e.description;return r==null?"Symbol":`Symbol(${r})`}if(t=="function"){const r=e.name;return typeof r=="string"&&r.length>0?`Function(${r})`:"Function"}if(Array.isArray(e)){const r=e.length;let u="[";r>0&&(u+=T(e[0]));for(let c=1;c<r;c++)u+=", "+T(e[c]);return u+="]",u}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(n&&n.length>1)_=n[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}`:_}function y(e){const t=o.__externref_table_alloc();return o.__wbindgen_externrefs.set(t,e),t}function d(e,t){try{return e.apply(this,t)}catch(n){const _=y(n);o.__wbindgen_exn_store(_)}}function O(e,t){return e=e>>>0,l().subarray(e/1,e/1+t)}function m(e){const t=o.__wbindgen_externrefs.get(e);return o.__externref_table_dealloc(e),t}const D=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>o.__wbg_querycompiler_free(e>>>0,1));class E{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),t}free(){const t=this.__destroy_into_raw();o.__wbg_querycompiler_free(t,0)}constructor(t){const n=o.querycompiler_new(t);if(n[2])throw m(n[1]);return this.__wbg_ptr=n[0]>>>0,D.register(this,this.__wbg_ptr,this),this}compile(t){const n=x(t,o.__wbindgen_malloc,o.__wbindgen_realloc),_=b,r=o.querycompiler_compile(this.__wbg_ptr,n,_);if(r[2])throw m(r[1]);return m(r[0])}compileBatch(t){const n=x(t,o.__wbindgen_malloc,o.__wbindgen_realloc),_=b,r=o.querycompiler_compileBatch(this.__wbg_ptr,n,_);if(r[2])throw m(r[1]);return m(r[0])}}Symbol.dispose&&(E.prototype[Symbol.dispose]=E.prototype.free);function k(e,t){return Error(w(e,t))}function W(e){return Number(e)}function $(e,t){const n=String(t),_=x(n,o.__wbindgen_malloc,o.__wbindgen_realloc),r=b;s().setInt32(e+4*1,r,!0),s().setInt32(e+4*0,_,!0)}function V(e){const t=e,n=typeof t=="boolean"?t:void 0;return f(n)?16777215:n?1:0}function z(e,t){const n=T(t),_=x(n,o.__wbindgen_malloc,o.__wbindgen_realloc),r=b;s().setInt32(e+4*1,r,!0),s().setInt32(e+4*0,_,!0)}function G(e,t){return e in t}function P(e){return typeof e=="function"}function Q(e){const t=e;return typeof t=="object"&&t!==null}function Y(e){return typeof e=="string"}function H(e){return e===void 0}function J(e,t){return e==t}function X(e,t){const n=t,_=typeof n=="number"?n:void 0;s().setFloat64(e+8*1,f(_)?0:_,!0),s().setInt32(e+4*0,!f(_),!0)}function K(e,t){const n=t,_=typeof n=="string"?n:void 0;var r=f(_)?0:x(_,o.__wbindgen_malloc,o.__wbindgen_realloc),u=b;s().setInt32(e+4*1,u,!0),s().setInt32(e+4*0,r,!0)}function Z(e,t){throw new Error(w(e,t))}function v(){return d(function(e,t,n){return e.call(t,n)},arguments)}function ee(){return d(function(e,t){return e.call(t)},arguments)}function te(e){return e.crypto}function ne(e){return Object.entries(e)}function re(){return d(function(e,t){e.getRandomValues(t)},arguments)}function _e(e){return e.getTime()}function oe(e,t){return e[t>>>0]}function ce(e,t){return e[t]}function ie(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function ue(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function se(e){return Number.isSafeInteger(e)}function fe(e){return Object.keys(e)}function be(e){return e.length}function ae(e){return e.length}function de(e){return e.msCrypto}function ge(){return new Date}function le(){return new Object}function we(e){return new Uint8Array(e)}function pe(){return new Map}function xe(){return new Array}function ye(e,t){return new h(w(e,t))}function me(e){return new Uint8Array(e>>>0)}function he(e){return e.node}function Ae(){return Date.now()}function Se(){return d(function(){return Date.now()},arguments)}function Fe(e){return e.process}function Ie(e,t,n){Uint8Array.prototype.set.call(O(e,t),n)}function Te(){return d(function(e,t){e.randomFillSync(t)},arguments)}function Ee(){return d(function(){return module.require},arguments)}function Oe(e,t,n){e[t]=n}function De(e,t,n){return e.set(t,n)}function je(e,t,n){e[t>>>0]=n}function Me(e,t){global.PRISMA_WASM_PANIC_REGISTRY.set_message(w(e,t))}function Be(){const e=typeof global>"u"?null:global;return f(e)?0:y(e)}function Ne(){const e=typeof globalThis>"u"?null:globalThis;return f(e)?0:y(e)}function Ue(){const e=typeof self>"u"?null:self;return f(e)?0:y(e)}function Re(){const e=typeof window>"u"?null:window;return f(e)?0:y(e)}function qe(e,t,n){return e.subarray(t>>>0,n>>>0)}function Ce(e){return e.versions}function Le(e,t){return w(e,t)}function ke(e){return BigInt.asUintN(64,e)}function We(e){return e}function $e(e,t){return O(e,t)}function Ve(e){return e}function ze(){const e=o.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}0&&(module.exports={QueryCompiler,__wbg_Error_e83987f665cf5504,__wbg_Number_bb48ca12f395cd08,__wbg_String_8f0eb39a4a4c2f66,__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68,__wbg___wbindgen_debug_string_df47ffb5e35e6763,__wbg___wbindgen_in_bb933bd9e1b3bc0f,__wbg___wbindgen_is_function_ee8a6c5833c90377,__wbg___wbindgen_is_object_c818261d21f283a4,__wbg___wbindgen_is_string_fbb76cb2940daafd,__wbg___wbindgen_is_undefined_2d472862bd29a478,__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147,__wbg___wbindgen_number_get_a20bf9b85341449d,__wbg___wbindgen_string_get_e4f06c90489ad01b,__wbg___wbindgen_throw_b855445ff6a94295,__wbg_call_525440f72fbfc0ea,__wbg_call_e762c39fa8ea36bf,__wbg_crypto_805be4ce92f1e370,__wbg_entries_e171b586f8f6bdbf,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_14776bfb48a1bff9,__wbg_get_7bed016f185add81,__wbg_get_with_ref_key_1dc361bd10053bfe,__wbg_instanceof_ArrayBuffer_70beb1189ca63b38,__wbg_instanceof_Uint8Array_20c8e73002f7af98,__wbg_isSafeInteger_d216eda7911dde36,__wbg_keys_b4d27b02ad14f4be,__wbg_length_69bca3cb64fc8748,__wbg_length_cdd215e10d9dd507,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new_0_f9740686d739025c,__wbg_new_1acc0b6eea89d040,__wbg_new_5a79be3ab53b8aa5,__wbg_new_68651c719dcda04e,__wbg_new_e17d9f43105b08be,__wbg_new_no_args_ee98eee5275000a4,__wbg_new_with_length_01aa0dc35aa13543,__wbg_node_ecc8306b9857f33d,__wbg_now_793306c526e2e3b6,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_prototypesetcall_2a6620b6922694b2,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_set_3f1d0b984ed272ed,__wbg_set_907fb406c34a251d,__wbg_set_c213c871859d6500,__wbg_set_message_82ae475bb413aa5c,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e,__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac,__wbg_static_accessor_SELF_6fdf4b64710cc91b,__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2,__wbg_subarray_480600f3d6a9f26c,__wbg_versions_a8e5a362e1f16442,__wbindgen_cast_2241b6af4c4b2941,__wbindgen_cast_4625c577ab2ec9ee,__wbindgen_cast_9ae0607507abb057,__wbindgen_cast_cb9088102bce6b30,__wbindgen_cast_d6cd19b81560fd6e,__wbindgen_init_externref_table});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
2
|
-
${e.stack}`:r}function
|
|
1
|
+
var h=()=>{};h.prototype=h;let o;function B(e){o=e}let A=null;function l(){return(A===null||A.byteLength===0)&&(A=new Uint8Array(o.memory.buffer)),A}let S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});S.decode();const D=2146435072;let F=0;function j(e,t){return F+=t,F>=D&&(S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),S.decode(),F=t),S.decode(l().subarray(e,e+t))}function w(e,t){return e=e>>>0,j(e,t)}let b=0;const p=new TextEncoder;"encodeInto"in p||(p.encodeInto=function(e,t){const n=p.encode(e);return t.set(n),{read:e.length,written:n.length}});function x(e,t,n){if(n===void 0){const i=p.encode(e),g=t(i.length,1)>>>0;return l().subarray(g,g+i.length).set(i),b=i.length,g}let r=e.length,_=t(r,1)>>>0;const u=l();let c=0;for(;c<r;c++){const i=e.charCodeAt(c);if(i>127)break;u[_+c]=i}if(c!==r){c!==0&&(e=e.slice(c)),_=n(_,r,r=c+e.length*3,1)>>>0;const i=l().subarray(_+c,_+r),g=p.encodeInto(e,i);c+=g.written,_=n(_,r,c,1)>>>0}return b=c,_}let a=null;function s(){return(a===null||a.buffer.detached===!0||a.buffer.detached===void 0&&a.buffer!==o.memory.buffer)&&(a=new DataView(o.memory.buffer)),a}function f(e){return e==null}function I(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const _=e.description;return _==null?"Symbol":`Symbol(${_})`}if(t=="function"){const _=e.name;return typeof _=="string"&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(e)){const _=e.length;let u="[";_>0&&(u+=I(e[0]));for(let c=1;c<_;c++)u+=", "+I(e[c]);return u+="]",u}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
|
2
|
+
${e.stack}`:r}function y(e){const t=o.__externref_table_alloc();return o.__wbindgen_externrefs.set(t,e),t}function d(e,t){try{return e.apply(this,t)}catch(n){const r=y(n);o.__wbindgen_exn_store(r)}}function T(e,t){return e=e>>>0,l().subarray(e/1,e/1+t)}function m(e){const t=o.__wbindgen_externrefs.get(e);return o.__externref_table_dealloc(e),t}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>o.__wbg_querycompiler_free(e>>>0,1));class O{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),t}free(){const t=this.__destroy_into_raw();o.__wbg_querycompiler_free(t,0)}constructor(t){const n=o.querycompiler_new(t);if(n[2])throw m(n[1]);return this.__wbg_ptr=n[0]>>>0,E.register(this,this.__wbg_ptr,this),this}compile(t){const n=x(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=b,_=o.querycompiler_compile(this.__wbg_ptr,n,r);if(_[2])throw m(_[1]);return m(_[0])}compileBatch(t){const n=x(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=b,_=o.querycompiler_compileBatch(this.__wbg_ptr,n,r);if(_[2])throw m(_[1]);return m(_[0])}}Symbol.dispose&&(O.prototype[Symbol.dispose]=O.prototype.free);function N(e,t){return Error(w(e,t))}function U(e){return Number(e)}function R(e,t){const n=String(t),r=x(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=b;s().setInt32(e+4*1,_,!0),s().setInt32(e+4*0,r,!0)}function q(e){const t=e,n=typeof t=="boolean"?t:void 0;return f(n)?16777215:n?1:0}function C(e,t){const n=I(t),r=x(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=b;s().setInt32(e+4*1,_,!0),s().setInt32(e+4*0,r,!0)}function L(e,t){return e in t}function k(e){return typeof e=="function"}function W(e){const t=e;return typeof t=="object"&&t!==null}function $(e){return typeof e=="string"}function V(e){return e===void 0}function z(e,t){return e==t}function G(e,t){const n=t,r=typeof n=="number"?n:void 0;s().setFloat64(e+8*1,f(r)?0:r,!0),s().setInt32(e+4*0,!f(r),!0)}function P(e,t){const n=t,r=typeof n=="string"?n:void 0;var _=f(r)?0:x(r,o.__wbindgen_malloc,o.__wbindgen_realloc),u=b;s().setInt32(e+4*1,u,!0),s().setInt32(e+4*0,_,!0)}function Q(e,t){throw new Error(w(e,t))}function Y(){return d(function(e,t,n){return e.call(t,n)},arguments)}function H(){return d(function(e,t){return e.call(t)},arguments)}function J(e){return e.crypto}function X(e){return Object.entries(e)}function K(){return d(function(e,t){e.getRandomValues(t)},arguments)}function Z(e){return e.getTime()}function v(e,t){return e[t>>>0]}function ee(e,t){return e[t]}function te(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function ne(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function re(e){return Number.isSafeInteger(e)}function _e(e){return Object.keys(e)}function oe(e){return e.length}function ce(e){return e.length}function ie(e){return e.msCrypto}function ue(){return new Date}function se(){return new Object}function fe(e){return new Uint8Array(e)}function be(){return new Map}function ae(){return new Array}function de(e,t){return new h(w(e,t))}function ge(e){return new Uint8Array(e>>>0)}function le(e){return e.node}function we(){return Date.now()}function pe(){return d(function(){return Date.now()},arguments)}function xe(e){return e.process}function ye(e,t,n){Uint8Array.prototype.set.call(T(e,t),n)}function me(){return d(function(e,t){e.randomFillSync(t)},arguments)}function he(){return d(function(){return module.require},arguments)}function Ae(e,t,n){e[t]=n}function Se(e,t,n){return e.set(t,n)}function Fe(e,t,n){e[t>>>0]=n}function Ie(e,t){global.PRISMA_WASM_PANIC_REGISTRY.set_message(w(e,t))}function Te(){const e=typeof global>"u"?null:global;return f(e)?0:y(e)}function Ee(){const e=typeof globalThis>"u"?null:globalThis;return f(e)?0:y(e)}function Oe(){const e=typeof self>"u"?null:self;return f(e)?0:y(e)}function De(){const e=typeof window>"u"?null:window;return f(e)?0:y(e)}function je(e,t,n){return e.subarray(t>>>0,n>>>0)}function Me(e){return e.versions}function Be(e,t){return w(e,t)}function Ne(e){return BigInt.asUintN(64,e)}function Ue(e){return e}function Re(e,t){return T(e,t)}function qe(e){return e}function Ce(){const e=o.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}export{O as QueryCompiler,N as __wbg_Error_e83987f665cf5504,U as __wbg_Number_bb48ca12f395cd08,R as __wbg_String_8f0eb39a4a4c2f66,q as __wbg___wbindgen_boolean_get_6d5a1ee65bab5f68,C as __wbg___wbindgen_debug_string_df47ffb5e35e6763,L as __wbg___wbindgen_in_bb933bd9e1b3bc0f,k as __wbg___wbindgen_is_function_ee8a6c5833c90377,W as __wbg___wbindgen_is_object_c818261d21f283a4,$ as __wbg___wbindgen_is_string_fbb76cb2940daafd,V as __wbg___wbindgen_is_undefined_2d472862bd29a478,z as __wbg___wbindgen_jsval_loose_eq_b664b38a2f582147,G as __wbg___wbindgen_number_get_a20bf9b85341449d,P as __wbg___wbindgen_string_get_e4f06c90489ad01b,Q as __wbg___wbindgen_throw_b855445ff6a94295,Y as __wbg_call_525440f72fbfc0ea,H as __wbg_call_e762c39fa8ea36bf,J as __wbg_crypto_805be4ce92f1e370,X as __wbg_entries_e171b586f8f6bdbf,K as __wbg_getRandomValues_f6a868620c8bab49,Z as __wbg_getTime_14776bfb48a1bff9,v as __wbg_get_7bed016f185add81,ee as __wbg_get_with_ref_key_1dc361bd10053bfe,te as __wbg_instanceof_ArrayBuffer_70beb1189ca63b38,ne as __wbg_instanceof_Uint8Array_20c8e73002f7af98,re as __wbg_isSafeInteger_d216eda7911dde36,_e as __wbg_keys_b4d27b02ad14f4be,oe as __wbg_length_69bca3cb64fc8748,ce as __wbg_length_cdd215e10d9dd507,ie as __wbg_msCrypto_2ac4d17c4748234a,ue as __wbg_new_0_f9740686d739025c,se as __wbg_new_1acc0b6eea89d040,fe as __wbg_new_5a79be3ab53b8aa5,be as __wbg_new_68651c719dcda04e,ae as __wbg_new_e17d9f43105b08be,de as __wbg_new_no_args_ee98eee5275000a4,ge as __wbg_new_with_length_01aa0dc35aa13543,le as __wbg_node_ecc8306b9857f33d,we as __wbg_now_793306c526e2e3b6,pe as __wbg_now_b3f7572f6ef3d3a9,xe as __wbg_process_5cff2739921be718,ye as __wbg_prototypesetcall_2a6620b6922694b2,me as __wbg_randomFillSync_d3c85af7e31cf1f8,he as __wbg_require_0c566c6f2eef6c79,Ae as __wbg_set_3f1d0b984ed272ed,Se as __wbg_set_907fb406c34a251d,Fe as __wbg_set_c213c871859d6500,Ie as __wbg_set_message_82ae475bb413aa5c,B as __wbg_set_wasm,Te as __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e,Ee as __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac,Oe as __wbg_static_accessor_SELF_6fdf4b64710cc91b,De as __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2,je as __wbg_subarray_480600f3d6a9f26c,Me as __wbg_versions_a8e5a362e1f16442,Be as __wbindgen_cast_2241b6af4c4b2941,Ne as __wbindgen_cast_4625c577ab2ec9ee,Ue as __wbindgen_cast_9ae0607507abb057,Re as __wbindgen_cast_cb9088102bce6b30,qe as __wbindgen_cast_d6cd19b81560fd6e,Ce as __wbindgen_init_externref_table};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
2
|
-
${e.stack}`:r}function O(e){const t=o.__wbindgen_export_4.get(e);return o.__externref_table_dealloc(e),t}function z(e){var t=b(e)?0:f(e,o.__wbindgen_malloc,o.__wbindgen_realloc),n=s;const r=o.debug_panic(t,n);if(r[1])throw O(r[0])}function W(){return o.getBuildTimeInfo()}function P(e,t,n){o.closure595_externref_shim(e,t,n)}function G(e,t,n,r){o.closure130_externref_shim(e,t,n,r)}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>o.__wbg_queryengine_free(e>>>0,1));class Q{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();o.__wbg_queryengine_free(t,0)}disconnect(t,n){const r=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s,i=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),c=s;return o.queryengine_disconnect(this.__wbg_ptr,r,_,i,c)}startTransaction(t,n,r){const _=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s,c=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=s,a=f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),d=s;return o.queryengine_startTransaction(this.__wbg_ptr,_,i,c,u,a,d)}commitTransaction(t,n,r){const _=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s,c=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=s,a=f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),d=s;return o.queryengine_commitTransaction(this.__wbg_ptr,_,i,c,u,a,d)}rollbackTransaction(t,n,r){const _=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s,c=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=s,a=f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),d=s;return o.queryengine_rollbackTransaction(this.__wbg_ptr,_,i,c,u,a,d)}constructor(t,n,r){const _=o.queryengine_new(t,n,r);if(_[2])throw O(_[1]);return this.__wbg_ptr=_[0]>>>0,F.register(this,this.__wbg_ptr,this),this}query(t,n,r,_){const i=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=s,u=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),a=s;var d=b(r)?0:f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),y=s;const M=f(_,o.__wbindgen_malloc,o.__wbindgen_realloc),j=s;return o.queryengine_query(this.__wbg_ptr,i,c,u,a,d,y,M,j)}trace(t){const n=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=s;return o.queryengine_trace(this.__wbg_ptr,n,r)}connect(t,n){const r=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s,i=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),c=s;return o.queryengine_connect(this.__wbg_ptr,r,_,i,c)}metrics(t){const n=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=s;return o.queryengine_metrics(this.__wbg_ptr,n,r)}}function H(e,t){const n=String(t),r=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s;l().setInt32(e+4*1,_,!0),l().setInt32(e+4*0,r,!0)}function J(e){return e.buffer}function K(){return g(function(e,t){return e.call(t)},arguments)}function X(){return g(function(e,t,n){return e.call(t,n)},arguments)}function Y(e){return e.crypto}function Z(e){return e.done}function ee(e){return Object.entries(e)}function te(e,t,n){const r=e.exec(w(t,n));return b(r)?0:x(r)}function ne(){return g(function(e,t){e.getRandomValues(t)},arguments)}function re(e){return e.getTime()}function oe(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function _e(e,t){return e[t>>>0]}function ce(){return g(function(e,t){return e[t]},arguments)}function ie(e,t){return e[t]}function ue(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function se(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function fe(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function ae(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function be(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function ge(e){return Array.isArray(e)}function le(e){return Number.isSafeInteger(e)}function de(){return Symbol.iterator}function we(e){return Object.keys(e)}function pe(e){return e.length}function xe(e){return e.length}function ye(e){return e.msCrypto}function me(){return new Date}function he(e,t){try{var n={a:e,b:t},r=(i,c)=>{const u=n.a;n.a=0;try{return G(u,n.b,i,c)}finally{n.a=u}};return new Promise(r)}finally{n.a=n.b=0}}function Te(){return new Object}function qe(){return new Map}function Se(e,t,n,r){return new RegExp(w(e,t),w(n,r))}function Ae(){return new Array}function Ie(e){return new Uint8Array(e)}function Ee(e,t){return new m(w(e,t))}function Oe(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function Fe(e){return new Uint8Array(e>>>0)}function Me(e){return e.next}function je(){return g(function(e){return e.next()},arguments)}function ke(e){return e.node}function De(e){return e.now()}function Re(){return Date.now()}function Be(){return g(function(){return Date.now()},arguments)}function Ue(e){return e.process}function Le(e,t){return e.push(t)}function ve(e){return e.queueMicrotask}function Ne(e){queueMicrotask(e)}function $e(){return g(function(e,t){e.randomFillSync(t)},arguments)}function Ce(){return g(function(){return module.require},arguments)}function Ve(e){return Promise.resolve(e)}function ze(e,t){return setTimeout(e,t>>>0)}function We(e,t,n){e[t>>>0]=n}function Pe(e,t,n){e[t]=n}function Ge(e,t,n){e.set(t,n>>>0)}function Qe(e,t,n){return e.set(t,n)}function He(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function Je(){const e=typeof global>"u"?null:global;return b(e)?0:x(e)}function Ke(){const e=typeof globalThis>"u"?null:globalThis;return b(e)?0:x(e)}function Xe(){const e=typeof self>"u"?null:self;return b(e)?0:x(e)}function Ye(){const e=typeof window>"u"?null:window;return b(e)?0:x(e)}function Ze(e,t,n){return e.subarray(t>>>0,n>>>0)}function et(e,t){return e.then(t)}function tt(e,t,n){return e.then(t,n)}function nt(e){return e.valueOf()}function rt(e){return e.value}function ot(e){return e.versions}function _t(e){return+e}function ct(e){return e}function it(e){return BigInt.asUintN(64,e)}function ut(e,t){const n=t,r=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,b(r)?BigInt(0):r,!0),l().setInt32(e+4*0,!b(r),!0)}function st(e){const t=e;return typeof t=="boolean"?t?1:0:2}function ft(e){const t=e.original;return t.cnt--==1?(t.a=0,!0):!1}function at(e,t,n){return V(e,t,596,P)}function bt(e,t){const n=A(t),r=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s;l().setInt32(e+4*1,_,!0),l().setInt32(e+4*0,r,!0)}function gt(e,t){return new Error(w(e,t))}function lt(e,t){return e in t}function dt(){const e=o.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function wt(e){return typeof e=="bigint"}function pt(e){return typeof e=="function"}function xt(e){const t=e;return typeof t=="object"&&t!==null}function yt(e){return typeof e=="string"}function mt(e){return e===void 0}function ht(e,t){return e===t}function Tt(e,t){return e==t}function qt(){return o.memory}function St(e,t){const n=t,r=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,b(r)?0:r,!0),l().setInt32(e+4*0,!b(r),!0)}function At(e){return e}function It(e,t){const n=t,r=typeof n=="string"?n:void 0;var _=b(r)?0:f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,_,!0)}function Et(e,t){return w(e,t)}function Ot(e,t){throw new Error(w(e,t))}0&&(module.exports={QueryEngine,__wbg_String_8f0eb39a4a4c2f66,__wbg_buffer_609cc3eee51ed158,__wbg_call_672a4d21634d4a24,__wbg_call_7cccdd69e0791ae2,__wbg_crypto_805be4ce92f1e370,__wbg_done_769e5ede4b31c67b,__wbg_entries_3265d4158b33e5dc,__wbg_exec_3e2d2d0644c927df,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_46267b1c24877e30,__wbg_get_67b2ba62fc30de12,__wbg_get_b9b93047fe3cf45b,__wbg_get_ece95cf6585650d9,__wbg_getwithrefkey_1dc361bd10053bfe,__wbg_has_a5ea9117f258a0ec,__wbg_instanceof_ArrayBuffer_e14585432e3737fc,__wbg_instanceof_Map_f3469ce2244d2430,__wbg_instanceof_Promise_935168b8f4b49db3,__wbg_instanceof_Uint8Array_17156bcf118086a9,__wbg_isArray_a1eab7e0d067391b,__wbg_isSafeInteger_343e2beeeece1bb0,__wbg_iterator_9a24c88df860dc65,__wbg_keys_5c77a08ddc2fb8a6,__wbg_length_a446193dc22c12f8,__wbg_length_e2d2a49132c1b256,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new0_f788a2397c7ca929,__wbg_new_23a2665fac83c611,__wbg_new_405e22f390576ce2,__wbg_new_5e0be73521bc8c17,__wbg_new_63847613cde5d4bc,__wbg_new_78feb108b6472713,__wbg_new_a12002a7f91c75be,__wbg_newnoargs_105ed471475aaf50,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,__wbg_newwithlength_a381634e90c276d4,__wbg_next_25feadfc0913fea9,__wbg_next_6574e1a8a62d1055,__wbg_node_ecc8306b9857f33d,__wbg_now_7fd00a794a07d388,__wbg_now_807e54c39636c349,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_push_737cfc8c1432c2c6,__wbg_queueMicrotask_5a8a9131f3f0b37b,__wbg_queueMicrotask_6d79674585219521,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_resolve_4851785c9c5f573d,__wbg_setTimeout_5d6a1d4fc51ea450,__wbg_set_37837023f3d740e8,__wbg_set_3f1d0b984ed272ed,__wbg_set_65595bdd868b3009,__wbg_set_8fc6bf8a5b1071d1,__wbg_set_bb8cecf6a62b9f46,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_88a902d13a557d07,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,__wbg_static_accessor_SELF_37c5d418e4bf5819,__wbg_static_accessor_WINDOW_5de37043a91a9c40,__wbg_subarray_aa9065fa9dc5df96,__wbg_then_44b73946d2fb3e7d,__wbg_then_48b406749878a531,__wbg_valueOf_7392193dd78c6b97,__wbg_value_cd1ffa7b1ab794f1,__wbg_versions_a8e5a362e1f16442,__wbindgen_as_number,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7788,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_init_externref_table,__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_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
|
1
|
+
"use strict";var F=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var L=(e,t)=>{for(var n in t)F(e,n,{get:t[n],enumerable:!0})},N=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of B(t))!U.call(e,o)&&o!==n&&F(e,o,{get:()=>t[o],enumerable:!(r=j(t,o))||r.enumerable});return e};var C=e=>N(F({},"__esModule",{value:!0}),e);var kt={};L(kt,{QueryEngine:()=>k,__wbg_Error_e83987f665cf5504:()=>J,__wbg_Number_bb48ca12f395cd08:()=>X,__wbg_String_8f0eb39a4a4c2f66:()=>Y,__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd:()=>K,__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68:()=>Z,__wbg___wbindgen_debug_string_df47ffb5e35e6763:()=>ee,__wbg___wbindgen_in_bb933bd9e1b3bc0f:()=>te,__wbg___wbindgen_is_bigint_cb320707dcd35f0b:()=>ne,__wbg___wbindgen_is_function_ee8a6c5833c90377:()=>re,__wbg___wbindgen_is_object_c818261d21f283a4:()=>_e,__wbg___wbindgen_is_string_fbb76cb2940daafd:()=>oe,__wbg___wbindgen_is_undefined_2d472862bd29a478:()=>ce,__wbg___wbindgen_jsval_eq_6b13ab83478b1c50:()=>ie,__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147:()=>ue,__wbg___wbindgen_number_get_a20bf9b85341449d:()=>se,__wbg___wbindgen_string_get_e4f06c90489ad01b:()=>be,__wbg___wbindgen_throw_b855445ff6a94295:()=>fe,__wbg__wbg_cb_unref_2454a539ea5790d9:()=>ae,__wbg_call_525440f72fbfc0ea:()=>ge,__wbg_call_e762c39fa8ea36bf:()=>le,__wbg_crypto_805be4ce92f1e370:()=>de,__wbg_done_2042aa2670fb1db1:()=>we,__wbg_entries_e171b586f8f6bdbf:()=>pe,__wbg_exec_fdeec61d47617356:()=>xe,__wbg_getRandomValues_f6a868620c8bab49:()=>ye,__wbg_getTime_14776bfb48a1bff9:()=>me,__wbg_get_7bed016f185add81:()=>he,__wbg_get_ece95cf6585650d9:()=>Te,__wbg_get_efcb449f58ec27c2:()=>Ae,__wbg_get_with_ref_key_1dc361bd10053bfe:()=>Se,__wbg_has_787fafc980c3ccdb:()=>Fe,__wbg_instanceof_ArrayBuffer_70beb1189ca63b38:()=>Ie,__wbg_instanceof_Map_8579b5e2ab5437c7:()=>qe,__wbg_instanceof_Promise_001fdd42afa1b7ef:()=>Ee,__wbg_instanceof_Uint8Array_20c8e73002f7af98:()=>ke,__wbg_isArray_96e0af9891d0945d:()=>Oe,__wbg_isSafeInteger_d216eda7911dde36:()=>Me,__wbg_iterator_e5822695327a3c39:()=>ve,__wbg_keys_b4d27b02ad14f4be:()=>De,__wbg_length_69bca3cb64fc8748:()=>Re,__wbg_length_cdd215e10d9dd507:()=>je,__wbg_msCrypto_2ac4d17c4748234a:()=>Be,__wbg_new_0_f9740686d739025c:()=>Ue,__wbg_new_1acc0b6eea89d040:()=>Le,__wbg_new_23fa8b12a239f036:()=>Ne,__wbg_new_3c3d849046688a66:()=>Ce,__wbg_new_5a79be3ab53b8aa5:()=>$e,__wbg_new_68651c719dcda04e:()=>Ve,__wbg_new_e17d9f43105b08be:()=>We,__wbg_new_from_slice_92f4d78ca282a2d2:()=>ze,__wbg_new_no_args_ee98eee5275000a4:()=>Pe,__wbg_new_with_length_01aa0dc35aa13543:()=>Ge,__wbg_next_020810e0ae8ebcb0:()=>Qe,__wbg_next_2c826fe5dfec6b6a:()=>He,__wbg_node_ecc8306b9857f33d:()=>Je,__wbg_now_793306c526e2e3b6:()=>Xe,__wbg_now_7fd00a794a07d388:()=>Ye,__wbg_now_b3f7572f6ef3d3a9:()=>Ke,__wbg_process_5cff2739921be718:()=>Ze,__wbg_prototypesetcall_2a6620b6922694b2:()=>et,__wbg_push_df81a39d04db858c:()=>tt,__wbg_queueMicrotask_5a8a9131f3f0b37b:()=>nt,__wbg_queueMicrotask_6d79674585219521:()=>rt,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>_t,__wbg_require_0c566c6f2eef6c79:()=>ot,__wbg_resolve_caf97c30b83f7053:()=>ct,__wbg_setTimeout_5d6a1d4fc51ea450:()=>it,__wbg_set_3f1d0b984ed272ed:()=>ut,__wbg_set_907fb406c34a251d:()=>st,__wbg_set_c213c871859d6500:()=>bt,__wbg_set_c2abbebe8b9ebee1:()=>ft,__wbg_set_wasm:()=>$,__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e:()=>at,__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac:()=>gt,__wbg_static_accessor_SELF_6fdf4b64710cc91b:()=>lt,__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2:()=>dt,__wbg_subarray_480600f3d6a9f26c:()=>wt,__wbg_then_4f46f6544e6b4a28:()=>pt,__wbg_then_70d05cf780a18d77:()=>xt,__wbg_valueOf_9eee4828c11458ca:()=>yt,__wbg_value_692627309814bb8c:()=>mt,__wbg_versions_a8e5a362e1f16442:()=>ht,__wbindgen_cast_2241b6af4c4b2941:()=>Tt,__wbindgen_cast_4625c577ab2ec9ee:()=>At,__wbindgen_cast_78ea2e6abc708f5f:()=>St,__wbindgen_cast_9ae0607507abb057:()=>Ft,__wbindgen_cast_cb9088102bce6b30:()=>It,__wbindgen_cast_d6cd19b81560fd6e:()=>qt,__wbindgen_init_externref_table:()=>Et,debug_panic:()=>P,getBuildTimeInfo:()=>G});module.exports=C(kt);var T=()=>{};T.prototype=T;let _;function $(e){_=e}let A=null;function y(){return(A===null||A.byteLength===0)&&(A=new Uint8Array(_.memory.buffer)),A}let S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});S.decode();const V=2146435072;let I=0;function W(e,t){return I+=t,I>=V&&(S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),S.decode(),I=t),S.decode(y().subarray(e,e+t))}function w(e,t){return e=e>>>0,W(e,t)}let s=0;const m=new TextEncoder;"encodeInto"in m||(m.encodeInto=function(e,t){const n=m.encode(e);return t.set(n),{read:e.length,written:n.length}});function b(e,t,n){if(n===void 0){const u=m.encode(e),f=t(u.length,1)>>>0;return y().subarray(f,f+u.length).set(u),s=u.length,f}let r=e.length,o=t(r,1)>>>0;const i=y();let c=0;for(;c<r;c++){const u=e.charCodeAt(c);if(u>127)break;i[o+c]=u}if(c!==r){c!==0&&(e=e.slice(c)),o=n(o,r,r=c+e.length*3,1)>>>0;const u=y().subarray(o+c,o+r),f=m.encodeInto(e,u);c+=f.written,o=n(o,r,c,1)>>>0}return s=c,o}let p=null;function l(){return(p===null||p.buffer.detached===!0||p.buffer.detached===void 0&&p.buffer!==_.memory.buffer)&&(p=new DataView(_.memory.buffer)),p}function a(e){return e==null}function q(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const o=e.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=e.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(e)){const o=e.length;let i="[";o>0&&(i+=q(e[0]));for(let c=1;c<o;c++)i+=", "+q(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
|
2
|
+
${e.stack}`:r}function x(e){const t=_.__externref_table_alloc();return _.__wbindgen_externrefs.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(n){const r=x(n);_.__wbindgen_exn_store(r)}}function E(e,t){return e=e>>>0,y().subarray(e/1,e/1+t)}const O=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>e.dtor(e.a,e.b));function z(e,t,n,r){const o={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{o.cnt++;const u=o.a;o.a=0;try{return r(u,o.b,...c)}finally{o.a=u,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--o.cnt===0&&(o.dtor(o.a,o.b),o.a=0,O.unregister(o))},O.register(i,o,o),i}function M(e){const t=_.__wbindgen_externrefs.get(e);return _.__externref_table_dealloc(e),t}function P(e){var t=a(e)?0:b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),n=s;const r=_.debug_panic(t,n);if(r[1])throw M(r[0])}function G(){return _.getBuildTimeInfo()}function Q(e,t,n){_.wasm_bindgen__convert__closures_____invoke__hfd9e61e91d216b42(e,t,n)}function H(e,t,n,r){_.wasm_bindgen__convert__closures_____invoke__h50781bcb5d987161(e,t,n,r)}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_queryengine_free(e>>>0,1));class k{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}disconnect(t,n){const r=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s,i=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),c=s;return _.queryengine_disconnect(this.__wbg_ptr,r,o,i,c)}startTransaction(t,n,r){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s,c=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=s,f=b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),d=s;return _.queryengine_startTransaction(this.__wbg_ptr,o,i,c,u,f,d)}commitTransaction(t,n,r){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s,c=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=s,f=b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),d=s;return _.queryengine_commitTransaction(this.__wbg_ptr,o,i,c,u,f,d)}rollbackTransaction(t,n,r){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s,c=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=s,f=b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),d=s;return _.queryengine_rollbackTransaction(this.__wbg_ptr,o,i,c,u,f,d)}constructor(t,n,r){const o=_.queryengine_new(t,n,r);if(o[2])throw M(o[1]);return this.__wbg_ptr=o[0]>>>0,v.register(this,this.__wbg_ptr,this),this}query(t,n,r,o){const i=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=s,u=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),f=s;var d=a(r)?0:b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),h=s;const D=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),R=s;return _.queryengine_query(this.__wbg_ptr,i,c,u,f,d,h,D,R)}trace(t){const n=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),r=s;return _.queryengine_trace(this.__wbg_ptr,n,r)}connect(t,n){const r=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s,i=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),c=s;return _.queryengine_connect(this.__wbg_ptr,r,o,i,c)}metrics(t){const n=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),r=s;return _.queryengine_metrics(this.__wbg_ptr,n,r)}}Symbol.dispose&&(k.prototype[Symbol.dispose]=k.prototype.free);function J(e,t){return Error(w(e,t))}function X(e){return Number(e)}function Y(e,t){const n=String(t),r=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,r,!0)}function K(e,t){const n=t,r=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,a(r)?BigInt(0):r,!0),l().setInt32(e+4*0,!a(r),!0)}function Z(e){const t=e,n=typeof t=="boolean"?t:void 0;return a(n)?16777215:n?1:0}function ee(e,t){const n=q(t),r=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,r,!0)}function te(e,t){return e in t}function ne(e){return typeof e=="bigint"}function re(e){return typeof e=="function"}function _e(e){const t=e;return typeof t=="object"&&t!==null}function oe(e){return typeof e=="string"}function ce(e){return e===void 0}function ie(e,t){return e===t}function ue(e,t){return e==t}function se(e,t){const n=t,r=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,a(r)?0:r,!0),l().setInt32(e+4*0,!a(r),!0)}function be(e,t){const n=t,r=typeof n=="string"?n:void 0;var o=a(r)?0:b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,o,!0)}function fe(e,t){throw new Error(w(e,t))}function ae(e){e._wbg_cb_unref()}function ge(){return g(function(e,t,n){return e.call(t,n)},arguments)}function le(){return g(function(e,t){return e.call(t)},arguments)}function de(e){return e.crypto}function we(e){return e.done}function pe(e){return Object.entries(e)}function xe(e,t,n){const r=e.exec(w(t,n));return a(r)?0:x(r)}function ye(){return g(function(e,t){e.getRandomValues(t)},arguments)}function me(e){return e.getTime()}function he(e,t){return e[t>>>0]}function Te(){return g(function(e,t){return e[t]},arguments)}function Ae(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function Se(e,t){return e[t]}function Fe(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function Ie(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function qe(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function Ee(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function ke(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function Oe(e){return Array.isArray(e)}function Me(e){return Number.isSafeInteger(e)}function ve(){return Symbol.iterator}function De(e){return Object.keys(e)}function Re(e){return e.length}function je(e){return e.length}function Be(e){return e.msCrypto}function Ue(){return new Date}function Le(){return new Object}function Ne(e,t,n,r){return new RegExp(w(e,t),w(n,r))}function Ce(e,t){try{var n={a:e,b:t},r=(i,c)=>{const u=n.a;n.a=0;try{return H(u,n.b,i,c)}finally{n.a=u}};return new Promise(r)}finally{n.a=n.b=0}}function $e(e){return new Uint8Array(e)}function Ve(){return new Map}function We(){return new Array}function ze(e,t){return new Uint8Array(E(e,t))}function Pe(e,t){return new T(w(e,t))}function Ge(e){return new Uint8Array(e>>>0)}function Qe(){return g(function(e){return e.next()},arguments)}function He(e){return e.next}function Je(e){return e.node}function Xe(){return Date.now()}function Ye(e){return e.now()}function Ke(){return g(function(){return Date.now()},arguments)}function Ze(e){return e.process}function et(e,t,n){Uint8Array.prototype.set.call(E(e,t),n)}function tt(e,t){return e.push(t)}function nt(e){return e.queueMicrotask}function rt(e){queueMicrotask(e)}function _t(){return g(function(e,t){e.randomFillSync(t)},arguments)}function ot(){return g(function(){return module.require},arguments)}function ct(e){return Promise.resolve(e)}function it(e,t){return setTimeout(e,t>>>0)}function ut(e,t,n){e[t]=n}function st(e,t,n){return e.set(t,n)}function bt(e,t,n){e[t>>>0]=n}function ft(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function at(){const e=typeof global>"u"?null:global;return a(e)?0:x(e)}function gt(){const e=typeof globalThis>"u"?null:globalThis;return a(e)?0:x(e)}function lt(){const e=typeof self>"u"?null:self;return a(e)?0:x(e)}function dt(){const e=typeof window>"u"?null:window;return a(e)?0:x(e)}function wt(e,t,n){return e.subarray(t>>>0,n>>>0)}function pt(e,t){return e.then(t)}function xt(e,t,n){return e.then(t,n)}function yt(e){return e.valueOf()}function mt(e){return e.value}function ht(e){return e.versions}function Tt(e,t){return w(e,t)}function At(e){return BigInt.asUintN(64,e)}function St(e,t){return z(e,t,_.wasm_bindgen__closure__destroy__h7420315a7f5ce457,Q)}function Ft(e){return e}function It(e,t){return E(e,t)}function qt(e){return e}function Et(){const e=_.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}0&&(module.exports={QueryEngine,__wbg_Error_e83987f665cf5504,__wbg_Number_bb48ca12f395cd08,__wbg_String_8f0eb39a4a4c2f66,__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd,__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68,__wbg___wbindgen_debug_string_df47ffb5e35e6763,__wbg___wbindgen_in_bb933bd9e1b3bc0f,__wbg___wbindgen_is_bigint_cb320707dcd35f0b,__wbg___wbindgen_is_function_ee8a6c5833c90377,__wbg___wbindgen_is_object_c818261d21f283a4,__wbg___wbindgen_is_string_fbb76cb2940daafd,__wbg___wbindgen_is_undefined_2d472862bd29a478,__wbg___wbindgen_jsval_eq_6b13ab83478b1c50,__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147,__wbg___wbindgen_number_get_a20bf9b85341449d,__wbg___wbindgen_string_get_e4f06c90489ad01b,__wbg___wbindgen_throw_b855445ff6a94295,__wbg__wbg_cb_unref_2454a539ea5790d9,__wbg_call_525440f72fbfc0ea,__wbg_call_e762c39fa8ea36bf,__wbg_crypto_805be4ce92f1e370,__wbg_done_2042aa2670fb1db1,__wbg_entries_e171b586f8f6bdbf,__wbg_exec_fdeec61d47617356,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_14776bfb48a1bff9,__wbg_get_7bed016f185add81,__wbg_get_ece95cf6585650d9,__wbg_get_efcb449f58ec27c2,__wbg_get_with_ref_key_1dc361bd10053bfe,__wbg_has_787fafc980c3ccdb,__wbg_instanceof_ArrayBuffer_70beb1189ca63b38,__wbg_instanceof_Map_8579b5e2ab5437c7,__wbg_instanceof_Promise_001fdd42afa1b7ef,__wbg_instanceof_Uint8Array_20c8e73002f7af98,__wbg_isArray_96e0af9891d0945d,__wbg_isSafeInteger_d216eda7911dde36,__wbg_iterator_e5822695327a3c39,__wbg_keys_b4d27b02ad14f4be,__wbg_length_69bca3cb64fc8748,__wbg_length_cdd215e10d9dd507,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new_0_f9740686d739025c,__wbg_new_1acc0b6eea89d040,__wbg_new_23fa8b12a239f036,__wbg_new_3c3d849046688a66,__wbg_new_5a79be3ab53b8aa5,__wbg_new_68651c719dcda04e,__wbg_new_e17d9f43105b08be,__wbg_new_from_slice_92f4d78ca282a2d2,__wbg_new_no_args_ee98eee5275000a4,__wbg_new_with_length_01aa0dc35aa13543,__wbg_next_020810e0ae8ebcb0,__wbg_next_2c826fe5dfec6b6a,__wbg_node_ecc8306b9857f33d,__wbg_now_793306c526e2e3b6,__wbg_now_7fd00a794a07d388,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_prototypesetcall_2a6620b6922694b2,__wbg_push_df81a39d04db858c,__wbg_queueMicrotask_5a8a9131f3f0b37b,__wbg_queueMicrotask_6d79674585219521,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_resolve_caf97c30b83f7053,__wbg_setTimeout_5d6a1d4fc51ea450,__wbg_set_3f1d0b984ed272ed,__wbg_set_907fb406c34a251d,__wbg_set_c213c871859d6500,__wbg_set_c2abbebe8b9ebee1,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e,__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac,__wbg_static_accessor_SELF_6fdf4b64710cc91b,__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2,__wbg_subarray_480600f3d6a9f26c,__wbg_then_4f46f6544e6b4a28,__wbg_then_70d05cf780a18d77,__wbg_valueOf_9eee4828c11458ca,__wbg_value_692627309814bb8c,__wbg_versions_a8e5a362e1f16442,__wbindgen_cast_2241b6af4c4b2941,__wbindgen_cast_4625c577ab2ec9ee,__wbindgen_cast_78ea2e6abc708f5f,__wbindgen_cast_9ae0607507abb057,__wbindgen_cast_cb9088102bce6b30,__wbindgen_cast_d6cd19b81560fd6e,__wbindgen_init_externref_table,debug_panic,getBuildTimeInfo});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
2
|
-
${e.stack}`:o}function E(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function $(e){var t=b(e)?0:f(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=s;const o=r.debug_panic(t,n);if(o[1])throw E(o[0])}function C(){return r.getBuildTimeInfo()}function B(e,t,n){r.closure595_externref_shim(e,t,n)}function U(e,t,n,o){r.closure130_externref_shim(e,t,n,o)}const O=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_queryengine_free(e>>>0,1));class V{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,O.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_queryengine_free(t,0)}disconnect(t,n){const o=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s,i=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_disconnect(this.__wbg_ptr,o,_,i,c)}startTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_startTransaction(this.__wbg_ptr,_,i,c,u,a,d)}commitTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_commitTransaction(this.__wbg_ptr,_,i,c,u,a,d)}rollbackTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_rollbackTransaction(this.__wbg_ptr,_,i,c,u,a,d)}constructor(t,n,o){const _=r.queryengine_new(t,n,o);if(_[2])throw E(_[1]);return this.__wbg_ptr=_[0]>>>0,O.register(this,this.__wbg_ptr,this),this}query(t,n,o,_){const i=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s,u=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=s;var d=b(o)?0:f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),y=s;const F=f(_,r.__wbindgen_malloc,r.__wbindgen_realloc),M=s;return r.queryengine_query(this.__wbg_ptr,i,c,u,a,d,y,F,M)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(this.__wbg_ptr,n,o)}connect(t,n){const o=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s,i=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_connect(this.__wbg_ptr,o,_,i,c)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}}function z(e,t){const n=String(t),o=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;l().setInt32(e+4*1,_,!0),l().setInt32(e+4*0,o,!0)}function W(e){return e.buffer}function P(){return g(function(e,t){return e.call(t)},arguments)}function G(){return g(function(e,t,n){return e.call(t,n)},arguments)}function Q(e){return e.crypto}function H(e){return e.done}function J(e){return Object.entries(e)}function K(e,t,n){const o=e.exec(w(t,n));return b(o)?0:x(o)}function X(){return g(function(e,t){e.getRandomValues(t)},arguments)}function Y(e){return e.getTime()}function Z(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function ee(e,t){return e[t>>>0]}function te(){return g(function(e,t){return e[t]},arguments)}function ne(e,t){return e[t]}function re(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function oe(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function _e(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function ce(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function ie(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function ue(e){return Array.isArray(e)}function se(e){return Number.isSafeInteger(e)}function fe(){return Symbol.iterator}function ae(e){return Object.keys(e)}function be(e){return e.length}function ge(e){return e.length}function le(e){return e.msCrypto}function de(){return new Date}function we(e,t){try{var n={a:e,b:t},o=(i,c)=>{const u=n.a;n.a=0;try{return U(u,n.b,i,c)}finally{n.a=u}};return new Promise(o)}finally{n.a=n.b=0}}function pe(){return new Object}function xe(){return new Map}function ye(e,t,n,o){return new RegExp(w(e,t),w(n,o))}function me(){return new Array}function he(e){return new Uint8Array(e)}function Te(e,t){return new m(w(e,t))}function qe(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function Se(e){return new Uint8Array(e>>>0)}function Ae(e){return e.next}function Ie(){return g(function(e){return e.next()},arguments)}function Ee(e){return e.node}function Oe(e){return e.now()}function Fe(){return Date.now()}function Me(){return g(function(){return Date.now()},arguments)}function je(e){return e.process}function ke(e,t){return e.push(t)}function De(e){return e.queueMicrotask}function Re(e){queueMicrotask(e)}function Be(){return g(function(e,t){e.randomFillSync(t)},arguments)}function Ue(){return g(function(){return module.require},arguments)}function Le(e){return Promise.resolve(e)}function ve(e,t){return setTimeout(e,t>>>0)}function Ne(e,t,n){e[t>>>0]=n}function $e(e,t,n){e[t]=n}function Ce(e,t,n){e.set(t,n>>>0)}function Ve(e,t,n){return e.set(t,n)}function ze(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function We(){const e=typeof global>"u"?null:global;return b(e)?0:x(e)}function Pe(){const e=typeof globalThis>"u"?null:globalThis;return b(e)?0:x(e)}function Ge(){const e=typeof self>"u"?null:self;return b(e)?0:x(e)}function Qe(){const e=typeof window>"u"?null:window;return b(e)?0:x(e)}function He(e,t,n){return e.subarray(t>>>0,n>>>0)}function Je(e,t){return e.then(t)}function Ke(e,t,n){return e.then(t,n)}function Xe(e){return e.valueOf()}function Ye(e){return e.value}function Ze(e){return e.versions}function et(e){return+e}function tt(e){return e}function nt(e){return BigInt.asUintN(64,e)}function rt(e,t){const n=t,o=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,b(o)?BigInt(0):o,!0),l().setInt32(e+4*0,!b(o),!0)}function ot(e){const t=e;return typeof t=="boolean"?t?1:0:2}function _t(e){const t=e.original;return t.cnt--==1?(t.a=0,!0):!1}function ct(e,t,n){return R(e,t,596,B)}function it(e,t){const n=S(t),o=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;l().setInt32(e+4*1,_,!0),l().setInt32(e+4*0,o,!0)}function ut(e,t){return new Error(w(e,t))}function st(e,t){return e in t}function ft(){const e=r.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function at(e){return typeof e=="bigint"}function bt(e){return typeof e=="function"}function gt(e){const t=e;return typeof t=="object"&&t!==null}function lt(e){return typeof e=="string"}function dt(e){return e===void 0}function wt(e,t){return e===t}function pt(e,t){return e==t}function xt(){return r.memory}function yt(e,t){const n=t,o=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,b(o)?0:o,!0),l().setInt32(e+4*0,!b(o),!0)}function mt(e){return e}function ht(e,t){const n=t,o=typeof n=="string"?n:void 0;var _=b(o)?0:f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,_,!0)}function Tt(e,t){return w(e,t)}function qt(e,t){throw new Error(w(e,t))}export{V as QueryEngine,z as __wbg_String_8f0eb39a4a4c2f66,W as __wbg_buffer_609cc3eee51ed158,P as __wbg_call_672a4d21634d4a24,G as __wbg_call_7cccdd69e0791ae2,Q as __wbg_crypto_805be4ce92f1e370,H as __wbg_done_769e5ede4b31c67b,J as __wbg_entries_3265d4158b33e5dc,K as __wbg_exec_3e2d2d0644c927df,X as __wbg_getRandomValues_f6a868620c8bab49,Y as __wbg_getTime_46267b1c24877e30,Z as __wbg_get_67b2ba62fc30de12,ee as __wbg_get_b9b93047fe3cf45b,te as __wbg_get_ece95cf6585650d9,ne as __wbg_getwithrefkey_1dc361bd10053bfe,re as __wbg_has_a5ea9117f258a0ec,oe as __wbg_instanceof_ArrayBuffer_e14585432e3737fc,_e as __wbg_instanceof_Map_f3469ce2244d2430,ce as __wbg_instanceof_Promise_935168b8f4b49db3,ie as __wbg_instanceof_Uint8Array_17156bcf118086a9,ue as __wbg_isArray_a1eab7e0d067391b,se as __wbg_isSafeInteger_343e2beeeece1bb0,fe as __wbg_iterator_9a24c88df860dc65,ae as __wbg_keys_5c77a08ddc2fb8a6,be as __wbg_length_a446193dc22c12f8,ge as __wbg_length_e2d2a49132c1b256,le as __wbg_msCrypto_2ac4d17c4748234a,de as __wbg_new0_f788a2397c7ca929,we as __wbg_new_23a2665fac83c611,pe as __wbg_new_405e22f390576ce2,xe as __wbg_new_5e0be73521bc8c17,ye as __wbg_new_63847613cde5d4bc,me as __wbg_new_78feb108b6472713,he as __wbg_new_a12002a7f91c75be,Te as __wbg_newnoargs_105ed471475aaf50,qe as __wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,Se as __wbg_newwithlength_a381634e90c276d4,Ae as __wbg_next_25feadfc0913fea9,Ie as __wbg_next_6574e1a8a62d1055,Ee as __wbg_node_ecc8306b9857f33d,Oe as __wbg_now_7fd00a794a07d388,Fe as __wbg_now_807e54c39636c349,Me as __wbg_now_b3f7572f6ef3d3a9,je as __wbg_process_5cff2739921be718,ke as __wbg_push_737cfc8c1432c2c6,De as __wbg_queueMicrotask_5a8a9131f3f0b37b,Re as __wbg_queueMicrotask_6d79674585219521,Be as __wbg_randomFillSync_d3c85af7e31cf1f8,Ue as __wbg_require_0c566c6f2eef6c79,Le as __wbg_resolve_4851785c9c5f573d,ve as __wbg_setTimeout_5d6a1d4fc51ea450,Ne as __wbg_set_37837023f3d740e8,$e as __wbg_set_3f1d0b984ed272ed,Ce as __wbg_set_65595bdd868b3009,Ve as __wbg_set_8fc6bf8a5b1071d1,ze as __wbg_set_bb8cecf6a62b9f46,N as __wbg_set_wasm,We as __wbg_static_accessor_GLOBAL_88a902d13a557d07,Pe as __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,Ge as __wbg_static_accessor_SELF_37c5d418e4bf5819,Qe as __wbg_static_accessor_WINDOW_5de37043a91a9c40,He as __wbg_subarray_aa9065fa9dc5df96,Je as __wbg_then_44b73946d2fb3e7d,Ke as __wbg_then_48b406749878a531,Xe as __wbg_valueOf_7392193dd78c6b97,Ye as __wbg_value_cd1ffa7b1ab794f1,Ze as __wbg_versions_a8e5a362e1f16442,et as __wbindgen_as_number,tt as __wbindgen_bigint_from_i64,nt as __wbindgen_bigint_from_u64,rt as __wbindgen_bigint_get_as_i64,ot as __wbindgen_boolean_get,_t as __wbindgen_cb_drop,ct as __wbindgen_closure_wrapper7788,it as __wbindgen_debug_string,ut as __wbindgen_error_new,st as __wbindgen_in,ft as __wbindgen_init_externref_table,at as __wbindgen_is_bigint,bt as __wbindgen_is_function,gt as __wbindgen_is_object,lt as __wbindgen_is_string,dt as __wbindgen_is_undefined,wt as __wbindgen_jsval_eq,pt as __wbindgen_jsval_loose_eq,xt as __wbindgen_memory,yt as __wbindgen_number_get,mt as __wbindgen_number_new,ht as __wbindgen_string_get,Tt as __wbindgen_string_new,qt as __wbindgen_throw,$ as debug_panic,C as getBuildTimeInfo};
|
|
1
|
+
var T=()=>{};T.prototype=T;let r;function $(e){r=e}let A=null;function y(){return(A===null||A.byteLength===0)&&(A=new Uint8Array(r.memory.buffer)),A}let S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});S.decode();const R=2146435072;let F=0;function j(e,t){return F+=t,F>=R&&(S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),S.decode(),F=t),S.decode(y().subarray(e,e+t))}function w(e,t){return e=e>>>0,j(e,t)}let s=0;const m=new TextEncoder;"encodeInto"in m||(m.encodeInto=function(e,t){const n=m.encode(e);return t.set(n),{read:e.length,written:n.length}});function b(e,t,n){if(n===void 0){const u=m.encode(e),f=t(u.length,1)>>>0;return y().subarray(f,f+u.length).set(u),s=u.length,f}let _=e.length,o=t(_,1)>>>0;const i=y();let c=0;for(;c<_;c++){const u=e.charCodeAt(c);if(u>127)break;i[o+c]=u}if(c!==_){c!==0&&(e=e.slice(c)),o=n(o,_,_=c+e.length*3,1)>>>0;const u=y().subarray(o+c,o+_),f=m.encodeInto(e,u);c+=f.written,o=n(o,_,c,1)>>>0}return s=c,o}let p=null;function l(){return(p===null||p.buffer.detached===!0||p.buffer.detached===void 0&&p.buffer!==r.memory.buffer)&&(p=new DataView(r.memory.buffer)),p}function a(e){return e==null}function I(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const o=e.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=e.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(e)){const o=e.length;let i="[";o>0&&(i+=I(e[0]));for(let c=1;c<o;c++)i+=", "+I(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(n&&n.length>1)_=n[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}`:_}function x(e){const t=r.__externref_table_alloc();return r.__wbindgen_externrefs.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(n){const _=x(n);r.__wbindgen_exn_store(_)}}function q(e,t){return e=e>>>0,y().subarray(e/1,e/1+t)}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>e.dtor(e.a,e.b));function B(e,t,n,_){const o={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{o.cnt++;const u=o.a;o.a=0;try{return _(u,o.b,...c)}finally{o.a=u,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--o.cnt===0&&(o.dtor(o.a,o.b),o.a=0,E.unregister(o))},E.register(i,o,o),i}function k(e){const t=r.__wbindgen_externrefs.get(e);return r.__externref_table_dealloc(e),t}function V(e){var t=a(e)?0:b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=s;const _=r.debug_panic(t,n);if(_[1])throw k(_[0])}function W(){return r.getBuildTimeInfo()}function U(e,t,n){r.wasm_bindgen__convert__closures_____invoke__hfd9e61e91d216b42(e,t,n)}function L(e,t,n,_){r.wasm_bindgen__convert__closures_____invoke__h50781bcb5d987161(e,t,n,_)}const O=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_queryengine_free(e>>>0,1));class M{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,O.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_queryengine_free(t,0)}disconnect(t,n){const _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s,i=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_disconnect(this.__wbg_ptr,_,o,i,c)}startTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_startTransaction(this.__wbg_ptr,o,i,c,u,f,d)}commitTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_commitTransaction(this.__wbg_ptr,o,i,c,u,f,d)}rollbackTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_rollbackTransaction(this.__wbg_ptr,o,i,c,u,f,d)}constructor(t,n,_){const o=r.queryengine_new(t,n,_);if(o[2])throw k(o[1]);return this.__wbg_ptr=o[0]>>>0,O.register(this,this.__wbg_ptr,this),this}query(t,n,_,o){const i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s,u=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),f=s;var d=a(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),h=s;const v=b(o,r.__wbindgen_malloc,r.__wbindgen_realloc),D=s;return r.queryengine_query(this.__wbg_ptr,i,c,u,f,d,h,v,D)}trace(t){const n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;return r.queryengine_trace(this.__wbg_ptr,n,_)}connect(t,n){const _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s,i=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_connect(this.__wbg_ptr,_,o,i,c)}metrics(t){const n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;return r.queryengine_metrics(this.__wbg_ptr,n,_)}}Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);function z(e,t){return Error(w(e,t))}function P(e){return Number(e)}function G(e,t){const n=String(t),_=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,_,!0)}function Q(e,t){const n=t,_=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,a(_)?BigInt(0):_,!0),l().setInt32(e+4*0,!a(_),!0)}function H(e){const t=e,n=typeof t=="boolean"?t:void 0;return a(n)?16777215:n?1:0}function J(e,t){const n=I(t),_=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,_,!0)}function X(e,t){return e in t}function Y(e){return typeof e=="bigint"}function K(e){return typeof e=="function"}function Z(e){const t=e;return typeof t=="object"&&t!==null}function ee(e){return typeof e=="string"}function te(e){return e===void 0}function ne(e,t){return e===t}function re(e,t){return e==t}function _e(e,t){const n=t,_=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,a(_)?0:_,!0),l().setInt32(e+4*0,!a(_),!0)}function oe(e,t){const n=t,_=typeof n=="string"?n:void 0;var o=a(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,o,!0)}function ce(e,t){throw new Error(w(e,t))}function ie(e){e._wbg_cb_unref()}function ue(){return g(function(e,t,n){return e.call(t,n)},arguments)}function se(){return g(function(e,t){return e.call(t)},arguments)}function be(e){return e.crypto}function fe(e){return e.done}function ae(e){return Object.entries(e)}function ge(e,t,n){const _=e.exec(w(t,n));return a(_)?0:x(_)}function le(){return g(function(e,t){e.getRandomValues(t)},arguments)}function de(e){return e.getTime()}function we(e,t){return e[t>>>0]}function pe(){return g(function(e,t){return e[t]},arguments)}function xe(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function ye(e,t){return e[t]}function me(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function he(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function Te(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function Ae(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function Se(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function Fe(e){return Array.isArray(e)}function Ie(e){return Number.isSafeInteger(e)}function qe(){return Symbol.iterator}function Ee(e){return Object.keys(e)}function ke(e){return e.length}function Oe(e){return e.length}function Me(e){return e.msCrypto}function ve(){return new Date}function De(){return new Object}function Re(e,t,n,_){return new RegExp(w(e,t),w(n,_))}function je(e,t){try{var n={a:e,b:t},_=(i,c)=>{const u=n.a;n.a=0;try{return L(u,n.b,i,c)}finally{n.a=u}};return new Promise(_)}finally{n.a=n.b=0}}function Be(e){return new Uint8Array(e)}function Ue(){return new Map}function Le(){return new Array}function Ne(e,t){return new Uint8Array(q(e,t))}function Ce(e,t){return new T(w(e,t))}function $e(e){return new Uint8Array(e>>>0)}function Ve(){return g(function(e){return e.next()},arguments)}function We(e){return e.next}function ze(e){return e.node}function Pe(){return Date.now()}function Ge(e){return e.now()}function Qe(){return g(function(){return Date.now()},arguments)}function He(e){return e.process}function Je(e,t,n){Uint8Array.prototype.set.call(q(e,t),n)}function Xe(e,t){return e.push(t)}function Ye(e){return e.queueMicrotask}function Ke(e){queueMicrotask(e)}function Ze(){return g(function(e,t){e.randomFillSync(t)},arguments)}function et(){return g(function(){return module.require},arguments)}function tt(e){return Promise.resolve(e)}function nt(e,t){return setTimeout(e,t>>>0)}function rt(e,t,n){e[t]=n}function _t(e,t,n){return e.set(t,n)}function ot(e,t,n){e[t>>>0]=n}function ct(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function it(){const e=typeof global>"u"?null:global;return a(e)?0:x(e)}function ut(){const e=typeof globalThis>"u"?null:globalThis;return a(e)?0:x(e)}function st(){const e=typeof self>"u"?null:self;return a(e)?0:x(e)}function bt(){const e=typeof window>"u"?null:window;return a(e)?0:x(e)}function ft(e,t,n){return e.subarray(t>>>0,n>>>0)}function at(e,t){return e.then(t)}function gt(e,t,n){return e.then(t,n)}function lt(e){return e.valueOf()}function dt(e){return e.value}function wt(e){return e.versions}function pt(e,t){return w(e,t)}function xt(e){return BigInt.asUintN(64,e)}function yt(e,t){return B(e,t,r.wasm_bindgen__closure__destroy__h7420315a7f5ce457,U)}function mt(e){return e}function ht(e,t){return q(e,t)}function Tt(e){return e}function At(){const e=r.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}export{M as QueryEngine,z as __wbg_Error_e83987f665cf5504,P as __wbg_Number_bb48ca12f395cd08,G as __wbg_String_8f0eb39a4a4c2f66,Q as __wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd,H as __wbg___wbindgen_boolean_get_6d5a1ee65bab5f68,J as __wbg___wbindgen_debug_string_df47ffb5e35e6763,X as __wbg___wbindgen_in_bb933bd9e1b3bc0f,Y as __wbg___wbindgen_is_bigint_cb320707dcd35f0b,K as __wbg___wbindgen_is_function_ee8a6c5833c90377,Z as __wbg___wbindgen_is_object_c818261d21f283a4,ee as __wbg___wbindgen_is_string_fbb76cb2940daafd,te as __wbg___wbindgen_is_undefined_2d472862bd29a478,ne as __wbg___wbindgen_jsval_eq_6b13ab83478b1c50,re as __wbg___wbindgen_jsval_loose_eq_b664b38a2f582147,_e as __wbg___wbindgen_number_get_a20bf9b85341449d,oe as __wbg___wbindgen_string_get_e4f06c90489ad01b,ce as __wbg___wbindgen_throw_b855445ff6a94295,ie as __wbg__wbg_cb_unref_2454a539ea5790d9,ue as __wbg_call_525440f72fbfc0ea,se as __wbg_call_e762c39fa8ea36bf,be as __wbg_crypto_805be4ce92f1e370,fe as __wbg_done_2042aa2670fb1db1,ae as __wbg_entries_e171b586f8f6bdbf,ge as __wbg_exec_fdeec61d47617356,le as __wbg_getRandomValues_f6a868620c8bab49,de as __wbg_getTime_14776bfb48a1bff9,we as __wbg_get_7bed016f185add81,pe as __wbg_get_ece95cf6585650d9,xe as __wbg_get_efcb449f58ec27c2,ye as __wbg_get_with_ref_key_1dc361bd10053bfe,me as __wbg_has_787fafc980c3ccdb,he as __wbg_instanceof_ArrayBuffer_70beb1189ca63b38,Te as __wbg_instanceof_Map_8579b5e2ab5437c7,Ae as __wbg_instanceof_Promise_001fdd42afa1b7ef,Se as __wbg_instanceof_Uint8Array_20c8e73002f7af98,Fe as __wbg_isArray_96e0af9891d0945d,Ie as __wbg_isSafeInteger_d216eda7911dde36,qe as __wbg_iterator_e5822695327a3c39,Ee as __wbg_keys_b4d27b02ad14f4be,ke as __wbg_length_69bca3cb64fc8748,Oe as __wbg_length_cdd215e10d9dd507,Me as __wbg_msCrypto_2ac4d17c4748234a,ve as __wbg_new_0_f9740686d739025c,De as __wbg_new_1acc0b6eea89d040,Re as __wbg_new_23fa8b12a239f036,je as __wbg_new_3c3d849046688a66,Be as __wbg_new_5a79be3ab53b8aa5,Ue as __wbg_new_68651c719dcda04e,Le as __wbg_new_e17d9f43105b08be,Ne as __wbg_new_from_slice_92f4d78ca282a2d2,Ce as __wbg_new_no_args_ee98eee5275000a4,$e as __wbg_new_with_length_01aa0dc35aa13543,Ve as __wbg_next_020810e0ae8ebcb0,We as __wbg_next_2c826fe5dfec6b6a,ze as __wbg_node_ecc8306b9857f33d,Pe as __wbg_now_793306c526e2e3b6,Ge as __wbg_now_7fd00a794a07d388,Qe as __wbg_now_b3f7572f6ef3d3a9,He as __wbg_process_5cff2739921be718,Je as __wbg_prototypesetcall_2a6620b6922694b2,Xe as __wbg_push_df81a39d04db858c,Ye as __wbg_queueMicrotask_5a8a9131f3f0b37b,Ke as __wbg_queueMicrotask_6d79674585219521,Ze as __wbg_randomFillSync_d3c85af7e31cf1f8,et as __wbg_require_0c566c6f2eef6c79,tt as __wbg_resolve_caf97c30b83f7053,nt as __wbg_setTimeout_5d6a1d4fc51ea450,rt as __wbg_set_3f1d0b984ed272ed,_t as __wbg_set_907fb406c34a251d,ot as __wbg_set_c213c871859d6500,ct as __wbg_set_c2abbebe8b9ebee1,$ as __wbg_set_wasm,it as __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e,ut as __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac,st as __wbg_static_accessor_SELF_6fdf4b64710cc91b,bt as __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2,ft as __wbg_subarray_480600f3d6a9f26c,at as __wbg_then_4f46f6544e6b4a28,gt as __wbg_then_70d05cf780a18d77,lt as __wbg_valueOf_9eee4828c11458ca,dt as __wbg_value_692627309814bb8c,wt as __wbg_versions_a8e5a362e1f16442,pt as __wbindgen_cast_2241b6af4c4b2941,xt as __wbindgen_cast_4625c577ab2ec9ee,yt as __wbindgen_cast_78ea2e6abc708f5f,mt as __wbindgen_cast_9ae0607507abb057,ht as __wbindgen_cast_cb9088102bce6b30,Tt as __wbindgen_cast_d6cd19b81560fd6e,At as __wbindgen_init_externref_table,V as debug_panic,W as getBuildTimeInfo};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
2
|
-
${e.stack}`:o}function O(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function z(e){var t=l(e)?0:f(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=s;const o=r.debug_panic(t,n);if(o[1])throw O(o[0])}function W(){return r.getBuildTimeInfo()}function P(e,t,n){r.closure587_externref_shim(e,t,n)}function G(e,t,n,o){r.closure131_externref_shim(e,t,n,o)}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_queryengine_free(e>>>0,1));class Q{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_queryengine_free(t,0)}disconnect(t,n){const o=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s,i=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_disconnect(this.__wbg_ptr,o,_,i,c)}startTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_startTransaction(this.__wbg_ptr,_,i,c,u,a,d)}commitTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_commitTransaction(this.__wbg_ptr,_,i,c,u,a,d)}rollbackTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_rollbackTransaction(this.__wbg_ptr,_,i,c,u,a,d)}constructor(t,n,o){const _=r.queryengine_new(t,n,o);if(_[2])throw O(_[1]);return this.__wbg_ptr=_[0]>>>0,F.register(this,this.__wbg_ptr,this),this}query(t,n,o,_){const i=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s,u=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=s;var d=l(o)?0:f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),x=s;const M=f(_,r.__wbindgen_malloc,r.__wbindgen_realloc),j=s;return r.queryengine_query(this.__wbg_ptr,i,c,u,a,d,x,M,j)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(this.__wbg_ptr,n,o)}connect(t,n){const o=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s,i=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_connect(this.__wbg_ptr,o,_,i,c)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}}function H(e,t){const n=String(t),o=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;g().setInt32(e+4*1,_,!0),g().setInt32(e+4*0,o,!0)}function J(e){return e.buffer}function K(){return b(function(e,t){return e.call(t)},arguments)}function X(){return b(function(e,t,n){return e.call(t,n)},arguments)}function Y(e){return e.crypto}function Z(e){return e.done}function ee(e){return Object.entries(e)}function te(){return b(function(e,t){e.getRandomValues(t)},arguments)}function ne(e){return e.getTime()}function re(){return b(function(e,t){return Reflect.get(e,t)},arguments)}function oe(e,t){return e[t>>>0]}function _e(){return b(function(e,t){return e[t]},arguments)}function ce(e,t){return e[t]}function ie(){return b(function(e,t){return Reflect.has(e,t)},arguments)}function ue(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function se(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function fe(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function ae(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function be(e){return Array.isArray(e)}function le(e){return Number.isSafeInteger(e)}function ge(){return Symbol.iterator}function de(e){return Object.keys(e)}function we(e){return e.length}function pe(e){return e.length}function xe(e){return e.msCrypto}function ye(){return new Date}function me(e,t){try{var n={a:e,b:t},o=(i,c)=>{const u=n.a;n.a=0;try{return G(u,n.b,i,c)}finally{n.a=u}};return new Promise(o)}finally{n.a=n.b=0}}function he(){return new Object}function Te(){return new Map}function qe(){return new Array}function Se(e){return new Uint8Array(e)}function Ae(e,t){return new y(q(e,t))}function Ie(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function Ee(e){return new Uint8Array(e>>>0)}function Oe(e){return e.next}function Fe(){return b(function(e){return e.next()},arguments)}function Me(e){return e.node}function je(e){return e.now()}function ke(){return Date.now()}function De(){return b(function(){return Date.now()},arguments)}function Re(e){return e.process}function Be(e,t){return e.push(t)}function Ue(e){return e.queueMicrotask}function Le(e){queueMicrotask(e)}function ve(){return b(function(e,t){e.randomFillSync(t)},arguments)}function Ne(){return b(function(){return module.require},arguments)}function $e(e){return Promise.resolve(e)}function Ce(e,t){return setTimeout(e,t>>>0)}function Ve(e,t,n){e[t>>>0]=n}function ze(e,t,n){e[t]=n}function We(e,t,n){e.set(t,n>>>0)}function Pe(e,t,n){return e.set(t,n)}function Ge(){return b(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function Qe(){const e=typeof global>"u"?null:global;return l(e)?0:p(e)}function He(){const e=typeof globalThis>"u"?null:globalThis;return l(e)?0:p(e)}function Je(){const e=typeof self>"u"?null:self;return l(e)?0:p(e)}function Ke(){const e=typeof window>"u"?null:window;return l(e)?0:p(e)}function Xe(e,t,n){return e.subarray(t>>>0,n>>>0)}function Ye(e,t){return e.then(t)}function Ze(e,t,n){return e.then(t,n)}function et(e){return e.valueOf()}function tt(e){return e.value}function nt(e){return e.versions}function rt(e){return+e}function ot(e){return e}function _t(e){return BigInt.asUintN(64,e)}function ct(e,t){const n=t,o=typeof n=="bigint"?n:void 0;g().setBigInt64(e+8*1,l(o)?BigInt(0):o,!0),g().setInt32(e+4*0,!l(o),!0)}function it(e){const t=e;return typeof t=="boolean"?t?1:0:2}function ut(e){const t=e.original;return t.cnt--==1?(t.a=0,!0):!1}function st(e,t,n){return V(e,t,588,P)}function ft(e,t){const n=A(t),o=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;g().setInt32(e+4*1,_,!0),g().setInt32(e+4*0,o,!0)}function at(e,t){return new Error(q(e,t))}function bt(e,t){return e in t}function lt(){const e=r.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function gt(e){return typeof e=="bigint"}function dt(e){return typeof e=="function"}function wt(e){const t=e;return typeof t=="object"&&t!==null}function pt(e){return typeof e=="string"}function xt(e){return e===void 0}function yt(e,t){return e===t}function mt(e,t){return e==t}function ht(){return r.memory}function Tt(e,t){const n=t,o=typeof n=="number"?n:void 0;g().setFloat64(e+8*1,l(o)?0:o,!0),g().setInt32(e+4*0,!l(o),!0)}function qt(e){return e}function St(e,t){const n=t,o=typeof n=="string"?n:void 0;var _=l(o)?0:f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s;g().setInt32(e+4*1,i,!0),g().setInt32(e+4*0,_,!0)}function At(e,t){return q(e,t)}function It(e,t){throw new Error(q(e,t))}0&&(module.exports={QueryEngine,__wbg_String_8f0eb39a4a4c2f66,__wbg_buffer_609cc3eee51ed158,__wbg_call_672a4d21634d4a24,__wbg_call_7cccdd69e0791ae2,__wbg_crypto_805be4ce92f1e370,__wbg_done_769e5ede4b31c67b,__wbg_entries_3265d4158b33e5dc,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_46267b1c24877e30,__wbg_get_67b2ba62fc30de12,__wbg_get_b9b93047fe3cf45b,__wbg_get_ece95cf6585650d9,__wbg_getwithrefkey_1dc361bd10053bfe,__wbg_has_a5ea9117f258a0ec,__wbg_instanceof_ArrayBuffer_e14585432e3737fc,__wbg_instanceof_Map_f3469ce2244d2430,__wbg_instanceof_Promise_935168b8f4b49db3,__wbg_instanceof_Uint8Array_17156bcf118086a9,__wbg_isArray_a1eab7e0d067391b,__wbg_isSafeInteger_343e2beeeece1bb0,__wbg_iterator_9a24c88df860dc65,__wbg_keys_5c77a08ddc2fb8a6,__wbg_length_a446193dc22c12f8,__wbg_length_e2d2a49132c1b256,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new0_f788a2397c7ca929,__wbg_new_23a2665fac83c611,__wbg_new_405e22f390576ce2,__wbg_new_5e0be73521bc8c17,__wbg_new_78feb108b6472713,__wbg_new_a12002a7f91c75be,__wbg_newnoargs_105ed471475aaf50,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,__wbg_newwithlength_a381634e90c276d4,__wbg_next_25feadfc0913fea9,__wbg_next_6574e1a8a62d1055,__wbg_node_ecc8306b9857f33d,__wbg_now_7fd00a794a07d388,__wbg_now_807e54c39636c349,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_push_737cfc8c1432c2c6,__wbg_queueMicrotask_5a8a9131f3f0b37b,__wbg_queueMicrotask_6d79674585219521,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_resolve_4851785c9c5f573d,__wbg_setTimeout_5d6a1d4fc51ea450,__wbg_set_37837023f3d740e8,__wbg_set_3f1d0b984ed272ed,__wbg_set_65595bdd868b3009,__wbg_set_8fc6bf8a5b1071d1,__wbg_set_bb8cecf6a62b9f46,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_88a902d13a557d07,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,__wbg_static_accessor_SELF_37c5d418e4bf5819,__wbg_static_accessor_WINDOW_5de37043a91a9c40,__wbg_subarray_aa9065fa9dc5df96,__wbg_then_44b73946d2fb3e7d,__wbg_then_48b406749878a531,__wbg_valueOf_7392193dd78c6b97,__wbg_value_cd1ffa7b1ab794f1,__wbg_versions_a8e5a362e1f16442,__wbindgen_as_number,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7651,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_init_externref_table,__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_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
|
1
|
+
"use strict";var F=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var L=(e,t)=>{for(var n in t)F(e,n,{get:t[n],enumerable:!0})},N=(e,t,n,_)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of R(t))!U.call(e,o)&&o!==n&&F(e,o,{get:()=>t[o],enumerable:!(_=B(t,o))||_.enumerable});return e};var C=e=>N(F({},"__esModule",{value:!0}),e);var qt={};L(qt,{QueryEngine:()=>E,__wbg_Error_e83987f665cf5504:()=>J,__wbg_Number_bb48ca12f395cd08:()=>X,__wbg_String_8f0eb39a4a4c2f66:()=>Y,__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd:()=>K,__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68:()=>Z,__wbg___wbindgen_debug_string_df47ffb5e35e6763:()=>ee,__wbg___wbindgen_in_bb933bd9e1b3bc0f:()=>te,__wbg___wbindgen_is_bigint_cb320707dcd35f0b:()=>ne,__wbg___wbindgen_is_function_ee8a6c5833c90377:()=>re,__wbg___wbindgen_is_object_c818261d21f283a4:()=>_e,__wbg___wbindgen_is_string_fbb76cb2940daafd:()=>oe,__wbg___wbindgen_is_undefined_2d472862bd29a478:()=>ce,__wbg___wbindgen_jsval_eq_6b13ab83478b1c50:()=>ie,__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147:()=>se,__wbg___wbindgen_number_get_a20bf9b85341449d:()=>ue,__wbg___wbindgen_string_get_e4f06c90489ad01b:()=>be,__wbg___wbindgen_throw_b855445ff6a94295:()=>fe,__wbg__wbg_cb_unref_2454a539ea5790d9:()=>ae,__wbg_call_525440f72fbfc0ea:()=>ge,__wbg_call_e762c39fa8ea36bf:()=>le,__wbg_crypto_805be4ce92f1e370:()=>de,__wbg_done_2042aa2670fb1db1:()=>we,__wbg_entries_e171b586f8f6bdbf:()=>pe,__wbg_getRandomValues_f6a868620c8bab49:()=>xe,__wbg_getTime_14776bfb48a1bff9:()=>ye,__wbg_get_7bed016f185add81:()=>me,__wbg_get_ece95cf6585650d9:()=>he,__wbg_get_efcb449f58ec27c2:()=>Te,__wbg_get_with_ref_key_1dc361bd10053bfe:()=>Ae,__wbg_has_787fafc980c3ccdb:()=>Se,__wbg_instanceof_ArrayBuffer_70beb1189ca63b38:()=>Fe,__wbg_instanceof_Map_8579b5e2ab5437c7:()=>Ie,__wbg_instanceof_Promise_001fdd42afa1b7ef:()=>qe,__wbg_instanceof_Uint8Array_20c8e73002f7af98:()=>ke,__wbg_isArray_96e0af9891d0945d:()=>Ee,__wbg_isSafeInteger_d216eda7911dde36:()=>Oe,__wbg_iterator_e5822695327a3c39:()=>Me,__wbg_keys_b4d27b02ad14f4be:()=>ve,__wbg_length_69bca3cb64fc8748:()=>De,__wbg_length_cdd215e10d9dd507:()=>je,__wbg_msCrypto_2ac4d17c4748234a:()=>Be,__wbg_new_0_f9740686d739025c:()=>Re,__wbg_new_1acc0b6eea89d040:()=>Ue,__wbg_new_3c3d849046688a66:()=>Le,__wbg_new_5a79be3ab53b8aa5:()=>Ne,__wbg_new_68651c719dcda04e:()=>Ce,__wbg_new_e17d9f43105b08be:()=>$e,__wbg_new_from_slice_92f4d78ca282a2d2:()=>Ve,__wbg_new_no_args_ee98eee5275000a4:()=>We,__wbg_new_with_length_01aa0dc35aa13543:()=>ze,__wbg_next_020810e0ae8ebcb0:()=>Pe,__wbg_next_2c826fe5dfec6b6a:()=>Ge,__wbg_node_ecc8306b9857f33d:()=>Qe,__wbg_now_793306c526e2e3b6:()=>He,__wbg_now_7fd00a794a07d388:()=>Je,__wbg_now_b3f7572f6ef3d3a9:()=>Xe,__wbg_process_5cff2739921be718:()=>Ye,__wbg_prototypesetcall_2a6620b6922694b2:()=>Ke,__wbg_push_df81a39d04db858c:()=>Ze,__wbg_queueMicrotask_5a8a9131f3f0b37b:()=>et,__wbg_queueMicrotask_6d79674585219521:()=>tt,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>nt,__wbg_require_0c566c6f2eef6c79:()=>rt,__wbg_resolve_caf97c30b83f7053:()=>_t,__wbg_setTimeout_5d6a1d4fc51ea450:()=>ot,__wbg_set_3f1d0b984ed272ed:()=>ct,__wbg_set_907fb406c34a251d:()=>it,__wbg_set_c213c871859d6500:()=>st,__wbg_set_c2abbebe8b9ebee1:()=>ut,__wbg_set_wasm:()=>$,__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e:()=>bt,__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac:()=>ft,__wbg_static_accessor_SELF_6fdf4b64710cc91b:()=>at,__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2:()=>gt,__wbg_subarray_480600f3d6a9f26c:()=>lt,__wbg_then_4f46f6544e6b4a28:()=>dt,__wbg_then_70d05cf780a18d77:()=>wt,__wbg_valueOf_9eee4828c11458ca:()=>pt,__wbg_value_692627309814bb8c:()=>xt,__wbg_versions_a8e5a362e1f16442:()=>yt,__wbindgen_cast_2241b6af4c4b2941:()=>mt,__wbindgen_cast_4625c577ab2ec9ee:()=>ht,__wbindgen_cast_9ae0607507abb057:()=>Tt,__wbindgen_cast_cb9088102bce6b30:()=>At,__wbindgen_cast_d6cd19b81560fd6e:()=>St,__wbindgen_cast_e36b1bd81ff7538c:()=>Ft,__wbindgen_init_externref_table:()=>It,debug_panic:()=>G,getBuildTimeInfo:()=>P});module.exports=C(qt);var h=()=>{};h.prototype=h;let r;function $(e){r=e}let T=null;function p(){return(T===null||T.byteLength===0)&&(T=new Uint8Array(r.memory.buffer)),T}let A=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});A.decode();const V=2146435072;let I=0;function W(e,t){return I+=t,I>=V&&(A=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),A.decode(),I=t),A.decode(p().subarray(e,e+t))}function S(e,t){return e=e>>>0,W(e,t)}let u=0;const x=new TextEncoder;"encodeInto"in x||(x.encodeInto=function(e,t){const n=x.encode(e);return t.set(n),{read:e.length,written:n.length}});function b(e,t,n){if(n===void 0){const s=x.encode(e),f=t(s.length,1)>>>0;return p().subarray(f,f+s.length).set(s),u=s.length,f}let _=e.length,o=t(_,1)>>>0;const i=p();let c=0;for(;c<_;c++){const s=e.charCodeAt(c);if(s>127)break;i[o+c]=s}if(c!==_){c!==0&&(e=e.slice(c)),o=n(o,_,_=c+e.length*3,1)>>>0;const s=p().subarray(o+c,o+_),f=x.encodeInto(e,s);c+=f.written,o=n(o,_,c,1)>>>0}return u=c,o}let w=null;function l(){return(w===null||w.buffer.detached===!0||w.buffer.detached===void 0&&w.buffer!==r.memory.buffer)&&(w=new DataView(r.memory.buffer)),w}function a(e){return e==null}function q(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const o=e.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=e.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(e)){const o=e.length;let i="[";o>0&&(i+=q(e[0]));for(let c=1;c<o;c++)i+=", "+q(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(n&&n.length>1)_=n[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}`:_}function y(e){const t=r.__externref_table_alloc();return r.__wbindgen_externrefs.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(n){const _=y(n);r.__wbindgen_exn_store(_)}}function k(e,t){return e=e>>>0,p().subarray(e/1,e/1+t)}const O=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>e.dtor(e.a,e.b));function z(e,t,n,_){const o={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{o.cnt++;const s=o.a;o.a=0;try{return _(s,o.b,...c)}finally{o.a=s,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--o.cnt===0&&(o.dtor(o.a,o.b),o.a=0,O.unregister(o))},O.register(i,o,o),i}function M(e){const t=r.__wbindgen_externrefs.get(e);return r.__externref_table_dealloc(e),t}function P(){return r.getBuildTimeInfo()}function G(e){var t=a(e)?0:b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=u;const _=r.debug_panic(t,n);if(_[1])throw M(_[0])}function Q(e,t,n){r.wasm_bindgen__convert__closures_____invoke__hfd9e61e91d216b42(e,t,n)}function H(e,t,n,_){r.wasm_bindgen__convert__closures_____invoke__h50781bcb5d987161(e,t,n,_)}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_queryengine_free(e>>>0,1));class E{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_queryengine_free(t,0)}disconnect(t,n){const _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u,i=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=u;return r.queryengine_disconnect(this.__wbg_ptr,_,o,i,c)}startTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=u,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=u;return r.queryengine_startTransaction(this.__wbg_ptr,o,i,c,s,f,d)}commitTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=u,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=u;return r.queryengine_commitTransaction(this.__wbg_ptr,o,i,c,s,f,d)}rollbackTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=u,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=u;return r.queryengine_rollbackTransaction(this.__wbg_ptr,o,i,c,s,f,d)}constructor(t,n,_){const o=r.queryengine_new(t,n,_);if(o[2])throw M(o[1]);return this.__wbg_ptr=o[0]>>>0,v.register(this,this.__wbg_ptr,this),this}query(t,n,_,o){const i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),c=u,s=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),f=u;var d=a(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),m=u;const D=b(o,r.__wbindgen_malloc,r.__wbindgen_realloc),j=u;return r.queryengine_query(this.__wbg_ptr,i,c,s,f,d,m,D,j)}trace(t){const n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=u;return r.queryengine_trace(this.__wbg_ptr,n,_)}connect(t,n){const _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u,i=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=u;return r.queryengine_connect(this.__wbg_ptr,_,o,i,c)}metrics(t){const n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=u;return r.queryengine_metrics(this.__wbg_ptr,n,_)}}Symbol.dispose&&(E.prototype[Symbol.dispose]=E.prototype.free);function J(e,t){return Error(S(e,t))}function X(e){return Number(e)}function Y(e,t){const n=String(t),_=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,_,!0)}function K(e,t){const n=t,_=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,a(_)?BigInt(0):_,!0),l().setInt32(e+4*0,!a(_),!0)}function Z(e){const t=e,n=typeof t=="boolean"?t:void 0;return a(n)?16777215:n?1:0}function ee(e,t){const n=q(t),_=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,_,!0)}function te(e,t){return e in t}function ne(e){return typeof e=="bigint"}function re(e){return typeof e=="function"}function _e(e){const t=e;return typeof t=="object"&&t!==null}function oe(e){return typeof e=="string"}function ce(e){return e===void 0}function ie(e,t){return e===t}function se(e,t){return e==t}function ue(e,t){const n=t,_=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,a(_)?0:_,!0),l().setInt32(e+4*0,!a(_),!0)}function be(e,t){const n=t,_=typeof n=="string"?n:void 0;var o=a(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,o,!0)}function fe(e,t){throw new Error(S(e,t))}function ae(e){e._wbg_cb_unref()}function ge(){return g(function(e,t,n){return e.call(t,n)},arguments)}function le(){return g(function(e,t){return e.call(t)},arguments)}function de(e){return e.crypto}function we(e){return e.done}function pe(e){return Object.entries(e)}function xe(){return g(function(e,t){e.getRandomValues(t)},arguments)}function ye(e){return e.getTime()}function me(e,t){return e[t>>>0]}function he(){return g(function(e,t){return e[t]},arguments)}function Te(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function Ae(e,t){return e[t]}function Se(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function Fe(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function Ie(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function qe(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function ke(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function Ee(e){return Array.isArray(e)}function Oe(e){return Number.isSafeInteger(e)}function Me(){return Symbol.iterator}function ve(e){return Object.keys(e)}function De(e){return e.length}function je(e){return e.length}function Be(e){return e.msCrypto}function Re(){return new Date}function Ue(){return new Object}function Le(e,t){try{var n={a:e,b:t},_=(i,c)=>{const s=n.a;n.a=0;try{return H(s,n.b,i,c)}finally{n.a=s}};return new Promise(_)}finally{n.a=n.b=0}}function Ne(e){return new Uint8Array(e)}function Ce(){return new Map}function $e(){return new Array}function Ve(e,t){return new Uint8Array(k(e,t))}function We(e,t){return new h(S(e,t))}function ze(e){return new Uint8Array(e>>>0)}function Pe(){return g(function(e){return e.next()},arguments)}function Ge(e){return e.next}function Qe(e){return e.node}function He(){return Date.now()}function Je(e){return e.now()}function Xe(){return g(function(){return Date.now()},arguments)}function Ye(e){return e.process}function Ke(e,t,n){Uint8Array.prototype.set.call(k(e,t),n)}function Ze(e,t){return e.push(t)}function et(e){return e.queueMicrotask}function tt(e){queueMicrotask(e)}function nt(){return g(function(e,t){e.randomFillSync(t)},arguments)}function rt(){return g(function(){return module.require},arguments)}function _t(e){return Promise.resolve(e)}function ot(e,t){return setTimeout(e,t>>>0)}function ct(e,t,n){e[t]=n}function it(e,t,n){return e.set(t,n)}function st(e,t,n){e[t>>>0]=n}function ut(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function bt(){const e=typeof global>"u"?null:global;return a(e)?0:y(e)}function ft(){const e=typeof globalThis>"u"?null:globalThis;return a(e)?0:y(e)}function at(){const e=typeof self>"u"?null:self;return a(e)?0:y(e)}function gt(){const e=typeof window>"u"?null:window;return a(e)?0:y(e)}function lt(e,t,n){return e.subarray(t>>>0,n>>>0)}function dt(e,t){return e.then(t)}function wt(e,t,n){return e.then(t,n)}function pt(e){return e.valueOf()}function xt(e){return e.value}function yt(e){return e.versions}function mt(e,t){return S(e,t)}function ht(e){return BigInt.asUintN(64,e)}function Tt(e){return e}function At(e,t){return k(e,t)}function St(e){return e}function Ft(e,t){return z(e,t,r.wasm_bindgen__closure__destroy__h7420315a7f5ce457,Q)}function It(){const e=r.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}0&&(module.exports={QueryEngine,__wbg_Error_e83987f665cf5504,__wbg_Number_bb48ca12f395cd08,__wbg_String_8f0eb39a4a4c2f66,__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd,__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68,__wbg___wbindgen_debug_string_df47ffb5e35e6763,__wbg___wbindgen_in_bb933bd9e1b3bc0f,__wbg___wbindgen_is_bigint_cb320707dcd35f0b,__wbg___wbindgen_is_function_ee8a6c5833c90377,__wbg___wbindgen_is_object_c818261d21f283a4,__wbg___wbindgen_is_string_fbb76cb2940daafd,__wbg___wbindgen_is_undefined_2d472862bd29a478,__wbg___wbindgen_jsval_eq_6b13ab83478b1c50,__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147,__wbg___wbindgen_number_get_a20bf9b85341449d,__wbg___wbindgen_string_get_e4f06c90489ad01b,__wbg___wbindgen_throw_b855445ff6a94295,__wbg__wbg_cb_unref_2454a539ea5790d9,__wbg_call_525440f72fbfc0ea,__wbg_call_e762c39fa8ea36bf,__wbg_crypto_805be4ce92f1e370,__wbg_done_2042aa2670fb1db1,__wbg_entries_e171b586f8f6bdbf,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_14776bfb48a1bff9,__wbg_get_7bed016f185add81,__wbg_get_ece95cf6585650d9,__wbg_get_efcb449f58ec27c2,__wbg_get_with_ref_key_1dc361bd10053bfe,__wbg_has_787fafc980c3ccdb,__wbg_instanceof_ArrayBuffer_70beb1189ca63b38,__wbg_instanceof_Map_8579b5e2ab5437c7,__wbg_instanceof_Promise_001fdd42afa1b7ef,__wbg_instanceof_Uint8Array_20c8e73002f7af98,__wbg_isArray_96e0af9891d0945d,__wbg_isSafeInteger_d216eda7911dde36,__wbg_iterator_e5822695327a3c39,__wbg_keys_b4d27b02ad14f4be,__wbg_length_69bca3cb64fc8748,__wbg_length_cdd215e10d9dd507,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new_0_f9740686d739025c,__wbg_new_1acc0b6eea89d040,__wbg_new_3c3d849046688a66,__wbg_new_5a79be3ab53b8aa5,__wbg_new_68651c719dcda04e,__wbg_new_e17d9f43105b08be,__wbg_new_from_slice_92f4d78ca282a2d2,__wbg_new_no_args_ee98eee5275000a4,__wbg_new_with_length_01aa0dc35aa13543,__wbg_next_020810e0ae8ebcb0,__wbg_next_2c826fe5dfec6b6a,__wbg_node_ecc8306b9857f33d,__wbg_now_793306c526e2e3b6,__wbg_now_7fd00a794a07d388,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_prototypesetcall_2a6620b6922694b2,__wbg_push_df81a39d04db858c,__wbg_queueMicrotask_5a8a9131f3f0b37b,__wbg_queueMicrotask_6d79674585219521,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_resolve_caf97c30b83f7053,__wbg_setTimeout_5d6a1d4fc51ea450,__wbg_set_3f1d0b984ed272ed,__wbg_set_907fb406c34a251d,__wbg_set_c213c871859d6500,__wbg_set_c2abbebe8b9ebee1,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e,__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac,__wbg_static_accessor_SELF_6fdf4b64710cc91b,__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2,__wbg_subarray_480600f3d6a9f26c,__wbg_then_4f46f6544e6b4a28,__wbg_then_70d05cf780a18d77,__wbg_valueOf_9eee4828c11458ca,__wbg_value_692627309814bb8c,__wbg_versions_a8e5a362e1f16442,__wbindgen_cast_2241b6af4c4b2941,__wbindgen_cast_4625c577ab2ec9ee,__wbindgen_cast_9ae0607507abb057,__wbindgen_cast_cb9088102bce6b30,__wbindgen_cast_d6cd19b81560fd6e,__wbindgen_cast_e36b1bd81ff7538c,__wbindgen_init_externref_table,debug_panic,getBuildTimeInfo});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
2
|
-
${e.stack}`:o}function E(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function $(e){var t=l(e)?0:f(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=s;const o=r.debug_panic(t,n);if(o[1])throw E(o[0])}function C(){return r.getBuildTimeInfo()}function B(e,t,n){r.closure587_externref_shim(e,t,n)}function U(e,t,n,o){r.closure131_externref_shim(e,t,n,o)}const O=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_queryengine_free(e>>>0,1));class V{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,O.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_queryengine_free(t,0)}disconnect(t,n){const o=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s,i=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_disconnect(this.__wbg_ptr,o,_,i,c)}startTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_startTransaction(this.__wbg_ptr,_,i,c,u,a,d)}commitTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_commitTransaction(this.__wbg_ptr,_,i,c,u,a,d)}rollbackTransaction(t,n,o){const _=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s,c=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),u=s,a=f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),d=s;return r.queryengine_rollbackTransaction(this.__wbg_ptr,_,i,c,u,a,d)}constructor(t,n,o){const _=r.queryengine_new(t,n,o);if(_[2])throw E(_[1]);return this.__wbg_ptr=_[0]>>>0,O.register(this,this.__wbg_ptr,this),this}query(t,n,o,_){const i=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s,u=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),a=s;var d=l(o)?0:f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),x=s;const F=f(_,r.__wbindgen_malloc,r.__wbindgen_realloc),M=s;return r.queryengine_query(this.__wbg_ptr,i,c,u,a,d,x,F,M)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(this.__wbg_ptr,n,o)}connect(t,n){const o=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s,i=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=s;return r.queryengine_connect(this.__wbg_ptr,o,_,i,c)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}}function z(e,t){const n=String(t),o=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;g().setInt32(e+4*1,_,!0),g().setInt32(e+4*0,o,!0)}function W(e){return e.buffer}function P(){return b(function(e,t){return e.call(t)},arguments)}function G(){return b(function(e,t,n){return e.call(t,n)},arguments)}function Q(e){return e.crypto}function H(e){return e.done}function J(e){return Object.entries(e)}function K(){return b(function(e,t){e.getRandomValues(t)},arguments)}function X(e){return e.getTime()}function Y(){return b(function(e,t){return Reflect.get(e,t)},arguments)}function Z(e,t){return e[t>>>0]}function ee(){return b(function(e,t){return e[t]},arguments)}function te(e,t){return e[t]}function ne(){return b(function(e,t){return Reflect.has(e,t)},arguments)}function re(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function oe(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function _e(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function ce(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function ie(e){return Array.isArray(e)}function ue(e){return Number.isSafeInteger(e)}function se(){return Symbol.iterator}function fe(e){return Object.keys(e)}function ae(e){return e.length}function be(e){return e.length}function le(e){return e.msCrypto}function ge(){return new Date}function de(e,t){try{var n={a:e,b:t},o=(i,c)=>{const u=n.a;n.a=0;try{return U(u,n.b,i,c)}finally{n.a=u}};return new Promise(o)}finally{n.a=n.b=0}}function we(){return new Object}function pe(){return new Map}function xe(){return new Array}function ye(e){return new Uint8Array(e)}function me(e,t){return new y(q(e,t))}function he(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function Te(e){return new Uint8Array(e>>>0)}function qe(e){return e.next}function Se(){return b(function(e){return e.next()},arguments)}function Ae(e){return e.node}function Ie(e){return e.now()}function Ee(){return Date.now()}function Oe(){return b(function(){return Date.now()},arguments)}function Fe(e){return e.process}function Me(e,t){return e.push(t)}function je(e){return e.queueMicrotask}function ke(e){queueMicrotask(e)}function De(){return b(function(e,t){e.randomFillSync(t)},arguments)}function Re(){return b(function(){return module.require},arguments)}function Be(e){return Promise.resolve(e)}function Ue(e,t){return setTimeout(e,t>>>0)}function Le(e,t,n){e[t>>>0]=n}function ve(e,t,n){e[t]=n}function Ne(e,t,n){e.set(t,n>>>0)}function $e(e,t,n){return e.set(t,n)}function Ce(){return b(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function Ve(){const e=typeof global>"u"?null:global;return l(e)?0:p(e)}function ze(){const e=typeof globalThis>"u"?null:globalThis;return l(e)?0:p(e)}function We(){const e=typeof self>"u"?null:self;return l(e)?0:p(e)}function Pe(){const e=typeof window>"u"?null:window;return l(e)?0:p(e)}function Ge(e,t,n){return e.subarray(t>>>0,n>>>0)}function Qe(e,t){return e.then(t)}function He(e,t,n){return e.then(t,n)}function Je(e){return e.valueOf()}function Ke(e){return e.value}function Xe(e){return e.versions}function Ye(e){return+e}function Ze(e){return e}function et(e){return BigInt.asUintN(64,e)}function tt(e,t){const n=t,o=typeof n=="bigint"?n:void 0;g().setBigInt64(e+8*1,l(o)?BigInt(0):o,!0),g().setInt32(e+4*0,!l(o),!0)}function nt(e){const t=e;return typeof t=="boolean"?t?1:0:2}function rt(e){const t=e.original;return t.cnt--==1?(t.a=0,!0):!1}function ot(e,t,n){return R(e,t,588,B)}function _t(e,t){const n=S(t),o=f(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=s;g().setInt32(e+4*1,_,!0),g().setInt32(e+4*0,o,!0)}function ct(e,t){return new Error(q(e,t))}function it(e,t){return e in t}function ut(){const e=r.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function st(e){return typeof e=="bigint"}function ft(e){return typeof e=="function"}function at(e){const t=e;return typeof t=="object"&&t!==null}function bt(e){return typeof e=="string"}function lt(e){return e===void 0}function gt(e,t){return e===t}function dt(e,t){return e==t}function wt(){return r.memory}function pt(e,t){const n=t,o=typeof n=="number"?n:void 0;g().setFloat64(e+8*1,l(o)?0:o,!0),g().setInt32(e+4*0,!l(o),!0)}function xt(e){return e}function yt(e,t){const n=t,o=typeof n=="string"?n:void 0;var _=l(o)?0:f(o,r.__wbindgen_malloc,r.__wbindgen_realloc),i=s;g().setInt32(e+4*1,i,!0),g().setInt32(e+4*0,_,!0)}function mt(e,t){return q(e,t)}function ht(e,t){throw new Error(q(e,t))}export{V as QueryEngine,z as __wbg_String_8f0eb39a4a4c2f66,W as __wbg_buffer_609cc3eee51ed158,P as __wbg_call_672a4d21634d4a24,G as __wbg_call_7cccdd69e0791ae2,Q as __wbg_crypto_805be4ce92f1e370,H as __wbg_done_769e5ede4b31c67b,J as __wbg_entries_3265d4158b33e5dc,K as __wbg_getRandomValues_f6a868620c8bab49,X as __wbg_getTime_46267b1c24877e30,Y as __wbg_get_67b2ba62fc30de12,Z as __wbg_get_b9b93047fe3cf45b,ee as __wbg_get_ece95cf6585650d9,te as __wbg_getwithrefkey_1dc361bd10053bfe,ne as __wbg_has_a5ea9117f258a0ec,re as __wbg_instanceof_ArrayBuffer_e14585432e3737fc,oe as __wbg_instanceof_Map_f3469ce2244d2430,_e as __wbg_instanceof_Promise_935168b8f4b49db3,ce as __wbg_instanceof_Uint8Array_17156bcf118086a9,ie as __wbg_isArray_a1eab7e0d067391b,ue as __wbg_isSafeInteger_343e2beeeece1bb0,se as __wbg_iterator_9a24c88df860dc65,fe as __wbg_keys_5c77a08ddc2fb8a6,ae as __wbg_length_a446193dc22c12f8,be as __wbg_length_e2d2a49132c1b256,le as __wbg_msCrypto_2ac4d17c4748234a,ge as __wbg_new0_f788a2397c7ca929,de as __wbg_new_23a2665fac83c611,we as __wbg_new_405e22f390576ce2,pe as __wbg_new_5e0be73521bc8c17,xe as __wbg_new_78feb108b6472713,ye as __wbg_new_a12002a7f91c75be,me as __wbg_newnoargs_105ed471475aaf50,he as __wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,Te as __wbg_newwithlength_a381634e90c276d4,qe as __wbg_next_25feadfc0913fea9,Se as __wbg_next_6574e1a8a62d1055,Ae as __wbg_node_ecc8306b9857f33d,Ie as __wbg_now_7fd00a794a07d388,Ee as __wbg_now_807e54c39636c349,Oe as __wbg_now_b3f7572f6ef3d3a9,Fe as __wbg_process_5cff2739921be718,Me as __wbg_push_737cfc8c1432c2c6,je as __wbg_queueMicrotask_5a8a9131f3f0b37b,ke as __wbg_queueMicrotask_6d79674585219521,De as __wbg_randomFillSync_d3c85af7e31cf1f8,Re as __wbg_require_0c566c6f2eef6c79,Be as __wbg_resolve_4851785c9c5f573d,Ue as __wbg_setTimeout_5d6a1d4fc51ea450,Le as __wbg_set_37837023f3d740e8,ve as __wbg_set_3f1d0b984ed272ed,Ne as __wbg_set_65595bdd868b3009,$e as __wbg_set_8fc6bf8a5b1071d1,Ce as __wbg_set_bb8cecf6a62b9f46,N as __wbg_set_wasm,Ve as __wbg_static_accessor_GLOBAL_88a902d13a557d07,ze as __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,We as __wbg_static_accessor_SELF_37c5d418e4bf5819,Pe as __wbg_static_accessor_WINDOW_5de37043a91a9c40,Ge as __wbg_subarray_aa9065fa9dc5df96,Qe as __wbg_then_44b73946d2fb3e7d,He as __wbg_then_48b406749878a531,Je as __wbg_valueOf_7392193dd78c6b97,Ke as __wbg_value_cd1ffa7b1ab794f1,Xe as __wbg_versions_a8e5a362e1f16442,Ye as __wbindgen_as_number,Ze as __wbindgen_bigint_from_i64,et as __wbindgen_bigint_from_u64,tt as __wbindgen_bigint_get_as_i64,nt as __wbindgen_boolean_get,rt as __wbindgen_cb_drop,ot as __wbindgen_closure_wrapper7651,_t as __wbindgen_debug_string,ct as __wbindgen_error_new,it as __wbindgen_in,ut as __wbindgen_init_externref_table,st as __wbindgen_is_bigint,ft as __wbindgen_is_function,at as __wbindgen_is_object,bt as __wbindgen_is_string,lt as __wbindgen_is_undefined,gt as __wbindgen_jsval_eq,dt as __wbindgen_jsval_loose_eq,wt as __wbindgen_memory,pt as __wbindgen_number_get,xt as __wbindgen_number_new,yt as __wbindgen_string_get,mt as __wbindgen_string_new,ht as __wbindgen_throw,$ as debug_panic,C as getBuildTimeInfo};
|
|
1
|
+
var h=()=>{};h.prototype=h;let r;function $(e){r=e}let T=null;function p(){return(T===null||T.byteLength===0)&&(T=new Uint8Array(r.memory.buffer)),T}let A=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});A.decode();const j=2146435072;let F=0;function B(e,t){return F+=t,F>=j&&(A=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),A.decode(),F=t),A.decode(p().subarray(e,e+t))}function S(e,t){return e=e>>>0,B(e,t)}let u=0;const x=new TextEncoder;"encodeInto"in x||(x.encodeInto=function(e,t){const n=x.encode(e);return t.set(n),{read:e.length,written:n.length}});function b(e,t,n){if(n===void 0){const s=x.encode(e),f=t(s.length,1)>>>0;return p().subarray(f,f+s.length).set(s),u=s.length,f}let _=e.length,o=t(_,1)>>>0;const i=p();let c=0;for(;c<_;c++){const s=e.charCodeAt(c);if(s>127)break;i[o+c]=s}if(c!==_){c!==0&&(e=e.slice(c)),o=n(o,_,_=c+e.length*3,1)>>>0;const s=p().subarray(o+c,o+_),f=x.encodeInto(e,s);c+=f.written,o=n(o,_,c,1)>>>0}return u=c,o}let w=null;function l(){return(w===null||w.buffer.detached===!0||w.buffer.detached===void 0&&w.buffer!==r.memory.buffer)&&(w=new DataView(r.memory.buffer)),w}function a(e){return e==null}function I(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const o=e.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=e.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(e)){const o=e.length;let i="[";o>0&&(i+=I(e[0]));for(let c=1;c<o;c++)i+=", "+I(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(n&&n.length>1)_=n[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}`:_}function y(e){const t=r.__externref_table_alloc();return r.__wbindgen_externrefs.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(n){const _=y(n);r.__wbindgen_exn_store(_)}}function q(e,t){return e=e>>>0,p().subarray(e/1,e/1+t)}const k=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>e.dtor(e.a,e.b));function R(e,t,n,_){const o={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{o.cnt++;const s=o.a;o.a=0;try{return _(s,o.b,...c)}finally{o.a=s,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--o.cnt===0&&(o.dtor(o.a,o.b),o.a=0,k.unregister(o))},k.register(i,o,o),i}function E(e){const t=r.__wbindgen_externrefs.get(e);return r.__externref_table_dealloc(e),t}function V(){return r.getBuildTimeInfo()}function W(e){var t=a(e)?0:b(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=u;const _=r.debug_panic(t,n);if(_[1])throw E(_[0])}function U(e,t,n){r.wasm_bindgen__convert__closures_____invoke__hfd9e61e91d216b42(e,t,n)}function L(e,t,n,_){r.wasm_bindgen__convert__closures_____invoke__h50781bcb5d987161(e,t,n,_)}const O=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_queryengine_free(e>>>0,1));class M{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,O.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_queryengine_free(t,0)}disconnect(t,n){const _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u,i=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=u;return r.queryengine_disconnect(this.__wbg_ptr,_,o,i,c)}startTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=u,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=u;return r.queryengine_startTransaction(this.__wbg_ptr,o,i,c,s,f,d)}commitTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=u,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=u;return r.queryengine_commitTransaction(this.__wbg_ptr,o,i,c,s,f,d)}rollbackTransaction(t,n,_){const o=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u,c=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),s=u,f=b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),d=u;return r.queryengine_rollbackTransaction(this.__wbg_ptr,o,i,c,s,f,d)}constructor(t,n,_){const o=r.queryengine_new(t,n,_);if(o[2])throw E(o[1]);return this.__wbg_ptr=o[0]>>>0,O.register(this,this.__wbg_ptr,this),this}query(t,n,_,o){const i=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),c=u,s=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),f=u;var d=a(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),m=u;const v=b(o,r.__wbindgen_malloc,r.__wbindgen_realloc),D=u;return r.queryengine_query(this.__wbg_ptr,i,c,s,f,d,m,v,D)}trace(t){const n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=u;return r.queryengine_trace(this.__wbg_ptr,n,_)}connect(t,n){const _=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u,i=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=u;return r.queryengine_connect(this.__wbg_ptr,_,o,i,c)}metrics(t){const n=b(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=u;return r.queryengine_metrics(this.__wbg_ptr,n,_)}}Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);function z(e,t){return Error(S(e,t))}function P(e){return Number(e)}function G(e,t){const n=String(t),_=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,_,!0)}function Q(e,t){const n=t,_=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,a(_)?BigInt(0):_,!0),l().setInt32(e+4*0,!a(_),!0)}function H(e){const t=e,n=typeof t=="boolean"?t:void 0;return a(n)?16777215:n?1:0}function J(e,t){const n=I(t),_=b(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=u;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,_,!0)}function X(e,t){return e in t}function Y(e){return typeof e=="bigint"}function K(e){return typeof e=="function"}function Z(e){const t=e;return typeof t=="object"&&t!==null}function ee(e){return typeof e=="string"}function te(e){return e===void 0}function ne(e,t){return e===t}function re(e,t){return e==t}function _e(e,t){const n=t,_=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,a(_)?0:_,!0),l().setInt32(e+4*0,!a(_),!0)}function oe(e,t){const n=t,_=typeof n=="string"?n:void 0;var o=a(_)?0:b(_,r.__wbindgen_malloc,r.__wbindgen_realloc),i=u;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,o,!0)}function ce(e,t){throw new Error(S(e,t))}function ie(e){e._wbg_cb_unref()}function se(){return g(function(e,t,n){return e.call(t,n)},arguments)}function ue(){return g(function(e,t){return e.call(t)},arguments)}function be(e){return e.crypto}function fe(e){return e.done}function ae(e){return Object.entries(e)}function ge(){return g(function(e,t){e.getRandomValues(t)},arguments)}function le(e){return e.getTime()}function de(e,t){return e[t>>>0]}function we(){return g(function(e,t){return e[t]},arguments)}function pe(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function xe(e,t){return e[t]}function ye(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function me(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function he(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function Te(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function Ae(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function Se(e){return Array.isArray(e)}function Fe(e){return Number.isSafeInteger(e)}function Ie(){return Symbol.iterator}function qe(e){return Object.keys(e)}function ke(e){return e.length}function Ee(e){return e.length}function Oe(e){return e.msCrypto}function Me(){return new Date}function ve(){return new Object}function De(e,t){try{var n={a:e,b:t},_=(i,c)=>{const s=n.a;n.a=0;try{return L(s,n.b,i,c)}finally{n.a=s}};return new Promise(_)}finally{n.a=n.b=0}}function je(e){return new Uint8Array(e)}function Be(){return new Map}function Re(){return new Array}function Ue(e,t){return new Uint8Array(q(e,t))}function Le(e,t){return new h(S(e,t))}function Ne(e){return new Uint8Array(e>>>0)}function Ce(){return g(function(e){return e.next()},arguments)}function $e(e){return e.next}function Ve(e){return e.node}function We(){return Date.now()}function ze(e){return e.now()}function Pe(){return g(function(){return Date.now()},arguments)}function Ge(e){return e.process}function Qe(e,t,n){Uint8Array.prototype.set.call(q(e,t),n)}function He(e,t){return e.push(t)}function Je(e){return e.queueMicrotask}function Xe(e){queueMicrotask(e)}function Ye(){return g(function(e,t){e.randomFillSync(t)},arguments)}function Ke(){return g(function(){return module.require},arguments)}function Ze(e){return Promise.resolve(e)}function et(e,t){return setTimeout(e,t>>>0)}function tt(e,t,n){e[t]=n}function nt(e,t,n){return e.set(t,n)}function rt(e,t,n){e[t>>>0]=n}function _t(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function ot(){const e=typeof global>"u"?null:global;return a(e)?0:y(e)}function ct(){const e=typeof globalThis>"u"?null:globalThis;return a(e)?0:y(e)}function it(){const e=typeof self>"u"?null:self;return a(e)?0:y(e)}function st(){const e=typeof window>"u"?null:window;return a(e)?0:y(e)}function ut(e,t,n){return e.subarray(t>>>0,n>>>0)}function bt(e,t){return e.then(t)}function ft(e,t,n){return e.then(t,n)}function at(e){return e.valueOf()}function gt(e){return e.value}function lt(e){return e.versions}function dt(e,t){return S(e,t)}function wt(e){return BigInt.asUintN(64,e)}function pt(e){return e}function xt(e,t){return q(e,t)}function yt(e){return e}function mt(e,t){return R(e,t,r.wasm_bindgen__closure__destroy__h7420315a7f5ce457,U)}function ht(){const e=r.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}export{M as QueryEngine,z as __wbg_Error_e83987f665cf5504,P as __wbg_Number_bb48ca12f395cd08,G as __wbg_String_8f0eb39a4a4c2f66,Q as __wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd,H as __wbg___wbindgen_boolean_get_6d5a1ee65bab5f68,J as __wbg___wbindgen_debug_string_df47ffb5e35e6763,X as __wbg___wbindgen_in_bb933bd9e1b3bc0f,Y as __wbg___wbindgen_is_bigint_cb320707dcd35f0b,K as __wbg___wbindgen_is_function_ee8a6c5833c90377,Z as __wbg___wbindgen_is_object_c818261d21f283a4,ee as __wbg___wbindgen_is_string_fbb76cb2940daafd,te as __wbg___wbindgen_is_undefined_2d472862bd29a478,ne as __wbg___wbindgen_jsval_eq_6b13ab83478b1c50,re as __wbg___wbindgen_jsval_loose_eq_b664b38a2f582147,_e as __wbg___wbindgen_number_get_a20bf9b85341449d,oe as __wbg___wbindgen_string_get_e4f06c90489ad01b,ce as __wbg___wbindgen_throw_b855445ff6a94295,ie as __wbg__wbg_cb_unref_2454a539ea5790d9,se as __wbg_call_525440f72fbfc0ea,ue as __wbg_call_e762c39fa8ea36bf,be as __wbg_crypto_805be4ce92f1e370,fe as __wbg_done_2042aa2670fb1db1,ae as __wbg_entries_e171b586f8f6bdbf,ge as __wbg_getRandomValues_f6a868620c8bab49,le as __wbg_getTime_14776bfb48a1bff9,de as __wbg_get_7bed016f185add81,we as __wbg_get_ece95cf6585650d9,pe as __wbg_get_efcb449f58ec27c2,xe as __wbg_get_with_ref_key_1dc361bd10053bfe,ye as __wbg_has_787fafc980c3ccdb,me as __wbg_instanceof_ArrayBuffer_70beb1189ca63b38,he as __wbg_instanceof_Map_8579b5e2ab5437c7,Te as __wbg_instanceof_Promise_001fdd42afa1b7ef,Ae as __wbg_instanceof_Uint8Array_20c8e73002f7af98,Se as __wbg_isArray_96e0af9891d0945d,Fe as __wbg_isSafeInteger_d216eda7911dde36,Ie as __wbg_iterator_e5822695327a3c39,qe as __wbg_keys_b4d27b02ad14f4be,ke as __wbg_length_69bca3cb64fc8748,Ee as __wbg_length_cdd215e10d9dd507,Oe as __wbg_msCrypto_2ac4d17c4748234a,Me as __wbg_new_0_f9740686d739025c,ve as __wbg_new_1acc0b6eea89d040,De as __wbg_new_3c3d849046688a66,je as __wbg_new_5a79be3ab53b8aa5,Be as __wbg_new_68651c719dcda04e,Re as __wbg_new_e17d9f43105b08be,Ue as __wbg_new_from_slice_92f4d78ca282a2d2,Le as __wbg_new_no_args_ee98eee5275000a4,Ne as __wbg_new_with_length_01aa0dc35aa13543,Ce as __wbg_next_020810e0ae8ebcb0,$e as __wbg_next_2c826fe5dfec6b6a,Ve as __wbg_node_ecc8306b9857f33d,We as __wbg_now_793306c526e2e3b6,ze as __wbg_now_7fd00a794a07d388,Pe as __wbg_now_b3f7572f6ef3d3a9,Ge as __wbg_process_5cff2739921be718,Qe as __wbg_prototypesetcall_2a6620b6922694b2,He as __wbg_push_df81a39d04db858c,Je as __wbg_queueMicrotask_5a8a9131f3f0b37b,Xe as __wbg_queueMicrotask_6d79674585219521,Ye as __wbg_randomFillSync_d3c85af7e31cf1f8,Ke as __wbg_require_0c566c6f2eef6c79,Ze as __wbg_resolve_caf97c30b83f7053,et as __wbg_setTimeout_5d6a1d4fc51ea450,tt as __wbg_set_3f1d0b984ed272ed,nt as __wbg_set_907fb406c34a251d,rt as __wbg_set_c213c871859d6500,_t as __wbg_set_c2abbebe8b9ebee1,$ as __wbg_set_wasm,ot as __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e,ct as __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac,it as __wbg_static_accessor_SELF_6fdf4b64710cc91b,st as __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2,ut as __wbg_subarray_480600f3d6a9f26c,bt as __wbg_then_4f46f6544e6b4a28,ft as __wbg_then_70d05cf780a18d77,at as __wbg_valueOf_9eee4828c11458ca,gt as __wbg_value_692627309814bb8c,lt as __wbg_versions_a8e5a362e1f16442,dt as __wbindgen_cast_2241b6af4c4b2941,wt as __wbindgen_cast_4625c577ab2ec9ee,pt as __wbindgen_cast_9ae0607507abb057,xt as __wbindgen_cast_cb9088102bce6b30,yt as __wbindgen_cast_d6cd19b81560fd6e,mt as __wbindgen_cast_e36b1bd81ff7538c,ht as __wbindgen_init_externref_table,W as debug_panic,V as getBuildTimeInfo};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
2
|
-
${e.stack}`:r}function O(e){const t=o.__wbindgen_export_4.get(e);return o.__externref_table_dealloc(e),t}function z(){return o.getBuildTimeInfo()}function W(e){var t=b(e)?0:f(e,o.__wbindgen_malloc,o.__wbindgen_realloc),n=s;const r=o.debug_panic(t,n);if(r[1])throw O(r[0])}function P(e,t,n){o.closure594_externref_shim(e,t,n)}function G(e,t,n,r){o.closure130_externref_shim(e,t,n,r)}const F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>o.__wbg_queryengine_free(e>>>0,1));class Q{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){const t=this.__destroy_into_raw();o.__wbg_queryengine_free(t,0)}disconnect(t,n){const r=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s,i=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),c=s;return o.queryengine_disconnect(this.__wbg_ptr,r,_,i,c)}startTransaction(t,n,r){const _=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s,c=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=s,a=f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),d=s;return o.queryengine_startTransaction(this.__wbg_ptr,_,i,c,u,a,d)}commitTransaction(t,n,r){const _=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s,c=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=s,a=f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),d=s;return o.queryengine_commitTransaction(this.__wbg_ptr,_,i,c,u,a,d)}rollbackTransaction(t,n,r){const _=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s,c=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),u=s,a=f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),d=s;return o.queryengine_rollbackTransaction(this.__wbg_ptr,_,i,c,u,a,d)}constructor(t,n,r){const _=o.queryengine_new(t,n,r);if(_[2])throw O(_[1]);return this.__wbg_ptr=_[0]>>>0,F.register(this,this.__wbg_ptr,this),this}query(t,n,r,_){const i=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),c=s,u=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),a=s;var d=b(r)?0:f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),y=s;const M=f(_,o.__wbindgen_malloc,o.__wbindgen_realloc),j=s;return o.queryengine_query(this.__wbg_ptr,i,c,u,a,d,y,M,j)}trace(t){const n=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=s;return o.queryengine_trace(this.__wbg_ptr,n,r)}connect(t,n){const r=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s,i=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),c=s;return o.queryengine_connect(this.__wbg_ptr,r,_,i,c)}metrics(t){const n=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=s;return o.queryengine_metrics(this.__wbg_ptr,n,r)}}function H(e,t){const n=String(t),r=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s;l().setInt32(e+4*1,_,!0),l().setInt32(e+4*0,r,!0)}function J(e){return e.buffer}function K(){return g(function(e,t){return e.call(t)},arguments)}function X(){return g(function(e,t,n){return e.call(t,n)},arguments)}function Y(e){return e.crypto}function Z(e){return e.done}function ee(e){return Object.entries(e)}function te(e,t,n){const r=e.exec(w(t,n));return b(r)?0:x(r)}function ne(){return g(function(e,t){e.getRandomValues(t)},arguments)}function re(e){return e.getTime()}function oe(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function _e(e,t){return e[t>>>0]}function ce(){return g(function(e,t){return e[t]},arguments)}function ie(e,t){return e[t]}function ue(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function se(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function fe(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function ae(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function be(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function ge(e){return Array.isArray(e)}function le(e){return Number.isSafeInteger(e)}function de(){return Symbol.iterator}function we(e){return Object.keys(e)}function pe(e){return e.length}function xe(e){return e.length}function ye(e){return e.msCrypto}function me(){return new Date}function he(e,t){try{var n={a:e,b:t},r=(i,c)=>{const u=n.a;n.a=0;try{return G(u,n.b,i,c)}finally{n.a=u}};return new Promise(r)}finally{n.a=n.b=0}}function Te(){return new Object}function qe(){return new Map}function Se(e,t,n,r){return new RegExp(w(e,t),w(n,r))}function Ae(){return new Array}function Ie(e){return new Uint8Array(e)}function Ee(e,t){return new m(w(e,t))}function Oe(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)}function Fe(e){return new Uint8Array(e>>>0)}function Me(e){return e.next}function je(){return g(function(e){return e.next()},arguments)}function ke(e){return e.node}function De(e){return e.now()}function Re(){return Date.now()}function Be(){return g(function(){return Date.now()},arguments)}function Ue(e){return e.process}function Le(e,t){return e.push(t)}function ve(e){return e.queueMicrotask}function Ne(e){queueMicrotask(e)}function $e(){return g(function(e,t){e.randomFillSync(t)},arguments)}function Ce(){return g(function(){return module.require},arguments)}function Ve(e){return Promise.resolve(e)}function ze(e,t){return setTimeout(e,t>>>0)}function We(e,t,n){e[t>>>0]=n}function Pe(e,t,n){e[t]=n}function Ge(e,t,n){e.set(t,n>>>0)}function Qe(e,t,n){return e.set(t,n)}function He(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function Je(){const e=typeof global>"u"?null:global;return b(e)?0:x(e)}function Ke(){const e=typeof globalThis>"u"?null:globalThis;return b(e)?0:x(e)}function Xe(){const e=typeof self>"u"?null:self;return b(e)?0:x(e)}function Ye(){const e=typeof window>"u"?null:window;return b(e)?0:x(e)}function Ze(e,t,n){return e.subarray(t>>>0,n>>>0)}function et(e,t){return e.then(t)}function tt(e,t,n){return e.then(t,n)}function nt(e){return e.valueOf()}function rt(e){return e.value}function ot(e){return e.versions}function _t(e){return+e}function ct(e){return e}function it(e){return BigInt.asUintN(64,e)}function ut(e,t){const n=t,r=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,b(r)?BigInt(0):r,!0),l().setInt32(e+4*0,!b(r),!0)}function st(e){const t=e;return typeof t=="boolean"?t?1:0:2}function ft(e){const t=e.original;return t.cnt--==1?(t.a=0,!0):!1}function at(e,t,n){return V(e,t,595,P)}function bt(e,t){const n=A(t),r=f(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=s;l().setInt32(e+4*1,_,!0),l().setInt32(e+4*0,r,!0)}function gt(e,t){return new Error(w(e,t))}function lt(e,t){return e in t}function dt(){const e=o.__wbindgen_export_4,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}function wt(e){return typeof e=="bigint"}function pt(e){return typeof e=="function"}function xt(e){const t=e;return typeof t=="object"&&t!==null}function yt(e){return typeof e=="string"}function mt(e){return e===void 0}function ht(e,t){return e===t}function Tt(e,t){return e==t}function qt(){return o.memory}function St(e,t){const n=t,r=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,b(r)?0:r,!0),l().setInt32(e+4*0,!b(r),!0)}function At(e){return e}function It(e,t){const n=t,r=typeof n=="string"?n:void 0;var _=b(r)?0:f(r,o.__wbindgen_malloc,o.__wbindgen_realloc),i=s;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,_,!0)}function Et(e,t){return w(e,t)}function Ot(e,t){throw new Error(w(e,t))}0&&(module.exports={QueryEngine,__wbg_String_8f0eb39a4a4c2f66,__wbg_buffer_609cc3eee51ed158,__wbg_call_672a4d21634d4a24,__wbg_call_7cccdd69e0791ae2,__wbg_crypto_805be4ce92f1e370,__wbg_done_769e5ede4b31c67b,__wbg_entries_3265d4158b33e5dc,__wbg_exec_3e2d2d0644c927df,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_46267b1c24877e30,__wbg_get_67b2ba62fc30de12,__wbg_get_b9b93047fe3cf45b,__wbg_get_ece95cf6585650d9,__wbg_getwithrefkey_1dc361bd10053bfe,__wbg_has_a5ea9117f258a0ec,__wbg_instanceof_ArrayBuffer_e14585432e3737fc,__wbg_instanceof_Map_f3469ce2244d2430,__wbg_instanceof_Promise_935168b8f4b49db3,__wbg_instanceof_Uint8Array_17156bcf118086a9,__wbg_isArray_a1eab7e0d067391b,__wbg_isSafeInteger_343e2beeeece1bb0,__wbg_iterator_9a24c88df860dc65,__wbg_keys_5c77a08ddc2fb8a6,__wbg_length_a446193dc22c12f8,__wbg_length_e2d2a49132c1b256,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new0_f788a2397c7ca929,__wbg_new_23a2665fac83c611,__wbg_new_405e22f390576ce2,__wbg_new_5e0be73521bc8c17,__wbg_new_63847613cde5d4bc,__wbg_new_78feb108b6472713,__wbg_new_a12002a7f91c75be,__wbg_newnoargs_105ed471475aaf50,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,__wbg_newwithlength_a381634e90c276d4,__wbg_next_25feadfc0913fea9,__wbg_next_6574e1a8a62d1055,__wbg_node_ecc8306b9857f33d,__wbg_now_7fd00a794a07d388,__wbg_now_807e54c39636c349,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_push_737cfc8c1432c2c6,__wbg_queueMicrotask_5a8a9131f3f0b37b,__wbg_queueMicrotask_6d79674585219521,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_resolve_4851785c9c5f573d,__wbg_setTimeout_5d6a1d4fc51ea450,__wbg_set_37837023f3d740e8,__wbg_set_3f1d0b984ed272ed,__wbg_set_65595bdd868b3009,__wbg_set_8fc6bf8a5b1071d1,__wbg_set_bb8cecf6a62b9f46,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_88a902d13a557d07,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,__wbg_static_accessor_SELF_37c5d418e4bf5819,__wbg_static_accessor_WINDOW_5de37043a91a9c40,__wbg_subarray_aa9065fa9dc5df96,__wbg_then_44b73946d2fb3e7d,__wbg_then_48b406749878a531,__wbg_valueOf_7392193dd78c6b97,__wbg_value_cd1ffa7b1ab794f1,__wbg_versions_a8e5a362e1f16442,__wbindgen_as_number,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7713,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_init_externref_table,__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_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
|
1
|
+
"use strict";var F=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var L=(e,t)=>{for(var n in t)F(e,n,{get:t[n],enumerable:!0})},N=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of B(t))!U.call(e,o)&&o!==n&&F(e,o,{get:()=>t[o],enumerable:!(r=j(t,o))||r.enumerable});return e};var C=e=>N(F({},"__esModule",{value:!0}),e);var kt={};L(kt,{QueryEngine:()=>k,__wbg_Error_e83987f665cf5504:()=>J,__wbg_Number_bb48ca12f395cd08:()=>X,__wbg_String_8f0eb39a4a4c2f66:()=>Y,__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd:()=>K,__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68:()=>Z,__wbg___wbindgen_debug_string_df47ffb5e35e6763:()=>ee,__wbg___wbindgen_in_bb933bd9e1b3bc0f:()=>te,__wbg___wbindgen_is_bigint_cb320707dcd35f0b:()=>ne,__wbg___wbindgen_is_function_ee8a6c5833c90377:()=>re,__wbg___wbindgen_is_object_c818261d21f283a4:()=>_e,__wbg___wbindgen_is_string_fbb76cb2940daafd:()=>oe,__wbg___wbindgen_is_undefined_2d472862bd29a478:()=>ce,__wbg___wbindgen_jsval_eq_6b13ab83478b1c50:()=>ie,__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147:()=>ue,__wbg___wbindgen_number_get_a20bf9b85341449d:()=>se,__wbg___wbindgen_string_get_e4f06c90489ad01b:()=>be,__wbg___wbindgen_throw_b855445ff6a94295:()=>fe,__wbg__wbg_cb_unref_2454a539ea5790d9:()=>ae,__wbg_call_525440f72fbfc0ea:()=>ge,__wbg_call_e762c39fa8ea36bf:()=>le,__wbg_crypto_805be4ce92f1e370:()=>de,__wbg_done_2042aa2670fb1db1:()=>we,__wbg_entries_e171b586f8f6bdbf:()=>pe,__wbg_exec_fdeec61d47617356:()=>xe,__wbg_getRandomValues_f6a868620c8bab49:()=>ye,__wbg_getTime_14776bfb48a1bff9:()=>me,__wbg_get_7bed016f185add81:()=>he,__wbg_get_ece95cf6585650d9:()=>Te,__wbg_get_efcb449f58ec27c2:()=>Ae,__wbg_get_with_ref_key_1dc361bd10053bfe:()=>Se,__wbg_has_787fafc980c3ccdb:()=>Fe,__wbg_instanceof_ArrayBuffer_70beb1189ca63b38:()=>Ie,__wbg_instanceof_Map_8579b5e2ab5437c7:()=>qe,__wbg_instanceof_Promise_001fdd42afa1b7ef:()=>Ee,__wbg_instanceof_Uint8Array_20c8e73002f7af98:()=>ke,__wbg_isArray_96e0af9891d0945d:()=>Oe,__wbg_isSafeInteger_d216eda7911dde36:()=>Me,__wbg_iterator_e5822695327a3c39:()=>ve,__wbg_keys_b4d27b02ad14f4be:()=>De,__wbg_length_69bca3cb64fc8748:()=>Re,__wbg_length_cdd215e10d9dd507:()=>je,__wbg_msCrypto_2ac4d17c4748234a:()=>Be,__wbg_new_0_f9740686d739025c:()=>Ue,__wbg_new_1acc0b6eea89d040:()=>Le,__wbg_new_23fa8b12a239f036:()=>Ne,__wbg_new_3c3d849046688a66:()=>Ce,__wbg_new_5a79be3ab53b8aa5:()=>$e,__wbg_new_68651c719dcda04e:()=>Ve,__wbg_new_e17d9f43105b08be:()=>We,__wbg_new_from_slice_92f4d78ca282a2d2:()=>ze,__wbg_new_no_args_ee98eee5275000a4:()=>Pe,__wbg_new_with_length_01aa0dc35aa13543:()=>Ge,__wbg_next_020810e0ae8ebcb0:()=>Qe,__wbg_next_2c826fe5dfec6b6a:()=>He,__wbg_node_ecc8306b9857f33d:()=>Je,__wbg_now_793306c526e2e3b6:()=>Xe,__wbg_now_7fd00a794a07d388:()=>Ye,__wbg_now_b3f7572f6ef3d3a9:()=>Ke,__wbg_process_5cff2739921be718:()=>Ze,__wbg_prototypesetcall_2a6620b6922694b2:()=>et,__wbg_push_df81a39d04db858c:()=>tt,__wbg_queueMicrotask_5a8a9131f3f0b37b:()=>nt,__wbg_queueMicrotask_6d79674585219521:()=>rt,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>_t,__wbg_require_0c566c6f2eef6c79:()=>ot,__wbg_resolve_caf97c30b83f7053:()=>ct,__wbg_setTimeout_5d6a1d4fc51ea450:()=>it,__wbg_set_3f1d0b984ed272ed:()=>ut,__wbg_set_907fb406c34a251d:()=>st,__wbg_set_c213c871859d6500:()=>bt,__wbg_set_c2abbebe8b9ebee1:()=>ft,__wbg_set_wasm:()=>$,__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e:()=>at,__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac:()=>gt,__wbg_static_accessor_SELF_6fdf4b64710cc91b:()=>lt,__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2:()=>dt,__wbg_subarray_480600f3d6a9f26c:()=>wt,__wbg_then_4f46f6544e6b4a28:()=>pt,__wbg_then_70d05cf780a18d77:()=>xt,__wbg_valueOf_9eee4828c11458ca:()=>yt,__wbg_value_692627309814bb8c:()=>mt,__wbg_versions_a8e5a362e1f16442:()=>ht,__wbindgen_cast_2241b6af4c4b2941:()=>Tt,__wbindgen_cast_3d295003f458b237:()=>At,__wbindgen_cast_4625c577ab2ec9ee:()=>St,__wbindgen_cast_9ae0607507abb057:()=>Ft,__wbindgen_cast_cb9088102bce6b30:()=>It,__wbindgen_cast_d6cd19b81560fd6e:()=>qt,__wbindgen_init_externref_table:()=>Et,debug_panic:()=>G,getBuildTimeInfo:()=>P});module.exports=C(kt);var T=()=>{};T.prototype=T;let _;function $(e){_=e}let A=null;function y(){return(A===null||A.byteLength===0)&&(A=new Uint8Array(_.memory.buffer)),A}let S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});S.decode();const V=2146435072;let I=0;function W(e,t){return I+=t,I>=V&&(S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),S.decode(),I=t),S.decode(y().subarray(e,e+t))}function w(e,t){return e=e>>>0,W(e,t)}let s=0;const m=new TextEncoder;"encodeInto"in m||(m.encodeInto=function(e,t){const n=m.encode(e);return t.set(n),{read:e.length,written:n.length}});function b(e,t,n){if(n===void 0){const u=m.encode(e),f=t(u.length,1)>>>0;return y().subarray(f,f+u.length).set(u),s=u.length,f}let r=e.length,o=t(r,1)>>>0;const i=y();let c=0;for(;c<r;c++){const u=e.charCodeAt(c);if(u>127)break;i[o+c]=u}if(c!==r){c!==0&&(e=e.slice(c)),o=n(o,r,r=c+e.length*3,1)>>>0;const u=y().subarray(o+c,o+r),f=m.encodeInto(e,u);c+=f.written,o=n(o,r,c,1)>>>0}return s=c,o}let p=null;function l(){return(p===null||p.buffer.detached===!0||p.buffer.detached===void 0&&p.buffer!==_.memory.buffer)&&(p=new DataView(_.memory.buffer)),p}function a(e){return e==null}function q(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const o=e.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=e.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(e)){const o=e.length;let i="[";o>0&&(i+=q(e[0]));for(let c=1;c<o;c++)i+=", "+q(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
|
2
|
+
${e.stack}`:r}function x(e){const t=_.__externref_table_alloc();return _.__wbindgen_externrefs.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(n){const r=x(n);_.__wbindgen_exn_store(r)}}function E(e,t){return e=e>>>0,y().subarray(e/1,e/1+t)}const O=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>e.dtor(e.a,e.b));function z(e,t,n,r){const o={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{o.cnt++;const u=o.a;o.a=0;try{return r(u,o.b,...c)}finally{o.a=u,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--o.cnt===0&&(o.dtor(o.a,o.b),o.a=0,O.unregister(o))},O.register(i,o,o),i}function M(e){const t=_.__wbindgen_externrefs.get(e);return _.__externref_table_dealloc(e),t}function P(){return _.getBuildTimeInfo()}function G(e){var t=a(e)?0:b(e,_.__wbindgen_malloc,_.__wbindgen_realloc),n=s;const r=_.debug_panic(t,n);if(r[1])throw M(r[0])}function Q(e,t,n){_.wasm_bindgen__convert__closures_____invoke__hfd9e61e91d216b42(e,t,n)}function H(e,t,n,r){_.wasm_bindgen__convert__closures_____invoke__h50781bcb5d987161(e,t,n,r)}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_queryengine_free(e>>>0,1));class k{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),t}free(){const t=this.__destroy_into_raw();_.__wbg_queryengine_free(t,0)}disconnect(t,n){const r=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s,i=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),c=s;return _.queryengine_disconnect(this.__wbg_ptr,r,o,i,c)}startTransaction(t,n,r){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s,c=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=s,f=b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),d=s;return _.queryengine_startTransaction(this.__wbg_ptr,o,i,c,u,f,d)}commitTransaction(t,n,r){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s,c=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=s,f=b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),d=s;return _.queryengine_commitTransaction(this.__wbg_ptr,o,i,c,u,f,d)}rollbackTransaction(t,n,r){const o=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s,c=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),u=s,f=b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),d=s;return _.queryengine_rollbackTransaction(this.__wbg_ptr,o,i,c,u,f,d)}constructor(t,n,r){const o=_.queryengine_new(t,n,r);if(o[2])throw M(o[1]);return this.__wbg_ptr=o[0]>>>0,v.register(this,this.__wbg_ptr,this),this}query(t,n,r,o){const i=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=s,u=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),f=s;var d=a(r)?0:b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),h=s;const D=b(o,_.__wbindgen_malloc,_.__wbindgen_realloc),R=s;return _.queryengine_query(this.__wbg_ptr,i,c,u,f,d,h,D,R)}trace(t){const n=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),r=s;return _.queryengine_trace(this.__wbg_ptr,n,r)}connect(t,n){const r=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s,i=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),c=s;return _.queryengine_connect(this.__wbg_ptr,r,o,i,c)}metrics(t){const n=b(t,_.__wbindgen_malloc,_.__wbindgen_realloc),r=s;return _.queryengine_metrics(this.__wbg_ptr,n,r)}}Symbol.dispose&&(k.prototype[Symbol.dispose]=k.prototype.free);function J(e,t){return Error(w(e,t))}function X(e){return Number(e)}function Y(e,t){const n=String(t),r=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,r,!0)}function K(e,t){const n=t,r=typeof n=="bigint"?n:void 0;l().setBigInt64(e+8*1,a(r)?BigInt(0):r,!0),l().setInt32(e+4*0,!a(r),!0)}function Z(e){const t=e,n=typeof t=="boolean"?t:void 0;return a(n)?16777215:n?1:0}function ee(e,t){const n=q(t),r=b(n,_.__wbindgen_malloc,_.__wbindgen_realloc),o=s;l().setInt32(e+4*1,o,!0),l().setInt32(e+4*0,r,!0)}function te(e,t){return e in t}function ne(e){return typeof e=="bigint"}function re(e){return typeof e=="function"}function _e(e){const t=e;return typeof t=="object"&&t!==null}function oe(e){return typeof e=="string"}function ce(e){return e===void 0}function ie(e,t){return e===t}function ue(e,t){return e==t}function se(e,t){const n=t,r=typeof n=="number"?n:void 0;l().setFloat64(e+8*1,a(r)?0:r,!0),l().setInt32(e+4*0,!a(r),!0)}function be(e,t){const n=t,r=typeof n=="string"?n:void 0;var o=a(r)?0:b(r,_.__wbindgen_malloc,_.__wbindgen_realloc),i=s;l().setInt32(e+4*1,i,!0),l().setInt32(e+4*0,o,!0)}function fe(e,t){throw new Error(w(e,t))}function ae(e){e._wbg_cb_unref()}function ge(){return g(function(e,t,n){return e.call(t,n)},arguments)}function le(){return g(function(e,t){return e.call(t)},arguments)}function de(e){return e.crypto}function we(e){return e.done}function pe(e){return Object.entries(e)}function xe(e,t,n){const r=e.exec(w(t,n));return a(r)?0:x(r)}function ye(){return g(function(e,t){e.getRandomValues(t)},arguments)}function me(e){return e.getTime()}function he(e,t){return e[t>>>0]}function Te(){return g(function(e,t){return e[t]},arguments)}function Ae(){return g(function(e,t){return Reflect.get(e,t)},arguments)}function Se(e,t){return e[t]}function Fe(){return g(function(e,t){return Reflect.has(e,t)},arguments)}function Ie(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function qe(e){let t;try{t=e instanceof Map}catch{t=!1}return t}function Ee(e){let t;try{t=e instanceof Promise}catch{t=!1}return t}function ke(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function Oe(e){return Array.isArray(e)}function Me(e){return Number.isSafeInteger(e)}function ve(){return Symbol.iterator}function De(e){return Object.keys(e)}function Re(e){return e.length}function je(e){return e.length}function Be(e){return e.msCrypto}function Ue(){return new Date}function Le(){return new Object}function Ne(e,t,n,r){return new RegExp(w(e,t),w(n,r))}function Ce(e,t){try{var n={a:e,b:t},r=(i,c)=>{const u=n.a;n.a=0;try{return H(u,n.b,i,c)}finally{n.a=u}};return new Promise(r)}finally{n.a=n.b=0}}function $e(e){return new Uint8Array(e)}function Ve(){return new Map}function We(){return new Array}function ze(e,t){return new Uint8Array(E(e,t))}function Pe(e,t){return new T(w(e,t))}function Ge(e){return new Uint8Array(e>>>0)}function Qe(){return g(function(e){return e.next()},arguments)}function He(e){return e.next}function Je(e){return e.node}function Xe(){return Date.now()}function Ye(e){return e.now()}function Ke(){return g(function(){return Date.now()},arguments)}function Ze(e){return e.process}function et(e,t,n){Uint8Array.prototype.set.call(E(e,t),n)}function tt(e,t){return e.push(t)}function nt(e){return e.queueMicrotask}function rt(e){queueMicrotask(e)}function _t(){return g(function(e,t){e.randomFillSync(t)},arguments)}function ot(){return g(function(){return module.require},arguments)}function ct(e){return Promise.resolve(e)}function it(e,t){return setTimeout(e,t>>>0)}function ut(e,t,n){e[t]=n}function st(e,t,n){return e.set(t,n)}function bt(e,t,n){e[t>>>0]=n}function ft(){return g(function(e,t,n){return Reflect.set(e,t,n)},arguments)}function at(){const e=typeof global>"u"?null:global;return a(e)?0:x(e)}function gt(){const e=typeof globalThis>"u"?null:globalThis;return a(e)?0:x(e)}function lt(){const e=typeof self>"u"?null:self;return a(e)?0:x(e)}function dt(){const e=typeof window>"u"?null:window;return a(e)?0:x(e)}function wt(e,t,n){return e.subarray(t>>>0,n>>>0)}function pt(e,t){return e.then(t)}function xt(e,t,n){return e.then(t,n)}function yt(e){return e.valueOf()}function mt(e){return e.value}function ht(e){return e.versions}function Tt(e,t){return w(e,t)}function At(e,t){return z(e,t,_.wasm_bindgen__closure__destroy__h7420315a7f5ce457,Q)}function St(e){return BigInt.asUintN(64,e)}function Ft(e){return e}function It(e,t){return E(e,t)}function qt(e){return e}function Et(){const e=_.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}0&&(module.exports={QueryEngine,__wbg_Error_e83987f665cf5504,__wbg_Number_bb48ca12f395cd08,__wbg_String_8f0eb39a4a4c2f66,__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd,__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68,__wbg___wbindgen_debug_string_df47ffb5e35e6763,__wbg___wbindgen_in_bb933bd9e1b3bc0f,__wbg___wbindgen_is_bigint_cb320707dcd35f0b,__wbg___wbindgen_is_function_ee8a6c5833c90377,__wbg___wbindgen_is_object_c818261d21f283a4,__wbg___wbindgen_is_string_fbb76cb2940daafd,__wbg___wbindgen_is_undefined_2d472862bd29a478,__wbg___wbindgen_jsval_eq_6b13ab83478b1c50,__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147,__wbg___wbindgen_number_get_a20bf9b85341449d,__wbg___wbindgen_string_get_e4f06c90489ad01b,__wbg___wbindgen_throw_b855445ff6a94295,__wbg__wbg_cb_unref_2454a539ea5790d9,__wbg_call_525440f72fbfc0ea,__wbg_call_e762c39fa8ea36bf,__wbg_crypto_805be4ce92f1e370,__wbg_done_2042aa2670fb1db1,__wbg_entries_e171b586f8f6bdbf,__wbg_exec_fdeec61d47617356,__wbg_getRandomValues_f6a868620c8bab49,__wbg_getTime_14776bfb48a1bff9,__wbg_get_7bed016f185add81,__wbg_get_ece95cf6585650d9,__wbg_get_efcb449f58ec27c2,__wbg_get_with_ref_key_1dc361bd10053bfe,__wbg_has_787fafc980c3ccdb,__wbg_instanceof_ArrayBuffer_70beb1189ca63b38,__wbg_instanceof_Map_8579b5e2ab5437c7,__wbg_instanceof_Promise_001fdd42afa1b7ef,__wbg_instanceof_Uint8Array_20c8e73002f7af98,__wbg_isArray_96e0af9891d0945d,__wbg_isSafeInteger_d216eda7911dde36,__wbg_iterator_e5822695327a3c39,__wbg_keys_b4d27b02ad14f4be,__wbg_length_69bca3cb64fc8748,__wbg_length_cdd215e10d9dd507,__wbg_msCrypto_2ac4d17c4748234a,__wbg_new_0_f9740686d739025c,__wbg_new_1acc0b6eea89d040,__wbg_new_23fa8b12a239f036,__wbg_new_3c3d849046688a66,__wbg_new_5a79be3ab53b8aa5,__wbg_new_68651c719dcda04e,__wbg_new_e17d9f43105b08be,__wbg_new_from_slice_92f4d78ca282a2d2,__wbg_new_no_args_ee98eee5275000a4,__wbg_new_with_length_01aa0dc35aa13543,__wbg_next_020810e0ae8ebcb0,__wbg_next_2c826fe5dfec6b6a,__wbg_node_ecc8306b9857f33d,__wbg_now_793306c526e2e3b6,__wbg_now_7fd00a794a07d388,__wbg_now_b3f7572f6ef3d3a9,__wbg_process_5cff2739921be718,__wbg_prototypesetcall_2a6620b6922694b2,__wbg_push_df81a39d04db858c,__wbg_queueMicrotask_5a8a9131f3f0b37b,__wbg_queueMicrotask_6d79674585219521,__wbg_randomFillSync_d3c85af7e31cf1f8,__wbg_require_0c566c6f2eef6c79,__wbg_resolve_caf97c30b83f7053,__wbg_setTimeout_5d6a1d4fc51ea450,__wbg_set_3f1d0b984ed272ed,__wbg_set_907fb406c34a251d,__wbg_set_c213c871859d6500,__wbg_set_c2abbebe8b9ebee1,__wbg_set_wasm,__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e,__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac,__wbg_static_accessor_SELF_6fdf4b64710cc91b,__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2,__wbg_subarray_480600f3d6a9f26c,__wbg_then_4f46f6544e6b4a28,__wbg_then_70d05cf780a18d77,__wbg_valueOf_9eee4828c11458ca,__wbg_value_692627309814bb8c,__wbg_versions_a8e5a362e1f16442,__wbindgen_cast_2241b6af4c4b2941,__wbindgen_cast_3d295003f458b237,__wbindgen_cast_4625c577ab2ec9ee,__wbindgen_cast_9ae0607507abb057,__wbindgen_cast_cb9088102bce6b30,__wbindgen_cast_d6cd19b81560fd6e,__wbindgen_init_externref_table,debug_panic,getBuildTimeInfo});
|