yagisan-reports
Version:
yagisan-reports SDK
6 lines • 2.2 MB
JavaScript
/**
* yagisan-reports
* Copyright © DenkiYagi Inc.
* Licensed under the commercial license.
**/
var gj=Object.create;var S4=Object.defineProperty;var pj=Object.getOwnPropertyDescriptor;var _j=Object.getOwnPropertyNames;var mj=Object.getPrototypeOf,yj=Object.prototype.hasOwnProperty;var ox=(e,x)=>()=>(e&&(x=e(e=0)),x);var Cx=(e,x)=>()=>(x||e((x={exports:{}}).exports,x),x.exports),qo=(e,x)=>{for(var t in x)S4(e,t,{get:x[t],enumerable:!0})},AS=(e,x,t,r)=>{if(x&&typeof x=="object"||typeof x=="function")for(let o of _j(x))!yj.call(e,o)&&o!==t&&S4(e,o,{get:()=>x[o],enumerable:!(r=pj(x,o))||r.enumerable});return e};var P6=(e,x,t)=>(t=e!=null?gj(mj(e)):{},AS(x||!e||!e.__esModule?S4(t,"default",{value:e,enumerable:!0}):t,e)),Wo=e=>AS(S4({},"__esModule",{value:!0}),e);var C4=Cx(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.utf8Decode=ua.utf8DecodeTD=ua.utf8DecodeJs=ua.utf8Encode=ua.utf8EncodeTE=ua.utf8EncodeJs=ua.utf8Count=void 0;function vj(e){let x=e.length,t=0,r=0;for(;r<x;){let o=e.charCodeAt(r++);if(o&4294967168)if(!(o&4294965248))t+=2;else{if(o>=55296&&o<=56319&&r<x){let l=e.charCodeAt(r);(l&64512)===56320&&(++r,o=((o&1023)<<10)+(l&1023)+65536)}o&4294901760?t+=4:t+=3}else{t++;continue}}return t}ua.utf8Count=vj;function FS(e,x,t){let r=e.length,o=t,l=0;for(;l<r;){let d=e.charCodeAt(l++);if(d&4294967168)if(!(d&4294965248))x[o++]=d>>6&31|192;else{if(d>=55296&&d<=56319&&l<r){let c=e.charCodeAt(l);(c&64512)===56320&&(++l,d=((d&1023)<<10)+(c&1023)+65536)}d&4294901760?(x[o++]=d>>18&7|240,x[o++]=d>>12&63|128,x[o++]=d>>6&63|128):(x[o++]=d>>12&15|224,x[o++]=d>>6&63|128)}else{x[o++]=d;continue}x[o++]=d&63|128}}ua.utf8EncodeJs=FS;var wj=new TextEncoder,Sj=50;function DS(e,x,t){wj.encodeInto(e,x.subarray(t))}ua.utf8EncodeTE=DS;function Cj(e,x,t){e.length>Sj?DS(e,x,t):FS(e,x,t)}ua.utf8Encode=Cj;var kj=4096;function ES(e,x,t){let r=x,o=r+t,l=[],d="";for(;r<o;){let c=e[r++];if(!(c&128))l.push(c);else if((c&224)===192){let b=e[r++]&63;l.push((c&31)<<6|b)}else if((c&240)===224){let b=e[r++]&63,f=e[r++]&63;l.push((c&31)<<12|b<<6|f)}else if((c&248)===240){let b=e[r++]&63,f=e[r++]&63,p=e[r++]&63,v=(c&7)<<18|b<<12|f<<6|p;v>65535&&(v-=65536,l.push(v>>>10&1023|55296),v=56320|v&1023),l.push(v)}else l.push(c);l.length>=kj&&(d+=String.fromCharCode(...l),l.length=0)}return l.length>0&&(d+=String.fromCharCode(...l)),d}ua.utf8DecodeJs=ES;var Tj=new TextDecoder,Bj=200;function RS(e,x,t){let r=e.subarray(x,x+t);return Tj.decode(r)}ua.utf8DecodeTD=RS;function Aj(e,x,t){return t>Bj?RS(e,x,t):ES(e,x,t)}ua.utf8Decode=Aj});var G_=Cx(k4=>{"use strict";Object.defineProperty(k4,"__esModule",{value:!0});k4.ExtData=void 0;var z_=class{constructor(x,t){this.type=x,this.data=t}};k4.ExtData=z_});var B4=Cx(T4=>{"use strict";Object.defineProperty(T4,"__esModule",{value:!0});T4.DecodeError=void 0;var U_=class e extends Error{constructor(x){super(x);let t=Object.create(e.prototype);Object.setPrototypeOf(this,t),Object.defineProperty(this,"name",{configurable:!0,enumerable:!1,value:e.name})}};T4.DecodeError=U_});var A4=Cx(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.getUint64=di.getInt64=di.setInt64=di.setUint64=di.UINT32_MAX=void 0;di.UINT32_MAX=4294967295;function Fj(e,x,t){let r=t/4294967296,o=t;e.setUint32(x,r),e.setUint32(x+4,o)}di.setUint64=Fj;function Dj(e,x,t){let r=Math.floor(t/4294967296),o=t;e.setUint32(x,r),e.setUint32(x+4,o)}di.setInt64=Dj;function Ej(e,x){let t=e.getInt32(x),r=e.getUint32(x+4);return t*4294967296+r}di.getInt64=Ej;function Rj(e,x){let t=e.getUint32(x),r=e.getUint32(x+4);return t*4294967296+r}di.getUint64=Rj});var H_=Cx(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.timestampExtension=Wn.decodeTimestampExtension=Wn.decodeTimestampToTimeSpec=Wn.encodeTimestampExtension=Wn.encodeDateToTimeSpec=Wn.encodeTimeSpecToTimestamp=Wn.EXT_TIMESTAMP=void 0;var Lj=B4(),LS=A4();Wn.EXT_TIMESTAMP=-1;var Pj=4294967296-1,Ij=17179869184-1;function PS({sec:e,nsec:x}){if(e>=0&&x>=0&&e<=Ij)if(x===0&&e<=Pj){let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e),t}else{let t=e/4294967296,r=e&4294967295,o=new Uint8Array(8),l=new DataView(o.buffer);return l.setUint32(0,x<<2|t&3),l.setUint32(4,r),o}else{let t=new Uint8Array(12),r=new DataView(t.buffer);return r.setUint32(0,x),(0,LS.setInt64)(r,4,e),t}}Wn.encodeTimeSpecToTimestamp=PS;function IS(e){let x=e.getTime(),t=Math.floor(x/1e3),r=(x-t*1e3)*1e6,o=Math.floor(r/1e9);return{sec:t+o,nsec:r-o*1e9}}Wn.encodeDateToTimeSpec=IS;function NS(e){if(e instanceof Date){let x=IS(e);return PS(x)}else return null}Wn.encodeTimestampExtension=NS;function OS(e){let x=new DataView(e.buffer,e.byteOffset,e.byteLength);switch(e.byteLength){case 4:return{sec:x.getUint32(0),nsec:0};case 8:{let t=x.getUint32(0),r=x.getUint32(4),o=(t&3)*4294967296+r,l=t>>>2;return{sec:o,nsec:l}}case 12:{let t=(0,LS.getInt64)(x,4),r=x.getUint32(0);return{sec:t,nsec:r}}default:throw new Lj.DecodeError(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${e.length}`)}}Wn.decodeTimestampToTimeSpec=OS;function jS(e){let x=OS(e);return new Date(x.sec*1e3+x.nsec/1e6)}Wn.decodeTimestampExtension=jS;Wn.timestampExtension={type:Wn.EXT_TIMESTAMP,encode:NS,decode:jS}});var E4=Cx(D4=>{"use strict";Object.defineProperty(D4,"__esModule",{value:!0});D4.ExtensionCodec=void 0;var F4=G_(),Nj=H_(),Y2=class{constructor(){this.builtInEncoders=[],this.builtInDecoders=[],this.encoders=[],this.decoders=[],this.register(Nj.timestampExtension)}register({type:x,encode:t,decode:r}){if(x>=0)this.encoders[x]=t,this.decoders[x]=r;else{let o=1+x;this.builtInEncoders[o]=t,this.builtInDecoders[o]=r}}tryToEncode(x,t){for(let r=0;r<this.builtInEncoders.length;r++){let o=this.builtInEncoders[r];if(o!=null){let l=o(x,t);if(l!=null){let d=-1-r;return new F4.ExtData(d,l)}}}for(let r=0;r<this.encoders.length;r++){let o=this.encoders[r];if(o!=null){let l=o(x,t);if(l!=null){let d=r;return new F4.ExtData(d,l)}}}return x instanceof F4.ExtData?x:null}decode(x,t,r){let o=t<0?this.builtInDecoders[-1-t]:this.decoders[t];return o?o(x,t,r):new F4.ExtData(t,x)}};Y2.defaultCodec=new Y2;D4.ExtensionCodec=Y2});var q_=Cx(J7=>{"use strict";Object.defineProperty(J7,"__esModule",{value:!0});J7.createDataView=J7.ensureUint8Array=void 0;function MS(e){return e instanceof Uint8Array?e:ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e instanceof ArrayBuffer?new Uint8Array(e):Uint8Array.from(e)}J7.ensureUint8Array=MS;function Oj(e){if(e instanceof ArrayBuffer)return new DataView(e);let x=MS(e);return new DataView(x.buffer,x.byteOffset,x.byteLength)}J7.createDataView=Oj});var X_=Cx(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.Encoder=Xo.DEFAULT_INITIAL_BUFFER_SIZE=Xo.DEFAULT_MAX_DEPTH=void 0;var VS=C4(),jj=E4(),zS=A4(),Mj=q_();Xo.DEFAULT_MAX_DEPTH=100;Xo.DEFAULT_INITIAL_BUFFER_SIZE=2048;var W_=class{constructor(x){var t,r,o,l,d,c,b,f;this.extensionCodec=(t=x?.extensionCodec)!==null&&t!==void 0?t:jj.ExtensionCodec.defaultCodec,this.context=x?.context,this.useBigInt64=(r=x?.useBigInt64)!==null&&r!==void 0?r:!1,this.maxDepth=(o=x?.maxDepth)!==null&&o!==void 0?o:Xo.DEFAULT_MAX_DEPTH,this.initialBufferSize=(l=x?.initialBufferSize)!==null&&l!==void 0?l:Xo.DEFAULT_INITIAL_BUFFER_SIZE,this.sortKeys=(d=x?.sortKeys)!==null&&d!==void 0?d:!1,this.forceFloat32=(c=x?.forceFloat32)!==null&&c!==void 0?c:!1,this.ignoreUndefined=(b=x?.ignoreUndefined)!==null&&b!==void 0?b:!1,this.forceIntegerToFloat=(f=x?.forceIntegerToFloat)!==null&&f!==void 0?f:!1,this.pos=0,this.view=new DataView(new ArrayBuffer(this.initialBufferSize)),this.bytes=new Uint8Array(this.view.buffer)}reinitializeState(){this.pos=0}encodeSharedRef(x){return this.reinitializeState(),this.doEncode(x,1),this.bytes.subarray(0,this.pos)}encode(x){return this.reinitializeState(),this.doEncode(x,1),this.bytes.slice(0,this.pos)}doEncode(x,t){if(t>this.maxDepth)throw new Error(`Too deep objects in depth ${t}`);x==null?this.encodeNil():typeof x=="boolean"?this.encodeBoolean(x):typeof x=="number"?this.forceIntegerToFloat?this.encodeNumberAsFloat(x):this.encodeNumber(x):typeof x=="string"?this.encodeString(x):this.useBigInt64&&typeof x=="bigint"?this.encodeBigInt64(x):this.encodeObject(x,t)}ensureBufferSizeToWrite(x){let t=this.pos+x;this.view.byteLength<t&&this.resizeBuffer(t*2)}resizeBuffer(x){let t=new ArrayBuffer(x),r=new Uint8Array(t),o=new DataView(t);r.set(this.bytes),this.view=o,this.bytes=r}encodeNil(){this.writeU8(192)}encodeBoolean(x){x===!1?this.writeU8(194):this.writeU8(195)}encodeNumber(x){!this.forceIntegerToFloat&&Number.isSafeInteger(x)?x>=0?x<128?this.writeU8(x):x<256?(this.writeU8(204),this.writeU8(x)):x<65536?(this.writeU8(205),this.writeU16(x)):x<4294967296?(this.writeU8(206),this.writeU32(x)):this.useBigInt64?this.encodeNumberAsFloat(x):(this.writeU8(207),this.writeU64(x)):x>=-32?this.writeU8(224|x+32):x>=-128?(this.writeU8(208),this.writeI8(x)):x>=-32768?(this.writeU8(209),this.writeI16(x)):x>=-2147483648?(this.writeU8(210),this.writeI32(x)):this.useBigInt64?this.encodeNumberAsFloat(x):(this.writeU8(211),this.writeI64(x)):this.encodeNumberAsFloat(x)}encodeNumberAsFloat(x){this.forceFloat32?(this.writeU8(202),this.writeF32(x)):(this.writeU8(203),this.writeF64(x))}encodeBigInt64(x){x>=BigInt(0)?(this.writeU8(207),this.writeBigUint64(x)):(this.writeU8(211),this.writeBigInt64(x))}writeStringHeader(x){if(x<32)this.writeU8(160+x);else if(x<256)this.writeU8(217),this.writeU8(x);else if(x<65536)this.writeU8(218),this.writeU16(x);else if(x<4294967296)this.writeU8(219),this.writeU32(x);else throw new Error(`Too long string: ${x} bytes in UTF-8`)}encodeString(x){let r=(0,VS.utf8Count)(x);this.ensureBufferSizeToWrite(5+r),this.writeStringHeader(r),(0,VS.utf8Encode)(x,this.bytes,this.pos),this.pos+=r}encodeObject(x,t){let r=this.extensionCodec.tryToEncode(x,this.context);if(r!=null)this.encodeExtension(r);else if(Array.isArray(x))this.encodeArray(x,t);else if(ArrayBuffer.isView(x))this.encodeBinary(x);else if(typeof x=="object")this.encodeMap(x,t);else throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(x)}`)}encodeBinary(x){let t=x.byteLength;if(t<256)this.writeU8(196),this.writeU8(t);else if(t<65536)this.writeU8(197),this.writeU16(t);else if(t<4294967296)this.writeU8(198),this.writeU32(t);else throw new Error(`Too large binary: ${t}`);let r=(0,Mj.ensureUint8Array)(x);this.writeU8a(r)}encodeArray(x,t){let r=x.length;if(r<16)this.writeU8(144+r);else if(r<65536)this.writeU8(220),this.writeU16(r);else if(r<4294967296)this.writeU8(221),this.writeU32(r);else throw new Error(`Too large array: ${r}`);for(let o of x)this.doEncode(o,t+1)}countWithoutUndefined(x,t){let r=0;for(let o of t)x[o]!==void 0&&r++;return r}encodeMap(x,t){let r=Object.keys(x);this.sortKeys&&r.sort();let o=this.ignoreUndefined?this.countWithoutUndefined(x,r):r.length;if(o<16)this.writeU8(128+o);else if(o<65536)this.writeU8(222),this.writeU16(o);else if(o<4294967296)this.writeU8(223),this.writeU32(o);else throw new Error(`Too large map object: ${o}`);for(let l of r){let d=x[l];this.ignoreUndefined&&d===void 0||(this.encodeString(l),this.doEncode(d,t+1))}}encodeExtension(x){let t=x.data.length;if(t===1)this.writeU8(212);else if(t===2)this.writeU8(213);else if(t===4)this.writeU8(214);else if(t===8)this.writeU8(215);else if(t===16)this.writeU8(216);else if(t<256)this.writeU8(199),this.writeU8(t);else if(t<65536)this.writeU8(200),this.writeU16(t);else if(t<4294967296)this.writeU8(201),this.writeU32(t);else throw new Error(`Too large extension object: ${t}`);this.writeI8(x.type),this.writeU8a(x.data)}writeU8(x){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,x),this.pos++}writeU8a(x){let t=x.length;this.ensureBufferSizeToWrite(t),this.bytes.set(x,this.pos),this.pos+=t}writeI8(x){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,x),this.pos++}writeU16(x){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,x),this.pos+=2}writeI16(x){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,x),this.pos+=2}writeU32(x){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,x),this.pos+=4}writeI32(x){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,x),this.pos+=4}writeF32(x){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,x),this.pos+=4}writeF64(x){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,x),this.pos+=8}writeU64(x){this.ensureBufferSizeToWrite(8),(0,zS.setUint64)(this.view,this.pos,x),this.pos+=8}writeI64(x){this.ensureBufferSizeToWrite(8),(0,zS.setInt64)(this.view,this.pos,x),this.pos+=8}writeBigUint64(x){this.ensureBufferSizeToWrite(8),this.view.setBigUint64(this.pos,x),this.pos+=8}writeBigInt64(x){this.ensureBufferSizeToWrite(8),this.view.setBigInt64(this.pos,x),this.pos+=8}};Xo.Encoder=W_});var GS=Cx(Q7=>{"use strict";Object.defineProperty(Q7,"__esModule",{value:!0});Q7.encode=Q7.defaultEncodeOptions=void 0;var Vj=X_();Q7.defaultEncodeOptions=void 0;function zj(e,x){return new Vj.Encoder(x).encodeSharedRef(e)}Q7.encode=zj});var US=Cx(R4=>{"use strict";Object.defineProperty(R4,"__esModule",{value:!0});R4.prettyByte=void 0;function Gj(e){return`${e<0?"-":""}0x${Math.abs(e).toString(16).padStart(2,"0")}`}R4.prettyByte=Gj});var HS=Cx(L4=>{"use strict";Object.defineProperty(L4,"__esModule",{value:!0});L4.CachedKeyDecoder=void 0;var Uj=C4(),Hj=16,qj=16,K_=class{constructor(x=Hj,t=qj){this.maxKeyLength=x,this.maxLengthPerKey=t,this.hit=0,this.miss=0,this.caches=[];for(let r=0;r<this.maxKeyLength;r++)this.caches.push([])}canBeCached(x){return x>0&&x<=this.maxKeyLength}find(x,t,r){let o=this.caches[r-1];x:for(let l of o){let d=l.bytes;for(let c=0;c<r;c++)if(d[c]!==x[t+c])continue x;return l.str}return null}store(x,t){let r=this.caches[x.length-1],o={bytes:x,str:t};r.length>=this.maxLengthPerKey?r[Math.random()*r.length|0]=o:r.push(o)}decode(x,t,r){let o=this.find(x,t,r);if(o!=null)return this.hit++,o;this.miss++;let l=(0,Uj.utf8DecodeJs)(x,t,r),d=Uint8Array.prototype.slice.call(x,t,t+r);return this.store(d,l),l}};L4.CachedKeyDecoder=K_});var I4=Cx(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Qs.Decoder=Qs.DataViewIndexOutOfBoundsError=void 0;var Z_=US(),Wj=E4(),nd=A4(),Xj=C4(),Y_=q_(),Kj=HS(),Js=B4(),qS="array",P4="map_key",Zj="map_value",Yj=e=>typeof e=="string"||typeof e=="number",$2=-1,J_=new DataView(new ArrayBuffer(0)),$j=new Uint8Array(J_.buffer);try{J_.getInt8(0)}catch(e){if(!(e instanceof RangeError))throw new Error("This module is not supported in the current JavaScript engine because DataView does not throw RangeError on out-of-bounds access")}Qs.DataViewIndexOutOfBoundsError=RangeError;var WS=new Qs.DataViewIndexOutOfBoundsError("Insufficient data"),Jj=new Kj.CachedKeyDecoder,$_=class{constructor(x){var t,r,o,l,d,c,b;this.totalPos=0,this.pos=0,this.view=J_,this.bytes=$j,this.headByte=$2,this.stack=[],this.extensionCodec=(t=x?.extensionCodec)!==null&&t!==void 0?t:Wj.ExtensionCodec.defaultCodec,this.context=x?.context,this.useBigInt64=(r=x?.useBigInt64)!==null&&r!==void 0?r:!1,this.maxStrLength=(o=x?.maxStrLength)!==null&&o!==void 0?o:nd.UINT32_MAX,this.maxBinLength=(l=x?.maxBinLength)!==null&&l!==void 0?l:nd.UINT32_MAX,this.maxArrayLength=(d=x?.maxArrayLength)!==null&&d!==void 0?d:nd.UINT32_MAX,this.maxMapLength=(c=x?.maxMapLength)!==null&&c!==void 0?c:nd.UINT32_MAX,this.maxExtLength=(b=x?.maxExtLength)!==null&&b!==void 0?b:nd.UINT32_MAX,this.keyDecoder=x?.keyDecoder!==void 0?x.keyDecoder:Jj}reinitializeState(){this.totalPos=0,this.headByte=$2,this.stack.length=0}setBuffer(x){this.bytes=(0,Y_.ensureUint8Array)(x),this.view=(0,Y_.createDataView)(this.bytes),this.pos=0}appendBuffer(x){if(this.headByte===$2&&!this.hasRemaining(1))this.setBuffer(x);else{let t=this.bytes.subarray(this.pos),r=(0,Y_.ensureUint8Array)(x),o=new Uint8Array(t.length+r.length);o.set(t),o.set(r,t.length),this.setBuffer(o)}}hasRemaining(x){return this.view.byteLength-this.pos>=x}createExtraByteError(x){let{view:t,pos:r}=this;return new RangeError(`Extra ${t.byteLength-r} of ${t.byteLength} byte(s) found at buffer[${x}]`)}decode(x){this.reinitializeState(),this.setBuffer(x);let t=this.doDecodeSync();if(this.hasRemaining(1))throw this.createExtraByteError(this.pos);return t}*decodeMulti(x){for(this.reinitializeState(),this.setBuffer(x);this.hasRemaining(1);)yield this.doDecodeSync()}async decodeAsync(x){let t=!1,r;for await(let c of x){if(t)throw this.createExtraByteError(this.totalPos);this.appendBuffer(c);try{r=this.doDecodeSync(),t=!0}catch(b){if(!(b instanceof Qs.DataViewIndexOutOfBoundsError))throw b}this.totalPos+=this.pos}if(t){if(this.hasRemaining(1))throw this.createExtraByteError(this.totalPos);return r}let{headByte:o,pos:l,totalPos:d}=this;throw new RangeError(`Insufficient data in parsing ${(0,Z_.prettyByte)(o)} at ${d} (${l} in the current buffer)`)}decodeArrayStream(x){return this.decodeMultiAsync(x,!0)}decodeStream(x){return this.decodeMultiAsync(x,!1)}async*decodeMultiAsync(x,t){let r=t,o=-1;for await(let l of x){if(t&&o===0)throw this.createExtraByteError(this.totalPos);this.appendBuffer(l),r&&(o=this.readArraySize(),r=!1,this.complete());try{for(;yield this.doDecodeSync(),--o!==0;);}catch(d){if(!(d instanceof Qs.DataViewIndexOutOfBoundsError))throw d}this.totalPos+=this.pos}}doDecodeSync(){x:for(;;){let x=this.readHeadByte(),t;if(x>=224)t=x-256;else if(x<192)if(x<128)t=x;else if(x<144){let o=x-128;if(o!==0){this.pushMapState(o),this.complete();continue x}else t={}}else if(x<160){let o=x-144;if(o!==0){this.pushArrayState(o),this.complete();continue x}else t=[]}else{let o=x-160;t=this.decodeUtf8String(o,0)}else if(x===192)t=null;else if(x===194)t=!1;else if(x===195)t=!0;else if(x===202)t=this.readF32();else if(x===203)t=this.readF64();else if(x===204)t=this.readU8();else if(x===205)t=this.readU16();else if(x===206)t=this.readU32();else if(x===207)this.useBigInt64?t=this.readU64AsBigInt():t=this.readU64();else if(x===208)t=this.readI8();else if(x===209)t=this.readI16();else if(x===210)t=this.readI32();else if(x===211)this.useBigInt64?t=this.readI64AsBigInt():t=this.readI64();else if(x===217){let o=this.lookU8();t=this.decodeUtf8String(o,1)}else if(x===218){let o=this.lookU16();t=this.decodeUtf8String(o,2)}else if(x===219){let o=this.lookU32();t=this.decodeUtf8String(o,4)}else if(x===220){let o=this.readU16();if(o!==0){this.pushArrayState(o),this.complete();continue x}else t=[]}else if(x===221){let o=this.readU32();if(o!==0){this.pushArrayState(o),this.complete();continue x}else t=[]}else if(x===222){let o=this.readU16();if(o!==0){this.pushMapState(o),this.complete();continue x}else t={}}else if(x===223){let o=this.readU32();if(o!==0){this.pushMapState(o),this.complete();continue x}else t={}}else if(x===196){let o=this.lookU8();t=this.decodeBinary(o,1)}else if(x===197){let o=this.lookU16();t=this.decodeBinary(o,2)}else if(x===198){let o=this.lookU32();t=this.decodeBinary(o,4)}else if(x===212)t=this.decodeExtension(1,0);else if(x===213)t=this.decodeExtension(2,0);else if(x===214)t=this.decodeExtension(4,0);else if(x===215)t=this.decodeExtension(8,0);else if(x===216)t=this.decodeExtension(16,0);else if(x===199){let o=this.lookU8();t=this.decodeExtension(o,1)}else if(x===200){let o=this.lookU16();t=this.decodeExtension(o,2)}else if(x===201){let o=this.lookU32();t=this.decodeExtension(o,4)}else throw new Js.DecodeError(`Unrecognized type byte: ${(0,Z_.prettyByte)(x)}`);this.complete();let r=this.stack;for(;r.length>0;){let o=r[r.length-1];if(o.type===qS)if(o.array[o.position]=t,o.position++,o.position===o.size)r.pop(),t=o.array;else continue x;else if(o.type===P4){if(!Yj(t))throw new Js.DecodeError("The type of key must be string or number but "+typeof t);if(t==="__proto__")throw new Js.DecodeError("The key __proto__ is not allowed");o.key=t,o.type=Zj;continue x}else if(o.map[o.key]=t,o.readCount++,o.readCount===o.size)r.pop(),t=o.map;else{o.key=null,o.type=P4;continue x}}return t}}readHeadByte(){return this.headByte===$2&&(this.headByte=this.readU8()),this.headByte}complete(){this.headByte=$2}readArraySize(){let x=this.readHeadByte();switch(x){case 220:return this.readU16();case 221:return this.readU32();default:{if(x<160)return x-144;throw new Js.DecodeError(`Unrecognized array type byte: ${(0,Z_.prettyByte)(x)}`)}}}pushMapState(x){if(x>this.maxMapLength)throw new Js.DecodeError(`Max length exceeded: map length (${x}) > maxMapLengthLength (${this.maxMapLength})`);this.stack.push({type:P4,size:x,key:null,readCount:0,map:{}})}pushArrayState(x){if(x>this.maxArrayLength)throw new Js.DecodeError(`Max length exceeded: array length (${x}) > maxArrayLength (${this.maxArrayLength})`);this.stack.push({type:qS,size:x,array:new Array(x),position:0})}decodeUtf8String(x,t){var r;if(x>this.maxStrLength)throw new Js.DecodeError(`Max length exceeded: UTF-8 byte length (${x}) > maxStrLength (${this.maxStrLength})`);if(this.bytes.byteLength<this.pos+t+x)throw WS;let o=this.pos+t,l;return this.stateIsMapKey()&&(!((r=this.keyDecoder)===null||r===void 0)&&r.canBeCached(x))?l=this.keyDecoder.decode(this.bytes,o,x):l=(0,Xj.utf8Decode)(this.bytes,o,x),this.pos+=t+x,l}stateIsMapKey(){return this.stack.length>0?this.stack[this.stack.length-1].type===P4:!1}decodeBinary(x,t){if(x>this.maxBinLength)throw new Js.DecodeError(`Max length exceeded: bin length (${x}) > maxBinLength (${this.maxBinLength})`);if(!this.hasRemaining(x+t))throw WS;let r=this.pos+t,o=this.bytes.subarray(r,r+x);return this.pos+=t+x,o}decodeExtension(x,t){if(x>this.maxExtLength)throw new Js.DecodeError(`Max length exceeded: ext length (${x}) > maxExtLength (${this.maxExtLength})`);let r=this.view.getInt8(this.pos+t),o=this.decodeBinary(x,t+1);return this.extensionCodec.decode(o,r,this.context)}lookU8(){return this.view.getUint8(this.pos)}lookU16(){return this.view.getUint16(this.pos)}lookU32(){return this.view.getUint32(this.pos)}readU8(){let x=this.view.getUint8(this.pos);return this.pos++,x}readI8(){let x=this.view.getInt8(this.pos);return this.pos++,x}readU16(){let x=this.view.getUint16(this.pos);return this.pos+=2,x}readI16(){let x=this.view.getInt16(this.pos);return this.pos+=2,x}readU32(){let x=this.view.getUint32(this.pos);return this.pos+=4,x}readI32(){let x=this.view.getInt32(this.pos);return this.pos+=4,x}readU64(){let x=(0,nd.getUint64)(this.view,this.pos);return this.pos+=8,x}readI64(){let x=(0,nd.getInt64)(this.view,this.pos);return this.pos+=8,x}readU64AsBigInt(){let x=this.view.getBigUint64(this.pos);return this.pos+=8,x}readI64AsBigInt(){let x=this.view.getBigInt64(this.pos);return this.pos+=8,x}readF32(){let x=this.view.getFloat32(this.pos);return this.pos+=4,x}readF64(){let x=this.view.getFloat64(this.pos);return this.pos+=8,x}};Qs.Decoder=$_});var KS=Cx(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.decodeMulti=nu.decode=nu.defaultDecodeOptions=void 0;var XS=I4();nu.defaultDecodeOptions=void 0;function Qj(e,x){return new XS.Decoder(x).decode(e)}nu.decode=Qj;function xM(e,x){return new XS.Decoder(x).decodeMulti(e)}nu.decodeMulti=xM});var $S=Cx(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.ensureAsyncIterable=au.asyncIterableFromStream=au.isAsyncIterable=void 0;function ZS(e){return e[Symbol.asyncIterator]!=null}au.isAsyncIterable=ZS;function eM(e){if(e==null)throw new Error("Assertion Failure: value must not be null nor undefined")}async function*YS(e){let x=e.getReader();try{for(;;){let{done:t,value:r}=await x.read();if(t)return;eM(r),yield r}}finally{x.releaseLock()}}au.asyncIterableFromStream=YS;function tM(e){return ZS(e)?e:YS(e)}au.ensureAsyncIterable=tM});var JS=Cx(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.decodeStream=Ko.decodeMultiStream=Ko.decodeArrayStream=Ko.decodeAsync=void 0;var Q_=I4(),x8=$S();async function rM(e,x){let t=(0,x8.ensureAsyncIterable)(e);return new Q_.Decoder(x).decodeAsync(t)}Ko.decodeAsync=rM;function nM(e,x){let t=(0,x8.ensureAsyncIterable)(e);return new Q_.Decoder(x).decodeArrayStream(t)}Ko.decodeArrayStream=nM;function aM(e,x){let t=(0,x8.ensureAsyncIterable)(e);return new Q_.Decoder(x).decodeStream(t)}Ko.decodeMultiStream=aM;Ko.decodeStream=void 0});var eC=Cx(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.decodeTimestampExtension=ct.encodeTimestampExtension=ct.decodeTimestampToTimeSpec=ct.encodeTimeSpecToTimestamp=ct.encodeDateToTimeSpec=ct.EXT_TIMESTAMP=ct.ExtData=ct.ExtensionCodec=ct.Encoder=ct.DecodeError=ct.DataViewIndexOutOfBoundsError=ct.Decoder=ct.decodeStream=ct.decodeMultiStream=ct.decodeArrayStream=ct.decodeAsync=ct.decodeMulti=ct.decode=ct.encode=void 0;var iM=GS();Object.defineProperty(ct,"encode",{enumerable:!0,get:function(){return iM.encode}});var QS=KS();Object.defineProperty(ct,"decode",{enumerable:!0,get:function(){return QS.decode}});Object.defineProperty(ct,"decodeMulti",{enumerable:!0,get:function(){return QS.decodeMulti}});var N4=JS();Object.defineProperty(ct,"decodeAsync",{enumerable:!0,get:function(){return N4.decodeAsync}});Object.defineProperty(ct,"decodeArrayStream",{enumerable:!0,get:function(){return N4.decodeArrayStream}});Object.defineProperty(ct,"decodeMultiStream",{enumerable:!0,get:function(){return N4.decodeMultiStream}});Object.defineProperty(ct,"decodeStream",{enumerable:!0,get:function(){return N4.decodeStream}});var xC=I4();Object.defineProperty(ct,"Decoder",{enumerable:!0,get:function(){return xC.Decoder}});Object.defineProperty(ct,"DataViewIndexOutOfBoundsError",{enumerable:!0,get:function(){return xC.DataViewIndexOutOfBoundsError}});var oM=B4();Object.defineProperty(ct,"DecodeError",{enumerable:!0,get:function(){return oM.DecodeError}});var sM=X_();Object.defineProperty(ct,"Encoder",{enumerable:!0,get:function(){return sM.Encoder}});var lM=E4();Object.defineProperty(ct,"ExtensionCodec",{enumerable:!0,get:function(){return lM.ExtensionCodec}});var uM=G_();Object.defineProperty(ct,"ExtData",{enumerable:!0,get:function(){return uM.ExtData}});var xf=H_();Object.defineProperty(ct,"EXT_TIMESTAMP",{enumerable:!0,get:function(){return xf.EXT_TIMESTAMP}});Object.defineProperty(ct,"encodeDateToTimeSpec",{enumerable:!0,get:function(){return xf.encodeDateToTimeSpec}});Object.defineProperty(ct,"encodeTimeSpecToTimestamp",{enumerable:!0,get:function(){return xf.encodeTimeSpecToTimestamp}});Object.defineProperty(ct,"decodeTimestampToTimeSpec",{enumerable:!0,get:function(){return xf.decodeTimestampToTimeSpec}});Object.defineProperty(ct,"encodeTimestampExtension",{enumerable:!0,get:function(){return xf.encodeTimestampExtension}});Object.defineProperty(ct,"decodeTimestampExtension",{enumerable:!0,get:function(){return xf.decodeTimestampExtension}})});var tC=Cx((eY,O4)=>{function cM(){var e=0,x=1,t=2,r=3,o=4,l=5,d=6,c=7,b=8,f=9,p=10,v=11,w=12,k=13,S=14,F=15,E=16,A=17,I=0,L=1,N=2,G=3,V=4;function i0(s,Y){return 55296<=s.charCodeAt(Y)&&s.charCodeAt(Y)<=56319&&56320<=s.charCodeAt(Y+1)&&s.charCodeAt(Y+1)<=57343}function r0(s,Y){Y===void 0&&(Y=0);var d0=s.charCodeAt(Y);if(55296<=d0&&d0<=56319&&Y<s.length-1){var o0=d0,_0=s.charCodeAt(Y+1);return 56320<=_0&&_0<=57343?(o0-55296)*1024+(_0-56320)+65536:o0}if(56320<=d0&&d0<=57343&&Y>=1){var o0=s.charCodeAt(Y-1),_0=d0;return 55296<=o0&&o0<=56319?(o0-55296)*1024+(_0-56320)+65536:_0}return d0}function s0(s,Y,d0){var o0=[s].concat(Y).concat([d0]),_0=o0[o0.length-2],T0=d0,S0=o0.lastIndexOf(S);if(S0>1&&o0.slice(1,S0).every(function(z0){return z0==r})&&[r,k,A].indexOf(s)==-1)return N;var O0=o0.lastIndexOf(o);if(O0>0&&o0.slice(1,O0).every(function(z0){return z0==o})&&[w,o].indexOf(_0)==-1)return o0.filter(function(z0){return z0==o}).length%2==1?G:V;if(_0==e&&T0==x)return I;if(_0==t||_0==e||_0==x)return T0==S&&Y.every(function(z0){return z0==r})?N:L;if(T0==t||T0==e||T0==x)return L;if(_0==d&&(T0==d||T0==c||T0==f||T0==p))return I;if((_0==f||_0==c)&&(T0==c||T0==b))return I;if((_0==p||_0==b)&&T0==b)return I;if(T0==r||T0==F)return I;if(T0==l)return I;if(_0==w)return I;var E0=o0.indexOf(r)!=-1?o0.lastIndexOf(r)-1:o0.length-2;return[k,A].indexOf(o0[E0])!=-1&&o0.slice(E0+1,-1).every(function(z0){return z0==r})&&T0==S||_0==F&&[E,A].indexOf(T0)!=-1?I:Y.indexOf(o)!=-1?N:_0==o&&T0==o?I:L}this.nextBreak=function(s,Y){if(Y===void 0&&(Y=0),Y<0)return 0;if(Y>=s.length-1)return s.length;for(var d0=U(r0(s,Y)),o0=[],_0=Y+1;_0<s.length;_0++)if(!i0(s,_0-1)){var T0=U(r0(s,_0));if(s0(d0,o0,T0))return _0;o0.push(T0)}return s.length},this.splitGraphemes=function(s){for(var Y=[],d0=0,o0;(o0=this.nextBreak(s,d0))<s.length;)Y.push(s.slice(d0,o0)),d0=o0;return d0<s.length&&Y.push(s.slice(d0)),Y},this.iterateGraphemes=function(s){var Y=0,d0={next:function(){var o0,_0;return(_0=this.nextBreak(s,Y))<s.length?(o0=s.slice(Y,_0),Y=_0,{value:o0,done:!1}):Y<s.length?(o0=s.slice(Y),Y=s.length,{value:o0,done:!1}):{value:void 0,done:!0}}.bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(d0[Symbol.iterator]=function(){return d0}),d0},this.countGraphemes=function(s){for(var Y=0,d0=0,o0;(o0=this.nextBreak(s,d0))<s.length;)d0=o0,Y++;return d0<s.length&&Y++,Y};function U(s){return 1536<=s&&s<=1541||s==1757||s==1807||s==2274||s==3406||s==69821||70082<=s&&s<=70083||s==72250||72326<=s&&s<=72329||s==73030?w:s==13?e:s==10?x:0<=s&&s<=9||11<=s&&s<=12||14<=s&&s<=31||127<=s&&s<=159||s==173||s==1564||s==6158||s==8203||8206<=s&&s<=8207||s==8232||s==8233||8234<=s&&s<=8238||8288<=s&&s<=8292||s==8293||8294<=s&&s<=8303||55296<=s&&s<=57343||s==65279||65520<=s&&s<=65528||65529<=s&&s<=65531||113824<=s&&s<=113827||119155<=s&&s<=119162||s==917504||s==917505||917506<=s&&s<=917535||917632<=s&&s<=917759||918e3<=s&&s<=921599?t:768<=s&&s<=879||1155<=s&&s<=1159||1160<=s&&s<=1161||1425<=s&&s<=1469||s==1471||1473<=s&&s<=1474||1476<=s&&s<=1477||s==1479||1552<=s&&s<=1562||1611<=s&&s<=1631||s==1648||1750<=s&&s<=1756||1759<=s&&s<=1764||1767<=s&&s<=1768||1770<=s&&s<=1773||s==1809||1840<=s&&s<=1866||1958<=s&&s<=1968||2027<=s&&s<=2035||2070<=s&&s<=2073||2075<=s&&s<=2083||2085<=s&&s<=2087||2089<=s&&s<=2093||2137<=s&&s<=2139||2260<=s&&s<=2273||2275<=s&&s<=2306||s==2362||s==2364||2369<=s&&s<=2376||s==2381||2385<=s&&s<=2391||2402<=s&&s<=2403||s==2433||s==2492||s==2494||2497<=s&&s<=2500||s==2509||s==2519||2530<=s&&s<=2531||2561<=s&&s<=2562||s==2620||2625<=s&&s<=2626||2631<=s&&s<=2632||2635<=s&&s<=2637||s==2641||2672<=s&&s<=2673||s==2677||2689<=s&&s<=2690||s==2748||2753<=s&&s<=2757||2759<=s&&s<=2760||s==2765||2786<=s&&s<=2787||2810<=s&&s<=2815||s==2817||s==2876||s==2878||s==2879||2881<=s&&s<=2884||s==2893||s==2902||s==2903||2914<=s&&s<=2915||s==2946||s==3006||s==3008||s==3021||s==3031||s==3072||3134<=s&&s<=3136||3142<=s&&s<=3144||3146<=s&&s<=3149||3157<=s&&s<=3158||3170<=s&&s<=3171||s==3201||s==3260||s==3263||s==3266||s==3270||3276<=s&&s<=3277||3285<=s&&s<=3286||3298<=s&&s<=3299||3328<=s&&s<=3329||3387<=s&&s<=3388||s==3390||3393<=s&&s<=3396||s==3405||s==3415||3426<=s&&s<=3427||s==3530||s==3535||3538<=s&&s<=3540||s==3542||s==3551||s==3633||3636<=s&&s<=3642||3655<=s&&s<=3662||s==3761||3764<=s&&s<=3769||3771<=s&&s<=3772||3784<=s&&s<=3789||3864<=s&&s<=3865||s==3893||s==3895||s==3897||3953<=s&&s<=3966||3968<=s&&s<=3972||3974<=s&&s<=3975||3981<=s&&s<=3991||3993<=s&&s<=4028||s==4038||4141<=s&&s<=4144||4146<=s&&s<=4151||4153<=s&&s<=4154||4157<=s&&s<=4158||4184<=s&&s<=4185||4190<=s&&s<=4192||4209<=s&&s<=4212||s==4226||4229<=s&&s<=4230||s==4237||s==4253||4957<=s&&s<=4959||5906<=s&&s<=5908||5938<=s&&s<=5940||5970<=s&&s<=5971||6002<=s&&s<=6003||6068<=s&&s<=6069||6071<=s&&s<=6077||s==6086||6089<=s&&s<=6099||s==6109||6155<=s&&s<=6157||6277<=s&&s<=6278||s==6313||6432<=s&&s<=6434||6439<=s&&s<=6440||s==6450||6457<=s&&s<=6459||6679<=s&&s<=6680||s==6683||s==6742||6744<=s&&s<=6750||s==6752||s==6754||6757<=s&&s<=6764||6771<=s&&s<=6780||s==6783||6832<=s&&s<=6845||s==6846||6912<=s&&s<=6915||s==6964||6966<=s&&s<=6970||s==6972||s==6978||7019<=s&&s<=7027||7040<=s&&s<=7041||7074<=s&&s<=7077||7080<=s&&s<=7081||7083<=s&&s<=7085||s==7142||7144<=s&&s<=7145||s==7149||7151<=s&&s<=7153||7212<=s&&s<=7219||7222<=s&&s<=7223||7376<=s&&s<=7378||7380<=s&&s<=7392||7394<=s&&s<=7400||s==7405||s==7412||7416<=s&&s<=7417||7616<=s&&s<=7673||7675<=s&&s<=7679||s==8204||8400<=s&&s<=8412||8413<=s&&s<=8416||s==8417||8418<=s&&s<=8420||8421<=s&&s<=8432||11503<=s&&s<=11505||s==11647||11744<=s&&s<=11775||12330<=s&&s<=12333||12334<=s&&s<=12335||12441<=s&&s<=12442||s==42607||42608<=s&&s<=42610||42612<=s&&s<=42621||42654<=s&&s<=42655||42736<=s&&s<=42737||s==43010||s==43014||s==43019||43045<=s&&s<=43046||43204<=s&&s<=43205||43232<=s&&s<=43249||43302<=s&&s<=43309||43335<=s&&s<=43345||43392<=s&&s<=43394||s==43443||43446<=s&&s<=43449||s==43452||s==43493||43561<=s&&s<=43566||43569<=s&&s<=43570||43573<=s&&s<=43574||s==43587||s==43596||s==43644||s==43696||43698<=s&&s<=43700||43703<=s&&s<=43704||43710<=s&&s<=43711||s==43713||43756<=s&&s<=43757||s==43766||s==44005||s==44008||s==44013||s==64286||65024<=s&&s<=65039||65056<=s&&s<=65071||65438<=s&&s<=65439||s==66045||s==66272||66422<=s&&s<=66426||68097<=s&&s<=68099||68101<=s&&s<=68102||68108<=s&&s<=68111||68152<=s&&s<=68154||s==68159||68325<=s&&s<=68326||s==69633||69688<=s&&s<=69702||69759<=s&&s<=69761||69811<=s&&s<=69814||69817<=s&&s<=69818||69888<=s&&s<=69890||69927<=s&&s<=69931||69933<=s&&s<=69940||s==70003||70016<=s&&s<=70017||70070<=s&&s<=70078||70090<=s&&s<=70092||70191<=s&&s<=70193||s==70196||70198<=s&&s<=70199||s==70206||s==70367||70371<=s&&s<=70378||70400<=s&&s<=70401||s==70460||s==70462||s==70464||s==70487||70502<=s&&s<=70508||70512<=s&&s<=70516||70712<=s&&s<=70719||70722<=s&&s<=70724||s==70726||s==70832||70835<=s&&s<=70840||s==70842||s==70845||70847<=s&&s<=70848||70850<=s&&s<=70851||s==71087||71090<=s&&s<=71093||71100<=s&&s<=71101||71103<=s&&s<=71104||71132<=s&&s<=71133||71219<=s&&s<=71226||s==71229||71231<=s&&s<=71232||s==71339||s==71341||71344<=s&&s<=71349||s==71351||71453<=s&&s<=71455||71458<=s&&s<=71461||71463<=s&&s<=71467||72193<=s&&s<=72198||72201<=s&&s<=72202||72243<=s&&s<=72248||72251<=s&&s<=72254||s==72263||72273<=s&&s<=72278||72281<=s&&s<=72283||72330<=s&&s<=72342||72344<=s&&s<=72345||72752<=s&&s<=72758||72760<=s&&s<=72765||s==72767||72850<=s&&s<=72871||72874<=s&&s<=72880||72882<=s&&s<=72883||72885<=s&&s<=72886||73009<=s&&s<=73014||s==73018||73020<=s&&s<=73021||73023<=s&&s<=73029||s==73031||92912<=s&&s<=92916||92976<=s&&s<=92982||94095<=s&&s<=94098||113821<=s&&s<=113822||s==119141||119143<=s&&s<=119145||119150<=s&&s<=119154||119163<=s&&s<=119170||119173<=s&&s<=119179||119210<=s&&s<=119213||119362<=s&&s<=119364||121344<=s&&s<=121398||121403<=s&&s<=121452||s==121461||s==121476||121499<=s&&s<=121503||121505<=s&&s<=121519||122880<=s&&s<=122886||122888<=s&&s<=122904||122907<=s&&s<=122913||122915<=s&&s<=122916||122918<=s&&s<=122922||125136<=s&&s<=125142||125252<=s&&s<=125258||917536<=s&&s<=917631||917760<=s&&s<=917999?r:127462<=s&&s<=127487?o:s==2307||s==2363||2366<=s&&s<=2368||2377<=s&&s<=2380||2382<=s&&s<=2383||2434<=s&&s<=2435||2495<=s&&s<=2496||2503<=s&&s<=2504||2507<=s&&s<=2508||s==2563||2622<=s&&s<=2624||s==2691||2750<=s&&s<=2752||s==2761||2763<=s&&s<=2764||2818<=s&&s<=2819||s==2880||2887<=s&&s<=2888||2891<=s&&s<=2892||s==3007||3009<=s&&s<=3010||3014<=s&&s<=3016||3018<=s&&s<=3020||3073<=s&&s<=3075||3137<=s&&s<=3140||3202<=s&&s<=3203||s==3262||3264<=s&&s<=3265||3267<=s&&s<=3268||3271<=s&&s<=3272||3274<=s&&s<=3275||3330<=s&&s<=3331||3391<=s&&s<=3392||3398<=s&&s<=3400||3402<=s&&s<=3404||3458<=s&&s<=3459||3536<=s&&s<=3537||3544<=s&&s<=3550||3570<=s&&s<=3571||s==3635||s==3763||3902<=s&&s<=3903||s==3967||s==4145||4155<=s&&s<=4156||4182<=s&&s<=4183||s==4228||s==6070||6078<=s&&s<=6085||6087<=s&&s<=6088||6435<=s&&s<=6438||6441<=s&&s<=6443||6448<=s&&s<=6449||6451<=s&&s<=6456||6681<=s&&s<=6682||s==6741||s==6743||6765<=s&&s<=6770||s==6916||s==6965||s==6971||6973<=s&&s<=6977||6979<=s&&s<=6980||s==7042||s==7073||7078<=s&&s<=7079||s==7082||s==7143||7146<=s&&s<=7148||s==7150||7154<=s&&s<=7155||7204<=s&&s<=7211||7220<=s&&s<=7221||s==7393||7410<=s&&s<=7411||s==7415||43043<=s&&s<=43044||s==43047||43136<=s&&s<=43137||43188<=s&&s<=43203||43346<=s&&s<=43347||s==43395||43444<=s&&s<=43445||43450<=s&&s<=43451||43453<=s&&s<=43456||43567<=s&&s<=43568||43571<=s&&s<=43572||s==43597||s==43755||43758<=s&&s<=43759||s==43765||44003<=s&&s<=44004||44006<=s&&s<=44007||44009<=s&&s<=44010||s==44012||s==69632||s==69634||s==69762||69808<=s&&s<=69810||69815<=s&&s<=69816||s==69932||s==70018||70067<=s&&s<=70069||70079<=s&&s<=70080||70188<=s&&s<=70190||70194<=s&&s<=70195||s==70197||70368<=s&&s<=70370||70402<=s&&s<=70403||s==70463||70465<=s&&s<=70468||70471<=s&&s<=70472||70475<=s&&s<=70477||70498<=s&&s<=70499||70709<=s&&s<=70711||70720<=s&&s<=70721||s==70725||70833<=s&&s<=70834||s==70841||70843<=s&&s<=70844||s==70846||s==70849||71088<=s&&s<=71089||71096<=s&&s<=71099||s==71102||71216<=s&&s<=71218||71227<=s&&s<=71228||s==71230||s==71340||71342<=s&&s<=71343||s==71350||71456<=s&&s<=71457||s==71462||72199<=s&&s<=72200||s==72249||72279<=s&&s<=72280||s==72343||s==72751||s==72766||s==72873||s==72881||s==72884||94033<=s&&s<=94078||s==119142||s==119149?l:4352<=s&&s<=4447||43360<=s&&s<=43388?d:4448<=s&&s<=4519||55216<=s&&s<=55238?c:4520<=s&&s<=4607||55243<=s&&s<=55291?b:s==44032||s==44060||s==44088||s==44116||s==44144||s==44172||s==44200||s==44228||s==44256||s==44284||s==44312||s==44340||s==44368||s==44396||s==44424||s==44452||s==44480||s==44508||s==44536||s==44564||s==44592||s==44620||s==44648||s==44676||s==44704||s==44732||s==44760||s==44788||s==44816||s==44844||s==44872||s==44900||s==44928||s==44956||s==44984||s==45012||s==45040||s==45068||s==45096||s==45124||s==45152||s==45180||s==45208||s==45236||s==45264||s==45292||s==45320||s==45348||s==45376||s==45404||s==45432||s==45460||s==45488||s==45516||s==45544||s==45572||s==45600||s==45628||s==45656||s==45684||s==45712||s==45740||s==45768||s==45796||s==45824||s==45852||s==45880||s==45908||s==45936||s==45964||s==45992||s==46020||s==46048||s==46076||s==46104||s==46132||s==46160||s==46188||s==46216||s==46244||s==46272||s==46300||s==46328||s==46356||s==46384||s==46412||s==46440||s==46468||s==46496||s==46524||s==46552||s==46580||s==46608||s==46636||s==46664||s==46692||s==46720||s==46748||s==46776||s==46804||s==46832||s==46860||s==46888||s==46916||s==46944||s==46972||s==47e3||s==47028||s==47056||s==47084||s==47112||s==47140||s==47168||s==47196||s==47224||s==47252||s==47280||s==47308||s==47336||s==47364||s==47392||s==47420||s==47448||s==47476||s==47504||s==47532||s==47560||s==47588||s==47616||s==47644||s==47672||s==47700||s==47728||s==47756||s==47784||s==47812||s==47840||s==47868||s==47896||s==47924||s==47952||s==47980||s==48008||s==48036||s==48064||s==48092||s==48120||s==48148||s==48176||s==48204||s==48232||s==48260||s==48288||s==48316||s==48344||s==48372||s==48400||s==48428||s==48456||s==48484||s==48512||s==48540||s==48568||s==48596||s==48624||s==48652||s==48680||s==48708||s==48736||s==48764||s==48792||s==48820||s==48848||s==48876||s==48904||s==48932||s==48960||s==48988||s==49016||s==49044||s==49072||s==49100||s==49128||s==49156||s==49184||s==49212||s==49240||s==49268||s==49296||s==49324||s==49352||s==49380||s==49408||s==49436||s==49464||s==49492||s==49520||s==49548||s==49576||s==49604||s==49632||s==49660||s==49688||s==49716||s==49744||s==49772||s==49800||s==49828||s==49856||s==49884||s==49912||s==49940||s==49968||s==49996||s==50024||s==50052||s==50080||s==50108||s==50136||s==50164||s==50192||s==50220||s==50248||s==50276||s==50304||s==50332||s==50360||s==50388||s==50416||s==50444||s==50472||s==50500||s==50528||s==50556||s==50584||s==50612||s==50640||s==50668||s==50696||s==50724||s==50752||s==50780||s==50808||s==50836||s==50864||s==50892||s==50920||s==50948||s==50976||s==51004||s==51032||s==51060||s==51088||s==51116||s==51144||s==51172||s==51200||s==51228||s==51256||s==51284||s==51312||s==51340||s==51368||s==51396||s==51424||s==51452||s==51480||s==51508||s==51536||s==51564||s==51592||s==51620||s==51648||s==51676||s==51704||s==51732||s==51760||s==51788||s==51816||s==51844||s==51872||s==51900||s==51928||s==51956||s==51984||s==52012||s==52040||s==52068||s==52096||s==52124||s==52152||s==52180||s==52208||s==52236||s==52264||s==52292||s==52320||s==52348||s==52376||s==52404||s==52432||s==52460||s==52488||s==52516||s==52544||s==52572||s==52600||s==52628||s==52656||s==52684||s==52712||s==52740||s==52768||s==52796||s==52824||s==52852||s==52880||s==52908||s==52936||s==52964||s==52992||s==53020||s==53048||s==53076||s==53104||s==53132||s==53160||s==53188||s==53216||s==53244||s==53272||s==53300||s==53328||s==53356||s==53384||s==53412||s==53440||s==53468||s==53496||s==53524||s==53552||s==53580||s==53608||s==53636||s==53664||s==53692||s==53720||s==53748||s==53776||s==53804||s==53832||s==53860||s==53888||s==53916||s==53944||s==53972||s==54e3||s==54028||s==54056||s==54084||s==54112||s==54140||s==54168||s==54196||s==54224||s==54252||s==54280||s==54308||s==54336||s==54364||s==54392||s==54420||s==54448||s==54476||s==54504||s==54532||s==54560||s==54588||s==54616||s==54644||s==54672||s==54700||s==54728||s==54756||s==54784||s==54812||s==54840||s==54868||s==54896||s==54924||s==54952||s==54980||s==55008||s==55036||s==55064||s==55092||s==55120||s==55148||s==55176?f:44033<=s&&s<=44059||44061<=s&&s<=44087||44089<=s&&s<=44115||44117<=s&&s<=44143||44145<=s&&s<=44171||44173<=s&&s<=44199||44201<=s&&s<=44227||44229<=s&&s<=44255||44257<=s&&s<=44283||44285<=s&&s<=44311||44313<=s&&s<=44339||44341<=s&&s<=44367||44369<=s&&s<=44395||44397<=s&&s<=44423||44425<=s&&s<=44451||44453<=s&&s<=44479||44481<=s&&s<=44507||44509<=s&&s<=44535||44537<=s&&s<=44563||44565<=s&&s<=44591||44593<=s&&s<=44619||44621<=s&&s<=44647||44649<=s&&s<=44675||44677<=s&&s<=44703||44705<=s&&s<=44731||44733<=s&&s<=44759||44761<=s&&s<=44787||44789<=s&&s<=44815||44817<=s&&s<=44843||44845<=s&&s<=44871||44873<=s&&s<=44899||44901<=s&&s<=44927||44929<=s&&s<=44955||44957<=s&&s<=44983||44985<=s&&s<=45011||45013<=s&&s<=45039||45041<=s&&s<=45067||45069<=s&&s<=45095||45097<=s&&s<=45123||45125<=s&&s<=45151||45153<=s&&s<=45179||45181<=s&&s<=45207||45209<=s&&s<=45235||45237<=s&&s<=45263||45265<=s&&s<=45291||45293<=s&&s<=45319||45321<=s&&s<=45347||45349<=s&&s<=45375||45377<=s&&s<=45403||45405<=s&&s<=45431||45433<=s&&s<=45459||45461<=s&&s<=45487||45489<=s&&s<=45515||45517<=s&&s<=45543||45545<=s&&s<=45571||45573<=s&&s<=45599||45601<=s&&s<=45627||45629<=s&&s<=45655||45657<=s&&s<=45683||45685<=s&&s<=45711||45713<=s&&s<=45739||45741<=s&&s<=45767||45769<=s&&s<=45795||45797<=s&&s<=45823||45825<=s&&s<=45851||45853<=s&&s<=45879||45881<=s&&s<=45907||45909<=s&&s<=45935||45937<=s&&s<=45963||45965<=s&&s<=45991||45993<=s&&s<=46019||46021<=s&&s<=46047||46049<=s&&s<=46075||46077<=s&&s<=46103||46105<=s&&s<=46131||46133<=s&&s<=46159||46161<=s&&s<=46187||46189<=s&&s<=46215||46217<=s&&s<=46243||46245<=s&&s<=46271||46273<=s&&s<=46299||46301<=s&&s<=46327||46329<=s&&s<=46355||46357<=s&&s<=46383||46385<=s&&s<=46411||46413<=s&&s<=46439||46441<=s&&s<=46467||46469<=s&&s<=46495||46497<=s&&s<=46523||46525<=s&&s<=46551||46553<=s&&s<=46579||46581<=s&&s<=46607||46609<=s&&s<=46635||46637<=s&&s<=46663||46665<=s&&s<=46691||46693<=s&&s<=46719||46721<=s&&s<=46747||46749<=s&&s<=46775||46777<=s&&s<=46803||46805<=s&&s<=46831||46833<=s&&s<=46859||46861<=s&&s<=46887||46889<=s&&s<=46915||46917<=s&&s<=46943||46945<=s&&s<=46971||46973<=s&&s<=46999||47001<=s&&s<=47027||47029<=s&&s<=47055||47057<=s&&s<=47083||47085<=s&&s<=47111||47113<=s&&s<=47139||47141<=s&&s<=47167||47169<=s&&s<=47195||47197<=s&&s<=47223||47225<=s&&s<=47251||47253<=s&&s<=47279||47281<=s&&s<=47307||47309<=s&&s<=47335||47337<=s&&s<=47363||47365<=s&&s<=47391||47393<=s&&s<=47419||47421<=s&&s<=47447||47449<=s&&s<=47475||47477<=s&&s<=47503||47505<=s&&s<=47531||47533<=s&&s<=47559||47561<=s&&s<=47587||47589<=s&&s<=47615||47617<=s&&s<=47643||47645<=s&&s<=47671||47673<=s&&s<=47699||47701<=s&&s<=47727||47729<=s&&s<=47755||47757<=s&&s<=47783||47785<=s&&s<=47811||47813<=s&&s<=47839||47841<=s&&s<=47867||47869<=s&&s<=47895||47897<=s&&s<=47923||47925<=s&&s<=47951||47953<=s&&s<=47979||47981<=s&&s<=48007||48009<=s&&s<=48035||48037<=s&&s<=48063||48065<=s&&s<=48091||48093<=s&&s<=48119||48121<=s&&s<=48147||48149<=s&&s<=48175||48177<=s&&s<=48203||48205<=s&&s<=48231||48233<=s&&s<=48259||48261<=s&&s<=48287||48289<=s&&s<=48315||48317<=s&&s<=48343||48345<=s&&s<=48371||48373<=s&&s<=48399||48401<=s&&s<=48427||48429<=s&&s<=48455||48457<=s&&s<=48483||48485<=s&&s<=48511||48513<=s&&s<=48539||48541<=s&&s<=48567||48569<=s&&s<=48595||48597<=s&&s<=48623||48625<=s&&s<=48651||48653<=s&&s<=48679||48681<=s&&s<=48707||48709<=s&&s<=48735||48737<=s&&s<=48763||48765<=s&&s<=48791||48793<=s&&s<=48819||48821<=s&&s<=48847||48849<=s&&s<=48875||48877<=s&&s<=48903||48905<=s&&s<=48931||48933<=s&&s<=48959||48961<=s&&s<=48987||48989<=s&&s<=49015||49017<=s&&s<=49043||49045<=s&&s<=49071||49073<=s&&s<=49099||49101<=s&&s<=49127||49129<=s&&s<=49155||49157<=s&&s<=49183||49185<=s&&s<=49211||49213<=s&&s<=49239||49241<=s&&s<=49267||49269<=s&&s<=49295||49297<=s&&s<=49323||49325<=s&&s<=49351||49353<=s&&s<=49379||49381<=s&&s<=49407||49409<=s&&s<=49435||49437<=s&&s<=49463||49465<=s&&s<=49491||49493<=s&&s<=49519||49521<=s&&s<=49547||49549<=s&&s<=49575||49577<=s&&s<=49603||49605<=s&&s<=49631||49633<=s&&s<=49659||49661<=s&&s<=49687||49689<=s&&s<=49715||49717<=s&&s<=49743||49745<=s&&s<=49771||49773<=s&&s<=49799||49801<=s&&s<=49827||49829<=s&&s<=49855||49857<=s&&s<=49883||49885<=s&&s<=49911||49913<=s&&s<=49939||49941<=s&&s<=49967||49969<=s&&s<=49995||49997<=s&&s<=50023||50025<=s&&s<=50051||50053<=s&&s<=50079||50081<=s&&s<=50107||50109<=s&&s<=50135||50137<=s&&s<=50163||50165<=s&&s<=50191||50193<=s&&s<=50219||50221<=s&&s<=50247||50249<=s&&s<=50275||50277<=s&&s<=50303||50305<=s&&s<=50331||50333<=s&&s<=50359||50361<=s&&s<=50387||50389<=s&&s<=50415||50417<=s&&s<=50443||50445<=s&&s<=50471||50473<=s&&s<=50499||50501<=s&&s<=50527||50529<=s&&s<=50555||50557<=s&&s<=50583||50585<=s&&s<=50611||50613<=s&&s<=50639||50641<=s&&s<=50667||50669<=s&&s<=50695||50697<=s&&s<=50723||50725<=s&&s<=50751||50753<=s&&s<=50779||50781<=s&&s<=50807||50809<=s&&s<=50835||50837<=s&&s<=50863||50865<=s&&s<=50891||50893<=s&&s<=50919||50921<=s&&s<=50947||50949<=s&&s<=50975||50977<=s&&s<=51003||51005<=s&&s<=51031||51033<=s&&s<=51059||51061<=s&&s<=51087||51089<=s&&s<=51115||51117<=s&&s<=51143||51145<=s&&s<=51171||51173<=s&&s<=51199||51201<=s&&s<=51227||51229<=s&&s<=51255||51257<=s&&s<=51283||51285<=s&&s<=51311||51313<=s&&s<=51339||51341<=s&&s<=51367||51369<=s&&s<=51395||51397<=s&&s<=51423||51425<=s&&s<=51451||51453<=s&&s<=51479||51481<=s&&s<=51507||51509<=s&&s<=51535||51537<=s&&s<=51563||51565<=s&&s<=51591||51593<=s&&s<=51619||51621<=s&&s<=51647||51649<=s&&s<=51675||51677<=s&&s<=51703||51705<=s&&s<=51731||51733<=s&&s<=51759||51761<=s&&s<=51787||51789<=s&&s<=51815||51817<=s&&s<=51843||51845<=s&&s<=51871||51873<=s&&s<=51899||51901<=s&&s<=51927||51929<=s&&s<=51955||51957<=s&&s<=51983||51985<=s&&s<=52011||52013<=s&&s<=52039||52041<=s&&s<=52067||52069<=s&&s<=52095||52097<=s&&s<=52123||52125<=s&&s<=52151||52153<=s&&s<=52179||52181<=s&&s<=52207||52209<=s&&s<=52235||52237<=s&&s<=52263||52265<=s&&s<=52291||52293<=s&&s<=52319||52321<=s&&s<=52347||52349<=s&&s<=52375||52377<=s&&s<=52403||52405<=s&&s<=52431||52433<=s&&s<=52459||52461<=s&&s<=52487||52489<=s&&s<=52515||52517<=s&&s<=52543||52545<=s&&s<=52571||52573<=s&&s<=52599||52601<=s&&s<=52627||52629<=s&&s<=52655||52657<=s&&s<=52683||52685<=s&&s<=52711||52713<=s&&s<=52739||52741<=s&&s<=52767||52769<=s&&s<=52795||52797<=s&&s<=52823||52825<=s&&s<=52851||52853<=s&&s<=52879||52881<=s&&s<=52907||52909<=s&&s<=52935||52937<=s&&s<=52963||52965<=s&&s<=52991||52993<=s&&s<=53019||53021<=s&&s<=53047||53049<=s&&s<=53075||53077<=s&&s<=53103||53105<=s&&s<=53131||53133<=s&&s<=53159||53161<=s&&s<=53187||53189<=s&&s<=53215||53217<=s&&s<=53243||53245<=s&&s<=53271||53273<=s&&s<=53299||53301<=s&&s<=53327||53329<=s&&s<=53355||53357<=s&&s<=53383||53385<=s&&s<=53411||53413<=s&&s<=53439||53441<=s&&s<=53467||53469<=s&&s<=53495||53497<=s&&s<=53523||53525<=s&&s<=53551||53553<=s&&s<=53579||53581<=s&&s<=53607||53609<=s&&s<=53635||53637<=s&&s<=53663||53665<=s&&s<=53691||53693<=s&&s<=53719||53721<=s&&s<=53747||53749<=s&&s<=53775||53777<=s&&s<=53803||53805<=s&&s<=53831||53833<=s&&s<=53859||53861<=s&&s<=53887||53889<=s&&s<=53915||53917<=s&&s<=53943||53945<=s&&s<=53971||53973<=s&&s<=53999||54001<=s&&s<=54027||54029<=s&&s<=54055||54057<=s&&s<=54083||54085<=s&&s<=54111||54113<=s&&s<=54139||54141<=s&&s<=54167||54169<=s&&s<=54195||54197<=s&&s<=54223||54225<=s&&s<=54251||54253<=s&&s<=54279||54281<=s&&s<=54307||54309<=s&&s<=54335||54337<=s&&s<=54363||54365<=s&&s<=54391||54393<=s&&s<=54419||54421<=s&&s<=54447||54449<=s&&s<=54475||54477<=s&&s<=54503||54505<=s&&s<=54531||54533<=s&&s<=54559||54561<=s&&s<=54587||54589<=s&&s<=54615||54617<=s&&s<=54643||54645<=s&&s<=54671||54673<=s&&s<=54699||54701<=s&&s<=54727||54729<=s&&s<=54755||54757<=s&&s<=54783||54785<=s&&s<=54811||54813<=s&&s<=54839||54841<=s&&s<=54867||54869<=s&&s<=54895||54897<=s&&s<=54923||54925<=s&&s<=54951||54953<=s&&s<=54979||54981<=s&&s<=55007||55009<=s&&s<=55035||55037<=s&&s<=55063||55065<=s&&s<=55091||55093<=s&&s<=55119||55121<=s&&s<=55147||55149<=s&&s<=55175||55177<=s&&s<=55203?p:s==9757||s==9977||9994<=s&&s<=9997||s==127877||127938<=s&&s<=127940||s==127943||127946<=s&&s<=127948||128066<=s&&s<=128067||128070<=s&&s<=128080||s==128110||128112<=s&&s<=128120||s==128124||128129<=s&&s<=128131||128133<=s&&s<=128135||s==128170||128372<=s&&s<=128373||s==128378||s==128400||128405<=s&&s<=128406||128581<=s&&s<=128583||128587<=s&&s<=128591||s==128675||128692<=s&&s<=128694||s==128704||s==128716||129304<=s&&s<=129308||129310<=s&&s<=129311||s==129318||129328<=s&&s<=129337||129341<=s&&s<=129342||129489<=s&&s<=129501?k:127995<=s&&s<=127999?S:s==8205?F:s==9792||s==9794||9877<=s&&s<=9878||s==9992||s==10084||s==127752||s==127806||s==127859||s==127891||s==127908||s==127912||s==127979||s==127981||s==128139||128187<=s&&s<=128188||s==128295||s==128300||s==128488||s==128640||s==128658?E:128102<=s&&s<=128105?A:v}return this}typeof O4<"u"&&O4.exports&&(O4.exports=cM)});var rC=Cx(e8=>{"use strict";Object.defineProperty(e8,"__esModule",{value:!0});e8.default=new Uint16