memoscan
← all memos

Memo 0x6816bf14…6c7c93 on Ethereum

0x42dcd51e…043f·#25,775,454·view on Etherscan
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>svZCHF — Swiss savings, one click</title> <meta name="description" content="Deposit ZCHF into the Frankencoin Savings Vault (svZCHF). Approve and deposit in one transaction." /> <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%23ff0000'/%3E%3Cpath d='M13 7h6v6h6v6h-6v6h-6v-6H7v-6h6z' fill='white'/%3E%3C/svg%3E" /> <script type="module"> (function(){const A=document.createElement("link").relList;if(A&&A.supports&&A.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const I of s.addedNodes)I.tagName==="LINK"&&I.rel==="modulepreload"&&r(I)}).observe(document,{childList:!0,subtree:!0});function t(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=t(o);fetch(o.href,s)}})();var _e={},ft={};ft.byteLength=zn;ft.toByteArray=Ar;ft.fromByteArray=nr;var gA=[],tA=[],Vn=typeof Uint8Array<"u"?Uint8Array:Array,St="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var UA=0,Zn=St.length;UA<Zn;++UA)gA[UA]=St[UA],tA[St.charCodeAt(UA)]=UA;tA[45]=62;tA[95]=63;function Oe(n){var A=n.length;if(A%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=n.indexOf("=");t===-1&&(t=A);var r=t===A?0:4-t%4;return[t,r]}function zn(n){var A=Oe(n),t=A[0],r=A[1];return(t+r)*3/4-r}function $n(n,A,t){return(A+t)*3/4-t}function Ar(n){var A,t=Oe(n),r=t[0],o=t[1],s=new Vn($n(n,r,o)),I=0,a=o>0?r-4:r,c;for(c=0;c<a;c+=4)A=tA[n.charCodeAt(c)]<<18|tA[n.charCodeAt(c+1)]<<12|tA[n.charCodeAt(c+2)]<<6|tA[n.charCodeAt(c+3)],s[I++]=A>>16&255,s[I++]=A>>8&255,s[I++]=A&255;return o===2&&(A=tA[n.charCodeAt(c)]<<2|tA[n.charCodeAt(c+1)]>>4,s[I++]=A&255),o===1&&(A=tA[n.charCodeAt(c)]<<10|tA[n.charCodeAt(c+1)]<<4|tA[n.charCodeAt(c+2)]>>2,s[I++]=A>>8&255,s[I++]=A&255),s}function tr(n){return gA[n>>18&63]+gA[n>>12&63]+gA[n>>6&63]+gA[n&63]}function er(n,A,t){for(var r,o=[],s=A;s<t;s+=3)r=(n[s]<<16&16711680)+(n[s+1]<<8&65280)+(n[s+2]&255),o.push(tr(r));return o.join("")}function nr(n){for(var A,t=n.length,r=t%3,o=[],s=16383,I=0,a=t-r;I<a;I+=s)o.push(er(n,I,I+s>a?a:I+s));return r===1?(A=n[t-1],o.push(gA[A>>2]+gA[A<<4&63]+"==")):r===2&&(A=(n[t-2]<<8)+n[t-1],o.push(gA[A>>10]+gA[A>>4&63]+gA[A<<2&63]+"=")),o.join("")}var ie={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ie.read=function(n,A,t,r,o){var s,I,a=o*8-r-1,c=(1<<a)-1,u=c>>1,E=-7,l=t?o-1:0,d=t?-1:1,w=n[A+l];for(l+=d,s=w&(1<<-E)-1,w>>=-E,E+=a;E>0;s=s*256+n[A+l],l+=d,E-=8);for(I=s&(1<<-E)-1,s>>=-E,E+=r;E>0;I=I*256+n[A+l],l+=d,E-=8);if(s===0)s=1-u;else{if(s===c)return I?NaN:(w?-1:1)*(1/0);I=I+Math.pow(2,r),s=s-u}return(w?-1:1)*I*Math.pow(2,s-r)};ie.write=function(n,A,t,r,o,s){var I,a,c,u=s*8-o-1,E=(1<<u)-1,l=E>>1,d=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=r?0:s-1,p=r?1:-1,y=A<0||A===0&&1/A<0?1:0;for(A=Math.abs(A),isNaN(A)||A===1/0?(a=isNaN(A)?1:0,I=E):(I=Math.floor(Math.log(A)/Math.LN2),A*(c=Math.pow(2,-I))<1&&(I--,c*=2),I+l>=1?A+=d/c:A+=d*Math.pow(2,1-l),A*c>=2&&(I++,c/=2),I+l>=E?(a=0,I=E):I+l>=1?(a=(A*c-1)*Math.pow(2,o),I=I+l):(a=A*Math.pow(2,l-1)*Math.pow(2,o),I=0));o>=8;n[t+w]=a&255,w+=p,a/=256,o-=8);for(I=I<<o|a,u+=o;u>0;n[t+w]=I&255,w+=p,I/=256,u-=8);n[t+w-p]|=y*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */(function(n){const A=ft,t=ie,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=a,n.SlowBuffer=F,n.INSPECT_MAX_BYTES=50;const o=2147483647;n.kMaxLength=o,a.TYPED_ARRAY_SUPPORT=s(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function s(){try{const g=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(g,e),g.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function I(g){if(g>o)throw new RangeError('The value "'+g+'" is invalid for option "size"');const e=new Uint8Array(g);return Object.setPrototypeOf(e,a.prototype),e}function a(g,e,i){if(typeof g=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return l(g)}return c(g,e,i)}a.poolSize=8192;function c(g,e,i){if(typeof g=="string")return d(g,e);if(ArrayBuffer.isView(g))return p(g);if(g==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);if(iA(g,ArrayBuffer)||g&&iA(g.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(iA(g,SharedArrayBuffer)||g&&iA(g.buffer,SharedArrayBuffer)))return y(g,e,i);if(typeof g=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const B=g.valueOf&&g.valueOf();if(B!=null&&B!==g)return a.from(B,e,i);const C=Y(g);if(C)return C;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof g[Symbol.toPrimitive]=="function")return a.from(g[Symbol.toPrimitive]("string"),e,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g)}a.from=function(g,e,i){return c(g,e,i)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function u(g){if(typeof g!="number")throw new TypeError('"size" argument must be of type number');if(g<0)throw new RangeError('The value "'+g+'" is invalid for option "size"')}function E(g,e,i){return u(g),g<=0?I(g):e!==void 0?typeof i=="string"?I(g).fill(e,i):I(g).fill(e):I(g)}a.alloc=function(g,e,i){return E(g,e,i)};function l(g){return u(g),I(g<0?0:D(g)|0)}a.allocUnsafe=function(g){return l(g)},a.allocUnsafeSlow=function(g){return l(g)};function d(g,e){if((typeof e!="string"||e==="")&&(e="utf8"),!a.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const i=N(g,e)|0;let B=I(i);const C=B.write(g,e);return C!==i&&(B=B.slice(0,C)),B}function w(g){const e=g.length<0?0:D(g.length)|0,i=I(e);for(let B=0;B<e;B+=1)i[B]=g[B]&255;return i}function p(g){if(iA(g,Uint8Array)){const e=new Uint8Array(g);return y(e.buffer,e.byteOffset,e.byteLength)}return w(g)}function y(g,e,i){if(e<0||g.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(g.byteLength<e+(i||0))throw new RangeError('"length" is outside of buffer bounds');let B;return e===void 0&&i===void 0?B=new Uint8Array(g):i===void 0?B=new Uint8Array(g,e):B=new Uint8Array(g,e,i),Object.setPrototypeOf(B,a.prototype),B}function Y(g){if(a.isBuffer(g)){const e=D(g.length)|0,i=I(e);return i.length===0||g.copy(i,0,0,e),i}if(g.length!==void 0)return typeof g.length!="number"||Yt(g.length)?I(0):w(g);if(g.type==="Buffer"&&Array.isArray(g.data))return w(g.data)}function D(g){if(g>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return g|0}function F(g){return+g!=g&&(g=0),a.alloc(+g)}a.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==a.prototype},a.compare=function(e,i){if(iA(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),iA(i,Uint8Array)&&(i=a.from(i,i.offset,i.byteLength)),!a.isBuffer(e)||!a.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===i)return 0;let B=e.length,C=i.length;for(let Q=0,h=Math.min(B,C);Q<h;++Q)if(e[Q]!==i[Q]){B=e[Q],C=i[Q];break}return B<C?-1:C<B?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,i){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return a.alloc(0);let B;if(i===void 0)for(i=0,B=0;B<e.length;++B)i+=e[B].length;const C=a.allocUnsafe(i);let Q=0;for(B=0;B<e.length;++B){let h=e[B];if(iA(h,Uint8Array))Q+h.length>C.length?(a.isBuffer(h)||(h=a.from(h)),h.copy(C,Q)):Uint8Array.prototype.set.call(C,h,Q);else if(a.isBuffer(h))h.copy(C,Q);else throw new TypeError('"list" argument must be an Array of Buffers');Q+=h.length}return C};function N(g,e){if(a.isBuffer(g))return g.length;if(ArrayBuffer.isView(g)||iA(g,ArrayBuffer))return g.byteLength;if(typeof g!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof g);const i=g.length,B=arguments.length>2&&arguments[2]===!0;if(!B&&i===0)return 0;let C=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return Jt(g).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return Se(g).length;default:if(C)return B?-1:Jt(g).length;e=(""+e).toLowerCase(),C=!0}}a.byteLength=N;function m(g,e,i){let B=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,e>>>=0,i<=e))return"";for(g||(g="utf8");;)switch(g){case"hex":return Hn(this,e,i);case"utf8":case"utf-8":return De(this,e,i);case"ascii":return xn(this,e,i);case"latin1":case"binary":return Kn(this,e,i);case"base64":return eA(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tn(this,e,i);default:if(B)throw new TypeError("Unknown encoding: "+g);g=(g+"").toLowerCase(),B=!0}}a.prototype._isBuffer=!0;function G(g,e,i){const B=g[e];g[e]=g[i],g[i]=B}a.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let i=0;i<e;i+=2)G(this,i,i+1);return this},a.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let i=0;i<e;i+=4)G(this,i,i+3),G(this,i+1,i+2);return this},a.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let i=0;i<e;i+=8)G(this,i,i+7),G(this,i+1,i+6),G(this,i+2,i+5),G(this,i+3,i+4);return this},a.prototype.toString=function(){const e=this.length;return e===0?"":arguments.length===0?De(this,0,e):m.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:a.compare(this,e)===0},a.prototype.inspect=function(){let e="";const i=n.INSPECT_MAX_BYTES;return e=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(e+=" ... "),"<Buffer "+e+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(e,i,B,C,Q){if(iA(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(i===void 0&&(i=0),B===void 0&&(B=e?e.length:0),C===void 0&&(C=0),Q===void 0&&(Q=this.length),i<0||B>e.length||C<0||Q>this.length)throw new RangeError("out of range index");if(C>=Q&&i>=B)return 0;if(C>=Q)return-1;if(i>=B)return 1;if(i>>>=0,B>>>=0,C>>>=0,Q>>>=0,this===e)return 0;let h=Q-C,k=B-i;const q=Math.min(h,k),b=this.slice(C,Q),x=e.slice(i,B);for(let M=0;M<q;++M)if(b[M]!==x[M]){h=b[M],k=x[M];break}return h<k?-1:k<h?1:0};function S(g,e,i,B,C){if(g.length===0)return-1;if(typeof i=="string"?(B=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,Yt(i)&&(i=C?0:g.length-1),i<0&&(i=g.length+i),i>=g.length){if(C)return-1;i=g.length-1}else if(i<0)if(C)i=0;else return-1;if(typeof e=="string"&&(e=a.from(e,B)),a.isBuffer(e))return e.length===0?-1:K(g,e,i,B,C);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?C?Uint8Array.prototype.indexOf.call(g,e,i):Uint8Array.prototype.lastIndexOf.call(g,e,i):K(g,[e],i,B,C);throw new TypeError("val must be string, number or Buffer")}function K(g,e,i,B,C){let Q=1,h=g.length,k=e.length;if(B!==void 0&&(B=String(B).toLowerCase(),B==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(g.length<2||e.length<2)return-1;Q=2,h/=2,k/=2,i/=2}function q(x,M){return Q===1?x[M]:x.readUInt16BE(M*Q)}let b;if(C){let x=-1;for(b=i;b<h;b++)if(q(g,b)===q(e,x===-1?0:b-x)){if(x===-1&&(x=b),b-x+1===k)return x*Q}else x!==-1&&(b-=b-x),x=-1}else for(i+k>h&&(i=h-k),b=i;b>=0;b--){let x=!0;for(let M=0;M<k;M++)if(q(g,b+M)!==q(e,M)){x=!1;break}if(x)return b}return-1}a.prototype.includes=function(e,i,B){return this.indexOf(e,i,B)!==-1},a.prototype.indexOf=function(e,i,B){return S(this,e,i,B,!0)},a.prototype.lastIndexOf=function(e,i,B){return S(this,e,i,B,!1)};function V(g,e,i,B){i=Number(i)||0;const C=g.length-i;B?(B=Number(B),B>C&&(B=C)):B=C;const Q=e.length;B>Q/2&&(B=Q/2);let h;for(h=0;h<B;++h){const k=parseInt(e.substr(h*2,2),16);if(Yt(k))return h;g[i+h]=k}return h}function rA(g,e,i,B){return $A(Jt(e,g.length-i),g,i,B)}function AA(g,e,i,B){return $A(Pn(e),g,i,B)}function mA(g,e,i,B){return $A(Se(e),g,i,B)}function KA(g,e,i,B){return $A(jn(e,g.length-i),g,i,B)}a.prototype.write=function(e,i,B,C){if(i===void 0)C="utf8",B=this.length,i=0;else if(B===void 0&&typeof i=="string")C=i,B=this.length,i=0;else if(isFinite(i))i=i>>>0,isFinite(B)?(B=B>>>0,C===void 0&&(C="utf8")):(C=B,B=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Q=this.length-i;if((B===void 0||B>Q)&&(B=Q),e.length>0&&(B<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");C||(C="utf8");let h=!1;for(;;)switch(C){case"hex":return V(this,e,i,B);case"utf8":case"utf-8":return rA(this,e,i,B);case"ascii":case"latin1":case"binary":return AA(this,e,i,B);case"base64":return mA(this,e,i,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return KA(this,e,i,B);default:if(h)throw new TypeError("Unknown encoding: "+C);C=(""+C).toLowerCase(),h=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function eA(g,e,i){return e===0&&i===g.length?A.fromByteArray(g):A.fromByteArray(g.slice(e,i))}function De(g,e,i){i=Math.min(g.length,i);const B=[];let C=e;for(;C<i;){const Q=g[C];let h=null,k=Q>239?4:Q>223?3:Q>191?2:1;if(C+k<=i){let q,b,x,M;switch(k){case 1:Q<128&&(h=Q);break;case 2:q=g[C+1],(q&192)===128&&(M=(Q&31)<<6|q&63,M>127&&(h=M));break;case 3:q=g[C+1],b=g[C+2],(q&192)===128&&(b&192)===128&&(M=(Q&15)<<12|(q&63)<<6|b&63,M>2047&&(M<55296||M>57343)&&(h=M));break;case 4:q=g[C+1],b=g[C+2],x=g[C+3],(q&192)===128&&(b&192)===128&&(x&192)===128&&(M=(Q&15)<<18|(q&63)<<12|(b&63)<<6|x&63,M>65535&&M<1114112&&(h=M))}}h===null?(h=65533,k=1):h>65535&&(h-=65536,B.push(h>>>10&1023|55296),h=56320|h&1023),B.push(h),C+=k}return qn(B)}const Ne=4096;function qn(g){const e=g.length;if(e<=Ne)return String.fromCharCode.apply(String,g);let i="",B=0;for(;B<e;)i+=String.fromCharCode.apply(String,g.slice(B,B+=Ne));return i}function xn(g,e,i){let B="";i=Math.min(g.length,i);for(let C=e;C<i;++C)B+=String.fromCharCode(g[C]&127);return B}function Kn(g,e,i){let B="";i=Math.min(g.length,i);for(let C=e;C<i;++C)B+=String.fromCharCode(g[C]);return B}function Hn(g,e,i){const B=g.length;(!e||e<0)&&(e=0),(!i||i<0||i>B)&&(i=B);let C="";for(let Q=e;Q<i;++Q)C+=Wn[g[Q]];return C}function Tn(g,e,i){const B=g.slice(e,i);let C="";for(let Q=0;Q<B.length-1;Q+=2)C+=String.fromCharCode(B[Q]+B[Q+1]*256);return C}a.prototype.slice=function(e,i){const B=this.length;e=~~e,i=i===void 0?B:~~i,e<0?(e+=B,e<0&&(e=0)):e>B&&(e=B),i<0?(i+=B,i<0&&(i=0)):i>B&&(i=B),i<e&&(i=e);const C=this.subarray(e,i);return Object.setPrototypeOf(C,a.prototype),C};function v(g,e,i){if(g%1!==0||g<0)throw new RangeError("offset is not uint");if(g+e>i)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(e,i,B){e=e>>>0,i=i>>>0,B||v(e,i,this.length);let C=this[e],Q=1,h=0;for(;++h<i&&(Q*=256);)C+=this[e+h]*Q;return C},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,i,B){e=e>>>0,i=i>>>0,B||v(e,i,this.length);let C=this[e+--i],Q=1;for(;i>0&&(Q*=256);)C+=this[e+--i]*Q;return C},a.prototype.readUint8=a.prototype.readUInt8=function(e,i){return e=e>>>0,i||v(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,i){return e=e>>>0,i||v(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,i){return e=e>>>0,i||v(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,i){return e=e>>>0,i||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,i){return e=e>>>0,i||v(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=hA(function(e){e=e>>>0,GA(e,"offset");const i=this[e],B=this[e+7];(i===void 0||B===void 0)&&HA(e,this.length-8);const C=i+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,Q=this[++e]+this[++e]*2**8+this[++e]*2**16+B*2**24;return BigInt(C)+(BigInt(Q)<<BigInt(32))}),a.prototype.readBigUInt64BE=hA(function(e){e=e>>>0,GA(e,"offset");const i=this[e],B=this[e+7];(i===void 0||B===void 0)&&HA(e,this.length-8);const C=i*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],Q=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+B;return(BigInt(C)<<BigInt(32))+BigInt(Q)}),a.prototype.readIntLE=function(e,i,B){e=e>>>0,i=i>>>0,B||v(e,i,this.length);let C=this[e],Q=1,h=0;for(;++h<i&&(Q*=256);)C+=this[e+h]*Q;return Q*=128,C>=Q&&(C-=Math.pow(2,8*i)),C},a.prototype.readIntBE=function(e,i,B){e=e>>>0,i=i>>>0,B||v(e,i,this.length);let C=i,Q=1,h=this[e+--C];for(;C>0&&(Q*=256);)h+=this[e+--C]*Q;return Q*=128,h>=Q&&(h-=Math.pow(2,8*i)),h},a.prototype.readInt8=function(e,i){return e=e>>>0,i||v(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},a.prototype.readInt16LE=function(e,i){e=e>>>0,i||v(e,2,this.length);const B=this[e]|this[e+1]<<8;return B&32768?B|4294901760:B},a.prototype.readInt16BE=function(e,i){e=e>>>0,i||v(e,2,this.length);const B=this[e+1]|this[e]<<8;return B&32768?B|4294901760:B},a.prototype.readInt32LE=function(e,i){return e=e>>>0,i||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,i){return e=e>>>0,i||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=hA(function(e){e=e>>>0,GA(e,"offset");const i=this[e],B=this[e+7];(i===void 0||B===void 0)&&HA(e,this.length-8);const C=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(B<<24);return(BigInt(C)<<BigInt(32))+BigInt(i+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)}),a.prototype.readBigInt64BE=hA(function(e){e=e>>>0,GA(e,"offset");const i=this[e],B=this[e+7];(i===void 0||B===void 0)&&HA(e,this.length-8);const C=(i<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(C)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+B)}),a.prototype.readFloatLE=function(e,i){return e=e>>>0,i||v(e,4,this.length),t.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,i){return e=e>>>0,i||v(e,4,this.length),t.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,i){return e=e>>>0,i||v(e,8,this.length),t.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,i){return e=e>>>0,i||v(e,8,this.length),t.read(this,e,!1,52,8)};function P(g,e,i,B,C,Q){if(!a.isBuffer(g))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>C||e<Q)throw new RangeError('"value" argument is out of bounds');if(i+B>g.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,i,B,C){if(e=+e,i=i>>>0,B=B>>>0,!C){const k=Math.pow(2,8*B)-1;P(this,e,i,B,k,0)}let Q=1,h=0;for(this[i]=e&255;++h<B&&(Q*=256);)this[i+h]=e/Q&255;return i+B},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,i,B,C){if(e=+e,i=i>>>0,B=B>>>0,!C){const k=Math.pow(2,8*B)-1;P(this,e,i,B,k,0)}let Q=B-1,h=1;for(this[i+Q]=e&255;--Q>=0&&(h*=256);)this[i+Q]=e/h&255;return i+B},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,i,B){return e=+e,i=i>>>0,B||P(this,e,i,1,255,0),this[i]=e&255,i+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,i,B){return e=+e,i=i>>>0,B||P(this,e,i,2,65535,0),this[i]=e&255,this[i+1]=e>>>8,i+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,i,B){return e=+e,i=i>>>0,B||P(this,e,i,2,65535,0),this[i]=e>>>8,this[i+1]=e&255,i+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,i,B){return e=+e,i=i>>>0,B||P(this,e,i,4,4294967295,0),this[i+3]=e>>>24,this[i+2]=e>>>16,this[i+1]=e>>>8,this[i]=e&255,i+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,i,B){return e=+e,i=i>>>0,B||P(this,e,i,4,4294967295,0),this[i]=e>>>24,this[i+1]=e>>>16,this[i+2]=e>>>8,this[i+3]=e&255,i+4};function me(g,e,i,B,C){Ye(e,B,C,g,i,7);let Q=Number(e&BigInt(4294967295));g[i++]=Q,Q=Q>>8,g[i++]=Q,Q=Q>>8,g[i++]=Q,Q=Q>>8,g[i++]=Q;let h=Number(e>>BigInt(32)&BigInt(4294967295));return g[i++]=h,h=h>>8,g[i++]=h,h=h>>8,g[i++]=h,h=h>>8,g[i++]=h,i}function Fe(g,e,i,B,C){Ye(e,B,C,g,i,7);let Q=Number(e&BigInt(4294967295));g[i+7]=Q,Q=Q>>8,g[i+6]=Q,Q=Q>>8,g[i+5]=Q,Q=Q>>8,g[i+4]=Q;let h=Number(e>>BigInt(32)&BigInt(4294967295));return g[i+3]=h,h=h>>8,g[i+2]=h,h=h>>8,g[i+1]=h,h=h>>8,g[i]=h,i+8}a.prototype.writeBigUInt64LE=hA(function(e,i=0){return me(this,e,i,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=hA(function(e,i=0){return Fe(this,e,i,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(e,i,B,C){if(e=+e,i=i>>>0,!C){const q=Math.pow(2,8*B-1);P(this,e,i,B,q-1,-q)}let Q=0,h=1,k=0;for(this[i]=e&255;++Q<B&&(h*=256);)e<0&&k===0&&this[i+Q-1]!==0&&(k=1),this[i+Q]=(e/h>>0)-k&255;return i+B},a.prototype.writeIntBE=function(e,i,B,C){if(e=+e,i=i>>>0,!C){const q=Math.pow(2,8*B-1);P(this,e,i,B,q-1,-q)}let Q=B-1,h=1,k=0;for(this[i+Q]=e&255;--Q>=0&&(h*=256);)e<0&&k===0&&this[i+Q+1]!==0&&(k=1),this[i+Q]=(e/h>>0)-k&255;return i+B},a.prototype.writeInt8=function(e,i,B){return e=+e,i=i>>>0,B||P(this,e,i,1,127,-128),e<0&&(e=255+e+1),this[i]=e&255,i+1},a.prototype.writeInt16LE=function(e,i,B){return e=+e,i=i>>>0,B||P(this,e,i,2,32767,-32768),this[i]=e&255,this[i+1]=e>>>8,i+2},a.prototype.writeInt16BE=function(e,i,B){return e=+e,i=i>>>0,B||P(this,e,i,2,32767,-32768),this[i]=e>>>8,this[i+1]=e&255,i+2},a.prototype.writeInt32LE=function(e,i,B){return e=+e,i=i>>>0,B||P(this,e,i,4,2147483647,-2147483648),this[i]=e&255,this[i+1]=e>>>8,this[i+2]=e>>>16,this[i+3]=e>>>24,i+4},a.prototype.writeInt32BE=function(e,i,B){return e=+e,i=i>>>0,B||P(this,e,i,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[i]=e>>>24,this[i+1]=e>>>16,this[i+2]=e>>>8,this[i+3]=e&255,i+4},a.prototype.writeBigInt64LE=hA(function(e,i=0){return me(this,e,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=hA(function(e,i=0){return Fe(this,e,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ke(g,e,i,B,C,Q){if(i+B>g.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function Ge(g,e,i,B,C){return e=+e,i=i>>>0,C||ke(g,e,i,4),t.write(g,e,i,B,23,4),i+4}a.prototype.writeFloatLE=function(e,i,B){return Ge(this,e,i,!0,B)},a.prototype.writeFloatBE=function(e,i,B){return Ge(this,e,i,!1,B)}