1import{r as e}from"./rolldown-runtime.DAXXjFlN.js";import{a as t,i as n,n as r,r as i}from"./tslib.es6.DWZnz9P1.js";var a=new TextDecoder(`utf-8`),o=a.decode.bind(a),s=new TextEncoder,c=e=>s.encode(e),l=e=>typeof e==`number`,u=e=>typeof e==`boolean`,d=e=>typeof e==`function`,f=e=>e!=null&&Object(e)===e,ee=e=>f(e)&&d(e.then),te=e=>f(e)&&d(e[Symbol.iterator]),ne=e=>f(e)&&d(e[Symbol.asyncIterator]),re=e=>f(e)&&f(e.schema),ie=e=>f(e)&&`done`in e&&`value`in e,ae=e=>f(e)&&d(e.stat)&&l(e.fd),oe=e=>f(e)&&ce(e.body),se=e=>`_getDOMStream`in e&&`_getNodeStream`in e,ce=e=>f(e)&&d(e.cancel)&&d(e.getReader)&&!se(e),le=e=>f(e)&&d(e.read)&&d(e.pipe)&&u(e.readable)&&!se(e),ue=e=>f(e)&&d(e.clear)&&d(e.bytes)&&d(e.position)&&d(e.setPosition)&&d(e.capacity)&&d(e.getBufferIdentifier)&&d(e.createLong),de=e({compareArrayLike:()=>Ke,joinUint8Arrays:()=>he,memcpy:()=>me,rebaseValueOffsets:()=>Ge,toArrayBufferView:()=>p,toArrayBufferViewAsyncIterator:()=>g,toArrayBufferViewIterator:()=>h,toBigInt64Array:()=>ye,toBigUint64Array:()=>Se,toFloat32Array:()=>Ce,toFloat32ArrayAsyncIterator:()=>He,toFloat32ArrayIterator:()=>Ne,toFloat64Array:()=>we,toFloat64ArrayAsyncIterator:()=>Ue,toFloat64ArrayIterator:()=>Pe,toInt16Array:()=>_e,toInt16ArrayAsyncIterator:()=>Le,toInt16ArrayIterator:()=>Oe,toInt32Array:()=>ve,toInt32ArrayAsyncIterator:()=>Re,toInt32ArrayIterator:()=>ke,toInt8Array:()=>ge,toInt8ArrayAsyncIterator:()=>Ie,toInt8ArrayIterator:()=>De,toUint16Array:()=>be,toUint16ArrayAsyncIterator:()=>Be,toUint16ArrayIterator:()=>je,toUint32Array:()=>xe,toUint32ArrayAsyncIterator:()=>Ve,toUint32ArrayIterator:()=>Me,toUint8Array:()=>m,toUint8ArrayAsyncIterator:()=>ze,toUint8ArrayIterator:()=>Ae,toUint8ClampedArray:()=>Te,toUint8ClampedArrayAsyncIterator:()=>We,toUint8ClampedArrayIterator:()=>Fe}),fe=typeof SharedArrayBuffer<`u`?SharedArrayBuffer:ArrayBuffer;function pe(e){let t=e[0]?[e[0]]:[],n,r,i,a;for(let o,s,c=0,l=0,u=e.length;++c<u;){if(o=t[l],s=e[c],!o||!s||o.buffer!==s.buffer||s.byteOffset<o.byteOffset){s&&(t[++l]=s);continue}if({byteOffset:n,byteLength:i}=o,{byteOffset:r,byteLength:a}=s,n+i<r||r+a<n){s&&(t[++l]=s);continue}t[l]=new Uint8Array(o.buffer,n,r-n+a)}return t}function me(e,t,n=0,r=t.byteLength){let i=e.byteLength,a=new Uint8Array(e.buffer,e.byteOffset,i),o=new Uint8Array(t.buffer,t.byteOffset,Math.min(r,i));return a.set(o,n),e}function he(e,t){let n=pe(e),r=n.reduce((e,t)=>e+t.byteLength,0),i,a,o,s=0,c=-1,l=Math.min(t||1/0,r);for(let e=n.length;++c<e;){if(i=n[c],a=i.subarray(0,Math.min(i.length,l-s)),l<=s+a.length){a.length<i.length?n[c]=i.subarray(a.length):a.length===i.length&&c++,o?me(o,a,s):o=a;break}me(o||=new Uint8Array(l),a,s),s+=a.length}return[o||new Uint8Array,n.slice(c),r-(o?o.byteLength:0)]}function p(e,t){let n=ie(t)?t.value:t;return n instanceof e?e===Uint8Array?new e(n.buffer,n.byteOffset,n.byteLength):n:n?(typeof n==`string`&&(n=c(n)),n instanceof ArrayBuffer||n instanceof fe?new e(n):ue(n)?p(e,n.bytes()):ArrayBuffer.isView(n)?n.byteLength<=0?new e(0):new e(n.buffer,n.byteOffset,n.byteLength/e.BYTES_PER_ELEMENT):e.from(n)):new e(0)}var ge=e=>p(Int8Array,e),_e=e=>p(Int16Array,e),ve=e=>p(Int32Array,e),ye=e=>p(BigInt64Array,e),m=e=>p(Uint8Array,e),be=e=>p(Uint16Array,e),xe=e=>p(Uint32Array,e),Se=e=>p(BigUint64Array,e),Ce=e=>p(Float32Array,e),we=e=>p(Float64Array,e),Te=e=>p(Uint8ClampedArray,e),Ee=e=>(e.next(),e);function*h(e,t){let n=function*(e){yield e};return yield*Ee((function*(t){let n=null;do n=t.next(yield p(e,n));while(!n.done)})((typeof t==`string`||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof fe?n(t):te(t)?t:n(t))[Symbol.iterator]())),new e}var De=e=>h(Int8Array,e),Oe=e=>h(Int16Array,e),ke=e=>h(Int32Array,e),Ae=e=>h(Uint8Array,e),je=e=>h(Uint16Array,e),Me=e=>h(Uint32Array,e),Ne=e=>h(Float32Array,e),Pe=e=>h(Float64Array,e),Fe=e=>h(Uint8ClampedArray,e);function g(e,a){return i(this,arguments,function*(){if(ee(a))return yield t(yield t(yield*r(n(g(e,yield t(a))))));let o=function(e){return i(this,arguments,function*(){yield yield t(yield t(e))})};return yield t(yield*r(n(Ee((function(n){return i(this,arguments,function*(){let r=null;do r=yield t(n.next(yield yield t(p(e,r))));while(!r.done)})})((typeof a==`string`||ArrayBuffer.isView(a)||a instanceof ArrayBuffer||a instanceof fe?o(a):te(a)?function(e){return i(this,arguments,function*(){yield t(yield*r(n(Ee((function*(e){let t=null;do t=e.next(yield t?.value);while(!t.done)})(e[Symbol.iterator]())))))})}
vendor: 9,954 bytes, line 1
1(a):ne(a)?a:o(a))[Symbol.asyncIterator]()))))),yield t(new e)})}var Ie=e=>g(Int8Array,e),Le=e=>g(Int16Array,e),Re=e=>g(Int32Array,e),ze=e=>g(Uint8Array,e),Be=e=>g(Uint16Array,e),Ve=e=>g(Uint32Array,e),He=e=>g(Float32Array,e),Ue=e=>g(Float64Array,e),We=e=>g(Uint8ClampedArray,e);function Ge(e,t,n){if(e!==0){n=n.slice(0,t);for(let t=-1,r=n.length;++t<r;)n[t]+=e}return n.subarray(0,t)}function Ke(e,t){let n=0,r=e.length;if(r!==t.length)return!1;if(r>0)do if(e[n]!==t[n])return!1;while(++n<r);return!0}var qe;(function(e){e[e.V1=0]=`V1`,e[e.V2=1]=`V2`,e[e.V3=2]=`V3`,e[e.V4=3]=`V4`,e[e.V5=4]=`V5`})(qe||={});var _;(function(e){e[e.Sparse=0]=`Sparse`,e[e.Dense=1]=`Dense`})(_||={});var v;(function(e){e[e.HALF=0]=`HALF`,e[e.SINGLE=1]=`SINGLE`,e[e.DOUBLE=2]=`DOUBLE`})(v||={});var y;(function(e){e[e.DAY=0]=`DAY`,e[e.MILLISECOND=1]=`MILLISECOND`})(y||={});var b;(function(e){e[e.SECOND=0]=`SECOND`,e[e.MILLISECOND=1]=`MILLISECOND`,e[e.MICROSECOND=2]=`MICROSECOND`,e[e.NANOSECOND=3]=`NANOSECOND`})(b||={});var x;(function(e){e[e.YEAR_MONTH=0]=`YEAR_MONTH`,e[e.DAY_TIME=1]=`DAY_TIME`,e[e.MONTH_DAY_NANO=2]=`MONTH_DAY_NANO`})(x||={});var S=new Int32Array(2),Je=new Float32Array(S.buffer),Ye=new Float64Array(S.buffer),Xe=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1,Ze;(function(e){e[e.UTF8_BYTES=1]=`UTF8_BYTES`,e[e.UTF16_STRING=2]=`UTF16_STRING`})(Ze||={});var Qe=class e{constructor(e){this.bytes_=e,this.position_=0,this.text_decoder_=new TextDecoder}static allocate(t){return new e(new Uint8Array(t))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return BigInt.asIntN(64,BigInt(this.readUint32(e))+(BigInt(this.readUint32(e+4))<<BigInt(32)))}readUint64(e){return BigInt.asUintN(64,BigInt(this.readUint32(e))+(BigInt(this.readUint32(e+4))<<BigInt(32)))}readFloat32(e){return S[0]=this.readInt32(e),Je[0]}readFloat64(e){return S[+!Xe]=this.readInt32(e),S[+!!Xe]=this.readInt32(e+4),Ye[0]}writeInt8(e,t){this.bytes_[e]=t}writeUint8(e,t){this.bytes_[e]=t}writeInt16(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8}writeUint16(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8}writeInt32(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8,this.bytes_[e+2]=t>>16,this.bytes_[e+3]=t>>24}writeUint32(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8,this.bytes_[e+2]=t>>16,this.bytes_[e+3]=t>>24}writeInt64(e,t){this.writeInt32(e,Number(BigInt.asIntN(32,t))),this.writeInt32(e+4,Number(BigInt.asIntN(32,t>>BigInt(32))))}writeUint64(e,t){this.writeUint32(e,Number(BigInt.asUintN(32,t))),this.writeUint32(e+4,Number(BigInt.asUintN(32,t>>BigInt(32))))}writeFloat32(e,t){Je[0]=t,this.writeInt32(e,S[0])}writeFloat64(e,t){Ye[0]=t,this.writeInt32(e,S[+!Xe]),this.writeInt32(e+4,S[+!!Xe])}getBufferIdentifier(){if(this.bytes_.length<this.position_+4+4)throw Error(`FlatBuffers: ByteBuffer is too short to contain an identifier.`);let e=``;for(let t=0;t<4;t++)e+=String.fromCharCode(this.readInt8(this.position_+4+t));return e}__offset(e,t){let n=e-this.readInt32(e);return t<this.readInt16(n)?this.readInt16(n+t):0}__union(e,t){return e.bb_pos=t+this.readInt32(t),e.bb=this,e}__string(e,t){e+=this.readInt32(e);let n=this.readInt32(e);e+=4;let r=this.bytes_.subarray(e,e+n);return t===Ze.UTF8_BYTES?r:this.text_decoder_.decode(r)}__union_with_string(e,t){return typeof e==`string`?this.__string(t):this.__union(e,t)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+4}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=4)throw Error(`FlatBuffers: file identifier must be length 4`);for(let t=0;t<4;t++)if(e.charCodeAt(t)!=this.readInt8(this.position()+4+t))return!1;return!0}createScalarList(e,t){let n=[];for(let r=0;r<t;++r){let t=e(r);t!==null&&n.push(t)}return n}createObjList(e,t){let n=[];for(let r=0;r<t;++r){let t=e(r);t!==null&&n.push(t.unpack())}return n}},$e=class e{constructor(e){this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null,this.text_encoder=new TextEncoder;let t;t=e||1024,this.bb=Qe.allocate(t),this.space=t}clear(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null}forceDefaults(e){this.force_defaults=e}dataBuffer(){return this.bb}asUint8Array(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())}prep(t,n){t>this.minalign&&(this.minalign=t);let r=~(this.bb.capacity()-this.space+n)+1&t-1;for(;this.space<r+t+n;){let t=this.bb.capacity();this.bb=e.growByteBuffer(this.bb),this.space+=this.bb.capacity()-t}this.pad(r)}pad(e){for(let t=0;t<e;t++)this.bb.writeInt8(--this.space,0)}writeInt8(e){this.bb.writeInt8(--this.space,e)}writeInt16(e){this.bb.writeInt16(this.space-=2,e)}writeInt32(e){this.bb.writeInt32(this.space-=4,e)}writeInt64(e){this.bb.writeInt64(this.space-=8,e)}writeFloat32(e){this.bb.writeFloat32(this.space-=4,e)}writeFloat64(e){this.bb.writeFloat64(this.space-=8,e)}addInt8(e){this.prep(1,0),this.writeInt8(e)}addInt16(e){this.prep(2,0),this.writeInt16(e)}addInt32(e){this.prep(4,0),this.writeInt32(e)}addInt64(e){this.prep(8,0),this.writeInt64(e)}addFloat32(e){this.prep(4,0),this.writeFloat32(e)}addFloat64(e){this.prep(8,0),this.writeFloat64(e)}addFieldInt8(e,t,n){(this.force_defaults||t!=n)&&(this.addInt8(t),this.slot(e))}addFieldInt16(e,t,n){(this.force_defaults||t!=n)&&(this.addInt16(t),this.slot(e))}addFieldInt32(e,t,n){(this.force_defaults||t!=n)&&(this.addInt32(t),this.slot(e))}addFieldInt64(e,t,n){(this.force_defaults||t!==n)&&(this.addInt64(t),this.slot(e))}addFieldFloat32(e,t,n){(this.force_defaults||t!=n)&&(this.addFloat32(t),this.slot(e))}addFieldFloat64(e,t,n){(this.force_defaults||t!=n)&&(this.addFloat64(t),this.slot(e))}addFieldOffset(e,t,n){(this.force_defaults||t!=n)&&(this.addOffset(t),this.slot(e))}addFieldStruct(e,t,n){t!=n&&(this.nested(t),this.slot(e))}nested(e){if(e!=this.offset())throw TypeError(`FlatBuffers: struct must be serialized inline.`)}notNested(){if(this.isNested)throw TypeError(`FlatBuffers: object serialization must not be nested.`)}slot(e){this.vtable!==null&&(this.vtable[e]=this.offset())}offset(){return this.bb.capacity()-this.space}static growByteBuffer(e){let t=e.capacity();if(t&3221225472)throw Error(`FlatBuffers: cannot grow buffer beyond 2 gigabytes.`);let n=t<<1,r=Qe.allocate(n);return r.setPosition(n-t),r.bytes().set(e.bytes(),n-t),r}addOffset(e){this.prep(4,0),this.writeInt32(this.offset()-e+4)}startObject(e){this.notNested(),this.vtable??=[],this.vtable_in_use=e;for(let t=0;t<e;t++)this.vtable[t]=0;this.isNested=!0,this.object_start=this.offset()}endObject(){if(this.vtable==null||!this.isNested)throw Error(`FlatBuffers: endObject called without startObject`);this.addInt32(0);let e=this.offset(),t=this.vtable_in_use-1;for(;t>=0&&this.vtable[t]==0;t--);let n=t+1;for(;t>=0;t--)this.addInt16(this.vtable[t]==0?0:e-this.vtable[t]);this.addInt16(e-this.object_start);let r=(n+2)*2;this.addInt16(r);let i=0,a=this.space;outer_loop:for(t=0;t<this.vtables.length;t++){let e=this.bb.capacity()-this.vtables[t];if(r==this.bb.readInt16(e)){for(let t=2;t<r;t+=2)if(this.bb.readInt16(a+t)!=this.bb.readInt16(e+t))continue outer_loop;i=this.vtables[t];break}}return i?(this.space=this.bb.capacity()-e,this.bb.writeInt32(this.space,i-e)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-e,this.offset()-e)),this.isNested=!1,e}finish(e,t,n){let r=n?4:0;if(t){let e=t;if(this.prep(this.minalign,8+r),e.length!=4)throw TypeError(`FlatBuffers: file identifier must be length 4`);for(let t=3;t>=0;t--)this.writeInt8(e.charCodeAt(t))}this.prep(this.minalign,4+r),this.addOffset(e),r&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,t){this.finish(e,t,!0)}requiredField(e,t){let n=this.bb.capacity()-e,r=n-this.bb.readInt32(n);if(!(t<this.bb.readInt16(r)&&this.bb.readInt16(r+t)!=0))throw TypeError(`FlatBuffers: field `+t+` must be set`)}startVector(e,t,n){this.notNested(),this.vector_num_elems=t,this.prep(4,e*t),this.prep(n,e*t)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||=new Map,this.string_maps.has(e))return this.string_maps.get(e);let t=this.createString(e);return this.string_maps.set(e,t),t}createString(e){if(e==null)return 0;let t;return t=e instanceof Uint8Array?e:this.text_encoder.encode(e),this.addInt8(0),this.startVector(1,t.length,1),this.bb.setPosition(this.space-=t.length),this.bb.bytes().set(t,this.space),this.endVector()}createByteVector(e){return e==null?0:(this.startVector(1,e.length,1),this.bb.setPosition(this.space-=e.length),this.bb.bytes().set(e,this.space),this.endVector())}createObjectOffset(e){return e===null?0:typeof e==`string`?this.createString(e):e.pack(this)}createObjectOffsetList(e){let t=[];for(let n=0;n<e.length;++n){let r=e[n];if(r!==null)t.push(this.createObjectOffset(r));else throw TypeError(`FlatBuffers: Argument for createObjectOffsetList cannot contain null.`)}return t}createStructOffsetList(e,t){return t(this,e.length),this.createObjectOffsetList(e.slice().reverse()),this.endVector()}},et;(function(e){e[e.BUFFER=0]=`BUFFER`})(et||={});var tt;(function(e){e[e.LZ4_FRAME=0]=`LZ4_FRAME`,e[e.ZSTD=1]=`ZSTD`})(tt||={});var nt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}
1static getRootAsBodyCompression(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsBodyCompression(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}codec(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):tt.LZ4_FRAME}method(){let e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):et.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,t){e.addFieldInt8(0,t,tt.LZ4_FRAME)}static addMethod(e,t){e.addFieldInt8(1,t,et.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(t,n,r){return e.startBodyCompression(t),e.addCodec(t,n),e.addMethod(t,r),e.endBodyCompression(t)}},rt=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,t,n){return e.prep(8,16),e.writeInt64(BigInt(n??0)),e.writeInt64(BigInt(t??0)),e.offset()}},it=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,t,n){return e.prep(8,16),e.writeInt64(BigInt(n??0)),e.writeInt64(BigInt(t??0)),e.offset()}},at=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsRecordBatch(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsRecordBatch(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}length(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):BigInt(`0`)}nodes(e,t){let n=this.bb.__offset(this.bb_pos,6);return n?(t||new it).__init(this.bb.__vector(this.bb_pos+n)+e*16,this.bb):null}nodesLength(){let e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,t){let n=this.bb.__offset(this.bb_pos,8);return n?(t||new rt).__init(this.bb.__vector(this.bb_pos+n)+e*16,this.bb):null}buffersLength(){let e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){let t=this.bb.__offset(this.bb_pos,10);return t?(e||new nt).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,t){e.addFieldInt64(0,t,BigInt(`0`))}static addNodes(e,t){e.addFieldOffset(1,t,0)}static startNodesVector(e,t){e.startVector(16,t,8)}static addBuffers(e,t){e.addFieldOffset(2,t,0)}static startBuffersVector(e,t){e.startVector(16,t,8)}static addCompression(e,t){e.addFieldOffset(3,t,0)}static endRecordBatch(e){return e.endObject()}},ot=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsDictionaryBatch(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsDictionaryBatch(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}id(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):BigInt(`0`)}data(e){let t=this.bb.__offset(this.bb_pos,6);return t?(e||new at).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}isDelta(){let e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,t){e.addFieldInt64(0,t,BigInt(`0`))}static addData(e,t){e.addFieldOffset(1,t,0)}static addIsDelta(e,t){e.addFieldInt8(2,+t,0)}static endDictionaryBatch(e){return e.endObject()}},st;(function(e){e[e.Little=0]=`Little`,e[e.Big=1]=`Big`})(st||={});var ct;(function(e){e[e.DenseArray=0]=`DenseArray`})(ct||={});var lt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsInt(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsInt(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}bitWidth(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}isSigned(){let e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}
vendor: 15,671 bytes, line 1
1static startInt(e){e.startObject(2)}static addBitWidth(e,t){e.addFieldInt32(0,t,0)}static addIsSigned(e,t){e.addFieldInt8(1,+t,0)}static endInt(e){return e.endObject()}static createInt(t,n,r){return e.startInt(t),e.addBitWidth(t,n),e.addIsSigned(t,r),e.endInt(t)}},ut=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsDictionaryEncoding(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsDictionaryEncoding(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}id(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):BigInt(`0`)}indexType(e){let t=this.bb.__offset(this.bb_pos,6);return t?(e||new lt).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}isOrdered(){let e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}dictionaryKind(){let e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt16(this.bb_pos+e):ct.DenseArray}static startDictionaryEncoding(e){e.startObject(4)}static addId(e,t){e.addFieldInt64(0,t,BigInt(`0`))}static addIndexType(e,t){e.addFieldOffset(1,t,0)}static addIsOrdered(e,t){e.addFieldInt8(2,+t,0)}static addDictionaryKind(e,t){e.addFieldInt16(3,t,ct.DenseArray)}static endDictionaryEncoding(e){return e.endObject()}},dt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsKeyValue(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsKeyValue(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}key(e){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,e):null}value(e){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,e):null}static startKeyValue(e){e.startObject(2)}static addKey(e,t){e.addFieldOffset(0,t,0)}static addValue(e,t){e.addFieldOffset(1,t,0)}static endKeyValue(e){return e.endObject()}static createKeyValue(t,n,r){return e.startKeyValue(t),e.addKey(t,n),e.addValue(t,r),e.endKeyValue(t)}},ft=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsBinary(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsBinary(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static startBinary(e){e.startObject(0)}static endBinary(e){return e.endObject()}static createBinary(t){return e.startBinary(t),e.endBinary(t)}},pt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsBool(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsBool(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static startBool(e){e.startObject(0)}static endBool(e){return e.endObject()}static createBool(t){return e.startBool(t),e.endBool(t)}},mt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsDate(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsDate(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}unit(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):y.MILLISECOND}static startDate(e){e.startObject(1)}static addUnit(e,t){e.addFieldInt16(0,t,y.MILLISECOND)}static endDate(e){return e.endObject()}static createDate(t,n){return e.startDate(t),e.addUnit(t,n),e.endDate(t)}},ht=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsDecimal(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsDecimal(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}precision(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}scale(){let e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt32(this.bb_pos+e):0}bitWidth(){let e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readInt32(this.bb_pos+e):128}static startDecimal(e){e.startObject(3)}static addPrecision(e,t){e.addFieldInt32(0,t,0)}static addScale(e,t){e.addFieldInt32(1,t,0)}static addBitWidth(e,t){e.addFieldInt32(2,t,128)}static endDecimal(e){return e.endObject()}static createDecimal(t,n,r,i){return e.startDecimal(t),e.addPrecision(t,n),e.addScale(t,r),e.addBitWidth(t,i),e.endDecimal(t)}},gt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsDuration(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsDuration(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}unit(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):b.MILLISECOND}static startDuration(e){e.startObject(1)}static addUnit(e,t){e.addFieldInt16(0,t,b.MILLISECOND)}static endDuration(e){return e.endObject()}static createDuration(t,n){return e.startDuration(t),e.addUnit(t,n),e.endDuration(t)}},_t=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsFixedSizeBinary(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsFixedSizeBinary(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}byteWidth(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}static startFixedSizeBinary(e){e.startObject(1)}static addByteWidth(e,t){e.addFieldInt32(0,t,0)}static endFixedSizeBinary(e){return e.endObject()}static createFixedSizeBinary(t,n){return e.startFixedSizeBinary(t),e.addByteWidth(t,n),e.endFixedSizeBinary(t)}},vt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsFixedSizeList(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsFixedSizeList(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}listSize(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}static startFixedSizeList(e){e.startObject(1)}static addListSize(e,t){e.addFieldInt32(0,t,0)}static endFixedSizeList(e){return e.endObject()}static createFixedSizeList(t,n){return e.startFixedSizeList(t),e.addListSize(t,n),e.endFixedSizeList(t)}},yt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsFloatingPoint(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsFloatingPoint(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}precision(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):v.HALF}static startFloatingPoint(e){e.startObject(1)}static addPrecision(e,t){e.addFieldInt16(0,t,v.HALF)}static endFloatingPoint(e){return e.endObject()}static createFloatingPoint(t,n){return e.startFloatingPoint(t),e.addPrecision(t,n),e.endFloatingPoint(t)}},bt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsInterval(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsInterval(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}unit(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):x.YEAR_MONTH}static startInterval(e){e.startObject(1)}static addUnit(e,t){e.addFieldInt16(0,t,x.YEAR_MONTH)}static endInterval(e){return e.endObject()}static createInterval(t,n){return e.startInterval(t),e.addUnit(t,n),e.endInterval(t)}},xt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsLargeBinary(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsLargeBinary(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static startLargeBinary(e){e.startObject(0)}static endLargeBinary(e){return e.endObject()}static createLargeBinary(t){return e.startLargeBinary(t),e.endLargeBinary(t)}},St=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsLargeUtf8(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsLargeUtf8(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static startLargeUtf8(e){e.startObject(0)}static endLargeUtf8(e){return e.endObject()}static createLargeUtf8(t){return e.startLargeUtf8(t),e.endLargeUtf8(t)}},Ct=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsList(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsList(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static startList(e){e.startObject(0)}static endList(e){return e.endObject()}static createList(t){return e.startList(t),e.endList(t)}},wt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsMap(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsMap(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}keysSorted(){let e=this.bb.__offset(this.bb_pos,4);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startMap(e){e.startObject(1)}static addKeysSorted(e,t){e.addFieldInt8(0,+t,0)}static endMap(e){return e.endObject()}static createMap(t,n){return e.startMap(t),e.addKeysSorted(t,n),e.endMap(t)}},Tt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsNull(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsNull(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static startNull(e){e.startObject(0)}static endNull(e){return e.endObject()}static createNull(t){return e.startNull(t),e.endNull(t)}},Et=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsStruct_(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsStruct_(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static startStruct_(e){e.startObject(0)}static endStruct_(e){return e.endObject()}static createStruct_(t){return e.startStruct_(t),e.endStruct_(t)}},Dt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsTime(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsTime(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}unit(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):b.MILLISECOND}bitWidth(){let e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt32(this.bb_pos+e):32}static startTime(e){e.startObject(2)}static addUnit(e,t){e.addFieldInt16(0,t,b.MILLISECOND)}static addBitWidth(e,t){e.addFieldInt32(1,t,32)}static endTime(e){return e.endObject()}static createTime(t,n,r){return e.startTime(t),e.addUnit(t,n),e.addBitWidth(t,r),e.endTime(t)}},Ot=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsTimestamp(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsTimestamp(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}unit(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):b.SECOND}timezone(e){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,e):null}static startTimestamp(e){e.startObject(2)}static addUnit(e,t){e.addFieldInt16(0,t,b.SECOND)}static addTimezone(e,t){e.addFieldOffset(1,t,0)}static endTimestamp(e){return e.endObject()}static createTimestamp(t,n,r){return e.startTimestamp(t),e.addUnit(t,n),e.addTimezone(t,r),e.endTimestamp(t)}},kt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsUnion(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsUnion(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}mode(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):_.Sparse}typeIds(e){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readInt32(this.bb.__vector(this.bb_pos+t)+e*4):0}typeIdsLength(){let e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}typeIdsArray(){let e=this.bb.__offset(this.bb_pos,6);return e?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+e),this.bb.__vector_len(this.bb_pos+e)):null}static startUnion(e){e.startObject(2)}static addMode(e,t){e.addFieldInt16(0,t,_.Sparse)}static addTypeIds(e,t){e.addFieldOffset(1,t,0)}static createTypeIdsVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addInt32(t[n]);return e.endVector()}static startTypeIdsVector(e,t){e.startVector(4,t,4)}static endUnion(e){return e.endObject()}static createUnion(t,n,r){return e.startUnion(t),e.addMode(t,n),e.addTypeIds(t,r),e.endUnion(t)}},At=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsUtf8(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsUtf8(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(t){return e.startUtf8(t),e.endUtf8(t)}},jt;(function(e){e[e.NONE=0]=`NONE`,e[e.Null=1]=`Null`,e[e.Int=2]=`Int`,e[e.FloatingPoint=3]=`FloatingPoint`,e[e.Binary=4]=`Binary`,e[e.Utf8=5]=`Utf8`,e[e.Bool=6]=`Bool`,e[e.Decimal=7]=`Decimal`,e[e.Date=8]=`Date`,e[e.Time=9]=`Time`,e[e.Timestamp=10]=`Timestamp`,e[e.Interval=11]=`Interval`,e[e.List=12]=`List`,e[e.Struct_=13]=`Struct_`,e[e.Union=14]=`Union`,e[e.FixedSizeBinary=15]=`FixedSizeBinary`,e[e.FixedSizeList=16]=`FixedSizeList`,e[e.Map=17]=`Map`,e[e.Duration=18]=`Duration`,e[e.LargeBinary=19]=`LargeBinary`,e[e.LargeUtf8=20]=`LargeUtf8`,e[e.LargeList=21]=`LargeList`,e[e.RunEndEncoded=22]=`RunEndEncoded`})(jt||={});var Mt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsField(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsField(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}name(e){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,e):null}nullable(){let e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}
1typeType(){let e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):jt.NONE}type(e){let t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__union(e,this.bb_pos+t):null}dictionary(e){let t=this.bb.__offset(this.bb_pos,12);return t?(e||new ut).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}children(t,n){let r=this.bb.__offset(this.bb_pos,14);return r?(n||new e).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+r)+t*4),this.bb):null}childrenLength(){let e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,t){let n=this.bb.__offset(this.bb_pos,16);return n?(t||new dt).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+e*4),this.bb):null}customMetadataLength(){let e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,t){e.addFieldOffset(0,t,0)}static addNullable(e,t){e.addFieldInt8(1,+t,0)}static addTypeType(e,t){e.addFieldInt8(2,t,jt.NONE)}static addType(e,t){e.addFieldOffset(3,t,0)}static addDictionary(e,t){e.addFieldOffset(4,t,0)}static addChildren(e,t){e.addFieldOffset(5,t,0)}static createChildrenVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}static startChildrenVector(e,t){e.startVector(4,t,4)}static addCustomMetadata(e,t){e.addFieldOffset(6,t,0)}static createCustomMetadataVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}static startCustomMetadataVector(e,t){e.startVector(4,t,4)}static endField(e){return e.endObject()}},Nt=class e{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsSchema(t,n){return(n||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsSchema(t,n){return t.setPosition(t.position()+4),(n||new e).__init(t.readInt32(t.position())+t.position(),t)}endianness(){let e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):st.Little}fields(e,t){let n=this.bb.__offset(this.bb_pos,6);return n?(t||new Mt).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+e*4),this.bb):null}fieldsLength(){let e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,t){let n=this.bb.__offset(this.bb_pos,8);return n?(t||new dt).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+e*4),this.bb):null}customMetadataLength(){let e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){let t=this.bb.__offset(this.bb_pos,10);return t?this.bb.readInt64(this.bb.__vector(this.bb_pos+t)+e*8):BigInt(0)}featuresLength(){let e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,t){e.addFieldInt16(0,t,st.Little)}static addFields(e,t){e.addFieldOffset(1,t,0)}static createFieldsVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}static startFieldsVector(e,t){e.startVector(4,t,4)}static addCustomMetadata(e,t){e.addFieldOffset(2,t,0)}static createCustomMetadataVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}static startCustomMetadataVector(e,t){e.startVector(4,t,4)}static addFeatures(e,t){e.addFieldOffset(3,t,0)}static createFeaturesVector(e,t){e.startVector(8,t.length,8);for(let n=t.length-1;n>=0;n--)e.addInt64(t[n]);return e.endVector()}static startFeaturesVector(e,t){e.startVector(8,t,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,t){e.finish(t)}static finishSizePrefixedSchemaBuffer(e,t){e.finish(t,void 0,!0)}static createSchema(t,n,r,i,a){return e.startSchema(t),e.addEndianness(t,n),e.addFields(t,r),e.addCustomMetadata(t,i),e.addFeatures(t,a),e.endSchema(t)}},Pt;(function(e){e[e.NONE=0]=`NONE`,e[e.Schema=1]=`Schema`,e[e.DictionaryBatch=2]=`DictionaryBatch`,e[e.RecordBatch=3]=`RecordBatch`,e[e.Tensor=4]=`Tensor`,e[e.SparseTensor=5]=`SparseTensor`})(Pt||={});var C;(function(e){e[e.NONE=0]=`NONE`,e[e.Null=1]=`Null`,e[e.Int=2]=`Int`,e[e.Float=3]=`Float`,e[e.Binary=4]=`Binary`,e[e.Utf8=5]=`Utf8`,e[e.Bool=6]=`Bool`,e[e.Decimal=7]=`Decimal`,e[e.Date=8]=`Date`,e[e.Time=9]=`Time`,e[e.Timestamp=10]=`Timestamp`,e[e.Interval=11]=`Interval`,e[e.List=12]=`List`,e[e.Struct=13]=`Struct`,e[e.Union=14]=`Union`,e[e.FixedSizeBinary=15]=`FixedSizeBinary`,e[e.FixedSizeList=16]=`FixedSizeList`,e[e.Map=17]=`Map`,e[e.Duration=18]=`Duration`,e[e.LargeBinary=19]=`LargeBinary`,e[e.LargeUtf8=20]=`LargeUtf8`,e[e.Dictionary=-1]=`Dictionary`,e[e.Int8=-2]=`Int8`,e[e.Int16=-3]=`Int16`,e[e.Int32=-4]=`Int32`,e[e.Int64=-5]=`Int64`,e[e.Uint8=-6]=`Uint8`,e[e.Uint16=-7]=`Uint16`,e[e.Uint32=-8]=`Uint32`,e[e.Uint64=-9]=`Uint64`,e[e.Float16=-10]=`Float16`,e[e.Float32=-11]=`Float32`,e[e.Float64=-12]=`Float64`,e[e.DateDay=-13]=`DateDay`,e[e.DateMillisecond=-14]=`DateMillisecond`,e[e.TimestampSecond=-15]=`TimestampSecond`,e[e.TimestampMillisecond=-16]=`TimestampMillisecond`,e[e.TimestampMicrosecond=-17]=`TimestampMicrosecond`,e[e.TimestampNanosecond=-18]=`TimestampNanosecond`,e[e.TimeSecond=-19]=`TimeSecond`,e[e.TimeMillisecond=-20]=`TimeMillisecond`,e[e.TimeMicrosecond=-21]=`TimeMicrosecond`,e[e.TimeNanosecond=-22]=`TimeNanosecond`,e[e.DenseUnion=-23]=`DenseUnion`,e[e.SparseUnion=-24]=`SparseUnion`,e[e.IntervalDayTime=-25]=`IntervalDayTime`,e[e.IntervalYearMonth=-26]=`IntervalYearMonth`,e[e.DurationSecond=-27]=`DurationSecond`,e[e.DurationMillisecond=-28]=`DurationMillisecond`,e[e.DurationMicrosecond=-29]=`DurationMicrosecond`,e[e.DurationNanosecond=-30]=`DurationNanosecond`,e[e.IntervalMonthDayNano=-31]=`IntervalMonthDayNano`})(C||={});var w;(function(e){e[e.OFFSET=0]=`OFFSET`,e[e.DATA=1]=`DATA`,e[e.VALIDITY=2]=`VALIDITY`,e[e.TYPE=3]=`TYPE`})(w||={});var Ft=e({valueToString:()=>Lt}),It=void 0;function Lt(e){if(e===null)return`null`;if(e===It)return`undefined`;switch(typeof e){case`number`:return`${e}`;case`bigint`:return`${e}`;case`string`:return`"${e}"`}return typeof e[Symbol.toPrimitive]==`function`?e[Symbol.toPrimitive](`string`):ArrayBuffer.isView(e)?e instanceof BigInt64Array||e instanceof BigUint64Array?`[${[...e].map(e=>Lt(e))}]`:`[${e}]`:ArrayBuffer.isView(e)?`[${e}]`:JSON.stringify(e,(e,t)=>typeof t==`bigint`?`${t}`:t)}function T(e){if(typeof e==`bigint`&&(e<-(2**53-1)||e>2**53-1))throw TypeError(`${e} is not safe to convert to a number.`);return Number(e)}function Rt(e,t){return T(e/t)+T(e%t)/T(t)}var zt=e({BN:()=>Yt,bigNumToBigInt:()=>qt,bigNumToNumber:()=>Gt,bigNumToString:()=>Kt,isArrowBigNumSymbol:()=>Bt}),Bt=Symbol.for(`isArrowBigNum`);function E(e,...t){return t.length===0?Object.setPrototypeOf(p(this.TypedArray,e),this.constructor.prototype):Object.
1setPrototypeOf(new this.TypedArray(e,...t),this.constructor.prototype)}E.prototype[Bt]=!0,E.prototype.toJSON=function(){return`"${Kt(this)}"`},E.prototype.valueOf=function(e){return Gt(this,e)},E.prototype.toString=function(){return Kt(this)},E.prototype[Symbol.toPrimitive]=function(e=`default`){switch(e){case`number`:return Gt(this);case`string`:return Kt(this);case`default`:return qt(this)}return Kt(this)};function Vt(...e){return E.apply(this,e)}function Ht(...e){return E.apply(this,e)}function Ut(...e){return E.apply(this,e)}Object.setPrototypeOf(Vt.prototype,Object.create(Int32Array.prototype)),Object.setPrototypeOf(Ht.prototype,Object.create(Uint32Array.prototype)),Object.setPrototypeOf(Ut.prototype,Object.create(Uint32Array.prototype)),Object.assign(Vt.prototype,E.prototype,{constructor:Vt,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array}),Object.assign(Ht.prototype,E.prototype,{constructor:Ht,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array}),Object.assign(Ut.prototype,E.prototype,{constructor:Ut,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});var Wt=BigInt(4294967296)*BigInt(4294967296)-BigInt(1);function Gt(e,t){let{buffer:n,byteOffset:r,byteLength:i,signed:a}=e,o=new BigUint64Array(n,r,i/8),s=a&&o.at(-1)&BigInt(1)<<BigInt(63),c=BigInt(0),l=0;if(s){for(let e of o)c|=(e^Wt)*(BigInt(1)<<BigInt(64*l++));c*=BigInt(-1),c-=BigInt(1)}else for(let e of o)c|=e*(BigInt(1)<<BigInt(64*l++));if(typeof t==`number`&&t>0){let e=BigInt(`1`.padEnd(t+1,`0`)),n=c/e,r=s?-(c%e):c%e,i=T(n),a=`${r}`.padStart(t,`0`);return+`${s&&i===0?`-`:``}${i}.${a}`}return T(c)}function Kt(e){if(e.byteLength===8)return`${new e.BigIntArray(e.buffer,e.byteOffset,1)[0]}`;if(!e.signed)return Jt(e);let t=new Uint16Array(e.buffer,e.byteOffset,e.byteLength/2);if(new Int16Array([t.at(-1)])[0]>=0)return Jt(e);t=t.slice();let n=1;for(let e=0;e<t.length;e++){let r=t[e],i=~r+n;t[e]=i,n&=+(r===0)}return`-${Jt(t)}`}function qt(e){return e.byteLength===8?new e.BigIntArray(e.buffer,e.byteOffset,1)[0]:Kt(e)}function Jt(e){let t=``,n=new Uint32Array(2),r=new Uint16Array(e.buffer,e.byteOffset,e.byteLength/2),i=new Uint32Array((r=new Uint16Array(r).reverse()).buffer),a=-1,o=r.length-1;do{for(n[0]=r[a=0];a<o;)r[a++]=n[1]=n[0]/10,n[0]=(n[0]-n[1]*10<<16)+r[a];r[a]=n[1]=n[0]/10,n[0]-=n[1]*10,t=`${n[0]}${t}`}while(i[0]||i[1]||i[2]||i[3]);return t??`0`}var Yt=class e{static new(e,t){switch(t){case!0:return new Vt(e);case!1:return new Ht(e)}switch(e.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new Vt(e)}return e.byteLength===16?new Ut(e):new Ht(e)}static signed(e){return new Vt(e)}static unsigned(e){return new Ht(e)}static decimal(e){return new Ut(e)}constructor(t,n){return e.new(t,n)}},Xt,Zt,Qt,$t,en,tn,nn,rn,an,on,sn,cn,ln,un,dn,fn,pn,mn,hn,gn,_n,vn,D=class e{static isNull(e){return e?.typeId===C.Null}static isInt(e){return e?.typeId===C.Int}static isFloat(e){return e?.typeId===C.Float}static isBinary(e){return e?.typeId===C.Binary}static isLargeBinary(e){return e?.typeId===C.LargeBinary}static isUtf8(e){return e?.typeId===C.Utf8}static isLargeUtf8(e){return e?.typeId===C.LargeUtf8}static isBool(e){return e?.typeId===C.Bool}static isDecimal(e){return e?.typeId===C.Decimal}static isDate(e){return e?.typeId===C.Date}static isTime(e){return e?.typeId===C.Time}static isTimestamp(e){return e?.typeId===C.Timestamp}static isInterval(e){return e?.typeId===C.Interval}static isDuration(e){return e?.typeId===C.Duration}static isList(e){return e?.typeId===C.List}static isStruct(e){return e?.typeId===C.Struct}static isUnion(e){return e?.typeId===C.Union}static isFixedSizeBinary(e){return e?.typeId===C.FixedSizeBinary}static isFixedSizeList(e){return e?.typeId===C.FixedSizeList}static isMap(e){return e?.typeId===C.Map}static isDictionary(e){return e?.typeId===C.Dictionary}static isDenseUnion(t){return e.isUnion(t)&&t.mode===_.Dense}static isSparseUnion(t){return e.isUnion(t)&&t.mode===_.Sparse}constructor(e){this.typeId=e}};Xt=Symbol.toStringTag,D[Xt]=(e=>(e.children=null,e.ArrayType=Array,e.OffsetArrayType=Int32Array,e[Symbol.toStringTag]=`DataType`))(D.prototype);var yn=class extends D{constructor(){super(C.Null)}toString(){return`Null`}};Zt=Symbol.toStringTag,yn[Zt]=(e=>e[Symbol.toStringTag]=`Null`)(yn.prototype);var O=class extends D{constructor(e,t){super(C.Int),this.isSigned=e,this.bitWidth=t}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?`I`:`Ui`}nt${this.bitWidth}`}};Qt=Symbol.toStringTag,O[Qt]=(e=>(e.isSigned=null,e.bitWidth=null,e[Symbol.toStringTag]=`Int`))(O.prototype);var bn=class extends O{constructor(){super(!0,8)}get ArrayType(){return Int8Array}},xn=class extends O{constructor(){super(!0,16)}get ArrayType(){return Int16Array}},Sn=class extends O{constructor(){super(!0,32)}get ArrayType(){return Int32Array}},Cn=class extends O{constructor(){super(!0,64)}get ArrayType(){return BigInt64Array}},wn=class extends O{constructor(){super(!1,8)}get ArrayType(){return Uint8Array}},Tn=class extends O{constructor(){super(!1,16)}get ArrayType(){return Uint16Array}},En=class extends O{constructor(){super(!1,32)}get ArrayType(){return Uint32Array}},Dn=class extends O{constructor(){super(!1,64)}get ArrayType(){return BigUint64Array}};Object.defineProperty(bn.prototype,"ArrayType",{value:Int8Array}),Object.defineProperty(xn.prototype,"ArrayType",{value:Int16Array}),Object.defineProperty(Sn.prototype,"ArrayType",{value:Int32Array}),Object.defineProperty(Cn.prototype,"ArrayType",{value:BigInt64Array}),Object.defineProperty(wn.prototype,"ArrayType",{value:Uint8Array}),Object.defineProperty(Tn.prototype,"ArrayType",{value:Uint16Array}),Object.defineProperty(En.prototype,"ArrayType",{value:Uint32Array}),Object.defineProperty(Dn.prototype,"ArrayType",{value:BigUint64Array});var On=class extends D{constructor(e){super(C.Float),this.precision=e}get ArrayType(){switch(this.precision){case v.HALF:return Uint16Array;case v.SINGLE:return Float32Array;case v.DOUBLE:return Float64Array}throw Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}};$t=Symbol.toStringTag,On[$t]=(e=>(e.precision=null,e[Symbol.toStringTag]=`Float`))(On.prototype);var kn=class extends On{constructor(){super(v.HALF)}},An=class extends On{constructor(){super(v.SINGLE)}},jn=class extends On{constructor(){super(v.DOUBLE)}};Object.defineProperty(kn.prototype,"ArrayType",{value:Uint16Array}),Object.defineProperty(An.prototype,"ArrayType",{value:Float32Array}),Object.defineProperty(jn.prototype,"ArrayType",{value:Float64Array});var Mn=class extends D{constructor(){super(C.Binary)}toString(){return`Binary`}};en=Symbol.toStringTag,Mn[en]=(e=>(e.ArrayType=Uint8Array,e[Symbol.toStringTag]=`Binary`))(Mn.prototype);var Nn=class extends D{constructor(){super(C.LargeBinary)}toString(){return`LargeBinary`}};tn=Symbol.toStringTag,Nn[tn]=(e=>(e.ArrayType=Uint8Array,e.OffsetArrayType=BigInt64Array,e[Symbol.toStringTag]=`LargeBinary`))(Nn.prototype);var Pn=class extends D{constructor(){super(C.Utf8)}toString(){return`Utf8`}};nn=Symbol.toStringTag,Pn[nn]=(e=>(e.ArrayType=Uint8Array,e[Symbol.toStringTag]=`Utf8`))(Pn.prototype);var Fn=class extends D{constructor(){super(C.LargeUtf8)}toString(){return`LargeUtf8`}};rn=Symbol.toStringTag,Fn[rn]=(e=>(e.ArrayType=Uint8Array,e.OffsetArrayType=BigInt64Array,e[Symbol.toStringTag]=`LargeUtf8`))(Fn.prototype);var In=class extends D{constructor(){super(C.Bool)}toString(){return`Bool`}};an=Symbol.toStringTag,In[an]=(e=>(e.ArrayType=Uint8Array,e[Symbol.toStringTag]=`Bool`))(In.prototype);var Ln=class extends D{constructor(e,t,n=128){super(C.Decimal),this.scale=e,this.precision=t,this.bitWidth=n}toString(){return`Decimal[${this.precision}e${this.scale>0?`+`:``}${this.scale}]`}};on=Symbol.toStringTag,Ln[on]=(e=>(e.scale=null,e.precision=null,e.ArrayType=Uint32Array,e[Symbol.toStringTag]=`Decimal`))(Ln.prototype);var Rn=class extends D{constructor(e){super(C.Date),this.unit=e}toString(){return`Date${(this.unit+1)*32}<${y[this.unit]}>`}get ArrayType(){return this.unit===y.DAY?Int32Array:BigInt64Array}};sn=Symbol.toStringTag,Rn[sn]=(e=>(e.unit=null,e[Symbol.toStringTag]=`Date`))(Rn.prototype);var zn=class extends D{constructor(e,t){super(C.Time),this.unit=e,this.bitWidth=t}toString(){return`Time${this.bitWidth}<${b[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}};cn=Symbol.toStringTag,zn[cn]=(e=>(e.unit=null,e.bitWidth=null,e[Symbol.toStringTag]=`Time`))(zn.prototype);var Bn=class extends D{constructor(e,t){super(C.Timestamp),this.unit=e,this.timezone=t}toString(){return`Timestamp<${b[this.unit]}${this.timezone?`, ${this.timezone}`:``}>`}};ln=Symbol.toStringTag,Bn[ln]=(e=>(e.unit=null,e.timezone=null,e.ArrayType=BigInt64Array,e[Symbol.toStringTag]=`Timestamp`))(Bn.prototype);var Vn=class extends D{constructor(e){super(C.Interval),this.unit=e}toString(){return`Interval<${x[this.unit]}>`}};un=Symbol.toStringTag,Vn[un]=(e=>(e.unit=null,e.ArrayType=Int32Array,e[Symbol.toStringTag]=`Interval`))(Vn.prototype);var Hn=class extends D{constructor(e){super(C.Duration),this.unit=e}toString(){return`Duration<${b[this.unit]}>`}};dn=Symbol.toStringTag,Hn[dn]=(e=>(e.unit=null,e.ArrayType=BigInt64Array,e[Symbol.toStringTag]=`Duration`))(Hn.prototype);var Un=class extends D{constructor(e){super(C.List),this.children=[e]}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};fn=Symbol.toStringTag,Un[fn]=(e=>(e.children=null,e[Symbol.toStringTag]=`List`))(Un.prototype);var k=class extends D{constructor(e){super(C.Struct),this.children=e}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(`, `)}}>`}};pn=Symbol.toStringTag,k[pn]=(e=>(e.children=null,e[Symbol.toStringTag]=`Struct`))(k.prototype);var Wn=class extends D{constructor(e,t,n){super(C.Union),this.mode=e,this.children=n,this.typeIds=t=Int32Array.from(t),this.typeIdToChildIndex=t.reduce((e,t,n
1)=>(e[t]=n)&&e||e,Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(` | `)}>`}};mn=Symbol.toStringTag,Wn[mn]=(e=>(e.mode=null,e.typeIds=null,e.children=null,e.typeIdToChildIndex=null,e.ArrayType=Int8Array,e[Symbol.toStringTag]=`Union`))(Wn.prototype);var Gn=class extends D{constructor(e){super(C.FixedSizeBinary),this.byteWidth=e}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};hn=Symbol.toStringTag,Gn[hn]=(e=>(e.byteWidth=null,e.ArrayType=Uint8Array,e[Symbol.toStringTag]=`FixedSizeBinary`))(Gn.prototype);var Kn=class extends D{constructor(e,t){super(C.FixedSizeList),this.listSize=e,this.children=[t]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};gn=Symbol.toStringTag,Kn[gn]=(e=>(e.children=null,e.listSize=null,e[Symbol.toStringTag]=`FixedSizeList`))(Kn.prototype);var qn=class extends D{constructor(e,t=!1){if(super(C.Map),this.children=[e],this.keysSorted=t,e&&(e.name=`entries`,e?.type?.children)){let t=(e?.type)?.children[0];t&&(t.name=`key`);let n=(e?.type)?.children[1];n&&(n.name=`value`)}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(`, `)}}>`}};_n=Symbol.toStringTag,qn[_n]=(e=>(e.children=null,e.keysSorted=null,e[Symbol.toStringTag]=`Map_`))(qn.prototype);var Jn=(e=>()=>++e)(-1),Yn=class extends D{constructor(e,t,n,r){super(C.Dictionary),this.indices=t,this.dictionary=e,this.isOrdered=r||!1,this.id=n==null?Jn():T(n)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}};vn=Symbol.toStringTag,Yn[vn]=(e=>(e.id=null,e.indices=null,e.isOrdered=null,e.dictionary=null,e[Symbol.toStringTag]=`Dictionary`))(Yn.prototype);function A(e){let t=e;switch(e.typeId){case C.Decimal:return e.bitWidth/32;case C.Interval:return t.unit===x.MONTH_DAY_NANO?4:1+t.unit;case C.FixedSizeList:return t.listSize;case C.FixedSizeBinary:return t.byteWidth;default:return 1}}var j=class{visitMany(e,...t){return e.map((e,n)=>this.visit(e,...t.map(e=>e[n])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,t=!0){return Xn(this,e,t)}getVisitFnByTypeId(e,t=!0){return Zn(this,e,t)}visitNull(e,...t){return null}visitBool(e,...t){return null}visitInt(e,...t){return null}visitFloat(e,...t){return null}visitUtf8(e,...t){return null}visitLargeUtf8(e,...t){return null}visitBinary(e,...t){return null}visitLargeBinary(e,...t){return null}visitFixedSizeBinary(e,...t){return null}visitDate(e,...t){return null}visitTimestamp(e,...t){return null}visitTime(e,...t){return null}visitDecimal(e,...t){return null}visitList(e,...t){return null}visitStruct(e,...t){return null}visitUnion(e,...t){return null}visitDictionary(e,...t){return null}visitInterval(e,...t){return null}visitDuration(e,...t){return null}visitFixedSizeList(e,...t){return null}visitMap(e,...t){return null}};function Xn(e,t,n=!0){return typeof t==`number`?Zn(e,t,n):typeof t==`string`&&t in C?Zn(e,C[t],n):t&&t instanceof D?Zn(e,Qn(t),n):t?.type&&t.type instanceof D?Zn(e,Qn(t.type),n):Zn(e,C.NONE,n)}function Zn(e,t,n=!0){let r=null;switch(t){case C.Null:r=e.visitNull;break;case C.Bool:r=e.visitBool;break;case C.Int:r=e.visitInt;break;case C.Int8:r=e.visitInt8||e.visitInt;break;case C.Int16:r=e.visitInt16||e.visitInt;break;case C.Int32:r=e.visitInt32||e.visitInt;break;case C.Int64:r=e.visitInt64||e.visitInt;break;case C.Uint8:r=e.visitUint8||e.visitInt;break;case C.Uint16:r=e.visitUint16||e.visitInt;break;case C.Uint32:r=e.visitUint32||e.visitInt;break;case C.Uint64:r=e.visitUint64||e.visitInt;break;case C.Float:r=e.visitFloat;break;case C.Float16:r=e.visitFloat16||e.visitFloat;break;case C.Float32:r=e.visitFloat32||e.visitFloat;break;case C.Float64:r=e.visitFloat64||e.visitFloat;break;case C.Utf8:r=e.visitUtf8;break;case C.LargeUtf8:r=e.visitLargeUtf8;break;case C.Binary:r=e.visitBinary;break;case C.LargeBinary:r=e.visitLargeBinary;break;case C.FixedSizeBinary:r=e.visitFixedSizeBinary;break;case C.Date:r=e.visitDate;break;case C.DateDay:r=e.visitDateDay||e.visitDate;break;case C.DateMillisecond:r=e.visitDateMillisecond||e.visitDate;break;case C.Timestamp:r=e.visitTimestamp;break;case C.TimestampSecond:r=e.visitTimestampSecond||e.visitTimestamp;break;case C.TimestampMillisecond:r=e.visitTimestampMillisecond||e.visitTimestamp;break;case C.TimestampMicrosecond:r=e.visitTimestampMicrosecond||e.visitTimestamp;break;case C.TimestampNanosecond:r=e.visitTimestampNanosecond||e.visitTimestamp;break;case C.Time:r=e.visitTime;break;case C.TimeSecond:r=e.visitTimeSecond||e.visitTime;break;case C.TimeMillisecond:r=e.visitTimeMillisecond||e.visitTime;break;case C.TimeMicrosecond:r=e.visitTimeMicrosecond||e.visitTime;break;case C.TimeNanosecond:r=e.visitTimeNanosecond||e.visitTime;break;
1case C.Decimal:r=e.visitDecimal;break;case C.List:r=e.visitList;break;case C.Struct:r=e.visitStruct;break;case C.Union:r=e.visitUnion;break;case C.DenseUnion:r=e.visitDenseUnion||e.visitUnion;break;case C.SparseUnion:r=e.visitSparseUnion||e.visitUnion;break;case C.Dictionary:r=e.visitDictionary;break;case C.Interval:r=e.visitInterval;break;case C.IntervalDayTime:r=e.visitIntervalDayTime||e.visitInterval;break;case C.IntervalYearMonth:r=e.visitIntervalYearMonth||e.visitInterval;break;case C.IntervalMonthDayNano:r=e.visitIntervalMonthDayNano||e.visitInterval;break;case C.Duration:r=e.visitDuration;break;case C.DurationSecond:r=e.visitDurationSecond||e.visitDuration;break;case C.DurationMillisecond:r=e.visitDurationMillisecond||e.visitDuration;break;case C.DurationMicrosecond:r=e.visitDurationMicrosecond||e.visitDuration;break;case C.DurationNanosecond:r=e.visitDurationNanosecond||e.visitDuration;break;case C.FixedSizeList:r=e.visitFixedSizeList;break;case C.Map:r=e.visitMap;break}if(typeof r==`function`)return r;if(!n)return()=>null;throw Error(`Unrecognized type '${C[t]}'`)}function Qn(e){switch(e.typeId){case C.Null:return C.Null;case C.Int:{let{bitWidth:t,isSigned:n}=e;switch(t){case 8:return n?C.Int8:C.Uint8;case 16:return n?C.Int16:C.Uint16;case 32:return n?C.Int32:C.Uint32;case 64:return n?C.Int64:C.Uint64}return C.Int}case C.Float:switch(e.precision){case v.HALF:return C.Float16;case v.SINGLE:return C.Float32;case v.DOUBLE:return C.Float64}return C.Float;case C.Binary:return C.Binary;case C.LargeBinary:return C.LargeBinary;case C.Utf8:return C.Utf8;case C.LargeUtf8:return C.LargeUtf8;case C.Bool:return C.Bool;case C.Decimal:return C.Decimal;case C.Time:switch(e.unit){case b.SECOND:return C.TimeSecond;case b.MILLISECOND:return C.TimeMillisecond;case b.MICROSECOND:return C.TimeMicrosecond;case b.NANOSECOND:return C.TimeNanosecond}return C.Time;case C.Timestamp:switch(e.unit){case b.SECOND:return C.TimestampSecond;case b.MILLISECOND:return C.TimestampMillisecond;case b.MICROSECOND:return C.TimestampMicrosecond;case b.NANOSECOND:return C.TimestampNanosecond}return C.Timestamp;case C.Date:switch(e.unit){case y.DAY:return C.DateDay;case y.MILLISECOND:return C.DateMillisecond}return C.Date;case C.Interval:switch(e.unit){case x.DAY_TIME:return C.IntervalDayTime;case x.YEAR_MONTH:return C.IntervalYearMonth;case x.MONTH_DAY_NANO:return C.IntervalMonthDayNano}return C.Interval;case C.Duration:switch(e.unit){case b.SECOND:return C.DurationSecond;case b.MILLISECOND:return C.DurationMillisecond;case b.MICROSECOND:return C.DurationMicrosecond;case b.NANOSECOND:return C.DurationNanosecond}return C.Duration;case C.Map:return C.Map;case C.List:return C.List;case C.Struct:return C.Struct;case C.Union:switch(e.mode){case _.Dense:return C.DenseUnion;case _.Sparse:return C.SparseUnion}return C.Union;case C.FixedSizeBinary:return C.FixedSizeBinary;case C.FixedSizeList:return C.FixedSizeList;case C.Dictionary:return C.Dictionary}throw Error(`Unrecognized type '${C[e.typeId]}'`)}j.prototype.visitInt8=null,j.prototype.visitInt16=null,j.prototype.visitInt32=null,j.prototype.visitInt64=null,j.prototype.visitUint8=null,j.prototype.visitUint16=null,j.prototype.visitUint32=null,j.prototype.visitUint64=null,j.prototype.visitFloat16=null,j.prototype.visitFloat32=null,j.prototype.visitFloat64=null,j.prototype.visitDateDay=null,j.prototype.visitDateMillisecond=null,j.prototype.visitTimestampSecond=null,j.prototype.visitTimestampMillisecond=null,j.prototype.visitTimestampMicrosecond=null,j.prototype.visitTimestampNanosecond=null,j.prototype.visitTimeSecond=null,j.prototype.visitTimeMillisecond=null,j.prototype.visitTimeMicrosecond=null,j.prototype.visitTimeNanosecond=null,j.prototype.visitDenseUnion=null,j.prototype.visitSparseUnion=null,j.prototype.visitIntervalDayTime=null,j.prototype.visitIntervalYearMonth=null,j.prototype.visitIntervalMonthDayNano=null,j.prototype.visitDuration=null,j.prototype.visitDurationSecond=null,j.prototype.visitDurationMillisecond=null,j.prototype.visitDurationMicrosecond=null,j.prototype.visitDurationNanosecond=null;var $n=e({float64ToUint16:()=>rr,uint16ToFloat64:()=>nr}),er=new Float64Array(1),tr=new Uint32Array(er.buffer);function nr(e){let t=(e&31744)>>10,n=(e&1023)/1024,r=(-1)**((e&32768)>>15);switch(t){case 31:return r*(n?NaN:1/0);case 0:return r*(n?6103515625e-14*n:0)}return r*2**(t-15)*(1+n)}function rr(e){if(e!==e)return 32256;er[0]=e;let t=(tr[1]&2147483648)>>16&65535,n=tr[1]&2146435072,r=0;return n>=1089470464?tr[0]>0?n=31744:(n=(n&2080374784)>>16,r=(tr[1]&1048575)>>10):n<=1056964608?(r=1048576+(tr[1]&1048575),r=1048576+(r<<(n>>20)-998)>>21,n=0):(n=n-1056964608>>10,r=(tr[1]&1048575)+512>>10),t|n|r&65535}var M=class extends j{};function N(e){return(t,n,r)=>{if(t.setValid(n,r!=null))return e(t,n,r)}}
vendor: 5,959 bytes, line 1
1var ir=(e,t,n)=>{e[t]=Math.floor(n/864e5)},ar=(e,t,n,r)=>{if(n+1<t.length){let i=T(t[n]),a=T(t[n+1]);e.set(r.subarray(0,a-i),i)}},or=({offset:e,values:t},n,r)=>{let i=e+n;r?t[i>>3]|=1<<i%8:t[i>>3]&=~(1<<i%8)},P=({values:e},t,n)=>{e[t]=n},sr=({values:e},t,n)=>{e[t]=n},cr=({values:e},t,n)=>{e[t]=rr(n)},lr=(e,t,n)=>{switch(e.type.precision){case v.HALF:return cr(e,t,n);case v.SINGLE:case v.DOUBLE:return sr(e,t,n)}},ur=({values:e},t,n)=>{ir(e,t,n.valueOf())},dr=({values:e},t,n)=>{e[t]=BigInt(n)},fr=({stride:e,values:t},n,r)=>{t.set(r.subarray(0,e),e*n)},pr=({values:e,valueOffsets:t},n,r)=>ar(e,t,n,r),mr=({values:e,valueOffsets:t},n,r)=>ar(e,t,n,c(r)),hr=(e,t,n)=>{e.type.unit===y.DAY?ur(e,t,n):dr(e,t,n)},gr=({values:e},t,n)=>{e[t]=BigInt(n/1e3)},_r=({values:e},t,n)=>{e[t]=BigInt(n)},vr=({values:e},t,n)=>{e[t]=BigInt(n*1e3)},yr=({values:e},t,n)=>{e[t]=BigInt(n*1e6)},br=(e,t,n)=>{switch(e.type.unit){case b.SECOND:return gr(e,t,n);case b.MILLISECOND:return _r(e,t,n);case b.MICROSECOND:return vr(e,t,n);case b.NANOSECOND:return yr(e,t,n)}},xr=({values:e},t,n)=>{e[t]=n},Sr=({values:e},t,n)=>{e[t]=n},Cr=({values:e},t,n)=>{e[t]=n},wr=({values:e},t,n)=>{e[t]=n},Tr=(e,t,n)=>{switch(e.type.unit){case b.SECOND:return xr(e,t,n);case b.MILLISECOND:return Sr(e,t,n);case b.MICROSECOND:return Cr(e,t,n);case b.NANOSECOND:return wr(e,t,n)}},Er=({values:e,stride:t},n,r)=>{e.set(r.subarray(0,t),t*n)},Dr=(e,t,n)=>{let r=e.children[0],i=e.valueOffsets,a=F.getVisitFn(r);if(Array.isArray(n))for(let e=-1,o=i[t],s=i[t+1];o<s;)a(r,o++,n[++e]);else for(let e=-1,o=i[t],s=i[t+1];o<s;)a(r,o++,n.get(++e))},Or=(e,t,n)=>{let r=e.children[0],{valueOffsets:i}=e,a=F.getVisitFn(r),{[t]:o,[t+1]:s}=i,c=n instanceof Map?n.entries():Object.entries(n);for(let e of c)if(a(r,o,e),++o>=s)break},kr=(e,t)=>(n,r,i,a)=>r&&n(r,e,t[a]),Ar=(e,t)=>(n,r,i,a)=>r&&n(r,e,t.get(a)),jr=(e,t)=>(n,r,i,a)=>r&&n(r,e,t.get(i.name)),Mr=(e,t)=>(n,r,i,a)=>r&&n(r,e,t[i.name]),Nr=(e,t,n)=>{let r=e.type.children.map(e=>F.getVisitFn(e.type)),i=n instanceof Map?jr(t,n):n instanceof q?Ar(t,n):Array.isArray(n)?kr(t,n):Mr(t,n);e.type.children.forEach((t,n)=>i(r[n],e.children[n],t,n))},Pr=(e,t,n)=>{e.type.mode===_.Dense?Fr(e,t,n):Ir(e,t,n)},Fr=(e,t,n)=>{let r=e.type.typeIdToChildIndex[e.typeIds[t]],i=e.children[r];F.visit(i,e.valueOffsets[t],n)},Ir=(e,t,n)=>{let r=e.type.typeIdToChildIndex[e.typeIds[t]],i=e.children[r];F.visit(i,t,n)},Lr=(e,t,n)=>{var r;(r=e.dictionary)==null||r.set(e.values[t],n)},Rr=(e,t,n)=>{switch(e.type.unit){case x.YEAR_MONTH:return Br(e,t,n);case x.DAY_TIME:return zr(e,t,n);case x.MONTH_DAY_NANO:return Vr(e,t,n)}},zr=({values:e},t,n)=>{e.set(n.subarray(0,2),2*t)},Br=({values:e},t,n)=>{e[t]=n[0]*12+n[1]%12},Vr=({values:e,stride:t},n,r)=>{e.set(r.subarray(0,t),t*n)},Hr=({values:e},t,n)=>{e[t]=n},Ur=({values:e},t,n)=>{e[t]=n},Wr=({values:e},t,n)=>{e[t]=n},Gr=({values:e},t,n)=>{e[t]=n},Kr=(e,t,n)=>{switch(e.type.unit){case b.SECOND:return Hr(e,t,n);case b.MILLISECOND:return Ur(e,t,n);case b.MICROSECOND:return Wr(e,t,n);case b.NANOSECOND:return Gr(e,t,n)}},qr=(e,t,n)=>{let{stride:r}=e,i=e.children[0],a=F.getVisitFn(i);if(Array.isArray(n))for(let e=-1,o=t*r;++e<r;)a(i,o+e,n[e]);else for(let e=-1,o=t*r;++e<r;)a(i,o+e,n.get(e))};M.prototype.visitBool=N(or),M.prototype.visitInt=N(P),M.prototype.visitInt8=N(P),M.prototype.visitInt16=N(P),M.prototype.visitInt32=N(P),M.prototype.visitInt64=N(P),M.prototype.visitUint8=N(P),M.prototype.visitUint16=N(P),M.prototype.visitUint32=N(P),M.prototype.visitUint64=N(P),M.prototype.visitFloat=N(lr),M.prototype.visitFloat16=N(cr),M.prototype.visitFloat32=N(sr),M.prototype.visitFloat64=N(sr),M.prototype.visitUtf8=N(mr),M.prototype.visitLargeUtf8=N(mr),M.prototype.visitBinary=N(pr),M.prototype.visitLargeBinary=N(pr),M.prototype.visitFixedSizeBinary=N(fr),M.prototype.visitDate=N(hr),M.prototype.visitDateDay=N(ur),M.prototype.visitDateMillisecond=N(dr),M.prototype.visitTimestamp=N(br),M.prototype.visitTimestampSecond=N(gr),M.prototype.visitTimestampMillisecond=N(_r),M.prototype.visitTimestampMicrosecond=N(vr),M.prototype.visitTimestampNanosecond=N(yr),M.prototype.visitTime=N(Tr),M.prototype.visitTimeSecond=N(xr),M.prototype.visitTimeMillisecond=N(Sr),M.prototype.visitTimeMicrosecond=N(Cr),M.prototype.visitTimeNanosecond=N(wr),M.prototype.visitDecimal=N(Er),M.prototype.visitList=N(Dr),M.prototype.visitStruct=N(Nr),M.prototype.visitUnion=N(Pr),M.prototype.visitDenseUnion=N(Fr),M.prototype.visitSparseUnion=N(Ir),M.prototype.visitDictionary=N(Lr),M.prototype.visitInterval=N(Rr),M.prototype.visitIntervalDayTime=N(zr),M.prototype.visitIntervalYearMonth=N(Br),M.prototype.visitIntervalMonthDayNano=N(Vr),M.prototype.visitDuration=N(Kr),M.prototype.visitDurationSecond=N(Hr),M.prototype.visitDurationMillisecond=N(Ur),M.prototype.visitDurationMicrosecond=N(Wr),M.prototype.visitDurationNanosecond=N(Gr),M.prototype.visitFixedSizeList=N(qr),M.prototype.visitMap=N(Or);var F=new M,I=Symbol.for(`parent`),Jr=Symbol.for(`rowIndex`),Yr=class{constructor(e,t){return this[I]=e,this[Jr]=t,new Proxy(this,Zr)}toArray(){return Object.values(this.toJSON())}toJSON(){let e=this[Jr],t=this[I],n=t.type.children,r={};for(let i=-1,a=n.length;++i<a;)r[n[i].name]=B.visit(t.children[i],e);return r}toString(){return`{${[...this].map(([e,t])=>`${Lt(e)}: ${Lt(t)}`).join(`, `)}}`}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.toString()}[Symbol.iterator](){return new Xr(this[I],this[Jr])}},Xr=class{constructor(e,t){this.childIndex=0,this.children=e.children,this.rowIndex=t,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){let e=this.childIndex;return e<this.numChildren?(this.childIndex=e+1,{done:!1,value:[this.childFields[e].name,B.visit(this.children[e],this.rowIndex)]}):{done:!0,value:null}}};Object.defineProperties(Yr.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:`Row`},[I]:{writable:!0,enumerable:!1,configurable:!1,value:null}
1,[Jr]:{writable:!0,enumerable:!1,configurable:!1,value:-1}});var Zr=new class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[I].type.children.map(e=>e.name)}has(e,t){return e[I].type.children.some(e=>e.name===t)}getOwnPropertyDescriptor(e,t){if(e[I].type.children.some(e=>e.name===t))return{writable:!0,enumerable:!0,configurable:!0}}get(e,t){if(Reflect.has(e,t))return e[t];let n=e[I].type.children.findIndex(e=>e.name===t);if(n!==-1){let r=B.visit(e[I].children[n],e[Jr]);return Reflect.set(e,t,r),r}}set(e,t,n){let r=e[I].type.children.findIndex(e=>e.name===t);return r===-1?Reflect.has(e,t)||typeof t==`symbol`?Reflect.set(e,t,n):!1:(F.visit(e[I].children[r],e[Jr],n),Reflect.set(e,t,n))}},L=class extends j{};function R(e){return(t,n)=>t.getValid(n)?e(t,n):null}var Qr=(e,t)=>864e5*e[t],$r=(e,t)=>null,ei=(e,t,n)=>{if(n+1>=t.length)return null;let r=T(t[n]),i=T(t[n+1]);return e.subarray(r,i)},ti=({offset:e,values:t},n)=>{let r=e+n;return(t[r>>3]&1<<r%8)!=0},ni=({values:e},t)=>Qr(e,t),ri=({values:e},t)=>T(e[t]),z=({stride:e,values:t},n)=>t[e*n],ii=({stride:e,values:t},n)=>nr(t[e*n]),ai=({values:e},t)=>e[t],oi=({stride:e,values:t},n)=>t.subarray(e*n,e*(n+1)),si=({values:e,valueOffsets:t},n)=>ei(e,t,n),ci=({values:e,valueOffsets:t},n)=>{let r=ei(e,t,n);return r===null?null:o(r)},li=({values:e},t)=>e[t],ui=({type:e,values:t},n)=>e.precision===v.HALF?nr(t[n]):t[n],di=(e,t)=>e.type.unit===y.DAY?ni(e,t):ri(e,t),fi=({values:e},t)=>1e3*T(e[t]),pi=({values:e},t)=>T(e[t]),mi=({values:e},t)=>Rt(e[t],BigInt(1e3)),hi=({values:e},t)=>Rt(e[t],BigInt(1e6)),gi=(e,t)=>{switch(e.type.unit){case b.SECOND:return fi(e,t);case b.MILLISECOND:return pi(e,t);case b.MICROSECOND:return mi(e,t);case b.NANOSECOND:return hi(e,t)}},_i=({values:e},t)=>e[t],vi=({values:e},t)=>e[t],yi=({values:e},t)=>e[t],bi=({values:e},t)=>e[t],xi=(e,t)=>{switch(e.type.unit){case b.SECOND:return _i(e,t);case b.MILLISECOND:return vi(e,t);case b.MICROSECOND:return yi(e,t);case b.NANOSECOND:return bi(e,t)}},Si=({values:e,stride:t},n)=>Yt.decimal(e.subarray(t*n,t*(n+1))),Ci=(e,t)=>{let{valueOffsets:n,stride:r,children:i}=e,{[t*r]:a,[t*r+1]:o}=n;return new q([i[0].slice(a,o-a)])},wi=(e,t)=>{let{valueOffsets:n,children:r}=e,{[t]:i,[t+1]:a}=n,o=r[0];return new Wi(o.slice(i,a-i))},Ti=(e,t)=>new Yr(e,t),Ei=(e,t)=>e.type.mode===_.Dense?Di(e,t):Oi(e,t),Di=(e,t)=>{let n=e.type.typeIdToChildIndex[e.typeIds[t]],r=e.children[n];return B.visit(r,e.valueOffsets[t])},Oi=(e,t)=>{let n=e.type.typeIdToChildIndex[e.typeIds[t]],r=e.children[n];return B.visit(r,t)},ki=(e,t)=>e.dictionary?.get(e.values[t]),Ai=(e,t)=>e.type.unit===x.MONTH_DAY_NANO?Ni(e,t):e.type.unit===x.DAY_TIME?ji(e,t):Mi(e,t),ji=({values:e},t)=>e.subarray(2*t,2*(t+1)),Mi=({values:e},t)=>{let n=e[t],r=new Int32Array(2);return r[0]=Math.trunc(n/12),r[1]=Math.trunc(n%12),r},Ni=({values:e},t)=>e.subarray(4*t,4*(t+1)),Pi=({values:e},t)=>e[t],Fi=({values:e},t)=>e[t],Ii=({values:e},t)=>e[t],Li=({values:e},t)=>e[t],Ri=(e,t)=>{switch(e.type.unit){case b.SECOND:return Pi(e,t);case b.MILLISECOND:return Fi(e,t);case b.MICROSECOND:return Ii(e,t);case b.NANOSECOND:return Li(e,t)}},zi=(e,t)=>{let{stride:n,children:r}=e;return new q([r[0].slice(t*n,n)])};L.prototype.visitNull=R($r),L.prototype.visitBool=R(ti),L.prototype.visitInt=R(li),L.prototype.visitInt8=R(z),L.prototype.visitInt16=R(z),L.prototype.visitInt32=R(z),L.prototype.visitInt64=R(ai),L.prototype.visitUint8=R(z),L.prototype.visitUint16=R(z),L.prototype.visitUint32=R(z),L.prototype.visitUint64=R(ai),L.prototype.visitFloat=R(ui),L.prototype.visitFloat16=R(ii),L.prototype.visitFloat32=R(z),L.prototype.visitFloat64=R(z),L.prototype.visitUtf8=R(ci),L.prototype.visitLargeUtf8=R(ci),L.prototype.visitBinary=R(si),L.prototype.visitLargeBinary=R(si),L.prototype.visitFixedSizeBinary=R(oi),L.prototype.visitDate=R(di),L.prototype.visitDateDay=R(ni),L.prototype.visitDateMillisecond=R(ri),L.prototype.visitTimestamp=R(gi),L.prototype.visitTimestampSecond=R(fi),L.prototype.visitTimestampMillisecond=R(pi),L.prototype.visitTimestampMicrosecond=R(mi),L.prototype.visitTimestampNanosecond=R(hi),L.prototype.visitTime=R(xi),L.prototype.visitTimeSecond=R(_i),L.prototype.visitTimeMillisecond=R(vi),L.prototype.visitTimeMicrosecond=R(yi),L.prototype.visitTimeNanosecond=R(bi),L.prototype.visitDecimal=R(Si),L.prototype.visitList=R(Ci),L.prototype.visitStruct=R(Ti),L.prototype.visitUnion=R(Ei),L.prototype.visitDenseUnion=R(Di),L.prototype.visitSparseUnion=R(Oi),L.prototype.visitDictionary=R(ki),L.prototype.visitInterval=
1R(Ai),L.prototype.visitIntervalDayTime=R(ji),L.prototype.visitIntervalYearMonth=R(Mi),L.prototype.visitIntervalMonthDayNano=R(Ni),L.prototype.visitDuration=R(Ri),L.prototype.visitDurationSecond=R(Pi),L.prototype.visitDurationMillisecond=R(Fi),L.prototype.visitDurationMicrosecond=R(Ii),L.prototype.visitDurationNanosecond=R(Li),L.prototype.visitFixedSizeList=R(zi),L.prototype.visitMap=R(wi);var B=new L,Bi=Symbol.for(`keys`),Vi=Symbol.for(`vals`),Hi=Symbol.for(`kKeysAsStrings`),Ui=Symbol.for(`_kKeysAsStrings`),Wi=class{constructor(e){return this[Bi]=new q([e.children[0]]).memoize(),this[Vi]=e.children[1],new Proxy(this,new Ki)}get[Hi](){return this[Ui]||(this[Ui]=Array.from(this[Bi].toArray(),String))}[Symbol.iterator](){return new Gi(this[Bi],this[Vi])}get size(){return this[Bi].length}toArray(){return Object.values(this.toJSON())}toJSON(){let e=this[Bi],t=this[Vi],n={};for(let r=-1,i=e.length;++r<i;)n[e.get(r)]=B.visit(t,r);return n}toString(){return`{${[...this].map(([e,t])=>`${Lt(e)}: ${Lt(t)}`).join(`, `)}}`}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.toString()}},Gi=class{constructor(e,t){this.keys=e,this.vals=t,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){let e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),B.visit(this.vals,e)]})}},Ki=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[Hi]}has(e,t){return e[Hi].includes(t)}getOwnPropertyDescriptor(e,t){if(e[Hi].indexOf(t)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,t){if(Reflect.has(e,t))return e[t];let n=e[Hi].indexOf(t);if(n!==-1){let r=B.visit(Reflect.get(e,Vi),n);return Reflect.set(e,t,r),r}}set(e,t,n){let r=e[Hi].indexOf(t);return r===-1?Reflect.has(e,t)?Reflect.set(e,t,n):!1:(F.visit(Reflect.get(e,Vi),r,n),Reflect.set(e,t,n))}};Object.defineProperties(Wi.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:`Row`},[Bi]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Vi]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Ui]:{writable:!0,enumerable:!1,configurable:!1,value:null}});var qi=e({clampRange:()=>Yi,createElementComparator:()=>Qi,wrapIndex:()=>Xi}),Ji;function Yi(e,t,n,r){let{length:i=0}=e,a=typeof t==`number`?t:0,o=typeof n==`number`?n:i;return a<0&&(a=(a%i+i)%i),o<0&&(o=(o%i+i)%i),o<a&&(Ji=a,a=o,o=Ji),o>i&&(o=i),r?r(e,a,o):[a,o]}var Xi=(e,t)=>e<0?t+e:e,Zi=e=>e!==e;function Qi(e){if(typeof e!=`object`||!e)return Zi(e)?Zi:t=>t===e;if(e instanceof Date){let t=e.valueOf();return e=>e instanceof Date?e.valueOf()===t:!1}return ArrayBuffer.isView(e)?t=>t?Ke(e,t):!1:e instanceof Map?ea(e):Array.isArray(e)?$i(e):e instanceof q?ta(e):na(e,!0)}function $i(e){let t=[];for(let n=-1,r=e.length;++n<r;)t[n]=Qi(e[n]);return ra(t)}function ea(e){let t=-1,n=[];for(let r of e.values())n[++t]=Qi(r);return ra(n)}function ta(e){let t=[];for(let n=-1,r=e.length;++n<r;)t[n]=Qi(e.get(n));return ra(t)}function na(e,t=!1){let n=Object.keys(e);if(!t&&n.length===0)return()=>!1;let r=[];for(let t=-1,i=n.length;++t<i;)r[t]=Qi(e[n[t]]);return ra(r,n)}function ra(e,t){return n=>{if(!n||typeof n!=`object`)return!1;switch(n.constructor){case Array:return ia(e,n);case Map:return oa(e,n,n.keys());case Wi:case Yr:case Object:case void 0:return oa(e,n,t||Object.keys(n))}return n instanceof q?aa(e,n):!1}}function ia(e,t){let n=e.length;if(t.length!==n)return!1;for(let r=-1;++r<n;)if(!e[r](t[r]))return!1;return!0}function aa(e,t){let n=e.length;if(t.length!==n)return!1;for(let r=-1;++r<n;)if(!e[r](t.get(r)))return!1;return!0}function oa(e,t,n){let r=n[Symbol.iterator](),i=t instanceof Map?t.keys():Object.keys(t)[Symbol.iterator](),a=t instanceof Map?t.values():Object.values(t)[Symbol.iterator](),o=0,s=e.length,c=a.next(),l=r.next(),u=i.next();for(;o<s&&!l.done&&!u.done&&!c.done&&!(l.value!==u.value||!e[o](c.value));++o,l=r.next(),u=i.next(),c=a.next());return o===s&&l.done&&u.done&&c.done?!0:(r.return&&r.return(),i.return&&i.return(),a.return&&a.return(),!1)}var sa=e({BitIterator:()=>pa,getBit:()=>la,getBool:()=>ca,packBools:()=>fa,popcnt_array:()=>ha,popcnt_bit_range:()=>ma,popcnt_uint32:()=>ga,setBool:()=>ua,truncateBitmap:()=>da});function ca(e,t,n,r){return(n&1<<r)!=0}function la(e,t,n,r){return(n&1<<r)>>r}function ua(e,t,n){return n?!!(e[t>>3]|=1<<t%8)||!0:!(e[t>>3]&=~(1<<t%8))&&!1}
vendor: 4,366 bytes, line 1
1function da(e,t,n){let r=n.byteLength+7&-8;if(e>0||n.byteLength<r){let i=new Uint8Array(r);return i.set(e%8==0?n.subarray(e>>3):fa(new pa(n,e,t,null,ca)).subarray(0,r)),i}return n}function fa(e){let t=[],n=0,r=0,i=0;for(let a of e)a&&(i|=1<<r),++r===8&&(t[n++]=i,i=r=0);(n===0||r>0)&&(t[n++]=i);let a=new Uint8Array(t.length+7&-8);return a.set(t),a}var pa=class{constructor(e,t,n,r,i){this.bytes=e,this.length=n,this.context=r,this.get=i,this.bit=t%8,this.byteIndex=t>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index<this.length?(this.bit===8&&(this.bit=0,this.byte=this.bytes[this.byteIndex++]),{value:this.get(this.context,this.index++,this.byte,this.bit++)}):{done:!0,value:null}}[Symbol.iterator](){return this}};function ma(e,t,n){if(n-t<=0)return 0;if(n-t<8){let r=0;for(let i of new pa(e,t,n-t,e,la))r+=i;return r}let r=n>>3<<3,i=t+(t%8==0?0:8-t%8);return ma(e,t,i)+ma(e,r,n)+ha(e,i>>3,r-i>>3)}function ha(e,t,n){let r=0,i=Math.trunc(t),a=new DataView(e.buffer,e.byteOffset,e.byteLength),o=n===void 0?e.byteLength:i+n;for(;o-i>=4;)r+=ga(a.getUint32(i)),i+=4;for(;o-i>=2;)r+=ga(a.getUint16(i)),i+=2;for(;o-i>=1;)r+=ga(a.getUint8(i)),i+=1;return r}function ga(e){let t=Math.trunc(e);return t-=t>>>1&1431655765,t=(t&858993459)+(t>>>2&858993459),(t+(t>>>4)&252645135)*16843009>>>24}var V=class e{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(this._nullCount!==0){let{type:e}=this;return D.isSparseUnion(e)||D.isDenseUnion(e)?this.children.some(e=>e.nullable):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let e=0,{valueOffsets:t,values:n,nullBitmap:r,typeIds:i}=this;return t&&(e+=t.byteLength),n&&(e+=n.byteLength),r&&(e+=r.byteLength),i&&(e+=i.byteLength),this.children.reduce((e,t)=>e+t.byteLength,e)}get nullCount(){if(D.isUnion(this.type))return this.children.reduce((e,t)=>e+t.nullCount,0);let e=this._nullCount,t;return e<=-1&&(t=this.nullBitmap)&&(this._nullCount=e=t.length===0?0:this.length-ma(t,this.offset,this.offset+this.length)),e}constructor(t,n,r,i,a,o=[],s){this.type=t,this.children=o,this.dictionary=s,this.offset=Math.floor(Math.max(n||0,0)),this.length=Math.floor(Math.max(r||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1));let c;a instanceof e?(this.stride=a.stride,this.values=a.values,this.typeIds=a.typeIds,this.nullBitmap=a.nullBitmap,this.valueOffsets=a.valueOffsets):(this.stride=A(t),a&&((c=a[0])&&(this.valueOffsets=c),(c=a[1])&&(this.values=c),(c=a[2])&&(this.nullBitmap=c),(c=a[3])&&(this.typeIds=c)))}getValid(e){let{type:t}=this;if(D.isUnion(t)){let n=t,r=this.children[n.typeIdToChildIndex[this.typeIds[e]]],i=n.mode===_.Dense?this.valueOffsets[e]:e;return r.getValid(i)}if(this.nullable&&this.nullCount>0){let t=this.offset+e;return(this.nullBitmap[t>>3]&1<<t%8)!=0}return!0}setValid(e,t){let n,{type:r}=this;if(D.isUnion(r)){let i=r,a=this.children[i.typeIdToChildIndex[this.typeIds[e]]],o=i.mode===_.Dense?this.valueOffsets[e]:e;n=a.getValid(o),a.setValid(o,t)}else{let{nullBitmap:r}=this,{offset:i,length:a}=this,o=i+e,s=1<<o%8,c=o>>3;(!r||r.byteLength<=c)&&(r=new Uint8Array((i+a+63&-64)>>3).fill(255),this.nullCount>0?(r.set(da(i,a,this.nullBitmap),0),Object.assign(this,{nullBitmap:r})):Object.assign(this,{nullBitmap:r,_nullCount:0}));let l=r[c];n=(l&s)!==0,r[c]=t?l|s:l&~s}return n!==!!t&&(this._nullCount=this.nullCount+(t?-1:1)),t}clone(t=this.type,n=this.offset,r=this.length,i=this._nullCount,a=this,o=this.children){return new e(t,n,r,i,a,o,this.dictionary)}slice(e,t){let{stride:n,typeId:r,children:i}=this,a=(this._nullCount===0)-1,o=r===16?n:1,s=this._sliceBuffers(e,t,n,r);return this.clone(this.type,this.offset+e,t,a,s,i.length===0||this.valueOffsets?i:this._sliceChildren(i,o*e,o*t))}_changeLengthAndBackfillNullBitmap(e){if(this.typeId===C.Null)return this.clone(this.type,0,e,0);let{length:t,nullCount:n}=this,r=new Uint8Array((e+63&-64)>>3).fill(255,0,t>>3);r[t>>3]=(1<<t-(t&-8))-1,n>0&&r.set(da(this.offset,t,this.nullBitmap),0);let i=this.buffers;return i[w.VALIDITY]=r,this.clone(this.type,0,e,n+(e-t),i)}_sliceBuffers(e,t,n,r){let i,{buffers:a}=this;return(i=a[w.TYPE])&&(a[w.TYPE]=i.subarray(e,e+t)),(i=a[w.OFFSET])&&(a[w.OFFSET]=i.subarray(e,e+t+1))||(i=a[w.DATA])&&(a[w.DATA]=r===6?i:i.subarray(n*e,n*(e+t))),a}
1_sliceChildren(e,t,n){return e.map(e=>e.slice(t,n))}};V.prototype.children=Object.freeze([]);var _a=new class e extends j{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){let{type:t,offset:n=0,length:r=0}=e;return new V(t,n,r,r)}visitBool(e){let{type:t,offset:n=0}=e,r=m(e.nullBitmap),i=p(t.ArrayType,e.data),{length:a=i.length>>3,nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,i,r])}visitInt(e){let{type:t,offset:n=0}=e,r=m(e.nullBitmap),i=p(t.ArrayType,e.data),{length:a=i.length,nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,i,r])}visitFloat(e){let{type:t,offset:n=0}=e,r=m(e.nullBitmap),i=p(t.ArrayType,e.data),{length:a=i.length,nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,i,r])}visitUtf8(e){let{type:t,offset:n=0}=e,r=m(e.data),i=m(e.nullBitmap),a=ve(e.valueOffsets),{length:o=a.length-1,nullCount:s=e.nullBitmap?-1:0}=e;return new V(t,n,o,s,[a,r,i])}visitLargeUtf8(e){let{type:t,offset:n=0}=e,r=m(e.data),i=m(e.nullBitmap),a=ye(e.valueOffsets),{length:o=a.length-1,nullCount:s=e.nullBitmap?-1:0}=e;return new V(t,n,o,s,[a,r,i])}visitBinary(e){let{type:t,offset:n=0}=e,r=m(e.data),i=m(e.nullBitmap),a=ve(e.valueOffsets),{length:o=a.length-1,nullCount:s=e.nullBitmap?-1:0}=e;return new V(t,n,o,s,[a,r,i])}visitLargeBinary(e){let{type:t,offset:n=0}=e,r=m(e.data),i=m(e.nullBitmap),a=ye(e.valueOffsets),{length:o=a.length-1,nullCount:s=e.nullBitmap?-1:0}=e;return new V(t,n,o,s,[a,r,i])}visitFixedSizeBinary(e){let{type:t,offset:n=0}=e,r=m(e.nullBitmap),i=p(t.ArrayType,e.data),{length:a=i.length/A(t),nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,i,r])}visitDate(e){let{type:t,offset:n=0}=e,r=m(e.nullBitmap),i=p(t.ArrayType,e.data),{length:a=i.length/A(t),nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,i,r])}visitTimestamp(e){let{type:t,offset:n=0}=e,r=m(e.nullBitmap),i=p(t.ArrayType,e.data),{length:a=i.length/A(t),nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,i,r])}visitTime(e){let{type:t,offset:n=0}=e,r=m(e.nullBitmap),i=p(t.ArrayType,e.data),{length:a=i.length/A(t),nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,i,r])}visitDecimal(e){let{type:t,offset:n=0}=e,r=m(e.nullBitmap),i=p(t.ArrayType,e.data),{length:a=i.length/A(t),nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,i,r])}visitList(e){let{type:t,offset:n=0,child:r}=e,i=m(e.nullBitmap),a=ve(e.valueOffsets),{length:o=a.length-1,nullCount:s=e.nullBitmap?-1:0}=e;return new V(t,n,o,s,[a,void 0,i],[r])}visitStruct(e){let{type:t,offset:n=0,children:r=[]}=e,i=m(e.nullBitmap),{length:a=r.reduce((e,{length:t})=>Math.max(e,t),0),nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,void 0,i],r)}visitUnion(e){let{type:t,offset:n=0,children:r=[]}=e,i=p(t.ArrayType,e.typeIds),{length:a=i.length,nullCount:o=-1}=e;return D.isSparseUnion(t)?new V(t,n,a,o,[void 0,void 0,void 0,i],r):new V(t,n,a,o,[ve(e.valueOffsets),void 0,void 0,i],r)}visitDictionary(t){let{type:n,offset:r=0}=t,i=m(t.nullBitmap),a=p(n.indices.ArrayType,t.data),{dictionary:o=new q([new e().visit({type:n.dictionary})])}=t,{length:s=a.length,nullCount:c=t.nullBitmap?-1:0}=t;return new V(n,r,s,c,[void 0,a,i],[],o)}visitInterval(e){let{type:t,offset:n=0}=e,r=m(e.nullBitmap),i=p(t.ArrayType,e.data),{length:a=i.length/A(t),nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,i,r])}visitDuration(e){let{type:t,offset:n=0}=e,r=m(e.nullBitmap),i=p(t.ArrayType,e.data),{length:a=i.length,nullCount:o=e.nullBitmap?-1:0}=e;return new V(t,n,a,o,[void 0,i,r])}visitFixedSizeList(t){let{type:n,offset:r=0,child:i=new e().visit({type:n.valueType})}=t,a=m(t.nullBitmap),{length:o=i.length/A(n),nullCount:s=t.nullBitmap?-1:0}=t;return new V(n,r,o,s,[void 0,void 0,a],[i])}visitMap(t){let{type:n,offset:r=0,child:i=new e().visit({type:n.childType})}=t,a=m(t.nullBitmap),o=ve(t.valueOffsets),{length:s=o.length-1,nullCount:c=t.nullBitmap?-1:0}=t;return new V(n,r,s,c,[o,void 0,a],[i])}};function H(e){return _a.visit(e)}var va=class{constructor(e=0,t){this.numChunks=e,this.getChunkIterator=t,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndex<this.numChunks;){let e=this.chunkIterator.next();if(!e.done)return e;++this.chunkIndex<this.numChunks&&(this.chunkIterator=this.getChunkIterator(this.chunkIndex))}return{done:!0,value:null}}[Symbol.iterator](){return this}};function ya(e){return e.some(e=>e.nullable)}function ba(e){return e.reduce((e,t)=>
vendor: 6,009 bytes, line 1
1e+t.nullCount,0)}function xa(e){return e.reduce((e,t,n)=>(e[n+1]=e[n]+t.length,e),new Uint32Array(e.length+1))}function Sa(e,t,n,r){let i=[];for(let a=-1,o=e.length;++a<o;){let o=e[a],s=t[a],{length:c}=o;if(s>=r)break;if(n>=s+c)continue;if(s>=n&&s+c<=r){i.push(o);continue}let l=Math.max(0,n-s),u=Math.min(r-s,c);i.push(o.slice(l,u-l))}return i.length===0&&i.push(e[0].slice(0,0)),i}function Ca(e,t,n,r){let i=0,a=0,o=t.length-1;do{if(i>=o-1)return n<t[o]?r(e,i,n-t[i]):null;a=i+Math.trunc((o-i)*.5),n<t[a]?o=a:i=a}while(i<o)}function wa(e,t){return e.getValid(t)}function Ta(e){function t(t,n,r){return e(t[n],r)}return function(e){let n=this.data;return Ca(n,this._offsets,e,t)}}function Ea(e){let t;function n(n,r,i){return e(n[r],i,t)}return function(e,r){let i=this.data;t=r;let a=Ca(i,this._offsets,e,n);return t=void 0,a}}function Da(e){let t;function n(n,r,i){let a=i,o=0,s=0;for(let i=r-1,c=n.length;++i<c;){let r=n[i];if(~(o=e(r,t,a)))return s+o;a=0,s+=r.length}return-1}return function(e,r){t=e;let i=this.data,a=typeof r==`number`?Ca(i,this._offsets,r,n):n(i,0,0);return t=void 0,a}}var U=class extends j{};function Oa(e,t){return t===null&&e.length>0?0:-1}function ka(e,t){let{nullBitmap:n}=e;if(!n||e.nullCount<=0)return-1;let r=0;for(let i of new pa(n,e.offset+(t||0),e.length,n,ca)){if(!i)return r;++r}return-1}function W(e,t,n){if(t===void 0)return-1;if(t===null)switch(e.typeId){case C.Union:break;case C.Dictionary:break;default:return ka(e,n)}let r=B.getVisitFn(e),i=Qi(t);for(let t=(n||0)-1,a=e.length;++t<a;)if(i(r(e,t)))return t;return-1}function Aa(e,t,n){let r=B.getVisitFn(e),i=Qi(t);for(let t=(n||0)-1,a=e.length;++t<a;)if(i(r(e,t)))return t;return-1}U.prototype.visitNull=Oa,U.prototype.visitBool=W,U.prototype.visitInt=W,U.prototype.visitInt8=W,U.prototype.visitInt16=W,U.prototype.visitInt32=W,U.prototype.visitInt64=W,U.prototype.visitUint8=W,U.prototype.visitUint16=W,U.prototype.visitUint32=W,U.prototype.visitUint64=W,U.prototype.visitFloat=W,U.prototype.visitFloat16=W,U.prototype.visitFloat32=W,U.prototype.visitFloat64=W,U.prototype.visitUtf8=W,U.prototype.visitLargeUtf8=W,U.prototype.visitBinary=W,U.prototype.visitLargeBinary=W,U.prototype.visitFixedSizeBinary=W,U.prototype.visitDate=W,U.prototype.visitDateDay=W,U.prototype.visitDateMillisecond=W,U.prototype.visitTimestamp=W,U.prototype.visitTimestampSecond=W,U.prototype.visitTimestampMillisecond=W,U.prototype.visitTimestampMicrosecond=W,U.prototype.visitTimestampNanosecond=W,U.prototype.visitTime=W,U.prototype.visitTimeSecond=W,U.prototype.visitTimeMillisecond=W,U.prototype.visitTimeMicrosecond=W,U.prototype.visitTimeNanosecond=W,U.prototype.visitDecimal=W,U.prototype.visitList=W,U.prototype.visitStruct=W,U.prototype.visitUnion=W,U.prototype.visitDenseUnion=Aa,U.prototype.visitSparseUnion=Aa,U.prototype.visitDictionary=W,U.prototype.visitInterval=W,U.prototype.visitIntervalDayTime=W,U.prototype.visitIntervalYearMonth=W,U.prototype.visitIntervalMonthDayNano=W,U.prototype.visitDuration=W,U.prototype.visitDurationSecond=W,U.prototype.visitDurationMillisecond=W,U.prototype.visitDurationMicrosecond=W,U.prototype.visitDurationNanosecond=W,U.prototype.visitFixedSizeList=W,U.prototype.visitMap=W;var ja=new U,G=class extends j{};function K(e){let{type:t}=e;if(e.nullCount===0&&e.stride===1&&(D.isInt(t)&&t.bitWidth!==64||D.isTime(t)&&t.bitWidth!==64||D.isFloat(t)&&t.precision!==v.HALF))return new va(e.data.length,t=>{let n=e.data[t];return n.values.subarray(0,n.length)[Symbol.iterator]()});let n=0;return new va(e.data.length,t=>{let r=e.data[t].length,i=e.slice(n,n+r);return n+=r,new Ma(i)})}var Ma=class{constructor(e){this.vector=e,this.index=0}next(){return this.index<this.vector.length?{value:this.vector.get(this.index++)}:{done:!0,value:null}}[Symbol.iterator](){return this}};G.prototype.visitNull=K,G.prototype.visitBool=K,G.prototype.visitInt=K,G.prototype.visitInt8=K,G.prototype.visitInt16=K,G.prototype.visitInt32=K,G.prototype.visitInt64=K,G.prototype.visitUint8=K,G.prototype.visitUint16=K,G.prototype.visitUint32=K,G.prototype.visitUint64=K,G.prototype.visitFloat=K,G.prototype.visitFloat16=K,G.prototype.visitFloat32=K,G.prototype.visitFloat64=K,G.prototype.visitUtf8=K,G.prototype.visitLargeUtf8=K,G.prototype.visitBinary=K,G.prototype.visitLargeBinary=K,G.prototype.visitFixedSizeBinary=K,G.prototype.visitDate=K,G.prototype.visitDateDay=K,G.prototype.visitDateMillisecond=K,G.prototype.visitTimestamp=K,G.prototype.visitTimestampSecond=K,G.prototype.visitTimestampMillisecond=K,G.prototype.visitTimestampMicrosecond=K,G.prototype.visitTimestampNanosecond=K,G.prototype.visitTime=K,G.prototype.visitTimeSecond=K,G.prototype.visitTimeMillisecond=K,G.prototype.visitTimeMicrosecond=K,G.prototype.visitTimeNanosecond=K,G.prototype.visitDecimal=K,G.prototype.visitList=K,G.prototype.visitStruct=K,G.prototype.visitUnion=K,G.prototype.visitDenseUnion=K,G.prototype.visitSparseUnion=K,G.prototype.visitDictionary=K,G.prototype.visitInterval=K,G.prototype.visitIntervalDayTime=K,G.prototype.visitIntervalYearMonth=K,G.prototype.visitIntervalMonthDayNano=K,G.prototype.visitDuration=K,G.prototype.visitDurationSecond=K,G.prototype.visitDurationMillisecond=K,G.prototype.visitDurationMicrosecond=K,G.prototype.visitDurationNanosecond=K,G.prototype.visitFixedSizeList=K,G.prototype.visitMap=K;var Na=new G,Pa,Fa={},Ia={},q=class e{constructor(t){let n=t[0]instanceof e?t.flatMap(e=>e.data):t;if(n.length===0||n.some(e=>!(e instanceof V)))throw TypeError(`Vector constructor expects an Array of Data instances.`);let r=n[0]?.type;switch(n.length){case 0:this._offsets=[0];break;case 1:{let{get:e,set:t,indexOf:i}=Fa[r.typeId],a=n[0];this.isValid=e=>wa(a,e),this.get=t=>e(a,t),this.set=(e,n)=>t(a,e,n),this.indexOf=e=>i(a,e),this._offsets=[0,a.length];break}default:Object.setPrototypeOf(this,Ia[r.typeId]),this._offsets=xa(n);break}this.data=n,this.type=r,this.stride=A(r),this.numChildren=r.children?.length??0,this.length=this._offsets.at(-1)}get byteLength(){return this.data.reduce((e,t)=>
1e+t.byteLength,0)}get nullable(){return ya(this.data)}get nullCount(){return ba(this.data)}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${C[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}at(e){return this.get(Xi(e,this.length))}set(e,t){}indexOf(e,t){return-1}includes(e,t){return this.indexOf(e,t)>-1}[Symbol.iterator](){return Na.visit(this)}concat(...t){return new e(this.data.concat(t.flatMap(e=>e.data).flat(1/0)))}slice(t,n){return new e(Yi(this,t,n,({data:e,_offsets:t},n,r)=>Sa(e,t,n,r)))}toJSON(){return[...this]}toArray(){let{type:e,data:t,length:n,stride:r,ArrayType:i}=this;switch(e.typeId){case C.Int:case C.Float:case C.Decimal:case C.Time:case C.Timestamp:switch(t.length){case 0:return new i;case 1:return t[0].values.subarray(0,n*r);default:return t.reduce((e,{values:t,length:n})=>(e.array.set(t.subarray(0,n*r),e.offset),e.offset+=n*r,e),{array:new i(n*r),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(`,`)}]`}getChild(e){return this.getChildAt(this.type.children?.findIndex(t=>t.name===e))}getChildAt(t){return t>-1&&t<this.numChildren?new e(this.data.map(({children:e})=>e[t])):null}get isMemoized(){return D.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(D.isDictionary(this.type)){let t=new La(this.data[0].dictionary);return new e(this.data.map(e=>{let n=e.clone();return n.dictionary=t,n}))}return new La(this)}unmemoize(){if(D.isDictionary(this.type)&&this.isMemoized){let t=this.data[0].dictionary.unmemoize();return new e(this.data.map(e=>{let n=e.clone();return n.dictionary=t,n}))}return this}};Pa=Symbol.toStringTag,q[Pa]=(e=>{e.type=D.prototype,e.data=[],e.length=0,e.stride=1,e.numChildren=0,e._offsets=new Uint32Array([0]),e[Symbol.isConcatSpreadable]=!0;let t=Object.keys(C).map(e=>C[e]).filter(e=>typeof e==`number`&&e!==C.NONE);for(let n of t)Fa[n]={get:B.getVisitFnByTypeId(n),set:F.getVisitFnByTypeId(n),indexOf:ja.getVisitFnByTypeId(n)},Ia[n]=Object.create(e,{isValid:{value:Ta(wa)},get:{value:Ta(B.getVisitFnByTypeId(n))},set:{value:Ea(F.getVisitFnByTypeId(n))},indexOf:{value:Da(ja.getVisitFnByTypeId(n))}});return`Vector`})(q.prototype);var La=class e extends q{constructor(t){super(t.data);let n=this.get,r=this.set,i=this.slice,a=Array(this.length);Object.defineProperty(this,"get",{value(e){let t=a[e];if(t!==void 0)return t;let r=n.call(this,e);return a[e]=r,r}}),Object.defineProperty(this,"set",{value(e,t){r.call(this,e,t),a[e]=t}}),Object.defineProperty(this,"slice",{value:(t,n)=>new e(i.call(this,t,n))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new q(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}};function Ra(e){if(e){if(e instanceof V)return new q([e]);if(e instanceof q)return new q(e.data);if(e.type instanceof D)return new q([H(e)]);if(Array.isArray(e))return new q(e.flatMap(e=>za(e)));if(ArrayBuffer.isView(e)){e instanceof DataView&&(e=new Uint8Array(e.buffer));let t={offset:0,length:e.length,nullCount:-1,data:e};if(e instanceof Int8Array)return new q([H(Object.assign(Object.assign({},t),{type:new bn}))]);if(e instanceof Int16Array)return new q([H(Object.assign(Object.assign({},t),{type:new xn}))]);if(e instanceof Int32Array)return new q([H(Object.assign(Object.assign({},t),{type:new Sn}))]);if(e instanceof BigInt64Array)return new q([H(Object.assign(Object.assign({},t),{type:new Cn}))]);if(e instanceof Uint8Array||e instanceof Uint8ClampedArray)return new q([H(Object.assign(Object.assign({},t),{type:new wn}))]);if(e instanceof Uint16Array)return new q([H(Object.assign(Object.assign({},t),{type:new Tn}))]);if(e instanceof Uint32Array)return new q([H(Object.assign(Object.assign({},t),{type:new En}))]);if(e instanceof BigUint64Array)return new q([H(Object.assign(Object.assign({},t),{type:new Dn}))]);if(e instanceof Float32Array)return new q([H(Object.assign(Object.assign({},t),{type:new An}))]);if(e instanceof Float64Array)return new q([H(Object.assign(Object.assign({},t),{type:new jn}))]);throw Error(`Unrecognized input`)}}throw Error(`Unrecognized input`)}function za(e){return e instanceof V?[e]:e instanceof q?e.data:Ra(e).data}
1var J=class e{constructor(e=[],t,n,r=qe.V5){this.fields=e||[],this.metadata=t||new Map,n||=Ha(this.fields),this.dictionaries=n,this.metadataVersion=r}get[Symbol.toStringTag](){return`Schema`}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,t)=>`${t}: ${e}`).join(`, `)} }>`}select(t){let n=new Set(t);return new e(this.fields.filter(e=>n.has(e.name)),this.metadata)}selectAt(t){return new e(t.map(e=>this.fields[e]).filter(Boolean),this.metadata)}assign(...t){let n=t[0]instanceof e?t[0]:Array.isArray(t[0])?new e(t[0]):new e(t),r=[...this.fields],i=Va(Va(new Map,this.metadata),n.metadata),a=n.fields.filter(e=>{let t=r.findIndex(t=>t.name===e.name);return~t?(r[t]=e.clone({metadata:Va(Va(new Map,r[t].metadata),e.metadata)}))&&!1:!0}),o=Ha(a,new Map);return new e([...r,...a],i,new Map([...this.dictionaries,...o]))}};J.prototype.fields=null,J.prototype.metadata=null,J.prototype.dictionaries=null;var Ba=class e{static new(...t){let[n,r,i,a]=t;return t[0]&&typeof t[0]==`object`&&({name:n}=t[0],r===void 0&&(r=t[0].type),i===void 0&&(i=t[0].nullable),a===void 0&&(a=t[0].metadata)),new e(`${n}`,r,i,a)}constructor(e,t,n=!1,r){this.name=e,this.type=t,this.nullable=n,this.metadata=r||new Map}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return`Field`}toString(){return`${this.name}: ${this.type}`}clone(...t){let[n,r,i,a]=t;return!t[0]||typeof t[0]!=`object`?[n=this.name,r=this.type,i=this.nullable,a=this.metadata]=t:{name:n=this.name,type:r=this.type,nullable:i=this.nullable,metadata:a=this.metadata}=t[0],e.new(n,r,i,a)}};Ba.prototype.type=null,Ba.prototype.name=null,Ba.prototype.nullable=null,Ba.prototype.metadata=null;function Va(e,t){return new Map([...e||new Map,...t||new Map])}function Ha(e,t=new Map){for(let n=-1,r=e.length;++n<r;){let r=e[n].type;if(D.isDictionary(r)){if(!t.has(r.id))t.set(r.id,r.dictionary);else if(t.get(r.id)!==r.dictionary)throw Error(`Cannot create Schema containing two different dictionaries with the same Id`)}r.children&&r.children.length>0&&Ha(r.children,t)}return t}var Y=class extends j{compareSchemas(e,t){return e===t||t instanceof e.constructor&&this.compareManyFields(e.fields,t.fields)}compareManyFields(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every((e,n)=>this.compareFields(e,t[n]))}compareFields(e,t){return e===t||t instanceof e.constructor&&e.name===t.name&&e.nullable===t.nullable&&this.visit(e.type,t.type)}};function X(e,t){return t instanceof e.constructor}function Ua(e,t){return e===t||X(e,t)}function Z(e,t){return e===t||X(e,t)&&e.bitWidth===t.bitWidth&&e.isSigned===t.isSigned}function Wa(e,t){return e===t||X(e,t)&&e.precision===t.precision}function Ga(e,t){return e===t||X(e,t)&&e.byteWidth===t.byteWidth}function Ka(e,t){return e===t||X(e,t)&&e.unit===t.unit}function qa(e,t){return e===t||X(e,t)&&e.unit===t.unit&&e.timezone===t.timezone}function Ja(e,t){return e===t||X(e,t)&&e.unit===t.unit&&e.bitWidth===t.bitWidth}function Ya(e,t){return e===t||X(e,t)&&e.children.length===t.children.length&&Q.compareManyFields(e.children,t.children)}function Xa(e,t){return e===t||X(e,t)&&e.children.length===t.children.length&&Q.compareManyFields(e.children,t.children)}function Za(e,t){return e===t||X(e,t)&&e.mode===t.mode&&e.typeIds.every((e,n)=>e===t.typeIds[n])&&Q.compareManyFields(e.children,t.children)}function Qa(e,t){return e===t||X(e,t)&&e.id===t.id&&e.isOrdered===t.isOrdered&&Q.visit(e.indices,t.indices)&&Q.visit(e.dictionary,t.dictionary)}function $a(e,t){return e===t||X(e,t)&&e.unit===t.unit}function eo(e,t){return e===t||X(e,t)&&e.unit===t.unit}function to(e,t){return e===t||X(e,t)&&e.listSize===t.listSize&&e.children.length===t.children.length&&Q.compareManyFields(e.children,t.children)}function no(e,t){return e===t||X(e,t)&&e.keysSorted===t.keysSorted&&e.children.length===t.children.length&&Q.compareManyFields(e.children,t.children)}Y.prototype.visitNull=Ua,Y.prototype.visitBool=Ua,Y.prototype.visitInt=Z,Y.prototype.visitInt8=Z,Y.prototype.visitInt16=Z,Y.prototype.visitInt32=Z,Y.prototype.visitInt64=Z,Y.prototype.visitUint8=Z,Y.prototype.visitUint16=Z,Y.prototype.visitUint32=Z,Y.prototype.visitUint64=Z,Y.prototype.visitFloat=Wa,Y.prototype.visitFloat16=Wa,Y.prototype.visitFloat32=Wa,Y.prototype.visitFloat64=Wa,Y.prototype.visitUtf8=Ua,Y.prototype.visitLargeUtf8=Ua,Y.prototype.visitBinary=Ua,Y.prototype.visitLargeBinary=Ua,Y.prototype.visitFixedSizeBinary=Ga,Y.prototype.visitDate=Ka,Y.prototype.visitDateDay=Ka,Y.prototype.visitDateMillisecond=Ka,Y.prototype.visitTimestamp=qa,Y.prototype.visitTimestampSecond=qa,Y.prototype.visitTimestampMillisecond=qa,Y.prototype.visitTimestampMicrosecond=qa,Y.prototype.visitTimestampNanosecond=qa,Y.prototype.visitTime=Ja,Y.prototype.visitTimeSecond=Ja,Y.prototype.visitTimeMillisecond=Ja,Y.prototype.visitTimeMicrosecond=Ja,Y.prototype.visitTimeNanosecond=Ja,Y.prototype.visitDecimal=Ua,Y.prototype.visitList=Ya,Y.prototype.visitStruct=Xa,Y.prototype.visitUnion=Za,Y.prototype.visitDenseUnion=Za,Y.prototype.visitSparseUnion=Za,Y.prototype.visitDictionary=Qa,Y.prototype.visitInterval=$a,Y.prototype.visitIntervalDayTime=$a,Y.prototype.visitIntervalYearMonth=$a,Y.prototype.visitIntervalMonthDayNano=$a,Y.prototype.visitDuration=eo,Y.prototype.visitDurationSecond=eo,Y.prototype.visitDurationMillisecond=eo,Y.prototype.visitDurationMicrosecond=eo,Y.prototype.visitDurationNanosecond=eo,Y.prototype.visitFixedSizeList=to,Y.prototype.visitMap=no;var Q=new Y;function ro(e,t){return Q.compareSchemas(e,t)}function io(e,t){return Q.compareFields(e,t)}function ao(e,t){return Q.visit(e,t)}function oo(e,t){return so(e,t.map(e=>e.data.concat()))}function so(e,t){let n=[...e.fields],r=[],i={numBatches:t.reduce((e,t)=>
1Math.max(e,t.length),0)},a=0,o=0,s=-1,c=t.length,l,u=[];for(;i.numBatches-->0;){for(o=1/0,s=-1;++s<c;)u[s]=l=t[s].shift(),o=Math.min(o,l?l.length:o);Number.isFinite(o)&&(u=co(n,o,u,t,i),o>0&&(r[a++]=H({type:new k(n),length:o,nullCount:0,children:u.slice()})))}return[e=e.assign(n),r.map(t=>new $(e,t))]}function co(e,t,n,r,i){let a=(t+63&-64)>>3;for(let o=-1,s=r.length;++o<s;){let s=n[o],c=s?.length;if(c>=t)c===t?n[o]=s:(n[o]=s.slice(0,t),i.numBatches=Math.max(i.numBatches,r[o].unshift(s.slice(t,c-t))));else{let r=e[o];e[o]=r.clone({nullable:!0}),n[o]=s?._changeLengthAndBackfillNullBitmap(t)??H({type:r.type,length:t,nullCount:t,nullBitmap:new Uint8Array(a)})}}return n}var lo,uo=class e{constructor(...t){if(t.length===0)return this.batches=[],this.schema=new J([]),this._offsets=[0],this;let n,r;t[0]instanceof J&&(n=t.shift()),t.at(-1)instanceof Uint32Array&&(r=t.pop());let i=t=>{if(t){if(t instanceof $)return[t];if(t instanceof e)return t.batches;if(t instanceof V){if(t.type instanceof k)return[new $(new J(t.type.children),t)]}else if(Array.isArray(t))return t.flatMap(e=>i(e));else if(typeof t[Symbol.iterator]==`function`)return[...t].flatMap(e=>i(e));else if(typeof t==`object`){let e=Object.keys(t),r=e.map(e=>new q([t[e]])),[,i]=oo(n??new J(e.map((e,t)=>new Ba(String(e),r[t].type,r[t].nullable))),r);return i.length===0?[new $(t)]:i}}return[]},a=t.flatMap(e=>i(e));if(n=n??a[0]?.schema??new J([]),!(n instanceof J))throw TypeError(`Table constructor expects a [Schema, RecordBatch[]] pair.`);for(let e of a){if(!(e instanceof $))throw TypeError(`Table constructor expects a [Schema, RecordBatch[]] pair.`);if(!ro(n,e.schema))throw TypeError(`Table and inner RecordBatch schemas must be equivalent.`)}this.schema=n,this.batches=a,this._offsets=r??xa(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,t)=>e+t.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=ba(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}at(e){return this.get(Xi(e,this.numRows))}set(e,t){}indexOf(e,t){return-1}[Symbol.iterator](){return this.batches.length>0?Na.visit(new q(this.data)):[][Symbol.iterator]()}toArray(){return[...this]}toString(){return`[\n ${this.toArray().join(`, 2 `)}\n]`}concat(...t){let n=this.schema;return new e(n,this.data.concat(t.flatMap(({data:e})=>e)).map(e=>new $(n,e)))}slice(t,n){let r=this.schema;return[t,n]=Yi({length:this.numRows},t,n),new e(r,Sa(this.data,this._offsets,t,n).map(e=>new $(r,e)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(t=>t.name===e))}getChildAt(e){if(e>-1&&e<this.schema.fields.length){let t=this.data.map(t=>t.children[e]);if(t.length===0){let{type:n}=this.schema.fields[e],r=H({type:n,length:0,nullCount:0});t.push(r._changeLengthAndBackfillNullBitmap(this.numRows))}return new q(t)}return null}setChild(e,t){return this.setChildAt(this.schema.fields?.findIndex(t=>t.name===e),t)}setChildAt(t,n){let r=this.schema,i=[...this.batches];if(t>-1&&t<this.numCols){n||=new q([H({type:new yn,length:this.numRows})]);let e=r.fields.slice(),a=e[t].clone({type:n.type}),o=this.schema.fields.map((e,t)=>this.getChildAt(t));[e[t],o[t]]=[a,n],[r,i]=oo(r,o)}return new e(r,i)}select(e){let t=this.schema.fields.reduce((e,t,n)=>e.set(t.name,n),new Map);return this.selectAt(e.map(e=>t.get(e)).filter(e=>e>-1))}selectAt(t){return new e(this.schema.selectAt(t),this.batches.map(e=>e.selectAt(t)))}assign(t){let n=this.schema.fields,[r,i]=t.schema.fields.reduce((e,t,r)=>{let[i,a]=e,o=n.findIndex(e=>e.name===t.name);return~o?a[o]=r:i.push(r),e},[[],[]]);return new e(...oo(this.schema.assign(t.schema),[...n.map((e,t)=>[t,i[t]]).map(([e,n])=>n===void 0?this.getChildAt(e):t.getChildAt(n)),...r.map(e=>t.getChildAt(e))].filter(Boolean)))}};lo=Symbol.toStringTag,uo[lo]=(e=>(e.schema=null,e.batches=[],e._offsets=new Uint32Array([0]),e._nullCount=-1,e[Symbol.isConcatSpreadable]=!0,e.isValid=Ta(wa),e.get=Ta(B.getVisitFn(C.Struct)),e.set=Ea(F.getVisitFn(C.Struct)),e.indexOf=Da(ja.getVisitFn(C.Struct)),`Table`))(uo.prototype);var fo,$=class e{constructor(...e){switch(e.length){case 2:if([this.schema]=e,!(this.schema instanceof J)||([,this.data=H({nullCount:0,type:new k(this.schema.fields),children:this.schema.fields.map(e=>H({type:e.type,nullCount:0}))})]=e,!(this.data instanceof V)))throw TypeError(`RecordBatch constructor expects a [Schema, Data] pair.`);[this.schema,this.data]=po(this.schema,this.data.children);break;case 1:{let[t]=e,{fields:n,children:r,length:i}=Object.keys(t).reduce((e,n,r)=>(e.children[r]=t[n],e.length=Math.max(e.length,t[n].length),e.fields[r]=Ba.new({name:n,type:t[n].type,nullable:!0}),e),{length:0,fields:[],children:[]}
2),a=new J(n),o=H({type:new k(n),length:i,children:r,nullCount:0});[this.schema,this.data]=po(a,o.children,i);break}default:throw TypeError(`RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.`)}}get dictionaries(){return this._dictionaries||=mo(this.schema.fields,this.data.children)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return B.visit(this.data,e)}at(e){return this.get(Xi(e,this.numRows))}set(e,t){return F.visit(this.data,e,t)}indexOf(e,t){return ja.visit(this.data,e,t)}[Symbol.iterator](){return Na.visit(new q([this.data]))}toArray(){return[...this]}concat(...e){return new uo(this.schema,[this,...e])}slice(t,n){let[r]=new q([this.data]).slice(t,n).data;return new e(this.schema,r)}getChild(e){return this.getChildAt(this.schema.fields?.findIndex(t=>t.name===e))}getChildAt(e){return e>-1&&e<this.schema.fields.length?new q([this.data.children[e]]):null}setChild(e,t){return this.setChildAt(this.schema.fields?.findIndex(t=>t.name===e),t)}setChildAt(t,n){let r=this.schema,i=this.data;if(t>-1&&t<this.numCols){n||=new q([H({type:new yn,length:this.numRows})]);let e=r.fields.slice(),a=i.children.slice(),o=e[t].clone({type:n.type});[e[t],a[t]]=[o,n.data[0]],r=new J(e,new Map(this.schema.metadata)),i=H({type:new k(e),children:a})}return new e(r,i)}select(t){let n=this.schema.select(t),r=new k(n.fields),i=[];for(let e of t){let t=this.schema.fields.findIndex(t=>t.name===e);~t&&(i[t]=this.data.children[t])}return new e(n,H({type:r,length:this.numRows,children:i}))}selectAt(t){let n=this.schema.selectAt(t),r=t.map(e=>this.data.children[e]).filter(Boolean);return new e(n,H({type:new k(n.fields),length:this.numRows,children:r}))}};fo=Symbol.toStringTag,$[fo]=(e=>(e._nullCount=-1,e[Symbol.isConcatSpreadable]=!0,`RecordBatch`))($.prototype);function po(e,t,n=t.reduce((e,t)=>Math.max(e,t.length),0)){let r=[...e.fields],i=[...t],a=(n+63&-64)>>3;for(let[o,s]of e.fields.entries()){let e=t[o];(!e||e.length!==n)&&(r[o]=s.clone({nullable:!0}),i[o]=e?._changeLengthAndBackfillNullBitmap(n)??H({type:s.type,length:n,nullCount:n,nullBitmap:new Uint8Array(a)}))}return[e.assign(r),H({type:new k(r),length:n,children:i})]}function mo(e,t,n=new Map){if((e?.length??0)>0&&e?.length===t?.length)for(let r=-1,i=e.length;++r<i;){let{type:i}=e[r],a=t[r];for(let e of[a,...a?.dictionary?.data||[]])mo(i.children,e?.children,n);if(D.isDictionary(i)){let{id:e}=i;if(!n.has(e))a?.dictionary&&n.set(e,a.dictionary);else if(n.get(e)!==a.dictionary)throw Error(`Cannot create Schema containing two different dictionaries with the same Id`)}}return n}var ho=class extends ${constructor(e){let t=e.fields.map(e=>H({type:e.type})),n=H({type:new k(e.fields),nullCount:0,children:t});super(e,n)}};export{Tt as $,Vn as A,_ as At,Pn as B,oe as Bt,Hn as C,et as Ct,An as D,b as Dt,On as E,x as Et,yn as F,m as Ft,Nt as G,ce as Gt,T as H,te as Ht,k as I,ze as It,At as J,c as Jt,Mt as K,le as Kt,zn as L,Ae as Lt,Fn as M,de as Mt,Un as N,he as Nt,Sn as O,y as Ot,qn as P,p as Pt,Et as Q,Bn as R,re as Rt,Yn as S,tt as St,Kn as T,Qe as Tt,Ft as U,ie as Ut,zt as V,ae as Vt,Pt as W,ee as Wt,Ot as X,kt as Y,Dt as Z,Mn as _,ot as _t,ro as a,yt as at,Rn as b,rt as bt,J as c,gt as ct,H as d,pt as dt,wt as et,sa as f,ft,j as g,st as gt,$n as h,lt as ht,io as i,bt as it,Nn as j,qe as jt,O as k,v as kt,q as l,ht as lt,qi as m,ut as mt,ho as n,St as nt,ao as o,vt as ot,fa as p,dt as pt,jt as q,o as qt,uo as r,xt as rt,Ba as s,_t as st,$ as t,Ct as tt,Ra as u,mt as ut,In as v,at as vt,Gn as w,$e as wt,Ln as x,nt as xt,D as y,it as yt,Wn as z,ne as zt};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.