prisma 6.9.0-dev.9 → 6.9.0-integration-push-xtvzqtsrpwpk.2
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 +545 -543
- package/build/prisma_schema_build_bg.wasm +0 -0
- package/build/schema_engine_bg.wasm +0 -0
- package/package.json +14 -14
- package/prisma-client/generator-build/index.js +31 -24
- package/prisma-client/package.json +16 -10
- package/prisma-client/runtime/binary.js +17 -17
- package/prisma-client/runtime/binary.mjs +23 -23
- package/prisma-client/runtime/client.d.mts +23 -17
- package/prisma-client/runtime/client.d.ts +23 -17
- package/prisma-client/runtime/client.js +38 -38
- package/prisma-client/runtime/client.mjs +38 -38
- package/prisma-client/runtime/edge-esm.js +14 -14
- package/prisma-client/runtime/edge.d.ts +23 -17
- package/prisma-client/runtime/edge.js +14 -14
- package/prisma-client/runtime/library.d.mts +23 -17
- package/prisma-client/runtime/library.d.ts +23 -17
- package/prisma-client/runtime/library.js +21 -21
- package/prisma-client/runtime/library.mjs +28 -28
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.mysql.mjs +1 -1
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.mjs +1 -1
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.mjs +1 -1
- package/prisma-client/runtime/react-native.d.ts +23 -17
- package/prisma-client/runtime/react-native.js +17 -17
- package/prisma-client/scripts/default-index.js +3 -3
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";var S=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var B=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of D(t))!R.call(e,_)&&_!==n&&S(e,_,{get:()=>t[_],enumerable:!(o=k(t,_))||o.enumerable});return e};var L=e=>U(S({},"__esModule",{value:!0}),e);var Et={};B(Et,{QueryEngine:()=>Q,__wbg_String_8f0eb39a4a4c2f66:()=>H,__wbg_buffer_609cc3eee51ed158:()=>J,__wbg_call_672a4d21634d4a24:()=>K,__wbg_call_7cccdd69e0791ae2:()=>X,__wbg_crypto_805be4ce92f1e370:()=>Y,__wbg_done_769e5ede4b31c67b:()=>Z,__wbg_entries_3265d4158b33e5dc:()=>ee,__wbg_getRandomValues_f6a868620c8bab49:()=>te,__wbg_getTime_46267b1c24877e30:()=>ne,__wbg_get_67b2ba62fc30de12:()=>re,__wbg_get_b9b93047fe3cf45b:()=>oe,__wbg_get_ece95cf6585650d9:()=>_e,__wbg_getwithrefkey_1dc361bd10053bfe:()=>ce,__wbg_has_a5ea9117f258a0ec:()=>ie,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>ue,__wbg_instanceof_Map_f3469ce2244d2430:()=>se,__wbg_instanceof_Promise_935168b8f4b49db3:()=>fe,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>ae,__wbg_isArray_a1eab7e0d067391b:()=>be,__wbg_isSafeInteger_343e2beeeece1bb0:()=>le,__wbg_iterator_9a24c88df860dc65:()=>ge,__wbg_keys_5c77a08ddc2fb8a6:()=>de,__wbg_length_a446193dc22c12f8:()=>we,__wbg_length_e2d2a49132c1b256:()=>pe,__wbg_msCrypto_2ac4d17c4748234a:()=>xe,__wbg_new0_f788a2397c7ca929:()=>ye,__wbg_new_23a2665fac83c611:()=>me,__wbg_new_405e22f390576ce2:()=>he,__wbg_new_5e0be73521bc8c17:()=>Te,__wbg_new_78feb108b6472713:()=>qe,__wbg_new_a12002a7f91c75be:()=>Se,__wbg_newnoargs_105ed471475aaf50:()=>Ae,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>Ie,__wbg_newwithlength_a381634e90c276d4:()=>Ee,__wbg_next_25feadfc0913fea9:()=>Oe,__wbg_next_6574e1a8a62d1055:()=>Fe,__wbg_node_ecc8306b9857f33d:()=>Me,__wbg_now_7fd00a794a07d388:()=>je,__wbg_now_807e54c39636c349:()=>ke,__wbg_now_b3f7572f6ef3d3a9:()=>De,__wbg_process_5cff2739921be718:()=>Re,__wbg_push_737cfc8c1432c2c6:()=>Be,__wbg_queueMicrotask_5a8a9131f3f0b37b:()=>Ue,__wbg_queueMicrotask_6d79674585219521:()=>Le,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>ve,__wbg_require_0c566c6f2eef6c79:()=>Ne,__wbg_resolve_4851785c9c5f573d:()=>$e,__wbg_setTimeout_5d6a1d4fc51ea450:()=>Ce,__wbg_set_37837023f3d740e8:()=>Ve,__wbg_set_3f1d0b984ed272ed:()=>ze,__wbg_set_65595bdd868b3009:()=>We,__wbg_set_8fc6bf8a5b1071d1:()=>Pe,__wbg_set_bb8cecf6a62b9f46:()=>Ge,__wbg_set_wasm:()=>v,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Qe,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>He,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>Je,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Ke,__wbg_subarray_aa9065fa9dc5df96:()=>Xe,__wbg_then_44b73946d2fb3e7d:()=>Ye,__wbg_then_48b406749878a531:()=>Ze,__wbg_valueOf_7392193dd78c6b97:()=>et,__wbg_value_cd1ffa7b1ab794f1:()=>tt,__wbg_versions_a8e5a362e1f16442:()=>nt,__wbindgen_as_number:()=>rt,__wbindgen_bigint_from_i64:()=>ot,__wbindgen_bigint_from_u64:()=>_t,__wbindgen_bigint_get_as_i64:()=>ct,__wbindgen_boolean_get:()=>it,__wbindgen_cb_drop:()=>ut,
|
2
|
-
${e.stack}`:o}function O(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function z(){return r.getBuildTimeInfo()}function W(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 P(e,t,n){r.
|
1
|
+
"use strict";var S=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var B=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of D(t))!R.call(e,_)&&_!==n&&S(e,_,{get:()=>t[_],enumerable:!(o=k(t,_))||o.enumerable});return e};var L=e=>U(S({},"__esModule",{value:!0}),e);var Et={};B(Et,{QueryEngine:()=>Q,__wbg_String_8f0eb39a4a4c2f66:()=>H,__wbg_buffer_609cc3eee51ed158:()=>J,__wbg_call_672a4d21634d4a24:()=>K,__wbg_call_7cccdd69e0791ae2:()=>X,__wbg_crypto_805be4ce92f1e370:()=>Y,__wbg_done_769e5ede4b31c67b:()=>Z,__wbg_entries_3265d4158b33e5dc:()=>ee,__wbg_getRandomValues_f6a868620c8bab49:()=>te,__wbg_getTime_46267b1c24877e30:()=>ne,__wbg_get_67b2ba62fc30de12:()=>re,__wbg_get_b9b93047fe3cf45b:()=>oe,__wbg_get_ece95cf6585650d9:()=>_e,__wbg_getwithrefkey_1dc361bd10053bfe:()=>ce,__wbg_has_a5ea9117f258a0ec:()=>ie,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>ue,__wbg_instanceof_Map_f3469ce2244d2430:()=>se,__wbg_instanceof_Promise_935168b8f4b49db3:()=>fe,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>ae,__wbg_isArray_a1eab7e0d067391b:()=>be,__wbg_isSafeInteger_343e2beeeece1bb0:()=>le,__wbg_iterator_9a24c88df860dc65:()=>ge,__wbg_keys_5c77a08ddc2fb8a6:()=>de,__wbg_length_a446193dc22c12f8:()=>we,__wbg_length_e2d2a49132c1b256:()=>pe,__wbg_msCrypto_2ac4d17c4748234a:()=>xe,__wbg_new0_f788a2397c7ca929:()=>ye,__wbg_new_23a2665fac83c611:()=>me,__wbg_new_405e22f390576ce2:()=>he,__wbg_new_5e0be73521bc8c17:()=>Te,__wbg_new_78feb108b6472713:()=>qe,__wbg_new_a12002a7f91c75be:()=>Se,__wbg_newnoargs_105ed471475aaf50:()=>Ae,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>Ie,__wbg_newwithlength_a381634e90c276d4:()=>Ee,__wbg_next_25feadfc0913fea9:()=>Oe,__wbg_next_6574e1a8a62d1055:()=>Fe,__wbg_node_ecc8306b9857f33d:()=>Me,__wbg_now_7fd00a794a07d388:()=>je,__wbg_now_807e54c39636c349:()=>ke,__wbg_now_b3f7572f6ef3d3a9:()=>De,__wbg_process_5cff2739921be718:()=>Re,__wbg_push_737cfc8c1432c2c6:()=>Be,__wbg_queueMicrotask_5a8a9131f3f0b37b:()=>Ue,__wbg_queueMicrotask_6d79674585219521:()=>Le,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>ve,__wbg_require_0c566c6f2eef6c79:()=>Ne,__wbg_resolve_4851785c9c5f573d:()=>$e,__wbg_setTimeout_5d6a1d4fc51ea450:()=>Ce,__wbg_set_37837023f3d740e8:()=>Ve,__wbg_set_3f1d0b984ed272ed:()=>ze,__wbg_set_65595bdd868b3009:()=>We,__wbg_set_8fc6bf8a5b1071d1:()=>Pe,__wbg_set_bb8cecf6a62b9f46:()=>Ge,__wbg_set_wasm:()=>v,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Qe,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>He,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>Je,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Ke,__wbg_subarray_aa9065fa9dc5df96:()=>Xe,__wbg_then_44b73946d2fb3e7d:()=>Ye,__wbg_then_48b406749878a531:()=>Ze,__wbg_valueOf_7392193dd78c6b97:()=>et,__wbg_value_cd1ffa7b1ab794f1:()=>tt,__wbg_versions_a8e5a362e1f16442:()=>nt,__wbindgen_as_number:()=>rt,__wbindgen_bigint_from_i64:()=>ot,__wbindgen_bigint_from_u64:()=>_t,__wbindgen_bigint_get_as_i64:()=>ct,__wbindgen_boolean_get:()=>it,__wbindgen_cb_drop:()=>ut,__wbindgen_closure_wrapper7549:()=>st,__wbindgen_debug_string:()=>ft,__wbindgen_error_new:()=>at,__wbindgen_in:()=>bt,__wbindgen_init_externref_table:()=>lt,__wbindgen_is_bigint:()=>gt,__wbindgen_is_function:()=>dt,__wbindgen_is_object:()=>wt,__wbindgen_is_string:()=>pt,__wbindgen_is_undefined:()=>xt,__wbindgen_jsval_eq:()=>yt,__wbindgen_jsval_loose_eq:()=>mt,__wbindgen_memory:()=>ht,__wbindgen_number_get:()=>Tt,__wbindgen_number_new:()=>qt,__wbindgen_string_get:()=>St,__wbindgen_string_new:()=>At,__wbindgen_throw:()=>It,debug_panic:()=>W,getBuildTimeInfo:()=>z});module.exports=L(Et);var y=()=>{};y.prototype=y;let r;function v(e){r=e}let s=0,m=null;function h(){return(m===null||m.byteLength===0)&&(m=new Uint8Array(r.memory.buffer)),m}const N=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let T=new N("utf-8");const $=typeof T.encodeInto=="function"?function(e,t){return T.encodeInto(e,t)}:function(e,t){const n=T.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(n===void 0){const u=T.encode(e),a=t(u.length,1)>>>0;return h().subarray(a,a+u.length).set(u),s=u.length,a}let o=e.length,_=t(o,1)>>>0;const i=h();let c=0;for(;c<o;c++){const u=e.charCodeAt(c);if(u>127)break;i[_+c]=u}if(c!==o){c!==0&&(e=e.slice(c)),_=n(_,o,o=c+e.length*3,1)>>>0;const u=h().subarray(_+c,_+o),a=$(e,u);c+=a.written,_=n(_,o,c,1)>>>0}return s=c,_}let w=null;function g(){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 p(e){const t=r.__externref_table_alloc();return r.__wbindgen_export_4.set(t,e),t}function b(e,t){try{return e.apply(this,t)}catch(n){const o=p(n);r.__wbindgen_exn_store(o)}}const C=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let I=new C("utf-8",{ignoreBOM:!0,fatal:!0});I.decode();function q(e,t){return e=e>>>0,I.decode(h().subarray(e,e+t))}function l(e){return e==null}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{r.__wbindgen_export_5.get(e.dtor)(e.a,e.b)});function V(e,t,n,o){const _={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{_.cnt++;const u=_.a;_.a=0;try{return o(u,_.b,...c)}finally{--_.cnt===0?(r.__wbindgen_export_5.get(_.dtor)(u,_.b),E.unregister(_)):_.a=u}};return i.original=_,E.register(i,_,_),i}function A(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 i="[";_>0&&(i+=A(e[0]));for(let c=1;c<_;c++)i+=", "+A(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let o;if(n&&n.length>1)o=n[1];else return toString.call(e);if(o=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
+
${e.stack}`:o}function O(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function z(){return r.getBuildTimeInfo()}function W(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 P(e,t,n){r.closure573_externref_shim(e,t,n)}function G(e,t,n,o){r.closure133_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)}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}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)}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)}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)}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)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(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,574,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_wrapper7549,__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,2 +1,2 @@
|
|
1
1
|
var y=()=>{};y.prototype=y;let r;function N(e){r=e}let s=0,m=null;function h(){return(m===null||m.byteLength===0)&&(m=new Uint8Array(r.memory.buffer)),m}const j=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let T=new j("utf-8");const k=typeof T.encodeInto=="function"?function(e,t){return T.encodeInto(e,t)}:function(e,t){const n=T.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(n===void 0){const u=T.encode(e),a=t(u.length,1)>>>0;return h().subarray(a,a+u.length).set(u),s=u.length,a}let o=e.length,_=t(o,1)>>>0;const i=h();let c=0;for(;c<o;c++){const u=e.charCodeAt(c);if(u>127)break;i[_+c]=u}if(c!==o){c!==0&&(e=e.slice(c)),_=n(_,o,o=c+e.length*3,1)>>>0;const u=h().subarray(_+c,_+o),a=k(e,u);c+=a.written,_=n(_,o,c,1)>>>0}return s=c,_}let w=null;function g(){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 p(e){const t=r.__externref_table_alloc();return r.__wbindgen_export_4.set(t,e),t}function b(e,t){try{return e.apply(this,t)}catch(n){const o=p(n);r.__wbindgen_exn_store(o)}}const D=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let A=new D("utf-8",{ignoreBOM:!0,fatal:!0});A.decode();function q(e,t){return e=e>>>0,A.decode(h().subarray(e,e+t))}function l(e){return e==null}const I=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{r.__wbindgen_export_5.get(e.dtor)(e.a,e.b)});function R(e,t,n,o){const _={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{_.cnt++;const u=_.a;_.a=0;try{return o(u,_.b,...c)}finally{--_.cnt===0?(r.__wbindgen_export_5.get(_.dtor)(u,_.b),I.unregister(_)):_.a=u}};return i.original=_,I.register(i,_,_),i}function S(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 i="[";_>0&&(i+=S(e[0]));for(let c=1;c<_;c++)i+=", "+S(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let o;if(n&&n.length>1)o=n[1];else return toString.call(e);if(o=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
-
${e.stack}`:o}function E(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function $(){return r.getBuildTimeInfo()}function C(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 B(e,t,n){r.closure567_externref_shim(e,t,n)}function U(e,t,n,o){r.closure133_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)}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}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)}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)}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)}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)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(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,568,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_wrapper7526,_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,C as debug_panic,$ as getBuildTimeInfo};
|
2
|
+
${e.stack}`:o}function E(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function $(){return r.getBuildTimeInfo()}function C(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 B(e,t,n){r.closure573_externref_shim(e,t,n)}function U(e,t,n,o){r.closure133_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)}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}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)}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)}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)}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)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(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,574,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_wrapper7549,_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,C as debug_panic,$ as getBuildTimeInfo};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";var S=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var B=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of D(t))!R.call(e,_)&&_!==n&&S(e,_,{get:()=>t[_],enumerable:!(r=k(t,_))||r.enumerable});return e};var L=e=>U(S({},"__esModule",{value:!0}),e);var Ft={};B(Ft,{QueryEngine:()=>Q,__wbg_String_8f0eb39a4a4c2f66:()=>H,__wbg_buffer_609cc3eee51ed158:()=>J,__wbg_call_672a4d21634d4a24:()=>K,__wbg_call_7cccdd69e0791ae2:()=>X,__wbg_crypto_805be4ce92f1e370:()=>Y,__wbg_done_769e5ede4b31c67b:()=>Z,__wbg_entries_3265d4158b33e5dc:()=>ee,__wbg_exec_3e2d2d0644c927df:()=>te,__wbg_getRandomValues_f6a868620c8bab49:()=>ne,__wbg_getTime_46267b1c24877e30:()=>re,__wbg_get_67b2ba62fc30de12:()=>oe,__wbg_get_b9b93047fe3cf45b:()=>_e,__wbg_get_ece95cf6585650d9:()=>ce,__wbg_getwithrefkey_1dc361bd10053bfe:()=>ie,__wbg_has_a5ea9117f258a0ec:()=>ue,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>se,__wbg_instanceof_Map_f3469ce2244d2430:()=>fe,__wbg_instanceof_Promise_935168b8f4b49db3:()=>ae,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>be,__wbg_isArray_a1eab7e0d067391b:()=>ge,__wbg_isSafeInteger_343e2beeeece1bb0:()=>le,__wbg_iterator_9a24c88df860dc65:()=>de,__wbg_keys_5c77a08ddc2fb8a6:()=>we,__wbg_length_a446193dc22c12f8:()=>pe,__wbg_length_e2d2a49132c1b256:()=>xe,__wbg_msCrypto_2ac4d17c4748234a:()=>ye,__wbg_new0_f788a2397c7ca929:()=>me,__wbg_new_23a2665fac83c611:()=>he,__wbg_new_405e22f390576ce2:()=>Te,__wbg_new_5e0be73521bc8c17:()=>qe,__wbg_new_63847613cde5d4bc:()=>Se,__wbg_new_78feb108b6472713:()=>Ae,__wbg_new_a12002a7f91c75be:()=>Ie,__wbg_newnoargs_105ed471475aaf50:()=>Ee,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>Oe,__wbg_newwithlength_a381634e90c276d4:()=>Fe,__wbg_next_25feadfc0913fea9:()=>Me,__wbg_next_6574e1a8a62d1055:()=>je,__wbg_node_ecc8306b9857f33d:()=>ke,__wbg_now_7fd00a794a07d388:()=>De,__wbg_now_807e54c39636c349:()=>Re,__wbg_now_b3f7572f6ef3d3a9:()=>Be,__wbg_process_5cff2739921be718:()=>Ue,__wbg_push_737cfc8c1432c2c6:()=>Le,__wbg_queueMicrotask_5a8a9131f3f0b37b:()=>ve,__wbg_queueMicrotask_6d79674585219521:()=>Ne,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>$e,__wbg_require_0c566c6f2eef6c79:()=>Ce,__wbg_resolve_4851785c9c5f573d:()=>Ve,__wbg_setTimeout_5d6a1d4fc51ea450:()=>ze,__wbg_set_37837023f3d740e8:()=>We,__wbg_set_3f1d0b984ed272ed:()=>Pe,__wbg_set_65595bdd868b3009:()=>Ge,__wbg_set_8fc6bf8a5b1071d1:()=>Qe,__wbg_set_bb8cecf6a62b9f46:()=>He,__wbg_set_wasm:()=>v,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Je,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>Ke,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>Xe,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Ye,__wbg_subarray_aa9065fa9dc5df96:()=>Ze,__wbg_then_44b73946d2fb3e7d:()=>et,__wbg_then_48b406749878a531:()=>tt,__wbg_valueOf_7392193dd78c6b97:()=>nt,__wbg_value_cd1ffa7b1ab794f1:()=>rt,__wbg_versions_a8e5a362e1f16442:()=>ot,__wbindgen_as_number:()=>_t,__wbindgen_bigint_from_i64:()=>ct,__wbindgen_bigint_from_u64:()=>it,__wbindgen_bigint_get_as_i64:()=>ut,__wbindgen_boolean_get:()=>st,__wbindgen_cb_drop:()=>ft,
|
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.
|
1
|
+
"use strict";var S=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var B=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of D(t))!R.call(e,_)&&_!==n&&S(e,_,{get:()=>t[_],enumerable:!(r=k(t,_))||r.enumerable});return e};var L=e=>U(S({},"__esModule",{value:!0}),e);var Ft={};B(Ft,{QueryEngine:()=>Q,__wbg_String_8f0eb39a4a4c2f66:()=>H,__wbg_buffer_609cc3eee51ed158:()=>J,__wbg_call_672a4d21634d4a24:()=>K,__wbg_call_7cccdd69e0791ae2:()=>X,__wbg_crypto_805be4ce92f1e370:()=>Y,__wbg_done_769e5ede4b31c67b:()=>Z,__wbg_entries_3265d4158b33e5dc:()=>ee,__wbg_exec_3e2d2d0644c927df:()=>te,__wbg_getRandomValues_f6a868620c8bab49:()=>ne,__wbg_getTime_46267b1c24877e30:()=>re,__wbg_get_67b2ba62fc30de12:()=>oe,__wbg_get_b9b93047fe3cf45b:()=>_e,__wbg_get_ece95cf6585650d9:()=>ce,__wbg_getwithrefkey_1dc361bd10053bfe:()=>ie,__wbg_has_a5ea9117f258a0ec:()=>ue,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>se,__wbg_instanceof_Map_f3469ce2244d2430:()=>fe,__wbg_instanceof_Promise_935168b8f4b49db3:()=>ae,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>be,__wbg_isArray_a1eab7e0d067391b:()=>ge,__wbg_isSafeInteger_343e2beeeece1bb0:()=>le,__wbg_iterator_9a24c88df860dc65:()=>de,__wbg_keys_5c77a08ddc2fb8a6:()=>we,__wbg_length_a446193dc22c12f8:()=>pe,__wbg_length_e2d2a49132c1b256:()=>xe,__wbg_msCrypto_2ac4d17c4748234a:()=>ye,__wbg_new0_f788a2397c7ca929:()=>me,__wbg_new_23a2665fac83c611:()=>he,__wbg_new_405e22f390576ce2:()=>Te,__wbg_new_5e0be73521bc8c17:()=>qe,__wbg_new_63847613cde5d4bc:()=>Se,__wbg_new_78feb108b6472713:()=>Ae,__wbg_new_a12002a7f91c75be:()=>Ie,__wbg_newnoargs_105ed471475aaf50:()=>Ee,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>Oe,__wbg_newwithlength_a381634e90c276d4:()=>Fe,__wbg_next_25feadfc0913fea9:()=>Me,__wbg_next_6574e1a8a62d1055:()=>je,__wbg_node_ecc8306b9857f33d:()=>ke,__wbg_now_7fd00a794a07d388:()=>De,__wbg_now_807e54c39636c349:()=>Re,__wbg_now_b3f7572f6ef3d3a9:()=>Be,__wbg_process_5cff2739921be718:()=>Ue,__wbg_push_737cfc8c1432c2c6:()=>Le,__wbg_queueMicrotask_5a8a9131f3f0b37b:()=>ve,__wbg_queueMicrotask_6d79674585219521:()=>Ne,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>$e,__wbg_require_0c566c6f2eef6c79:()=>Ce,__wbg_resolve_4851785c9c5f573d:()=>Ve,__wbg_setTimeout_5d6a1d4fc51ea450:()=>ze,__wbg_set_37837023f3d740e8:()=>We,__wbg_set_3f1d0b984ed272ed:()=>Pe,__wbg_set_65595bdd868b3009:()=>Ge,__wbg_set_8fc6bf8a5b1071d1:()=>Qe,__wbg_set_bb8cecf6a62b9f46:()=>He,__wbg_set_wasm:()=>v,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Je,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>Ke,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>Xe,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Ye,__wbg_subarray_aa9065fa9dc5df96:()=>Ze,__wbg_then_44b73946d2fb3e7d:()=>et,__wbg_then_48b406749878a531:()=>tt,__wbg_valueOf_7392193dd78c6b97:()=>nt,__wbg_value_cd1ffa7b1ab794f1:()=>rt,__wbg_versions_a8e5a362e1f16442:()=>ot,__wbindgen_as_number:()=>_t,__wbindgen_bigint_from_i64:()=>ct,__wbindgen_bigint_from_u64:()=>it,__wbindgen_bigint_get_as_i64:()=>ut,__wbindgen_boolean_get:()=>st,__wbindgen_cb_drop:()=>ft,__wbindgen_closure_wrapper7604:()=>at,__wbindgen_debug_string:()=>bt,__wbindgen_error_new:()=>gt,__wbindgen_in:()=>lt,__wbindgen_init_externref_table:()=>dt,__wbindgen_is_bigint:()=>wt,__wbindgen_is_function:()=>pt,__wbindgen_is_object:()=>xt,__wbindgen_is_string:()=>yt,__wbindgen_is_undefined:()=>mt,__wbindgen_jsval_eq:()=>ht,__wbindgen_jsval_loose_eq:()=>Tt,__wbindgen_memory:()=>qt,__wbindgen_number_get:()=>St,__wbindgen_number_new:()=>At,__wbindgen_string_get:()=>It,__wbindgen_string_new:()=>Et,__wbindgen_throw:()=>Ot,debug_panic:()=>W,getBuildTimeInfo:()=>z});module.exports=L(Ft);var m=()=>{};m.prototype=m;let o;function v(e){o=e}let s=0,h=null;function T(){return(h===null||h.byteLength===0)&&(h=new Uint8Array(o.memory.buffer)),h}const N=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let q=new N("utf-8");const $=typeof q.encodeInto=="function"?function(e,t){return q.encodeInto(e,t)}:function(e,t){const n=q.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(n===void 0){const u=q.encode(e),a=t(u.length,1)>>>0;return T().subarray(a,a+u.length).set(u),s=u.length,a}let r=e.length,_=t(r,1)>>>0;const i=T();let c=0;for(;c<r;c++){const u=e.charCodeAt(c);if(u>127)break;i[_+c]=u}if(c!==r){c!==0&&(e=e.slice(c)),_=n(_,r,r=c+e.length*3,1)>>>0;const u=T().subarray(_+c,_+r),a=$(e,u);c+=a.written,_=n(_,r,c,1)>>>0}return s=c,_}let p=null;function l(){return(p===null||p.buffer.detached===!0||p.buffer.detached===void 0&&p.buffer!==o.memory.buffer)&&(p=new DataView(o.memory.buffer)),p}function x(e){const t=o.__externref_table_alloc();return o.__wbindgen_export_4.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(n){const r=x(n);o.__wbindgen_exn_store(r)}}const C=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let I=new C("utf-8",{ignoreBOM:!0,fatal:!0});I.decode();function w(e,t){return e=e>>>0,I.decode(T().subarray(e,e+t))}function b(e){return e==null}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{o.__wbindgen_export_5.get(e.dtor)(e.a,e.b)});function V(e,t,n,r){const _={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{_.cnt++;const u=_.a;_.a=0;try{return r(u,_.b,...c)}finally{--_.cnt===0?(o.__wbindgen_export_5.get(_.dtor)(u,_.b),E.unregister(_)):_.a=u}};return i.original=_,E.register(i,_,_),i}function A(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 i="[";_>0&&(i+=A(e[0]));for(let c=1;c<_;c++)i+=", "+A(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 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.closure578_externref_shim(e,t,n)}function G(e,t,n,r){o.closure132_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)}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}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)}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)}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)}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)}metrics(t){const n=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=s;return o.queryengine_metrics(this.__wbg_ptr,n,r)}trace(t){const n=f(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=s;return o.queryengine_trace(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,579,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_wrapper7604,__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,2 +1,2 @@
|
|
1
1
|
var m=()=>{};m.prototype=m;let r;function N(e){r=e}let s=0,h=null;function T(){return(h===null||h.byteLength===0)&&(h=new Uint8Array(r.memory.buffer)),h}const j=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let q=new j("utf-8");const k=typeof q.encodeInto=="function"?function(e,t){return q.encodeInto(e,t)}:function(e,t){const n=q.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(n===void 0){const u=q.encode(e),a=t(u.length,1)>>>0;return T().subarray(a,a+u.length).set(u),s=u.length,a}let o=e.length,_=t(o,1)>>>0;const i=T();let c=0;for(;c<o;c++){const u=e.charCodeAt(c);if(u>127)break;i[_+c]=u}if(c!==o){c!==0&&(e=e.slice(c)),_=n(_,o,o=c+e.length*3,1)>>>0;const u=T().subarray(_+c,_+o),a=k(e,u);c+=a.written,_=n(_,o,c,1)>>>0}return s=c,_}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 x(e){const t=r.__externref_table_alloc();return r.__wbindgen_export_4.set(t,e),t}function g(e,t){try{return e.apply(this,t)}catch(n){const o=x(n);r.__wbindgen_exn_store(o)}}const D=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let A=new D("utf-8",{ignoreBOM:!0,fatal:!0});A.decode();function w(e,t){return e=e>>>0,A.decode(T().subarray(e,e+t))}function b(e){return e==null}const I=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{r.__wbindgen_export_5.get(e.dtor)(e.a,e.b)});function R(e,t,n,o){const _={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{_.cnt++;const u=_.a;_.a=0;try{return o(u,_.b,...c)}finally{--_.cnt===0?(r.__wbindgen_export_5.get(_.dtor)(u,_.b),I.unregister(_)):_.a=u}};return i.original=_,I.register(i,_,_),i}function S(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 i="[";_>0&&(i+=S(e[0]));for(let c=1;c<_;c++)i+=", "+S(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let o;if(n&&n.length>1)o=n[1];else return toString.call(e);if(o=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
-
${e.stack}`:o}function E(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function $(){return r.getBuildTimeInfo()}function C(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 B(e,t,n){r.closure572_externref_shim(e,t,n)}function U(e,t,n,o){r.closure132_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)}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}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)}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)}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)}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)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(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,573,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_wrapper7577,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,C as debug_panic,$ as getBuildTimeInfo};
|
2
|
+
${e.stack}`:o}function E(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function $(){return r.getBuildTimeInfo()}function C(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 B(e,t,n){r.closure578_externref_shim(e,t,n)}function U(e,t,n,o){r.closure132_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)}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}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)}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)}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)}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)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(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,579,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_wrapper7604,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,C as debug_panic,$ as getBuildTimeInfo};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";var S=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var B=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of D(t))!R.call(e,_)&&_!==n&&S(e,_,{get:()=>t[_],enumerable:!(o=k(t,_))||o.enumerable});return e};var L=e=>U(S({},"__esModule",{value:!0}),e);var Et={};B(Et,{QueryEngine:()=>Q,__wbg_String_8f0eb39a4a4c2f66:()=>H,__wbg_buffer_609cc3eee51ed158:()=>J,__wbg_call_672a4d21634d4a24:()=>K,__wbg_call_7cccdd69e0791ae2:()=>X,__wbg_crypto_805be4ce92f1e370:()=>Y,__wbg_done_769e5ede4b31c67b:()=>Z,__wbg_entries_3265d4158b33e5dc:()=>ee,__wbg_getRandomValues_f6a868620c8bab49:()=>te,__wbg_getTime_46267b1c24877e30:()=>ne,__wbg_get_67b2ba62fc30de12:()=>re,__wbg_get_b9b93047fe3cf45b:()=>oe,__wbg_get_ece95cf6585650d9:()=>_e,__wbg_getwithrefkey_1dc361bd10053bfe:()=>ce,__wbg_has_a5ea9117f258a0ec:()=>ie,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>ue,__wbg_instanceof_Map_f3469ce2244d2430:()=>se,__wbg_instanceof_Promise_935168b8f4b49db3:()=>fe,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>ae,__wbg_isArray_a1eab7e0d067391b:()=>be,__wbg_isSafeInteger_343e2beeeece1bb0:()=>le,__wbg_iterator_9a24c88df860dc65:()=>ge,__wbg_keys_5c77a08ddc2fb8a6:()=>de,__wbg_length_a446193dc22c12f8:()=>we,__wbg_length_e2d2a49132c1b256:()=>pe,__wbg_msCrypto_2ac4d17c4748234a:()=>xe,__wbg_new0_f788a2397c7ca929:()=>ye,__wbg_new_23a2665fac83c611:()=>me,__wbg_new_405e22f390576ce2:()=>he,__wbg_new_5e0be73521bc8c17:()=>Te,__wbg_new_78feb108b6472713:()=>qe,__wbg_new_a12002a7f91c75be:()=>Se,__wbg_newnoargs_105ed471475aaf50:()=>Ae,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>Ie,__wbg_newwithlength_a381634e90c276d4:()=>Ee,__wbg_next_25feadfc0913fea9:()=>Oe,__wbg_next_6574e1a8a62d1055:()=>Fe,__wbg_node_ecc8306b9857f33d:()=>Me,__wbg_now_7fd00a794a07d388:()=>je,__wbg_now_807e54c39636c349:()=>ke,__wbg_now_b3f7572f6ef3d3a9:()=>De,__wbg_process_5cff2739921be718:()=>Re,__wbg_push_737cfc8c1432c2c6:()=>Be,__wbg_queueMicrotask_5a8a9131f3f0b37b:()=>Ue,__wbg_queueMicrotask_6d79674585219521:()=>Le,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>ve,__wbg_require_0c566c6f2eef6c79:()=>Ne,__wbg_resolve_4851785c9c5f573d:()=>$e,__wbg_setTimeout_5d6a1d4fc51ea450:()=>Ce,__wbg_set_37837023f3d740e8:()=>Ve,__wbg_set_3f1d0b984ed272ed:()=>ze,__wbg_set_65595bdd868b3009:()=>We,__wbg_set_8fc6bf8a5b1071d1:()=>Pe,__wbg_set_bb8cecf6a62b9f46:()=>Ge,__wbg_set_wasm:()=>v,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Qe,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>He,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>Je,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Ke,__wbg_subarray_aa9065fa9dc5df96:()=>Xe,__wbg_then_44b73946d2fb3e7d:()=>Ye,__wbg_then_48b406749878a531:()=>Ze,__wbg_valueOf_7392193dd78c6b97:()=>et,__wbg_value_cd1ffa7b1ab794f1:()=>tt,__wbg_versions_a8e5a362e1f16442:()=>nt,__wbindgen_as_number:()=>rt,__wbindgen_bigint_from_i64:()=>ot,__wbindgen_bigint_from_u64:()=>_t,__wbindgen_bigint_get_as_i64:()=>ct,__wbindgen_boolean_get:()=>it,__wbindgen_cb_drop:()=>ut,
|
2
|
-
${e.stack}`:o}function O(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function z(){return r.getBuildTimeInfo()}function W(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 P(e,t,n){r.
|
1
|
+
"use strict";var S=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var B=(e,t)=>{for(var n in t)S(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of D(t))!R.call(e,_)&&_!==n&&S(e,_,{get:()=>t[_],enumerable:!(o=k(t,_))||o.enumerable});return e};var L=e=>U(S({},"__esModule",{value:!0}),e);var Et={};B(Et,{QueryEngine:()=>Q,__wbg_String_8f0eb39a4a4c2f66:()=>H,__wbg_buffer_609cc3eee51ed158:()=>J,__wbg_call_672a4d21634d4a24:()=>K,__wbg_call_7cccdd69e0791ae2:()=>X,__wbg_crypto_805be4ce92f1e370:()=>Y,__wbg_done_769e5ede4b31c67b:()=>Z,__wbg_entries_3265d4158b33e5dc:()=>ee,__wbg_getRandomValues_f6a868620c8bab49:()=>te,__wbg_getTime_46267b1c24877e30:()=>ne,__wbg_get_67b2ba62fc30de12:()=>re,__wbg_get_b9b93047fe3cf45b:()=>oe,__wbg_get_ece95cf6585650d9:()=>_e,__wbg_getwithrefkey_1dc361bd10053bfe:()=>ce,__wbg_has_a5ea9117f258a0ec:()=>ie,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>ue,__wbg_instanceof_Map_f3469ce2244d2430:()=>se,__wbg_instanceof_Promise_935168b8f4b49db3:()=>fe,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>ae,__wbg_isArray_a1eab7e0d067391b:()=>be,__wbg_isSafeInteger_343e2beeeece1bb0:()=>le,__wbg_iterator_9a24c88df860dc65:()=>ge,__wbg_keys_5c77a08ddc2fb8a6:()=>de,__wbg_length_a446193dc22c12f8:()=>we,__wbg_length_e2d2a49132c1b256:()=>pe,__wbg_msCrypto_2ac4d17c4748234a:()=>xe,__wbg_new0_f788a2397c7ca929:()=>ye,__wbg_new_23a2665fac83c611:()=>me,__wbg_new_405e22f390576ce2:()=>he,__wbg_new_5e0be73521bc8c17:()=>Te,__wbg_new_78feb108b6472713:()=>qe,__wbg_new_a12002a7f91c75be:()=>Se,__wbg_newnoargs_105ed471475aaf50:()=>Ae,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>Ie,__wbg_newwithlength_a381634e90c276d4:()=>Ee,__wbg_next_25feadfc0913fea9:()=>Oe,__wbg_next_6574e1a8a62d1055:()=>Fe,__wbg_node_ecc8306b9857f33d:()=>Me,__wbg_now_7fd00a794a07d388:()=>je,__wbg_now_807e54c39636c349:()=>ke,__wbg_now_b3f7572f6ef3d3a9:()=>De,__wbg_process_5cff2739921be718:()=>Re,__wbg_push_737cfc8c1432c2c6:()=>Be,__wbg_queueMicrotask_5a8a9131f3f0b37b:()=>Ue,__wbg_queueMicrotask_6d79674585219521:()=>Le,__wbg_randomFillSync_d3c85af7e31cf1f8:()=>ve,__wbg_require_0c566c6f2eef6c79:()=>Ne,__wbg_resolve_4851785c9c5f573d:()=>$e,__wbg_setTimeout_5d6a1d4fc51ea450:()=>Ce,__wbg_set_37837023f3d740e8:()=>Ve,__wbg_set_3f1d0b984ed272ed:()=>ze,__wbg_set_65595bdd868b3009:()=>We,__wbg_set_8fc6bf8a5b1071d1:()=>Pe,__wbg_set_bb8cecf6a62b9f46:()=>Ge,__wbg_set_wasm:()=>v,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Qe,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>He,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>Je,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Ke,__wbg_subarray_aa9065fa9dc5df96:()=>Xe,__wbg_then_44b73946d2fb3e7d:()=>Ye,__wbg_then_48b406749878a531:()=>Ze,__wbg_valueOf_7392193dd78c6b97:()=>et,__wbg_value_cd1ffa7b1ab794f1:()=>tt,__wbg_versions_a8e5a362e1f16442:()=>nt,__wbindgen_as_number:()=>rt,__wbindgen_bigint_from_i64:()=>ot,__wbindgen_bigint_from_u64:()=>_t,__wbindgen_bigint_get_as_i64:()=>ct,__wbindgen_boolean_get:()=>it,__wbindgen_cb_drop:()=>ut,__wbindgen_closure_wrapper7296:()=>st,__wbindgen_debug_string:()=>ft,__wbindgen_error_new:()=>at,__wbindgen_in:()=>bt,__wbindgen_init_externref_table:()=>lt,__wbindgen_is_bigint:()=>gt,__wbindgen_is_function:()=>dt,__wbindgen_is_object:()=>wt,__wbindgen_is_string:()=>pt,__wbindgen_is_undefined:()=>xt,__wbindgen_jsval_eq:()=>yt,__wbindgen_jsval_loose_eq:()=>mt,__wbindgen_memory:()=>ht,__wbindgen_number_get:()=>Tt,__wbindgen_number_new:()=>qt,__wbindgen_string_get:()=>St,__wbindgen_string_new:()=>At,__wbindgen_throw:()=>It,debug_panic:()=>W,getBuildTimeInfo:()=>z});module.exports=L(Et);var y=()=>{};y.prototype=y;let r;function v(e){r=e}let s=0,m=null;function h(){return(m===null||m.byteLength===0)&&(m=new Uint8Array(r.memory.buffer)),m}const N=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let T=new N("utf-8");const $=typeof T.encodeInto=="function"?function(e,t){return T.encodeInto(e,t)}:function(e,t){const n=T.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(n===void 0){const u=T.encode(e),a=t(u.length,1)>>>0;return h().subarray(a,a+u.length).set(u),s=u.length,a}let o=e.length,_=t(o,1)>>>0;const i=h();let c=0;for(;c<o;c++){const u=e.charCodeAt(c);if(u>127)break;i[_+c]=u}if(c!==o){c!==0&&(e=e.slice(c)),_=n(_,o,o=c+e.length*3,1)>>>0;const u=h().subarray(_+c,_+o),a=$(e,u);c+=a.written,_=n(_,o,c,1)>>>0}return s=c,_}let w=null;function g(){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 p(e){const t=r.__externref_table_alloc();return r.__wbindgen_export_4.set(t,e),t}function b(e,t){try{return e.apply(this,t)}catch(n){const o=p(n);r.__wbindgen_exn_store(o)}}const C=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let I=new C("utf-8",{ignoreBOM:!0,fatal:!0});I.decode();function q(e,t){return e=e>>>0,I.decode(h().subarray(e,e+t))}function l(e){return e==null}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{r.__wbindgen_export_5.get(e.dtor)(e.a,e.b)});function V(e,t,n,o){const _={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{_.cnt++;const u=_.a;_.a=0;try{return o(u,_.b,...c)}finally{--_.cnt===0?(r.__wbindgen_export_5.get(_.dtor)(u,_.b),E.unregister(_)):_.a=u}};return i.original=_,E.register(i,_,_),i}function A(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 i="[";_>0&&(i+=A(e[0]));for(let c=1;c<_;c++)i+=", "+A(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let o;if(n&&n.length>1)o=n[1];else return toString.call(e);if(o=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
+
${e.stack}`:o}function O(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function z(){return r.getBuildTimeInfo()}function W(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 P(e,t,n){r.closure567_externref_shim(e,t,n)}function G(e,t,n,o){r.closure132_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)}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}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)}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)}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)}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)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(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,568,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_wrapper7296,__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,2 +1,2 @@
|
|
1
1
|
var y=()=>{};y.prototype=y;let r;function N(e){r=e}let s=0,m=null;function h(){return(m===null||m.byteLength===0)&&(m=new Uint8Array(r.memory.buffer)),m}const j=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let T=new j("utf-8");const k=typeof T.encodeInto=="function"?function(e,t){return T.encodeInto(e,t)}:function(e,t){const n=T.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(n===void 0){const u=T.encode(e),a=t(u.length,1)>>>0;return h().subarray(a,a+u.length).set(u),s=u.length,a}let o=e.length,_=t(o,1)>>>0;const i=h();let c=0;for(;c<o;c++){const u=e.charCodeAt(c);if(u>127)break;i[_+c]=u}if(c!==o){c!==0&&(e=e.slice(c)),_=n(_,o,o=c+e.length*3,1)>>>0;const u=h().subarray(_+c,_+o),a=k(e,u);c+=a.written,_=n(_,o,c,1)>>>0}return s=c,_}let w=null;function g(){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 p(e){const t=r.__externref_table_alloc();return r.__wbindgen_export_4.set(t,e),t}function b(e,t){try{return e.apply(this,t)}catch(n){const o=p(n);r.__wbindgen_exn_store(o)}}const D=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let A=new D("utf-8",{ignoreBOM:!0,fatal:!0});A.decode();function q(e,t){return e=e>>>0,A.decode(h().subarray(e,e+t))}function l(e){return e==null}const I=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{r.__wbindgen_export_5.get(e.dtor)(e.a,e.b)});function R(e,t,n,o){const _={a:e,b:t,cnt:1,dtor:n},i=(...c)=>{_.cnt++;const u=_.a;_.a=0;try{return o(u,_.b,...c)}finally{--_.cnt===0?(r.__wbindgen_export_5.get(_.dtor)(u,_.b),I.unregister(_)):_.a=u}};return i.original=_,I.register(i,_,_),i}function S(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 i="[";_>0&&(i+=S(e[0]));for(let c=1;c<_;c++)i+=", "+S(e[c]);return i+="]",i}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let o;if(n&&n.length>1)o=n[1];else return toString.call(e);if(o=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
2
|
-
${e.stack}`:o}function E(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function $(){return r.getBuildTimeInfo()}function C(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 B(e,t,n){r.closure561_externref_shim(e,t,n)}function U(e,t,n,o){r.closure132_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)}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}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)}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)}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)}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)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(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,562,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_wrapper7261,_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,C as debug_panic,$ as getBuildTimeInfo};
|
2
|
+
${e.stack}`:o}function E(e){const t=r.__wbindgen_export_4.get(e);return r.__externref_table_dealloc(e),t}function $(){return r.getBuildTimeInfo()}function C(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 B(e,t,n){r.closure567_externref_shim(e,t,n)}function U(e,t,n,o){r.closure132_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)}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}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)}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)}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)}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)}metrics(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_metrics(this.__wbg_ptr,n,o)}trace(t){const n=f(t,r.__wbindgen_malloc,r.__wbindgen_realloc),o=s;return r.queryengine_trace(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,568,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_wrapper7296,_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,C as debug_panic,$ as getBuildTimeInfo};
|
@@ -98,7 +98,7 @@ export declare type BaseDMMF = {
|
|
98
98
|
declare type BatchArgs = {
|
99
99
|
queries: BatchQuery[];
|
100
100
|
transaction?: {
|
101
|
-
isolationLevel?:
|
101
|
+
isolationLevel?: IsolationLevel_2;
|
102
102
|
};
|
103
103
|
};
|
104
104
|
|
@@ -126,7 +126,7 @@ declare type BatchQueryOptionsCbArgs = {
|
|
126
126
|
declare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;
|
127
127
|
|
128
128
|
declare type BatchTransactionOptions = {
|
129
|
-
isolationLevel?: IsolationLevel;
|
129
|
+
isolationLevel?: Transaction_2.IsolationLevel;
|
130
130
|
};
|
131
131
|
|
132
132
|
declare interface BinaryTargetsEnvValue {
|
@@ -1475,7 +1475,7 @@ export declare type GetAggregateResult<P extends OperationPayload, A> = {
|
|
1475
1475
|
};
|
1476
1476
|
};
|
1477
1477
|
|
1478
|
-
declare function getBatchRequestPayload(batch: JsonQuery[], transaction?:
|
1478
|
+
declare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_2<unknown>): QueryEngineBatchRequest;
|
1479
1479
|
|
1480
1480
|
export declare type GetBatchResult = {
|
1481
1481
|
count: number;
|
@@ -1638,7 +1638,7 @@ export declare function getPrismaClient(config: GetPrismaClientConfig): {
|
|
1638
1638
|
*/
|
1639
1639
|
_transactionWithCallback({ callback, options, }: {
|
1640
1640
|
callback: (client: Client) => Promise<unknown>;
|
1641
|
-
options?:
|
1641
|
+
options?: Options;
|
1642
1642
|
}): Promise<unknown>;
|
1643
1643
|
_createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;
|
1644
1644
|
/**
|
@@ -1963,6 +1963,8 @@ declare type InternalRequestParams = {
|
|
1963
1963
|
|
1964
1964
|
declare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';
|
1965
1965
|
|
1966
|
+
declare type IsolationLevel_2 = 'ReadUncommitted' | 'ReadCommitted' | 'RepeatableRead' | 'Snapshot' | 'Serializable';
|
1967
|
+
|
1966
1968
|
declare function isSkip(value: unknown): value is Skip;
|
1967
1969
|
|
1968
1970
|
export declare function isTypedSql(value: unknown): value is UnknownTypedSql;
|
@@ -2007,7 +2009,7 @@ export declare interface JsonArray extends Array<JsonValue> {
|
|
2007
2009
|
export declare type JsonBatchQuery = {
|
2008
2010
|
batch: JsonQuery[];
|
2009
2011
|
transaction?: {
|
2010
|
-
isolationLevel?:
|
2012
|
+
isolationLevel?: IsolationLevel_2;
|
2011
2013
|
};
|
2012
2014
|
};
|
2013
2015
|
|
@@ -2422,6 +2424,15 @@ export declare type OptionalKeys<O> = {
|
|
2422
2424
|
}[keyof O];
|
2423
2425
|
|
2424
2426
|
declare type Options = {
|
2427
|
+
/** Timeout for starting the transaction */
|
2428
|
+
maxWait?: number;
|
2429
|
+
/** Timeout for the transaction body */
|
2430
|
+
timeout?: number;
|
2431
|
+
/** Transaction isolation level */
|
2432
|
+
isolationLevel?: IsolationLevel_2;
|
2433
|
+
};
|
2434
|
+
|
2435
|
+
declare type Options_2 = {
|
2425
2436
|
clientVersion: string;
|
2426
2437
|
};
|
2427
2438
|
|
@@ -2570,7 +2581,7 @@ export declare class PrismaClientUnknownRequestError extends Error implements Er
|
|
2570
2581
|
export declare class PrismaClientValidationError extends Error {
|
2571
2582
|
name: string;
|
2572
2583
|
clientVersion: string;
|
2573
|
-
constructor(message: string, { clientVersion }:
|
2584
|
+
constructor(message: string, { clientVersion }: Options_2);
|
2574
2585
|
get [Symbol.toStringTag](): string;
|
2575
2586
|
}
|
2576
2587
|
|
@@ -2622,7 +2633,7 @@ declare interface PrismaPromise_2<TResult, TSpec extends PrismaOperationSpec<unk
|
|
2622
2633
|
declare type PrismaPromiseBatchTransaction = {
|
2623
2634
|
kind: 'batch';
|
2624
2635
|
id: number;
|
2625
|
-
isolationLevel?:
|
2636
|
+
isolationLevel?: IsolationLevel_2;
|
2626
2637
|
index: number;
|
2627
2638
|
lock: PromiseLike<void>;
|
2628
2639
|
};
|
@@ -2705,7 +2716,7 @@ declare type QueryCompilerOptions = {
|
|
2705
2716
|
declare type QueryEngineBatchGraphQLRequest = {
|
2706
2717
|
batch: QueryEngineRequest[];
|
2707
2718
|
transaction?: boolean;
|
2708
|
-
isolationLevel?:
|
2719
|
+
isolationLevel?: IsolationLevel_2;
|
2709
2720
|
};
|
2710
2721
|
|
2711
2722
|
declare type QueryEngineBatchRequest = QueryEngineBatchGraphQLRequest | JsonBatchQuery;
|
@@ -2851,7 +2862,7 @@ export declare type RenameAndNestPayloadKeys<P> = {
|
|
2851
2862
|
};
|
2852
2863
|
|
2853
2864
|
declare type RequestBatchOptions<InteractiveTransactionPayload> = {
|
2854
|
-
transaction?:
|
2865
|
+
transaction?: TransactionOptions_2<InteractiveTransactionPayload>;
|
2855
2866
|
traceparent?: string;
|
2856
2867
|
numTry?: number;
|
2857
2868
|
containsWrite: boolean;
|
@@ -3495,7 +3506,8 @@ declare interface Transaction extends AdapterInfo, SqlQueryable {
|
|
3495
3506
|
|
3496
3507
|
declare namespace Transaction_2 {
|
3497
3508
|
export {
|
3498
|
-
|
3509
|
+
Options,
|
3510
|
+
IsolationLevel_2 as IsolationLevel,
|
3499
3511
|
InteractiveTransactionInfo,
|
3500
3512
|
TransactionHeaders
|
3501
3513
|
}
|
@@ -3509,13 +3521,7 @@ declare type TransactionOptions = {
|
|
3509
3521
|
usePhantomQuery: boolean;
|
3510
3522
|
};
|
3511
3523
|
|
3512
|
-
declare type TransactionOptions_2 = {
|
3513
|
-
maxWait?: number;
|
3514
|
-
timeout?: number;
|
3515
|
-
isolationLevel?: IsolationLevel;
|
3516
|
-
};
|
3517
|
-
|
3518
|
-
declare type TransactionOptions_3<InteractiveTransactionPayload> = {
|
3524
|
+
declare type TransactionOptions_2<InteractiveTransactionPayload> = {
|
3519
3525
|
kind: 'itx';
|
3520
3526
|
options: InteractiveTransactionOptions<InteractiveTransactionPayload>;
|
3521
3527
|
} | {
|