Files
Shifted/node_modules/prisma/build/query_compiler_bg.cockroachdb.mjs
2026-02-10 01:14:19 +00:00

3 lines
8.3 KiB
JavaScript

var h=()=>{};h.prototype=h;let o;function B(e){o=e}let A=null;function l(){return(A===null||A.byteLength===0)&&(A=new Uint8Array(o.memory.buffer)),A}let S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});S.decode();const D=2146435072;let F=0;function j(e,t){return F+=t,F>=D&&(S=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),S.decode(),F=t),S.decode(l().subarray(e,e+t))}function w(e,t){return e=e>>>0,j(e,t)}let b=0;const p=new TextEncoder;"encodeInto"in p||(p.encodeInto=function(e,t){const n=p.encode(e);return t.set(n),{read:e.length,written:n.length}});function x(e,t,n){if(n===void 0){const i=p.encode(e),g=t(i.length,1)>>>0;return l().subarray(g,g+i.length).set(i),b=i.length,g}let r=e.length,_=t(r,1)>>>0;const u=l();let c=0;for(;c<r;c++){const i=e.charCodeAt(c);if(i>127)break;u[_+c]=i}if(c!==r){c!==0&&(e=e.slice(c)),_=n(_,r,r=c+e.length*3,1)>>>0;const i=l().subarray(_+c,_+r),g=p.encodeInto(e,i);c+=g.written,_=n(_,r,c,1)>>>0}return b=c,_}let a=null;function s(){return(a===null||a.buffer.detached===!0||a.buffer.detached===void 0&&a.buffer!==o.memory.buffer)&&(a=new DataView(o.memory.buffer)),a}function f(e){return e==null}function I(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const _=e.description;return _==null?"Symbol":`Symbol(${_})`}if(t=="function"){const _=e.name;return typeof _=="string"&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(e)){const _=e.length;let u="[";_>0&&(u+=I(e[0]));for(let c=1;c<_;c++)u+=", "+I(e[c]);return u+="]",u}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
${e.stack}`:r}function y(e){const t=o.__externref_table_alloc();return o.__wbindgen_externrefs.set(t,e),t}function d(e,t){try{return e.apply(this,t)}catch(n){const r=y(n);o.__wbindgen_exn_store(r)}}function T(e,t){return e=e>>>0,l().subarray(e/1,e/1+t)}function m(e){const t=o.__wbindgen_externrefs.get(e);return o.__externref_table_dealloc(e),t}const E=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>o.__wbg_querycompiler_free(e>>>0,1));class O{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),t}free(){const t=this.__destroy_into_raw();o.__wbg_querycompiler_free(t,0)}constructor(t){const n=o.querycompiler_new(t);if(n[2])throw m(n[1]);return this.__wbg_ptr=n[0]>>>0,E.register(this,this.__wbg_ptr,this),this}compile(t){const n=x(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=b,_=o.querycompiler_compile(this.__wbg_ptr,n,r);if(_[2])throw m(_[1]);return m(_[0])}compileBatch(t){const n=x(t,o.__wbindgen_malloc,o.__wbindgen_realloc),r=b,_=o.querycompiler_compileBatch(this.__wbg_ptr,n,r);if(_[2])throw m(_[1]);return m(_[0])}}Symbol.dispose&&(O.prototype[Symbol.dispose]=O.prototype.free);function N(e,t){return Error(w(e,t))}function U(e){return Number(e)}function R(e,t){const n=String(t),r=x(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=b;s().setInt32(e+4*1,_,!0),s().setInt32(e+4*0,r,!0)}function q(e){const t=e,n=typeof t=="boolean"?t:void 0;return f(n)?16777215:n?1:0}function C(e,t){const n=I(t),r=x(n,o.__wbindgen_malloc,o.__wbindgen_realloc),_=b;s().setInt32(e+4*1,_,!0),s().setInt32(e+4*0,r,!0)}function L(e,t){return e in t}function k(e){return typeof e=="function"}function W(e){const t=e;return typeof t=="object"&&t!==null}function $(e){return typeof e=="string"}function V(e){return e===void 0}function z(e,t){return e==t}function G(e,t){const n=t,r=typeof n=="number"?n:void 0;s().setFloat64(e+8*1,f(r)?0:r,!0),s().setInt32(e+4*0,!f(r),!0)}function P(e,t){const n=t,r=typeof n=="string"?n:void 0;var _=f(r)?0:x(r,o.__wbindgen_malloc,o.__wbindgen_realloc),u=b;s().setInt32(e+4*1,u,!0),s().setInt32(e+4*0,_,!0)}function Q(e,t){throw new Error(w(e,t))}function Y(){return d(function(e,t,n){return e.call(t,n)},arguments)}function H(){return d(function(e,t){return e.call(t)},arguments)}function J(e){return e.crypto}function X(e){return Object.entries(e)}function K(){return d(function(e,t){e.getRandomValues(t)},arguments)}function Z(e){return e.getTime()}function v(e,t){return e[t>>>0]}function ee(e,t){return e[t]}function te(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t}function ne(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t}function re(e){return Number.isSafeInteger(e)}function _e(e){return Object.keys(e)}function oe(e){return e.length}function ce(e){return e.length}function ie(e){return e.msCrypto}function ue(){return new Date}function se(){return new Object}function fe(e){return new Uint8Array(e)}function be(){return new Map}function ae(){return new Array}function de(e,t){return new h(w(e,t))}function ge(e){return new Uint8Array(e>>>0)}function le(e){return e.node}function we(){return Date.now()}function pe(){return d(function(){return Date.now()},arguments)}function xe(e){return e.process}function ye(e,t,n){Uint8Array.prototype.set.call(T(e,t),n)}function me(){return d(function(e,t){e.randomFillSync(t)},arguments)}function he(){return d(function(){return module.require},arguments)}function Ae(e,t,n){e[t]=n}function Se(e,t,n){return e.set(t,n)}function Fe(e,t,n){e[t>>>0]=n}function Ie(e,t){global.PRISMA_WASM_PANIC_REGISTRY.set_message(w(e,t))}function Te(){const e=typeof global>"u"?null:global;return f(e)?0:y(e)}function Ee(){const e=typeof globalThis>"u"?null:globalThis;return f(e)?0:y(e)}function Oe(){const e=typeof self>"u"?null:self;return f(e)?0:y(e)}function De(){const e=typeof window>"u"?null:window;return f(e)?0:y(e)}function je(e,t,n){return e.subarray(t>>>0,n>>>0)}function Me(e){return e.versions}function Be(e,t){return w(e,t)}function Ne(e){return BigInt.asUintN(64,e)}function Ue(e){return e}function Re(e,t){return T(e,t)}function qe(e){return e}function Ce(){const e=o.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}export{O as QueryCompiler,N as __wbg_Error_e83987f665cf5504,U as __wbg_Number_bb48ca12f395cd08,R as __wbg_String_8f0eb39a4a4c2f66,q as __wbg___wbindgen_boolean_get_6d5a1ee65bab5f68,C as __wbg___wbindgen_debug_string_df47ffb5e35e6763,L as __wbg___wbindgen_in_bb933bd9e1b3bc0f,k as __wbg___wbindgen_is_function_ee8a6c5833c90377,W as __wbg___wbindgen_is_object_c818261d21f283a4,$ as __wbg___wbindgen_is_string_fbb76cb2940daafd,V as __wbg___wbindgen_is_undefined_2d472862bd29a478,z as __wbg___wbindgen_jsval_loose_eq_b664b38a2f582147,G as __wbg___wbindgen_number_get_a20bf9b85341449d,P as __wbg___wbindgen_string_get_e4f06c90489ad01b,Q as __wbg___wbindgen_throw_b855445ff6a94295,Y as __wbg_call_525440f72fbfc0ea,H as __wbg_call_e762c39fa8ea36bf,J as __wbg_crypto_805be4ce92f1e370,X as __wbg_entries_e171b586f8f6bdbf,K as __wbg_getRandomValues_f6a868620c8bab49,Z as __wbg_getTime_14776bfb48a1bff9,v as __wbg_get_7bed016f185add81,ee as __wbg_get_with_ref_key_1dc361bd10053bfe,te as __wbg_instanceof_ArrayBuffer_70beb1189ca63b38,ne as __wbg_instanceof_Uint8Array_20c8e73002f7af98,re as __wbg_isSafeInteger_d216eda7911dde36,_e as __wbg_keys_b4d27b02ad14f4be,oe as __wbg_length_69bca3cb64fc8748,ce as __wbg_length_cdd215e10d9dd507,ie as __wbg_msCrypto_2ac4d17c4748234a,ue as __wbg_new_0_f9740686d739025c,se as __wbg_new_1acc0b6eea89d040,fe as __wbg_new_5a79be3ab53b8aa5,be as __wbg_new_68651c719dcda04e,ae as __wbg_new_e17d9f43105b08be,de as __wbg_new_no_args_ee98eee5275000a4,ge as __wbg_new_with_length_01aa0dc35aa13543,le as __wbg_node_ecc8306b9857f33d,we as __wbg_now_793306c526e2e3b6,pe as __wbg_now_b3f7572f6ef3d3a9,xe as __wbg_process_5cff2739921be718,ye as __wbg_prototypesetcall_2a6620b6922694b2,me as __wbg_randomFillSync_d3c85af7e31cf1f8,he as __wbg_require_0c566c6f2eef6c79,Ae as __wbg_set_3f1d0b984ed272ed,Se as __wbg_set_907fb406c34a251d,Fe as __wbg_set_c213c871859d6500,Ie as __wbg_set_message_82ae475bb413aa5c,B as __wbg_set_wasm,Te as __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e,Ee as __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac,Oe as __wbg_static_accessor_SELF_6fdf4b64710cc91b,De as __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2,je as __wbg_subarray_480600f3d6a9f26c,Me as __wbg_versions_a8e5a362e1f16442,Be as __wbindgen_cast_2241b6af4c4b2941,Ne as __wbindgen_cast_4625c577ab2ec9ee,Ue as __wbindgen_cast_9ae0607507abb057,Re as __wbindgen_cast_cb9088102bce6b30,qe as __wbindgen_cast_d6cd19b81560fd6e,Ce as __wbindgen_init_externref_table};