UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

1 lines 198 kB
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`n8n@2.16.1`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`1beb06ec-0040-41e8-b1ad-b78f918b95a0`,e._sentryDebugIdIdentifier=`sentry-dbid-1beb06ec-0040-41e8-b1ad-b78f918b95a0`)})()}catch{}import{a as __toCommonJS,i as __require,o as __toESM,t as __commonJSMin}from"./chunk-CACdhNlC.js";import{Wt as unref}from"./vue.runtime.esm-bundler-C3C09Zii.js";import{at as useI18n}from"./core-Bz5WjPxS.js";import{t as require_get}from"./get-BjzKP_3k.js";import{C as process$1,S as init_dist$1,i as init_dist,n as init_empty,r as Buffer,t as empty_exports,x as require_path_browserify}from"./empty-BNY-5QlZ.js";import{Mt as importCurlEventBus,Pn as useToast}from"./users.store-xP93bV7X.js";import{ll as CURL_IMPORT_NODES_PROTOCOLS,ul as CURL_IMPORT_NOT_SUPPORTED_PROTOCOLS}from"./constants-DuQbSl-q.js";import{h as assert}from"./useRootStore-XEREVjMN.js";var import_get=__toESM(require_get(),1);init_dist();var CCError=class extends Error{},UTF8encoder=new TextEncoder;function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function isInt(e){return/^\s*[+-]?\d+$/.test(e)}var Word=class e{constructor(t){this.valueOf=e.toString,typeof t==`string`&&(t=[t]),(t===void 0||t.length===0)&&(t=[``]),this.tokens=[];for(let e of t)typeof e==`string`?this.tokens.length>0&&typeof this.tokens[this.tokens.length-1]==`string`?this.tokens[this.tokens.length-1]+=e:e&&this.tokens.push(e):this.tokens.push(e);this.tokens.length===0&&this.tokens.push(``)}get length(){let e=0;for(let t of this.tokens)typeof t==`string`?e+=t.length:e+=1;return e}*[Symbol.iterator](){for(let e of this.tokens)if(typeof e==`string`)for(let t of e)yield t;else yield e}get(e){let t=0;for(let n of this.tokens)if(typeof n==`string`){if(t+n.length>e)return n[e-t];t+=n.length}else{if(t===e)return n;t+=1}throw new CCError(`Index out of bounds`)}charAt(e=0){try{return this.get(e)}catch{}return``}indexOf(e,t){t===void 0&&(t=0);let n=0;for(let r of this.tokens)if(typeof r==`string`){if(n+r.length>t){let a=r.indexOf(e,t-n);if(a!==-1)return n+a}n+=r.length}else n+=1;return-1}indexOfFirstChar(e){let t=0;for(let n of this.tokens)if(typeof n==`string`)for(let r of n){if(e.includes(r))return t;t+=1}else t+=1;return-1}removeFirstChar(t){return this.length===0?new e:this.charAt(0)===t?this.slice(1):this.copy()}copy(){return new e(this.tokens)}slice(t,n){if(t===void 0&&(t=this.length),n===void 0&&(n=this.length),t>=this.length||(t<0&&(t=Math.max(t+this.length,0)),n<0&&(n=Math.max(n+this.length,0)),n<=t))return new e;let r=[],a=0;for(let e of this.tokens)typeof e==`string`?(a+e.length>t&&a<n&&r.push(e.slice(Math.max(t-a,0),n-a)),a+=e.length):(a>=t&&a<n&&r.push(e),a+=1);return new e(r)}includes(e,t){t===void 0&&(t=0);let n=0;for(let r of this.tokens)if(typeof r==`string`){if(n+r.length>t&&r.includes(e,t-n))return!0;n+=r.length}else n+=1;return!1}test(e){for(let t of this.tokens)if(typeof t==`string`&&e.test(t))return!0;return!1}prepend(e){let t=this.copy();return t.tokens.length&&typeof t.tokens[0]==`string`?t.tokens[0]=e+t.tokens[0]:t.tokens.unshift(e),t}append(e){let t=this.copy();return t.tokens.length&&typeof t.tokens[t.tokens.length-1]==`string`?t.tokens[t.tokens.length-1]+=e:t.tokens.push(e),t}add(t){return new e([...this.tokens,...t.tokens])}match(e){for(let t of this.tokens)if(typeof t==`string`){let n=t.match(e);if(n)return n}return null}search(e){let t=0;for(let n of this.tokens)if(typeof n==`string`){let r=n.search(e);if(r!==-1)return t+r;t+=n.length}return-1}replace(t,n){let r=[];for(let e of this.tokens)typeof e==`string`?r.push(e.replace(t,n)):r.push(e);return new e(r)}split(e,t){let n=[],r=0,a=0;for(;r<this.length;){let o=!0;for(let t=0;t<e.length;t++)if(this.get(r+t)!==e.charAt(t)){o=!1;break}if(o){if(n.push(this.slice(a,r)),r+=e.length,a=r,t!==void 0&&n.length===t-1)break}else r+=1}return a<=this.length&&n.push(this.slice(a)),n}toLowerCase(){return new e(this.tokens.map(e=>typeof e==`string`?e.toLowerCase():e))}toUpperCase(){return new e(this.tokens.map(e=>typeof e==`string`?e.toUpperCase():e))}trimStart(){let t=[],n,r;for([n,r]of this.tokens.entries())typeof r==`string`?(n===0&&(r=r.trimStart()),r&&t.push(r)):t.push(r);return t.length===0?new e:new e(t)}trimEnd(){let t=[],n,r;for([n,r]of this.tokens.entries())typeof r==`string`?(n===this.tokens.length-1&&(r=r.trimEnd()),r&&t.push(r)):t.push(r);return t.length===0?new e:new e(t)}trim(){let t=[],n,r;for([n,r]of this.tokens.entries())typeof r==`string`?(n===0&&(r=r.trimStart()),n===this.tokens.length-1&&(r=r.trimEnd()),r&&t.push(r)):t.push(r);return t.length===0?new e:new e(t)}isEmpty(){return this.tokens.length===0?!0:this.tokens.length===1&&typeof this.tokens[0]==`string`?this.tokens[0].length===0:!1}toBool(){return!this.isEmpty()}isString(){for(let e of this.tokens)if(typeof e!=`string`)return!1;return!0}firstShellToken(){for(let e of this.tokens)if(typeof e!=`string`)return e;return null}startsWith(e){return this.tokens.length===0?!1:typeof this.tokens[0]==`string`?this.tokens[0].startsWith(e):!1}endsWith(e){if(this.tokens.length===0)return!1;let t=this.tokens[this.tokens.length-1];return typeof t==`string`?t.endsWith(e):!1}toString(){return this.tokens.map(e=>typeof e==`string`?e:e.text).join(``)}};function eq(e,t){return e==null||t==null?e===t:typeof t==`string`?e.tokens.length===1&&typeof e.tokens[0]==`string`&&e.tokens[0]===t:e.tokens.length===t.tokens.length&&e.tokens.every((e,n)=>{let r=t.tokens[n];return typeof e==`string`?e===r:typeof r==`string`?!1:e.text===r.text})}function firstShellToken(e){return typeof e==`string`?null:e.firstShellToken()}function mergeWords(...e){let t=[];for(let n of e)n instanceof Word?t.push(...n.tokens):t.push(n);return new Word(t)}function joinWords(e,t){let n=[];for(let r of e)n.length&&n.push(t),n.push(...r.tokens);return new Word(n)}var require_tree_sitter=__commonJSMin(((exports,module)=>{init_dist$1();var Module=Module===void 0?{}:Module,ENVIRONMENT_IS_WEB=typeof window==`object`,ENVIRONMENT_IS_WORKER=typeof importScripts==`function`,ENVIRONMENT_IS_NODE=typeof process$1==`object`&&typeof process$1.versions==`object`&&typeof process$1.versions.node==`string`,TreeSitter=function(){var initPromise,document=typeof window==`object`?{currentScript:window.document.currentScript}:null;class Parser{constructor(){this.initialize()}initialize(){throw Error("cannot construct a Parser before calling `init()`")}static init(moduleOptions){return initPromise||=(Module=Object.assign({},Module,moduleOptions),new Promise(resolveInitPromise=>{var moduleOverrides=Object.assign({},Module),arguments_=[],thisProgram=`./this.program`,quit_=(e,t)=>{throw t},scriptDirectory=``;function locateFile(e){return Module.locateFile?Module.locateFile(e,scriptDirectory):scriptDirectory+e}var readAsync,readBinary;if(ENVIRONMENT_IS_NODE){var fs=(init_empty(),__toCommonJS(empty_exports)),nodePath=require_path_browserify();scriptDirectory=__dirname+`/`,readBinary=e=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFileSync(e)),readAsync=(e,t=!0)=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),new Promise((n,r)=>{fs.readFile(e,t?void 0:`utf8`,(e,a)=>{e?r(e):n(t?a.buffer:a)})})),!Module.thisProgram&&process$1.argv.length>1&&(thisProgram=process$1.argv[1].replace(/\\/g,`/`)),arguments_=process$1.argv.slice(2),module!==void 0&&(module.exports=Module),quit_=(e,t)=>{throw process$1.exitCode=e,t}}else (ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&(ENVIRONMENT_IS_WORKER?scriptDirectory=self.location.href:document!==void 0&&document.currentScript&&(scriptDirectory=document.currentScript.src),scriptDirectory=scriptDirectory.startsWith(`blob:`)?``:scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,``).lastIndexOf(`/`)+1),ENVIRONMENT_IS_WORKER&&(readBinary=e=>{var t=new XMLHttpRequest;return t.open(`GET`,e,!1),t.responseType=`arraybuffer`,t.send(null),new Uint8Array(t.response)}),readAsync=e=>isFileURI(e)?new Promise((t,n)=>{var r=new XMLHttpRequest;r.open(`GET`,e,!0),r.responseType=`arraybuffer`,r.onload=()=>{(r.status==200||r.status==0&&r.response)&&n(r.response),t(r.status)},r.onerror=t,r.send(null)}):fetch(e,{credentials:`same-origin`}).then(e=>e.ok?e.arrayBuffer():Promise.reject(Error(e.status+` : `+e.url))));var out=Module.print||console.log.bind(console),err=Module.printErr||console.error.bind(console);Object.assign(Module,moduleOverrides),moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit);var dynamicLibraries=Module.dynamicLibraries||[],wasmBinary;Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var wasmMemory,ABORT=!1,EXITSTATUS,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64,HEAP_DATA_VIEW;function updateMemoryViews(){var e=wasmMemory.buffer;Module.HEAP_DATA_VIEW=HEAP_DATA_VIEW=new DataView(e),Module.HEAP8=HEAP8=new Int8Array(e),Module.HEAP16=new Int16Array(e),Module.HEAPU8=HEAPU8=new Uint8Array(e),Module.HEAPU16=new Uint16Array(e),Module.HEAP32=new Int32Array(e),Module.HEAPU32=new Uint32Array(e),Module.HEAPF32=new Float32Array(e),Module.HEAPF64=new Float64Array(e)}if(Module.wasmMemory)wasmMemory=Module.wasmMemory;else{var INITIAL_MEMORY=Module.INITIAL_MEMORY||33554432;wasmMemory=new WebAssembly.Memory({initial:INITIAL_MEMORY/65536,maximum:2147483648/65536})}updateMemoryViews();var __ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATPOSTRUN__=[],__RELOC_FUNCS__=[],runtimeInitialized=!1;function preRun(){if(Module.preRun)for(typeof Module.preRun==`function`&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,callRuntimeCallbacks(__RELOC_FUNCS__),callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function postRun(){if(Module.postRun)for(typeof Module.postRun==`function`&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(e){return e}function addRunDependency(e){runDependencies++,Module.monitorRunDependencies?.(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies?.(runDependencies),runDependencies==0&&(runDependencyWatcher!==null&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var t=dependenciesFulfilled;dependenciesFulfilled=null,t()}}function abort(e){throw Module.onAbort?.(e),e=`Aborted(`+e+`)`,err(e),ABORT=!0,EXITSTATUS=1,e+=`. Build with -sASSERTIONS for more info.`,new WebAssembly.RuntimeError(e)}var dataURIPrefix=`data:application/octet-stream;base64,`,isDataURI=e=>e.startsWith(dataURIPrefix),isFileURI=e=>e.startsWith(`file://`);function findWasmBinary(){var e=`tree-sitter.wasm`;return isDataURI(e)?e:locateFile(e)}var wasmBinaryFile;function getBinarySync(e){if(e==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(e);throw`both async and sync fetching of the wasm failed`}function getBinaryPromise(e){return wasmBinary?Promise.resolve().then(()=>getBinarySync(e)):readAsync(e).then(e=>new Uint8Array(e),()=>getBinarySync(e))}function instantiateArrayBuffer(e,t,n){return getBinaryPromise(e).then(e=>WebAssembly.instantiate(e,t)).then(n,e=>{err(`failed to asynchronously prepare wasm: ${e}`),abort(e)})}function instantiateAsync(e,t,n,r){return!e&&typeof WebAssembly.instantiateStreaming==`function`&&!isDataURI(t)&&!isFileURI(t)&&!ENVIRONMENT_IS_NODE&&typeof fetch==`function`?fetch(t,{credentials:`same-origin`}).then(e=>WebAssembly.instantiateStreaming(e,n).then(r,function(e){return err(`wasm streaming compile failed: ${e}`),err(`falling back to ArrayBuffer instantiation`),instantiateArrayBuffer(t,n,r)})):instantiateArrayBuffer(t,n,r)}function getWasmImports(){return{env:wasmImports,wasi_snapshot_preview1:wasmImports,"GOT.mem":new Proxy(wasmImports,GOTHandler),"GOT.func":new Proxy(wasmImports,GOTHandler)}}function createWasm(){var e=getWasmImports();function t(e,t){wasmExports=e.exports,wasmExports=relocateExports(wasmExports,1024);var n=getDylinkMetadata(t);return n.neededDynlibs&&(dynamicLibraries=n.neededDynlibs.concat(dynamicLibraries)),mergeLibSymbols(wasmExports,`main`),LDSO.init(),loadDylibs(),addOnInit(wasmExports.__wasm_call_ctors),__RELOC_FUNCS__.push(wasmExports.__wasm_apply_data_relocs),removeRunDependency(`wasm-instantiate`),wasmExports}addRunDependency(`wasm-instantiate`);function n(e){t(e.instance,e.module)}if(Module.instantiateWasm)try{return Module.instantiateWasm(e,t)}catch(e){return err(`Module.instantiateWasm callback failed with error: ${e}`),!1}return wasmBinaryFile||=findWasmBinary(),instantiateAsync(wasmBinary,wasmBinaryFile,e,n),{}}var ASM_CONSTS={};function ExitStatus(e){this.name=`ExitStatus`,this.message=`Program terminated with exit(${e})`,this.status=e}var GOT={},currentModuleWeakSymbols=new Set([]),GOTHandler={get(e,t){var n=GOT[t];return n||=GOT[t]=new WebAssembly.Global({value:`i32`,mutable:!0}),currentModuleWeakSymbols.has(t)||(n.required=!0),n}},LE_HEAP_LOAD_F32=e=>HEAP_DATA_VIEW.getFloat32(e,!0),LE_HEAP_LOAD_F64=e=>HEAP_DATA_VIEW.getFloat64(e,!0),LE_HEAP_LOAD_I16=e=>HEAP_DATA_VIEW.getInt16(e,!0),LE_HEAP_LOAD_I32=e=>HEAP_DATA_VIEW.getInt32(e,!0),LE_HEAP_LOAD_U32=e=>HEAP_DATA_VIEW.getUint32(e,!0),LE_HEAP_STORE_F32=(e,t)=>HEAP_DATA_VIEW.setFloat32(e,t,!0),LE_HEAP_STORE_F64=(e,t)=>HEAP_DATA_VIEW.setFloat64(e,t,!0),LE_HEAP_STORE_I16=(e,t)=>HEAP_DATA_VIEW.setInt16(e,t,!0),LE_HEAP_STORE_I32=(e,t)=>HEAP_DATA_VIEW.setInt32(e,t,!0),LE_HEAP_STORE_U32=(e,t)=>HEAP_DATA_VIEW.setUint32(e,t,!0),callRuntimeCallbacks=e=>{for(;e.length>0;)e.shift()(Module)},UTF8Decoder=typeof TextDecoder<`u`?new TextDecoder:void 0,UTF8ArrayToString=(e,t,n)=>{for(var r=t+n,a=t;e[a]&&!(a>=r);)++a;if(a-t>16&&e.buffer&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,a));for(var o=``;t<a;){var s=e[t++];if(!(s&128)){o+=String.fromCharCode(s);continue}var c=e[t++]&63;if((s&224)==192){o+=String.fromCharCode((s&31)<<6|c);continue}var l=e[t++]&63;if(s=(s&240)==224?(s&15)<<12|c<<6|l:(s&7)<<18|c<<12|l<<6|e[t++]&63,s<65536)o+=String.fromCharCode(s);else{var u=s-65536;o+=String.fromCharCode(55296|u>>10,56320|u&1023)}}return o},getDylinkMetadata=e=>{var t=0,n=0;function r(){return e[t++]}function a(){for(var n=0,r=1;;){var a=e[t++];if(n+=(a&127)*r,r*=128,!(a&128))break}return n}function o(){var n=a();return t+=n,UTF8ArrayToString(e,t-n,n)}function s(e,t){if(e)throw Error(t)}var c=`dylink.0`;if(e instanceof WebAssembly.Module){var l=WebAssembly.Module.customSections(e,c);l.length===0&&(c=`dylink`,l=WebAssembly.Module.customSections(e,c)),s(l.length===0,`need dylink section`),e=new Uint8Array(l[0]),n=e.length}else{var u=new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer);s(!(u[0]==1836278016||u[0]==6386541),`need to see wasm magic number`),s(e[8]!==0,`need the dylink section to be first`),t=9;var d=a();n=t+d,c=o()}var f={neededDynlibs:[],tlsExports:new Set,weakImports:new Set};if(c==`dylink`){f.memorySize=a(),f.memoryAlign=a(),f.tableSize=a(),f.tableAlign=a();for(var p=a(),m=0;m<p;++m){var h=o();f.neededDynlibs.push(h)}}else{s(c!==`dylink.0`);for(var g=1,_=2,v=3,y=4,b=256,x=3,S=1;t<n;){var w=r(),T=a();if(w===g)f.memorySize=a(),f.memoryAlign=a(),f.tableSize=a(),f.tableAlign=a();else if(w===_)for(var p=a(),m=0;m<p;++m)h=o(),f.neededDynlibs.push(h);else if(w===v)for(var E=a();E--;){var D=o(),O=a();O&b&&f.tlsExports.add(D)}else if(w===y)for(var E=a();E--;){var k=o(),D=o(),O=a();(O&x)==S&&f.weakImports.add(D)}else t+=T}}return f};function getValue(e,t=`i8`){switch(t.endsWith(`*`)&&(t=`*`),t){case`i1`:return HEAP8[e];case`i8`:return HEAP8[e];case`i16`:return LE_HEAP_LOAD_I16((e>>1)*2);case`i32`:return LE_HEAP_LOAD_I32((e>>2)*4);case`i64`:abort(`to do getValue(i64) use WASM_BIGINT`);case`float`:return LE_HEAP_LOAD_F32((e>>2)*4);case`double`:return LE_HEAP_LOAD_F64((e>>3)*8);case`*`:return LE_HEAP_LOAD_U32((e>>2)*4);default:abort(`invalid type for getValue: ${t}`)}}var newDSO=(e,t,n)=>{var r={refcount:1/0,name:e,exports:n,global:!0};return LDSO.loadedLibsByName[e]=r,t!=null&&(LDSO.loadedLibsByHandle[t]=r),r},LDSO={loadedLibsByName:{},loadedLibsByHandle:{},init(){newDSO(`__main__`,0,wasmImports)}},___heap_base=78112,zeroMemory=(e,t)=>(HEAPU8.fill(0,e,e+t),e),alignMemory=(e,t)=>Math.ceil(e/t)*t,getMemory=e=>{if(runtimeInitialized)return zeroMemory(_malloc(e),e);var t=___heap_base,n=t+alignMemory(e,16);return ___heap_base=n,GOT.__heap_base.value=n,t},isInternalSym=e=>[`__cpp_exception`,`__c_longjmp`,`__wasm_apply_data_relocs`,`__dso_handle`,`__tls_size`,`__tls_align`,`__set_stack_limits`,`_emscripten_tls_init`,`__wasm_init_tls`,`__wasm_call_ctors`,`__start_em_asm`,`__stop_em_asm`,`__start_em_js`,`__stop_em_js`].includes(e)||e.startsWith(`__em_js__`),uleb128Encode=(e,t)=>{e<128?t.push(e):t.push(e%128|128,e>>7)},sigToWasmTypes=e=>{for(var t={i:`i32`,j:`i64`,f:`f32`,d:`f64`,e:`externref`,p:`i32`},n={parameters:[],results:e[0]==`v`?[]:[t[e[0]]]},r=1;r<e.length;++r)n.parameters.push(t[e[r]]);return n},generateFuncType=(e,t)=>{var n=e.slice(0,1),r=e.slice(1),a={i:127,p:127,j:126,f:125,d:124,e:111};t.push(96),uleb128Encode(r.length,t);for(var o=0;o<r.length;++o)t.push(a[r[o]]);n==`v`?t.push(0):t.push(1,a[n])},convertJsFunctionToWasm=(e,t)=>{if(typeof WebAssembly.Function==`function`)return new WebAssembly.Function(sigToWasmTypes(t),e);var n=[1];generateFuncType(t,n);var r=[0,97,115,109,1,0,0,0,1];uleb128Encode(n.length,r),r.push(...n),r.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var a=new WebAssembly.Module(new Uint8Array(r));return new WebAssembly.Instance(a,{e:{f:e}}).exports.f},wasmTableMirror=[],wasmTable=new WebAssembly.Table({initial:28,element:`anyfunc`}),getWasmTableEntry=e=>{var t=wasmTableMirror[e];return t||(e>=wasmTableMirror.length&&(wasmTableMirror.length=e+1),wasmTableMirror[e]=t=wasmTable.get(e)),t},updateTableMap=(e,t)=>{if(functionsInTableMap)for(var n=e;n<e+t;n++){var r=getWasmTableEntry(n);r&&functionsInTableMap.set(r,n)}},functionsInTableMap,getFunctionAddress=e=>(functionsInTableMap||(functionsInTableMap=new WeakMap,updateTableMap(0,wasmTable.length)),functionsInTableMap.get(e)||0),freeTableIndexes=[],getEmptyTableSlot=()=>{if(freeTableIndexes.length)return freeTableIndexes.pop();try{wasmTable.grow(1)}catch(e){throw e instanceof RangeError?`Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.`:e}return wasmTable.length-1},setWasmTableEntry=(e,t)=>{wasmTable.set(e,t),wasmTableMirror[e]=wasmTable.get(e)},addFunction=(e,t)=>{var n=getFunctionAddress(e);if(n)return n;var r=getEmptyTableSlot();try{setWasmTableEntry(r,e)}catch(n){if(!(n instanceof TypeError))throw n;setWasmTableEntry(r,convertJsFunctionToWasm(e,t))}return functionsInTableMap.set(e,r),r},updateGOT=(e,t)=>{for(var n in e)if(!isInternalSym(n)){var r=e[n];n.startsWith(`orig$`)&&(n=n.split(`$`)[1],t=!0),GOT[n]||=new WebAssembly.Global({value:`i32`,mutable:!0}),(t||GOT[n].value==0)&&(typeof r==`function`?GOT[n].value=addFunction(r):typeof r==`number`?GOT[n].value=r:err(`unhandled export type for '${n}': ${typeof r}`))}},relocateExports=(e,t,n)=>{var r={};for(var a in e){var o=e[a];typeof o==`object`&&(o=o.value),typeof o==`number`&&(o+=t),r[a]=o}return updateGOT(r,n),r},isSymbolDefined=e=>{var t=wasmImports[e];return!(!t||t.stub)},dynCallLegacy=(e,t,n)=>{e=e.replace(/p/g,`i`);var r=Module[`dynCall_`+e];return r(t,...n)},dynCall=(e,t,n=[])=>e.includes(`j`)?dynCallLegacy(e,t,n):getWasmTableEntry(t)(...n),stackSave=()=>_emscripten_stack_get_current(),stackRestore=e=>__emscripten_stack_restore(e),createInvokeFunction=e=>(t,...n)=>{var r=stackSave();try{return dynCall(e,t,n)}catch(e){if(stackRestore(r),e!==e+0)throw e;_setThrew(1,0)}},resolveGlobalSymbol=(e,t=!1)=>{var n;return t&&`orig$`+e in wasmImports&&(e=`orig$`+e),isSymbolDefined(e)?n=wasmImports[e]:e.startsWith(`invoke_`)&&(n=wasmImports[e]=createInvokeFunction(e.split(`_`)[1])),{sym:n,name:e}},UTF8ToString=(e,t)=>e?UTF8ArrayToString(HEAPU8,e,t):``,loadWebAssemblyModule=(binary,flags,libName,localScope,handle)=>{var metadata=getDylinkMetadata(binary);currentModuleWeakSymbols=metadata.weakImports;function loadModule(){var firstLoad=!handle||!HEAP8[handle+8];if(firstLoad){var memAlign=2**metadata.memoryAlign,memoryBase=metadata.memorySize?alignMemory(getMemory(metadata.memorySize+memAlign),memAlign):0,tableBase=metadata.tableSize?wasmTable.length:0;handle&&(HEAP8[handle+8]=1,LE_HEAP_STORE_U32((handle+12>>2)*4,memoryBase),LE_HEAP_STORE_I32((handle+16>>2)*4,metadata.memorySize),LE_HEAP_STORE_U32((handle+20>>2)*4,tableBase),LE_HEAP_STORE_I32((handle+24>>2)*4,metadata.tableSize))}else memoryBase=LE_HEAP_LOAD_U32((handle+12>>2)*4),tableBase=LE_HEAP_LOAD_U32((handle+20>>2)*4);var tableGrowthNeeded=tableBase+metadata.tableSize-wasmTable.length;tableGrowthNeeded>0&&wasmTable.grow(tableGrowthNeeded);var moduleExports;function resolveSymbol(e){var t=resolveGlobalSymbol(e).sym;return!t&&localScope&&(t=localScope[e]),t||=moduleExports[e],t}var proxyHandler={get(e,t){switch(t){case`__memory_base`:return memoryBase;case`__table_base`:return tableBase}if(t in wasmImports&&!wasmImports[t].stub)return wasmImports[t];if(!(t in e)){var n;e[t]=(...e)=>(n||=resolveSymbol(t),n(...e))}return e[t]}},proxy=new Proxy({},proxyHandler),info={"GOT.mem":new Proxy({},GOTHandler),"GOT.func":new Proxy({},GOTHandler),env:proxy,wasi_snapshot_preview1:proxy};function postInstantiation(module$4,instance){updateTableMap(tableBase,metadata.tableSize),moduleExports=relocateExports(instance.exports,memoryBase),flags.allowUndefined||reportUndefinedSymbols();function addEmAsm(addr,body){for(var args=[],arity=0;arity<16&&body.indexOf(`$`+arity)!=-1;arity++)args.push(`$`+arity);args=args.join(`,`);var func=`(${args}) => { ${body} };`;ASM_CONSTS[start]=eval(func)}if(`__start_em_asm`in moduleExports)for(var start=moduleExports.__start_em_asm,stop=moduleExports.__stop_em_asm;start<stop;){var jsString=UTF8ToString(start);addEmAsm(start,jsString),start=HEAPU8.indexOf(0,start)+1}function addEmJs(name,cSig,body){var jsArgs=[];if(cSig=cSig.slice(1,-1),cSig!=`void`)for(var i in cSig=cSig.split(`,`),cSig){var jsArg=cSig[i].split(` `).pop();jsArgs.push(jsArg.replace(`*`,``))}var func=`(${jsArgs}) => ${body};`;moduleExports[name]=eval(func)}for(var name in moduleExports)if(name.startsWith(`__em_js__`)){var start=moduleExports[name],jsString=UTF8ToString(start),parts=jsString.split(`<::>`);addEmJs(name.replace(`__em_js__`,``),parts[0],parts[1]),delete moduleExports[name]}var applyRelocs=moduleExports.__wasm_apply_data_relocs;applyRelocs&&(runtimeInitialized?applyRelocs():__RELOC_FUNCS__.push(applyRelocs));var init=moduleExports.__wasm_call_ctors;return init&&(runtimeInitialized?init():__ATINIT__.push(init)),moduleExports}if(flags.loadAsync){if(binary instanceof WebAssembly.Module){var instance=new WebAssembly.Instance(binary,info);return Promise.resolve(postInstantiation(binary,instance))}return WebAssembly.instantiate(binary,info).then(e=>postInstantiation(e.module,e.instance))}var module$3=binary instanceof WebAssembly.Module?binary:new WebAssembly.Module(binary),instance=new WebAssembly.Instance(module$3,info);return postInstantiation(module$3,instance)}return flags.loadAsync?metadata.neededDynlibs.reduce((e,t)=>e.then(()=>loadDynamicLibrary(t,flags,localScope)),Promise.resolve()).then(loadModule):(metadata.neededDynlibs.forEach(e=>loadDynamicLibrary(e,flags,localScope)),loadModule())},mergeLibSymbols=(e,t)=>{for(var[n,r]of Object.entries(e)){let e=e=>{isSymbolDefined(e)||(wasmImports[e]=r)};e(n);let t=`__main_argc_argv`;n==`main`&&e(t),n==t&&e(`main`),n.startsWith(`dynCall_`)&&!Module.hasOwnProperty(n)&&(Module[n]=r)}},asyncLoad=(e,t,n,r)=>{var a=r?``:getUniqueRunDependency(`al ${e}`);readAsync(e).then(e=>{t(new Uint8Array(e)),a&&removeRunDependency(a)},t=>{if(n)n();else throw`Loading data file "${e}" failed.`}),a&&addRunDependency(a)};function loadDynamicLibrary(e,t={global:!0,nodelete:!0},n,r){var a=LDSO.loadedLibsByName[e];if(a)return t.global?a.global||(a.global=!0,mergeLibSymbols(a.exports,e)):n&&Object.assign(n,a.exports),t.nodelete&&a.refcount!==1/0&&(a.refcount=1/0),a.refcount++,r&&(LDSO.loadedLibsByHandle[r]=a),t.loadAsync?Promise.resolve(!0):!0;a=newDSO(e,r,`loading`),a.refcount=t.nodelete?1/0:1,a.global=t.global;function o(){if(r){var n=LE_HEAP_LOAD_U32((r+28>>2)*4),a=LE_HEAP_LOAD_U32((r+32>>2)*4);if(n&&a){var o=HEAP8.slice(n,n+a);return t.loadAsync?Promise.resolve(o):o}}var s=locateFile(e);if(t.loadAsync)return new Promise(function(e,t){asyncLoad(s,e,t)});if(!readBinary)throw Error(`${s}: file not found, and synchronous loading of external files is not available`);return readBinary(s)}function s(){return t.loadAsync?o().then(a=>loadWebAssemblyModule(a,t,e,n,r)):loadWebAssemblyModule(o(),t,e,n,r)}function c(t){a.global?mergeLibSymbols(t,e):n&&Object.assign(n,t),a.exports=t}return t.loadAsync?s().then(e=>(c(e),!0)):(c(s()),!0)}var reportUndefinedSymbols=()=>{for(var[e,t]of Object.entries(GOT))if(t.value==0){var n=resolveGlobalSymbol(e,!0).sym;if(!n&&!t.required)continue;if(typeof n==`function`)t.value=addFunction(n,n.sig);else if(typeof n==`number`)t.value=n;else throw Error(`bad export type for '${e}': ${typeof n}`)}},loadDylibs=()=>{if(!dynamicLibraries.length){reportUndefinedSymbols();return}addRunDependency(`loadDylibs`),dynamicLibraries.reduce((e,t)=>e.then(()=>loadDynamicLibrary(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})),Promise.resolve()).then(()=>{reportUndefinedSymbols(),removeRunDependency(`loadDylibs`)})},noExitRuntime=Module.noExitRuntime||!0;function setValue(e,t,n=`i8`){switch(n.endsWith(`*`)&&(n=`*`),n){case`i1`:HEAP8[e]=t;break;case`i8`:HEAP8[e]=t;break;case`i16`:LE_HEAP_STORE_I16((e>>1)*2,t);break;case`i32`:LE_HEAP_STORE_I32((e>>2)*4,t);break;case`i64`:abort(`to do setValue(i64) use WASM_BIGINT`);case`float`:LE_HEAP_STORE_F32((e>>2)*4,t);break;case`double`:LE_HEAP_STORE_F64((e>>3)*8,t);break;case`*`:LE_HEAP_STORE_U32((e>>2)*4,t);break;default:abort(`invalid type for setValue: ${n}`)}}var ___memory_base=new WebAssembly.Global({value:`i32`,mutable:!1},1024),___stack_pointer=new WebAssembly.Global({value:`i32`,mutable:!0},78112),___table_base=new WebAssembly.Global({value:`i32`,mutable:!1},1),__abort_js=()=>{abort(``)};__abort_js.sig=`v`;var nowIsMonotonic=1,__emscripten_get_now_is_monotonic=()=>nowIsMonotonic;__emscripten_get_now_is_monotonic.sig=`i`;var __emscripten_memcpy_js=(e,t,n)=>HEAPU8.copyWithin(e,t,t+n);__emscripten_memcpy_js.sig=`vppp`;var _emscripten_date_now=()=>Date.now();_emscripten_date_now.sig=`d`;var _emscripten_get_now=()=>performance.now();_emscripten_get_now.sig=`d`;var getHeapMax=()=>2147483648,growMemory=e=>{var t=(e-wasmMemory.buffer.byteLength+65535)/65536;try{return wasmMemory.grow(t),updateMemoryViews(),1}catch{}},_emscripten_resize_heap=e=>{var t=HEAPU8.length;e>>>=0;var n=getHeapMax();if(e>n)return!1;for(var r=(e,t)=>e+(t-e%t)%t,a=1;a<=4;a*=2){var o=t*(1+.2/a);if(o=Math.min(o,e+100663296),growMemory(Math.min(n,r(Math.max(e,o),65536))))return!0}return!1};_emscripten_resize_heap.sig=`ip`;var _fd_close=e=>52;_fd_close.sig=`ii`;var convertI32PairToI53Checked=(e,t)=>t+2097152>>>0<4194305-!!e?(e>>>0)+t*4294967296:NaN;function _fd_seek(e,t,n,r,a){var o=convertI32PairToI53Checked(t,n);return 70}_fd_seek.sig=`iiiiip`;var printCharBuffers=[null,[],[]],printChar=(e,t)=>{var n=printCharBuffers[e];t===0||t===10?((e===1?out:err)(UTF8ArrayToString(n,0)),n.length=0):n.push(t)},_fd_write=(e,t,n,r)=>{for(var a=0,o=0;o<n;o++){var s=LE_HEAP_LOAD_U32((t>>2)*4),c=LE_HEAP_LOAD_U32((t+4>>2)*4);t+=8;for(var l=0;l<c;l++)printChar(e,HEAPU8[s+l]);a+=c}return LE_HEAP_STORE_U32((r>>2)*4,a),0};_fd_write.sig=`iippp`;function _tree_sitter_log_callback(e,t){if(currentLogCallback){let n=UTF8ToString(t);currentLogCallback(n,e!==0)}}function _tree_sitter_parse_callback(e,t,n,r,a){let o=10*1024,s=currentParseCallback(t,{row:n,column:r});typeof s==`string`?(setValue(a,s.length,`i32`),stringToUTF16(s,e,10240)):setValue(a,0,`i32`)}var runtimeKeepaliveCounter=0,keepRuntimeAlive=()=>noExitRuntime||runtimeKeepaliveCounter>0,_proc_exit=e=>{EXITSTATUS=e,keepRuntimeAlive()||(Module.onExit?.(e),ABORT=!0),quit_(e,new ExitStatus(e))};_proc_exit.sig=`vi`;var exitJS=(e,t)=>{EXITSTATUS=e,_proc_exit(e)},handleException=e=>{if(e instanceof ExitStatus||e==`unwind`)return EXITSTATUS;quit_(1,e)},lengthBytesUTF8=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);r<=127?t++:r<=2047?t+=2:r>=55296&&r<=57343?(t+=4,++n):t+=3}return t},stringToUTF8Array=(e,t,n,r)=>{if(!(r>0))return 0;for(var a=n,o=n+r-1,s=0;s<e.length;++s){var c=e.charCodeAt(s);if(c>=55296&&c<=57343){var l=e.charCodeAt(++s);c=65536+((c&1023)<<10)|l&1023}if(c<=127){if(n>=o)break;t[n++]=c}else if(c<=2047){if(n+1>=o)break;t[n++]=192|c>>6,t[n++]=128|c&63}else if(c<=65535){if(n+2>=o)break;t[n++]=224|c>>12,t[n++]=128|c>>6&63,t[n++]=128|c&63}else{if(n+3>=o)break;t[n++]=240|c>>18,t[n++]=128|c>>12&63,t[n++]=128|c>>6&63,t[n++]=128|c&63}}return t[n]=0,n-a},stringToUTF8=(e,t,n)=>stringToUTF8Array(e,HEAPU8,t,n),stackAlloc=e=>__emscripten_stack_alloc(e),stringToUTF8OnStack=e=>{var t=lengthBytesUTF8(e)+1,n=stackAlloc(t);return stringToUTF8(e,n,t),n},stringToUTF16=(e,t,n)=>{if(n??=2147483647,n<2)return 0;n-=2;for(var r=t,a=n<e.length*2?n/2:e.length,o=0;o<a;++o){var s=e.charCodeAt(o);LE_HEAP_STORE_I16((t>>1)*2,s),t+=2}return LE_HEAP_STORE_I16((t>>1)*2,0),t-r},AsciiToString=e=>{for(var t=``;;){var n=HEAPU8[e++];if(!n)return t;t+=String.fromCharCode(n)}},wasmImports={__heap_base:___heap_base,__indirect_function_table:wasmTable,__memory_base:___memory_base,__stack_pointer:___stack_pointer,__table_base:___table_base,_abort_js:__abort_js,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,_emscripten_memcpy_js:__emscripten_memcpy_js,emscripten_get_now:_emscripten_get_now,emscripten_resize_heap:_emscripten_resize_heap,fd_close:_fd_close,fd_seek:_fd_seek,fd_write:_fd_write,memory:wasmMemory,tree_sitter_log_callback:_tree_sitter_log_callback,tree_sitter_parse_callback:_tree_sitter_parse_callback},wasmExports=createWasm(),___wasm_call_ctors=()=>(___wasm_call_ctors=wasmExports.__wasm_call_ctors)(),___wasm_apply_data_relocs=()=>(___wasm_apply_data_relocs=wasmExports.__wasm_apply_data_relocs)(),_malloc=Module._malloc=e=>(_malloc=Module._malloc=wasmExports.malloc)(e),_calloc=Module._calloc=(e,t)=>(_calloc=Module._calloc=wasmExports.calloc)(e,t),_realloc=Module._realloc=(e,t)=>(_realloc=Module._realloc=wasmExports.realloc)(e,t),_free=Module._free=e=>(_free=Module._free=wasmExports.free)(e),_ts_language_symbol_count=Module._ts_language_symbol_count=e=>(_ts_language_symbol_count=Module._ts_language_symbol_count=wasmExports.ts_language_symbol_count)(e),_ts_language_state_count=Module._ts_language_state_count=e=>(_ts_language_state_count=Module._ts_language_state_count=wasmExports.ts_language_state_count)(e),_ts_language_version=Module._ts_language_version=e=>(_ts_language_version=Module._ts_language_version=wasmExports.ts_language_version)(e),_ts_language_field_count=Module._ts_language_field_count=e=>(_ts_language_field_count=Module._ts_language_field_count=wasmExports.ts_language_field_count)(e),_ts_language_next_state=Module._ts_language_next_state=(e,t,n)=>(_ts_language_next_state=Module._ts_language_next_state=wasmExports.ts_language_next_state)(e,t,n),_ts_language_symbol_name=Module._ts_language_symbol_name=(e,t)=>(_ts_language_symbol_name=Module._ts_language_symbol_name=wasmExports.ts_language_symbol_name)(e,t),_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=(e,t,n,r)=>(_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=wasmExports.ts_language_symbol_for_name)(e,t,n,r),_strncmp=Module._strncmp=(e,t,n)=>(_strncmp=Module._strncmp=wasmExports.strncmp)(e,t,n),_ts_language_symbol_type=Module._ts_language_symbol_type=(e,t)=>(_ts_language_symbol_type=Module._ts_language_symbol_type=wasmExports.ts_language_symbol_type)(e,t),_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=(e,t)=>(_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=wasmExports.ts_language_field_name_for_id)(e,t),_ts_lookahead_iterator_new=Module._ts_lookahead_iterator_new=(e,t)=>(_ts_lookahead_iterator_new=Module._ts_lookahead_iterator_new=wasmExports.ts_lookahead_iterator_new)(e,t),_ts_lookahead_iterator_delete=Module._ts_lookahead_iterator_delete=e=>(_ts_lookahead_iterator_delete=Module._ts_lookahead_iterator_delete=wasmExports.ts_lookahead_iterator_delete)(e),_ts_lookahead_iterator_reset_state=Module._ts_lookahead_iterator_reset_state=(e,t)=>(_ts_lookahead_iterator_reset_state=Module._ts_lookahead_iterator_reset_state=wasmExports.ts_lookahead_iterator_reset_state)(e,t),_ts_lookahead_iterator_reset=Module._ts_lookahead_iterator_reset=(e,t,n)=>(_ts_lookahead_iterator_reset=Module._ts_lookahead_iterator_reset=wasmExports.ts_lookahead_iterator_reset)(e,t,n),_ts_lookahead_iterator_next=Module._ts_lookahead_iterator_next=e=>(_ts_lookahead_iterator_next=Module._ts_lookahead_iterator_next=wasmExports.ts_lookahead_iterator_next)(e),_ts_lookahead_iterator_current_symbol=Module._ts_lookahead_iterator_current_symbol=e=>(_ts_lookahead_iterator_current_symbol=Module._ts_lookahead_iterator_current_symbol=wasmExports.ts_lookahead_iterator_current_symbol)(e),_memset=Module._memset=(e,t,n)=>(_memset=Module._memset=wasmExports.memset)(e,t,n),_memcpy=Module._memcpy=(e,t,n)=>(_memcpy=Module._memcpy=wasmExports.memcpy)(e,t,n),_ts_parser_delete=Module._ts_parser_delete=e=>(_ts_parser_delete=Module._ts_parser_delete=wasmExports.ts_parser_delete)(e),_ts_parser_reset=Module._ts_parser_reset=e=>(_ts_parser_reset=Module._ts_parser_reset=wasmExports.ts_parser_reset)(e),_ts_parser_set_language=Module._ts_parser_set_language=(e,t)=>(_ts_parser_set_language=Module._ts_parser_set_language=wasmExports.ts_parser_set_language)(e,t),_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=e=>(_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=wasmExports.ts_parser_timeout_micros)(e),_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=(e,t,n)=>(_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=wasmExports.ts_parser_set_timeout_micros)(e,t,n),_ts_parser_set_included_ranges=Module._ts_parser_set_included_ranges=(e,t,n)=>(_ts_parser_set_included_ranges=Module._ts_parser_set_included_ranges=wasmExports.ts_parser_set_included_ranges)(e,t,n),_memmove=Module._memmove=(e,t,n)=>(_memmove=Module._memmove=wasmExports.memmove)(e,t,n),_memcmp=Module._memcmp=(e,t,n)=>(_memcmp=Module._memcmp=wasmExports.memcmp)(e,t,n),_ts_query_new=Module._ts_query_new=(e,t,n,r,a)=>(_ts_query_new=Module._ts_query_new=wasmExports.ts_query_new)(e,t,n,r,a),_ts_query_delete=Module._ts_query_delete=e=>(_ts_query_delete=Module._ts_query_delete=wasmExports.ts_query_delete)(e),_iswspace=Module._iswspace=e=>(_iswspace=Module._iswspace=wasmExports.iswspace)(e),_iswalnum=Module._iswalnum=e=>(_iswalnum=Module._iswalnum=wasmExports.iswalnum)(e),_ts_query_pattern_count=Module._ts_query_pattern_count=e=>(_ts_query_pattern_count=Module._ts_query_pattern_count=wasmExports.ts_query_pattern_count)(e),_ts_query_capture_count=Module._ts_query_capture_count=e=>(_ts_query_capture_count=Module._ts_query_capture_count=wasmExports.ts_query_capture_count)(e),_ts_query_string_count=Module._ts_query_string_count=e=>(_ts_query_string_count=Module._ts_query_string_count=wasmExports.ts_query_string_count)(e),_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=(e,t,n)=>(_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=wasmExports.ts_query_capture_name_for_id)(e,t,n),_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=(e,t,n)=>(_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=wasmExports.ts_query_string_value_for_id)(e,t,n),_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=(e,t,n)=>(_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=wasmExports.ts_query_predicates_for_pattern)(e,t,n),_ts_query_disable_capture=Module._ts_query_disable_capture=(e,t,n)=>(_ts_query_disable_capture=Module._ts_query_disable_capture=wasmExports.ts_query_disable_capture)(e,t,n),_ts_tree_copy=Module._ts_tree_copy=e=>(_ts_tree_copy=Module._ts_tree_copy=wasmExports.ts_tree_copy)(e),_ts_tree_delete=Module._ts_tree_delete=e=>(_ts_tree_delete=Module._ts_tree_delete=wasmExports.ts_tree_delete)(e),_ts_init=Module._ts_init=()=>(_ts_init=Module._ts_init=wasmExports.ts_init)(),_ts_parser_new_wasm=Module._ts_parser_new_wasm=()=>(_ts_parser_new_wasm=Module._ts_parser_new_wasm=wasmExports.ts_parser_new_wasm)(),_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=(e,t)=>(_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=wasmExports.ts_parser_enable_logger_wasm)(e,t),_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=(e,t,n,r,a)=>(_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=wasmExports.ts_parser_parse_wasm)(e,t,n,r,a),_ts_parser_included_ranges_wasm=Module._ts_parser_included_ranges_wasm=e=>(_ts_parser_included_ranges_wasm=Module._ts_parser_included_ranges_wasm=wasmExports.ts_parser_included_ranges_wasm)(e),_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=(e,t)=>(_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=wasmExports.ts_language_type_is_named_wasm)(e,t),_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=(e,t)=>(_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=wasmExports.ts_language_type_is_visible_wasm)(e,t),_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=e=>(_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=wasmExports.ts_tree_root_node_wasm)(e),_ts_tree_root_node_with_offset_wasm=Module._ts_tree_root_node_with_offset_wasm=e=>(_ts_tree_root_node_with_offset_wasm=Module._ts_tree_root_node_with_offset_wasm=wasmExports.ts_tree_root_node_with_offset_wasm)(e),_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=e=>(_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=wasmExports.ts_tree_edit_wasm)(e),_ts_tree_included_ranges_wasm=Module._ts_tree_included_ranges_wasm=e=>(_ts_tree_included_ranges_wasm=Module._ts_tree_included_ranges_wasm=wasmExports.ts_tree_included_ranges_wasm)(e),_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=(e,t)=>(_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=wasmExports.ts_tree_get_changed_ranges_wasm)(e,t),_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=e=>(_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=wasmExports.ts_tree_cursor_new_wasm)(e),_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=e=>(_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=wasmExports.ts_tree_cursor_delete_wasm)(e),_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=e=>(_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=wasmExports.ts_tree_cursor_reset_wasm)(e),_ts_tree_cursor_reset_to_wasm=Module._ts_tree_cursor_reset_to_wasm=(e,t)=>(_ts_tree_cursor_reset_to_wasm=Module._ts_tree_cursor_reset_to_wasm=wasmExports.ts_tree_cursor_reset_to_wasm)(e,t),_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=e=>(_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=wasmExports.ts_tree_cursor_goto_first_child_wasm)(e),_ts_tree_cursor_goto_last_child_wasm=Module._ts_tree_cursor_goto_last_child_wasm=e=>(_ts_tree_cursor_goto_last_child_wasm=Module._ts_tree_cursor_goto_last_child_wasm=wasmExports.ts_tree_cursor_goto_last_child_wasm)(e),_ts_tree_cursor_goto_first_child_for_index_wasm=Module._ts_tree_cursor_goto_first_child_for_index_wasm=e=>(_ts_tree_cursor_goto_first_child_for_index_wasm=Module._ts_tree_cursor_goto_first_child_for_index_wasm=wasmExports.ts_tree_cursor_goto_first_child_for_index_wasm)(e),_ts_tree_cursor_goto_first_child_for_position_wasm=Module._ts_tree_cursor_goto_first_child_for_position_wasm=e=>(_ts_tree_cursor_goto_first_child_for_position_wasm=Module._ts_tree_cursor_goto_first_child_for_position_wasm=wasmExports.ts_tree_cursor_goto_first_child_for_position_wasm)(e),_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=e=>(_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=wasmExports.ts_tree_cursor_goto_next_sibling_wasm)(e),_ts_tree_cursor_goto_previous_sibling_wasm=Module._ts_tree_cursor_goto_previous_sibling_wasm=e=>(_ts_tree_cursor_goto_previous_sibling_wasm=Module._ts_tree_cursor_goto_previous_sibling_wasm=wasmExports.ts_tree_cursor_goto_previous_sibling_wasm)(e),_ts_tree_cursor_goto_descendant_wasm=Module._ts_tree_cursor_goto_descendant_wasm=(e,t)=>(_ts_tree_cursor_goto_descendant_wasm=Module._ts_tree_cursor_goto_descendant_wasm=wasmExports.ts_tree_cursor_goto_descendant_wasm)(e,t),_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=e=>(_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=wasmExports.ts_tree_cursor_goto_parent_wasm)(e),_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=e=>(_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=wasmExports.ts_tree_cursor_current_node_type_id_wasm)(e),_ts_tree_cursor_current_node_state_id_wasm=Module._ts_tree_cursor_current_node_state_id_wasm=e=>(_ts_tree_cursor_current_node_state_id_wasm=Module._ts_tree_cursor_current_node_state_id_wasm=wasmExports.ts_tree_cursor_current_node_state_id_wasm)(e),_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=e=>(_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=wasmExports.ts_tree_cursor_current_node_is_named_wasm)(e),_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=e=>(_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=wasmExports.ts_tree_cursor_current_node_is_missing_wasm)(e),_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=e=>(_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=wasmExports.ts_tree_cursor_current_node_id_wasm)(e),_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=e=>(_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=wasmExports.ts_tree_cursor_start_position_wasm)(e),_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=e=>(_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=wasmExports.ts_tree_cursor_end_position_wasm)(e),_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=e=>(_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=wasmExports.ts_tree_cursor_start_index_wasm)(e),_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=e=>(_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=wasmExports.ts_tree_cursor_end_index_wasm)(e),_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=e=>(_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=wasmExports.ts_tree_cursor_current_field_id_wasm)(e),_ts_tree_cursor_current_depth_wasm=Module._ts_tree_cursor_current_depth_wasm=e=>(_ts_tree_cursor_current_depth_wasm=Module._ts_tree_cursor_current_depth_wasm=wasmExports.ts_tree_cursor_current_depth_wasm)(e),_ts_tree_cursor_current_descendant_index_wasm=Module._ts_tree_cursor_current_descendant_index_wasm=e=>(_ts_tree_cursor_current_descendant_index_wasm=Module._ts_tree_cursor_current_descendant_index_wasm=wasmExports.ts_tree_cursor_current_descendant_index_wasm)(e),_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=e=>(_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=wasmExports.ts_tree_cursor_current_node_wasm)(e),_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=e=>(_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=wasmExports.ts_node_symbol_wasm)(e),_ts_node_field_name_for_child_wasm=Module._ts_node_field_name_for_child_wasm=(e,t)=>(_ts_node_field_name_for_child_wasm=Module._ts_node_field_name_for_child_wasm=wasmExports.ts_node_field_name_for_child_wasm)(e,t),_ts_node_children_by_field_id_wasm=Module._ts_node_children_by_field_id_wasm=(e,t)=>(_ts_node_children_by_field_id_wasm=Module._ts_node_children_by_field_id_wasm=wasmExports.ts_node_children_by_field_id_wasm)(e,t),_ts_node_first_child_for_byte_wasm=Module._ts_node_first_child_for_byte_wasm=e=>(_ts_node_first_child_for_byte_wasm=Module._ts_node_first_child_for_byte_wasm=wasmExports.ts_node_first_child_for_byte_wasm)(e),_ts_node_first_named_child_for_byte_wasm=Module._ts_node_first_named_child_for_byte_wasm=e=>(_ts_node_first_named_child_for_byte_wasm=Module._ts_node_first_named_child_for_byte_wasm=wasmExports.ts_node_first_named_child_for_byte_wasm)(e),_ts_node_grammar_symbol_wasm=Module._ts_node_grammar_symbol_wasm=e=>(_ts_node_grammar_symbol_wasm=Module._ts_node_grammar_symbol_wasm=wasmExports.ts_node_grammar_symbol_wasm)(e),_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=e=>(_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=wasmExports.ts_node_child_count_wasm)(e),_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=e=>(_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=wasmExports.ts_node_named_child_count_wasm)(e),_ts_node_child_wasm=Module._ts_node_child_wasm=(e,t)=>(_ts_node_child_wasm=Module._ts_node_child_wasm=wasmExports.ts_node_child_wasm)(e,t),_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=(e,t)=>(_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=wasmExports.ts_node_named_child_wasm)(e,t),_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=(e,t)=>(_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=wasmExports.ts_node_child_by_field_id_wasm)(e,t),_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=e=>(_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=wasmExports.ts_node_next_sibling_wasm)(e),_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=e=>(_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=wasmExports.ts_node_prev_sibling_wasm)(e),_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=e=>(_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=wasmExports.ts_node_next_named_sibling_wasm)(e),_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=e=>(_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=wasmExports.ts_node_prev_named_sibling_wasm)(e),_ts_node_descendant_count_wasm=Module._ts_node_descendant_count_wasm=e=>(_ts_node_descendant_count_wasm=Module._ts_node_descendant_count_wasm=wasmExports.ts_node_descendant_count_wasm)(e),_ts_node_parent_wasm=Module._ts_node_parent_wasm=e=>(_ts_node_parent_wasm=Module._ts_node_parent_wasm=wasmExports.ts_node_parent_wasm)(e),_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=e=>(_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=wasmExports.ts_node_descendant_for_index_wasm)(e),_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=e=>(_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=wasmExports.ts_node_named_descendant_for_index_wasm)(e),_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=e=>(_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=wasmExports.ts_node_descendant_for_position_wasm)(e),_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=e=>(_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=wasmExports.ts_node_named_descendant_for_position_wasm)(e),_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=e=>(_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=wasmExports.ts_node_start_point_wasm)(e),_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=e=>(_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=wasmExports.ts_node_end_point_wasm)(e),_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=e=>(_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=wasmExports.ts_node_start_index_wasm)(e),_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=e=>(_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=wasmExports.ts_node_end_index_wasm)(e),_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=e=>(_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=wasmExports.ts_node_to_string_wasm)(e),_ts_node_children_wasm=Module._ts_node_children_wasm=e=>(_ts_node_children_wasm=Module._ts_node_children_wasm=wasmExports.ts_node_children_wasm)(e),_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=e=>(_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=wasmExports.ts_node_named_children_wasm)(e),_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=(e,t,n,r,a,o,s)=>(_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=wasmExports.ts_node_descendants_of_type_wasm)(e,t,n,r,a,o,s),_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=e=>(_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=wasmExports.ts_node_is_named_wasm)(e),_ts_node_has_changes_wasm=Module