prisma 5.21.0-dev.1 → 5.21.0-dev.11
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 +202 -202
- package/build/prisma_schema_build_bg.wasm +0 -0
- package/build/public/assets/index.js +1 -1
- package/build/public/assets/vendor.js +27 -35
- package/package.json +12 -12
- package/prisma-client/generator-build/index.js +9 -9
- package/prisma-client/package.json +3 -3
- package/prisma-client/runtime/binary.js +64 -64
- package/prisma-client/runtime/edge-esm.js +15 -15
- package/prisma-client/runtime/edge.js +15 -15
- package/prisma-client/runtime/library.d.ts +6 -25
- package/prisma-client/runtime/library.js +42 -42
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/react-native.d.ts +6 -25
- package/prisma-client/runtime/react-native.js +24 -24
- package/prisma-client/scripts/default-index.js +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var F=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var D=(n,t)=>{for(var e in t)F(n,e,{get:t[e],enumerable:!0})},N=(n,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of B(t))!U.call(n,_)&&_!==e&&F(n,_,{get:()=>t[_],enumerable:!(o=R(t,_))||o.enumerable});return n};var C=n=>N(F({},"__esModule",{value:!0}),n);var Et={};D(Et,{QueryEngine:()=>Z,__wbg_String_88810dfeb4021902:()=>Un,__wbg_buffer_344d9b41efe96da7:()=>Nn,__wbg_call_53fc3abd42e24ec8:()=>gt,__wbg_call_669127b9d730c650:()=>Zn,__wbg_crypto_58f13aa23ffcb166:()=>Wn,__wbg_done_bc26bf4ada718266:()=>rt,__wbg_entries_6d727b73ee02b7ce:()=>At,__wbg_getRandomValues_504510b5564925af:()=>Pn,__wbg_getTime_ed6ee333b702f8fc:()=>an,__wbg_get_2aff440840bb6202:()=>ct,__wbg_get_4a9aa5157afeb382:()=>nt,__wbg_get_94990005bd6ca07c:()=>Bn,__wbg_getwithrefkey_5e6d9547403deab8:()=>Mn,__wbg_globalThis_17eff828815f7d84:()=>st,__wbg_global_46f939f6541643c5:()=>ft,__wbg_has_cdf8b85f6e903c80:()=>un,__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d:()=>Tt,__wbg_instanceof_Promise_cfbcc42300367513:()=>dn,__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1:()=>ht,__wbg_isArray_38525be7442aa21e:()=>bt,__wbg_isSafeInteger_c38b0a16d0c7cef7:()=>lt,__wbg_iterator_7ee1a391d310f8e4:()=>pn,__wbg_length_a5587d6cd79ab197:()=>yt,__wbg_length_cace2e0b3ddc0502:()=>wn,__wbg_msCrypto_abcb1295e768d1f2:()=>Gn,__wbg_new0_ad75dd38f92424e2:()=>fn,__wbg_new_08236689f0afb357:()=>On,__wbg_new_1b94180eeb48f2a2:()=>Fn,__wbg_new_c728d68b8b34487e:()=>In,__wbg_new_d8a000788389a31e:()=>Ln,__wbg_new_feb65b865d980ae2:()=>en,__wbg_newnoargs_ccdcae30fd002262:()=>at,__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3:()=>Cn,__wbg_newwithlength_13b5319ab422dcf6:()=>Kn,__wbg_next_15da6a3df9290720:()=>_t,__wbg_next_1989a20442400aaa:()=>et,__wbg_node_523d7bd03ef69fba:()=>Qn,__wbg_now_28a6b413aca4a96a:()=>xt,__wbg_now_4579335d3581594c:()=>gn,__wbg_now_8ed1a4454e40ecd1:()=>bn,__wbg_parse_3f0cb48976ca4123:()=>sn,__wbg_process_5b786e71d465a513:()=>Jn,__wbg_push_fd3233d09cf81821:()=>Rn,__wbg_randomFillSync_a0d98aa11c81fe89:()=>$n,__wbg_require_2784e593a4674877:()=>Hn,__wbg_resolve_a3252b2860f0a09e:()=>kt,__wbg_self_3fad056edded10bd:()=>it,__wbg_setTimeout_631fe61f31fa2fad:()=>rn,__wbg_set_0ac78a2bc07da03c:()=>qn,__wbg_set_3355b9f2d3092e3b:()=>kn,__wbg_set_40f7786a25a9cc7e:()=>dt,__wbg_set_841ac57cff3d672b:()=>En,__wbg_set_dcfd613a3420f908:()=>pt,__wbg_set_wasm:()=>L,__wbg_stringify_4039297315a25b00:()=>wt,__wbg_subarray_6ca5cfa7fbb9abbe:()=>zn,__wbg_then_1bbc9edafd859b06:()=>It,__wbg_then_89e1c559530b85cf:()=>Ft,__wbg_valueOf_ff4b62641803432a:()=>tt,__wbg_value_0570714ff7d75f35:()=>ot,__wbg_versions_c2ab80650590b6a2:()=>Vn,__wbg_window_a4f46c98a61d4089:()=>ut,__wbindgen_bigint_from_i64:()=>hn,__wbindgen_bigint_from_u64:()=>An,__wbindgen_bigint_get_as_i64:()=>St,__wbindgen_boolean_get:()=>yn,__wbindgen_cb_drop:()=>qt,
|
|
2
|
-
${n.stack}`:o}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{c.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const _={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{_.cnt++;const s=_.a;_.a=0;try{return o(s,_.b,...u)}finally{--_.cnt===0?(c.__wbindgen_export_2.get(_.dtor)(s,_.b),v.unregister(_)):_.a=s}};return f.original=_,v.register(f,_,_),f}function H(n,t,e){c._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d1ce90a2538b281(n,t,i(e))}function G(){const n=c.getBuildTimeInfo();return b(n)}function K(n){try{const f=c.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),e=a;c.debug_panic(f,t,e);var o=d()[f/4+0],_=d()[f/4+1];if(_)throw b(o)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function g(n,t){try{return n.apply(this,t)}catch(e){c.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){c.wasm_bindgen__convert__closures__invoke2_mut__h46a92896c95d64ae(n,t,i(e),i(o))}const Y=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>c.__wbg_queryengine_free(n>>>0));class Z{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),t}free(){const t=this.__destroy_into_raw();c.__wbg_queryengine_free(t)}constructor(t,e,o){try{const s=c.__wbindgen_add_to_stack_pointer(-16);c.queryengine_new(s,i(t),i(e),i(o));var _=d()[s/4+0],f=d()[s/4+1],u=d()[s/4+2];if(u)throw b(f);return this.__wbg_ptr=_>>>0,this}finally{c.__wbindgen_add_to_stack_pointer(16)}}connect(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_connect(this.__wbg_ptr,e,o);return b(_)}disconnect(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_disconnect(this.__wbg_ptr,e,o);return b(_)}query(t,e,o){const _=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a,u=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),s=a;var p=y(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),E=a;const M=c.queryengine_query(this.__wbg_ptr,_,f,u,s,p,E);return b(M)}startTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_startTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}commitTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_commitTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}rollbackTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_rollbackTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}metrics(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_metrics(this.__wbg_ptr,e,o);return b(_)}}function nn(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var _=y(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a;d()[n/4+1]=f,d()[n/4+0]=_}function tn(n,t){const e=new Error(x(n,t));return i(e)}function en(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const _=new Promise(o);return i(_)}finally{e.a=e.b=0}}function rn(n,t){return setTimeout(r(n),t>>>0)}function on(n,t){const e=x(n,t);return i(e)}function _n(n){const t=r(n);return i(t)}function cn(n){return r(n)===void 0}function un(){return g(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function sn(){return g(function(n,t){const e=JSON.parse(x(n,t));return i(e)},arguments)}function fn(){return i(new Date)}function an(n){return r(n).getTime()}function bn(n){return r(n).now()}function gn(){return Date.now()}function ln(n){const t=r(n);return typeof t=="object"&&t!==null}function dn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function wn(n){return r(n).length}function pn(){return i(Symbol.iterator)}function yn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function xn(n){return typeof r(n)=="bigint"}function mn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;W()[n/8+1]=y(o)?0:o,d()[n/4+0]=!y(o)}function hn(n){return i(n)}function Tn(n,t){return r(n)in r(t)}function An(n){const t=BigInt.asUintN(64,n);return i(t)}function Sn(n,t){return r(n)===r(t)}function jn(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=b(e)}function Fn(){return i(new Map)}function In(){const n=new Object;return i(n)}function kn(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function vn(n){return typeof r(n)=="string"}function En(n,t,e){r(n)[b(t)]=b(e)}function Mn(n,t){const e=r(n)[r(t)];return i(e)}function Rn(n,t){return r(n).push(r(t))}function Bn(){return g(function(n,t){const e=r(n)[b(t)];return i(e)},arguments)}function Un(n,t){const e=String(r(t)),o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Dn(){const n=c.memory;return i(n)}function Nn(n){const t=r(n).buffer;return i(t)}function Cn(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Ln(n){const t=new Uint8Array(r(n));return i(t)}function $n(){return g(function(n,t){r(n).randomFillSync(b(t))},arguments)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Pn(){return g(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Vn(n){const t=r(n).versions;return i(t)}function Qn(n){const t=r(n).node;return i(t)}function Hn(){return g(function(){const n=module.require;return i(n)},arguments)}function Gn(n){const t=r(n).msCrypto;return i(t)}function Kn(n){const t=new Uint8Array(n>>>0);return i(t)}function Xn(n){return typeof r(n)=="function"}function Yn(n){b(n)}function Zn(){return g(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return g(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function ot(n){const t=r(n).value;return i(t)}function _t(n){const t=r(n).next;return i(t)}function ct(){return g(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return g(function(){const n=self.self;return i(n)},arguments)}function ut(){return g(function(){const n=window.window;return i(n)},arguments)}function st(){return g(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return g(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new h(x(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return g(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return g(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return g(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function yt(n){return r(n).length}function xt(){return g(function(){return Date.now()},arguments)}function mt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function At(n){const t=Object.entries(r(n));return i(t)}function St(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;V()[n/8+1]=y(o)?BigInt(0):o,d()[n/4+0]=!y(o)}function jt(n,t){const e=I(r(t)),o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Ot(n,t){throw new Error(x(n,t))}function qt(n){const t=b(n).original;return t.cnt--==1?(t.a=0,!0):!1}function Ft(n,t){const e=r(n).then(r(t));return i(e)}function It(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function kt(n){const t=Promise.resolve(r(n));return i(t)}function vt(n,t,e){const o=Q(n,t,325,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_344d9b41efe96da7,__wbg_call_53fc3abd42e24ec8,__wbg_call_669127b9d730c650,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bc26bf4ada718266,__wbg_entries_6d727b73ee02b7ce,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_ed6ee333b702f8fc,__wbg_get_2aff440840bb6202,__wbg_get_4a9aa5157afeb382,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_17eff828815f7d84,__wbg_global_46f939f6541643c5,__wbg_has_cdf8b85f6e903c80,__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d,__wbg_instanceof_Promise_cfbcc42300367513,__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1,__wbg_isArray_38525be7442aa21e,__wbg_isSafeInteger_c38b0a16d0c7cef7,__wbg_iterator_7ee1a391d310f8e4,__wbg_length_a5587d6cd79ab197,__wbg_length_cace2e0b3ddc0502,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_ad75dd38f92424e2,__wbg_new_08236689f0afb357,__wbg_new_1b94180eeb48f2a2,__wbg_new_c728d68b8b34487e,__wbg_new_d8a000788389a31e,__wbg_new_feb65b865d980ae2,__wbg_newnoargs_ccdcae30fd002262,__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3,__wbg_newwithlength_13b5319ab422dcf6,__wbg_next_15da6a3df9290720,__wbg_next_1989a20442400aaa,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_4579335d3581594c,__wbg_now_8ed1a4454e40ecd1,__wbg_parse_3f0cb48976ca4123,__wbg_process_5b786e71d465a513,__wbg_push_fd3233d09cf81821,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_a3252b2860f0a09e,__wbg_self_3fad056edded10bd,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_0ac78a2bc07da03c,__wbg_set_3355b9f2d3092e3b,__wbg_set_40f7786a25a9cc7e,__wbg_set_841ac57cff3d672b,__wbg_set_dcfd613a3420f908,__wbg_set_wasm,__wbg_stringify_4039297315a25b00,__wbg_subarray_6ca5cfa7fbb9abbe,__wbg_then_1bbc9edafd859b06,__wbg_then_89e1c559530b85cf,__wbg_valueOf_ff4b62641803432a,__wbg_value_0570714ff7d75f35,__wbg_versions_c2ab80650590b6a2,__wbg_window_a4f46c98a61d4089,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7131,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
|
1
|
+
"use strict";var F=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var D=(n,t)=>{for(var e in t)F(n,e,{get:t[e],enumerable:!0})},N=(n,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of B(t))!U.call(n,_)&&_!==e&&F(n,_,{get:()=>t[_],enumerable:!(o=R(t,_))||o.enumerable});return n};var C=n=>N(F({},"__esModule",{value:!0}),n);var Et={};D(Et,{QueryEngine:()=>Z,__wbg_String_88810dfeb4021902:()=>Un,__wbg_buffer_344d9b41efe96da7:()=>Nn,__wbg_call_53fc3abd42e24ec8:()=>gt,__wbg_call_669127b9d730c650:()=>Zn,__wbg_crypto_58f13aa23ffcb166:()=>Wn,__wbg_done_bc26bf4ada718266:()=>rt,__wbg_entries_6d727b73ee02b7ce:()=>At,__wbg_getRandomValues_504510b5564925af:()=>Pn,__wbg_getTime_ed6ee333b702f8fc:()=>an,__wbg_get_2aff440840bb6202:()=>ct,__wbg_get_4a9aa5157afeb382:()=>nt,__wbg_get_94990005bd6ca07c:()=>Bn,__wbg_getwithrefkey_5e6d9547403deab8:()=>Mn,__wbg_globalThis_17eff828815f7d84:()=>st,__wbg_global_46f939f6541643c5:()=>ft,__wbg_has_cdf8b85f6e903c80:()=>un,__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d:()=>Tt,__wbg_instanceof_Promise_cfbcc42300367513:()=>dn,__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1:()=>ht,__wbg_isArray_38525be7442aa21e:()=>bt,__wbg_isSafeInteger_c38b0a16d0c7cef7:()=>lt,__wbg_iterator_7ee1a391d310f8e4:()=>pn,__wbg_length_a5587d6cd79ab197:()=>yt,__wbg_length_cace2e0b3ddc0502:()=>wn,__wbg_msCrypto_abcb1295e768d1f2:()=>Gn,__wbg_new0_ad75dd38f92424e2:()=>fn,__wbg_new_08236689f0afb357:()=>On,__wbg_new_1b94180eeb48f2a2:()=>Fn,__wbg_new_c728d68b8b34487e:()=>In,__wbg_new_d8a000788389a31e:()=>Ln,__wbg_new_feb65b865d980ae2:()=>en,__wbg_newnoargs_ccdcae30fd002262:()=>at,__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3:()=>Cn,__wbg_newwithlength_13b5319ab422dcf6:()=>Kn,__wbg_next_15da6a3df9290720:()=>_t,__wbg_next_1989a20442400aaa:()=>et,__wbg_node_523d7bd03ef69fba:()=>Qn,__wbg_now_28a6b413aca4a96a:()=>xt,__wbg_now_4579335d3581594c:()=>gn,__wbg_now_8ed1a4454e40ecd1:()=>bn,__wbg_parse_3f0cb48976ca4123:()=>sn,__wbg_process_5b786e71d465a513:()=>Jn,__wbg_push_fd3233d09cf81821:()=>Rn,__wbg_randomFillSync_a0d98aa11c81fe89:()=>$n,__wbg_require_2784e593a4674877:()=>Hn,__wbg_resolve_a3252b2860f0a09e:()=>kt,__wbg_self_3fad056edded10bd:()=>it,__wbg_setTimeout_631fe61f31fa2fad:()=>rn,__wbg_set_0ac78a2bc07da03c:()=>qn,__wbg_set_3355b9f2d3092e3b:()=>kn,__wbg_set_40f7786a25a9cc7e:()=>dt,__wbg_set_841ac57cff3d672b:()=>En,__wbg_set_dcfd613a3420f908:()=>pt,__wbg_set_wasm:()=>L,__wbg_stringify_4039297315a25b00:()=>wt,__wbg_subarray_6ca5cfa7fbb9abbe:()=>zn,__wbg_then_1bbc9edafd859b06:()=>It,__wbg_then_89e1c559530b85cf:()=>Ft,__wbg_valueOf_ff4b62641803432a:()=>tt,__wbg_value_0570714ff7d75f35:()=>ot,__wbg_versions_c2ab80650590b6a2:()=>Vn,__wbg_window_a4f46c98a61d4089:()=>ut,__wbindgen_bigint_from_i64:()=>hn,__wbindgen_bigint_from_u64:()=>An,__wbindgen_bigint_get_as_i64:()=>St,__wbindgen_boolean_get:()=>yn,__wbindgen_cb_drop:()=>qt,__wbindgen_closure_wrapper7129:()=>vt,__wbindgen_debug_string:()=>jt,__wbindgen_error_new:()=>tn,__wbindgen_in:()=>Tn,__wbindgen_is_bigint:()=>xn,__wbindgen_is_function:()=>Xn,__wbindgen_is_object:()=>ln,__wbindgen_is_string:()=>vn,__wbindgen_is_undefined:()=>cn,__wbindgen_jsval_eq:()=>Sn,__wbindgen_jsval_loose_eq:()=>mt,__wbindgen_memory:()=>Dn,__wbindgen_number_get:()=>mn,__wbindgen_number_new:()=>jn,__wbindgen_object_clone_ref:()=>_n,__wbindgen_object_drop_ref:()=>Yn,__wbindgen_string_get:()=>nn,__wbindgen_string_new:()=>on,__wbindgen_throw:()=>Ot,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=C(Et);var h=()=>{};h.prototype=h;let c;function L(n){c=n}const w=new Array(128).fill(void 0);w.push(void 0,null,!0,!1);function r(n){return w[n]}let a=0,T=null;function A(){return(T===null||T.byteLength===0)&&(T=new Uint8Array(c.memory.buffer)),T}const $=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let S=new $("utf-8");const z=typeof S.encodeInto=="function"?function(n,t){return S.encodeInto(n,t)}:function(n,t){const e=S.encode(n);return t.set(e),{read:n.length,written:e.length}};function l(n,t,e){if(e===void 0){const s=S.encode(n),p=t(s.length,1)>>>0;return A().subarray(p,p+s.length).set(s),a=s.length,p}let o=n.length,_=t(o,1)>>>0;const f=A();let u=0;for(;u<o;u++){const s=n.charCodeAt(u);if(s>127)break;f[_+u]=s}if(u!==o){u!==0&&(n=n.slice(u)),_=e(_,o,o=u+n.length*3,1)>>>0;const s=A().subarray(_+u,_+o),p=z(n,s);u+=p.written,_=e(_,o,u,1)>>>0}return a=u,_}function y(n){return n==null}let j=null;function d(){return(j===null||j.byteLength===0)&&(j=new Int32Array(c.memory.buffer)),j}const P=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let k=new P("utf-8",{ignoreBOM:!0,fatal:!0});k.decode();function x(n,t){return n=n>>>0,k.decode(A().subarray(n,n+t))}let m=w.length;function i(n){m===w.length&&w.push(w.length+1);const t=m;return m=w[t],w[t]=n,t}let O=null;function W(){return(O===null||O.byteLength===0)&&(O=new Float64Array(c.memory.buffer)),O}function J(n){n<132||(w[n]=m,m=n)}function b(n){const t=r(n);return J(n),t}let q=null;function V(){return(q===null||q.byteLength===0)&&(q=new BigInt64Array(c.memory.buffer)),q}function I(n){const t=typeof n;if(t=="number"||t=="boolean"||n==null)return`${n}`;if(t=="string")return`"${n}"`;if(t=="symbol"){const _=n.description;return _==null?"Symbol":`Symbol(${_})`}if(t=="function"){const _=n.name;return typeof _=="string"&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(n)){const _=n.length;let f="[";_>0&&(f+=I(n[0]));for(let u=1;u<_;u++)f+=", "+I(n[u]);return f+="]",f}const e=/\[object ([^\]]+)\]/.exec(toString.call(n));let o;if(e.length>1)o=e[1];else return toString.call(n);if(o=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
|
|
2
|
+
${n.stack}`:o}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{c.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const _={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{_.cnt++;const s=_.a;_.a=0;try{return o(s,_.b,...u)}finally{--_.cnt===0?(c.__wbindgen_export_2.get(_.dtor)(s,_.b),v.unregister(_)):_.a=s}};return f.original=_,v.register(f,_,_),f}function H(n,t,e){c._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d1ce90a2538b281(n,t,i(e))}function G(){const n=c.getBuildTimeInfo();return b(n)}function K(n){try{const f=c.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),e=a;c.debug_panic(f,t,e);var o=d()[f/4+0],_=d()[f/4+1];if(_)throw b(o)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function g(n,t){try{return n.apply(this,t)}catch(e){c.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){c.wasm_bindgen__convert__closures__invoke2_mut__h46a92896c95d64ae(n,t,i(e),i(o))}const Y=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>c.__wbg_queryengine_free(n>>>0));class Z{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),t}free(){const t=this.__destroy_into_raw();c.__wbg_queryengine_free(t)}constructor(t,e,o){try{const s=c.__wbindgen_add_to_stack_pointer(-16);c.queryengine_new(s,i(t),i(e),i(o));var _=d()[s/4+0],f=d()[s/4+1],u=d()[s/4+2];if(u)throw b(f);return this.__wbg_ptr=_>>>0,this}finally{c.__wbindgen_add_to_stack_pointer(16)}}connect(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_connect(this.__wbg_ptr,e,o);return b(_)}disconnect(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_disconnect(this.__wbg_ptr,e,o);return b(_)}query(t,e,o){const _=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a,u=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),s=a;var p=y(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),E=a;const M=c.queryengine_query(this.__wbg_ptr,_,f,u,s,p,E);return b(M)}startTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_startTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}commitTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_commitTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}rollbackTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_rollbackTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}metrics(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_metrics(this.__wbg_ptr,e,o);return b(_)}}function nn(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var _=y(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a;d()[n/4+1]=f,d()[n/4+0]=_}function tn(n,t){const e=new Error(x(n,t));return i(e)}function en(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const _=new Promise(o);return i(_)}finally{e.a=e.b=0}}function rn(n,t){return setTimeout(r(n),t>>>0)}function on(n,t){const e=x(n,t);return i(e)}function _n(n){const t=r(n);return i(t)}function cn(n){return r(n)===void 0}function un(){return g(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function sn(){return g(function(n,t){const e=JSON.parse(x(n,t));return i(e)},arguments)}function fn(){return i(new Date)}function an(n){return r(n).getTime()}function bn(n){return r(n).now()}function gn(){return Date.now()}function ln(n){const t=r(n);return typeof t=="object"&&t!==null}function dn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function wn(n){return r(n).length}function pn(){return i(Symbol.iterator)}function yn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function xn(n){return typeof r(n)=="bigint"}function mn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;W()[n/8+1]=y(o)?0:o,d()[n/4+0]=!y(o)}function hn(n){return i(n)}function Tn(n,t){return r(n)in r(t)}function An(n){const t=BigInt.asUintN(64,n);return i(t)}function Sn(n,t){return r(n)===r(t)}function jn(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=b(e)}function Fn(){return i(new Map)}function In(){const n=new Object;return i(n)}function kn(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function vn(n){return typeof r(n)=="string"}function En(n,t,e){r(n)[b(t)]=b(e)}function Mn(n,t){const e=r(n)[r(t)];return i(e)}function Rn(n,t){return r(n).push(r(t))}function Bn(){return g(function(n,t){const e=r(n)[b(t)];return i(e)},arguments)}function Un(n,t){const e=String(r(t)),o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Dn(){const n=c.memory;return i(n)}function Nn(n){const t=r(n).buffer;return i(t)}function Cn(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Ln(n){const t=new Uint8Array(r(n));return i(t)}function $n(){return g(function(n,t){r(n).randomFillSync(b(t))},arguments)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Pn(){return g(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Vn(n){const t=r(n).versions;return i(t)}function Qn(n){const t=r(n).node;return i(t)}function Hn(){return g(function(){const n=module.require;return i(n)},arguments)}function Gn(n){const t=r(n).msCrypto;return i(t)}function Kn(n){const t=new Uint8Array(n>>>0);return i(t)}function Xn(n){return typeof r(n)=="function"}function Yn(n){b(n)}function Zn(){return g(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return g(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function ot(n){const t=r(n).value;return i(t)}function _t(n){const t=r(n).next;return i(t)}function ct(){return g(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return g(function(){const n=self.self;return i(n)},arguments)}function ut(){return g(function(){const n=window.window;return i(n)},arguments)}function st(){return g(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return g(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new h(x(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return g(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return g(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return g(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function yt(n){return r(n).length}function xt(){return g(function(){return Date.now()},arguments)}function mt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function At(n){const t=Object.entries(r(n));return i(t)}function St(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;V()[n/8+1]=y(o)?BigInt(0):o,d()[n/4+0]=!y(o)}function jt(n,t){const e=I(r(t)),o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Ot(n,t){throw new Error(x(n,t))}function qt(n){const t=b(n).original;return t.cnt--==1?(t.a=0,!0):!1}function Ft(n,t){const e=r(n).then(r(t));return i(e)}function It(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function kt(n){const t=Promise.resolve(r(n));return i(t)}function vt(n,t,e){const o=Q(n,t,325,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_344d9b41efe96da7,__wbg_call_53fc3abd42e24ec8,__wbg_call_669127b9d730c650,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bc26bf4ada718266,__wbg_entries_6d727b73ee02b7ce,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_ed6ee333b702f8fc,__wbg_get_2aff440840bb6202,__wbg_get_4a9aa5157afeb382,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_17eff828815f7d84,__wbg_global_46f939f6541643c5,__wbg_has_cdf8b85f6e903c80,__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d,__wbg_instanceof_Promise_cfbcc42300367513,__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1,__wbg_isArray_38525be7442aa21e,__wbg_isSafeInteger_c38b0a16d0c7cef7,__wbg_iterator_7ee1a391d310f8e4,__wbg_length_a5587d6cd79ab197,__wbg_length_cace2e0b3ddc0502,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_ad75dd38f92424e2,__wbg_new_08236689f0afb357,__wbg_new_1b94180eeb48f2a2,__wbg_new_c728d68b8b34487e,__wbg_new_d8a000788389a31e,__wbg_new_feb65b865d980ae2,__wbg_newnoargs_ccdcae30fd002262,__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3,__wbg_newwithlength_13b5319ab422dcf6,__wbg_next_15da6a3df9290720,__wbg_next_1989a20442400aaa,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_4579335d3581594c,__wbg_now_8ed1a4454e40ecd1,__wbg_parse_3f0cb48976ca4123,__wbg_process_5b786e71d465a513,__wbg_push_fd3233d09cf81821,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_a3252b2860f0a09e,__wbg_self_3fad056edded10bd,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_0ac78a2bc07da03c,__wbg_set_3355b9f2d3092e3b,__wbg_set_40f7786a25a9cc7e,__wbg_set_841ac57cff3d672b,__wbg_set_dcfd613a3420f908,__wbg_set_wasm,__wbg_stringify_4039297315a25b00,__wbg_subarray_6ca5cfa7fbb9abbe,__wbg_then_1bbc9edafd859b06,__wbg_then_89e1c559530b85cf,__wbg_valueOf_ff4b62641803432a,__wbg_value_0570714ff7d75f35,__wbg_versions_c2ab80650590b6a2,__wbg_window_a4f46c98a61d4089,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7129,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var F=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var D=(n,
|
|
2
|
-
${n.stack}`:o}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{c.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const _={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{_.cnt++;const s=_.a;_.a=0;try{return o(s,_.b,...u)}finally{--_.cnt===0?(c.__wbindgen_export_2.get(_.dtor)(s,_.b),v.unregister(_)):_.a=s}};return f.original=_,v.register(f,_,_),f}function H(n,t,e){c._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d1ce90a2538b281(n,t,i(e))}function G(){const n=c.getBuildTimeInfo();return b(n)}function K(n){try{const f=c.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),e=a;c.debug_panic(f,t,e);var o=d()[f/4+0],_=d()[f/4+1];if(_)throw b(o)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function g(n,t){try{return n.apply(this,t)}catch(e){c.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){c.wasm_bindgen__convert__closures__invoke2_mut__h46a92896c95d64ae(n,t,i(e),i(o))}const Y=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>c.__wbg_queryengine_free(n>>>0));class Z{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),t}free(){const t=this.__destroy_into_raw();c.__wbg_queryengine_free(t)}constructor(t,e,o){try{const s=c.__wbindgen_add_to_stack_pointer(-16);c.queryengine_new(s,i(t),i(e),i(o));var _=d()[s/4+0],f=d()[s/4+1],u=d()[s/4+2];if(u)throw b(f);return this.__wbg_ptr=_>>>0,this}finally{c.__wbindgen_add_to_stack_pointer(16)}}connect(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_connect(this.__wbg_ptr,e,o);return b(_)}disconnect(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_disconnect(this.__wbg_ptr,e,o);return b(_)}query(t,e,o){const _=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a,u=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),s=a;var p=y(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),E=a;const M=c.queryengine_query(this.__wbg_ptr,_,f,u,s,p,E);return b(M)}startTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_startTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}commitTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_commitTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}rollbackTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_rollbackTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}metrics(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_metrics(this.__wbg_ptr,e,o);return b(_)}}function nn(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var _=y(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a;d()[n/4+1]=f,d()[n/4+0]=_}function tn(n,t){const e=new Error(x(n,t));return i(e)}function en(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const _=new Promise(o);return i(_)}finally{e.a=e.b=0}}function rn(n,t){return setTimeout(r(n),t>>>0)}function on(n,t){const e=x(n,t);return i(e)}function _n(n){const t=r(n);return i(t)}function cn(n){return r(n)===void 0}function un(){return g(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function sn(){return g(function(n,t){const e=JSON.parse(x(n,t));return i(e)},arguments)}function fn(){return i(new Date)}function an(n){return r(n).getTime()}function bn(n){return r(n).now()}function gn(){return Date.now()}function ln(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function dn(n){const t=r(n);return typeof t=="object"&&t!==null}function wn(n){return r(n).length}function pn(){return i(Symbol.iterator)}function yn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function xn(n){return typeof r(n)=="bigint"}function mn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;W()[n/8+1]=y(o)?0:o,d()[n/4+0]=!y(o)}function hn(n){return i(n)}function Tn(n,t){return r(n)in r(t)}function An(n){const t=BigInt.asUintN(64,n);return i(t)}function Sn(n,t){return r(n)===r(t)}function jn(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=b(e)}function Fn(){return i(new Map)}function In(){const n=new Object;return i(n)}function kn(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function vn(n){return typeof r(n)=="string"}function En(n,t,e){r(n)[b(t)]=b(e)}function Mn(n,t){const e=r(n)[r(t)];return i(e)}function Rn(n,t){return r(n).push(r(t))}function Bn(){return g(function(n,t){const e=r(n)[b(t)];return i(e)},arguments)}function Un(n,t){const e=String(r(t)),o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Dn(){const n=c.memory;return i(n)}function Nn(n){const t=r(n).buffer;return i(t)}function Cn(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Ln(n){const t=new Uint8Array(r(n));return i(t)}function $n(){return g(function(n,t){r(n).randomFillSync(b(t))},arguments)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Pn(){return g(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Vn(n){const t=r(n).versions;return i(t)}function Qn(n){const t=r(n).node;return i(t)}function Hn(){return g(function(){const n=module.require;return i(n)},arguments)}function Gn(n){const t=r(n).msCrypto;return i(t)}function Kn(n){const t=new Uint8Array(n>>>0);return i(t)}function Xn(n){return typeof r(n)=="function"}function Yn(n){b(n)}function Zn(){return g(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return g(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function ot(n){const t=r(n).value;return i(t)}function _t(n){const t=r(n).next;return i(t)}function ct(){return g(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return g(function(){const n=self.self;return i(n)},arguments)}function ut(){return g(function(){const n=window.window;return i(n)},arguments)}function st(){return g(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return g(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new h(x(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return g(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return g(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return g(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function yt(n){return r(n).length}function xt(){return g(function(){return Date.now()},arguments)}function mt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function At(n){const t=Object.entries(r(n));return i(t)}function St(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;V()[n/8+1]=y(o)?BigInt(0):o,d()[n/4+0]=!y(o)}function jt(n,t){const e=I(r(t)),o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Ot(n,t){throw new Error(x(n,t))}function qt(n){const t=b(n).original;return t.cnt--==1?(t.a=0,!0):!1}function Ft(n,t){const e=r(n).then(r(t));return i(e)}function It(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function kt(n){const t=Promise.resolve(r(n));return i(t)}function vt(n,t,e){const o=Q(n,t,370,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_344d9b41efe96da7,__wbg_call_53fc3abd42e24ec8,__wbg_call_669127b9d730c650,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bc26bf4ada718266,__wbg_entries_6d727b73ee02b7ce,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_ed6ee333b702f8fc,__wbg_get_2aff440840bb6202,__wbg_get_4a9aa5157afeb382,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_17eff828815f7d84,__wbg_global_46f939f6541643c5,__wbg_has_cdf8b85f6e903c80,__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d,__wbg_instanceof_Promise_cfbcc42300367513,__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1,__wbg_isArray_38525be7442aa21e,__wbg_isSafeInteger_c38b0a16d0c7cef7,__wbg_iterator_7ee1a391d310f8e4,__wbg_length_a5587d6cd79ab197,__wbg_length_cace2e0b3ddc0502,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_ad75dd38f92424e2,__wbg_new_08236689f0afb357,__wbg_new_1b94180eeb48f2a2,__wbg_new_c728d68b8b34487e,__wbg_new_d8a000788389a31e,__wbg_new_feb65b865d980ae2,__wbg_newnoargs_ccdcae30fd002262,__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3,__wbg_newwithlength_13b5319ab422dcf6,__wbg_next_15da6a3df9290720,__wbg_next_1989a20442400aaa,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_4579335d3581594c,__wbg_now_8ed1a4454e40ecd1,__wbg_parse_3f0cb48976ca4123,__wbg_process_5b786e71d465a513,__wbg_push_fd3233d09cf81821,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_a3252b2860f0a09e,__wbg_self_3fad056edded10bd,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_0ac78a2bc07da03c,__wbg_set_3355b9f2d3092e3b,__wbg_set_40f7786a25a9cc7e,__wbg_set_841ac57cff3d672b,__wbg_set_dcfd613a3420f908,__wbg_set_wasm,__wbg_stringify_4039297315a25b00,__wbg_subarray_6ca5cfa7fbb9abbe,__wbg_then_1bbc9edafd859b06,__wbg_then_89e1c559530b85cf,__wbg_valueOf_ff4b62641803432a,__wbg_value_0570714ff7d75f35,__wbg_versions_c2ab80650590b6a2,__wbg_window_a4f46c98a61d4089,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper8260,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
|
1
|
+
"use strict";var F=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var D=(n,e)=>{for(var t in e)F(n,t,{get:e[t],enumerable:!0})},N=(n,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let _ of B(e))!U.call(n,_)&&_!==t&&F(n,_,{get:()=>e[_],enumerable:!(o=R(e,_))||o.enumerable});return n};var C=n=>N(F({},"__esModule",{value:!0}),n);var Re={};D(Re,{QueryEngine:()=>Z,__wbg_String_88810dfeb4021902:()=>Cn,__wbg_buffer_344d9b41efe96da7:()=>$n,__wbg_call_53fc3abd42e24ec8:()=>de,__wbg_call_669127b9d730c650:()=>ee,__wbg_crypto_58f13aa23ffcb166:()=>Qn,__wbg_done_bc26bf4ada718266:()=>_e,__wbg_entries_6d727b73ee02b7ce:()=>je,__wbg_exec_393fa168a3695345:()=>Dn,__wbg_getRandomValues_504510b5564925af:()=>Vn,__wbg_getTime_ed6ee333b702f8fc:()=>an,__wbg_get_2aff440840bb6202:()=>ue,__wbg_get_4a9aa5157afeb382:()=>te,__wbg_get_94990005bd6ca07c:()=>Nn,__wbg_getwithrefkey_5e6d9547403deab8:()=>Rn,__wbg_globalThis_17eff828815f7d84:()=>ae,__wbg_global_46f939f6541643c5:()=>be,__wbg_has_cdf8b85f6e903c80:()=>un,__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d:()=>Se,__wbg_instanceof_Promise_cfbcc42300367513:()=>dn,__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1:()=>Ae,__wbg_isArray_38525be7442aa21e:()=>le,__wbg_isSafeInteger_c38b0a16d0c7cef7:()=>we,__wbg_iterator_7ee1a391d310f8e4:()=>xn,__wbg_length_a5587d6cd79ab197:()=>me,__wbg_length_cace2e0b3ddc0502:()=>pn,__wbg_msCrypto_abcb1295e768d1f2:()=>Yn,__wbg_new0_ad75dd38f92424e2:()=>fn,__wbg_new_00f9fd9cefd9f65c:()=>Un,__wbg_new_08236689f0afb357:()=>qn,__wbg_new_1b94180eeb48f2a2:()=>En,__wbg_new_c728d68b8b34487e:()=>In,__wbg_new_d8a000788389a31e:()=>Pn,__wbg_new_feb65b865d980ae2:()=>tn,__wbg_newnoargs_ccdcae30fd002262:()=>ge,__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3:()=>zn,__wbg_newwithlength_13b5319ab422dcf6:()=>Zn,__wbg_next_15da6a3df9290720:()=>ie,__wbg_next_1989a20442400aaa:()=>oe,__wbg_node_523d7bd03ef69fba:()=>Kn,__wbg_now_28a6b413aca4a96a:()=>he,__wbg_now_4579335d3581594c:()=>ln,__wbg_now_8ed1a4454e40ecd1:()=>gn,__wbg_parse_3f0cb48976ca4123:()=>sn,__wbg_process_5b786e71d465a513:()=>Hn,__wbg_push_fd3233d09cf81821:()=>Bn,__wbg_randomFillSync_a0d98aa11c81fe89:()=>Wn,__wbg_require_2784e593a4674877:()=>Xn,__wbg_resolve_a3252b2860f0a09e:()=>ve,__wbg_self_3fad056edded10bd:()=>se,__wbg_setTimeout_631fe61f31fa2fad:()=>rn,__wbg_set_0ac78a2bc07da03c:()=>Fn,__wbg_set_3355b9f2d3092e3b:()=>kn,__wbg_set_40f7786a25a9cc7e:()=>pe,__wbg_set_841ac57cff3d672b:()=>Mn,__wbg_set_dcfd613a3420f908:()=>ye,__wbg_set_wasm:()=>L,__wbg_stringify_4039297315a25b00:()=>xe,__wbg_subarray_6ca5cfa7fbb9abbe:()=>Jn,__wbg_then_1bbc9edafd859b06:()=>ke,__wbg_then_89e1c559530b85cf:()=>Ie,__wbg_valueOf_ff4b62641803432a:()=>re,__wbg_value_0570714ff7d75f35:()=>ce,__wbg_versions_c2ab80650590b6a2:()=>Gn,__wbg_window_a4f46c98a61d4089:()=>fe,__wbindgen_bigint_from_i64:()=>Tn,__wbindgen_bigint_from_u64:()=>Sn,__wbindgen_bigint_get_as_i64:()=>Oe,__wbindgen_boolean_get:()=>yn,__wbindgen_cb_drop:()=>Ee,__wbindgen_closure_wrapper7164:()=>Me,__wbindgen_debug_string:()=>qe,__wbindgen_error_new:()=>en,__wbindgen_in:()=>An,__wbindgen_is_bigint:()=>mn,__wbindgen_is_function:()=>ne,__wbindgen_is_object:()=>wn,__wbindgen_is_string:()=>vn,__wbindgen_is_undefined:()=>cn,__wbindgen_jsval_eq:()=>jn,__wbindgen_jsval_loose_eq:()=>Te,__wbindgen_memory:()=>Ln,__wbindgen_number_get:()=>hn,__wbindgen_number_new:()=>On,__wbindgen_object_clone_ref:()=>_n,__wbindgen_object_drop_ref:()=>bn,__wbindgen_string_get:()=>nn,__wbindgen_string_new:()=>on,__wbindgen_throw:()=>Fe,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=C(Re);var h=()=>{};h.prototype=h;let c;function L(n){c=n}const w=new Array(128).fill(void 0);w.push(void 0,null,!0,!1);function r(n){return w[n]}let a=0,T=null;function A(){return(T===null||T.byteLength===0)&&(T=new Uint8Array(c.memory.buffer)),T}const $=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let S=new $("utf-8");const z=typeof S.encodeInto=="function"?function(n,e){return S.encodeInto(n,e)}:function(n,e){const t=S.encode(n);return e.set(t),{read:n.length,written:t.length}};function l(n,e,t){if(t===void 0){const s=S.encode(n),y=e(s.length,1)>>>0;return A().subarray(y,y+s.length).set(s),a=s.length,y}let o=n.length,_=e(o,1)>>>0;const f=A();let u=0;for(;u<o;u++){const s=n.charCodeAt(u);if(s>127)break;f[_+u]=s}if(u!==o){u!==0&&(n=n.slice(u)),_=t(_,o,o=u+n.length*3,1)>>>0;const s=A().subarray(_+u,_+o),y=z(n,s);u+=y.written,_=t(_,o,u,1)>>>0}return a=u,_}function p(n){return n==null}let j=null;function d(){return(j===null||j.byteLength===0)&&(j=new Int32Array(c.memory.buffer)),j}const P=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let I=new P("utf-8",{ignoreBOM:!0,fatal:!0});I.decode();function x(n,e){return n=n>>>0,I.decode(A().subarray(n,n+e))}let m=w.length;function i(n){m===w.length&&w.push(w.length+1);const e=m;return m=w[e],w[e]=n,e}function W(n){n<132||(w[n]=m,m=n)}function b(n){const e=r(n);return W(n),e}let O=null;function J(){return(O===null||O.byteLength===0)&&(O=new Float64Array(c.memory.buffer)),O}let q=null;function V(){return(q===null||q.byteLength===0)&&(q=new BigInt64Array(c.memory.buffer)),q}function E(n){const e=typeof n;if(e=="number"||e=="boolean"||n==null)return`${n}`;if(e=="string")return`"${n}"`;if(e=="symbol"){const _=n.description;return _==null?"Symbol":`Symbol(${_})`}if(e=="function"){const _=n.name;return typeof _=="string"&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(n)){const _=n.length;let f="[";_>0&&(f+=E(n[0]));for(let u=1;u<_;u++)f+=", "+E(n[u]);return f+="]",f}const t=/\[object ([^\]]+)\]/.exec(toString.call(n));let o;if(t.length>1)o=t[1];else return toString.call(n);if(o=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
|
|
2
|
+
${n.stack}`:o}const k=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{c.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,e,t,o){const _={a:n,b:e,cnt:1,dtor:t},f=(...u)=>{_.cnt++;const s=_.a;_.a=0;try{return o(s,_.b,...u)}finally{--_.cnt===0?(c.__wbindgen_export_2.get(_.dtor)(s,_.b),k.unregister(_)):_.a=s}};return f.original=_,k.register(f,_,_),f}function H(n,e,t){c._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d1ce90a2538b281(n,e,i(t))}function G(){const n=c.getBuildTimeInfo();return b(n)}function K(n){try{const f=c.__wbindgen_add_to_stack_pointer(-16);var e=p(n)?0:l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),t=a;c.debug_panic(f,e,t);var o=d()[f/4+0],_=d()[f/4+1];if(_)throw b(o)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function g(n,e){try{return n.apply(this,e)}catch(t){c.__wbindgen_exn_store(i(t))}}function X(n,e,t,o){c.wasm_bindgen__convert__closures__invoke2_mut__h46a92896c95d64ae(n,e,i(t),i(o))}const Y=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>c.__wbg_queryengine_free(n>>>0));class Z{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),e}free(){const e=this.__destroy_into_raw();c.__wbg_queryengine_free(e)}constructor(e,t,o){try{const s=c.__wbindgen_add_to_stack_pointer(-16);c.queryengine_new(s,i(e),i(t),i(o));var _=d()[s/4+0],f=d()[s/4+1],u=d()[s/4+2];if(u)throw b(f);return this.__wbg_ptr=_>>>0,this}finally{c.__wbindgen_add_to_stack_pointer(16)}}connect(e){const t=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_connect(this.__wbg_ptr,t,o);return b(_)}disconnect(e){const t=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_disconnect(this.__wbg_ptr,t,o);return b(_)}query(e,t,o){const _=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a,u=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),s=a;var y=p(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),v=a;const M=c.queryengine_query(this.__wbg_ptr,_,f,u,s,y,v);return b(M)}startTransaction(e,t){const o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_startTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}commitTransaction(e,t){const o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_commitTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}rollbackTransaction(e,t){const o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_rollbackTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}metrics(e){const t=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_metrics(this.__wbg_ptr,t,o);return b(_)}}function nn(n,e){const t=r(e),o=typeof t=="string"?t:void 0;var _=p(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a;d()[n/4+1]=f,d()[n/4+0]=_}function en(n,e){const t=new Error(x(n,e));return i(t)}function tn(n,e){try{var t={a:n,b:e},o=(f,u)=>{const s=t.a;t.a=0;try{return X(s,t.b,f,u)}finally{t.a=s}};const _=new Promise(o);return i(_)}finally{t.a=t.b=0}}function rn(n,e){return setTimeout(r(n),e>>>0)}function on(n,e){const t=x(n,e);return i(t)}function _n(n){const e=r(n);return i(e)}function cn(n){return r(n)===void 0}function un(){return g(function(n,e){return Reflect.has(r(n),r(e))},arguments)}function sn(){return g(function(n,e){const t=JSON.parse(x(n,e));return i(t)},arguments)}function fn(){return i(new Date)}function an(n){return r(n).getTime()}function bn(n){b(n)}function gn(n){return r(n).now()}function ln(){return Date.now()}function dn(n){let e;try{e=r(n)instanceof Promise}catch{e=!1}return e}function wn(n){const e=r(n);return typeof e=="object"&&e!==null}function pn(n){return r(n).length}function xn(){return i(Symbol.iterator)}function yn(n){const e=r(n);return typeof e=="boolean"?e?1:0:2}function mn(n){return typeof r(n)=="bigint"}function hn(n,e){const t=r(e),o=typeof t=="number"?t:void 0;J()[n/8+1]=p(o)?0:o,d()[n/4+0]=!p(o)}function Tn(n){return i(n)}function An(n,e){return r(n)in r(e)}function Sn(n){const e=BigInt.asUintN(64,n);return i(e)}function jn(n,e){return r(n)===r(e)}function On(n){return i(n)}function qn(){const n=new Array;return i(n)}function Fn(n,e,t){r(n)[e>>>0]=b(t)}function En(){return i(new Map)}function In(){const n=new Object;return i(n)}function kn(n,e,t){const o=r(n).set(r(e),r(t));return i(o)}function vn(n){return typeof r(n)=="string"}function Mn(n,e,t){r(n)[b(e)]=b(t)}function Rn(n,e){const t=r(n)[r(e)];return i(t)}function Bn(n,e){return r(n).push(r(e))}function Un(n,e,t,o){const _=new RegExp(x(n,e),x(t,o));return i(_)}function Dn(n,e,t){const o=r(n).exec(x(e,t));return p(o)?0:i(o)}function Nn(){return g(function(n,e){const t=r(n)[b(e)];return i(t)},arguments)}function Cn(n,e){const t=String(r(e)),o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Ln(){const n=c.memory;return i(n)}function $n(n){const e=r(n).buffer;return i(e)}function zn(n,e,t){const o=new Uint8Array(r(n),e>>>0,t>>>0);return i(o)}function Pn(n){const e=new Uint8Array(r(n));return i(e)}function Wn(){return g(function(n,e){r(n).randomFillSync(b(e))},arguments)}function Jn(n,e,t){const o=r(n).subarray(e>>>0,t>>>0);return i(o)}function Vn(){return g(function(n,e){r(n).getRandomValues(r(e))},arguments)}function Qn(n){const e=r(n).crypto;return i(e)}function Hn(n){const e=r(n).process;return i(e)}function Gn(n){const e=r(n).versions;return i(e)}function Kn(n){const e=r(n).node;return i(e)}function Xn(){return g(function(){const n=module.require;return i(n)},arguments)}function Yn(n){const e=r(n).msCrypto;return i(e)}function Zn(n){const e=new Uint8Array(n>>>0);return i(e)}function ne(n){return typeof r(n)=="function"}function ee(){return g(function(n,e){const t=r(n).call(r(e));return i(t)},arguments)}function te(n,e){const t=r(n)[e>>>0];return i(t)}function re(n){return r(n).valueOf()}function oe(){return g(function(n){const e=r(n).next();return i(e)},arguments)}function _e(n){return r(n).done}function ce(n){const e=r(n).value;return i(e)}function ie(n){const e=r(n).next;return i(e)}function ue(){return g(function(n,e){const t=Reflect.get(r(n),r(e));return i(t)},arguments)}function se(){return g(function(){const n=self.self;return i(n)},arguments)}function fe(){return g(function(){const n=window.window;return i(n)},arguments)}function ae(){return g(function(){const n=globalThis.globalThis;return i(n)},arguments)}function be(){return g(function(){const n=global.global;return i(n)},arguments)}function ge(n,e){const t=new h(x(n,e));return i(t)}function le(n){return Array.isArray(r(n))}function de(){return g(function(n,e,t){const o=r(n).call(r(e),r(t));return i(o)},arguments)}function we(n){return Number.isSafeInteger(r(n))}function pe(){return g(function(n,e,t){return Reflect.set(r(n),r(e),r(t))},arguments)}function xe(){return g(function(n){const e=JSON.stringify(r(n));return i(e)},arguments)}function ye(n,e,t){r(n).set(r(e),t>>>0)}function me(n){return r(n).length}function he(){return g(function(){return Date.now()},arguments)}function Te(n,e){return r(n)==r(e)}function Ae(n){let e;try{e=r(n)instanceof Uint8Array}catch{e=!1}return e}function Se(n){let e;try{e=r(n)instanceof ArrayBuffer}catch{e=!1}return e}function je(n){const e=Object.entries(r(n));return i(e)}function Oe(n,e){const t=r(e),o=typeof t=="bigint"?t:void 0;V()[n/8+1]=p(o)?BigInt(0):o,d()[n/4+0]=!p(o)}function qe(n,e){const t=E(r(e)),o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Fe(n,e){throw new Error(x(n,e))}function Ee(n){const e=b(n).original;return e.cnt--==1?(e.a=0,!0):!1}function Ie(n,e){const t=r(n).then(r(e));return i(t)}function ke(n,e,t){const o=r(n).then(r(e),r(t));return i(o)}function ve(n){const e=Promise.resolve(r(n));return i(e)}function Me(n,e,t){const o=Q(n,e,327,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_344d9b41efe96da7,__wbg_call_53fc3abd42e24ec8,__wbg_call_669127b9d730c650,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bc26bf4ada718266,__wbg_entries_6d727b73ee02b7ce,__wbg_exec_393fa168a3695345,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_ed6ee333b702f8fc,__wbg_get_2aff440840bb6202,__wbg_get_4a9aa5157afeb382,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_17eff828815f7d84,__wbg_global_46f939f6541643c5,__wbg_has_cdf8b85f6e903c80,__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d,__wbg_instanceof_Promise_cfbcc42300367513,__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1,__wbg_isArray_38525be7442aa21e,__wbg_isSafeInteger_c38b0a16d0c7cef7,__wbg_iterator_7ee1a391d310f8e4,__wbg_length_a5587d6cd79ab197,__wbg_length_cace2e0b3ddc0502,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_ad75dd38f92424e2,__wbg_new_00f9fd9cefd9f65c,__wbg_new_08236689f0afb357,__wbg_new_1b94180eeb48f2a2,__wbg_new_c728d68b8b34487e,__wbg_new_d8a000788389a31e,__wbg_new_feb65b865d980ae2,__wbg_newnoargs_ccdcae30fd002262,__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3,__wbg_newwithlength_13b5319ab422dcf6,__wbg_next_15da6a3df9290720,__wbg_next_1989a20442400aaa,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_4579335d3581594c,__wbg_now_8ed1a4454e40ecd1,__wbg_parse_3f0cb48976ca4123,__wbg_process_5b786e71d465a513,__wbg_push_fd3233d09cf81821,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_a3252b2860f0a09e,__wbg_self_3fad056edded10bd,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_0ac78a2bc07da03c,__wbg_set_3355b9f2d3092e3b,__wbg_set_40f7786a25a9cc7e,__wbg_set_841ac57cff3d672b,__wbg_set_dcfd613a3420f908,__wbg_set_wasm,__wbg_stringify_4039297315a25b00,__wbg_subarray_6ca5cfa7fbb9abbe,__wbg_then_1bbc9edafd859b06,__wbg_then_89e1c559530b85cf,__wbg_valueOf_ff4b62641803432a,__wbg_value_0570714ff7d75f35,__wbg_versions_c2ab80650590b6a2,__wbg_window_a4f46c98a61d4089,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper7164,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var F=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var D=(n,t)=>{for(var e in t)F(n,e,{get:t[e],enumerable:!0})},N=(n,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of B(t))!U.call(n,_)&&_!==e&&F(n,_,{get:()=>t[_],enumerable:!(o=R(t,_))||o.enumerable});return n};var C=n=>N(F({},"__esModule",{value:!0}),n);var Et={};D(Et,{QueryEngine:()=>Z,__wbg_String_88810dfeb4021902:()=>
|
|
2
|
-
${n.stack}`:o}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{c.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const _={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{_.cnt++;const s=_.a;_.a=0;try{return o(s,_.b,...u)}finally{--_.cnt===0?(c.__wbindgen_export_2.get(_.dtor)(s,_.b),v.unregister(_)):_.a=s}};return f.original=_,v.register(f,_,_),f}function H(n,t,e){c._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d1ce90a2538b281(n,t,i(e))}function G(){const n=c.getBuildTimeInfo();return b(n)}function K(n){try{const f=c.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),e=a;c.debug_panic(f,t,e);var o=d()[f/4+0],_=d()[f/4+1];if(_)throw b(o)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function g(n,t){try{return n.apply(this,t)}catch(e){c.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){c.wasm_bindgen__convert__closures__invoke2_mut__h46a92896c95d64ae(n,t,i(e),i(o))}const Y=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>c.__wbg_queryengine_free(n>>>0));class Z{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),t}free(){const t=this.__destroy_into_raw();c.__wbg_queryengine_free(t)}constructor(t,e,o){try{const s=c.__wbindgen_add_to_stack_pointer(-16);c.queryengine_new(s,i(t),i(e),i(o));var _=d()[s/4+0],f=d()[s/4+1],u=d()[s/4+2];if(u)throw b(f);return this.__wbg_ptr=_>>>0,this}finally{c.__wbindgen_add_to_stack_pointer(16)}}connect(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_connect(this.__wbg_ptr,e,o);return b(_)}disconnect(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_disconnect(this.__wbg_ptr,e,o);return b(_)}query(t,e,o){const _=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a,u=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),s=a;var p=y(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),E=a;const M=c.queryengine_query(this.__wbg_ptr,_,f,u,s,p,E);return b(M)}startTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_startTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}commitTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_commitTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}rollbackTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_rollbackTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}metrics(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_metrics(this.__wbg_ptr,e,o);return b(_)}}function nn(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var _=y(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a;d()[n/4+1]=f,d()[n/4+0]=_}function tn(n,t){const e=new Error(x(n,t));return i(e)}function en(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const _=new Promise(o);return i(_)}finally{e.a=e.b=0}}function rn(n,t){return setTimeout(r(n),t>>>0)}function on(n,t){const e=x(n,t);return i(e)}function _n(n){const t=r(n);return i(t)}function cn(n){return r(n)===void 0}function un(){return g(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function sn(){return g(function(n,t){const e=JSON.parse(x(n,t));return i(e)},arguments)}function fn(){return i(new Date)}function an(n){return r(n).getTime()}function bn(n){return r(n).now()}function gn(){return Date.now()}function ln(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function dn(n){const t=r(n);return typeof t=="object"&&t!==null}function wn(n){return r(n).length}function pn(){return i(Symbol.iterator)}function yn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function xn(n){return typeof r(n)=="bigint"}function mn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;W()[n/8+1]=y(o)?0:o,d()[n/4+0]=!y(o)}function hn(n){return i(n)}function Tn(n,t){return r(n)in r(t)}function An(n){const t=BigInt.asUintN(64,n);return i(t)}function Sn(n,t){return r(n)===r(t)}function jn(n){return i(n)}function On(){const n=new Array;return i(n)}function qn(n,t,e){r(n)[t>>>0]=b(e)}function Fn(){return i(new Map)}function In(){const n=new Object;return i(n)}function kn(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function vn(n){return typeof r(n)=="string"}function En(n,t,e){r(n)[b(t)]=b(e)}function Mn(n,t){const e=r(n)[r(t)];return i(e)}function Rn(n,t){return r(n).push(r(t))}function Bn(){return g(function(n,t){const e=r(n)[b(t)];return i(e)},arguments)}function Un(n,t){const e=String(r(t)),o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Dn(){const n=c.memory;return i(n)}function Nn(n){const t=r(n).buffer;return i(t)}function Cn(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function Ln(n){const t=new Uint8Array(r(n));return i(t)}function $n(){return g(function(n,t){r(n).randomFillSync(b(t))},arguments)}function zn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Pn(){return g(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Wn(n){const t=r(n).crypto;return i(t)}function Jn(n){const t=r(n).process;return i(t)}function Vn(n){const t=r(n).versions;return i(t)}function Qn(n){const t=r(n).node;return i(t)}function Hn(){return g(function(){const n=module.require;return i(n)},arguments)}function Gn(n){const t=r(n).msCrypto;return i(t)}function Kn(n){const t=new Uint8Array(n>>>0);return i(t)}function Xn(n){return typeof r(n)=="function"}function Yn(n){b(n)}function Zn(){return g(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return g(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function ot(n){const t=r(n).value;return i(t)}function _t(n){const t=r(n).next;return i(t)}function ct(){return g(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return g(function(){const n=self.self;return i(n)},arguments)}function ut(){return g(function(){const n=window.window;return i(n)},arguments)}function st(){return g(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return g(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new h(x(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return g(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return g(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return g(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function yt(n){return r(n).length}function xt(){return g(function(){return Date.now()},arguments)}function mt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function At(n){const t=Object.entries(r(n));return i(t)}function St(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;V()[n/8+1]=y(o)?BigInt(0):o,d()[n/4+0]=!y(o)}function jt(n,t){const e=I(r(t)),o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Ot(n,t){throw new Error(x(n,t))}function qt(n){const t=b(n).original;return t.cnt--==1?(t.a=0,!0):!1}function Ft(n,t){const e=r(n).then(r(t));return i(e)}function It(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function kt(n){const t=Promise.resolve(r(n));return i(t)}function vt(n,t,e){const o=Q(n,t,316,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_344d9b41efe96da7,__wbg_call_53fc3abd42e24ec8,__wbg_call_669127b9d730c650,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bc26bf4ada718266,__wbg_entries_6d727b73ee02b7ce,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_ed6ee333b702f8fc,__wbg_get_2aff440840bb6202,__wbg_get_4a9aa5157afeb382,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_17eff828815f7d84,__wbg_global_46f939f6541643c5,__wbg_has_cdf8b85f6e903c80,__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d,__wbg_instanceof_Promise_cfbcc42300367513,__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1,__wbg_isArray_38525be7442aa21e,__wbg_isSafeInteger_c38b0a16d0c7cef7,__wbg_iterator_7ee1a391d310f8e4,__wbg_length_a5587d6cd79ab197,__wbg_length_cace2e0b3ddc0502,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_ad75dd38f92424e2,__wbg_new_08236689f0afb357,__wbg_new_1b94180eeb48f2a2,__wbg_new_c728d68b8b34487e,__wbg_new_d8a000788389a31e,__wbg_new_feb65b865d980ae2,__wbg_newnoargs_ccdcae30fd002262,__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3,__wbg_newwithlength_13b5319ab422dcf6,__wbg_next_15da6a3df9290720,__wbg_next_1989a20442400aaa,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_4579335d3581594c,__wbg_now_8ed1a4454e40ecd1,__wbg_parse_3f0cb48976ca4123,__wbg_process_5b786e71d465a513,__wbg_push_fd3233d09cf81821,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_a3252b2860f0a09e,__wbg_self_3fad056edded10bd,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_0ac78a2bc07da03c,__wbg_set_3355b9f2d3092e3b,__wbg_set_40f7786a25a9cc7e,__wbg_set_841ac57cff3d672b,__wbg_set_dcfd613a3420f908,__wbg_set_wasm,__wbg_stringify_4039297315a25b00,__wbg_subarray_6ca5cfa7fbb9abbe,__wbg_then_1bbc9edafd859b06,__wbg_then_89e1c559530b85cf,__wbg_valueOf_ff4b62641803432a,__wbg_value_0570714ff7d75f35,__wbg_versions_c2ab80650590b6a2,__wbg_window_a4f46c98a61d4089,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper6831,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
|
1
|
+
"use strict";var F=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var D=(n,t)=>{for(var e in t)F(n,e,{get:t[e],enumerable:!0})},N=(n,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of B(t))!U.call(n,_)&&_!==e&&F(n,_,{get:()=>t[_],enumerable:!(o=R(t,_))||o.enumerable});return n};var C=n=>N(F({},"__esModule",{value:!0}),n);var Et={};D(Et,{QueryEngine:()=>Z,__wbg_String_88810dfeb4021902:()=>Dn,__wbg_buffer_344d9b41efe96da7:()=>Cn,__wbg_call_53fc3abd42e24ec8:()=>gt,__wbg_call_669127b9d730c650:()=>Zn,__wbg_crypto_58f13aa23ffcb166:()=>Jn,__wbg_done_bc26bf4ada718266:()=>rt,__wbg_entries_6d727b73ee02b7ce:()=>At,__wbg_getRandomValues_504510b5564925af:()=>Wn,__wbg_getTime_ed6ee333b702f8fc:()=>an,__wbg_get_2aff440840bb6202:()=>ct,__wbg_get_4a9aa5157afeb382:()=>nt,__wbg_get_94990005bd6ca07c:()=>Un,__wbg_getwithrefkey_5e6d9547403deab8:()=>Rn,__wbg_globalThis_17eff828815f7d84:()=>st,__wbg_global_46f939f6541643c5:()=>ft,__wbg_has_cdf8b85f6e903c80:()=>un,__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d:()=>Tt,__wbg_instanceof_Promise_cfbcc42300367513:()=>dn,__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1:()=>ht,__wbg_isArray_38525be7442aa21e:()=>bt,__wbg_isSafeInteger_c38b0a16d0c7cef7:()=>lt,__wbg_iterator_7ee1a391d310f8e4:()=>yn,__wbg_length_a5587d6cd79ab197:()=>yt,__wbg_length_cace2e0b3ddc0502:()=>pn,__wbg_msCrypto_abcb1295e768d1f2:()=>Kn,__wbg_new0_ad75dd38f92424e2:()=>fn,__wbg_new_08236689f0afb357:()=>qn,__wbg_new_1b94180eeb48f2a2:()=>In,__wbg_new_c728d68b8b34487e:()=>kn,__wbg_new_d8a000788389a31e:()=>$n,__wbg_new_feb65b865d980ae2:()=>en,__wbg_newnoargs_ccdcae30fd002262:()=>at,__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3:()=>Ln,__wbg_newwithlength_13b5319ab422dcf6:()=>Xn,__wbg_next_15da6a3df9290720:()=>_t,__wbg_next_1989a20442400aaa:()=>et,__wbg_node_523d7bd03ef69fba:()=>Hn,__wbg_now_28a6b413aca4a96a:()=>xt,__wbg_now_4579335d3581594c:()=>gn,__wbg_now_8ed1a4454e40ecd1:()=>bn,__wbg_parse_3f0cb48976ca4123:()=>sn,__wbg_process_5b786e71d465a513:()=>Vn,__wbg_push_fd3233d09cf81821:()=>Bn,__wbg_randomFillSync_a0d98aa11c81fe89:()=>zn,__wbg_require_2784e593a4674877:()=>Gn,__wbg_resolve_a3252b2860f0a09e:()=>kt,__wbg_self_3fad056edded10bd:()=>it,__wbg_setTimeout_631fe61f31fa2fad:()=>rn,__wbg_set_0ac78a2bc07da03c:()=>Fn,__wbg_set_3355b9f2d3092e3b:()=>vn,__wbg_set_40f7786a25a9cc7e:()=>dt,__wbg_set_841ac57cff3d672b:()=>Mn,__wbg_set_dcfd613a3420f908:()=>pt,__wbg_set_wasm:()=>L,__wbg_stringify_4039297315a25b00:()=>wt,__wbg_subarray_6ca5cfa7fbb9abbe:()=>Pn,__wbg_then_1bbc9edafd859b06:()=>It,__wbg_then_89e1c559530b85cf:()=>Ft,__wbg_valueOf_ff4b62641803432a:()=>tt,__wbg_value_0570714ff7d75f35:()=>ot,__wbg_versions_c2ab80650590b6a2:()=>Qn,__wbg_window_a4f46c98a61d4089:()=>ut,__wbindgen_bigint_from_i64:()=>Tn,__wbindgen_bigint_from_u64:()=>Sn,__wbindgen_bigint_get_as_i64:()=>St,__wbindgen_boolean_get:()=>xn,__wbindgen_cb_drop:()=>qt,__wbindgen_closure_wrapper6830:()=>vt,__wbindgen_debug_string:()=>jt,__wbindgen_error_new:()=>tn,__wbindgen_in:()=>An,__wbindgen_is_bigint:()=>mn,__wbindgen_is_function:()=>Yn,__wbindgen_is_object:()=>ln,__wbindgen_is_string:()=>En,__wbindgen_is_undefined:()=>cn,__wbindgen_jsval_eq:()=>jn,__wbindgen_jsval_loose_eq:()=>mt,__wbindgen_memory:()=>Nn,__wbindgen_number_get:()=>hn,__wbindgen_number_new:()=>On,__wbindgen_object_clone_ref:()=>_n,__wbindgen_object_drop_ref:()=>wn,__wbindgen_string_get:()=>nn,__wbindgen_string_new:()=>on,__wbindgen_throw:()=>Ot,debug_panic:()=>K,getBuildTimeInfo:()=>G});module.exports=C(Et);var h=()=>{};h.prototype=h;let c;function L(n){c=n}const w=new Array(128).fill(void 0);w.push(void 0,null,!0,!1);function r(n){return w[n]}let a=0,T=null;function A(){return(T===null||T.byteLength===0)&&(T=new Uint8Array(c.memory.buffer)),T}const $=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let S=new $("utf-8");const z=typeof S.encodeInto=="function"?function(n,t){return S.encodeInto(n,t)}:function(n,t){const e=S.encode(n);return t.set(e),{read:n.length,written:e.length}};function l(n,t,e){if(e===void 0){const s=S.encode(n),p=t(s.length,1)>>>0;return A().subarray(p,p+s.length).set(s),a=s.length,p}let o=n.length,_=t(o,1)>>>0;const f=A();let u=0;for(;u<o;u++){const s=n.charCodeAt(u);if(s>127)break;f[_+u]=s}if(u!==o){u!==0&&(n=n.slice(u)),_=e(_,o,o=u+n.length*3,1)>>>0;const s=A().subarray(_+u,_+o),p=z(n,s);u+=p.written,_=e(_,o,u,1)>>>0}return a=u,_}function y(n){return n==null}let j=null;function d(){return(j===null||j.byteLength===0)&&(j=new Int32Array(c.memory.buffer)),j}const P=typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder;let k=new P("utf-8",{ignoreBOM:!0,fatal:!0});k.decode();function x(n,t){return n=n>>>0,k.decode(A().subarray(n,n+t))}let m=w.length;function i(n){m===w.length&&w.push(w.length+1);const t=m;return m=w[t],w[t]=n,t}function W(n){n<132||(w[n]=m,m=n)}function b(n){const t=r(n);return W(n),t}let O=null;function J(){return(O===null||O.byteLength===0)&&(O=new Float64Array(c.memory.buffer)),O}let q=null;function V(){return(q===null||q.byteLength===0)&&(q=new BigInt64Array(c.memory.buffer)),q}function I(n){const t=typeof n;if(t=="number"||t=="boolean"||n==null)return`${n}`;if(t=="string")return`"${n}"`;if(t=="symbol"){const _=n.description;return _==null?"Symbol":`Symbol(${_})`}if(t=="function"){const _=n.name;return typeof _=="string"&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(n)){const _=n.length;let f="[";_>0&&(f+=I(n[0]));for(let u=1;u<_;u++)f+=", "+I(n[u]);return f+="]",f}const e=/\[object ([^\]]+)\]/.exec(toString.call(n));let o;if(e.length>1)o=e[1];else return toString.call(n);if(o=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
|
|
2
|
+
${n.stack}`:o}const v=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{c.__wbindgen_export_2.get(n.dtor)(n.a,n.b)});function Q(n,t,e,o){const _={a:n,b:t,cnt:1,dtor:e},f=(...u)=>{_.cnt++;const s=_.a;_.a=0;try{return o(s,_.b,...u)}finally{--_.cnt===0?(c.__wbindgen_export_2.get(_.dtor)(s,_.b),v.unregister(_)):_.a=s}};return f.original=_,v.register(f,_,_),f}function H(n,t,e){c._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d1ce90a2538b281(n,t,i(e))}function G(){const n=c.getBuildTimeInfo();return b(n)}function K(n){try{const f=c.__wbindgen_add_to_stack_pointer(-16);var t=y(n)?0:l(n,c.__wbindgen_malloc,c.__wbindgen_realloc),e=a;c.debug_panic(f,t,e);var o=d()[f/4+0],_=d()[f/4+1];if(_)throw b(o)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function g(n,t){try{return n.apply(this,t)}catch(e){c.__wbindgen_exn_store(i(e))}}function X(n,t,e,o){c.wasm_bindgen__convert__closures__invoke2_mut__h46a92896c95d64ae(n,t,i(e),i(o))}const Y=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>c.__wbg_queryengine_free(n>>>0));class Z{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),t}free(){const t=this.__destroy_into_raw();c.__wbg_queryengine_free(t)}constructor(t,e,o){try{const s=c.__wbindgen_add_to_stack_pointer(-16);c.queryengine_new(s,i(t),i(e),i(o));var _=d()[s/4+0],f=d()[s/4+1],u=d()[s/4+2];if(u)throw b(f);return this.__wbg_ptr=_>>>0,this}finally{c.__wbindgen_add_to_stack_pointer(16)}}connect(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_connect(this.__wbg_ptr,e,o);return b(_)}disconnect(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_disconnect(this.__wbg_ptr,e,o);return b(_)}query(t,e,o){const _=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a,u=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),s=a;var p=y(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),E=a;const M=c.queryengine_query(this.__wbg_ptr,_,f,u,s,p,E);return b(M)}startTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_startTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}commitTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_commitTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}rollbackTransaction(t,e){const o=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a,f=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),u=a,s=c.queryengine_rollbackTransaction(this.__wbg_ptr,o,_,f,u);return b(s)}metrics(t){const e=l(t,c.__wbindgen_malloc,c.__wbindgen_realloc),o=a,_=c.queryengine_metrics(this.__wbg_ptr,e,o);return b(_)}}function nn(n,t){const e=r(t),o=typeof e=="string"?e:void 0;var _=y(o)?0:l(o,c.__wbindgen_malloc,c.__wbindgen_realloc),f=a;d()[n/4+1]=f,d()[n/4+0]=_}function tn(n,t){const e=new Error(x(n,t));return i(e)}function en(n,t){try{var e={a:n,b:t},o=(f,u)=>{const s=e.a;e.a=0;try{return X(s,e.b,f,u)}finally{e.a=s}};const _=new Promise(o);return i(_)}finally{e.a=e.b=0}}function rn(n,t){return setTimeout(r(n),t>>>0)}function on(n,t){const e=x(n,t);return i(e)}function _n(n){const t=r(n);return i(t)}function cn(n){return r(n)===void 0}function un(){return g(function(n,t){return Reflect.has(r(n),r(t))},arguments)}function sn(){return g(function(n,t){const e=JSON.parse(x(n,t));return i(e)},arguments)}function fn(){return i(new Date)}function an(n){return r(n).getTime()}function bn(n){return r(n).now()}function gn(){return Date.now()}function ln(n){const t=r(n);return typeof t=="object"&&t!==null}function dn(n){let t;try{t=r(n)instanceof Promise}catch{t=!1}return t}function wn(n){b(n)}function pn(n){return r(n).length}function yn(){return i(Symbol.iterator)}function xn(n){const t=r(n);return typeof t=="boolean"?t?1:0:2}function mn(n){return typeof r(n)=="bigint"}function hn(n,t){const e=r(t),o=typeof e=="number"?e:void 0;J()[n/8+1]=y(o)?0:o,d()[n/4+0]=!y(o)}function Tn(n){return i(n)}function An(n,t){return r(n)in r(t)}function Sn(n){const t=BigInt.asUintN(64,n);return i(t)}function jn(n,t){return r(n)===r(t)}function On(n){return i(n)}function qn(){const n=new Array;return i(n)}function Fn(n,t,e){r(n)[t>>>0]=b(e)}function In(){return i(new Map)}function kn(){const n=new Object;return i(n)}function vn(n,t,e){const o=r(n).set(r(t),r(e));return i(o)}function En(n){return typeof r(n)=="string"}function Mn(n,t,e){r(n)[b(t)]=b(e)}function Rn(n,t){const e=r(n)[r(t)];return i(e)}function Bn(n,t){return r(n).push(r(t))}function Un(){return g(function(n,t){const e=r(n)[b(t)];return i(e)},arguments)}function Dn(n,t){const e=String(r(t)),o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Nn(){const n=c.memory;return i(n)}function Cn(n){const t=r(n).buffer;return i(t)}function Ln(n,t,e){const o=new Uint8Array(r(n),t>>>0,e>>>0);return i(o)}function $n(n){const t=new Uint8Array(r(n));return i(t)}function zn(){return g(function(n,t){r(n).randomFillSync(b(t))},arguments)}function Pn(n,t,e){const o=r(n).subarray(t>>>0,e>>>0);return i(o)}function Wn(){return g(function(n,t){r(n).getRandomValues(r(t))},arguments)}function Jn(n){const t=r(n).crypto;return i(t)}function Vn(n){const t=r(n).process;return i(t)}function Qn(n){const t=r(n).versions;return i(t)}function Hn(n){const t=r(n).node;return i(t)}function Gn(){return g(function(){const n=module.require;return i(n)},arguments)}function Kn(n){const t=r(n).msCrypto;return i(t)}function Xn(n){const t=new Uint8Array(n>>>0);return i(t)}function Yn(n){return typeof r(n)=="function"}function Zn(){return g(function(n,t){const e=r(n).call(r(t));return i(e)},arguments)}function nt(n,t){const e=r(n)[t>>>0];return i(e)}function tt(n){return r(n).valueOf()}function et(){return g(function(n){const t=r(n).next();return i(t)},arguments)}function rt(n){return r(n).done}function ot(n){const t=r(n).value;return i(t)}function _t(n){const t=r(n).next;return i(t)}function ct(){return g(function(n,t){const e=Reflect.get(r(n),r(t));return i(e)},arguments)}function it(){return g(function(){const n=self.self;return i(n)},arguments)}function ut(){return g(function(){const n=window.window;return i(n)},arguments)}function st(){return g(function(){const n=globalThis.globalThis;return i(n)},arguments)}function ft(){return g(function(){const n=global.global;return i(n)},arguments)}function at(n,t){const e=new h(x(n,t));return i(e)}function bt(n){return Array.isArray(r(n))}function gt(){return g(function(n,t,e){const o=r(n).call(r(t),r(e));return i(o)},arguments)}function lt(n){return Number.isSafeInteger(r(n))}function dt(){return g(function(n,t,e){return Reflect.set(r(n),r(t),r(e))},arguments)}function wt(){return g(function(n){const t=JSON.stringify(r(n));return i(t)},arguments)}function pt(n,t,e){r(n).set(r(t),e>>>0)}function yt(n){return r(n).length}function xt(){return g(function(){return Date.now()},arguments)}function mt(n,t){return r(n)==r(t)}function ht(n){let t;try{t=r(n)instanceof Uint8Array}catch{t=!1}return t}function Tt(n){let t;try{t=r(n)instanceof ArrayBuffer}catch{t=!1}return t}function At(n){const t=Object.entries(r(n));return i(t)}function St(n,t){const e=r(t),o=typeof e=="bigint"?e:void 0;V()[n/8+1]=y(o)?BigInt(0):o,d()[n/4+0]=!y(o)}function jt(n,t){const e=I(r(t)),o=l(e,c.__wbindgen_malloc,c.__wbindgen_realloc),_=a;d()[n/4+1]=_,d()[n/4+0]=o}function Ot(n,t){throw new Error(x(n,t))}function qt(n){const t=b(n).original;return t.cnt--==1?(t.a=0,!0):!1}function Ft(n,t){const e=r(n).then(r(t));return i(e)}function It(n,t,e){const o=r(n).then(r(t),r(e));return i(o)}function kt(n){const t=Promise.resolve(r(n));return i(t)}function vt(n,t,e){const o=Q(n,t,315,H);return i(o)}0&&(module.exports={QueryEngine,__wbg_String_88810dfeb4021902,__wbg_buffer_344d9b41efe96da7,__wbg_call_53fc3abd42e24ec8,__wbg_call_669127b9d730c650,__wbg_crypto_58f13aa23ffcb166,__wbg_done_bc26bf4ada718266,__wbg_entries_6d727b73ee02b7ce,__wbg_getRandomValues_504510b5564925af,__wbg_getTime_ed6ee333b702f8fc,__wbg_get_2aff440840bb6202,__wbg_get_4a9aa5157afeb382,__wbg_get_94990005bd6ca07c,__wbg_getwithrefkey_5e6d9547403deab8,__wbg_globalThis_17eff828815f7d84,__wbg_global_46f939f6541643c5,__wbg_has_cdf8b85f6e903c80,__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d,__wbg_instanceof_Promise_cfbcc42300367513,__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1,__wbg_isArray_38525be7442aa21e,__wbg_isSafeInteger_c38b0a16d0c7cef7,__wbg_iterator_7ee1a391d310f8e4,__wbg_length_a5587d6cd79ab197,__wbg_length_cace2e0b3ddc0502,__wbg_msCrypto_abcb1295e768d1f2,__wbg_new0_ad75dd38f92424e2,__wbg_new_08236689f0afb357,__wbg_new_1b94180eeb48f2a2,__wbg_new_c728d68b8b34487e,__wbg_new_d8a000788389a31e,__wbg_new_feb65b865d980ae2,__wbg_newnoargs_ccdcae30fd002262,__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3,__wbg_newwithlength_13b5319ab422dcf6,__wbg_next_15da6a3df9290720,__wbg_next_1989a20442400aaa,__wbg_node_523d7bd03ef69fba,__wbg_now_28a6b413aca4a96a,__wbg_now_4579335d3581594c,__wbg_now_8ed1a4454e40ecd1,__wbg_parse_3f0cb48976ca4123,__wbg_process_5b786e71d465a513,__wbg_push_fd3233d09cf81821,__wbg_randomFillSync_a0d98aa11c81fe89,__wbg_require_2784e593a4674877,__wbg_resolve_a3252b2860f0a09e,__wbg_self_3fad056edded10bd,__wbg_setTimeout_631fe61f31fa2fad,__wbg_set_0ac78a2bc07da03c,__wbg_set_3355b9f2d3092e3b,__wbg_set_40f7786a25a9cc7e,__wbg_set_841ac57cff3d672b,__wbg_set_dcfd613a3420f908,__wbg_set_wasm,__wbg_stringify_4039297315a25b00,__wbg_subarray_6ca5cfa7fbb9abbe,__wbg_then_1bbc9edafd859b06,__wbg_then_89e1c559530b85cf,__wbg_valueOf_ff4b62641803432a,__wbg_value_0570714ff7d75f35,__wbg_versions_c2ab80650590b6a2,__wbg_window_a4f46c98a61d4089,__wbindgen_bigint_from_i64,__wbindgen_bigint_from_u64,__wbindgen_bigint_get_as_i64,__wbindgen_boolean_get,__wbindgen_cb_drop,__wbindgen_closure_wrapper6830,__wbindgen_debug_string,__wbindgen_error_new,__wbindgen_in,__wbindgen_is_bigint,__wbindgen_is_function,__wbindgen_is_object,__wbindgen_is_string,__wbindgen_is_undefined,__wbindgen_jsval_eq,__wbindgen_jsval_loose_eq,__wbindgen_memory,__wbindgen_number_get,__wbindgen_number_new,__wbindgen_object_clone_ref,__wbindgen_object_drop_ref,__wbindgen_string_get,__wbindgen_string_new,__wbindgen_throw,debug_panic,getBuildTimeInfo});
|
|
@@ -121,13 +121,6 @@ declare interface BinaryTargetsEnvValue {
|
|
|
121
121
|
native?: boolean;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
declare interface BoundDriverAdapter extends Queryable, WithTransaction {
|
|
125
|
-
/**
|
|
126
|
-
* Optional method that returns extra connection info
|
|
127
|
-
*/
|
|
128
|
-
getConnectionInfo?(): Result_4<ConnectionInfo>;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
124
|
export declare type Call<F extends Fn, P> = (F & {
|
|
132
125
|
params: P;
|
|
133
126
|
})['returns'];
|
|
@@ -875,7 +868,11 @@ export declare namespace DMMF {
|
|
|
875
868
|
}
|
|
876
869
|
}
|
|
877
870
|
|
|
878
|
-
export declare interface DriverAdapter extends Queryable
|
|
871
|
+
export declare interface DriverAdapter extends Queryable {
|
|
872
|
+
/**
|
|
873
|
+
* Starts new transaction.
|
|
874
|
+
*/
|
|
875
|
+
transactionContext(): Promise<Result_4<TransactionContext>>;
|
|
879
876
|
/**
|
|
880
877
|
* Optional method that returns extra connection info
|
|
881
878
|
*/
|
|
@@ -1187,7 +1184,7 @@ declare type Error_2 = {
|
|
|
1187
1184
|
message: string;
|
|
1188
1185
|
};
|
|
1189
1186
|
|
|
1190
|
-
declare interface ErrorCapturingDriverAdapter extends
|
|
1187
|
+
declare interface ErrorCapturingDriverAdapter extends DriverAdapter {
|
|
1191
1188
|
readonly errorRegistry: ErrorRegistry;
|
|
1192
1189
|
}
|
|
1193
1190
|
|
|
@@ -3378,20 +3375,4 @@ declare type WasmLoadingConfig = {
|
|
|
3378
3375
|
getQueryEngineWasmModule: () => Promise<unknown>;
|
|
3379
3376
|
};
|
|
3380
3377
|
|
|
3381
|
-
declare interface WithTransaction extends Queryable {
|
|
3382
|
-
/**
|
|
3383
|
-
* Starts new transaction.
|
|
3384
|
-
* If `startTransaction` is not defined, `transactionContext` must be defined.
|
|
3385
|
-
*/
|
|
3386
|
-
transactionContext?(): Promise<Result_4<TransactionContext>>;
|
|
3387
|
-
}
|
|
3388
|
-
|
|
3389
|
-
declare interface WithTransactionDeprecated extends Queryable {
|
|
3390
|
-
/**
|
|
3391
|
-
* Starts new transaction.
|
|
3392
|
-
* @deprecated Use `transactionContext` instead.
|
|
3393
|
-
*/
|
|
3394
|
-
startTransaction?(): Promise<Result_4<Transaction>>;
|
|
3395
|
-
}
|
|
3396
|
-
|
|
3397
3378
|
export { }
|