{n[e]=function(...r){d0();const A=_i(this)[e].apply(this,r);return p0(),A}}),n}function D8(n){const e=_i(this);return Yl(e,"has",n),e.hasOwnProperty(n)}function $x(n=!1,e=!1){return function(A,D,x){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&x===(n?e?K8:zT:e?DT:OT).get(A))return A;const p=pi(A);if(!n){if(p&&ga(y3,D))return Reflect.get(y3,D,x);if(D==="hasOwnProperty")return D8}const t=Reflect.get(A,D,x);return(xm(D)?IT.has(D):L8(D))||(n||Yl(A,"get",D),e)?t:no(t)?p&&qx(D)?t:t.value:$a(t)?n?Gm(t):bl(t):t}}const z8=PT(),F8=PT(!0);function PT(n=!1){return function(r,A,D,x){let p=r[A];if(Zp(p)&&no(p)&&!no(D))return!1;if(!n&&(!Iv(D)&&!Zp(D)&&(p=_i(p),D=_i(D)),!pi(r)&&no(p)&&!no(D)))return p.value=D,!0;const t=pi(r)&&qx(A)?Number(A) {t[e]=function(...r){d0();const S=Ti(this)[e].apply(this,r);return p0(),S}}),t}function B8(t){const e=Ti(this);return Yl(e,"has",t),e.hasOwnProperty(t)}function Zx(t=!1,e=!1){return function(S,D,y){if(D==="__v_isReactive")return!t;if(D==="__v_isReadonly")return t;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&y===(t?e?eE:NT:e?BT:FT).get(S))return S;const p=mi(S);if(!t){if(p&&va(b3,D))return Reflect.get(b3,D,y);if(D==="hasOwnProperty")return B8}const n=Reflect.get(S,D,y);return(xm(D)?OT.has(D):P8(D))||(t||Yl(S,"get",D),e)?n:no(n)?p&&Wx(D)?n:n.value:$a(n)?t?Gm(n):bl(n):n}}const N8=DT(),V8=DT(!0);function DT(t=!1){return function(r,S,D,y){let p=r[S];if(Zp(p)&&no(p)&&!no(D))return!1;if(!t&&(!Pv(D)&&!Zp(D)&&(p=Ti(p),D=Ti(D)),!mi(r)&&no(p)&&!no(D)))return p.value=D,!0;const n=mi(r)&&Wx(S)?Number(S) (n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(Ti.prototype);let qf=class extends Ti{toString(){return"Null"}get typeId(){return Jn.Null}};Q4=Symbol.toStringTag;qf[Q4]=(n=>n[Symbol.toStringTag]="Null")(qf.prototype);class Gf extends Ti{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}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?Zm:Xm}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}ek=Symbol.toStringTag;Gf[ek]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(Gf.prototype);class Im extends Gf{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Im.prototype,"ArrayType",{value:Int32Array});class Pm extends Ti{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case $l.HALF:return Uint16Array;case $l.SINGLE:return Float32Array;case $l.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}tk=Symbol.toStringTag;Pm[tk]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Pm.prototype);let Bv=class extends Ti{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};nk=Symbol.toStringTag;Bv[nk]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Bv.prototype);let Nv=class extends Ti{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};rk=Symbol.toStringTag;Nv[rk]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Nv.prototype);let Vv=class extends Ti{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};ik=Symbol.toStringTag;Vv[ik]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Vv.prototype);let jv=class extends Ti{constructor(e,r,A=128){super(),this.scale=e,this.precision=r,this.bitWidth=A}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};ak=Symbol.toStringTag;jv[ak]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(jv.prototype);class Uv extends Ti{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${nf[this.unit]}>`}}ok=Symbol.toStringTag;Uv[ok]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Uv.prototype);class Rm extends Ti{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${Ta[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return Zm}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}sk=Symbol.toStringTag;Rm[sk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Rm.prototype);class Hv extends Ti{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${Ta[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}lk=Symbol.toStringTag;Hv[lk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Hv.prototype);class qv extends Ti{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hf[this.unit]}>`}}uk=Symbol.toStringTag;qv[uk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(qv.prototype);let Gv=class extends Ti{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ck=Symbol.toStringTag;Gv[ck]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Gv.prototype);class xl extends Ti{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}hk=Symbol.toStringTag;xl[hk]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(xl.prototype);class Wv extends Ti{constructor(e,r,A){super(),this.mode=e,this.children=A,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,x,p)=>(D[x]=p)&&D||D,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}fk=Symbol.toStringTag;Wv[fk]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(Wv.prototype);let $v=class extends Ti{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};dk=Symbol.toStringTag;$v[dk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))($v.prototype);let Yv=class extends Ti{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}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}>`}};pk=Symbol.toStringTag;Yv[pk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Yv.prototype);class Zv extends Ti{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}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(", ")}}>`}}mk=Symbol.toStringTag;Zv[mk]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Zv.prototype);const W9=(n=>()=>++n)(-1);class Jp extends Ti{constructor(e,r,A,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=A==null?W9():typeof A=="number"?A:A.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}gk=Symbol.toStringTag;Jp[gk]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Jp.prototype);function Wh(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((A,D)=>this.visit(A,...r.map(x=>x[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return $9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Rp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function $9(n,e,r=!0){return typeof e=="number"?Rp(n,e,r):typeof e=="string"&&e in Jn?Rp(n,Jn[e],r):e&&e instanceof Ti?Rp(n,n5(e),r):e!=null&&e.type&&e.type instanceof Ti?Rp(n,n5(e.type),r):Rp(n,Jn.NONE,r)}function Rp(n,e,r=!0){let A=null;switch(e){case Jn.Null:A=n.visitNull;break;case Jn.Bool:A=n.visitBool;break;case Jn.Int:A=n.visitInt;break;case Jn.Int8:A=n.visitInt8||n.visitInt;break;case Jn.Int16:A=n.visitInt16||n.visitInt;break;case Jn.Int32:A=n.visitInt32||n.visitInt;break;case Jn.Int64:A=n.visitInt64||n.visitInt;break;case Jn.Uint8:A=n.visitUint8||n.visitInt;break;case Jn.Uint16:A=n.visitUint16||n.visitInt;break;case Jn.Uint32:A=n.visitUint32||n.visitInt;break;case Jn.Uint64:A=n.visitUint64||n.visitInt;break;case Jn.Float:A=n.visitFloat;break;case Jn.Float16:A=n.visitFloat16||n.visitFloat;break;case Jn.Float32:A=n.visitFloat32||n.visitFloat;break;case Jn.Float64:A=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:A=n.visitUtf8;break;case Jn.Binary:A=n.visitBinary;break;case Jn.FixedSizeBinary:A=n.visitFixedSizeBinary;break;case Jn.Date:A=n.visitDate;break;case Jn.DateDay:A=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:A=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:A=n.visitTimestamp;break;case Jn.TimestampSecond:A=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:A=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:A=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:A=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:A=n.visitTime;break;case Jn.TimeSecond:A=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:A=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:A=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:A=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:A=n.visitDecimal;break;case Jn.List:A=n.visitList;break;case Jn.Struct:A=n.visitStruct;break;case Jn.Union:A=n.visitUnion;break;case Jn.DenseUnion:A=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:A=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:A=n.visitDictionary;break;case Jn.Interval:A=n.visitInterval;break;case Jn.IntervalDayTime:A=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:A=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:A=n.visitFixedSizeList;break;case Jn.Map:A=n.visitMap;break}if(typeof A=="function")return A;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function n5(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case $l.HALF:return Jn.Float16;case $l.SINGLE:return Jn.Float32;case $l.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case Ta.SECOND:return Jn.TimeSecond;case Ta.MILLISECOND:return Jn.TimeMillisecond;case Ta.MICROSECOND:return Jn.TimeMicrosecond;case Ta.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case Ta.SECOND:return Jn.TimestampSecond;case Ta.MILLISECOND:return Jn.TimestampMillisecond;case Ta.MICROSECOND:return Jn.TimestampMicrosecond;case Ta.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case nf.DAY:return Jn.DateDay;case nf.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hf.DAY_TIME:return Jn.IntervalDayTime;case Hf.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const vk=new Float64Array(1),Cp=new Uint32Array(vk.buffer);function yk(n){const e=(n&31744)>>10,r=(n&1023)/1024,A=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return A*(r?Number.NaN:1/0);case 0:return A*(r?6103515625e-14*r:0)}return A*Math.pow(2,e-15)*(1+r)}function Y9(n){if(n!==n)return 32256;vk[0]=n;const e=(Cp[1]&2147483648)>>16&65535;let r=Cp[1]&2146435072,A=0;return r>=1089470464?Cp[0]>0?r=31744:(r=(r&2080374784)>>16,A=(Cp[1]&1048575)>>10):r<=1056964608?(A=1048576+(Cp[1]&1048575),A=1048576+(A<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,A=(Cp[1]&1048575)+512>>10),e|r|A&65535}class Li extends aa{}function Di(n){return(e,r,A)=>{if(e.setValid(r,A!=null))return n(e,r,A)}}const Z9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},T2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},X9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},K9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},bk=(n,e,r,A)=>{if(r+1 >3).fill(255,0,r>>3);D[r>>3]=(1< =A)break;if(r>=d+g)continue;if(d>=r&&d+g<=A){D.push(t);continue}const i=Math.max(0,r-d),M=Math.min(A-d,g);D.push(t.slice(i,M-i))}return D.length===0&&D.push(n[0].slice(0,0)),D}function L2(n,e,r,A){let D=0,x=0,p=e.length-1;do{if(D>=p-1)return r {const D=n.data[A];return D.values.subarray(0,D.length)[Symbol.iterator]()});let r=0;return new o5(n.data.length,A=>{const x=n.data[A].length,p=n.slice(r,r+x);return r+=x,new rI(p)})}class rI{constructor(e){this.vector=e,this.index=0}next(){return this.index (t.children=null,t.ArrayType=Array,t[Symbol.toStringTag]="DataType"))(Mi.prototype);let qf=class extends Mi{toString(){return"Null"}get typeId(){return Jn.Null}};nk=Symbol.toStringTag;qf[nk]=(t=>t[Symbol.toStringTag]="Null")(qf.prototype);class Gf extends Mi{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}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?Km:Jm}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}rk=Symbol.toStringTag;Gf[rk]=(t=>(t.isSigned=null,t.bitWidth=null,t[Symbol.toStringTag]="Int"))(Gf.prototype);class Im extends Gf{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Im.prototype,"ArrayType",{value:Int32Array});class Rm extends Mi{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case $l.HALF:return Uint16Array;case $l.SINGLE:return Float32Array;case $l.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}ik=Symbol.toStringTag;Rm[ik]=(t=>(t.precision=null,t[Symbol.toStringTag]="Float"))(Rm.prototype);let Vv=class extends Mi{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};ak=Symbol.toStringTag;Vv[ak]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Binary"))(Vv.prototype);let jv=class extends Mi{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};ok=Symbol.toStringTag;jv[ok]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Utf8"))(jv.prototype);let Uv=class extends Mi{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};sk=Symbol.toStringTag;Uv[sk]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Bool"))(Uv.prototype);let Hv=class extends Mi{constructor(e,r,S=128){super(),this.scale=e,this.precision=r,this.bitWidth=S}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};lk=Symbol.toStringTag;Hv[lk]=(t=>(t.scale=null,t.precision=null,t.ArrayType=Uint32Array,t[Symbol.toStringTag]="Decimal"))(Hv.prototype);class qv extends Mi{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${rf[this.unit]}>`}}uk=Symbol.toStringTag;qv[uk]=(t=>(t.unit=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Date"))(qv.prototype);class Pm extends Mi{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${ka[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return Km}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}ck=Symbol.toStringTag;Pm[ck]=(t=>(t.unit=null,t.bitWidth=null,t[Symbol.toStringTag]="Time"))(Pm.prototype);class Gv extends Mi{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${ka[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}hk=Symbol.toStringTag;Gv[hk]=(t=>(t.unit=null,t.timezone=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Timestamp"))(Gv.prototype);class Wv extends Mi{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hf[this.unit]}>`}}fk=Symbol.toStringTag;Wv[fk]=(t=>(t.unit=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Interval"))(Wv.prototype);let $v=class extends Mi{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};dk=Symbol.toStringTag;$v[dk]=(t=>(t.children=null,t[Symbol.toStringTag]="List"))($v.prototype);class xl extends Mi{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}pk=Symbol.toStringTag;xl[pk]=(t=>(t.children=null,t[Symbol.toStringTag]="Struct"))(xl.prototype);class Yv extends Mi{constructor(e,r,S){super(),this.mode=e,this.children=S,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,y,p)=>(D[y]=p)&&D||D,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}mk=Symbol.toStringTag;Yv[mk]=(t=>(t.mode=null,t.typeIds=null,t.children=null,t.typeIdToChildIndex=null,t.ArrayType=Int8Array,t[Symbol.toStringTag]="Union"))(Yv.prototype);let Zv=class extends Mi{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};gk=Symbol.toStringTag;Zv[gk]=(t=>(t.byteWidth=null,t.ArrayType=Uint8Array,t[Symbol.toStringTag]="FixedSizeBinary"))(Zv.prototype);let Xv=class extends Mi{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}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}>`}};vk=Symbol.toStringTag;Xv[vk]=(t=>(t.children=null,t.listSize=null,t[Symbol.toStringTag]="FixedSizeList"))(Xv.prototype);class Kv extends Mi{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}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(", ")}}>`}}yk=Symbol.toStringTag;Kv[yk]=(t=>(t.children=null,t.keysSorted=null,t[Symbol.toStringTag]="Map_"))(Kv.prototype);const Z9=(t=>()=>++t)(-1);class Jp extends Mi{constructor(e,r,S,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=S==null?Z9():typeof S=="number"?S:S.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}bk=Symbol.toStringTag;Jp[bk]=(t=>(t.id=null,t.indices=null,t.isOrdered=null,t.dictionary=null,t[Symbol.toStringTag]="Dictionary"))(Jp.prototype);function Wh(t){const e=t;switch(t.typeId){case Jn.Decimal:return t.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class oa{visitMany(e,...r){return e.map((S,D)=>this.visit(S,...r.map(y=>y[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return X9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Pp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function X9(t,e,r=!0){return typeof e=="number"?Pp(t,e,r):typeof e=="string"&&e in Jn?Pp(t,Jn[e],r):e&&e instanceof Mi?Pp(t,r5(e),r):e!=null&&e.type&&e.type instanceof Mi?Pp(t,r5(e.type),r):Pp(t,Jn.NONE,r)}function Pp(t,e,r=!0){let S=null;switch(e){case Jn.Null:S=t.visitNull;break;case Jn.Bool:S=t.visitBool;break;case Jn.Int:S=t.visitInt;break;case Jn.Int8:S=t.visitInt8||t.visitInt;break;case Jn.Int16:S=t.visitInt16||t.visitInt;break;case Jn.Int32:S=t.visitInt32||t.visitInt;break;case Jn.Int64:S=t.visitInt64||t.visitInt;break;case Jn.Uint8:S=t.visitUint8||t.visitInt;break;case Jn.Uint16:S=t.visitUint16||t.visitInt;break;case Jn.Uint32:S=t.visitUint32||t.visitInt;break;case Jn.Uint64:S=t.visitUint64||t.visitInt;break;case Jn.Float:S=t.visitFloat;break;case Jn.Float16:S=t.visitFloat16||t.visitFloat;break;case Jn.Float32:S=t.visitFloat32||t.visitFloat;break;case Jn.Float64:S=t.visitFloat64||t.visitFloat;break;case Jn.Utf8:S=t.visitUtf8;break;case Jn.Binary:S=t.visitBinary;break;case Jn.FixedSizeBinary:S=t.visitFixedSizeBinary;break;case Jn.Date:S=t.visitDate;break;case Jn.DateDay:S=t.visitDateDay||t.visitDate;break;case Jn.DateMillisecond:S=t.visitDateMillisecond||t.visitDate;break;case Jn.Timestamp:S=t.visitTimestamp;break;case Jn.TimestampSecond:S=t.visitTimestampSecond||t.visitTimestamp;break;case Jn.TimestampMillisecond:S=t.visitTimestampMillisecond||t.visitTimestamp;break;case Jn.TimestampMicrosecond:S=t.visitTimestampMicrosecond||t.visitTimestamp;break;case Jn.TimestampNanosecond:S=t.visitTimestampNanosecond||t.visitTimestamp;break;case Jn.Time:S=t.visitTime;break;case Jn.TimeSecond:S=t.visitTimeSecond||t.visitTime;break;case Jn.TimeMillisecond:S=t.visitTimeMillisecond||t.visitTime;break;case Jn.TimeMicrosecond:S=t.visitTimeMicrosecond||t.visitTime;break;case Jn.TimeNanosecond:S=t.visitTimeNanosecond||t.visitTime;break;case Jn.Decimal:S=t.visitDecimal;break;case Jn.List:S=t.visitList;break;case Jn.Struct:S=t.visitStruct;break;case Jn.Union:S=t.visitUnion;break;case Jn.DenseUnion:S=t.visitDenseUnion||t.visitUnion;break;case Jn.SparseUnion:S=t.visitSparseUnion||t.visitUnion;break;case Jn.Dictionary:S=t.visitDictionary;break;case Jn.Interval:S=t.visitInterval;break;case Jn.IntervalDayTime:S=t.visitIntervalDayTime||t.visitInterval;break;case Jn.IntervalYearMonth:S=t.visitIntervalYearMonth||t.visitInterval;break;case Jn.FixedSizeList:S=t.visitFixedSizeList;break;case Jn.Map:S=t.visitMap;break}if(typeof S=="function")return S;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function r5(t){switch(t.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=t;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(t.precision){case $l.HALF:return Jn.Float16;case $l.SINGLE:return Jn.Float32;case $l.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(t.unit){case ka.SECOND:return Jn.TimeSecond;case ka.MILLISECOND:return Jn.TimeMillisecond;case ka.MICROSECOND:return Jn.TimeMicrosecond;case ka.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(t.unit){case ka.SECOND:return Jn.TimestampSecond;case ka.MILLISECOND:return Jn.TimestampMillisecond;case ka.MICROSECOND:return Jn.TimestampMicrosecond;case ka.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(t.unit){case rf.DAY:return Jn.DateDay;case rf.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(t.unit){case Hf.DAY_TIME:return Jn.IntervalDayTime;case Hf.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(t.mode){case _u.Dense:return Jn.DenseUnion;case _u.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[t.typeId]}'`)}oa.prototype.visitInt8=null;oa.prototype.visitInt16=null;oa.prototype.visitInt32=null;oa.prototype.visitInt64=null;oa.prototype.visitUint8=null;oa.prototype.visitUint16=null;oa.prototype.visitUint32=null;oa.prototype.visitUint64=null;oa.prototype.visitFloat16=null;oa.prototype.visitFloat32=null;oa.prototype.visitFloat64=null;oa.prototype.visitDateDay=null;oa.prototype.visitDateMillisecond=null;oa.prototype.visitTimestampSecond=null;oa.prototype.visitTimestampMillisecond=null;oa.prototype.visitTimestampMicrosecond=null;oa.prototype.visitTimestampNanosecond=null;oa.prototype.visitTimeSecond=null;oa.prototype.visitTimeMillisecond=null;oa.prototype.visitTimeMicrosecond=null;oa.prototype.visitTimeNanosecond=null;oa.prototype.visitDenseUnion=null;oa.prototype.visitSparseUnion=null;oa.prototype.visitIntervalDayTime=null;oa.prototype.visitIntervalYearMonth=null;const xk=new Float64Array(1),Cp=new Uint32Array(xk.buffer);function _k(t){const e=(t&31744)>>10,r=(t&1023)/1024,S=Math.pow(-1,(t&32768)>>15);switch(e){case 31:return S*(r?Number.NaN:1/0);case 0:return S*(r?6103515625e-14*r:0)}return S*Math.pow(2,e-15)*(1+r)}function K9(t){if(t!==t)return 32256;xk[0]=t;const e=(Cp[1]&2147483648)>>16&65535;let r=Cp[1]&2146435072,S=0;return r>=1089470464?Cp[0]>0?r=31744:(r=(r&2080374784)>>16,S=(Cp[1]&1048575)>>10):r<=1056964608?(S=1048576+(Cp[1]&1048575),S=1048576+(S<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,S=(Cp[1]&1048575)+512>>10),e|r|S&65535}class Ii extends oa{}function zi(t){return(e,r,S)=>{if(e.setValid(r,S!=null))return t(e,r,S)}}const J9=(t,e,r)=>{t[e]=Math.trunc(r/864e5)},M2=(t,e,r)=>{t[e]=Math.trunc(r%4294967296),t[e+1]=Math.trunc(r/4294967296)},Q9=(t,e,r)=>{t[e]=Math.trunc(r*1e3%4294967296),t[e+1]=Math.trunc(r*1e3/4294967296)},eL=(t,e,r)=>{t[e]=Math.trunc(r*1e6%4294967296),t[e+1]=Math.trunc(r*1e6/4294967296)},wk=(t,e,r,S)=>{if(r+1 >3).fill(255,0,r>>3);D[r>>3]=(1< =S)break;if(r>=f+g)continue;if(f>=r&&f+g<=S){D.push(n);continue}const i=Math.max(0,r-f),M=Math.min(S-f,g);D.push(n.slice(i,M-i))}return D.length===0&&D.push(t[0].slice(0,0)),D}function R2(t,e,r,S){let D=0,y=0,p=e.length-1;do{if(D>=p-1)return r {const D=t.data[S];return D.values.subarray(0,D.length)[Symbol.iterator]()});let r=0;return new s5(t.data.length,S=>{const y=t.data[S].length,p=t.slice(r,r+y);return r+=y,new oI(p)})}class oI{constructor(e){this.vector=e,this.index=0}next(){return this.index{const e=new Set(t);return e.w=0,e.n=0,e},LT=t=>(t.w&jf)>0,IT=t=>(t.n&jf)>0,L8=({deps:t})=>{if(t.length)for(let e=0;e(t.next(),t);function*U9(t){let e,r=!1,S=[],D,y,p,n=0;function f(){return y==="peek"?xh(S,p)[0]:([D,S,n]=xh(S,p),D)}({cmd:y,size:p}=yield null);const g=N9(t)[Symbol.iterator]();try{do if({done:e,value:D}=Number.isNaN(p-n)?g.next():g.next(p-n),!e&&D.byteLength>0&&(S.push(D),n+=D.byteLength),e||p<=n)do({cmd:y,size:p}=yield f());while(p`${Em(e)}: ${Em(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new _L(this[Ec],this[Gp])}}class _L{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return eSL(t,e),jk=({values:t},e)=>AL(t,e*2),Kf=({stride:t,values:e},r)=>e[t*r],LL=({stride:t,values:e},r)=>_k(e[t*r]),Uk=({values:t},e)=>t[e],IL=({stride:t,values:e},r)=>e.subarray(t*r,t*(r+1)),RL=({values:t,valueOffsets:e},r)=>Nk(t,e,r),PL=({values:t,valueOffsets:e},r)=>{const S=Nk(t,e,r);return S!==null?Yb(S):null},OL=({values:t},e)=>t[e],DL=({type:t,values:e},r)=>t.precision!==$l.HALF?e[r]:_k(e[r]),zL=(t,e)=>t.type.unit===rf.DAY?Vk(t,e):jk(t,e),Hk=({values:t},e)=>1e3*C2(t,e*2),qk=({values:t},e)=>C2(t,e*2),Gk=({values:t},e)=>kL(t,e*2),Wk=({values:t},e)=>ML(t,e*2),FL=(t,e)=>{switch(t.type.unit){case ka.SECOND:return Hk(t,e);case ka.MILLISECOND:return qk(t,e);case ka.MICROSECOND:return Gk(t,e);case ka.NANOSECOND:return Wk(t,e)}},$k=({values:t},e)=>t[e],Yk=({values:t},e)=>t[e],Zk=({values:t},e)=>t[e],Xk=({values:t},e)=>t[e],BL=(t,e)=>{switch(t.type.unit){case ka.SECOND:return $k(t,e);case ka.MILLISECOND:return Yk(t,e);case ka.MICROSECOND:return Zk(t,e);case ka.NANOSECOND:return Xk(t,e)}},NL=({values:t,stride:e},r)=>k2.decimal(t.subarray(e*r,e*(r+1))),VL=(t,e)=>{const{valueOffsets:r,stride:S,children:D}=t,{[e*S]:y,[e*S+1]:p}=r,f=D[0].slice(y,p-y);return new Ma([f])},jL=(t,e)=>{const{valueOffsets:r,children:S}=t,{[e]:D,[e+1]:y}=r,p=S[0];return new E2(p.slice(D,y-D))},UL=(t,e)=>new A2(t,e),HL=(t,e)=>t.type.mode===_u.Dense?Kk(t,e):Jk(t,e),Kk=(t,e)=>{const r=t.type.typeIdToChildIndex[t.typeIds[e]],S=t.children[r];return Xl.visit(S,t.valueOffsets[e])},Jk=(t,e)=>{const r=t.type.typeIdToChildIndex[t.typeIds[e]],S=t.children[r];return Xl.visit(S,e)},qL=(t,e)=>{var r;return(r=t.dictionary)===null||r===void 0?void 0:r.get(t.values[e])},GL=(t,e)=>t.type.unit===Hf.DAY_TIME?Qk(t,e):eM(t,e),Qk=({values:t},e)=>t.subarray(2*e,2*(e+1)),eM=({values:t},e)=>{const r=t[e],S=new Int32Array(2);return S[0]=Math.trunc(r/12),S[1]=Math.trunc(r%12),S},WL=(t,e)=>{const{stride:r,children:S}=t,y=S[0].slice(e*r,r);return new Ma([y])};Si.prototype.visitNull=Ri(CL);Si.prototype.visitBool=Ri(EL);Si.prototype.visitInt=Ri(OL);Si.prototype.visitInt8=Ri(Kf);Si.prototype.visitInt16=Ri(Kf);Si.prototype.visitInt32=Ri(Kf);Si.prototype.visitInt64=Ri(Uk);Si.prototype.visitUint8=Ri(Kf);Si.prototype.visitUint16=Ri(Kf);Si.prototype.visitUint32=Ri(Kf);Si.prototype.visitUint64=Ri(Uk);Si.prototype.visitFloat=Ri(DL);Si.prototype.visitFloat16=Ri(LL);Si.prototype.visitFloat32=Ri(Kf);Si.prototype.visitFloat64=Ri(Kf);Si.prototype.visitUtf8=Ri(PL);Si.prototype.visitBinary=Ri(RL);Si.prototype.visitFixedSizeBinary=Ri(IL);Si.prototype.visitDate=Ri(zL);Si.prototype.visitDateDay=Ri(Vk);Si.prototype.visitDateMillisecond=Ri(jk);Si.prototype.visitTimestamp=Ri(FL);Si.prototype.visitTimestampSecond=Ri(Hk);Si.prototype.visitTimestampMillisecond=Ri(qk);Si.prototype.visitTimestampMicrosecond=Ri(Gk);Si.prototype.visitTimestampNanosecond=Ri(Wk);Si.prototype.visitTime=Ri(BL);Si.prototype.visitTimeSecond=Ri($k);Si.prototype.visitTimeMillisecond=Ri(Yk);Si.prototype.visitTimeMicrosecond=Ri(Zk);Si.prototype.visitTimeNanosecond=Ri(Xk);Si.prototype.visitDecimal=Ri(NL);Si.prototype.visitList=Ri(VL);Si.prototype.visitStruct=Ri(UL);Si.prototype.visitUnion=Ri(HL);Si.prototype.visitDenseUnion=Ri(Kk);Si.prototype.visitSparseUnion=Ri(Jk);Si.prototype.visitDictionary=Ri(qL);Si.prototype.visitInterval=Ri(GL);Si.prototype.visitIntervalDayTime=Ri(Qk);Si.prototype.visitIntervalYearMonth=Ri(eM);Si.prototype.visitFixedSizeList=Ri(WL);Si.prototype.visitMap=Ri(jL);const Xl=new Si,lh=Symbol.for("keys"),Wp=Symbol.for("vals");class E2{constructor(e){return this[lh]=new Ma([e.children[0]]).memoize(),this[Wp]=e.children[1],new Proxy(this,new YL)}[Symbol.iterator](){return new $L(this[lh],this[Wp])}get size(){return this[lh].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[lh],r=this[Wp],S={};for(let D=-1,y=e.length;++D!1;const S=[];for(let D=-1,y=r.length;++D>3):Jv(new I2(r,t,e,null,nM)).subarray(0,S)),D}return r}function Jv(t){const e=[];let r=0,S=0,D=0;for(const p of t)p&&(D|=1<0)&&(e[r++]=D);const y=new Uint8Array(e.length+7&-8);return y.set(e),y}class I2{constructor(e,r,S,D,y){this.bytes=e,this.length=S,this.context=D,this.get=y,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index=0&&this.vtable[r]==0;r--);const S=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const D=2;this.addInt16(e-this.object_start);const y=(S+D)*bb;this.addInt16(y);let p=0;const n=this.space;e:for(r=0;r0&&nx(y.children,e)}return e}var c5=Qh,dI=mM,pI=Qp;class Om{constructor(e,r=gu.V4,S,D){this.schema=e,this.version=r,S&&(this._recordBatches=S),D&&(this._dictionaryBatches=D)}static decode(e){e=new pI(Ta(e));const r=fu.getRootAsFooter(e),S=Ia.decode(r.schema());return new mI(S,r)}static encode(e){const r=new dI,S=Ia.encode(r,e.schema);fu.startRecordBatchesVector(r,e.numRecordBatches);for(const p of[...e.recordBatches()].slice().reverse())Wf.encode(r,p);const D=r.endVector();fu.startDictionariesVector(r,e.numDictionaries);for(const p of[...e.dictionaryBatches()].slice().reverse())Wf.encode(r,p);const y=r.endVector();return fu.startFooter(r),fu.addSchema(r,S),fu.addVersion(r,gu.V4),fu.addRecordBatches(r,D),fu.addDictionaries(r,y),fu.finishFooterBuffer(r,fu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,S=this.numRecordBatches;++r=0&&e