PageSourceSearch

https://taskon.xyz/assets/lib.esm-DJgWYy0A.js

js taskon.xyz collected 2026-09-24 10:08:28 UTC 13,503 bytes, 1 lines download raw bytes

1import{s as e,t}from"./chunk-Bj-mKKzh.js";import{n,t as r}from"./dist-BuHjWnbt.js";import{n as i,t as a}from"./dist-C0AgRH-G.js";import{C as o,S as s,a as c,g as l,l as u,o as d,p as f,v as p,y as m}from"./utf8-ChtswdN6.js";var h=e(t(((e,t)=>{n(),a(),(function(){var e=`input is invalid type`,n=`finalize already called`,a=typeof window==`object`,o=a?window:{};o.JS_SHA3_NO_WINDOW&&(a=!1);var s=!a&&typeof self==`object`;!o.JS_SHA3_NO_NODE_JS&&typeof i==`object`&&i.versions&&i.versions.node?o=r:s&&(o=self);var c=!o.JS_SHA3_NO_COMMON_JS&&typeof t==`object`&&t.exports,l=typeof define==`function`&&define.amd,u=!o.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<`u`,d=`0123456789abcdef`.split(``),f=[31,7936,2031616,520093696],p=[4,1024,262144,67108864],m=[1,256,65536,16777216],h=[6,1536,393216,100663296],g=[0,8,16,24],_=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],v=[224,256,384,512],y=[128,256],b=[`hex`,`buffer`,`arrayBuffer`,`array`,`digest`],x={128:168,256:136};(o.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return Object.prototype.toString.call(e)===`[object Array]`}),u&&(o.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return typeof e==`object`&&e.buffer&&e.buffer.constructor===ArrayBuffer});for(var S=function(e,t,n){return function(r){return new L(e,t,e).update(r)[n]()}},C=function(e,t,n){return function(r,i){return new L(e,t,i).update(r)[n]()}},w=function(e,t,n){return function(t,r,i,a){return k[`cshake`+e].update(t,r,i,a)[n]()}},T=function(e,t,n){return function(t,r,i,a){return k[`kmac`+e].update(t,r,i,a)[n]()}},E=function(e,t,n,r){for(var i=0;i<b.length;++i){var a=b[i];e[a]=t(n,r,a)}return e},D=function(e,t){var n=S(e,t,`hex`);return n.create=function(){return new L(e,t,e)},n.update=function(e){return n.create().update(e)},E(n,S,e,t)},O=[{name:`keccak`,padding:m,bits:v,createMethod:D},{name:`sha3`,padding:h,bits:v,createMethod:D},{name:`shake`,padding:f,bits:y,createMethod:function(e,t){var n=C(e,t,`hex`);return n.create=function(n){return new L(e,t,n)},n.update=function(e,t){return n.create(t).update(e)},E(n,C,e,t)}},{name:`cshake`,padding:p,bits:y,createMethod:function(e,t){var n=x[e],r=w(e,t,`hex`);return r.create=function(r,i,a){return!i&&!a?k[`shake`+e].create(r):new L(e,t,r).bytepad([i,a],n)},r.update=function(e,t,n,i){return r.create(t,n,i).update(e)},E(r,w,e,t)}},{name:`kmac`,padding:p,bits:y,createMethod:function(e,t){var n=x[e],r=T(e,t,`hex`);return r.create=function(r,i,a){return new R(e,t,i).bytepad([`KMAC`,a],n).bytepad([r],n)},r.update=function(e,t,n,i){return r.create(e,n,i).update(t)},E(r,T,e,t)}}],k={},A=[],j=0;j<O.length;++j)for(var M=O[j],N=M.bits,P=0;P<N.length;++P){var F=M.name+`_`+N[P];if(A.push(F),k[F]=M.createMethod(N[P],M.padding),M.name!==`sha3`){var I=M.name+N[P];A.push(I),k[I]=k[F]}}function L(e,t,n){this.blocks=[],this.s=[],this.padding=t,this.outputBits=n,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(n&31)>>3;for(var r=0;r<50;++r)this.s[r]=0}L.prototype.update=function(t){if(this.finalized)throw Error(n);var r,i=typeof t;if(i!==`string`){if(i===`object`){if(t===null)throw Error(e);
1if(u&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!u||!ArrayBuffer.isView(t)))throw Error(e)}else throw Error(e);r=!0}for(var a=this.blocks,o=this.byteCount,s=t.length,c=this.blockCount,l=0,d=this.s,f,p;l<s;){if(this.reset)for(this.reset=!1,a[0]=this.block,f=1;f<c+1;++f)a[f]=0;if(r)for(f=this.start;l<s&&f<o;++l)a[f>>2]|=t[l]<<g[f++&3];else for(f=this.start;l<s&&f<o;++l)p=t.charCodeAt(l),p<128?a[f>>2]|=p<<g[f++&3]:p<2048?(a[f>>2]|=(192|p>>6)<<g[f++&3],a[f>>2]|=(128|p&63)<<g[f++&3]):p<55296||p>=57344?(a[f>>2]|=(224|p>>12)<<g[f++&3],a[f>>2]|=(128|p>>6&63)<<g[f++&3],a[f>>2]|=(128|p&63)<<g[f++&3]):(p=65536+((p&1023)<<10|t.charCodeAt(++l)&1023),a[f>>2]|=(240|p>>18)<<g[f++&3],a[f>>2]|=(128|p>>12&63)<<g[f++&3],a[f>>2]|=(128|p>>6&63)<<g[f++&3],a[f>>2]|=(128|p&63)<<g[f++&3]);if(this.lastByteIndex=f,f>=o){for(this.start=f-o,this.block=a[c],f=0;f<c;++f)d[f]^=a[f];z(d),this.reset=!0}else this.start=f}return this},L.prototype.encode=function(e,t){var n=e&255,r=1,i=[n];for(e>>=8,n=e&255;n>0;)i.unshift(n),e>>=8,n=e&255,++r;return t?i.push(r):i.unshift(r),this.update(i),i.length},L.prototype.encodeString=function(t){var n,r=typeof t;if(r!==`string`){if(r===`object`){if(t===null)throw Error(e);
1if(u&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!u||!ArrayBuffer.isView(t)))throw Error(e)}else throw Error(e);n=!0}var i=0,a=t.length;if(n)i=a;else for(var o=0;o<t.length;++o){var s=t.charCodeAt(o);s<128?i+=1:s<2048?i+=2:s<55296||s>=57344?i+=3:(s=65536+((s&1023)<<10|t.charCodeAt(++o)&1023),i+=4)}return i+=this.encode(i*8),this.update(t),i},L.prototype.bytepad=function(e,t){for(var n=this.encode(t),r=0;r<e.length;++r)n+=this.encodeString(e[r]);var i=t-n%t,a=[];return a.length=i,this.update(a),this},L.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex,n=this.blockCount,r=this.s;if(e[t>>2]|=this.padding[t&3],this.lastByteIndex===this.byteCount)for(e[0]=e[n],t=1;t<n+1;++t)e[t]=0;for(e[n-1]|=2147483648,t=0;t<n;++t)r[t]^=e[t];z(r)}},L.prototype.toString=L.prototype.hex=function(){this.finalize();for(var e=this.blockCount,t=this.s,n=this.outputBlocks,r=this.extraBytes,i=0,a=0,o=``,s;a<n;){for(i=0;i<e&&a<n;++i,++a)s=t[i],o+=d[s>>4&15]+d[s&15]+d[s>>12&15]+d[s>>8&15]+d[s>>20&15]+d[s>>16&15]+d[s>>28&15]+d[s>>24&15];a%e===0&&(z(t),i=0)}return r&&(s=t[i],o+=d[s>>4&15]+d[s&15],r>1&&(o+=d[s>>12&15]+d[s>>8&15]),r>2&&(o+=d[s>>20&15]+d[s>>16&15])),o},L.prototype.arrayBuffer=function(){this.finalize();for(var e=this.blockCount,t=this.s,n=this.outputBlocks,r=this.extraBytes,i=0,a=0,o=this.outputBits>>3,s=r?new ArrayBuffer(n+1<<2):new ArrayBuffer(o),c=new Uint32Array(s);a<n;){for(i=0;i<e&&a<n;++i,++a)c[a]=t[i];a%e===0&&z(t)}return r&&(c[i]=t[i],s=s.slice(0,o)),s},L.prototype.buffer=L.prototype.arrayBuffer,L.prototype.digest=L.prototype.array=function(){this.finalize();for(var e=this.blockCount,t=this.s,n=this.outputBlocks,r=this.extraBytes,i=0,a=0,o=[],s,c;a<n;){for(i=0;i<e&&a<n;++i,++a)s=a<<2,c=t[i],o[s]=c&255,o[s+1]=c>>8&255,o[s+2]=c>>16&255,o[s+3]=c>>24&255;a%e===0&&z(t)}return r&&(s=a<<2,c=t[i],o[s]=c&255,r>1&&(o[s+1]=c>>8&255),r>2&&(o[s+2]=c>>16&255)),o};function R(e,t,n){L.call(this,e,t,n)}R.prototype=new L,R.prototype.finalize=function(){return this.encode(this.outputBits,!0),L.prototype.finalize.call(this)};var z=function(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,ee,B,V,H,U,W,G,K,q,J,Y,X,Z,Q,te,ne,re,ie,ae,oe,$,se,ce,le,ue;for(r=0;r<48;r+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],a=e[1]^e[11]^e[21]^e[31]^e[41],o=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],l=e[5]^e[15]^e[25]^e[35]^e[45],u=e[6]^e[16]^e[26]^e[36]^e[46],d=e[7]^e[17]^e[27]^e[37]^e[47],f=e[8]^e[18]^e[28]^e[38]^e[48],p=e[9]^e[19]^e[29]^e[39]^e[49],t=f^(o<<1|s>>>31),n=p^(s<<1|o>>>31),e[0]^=t,e[1]^=n,e[10]^=t,e[11]^=n,e[20]^=t,e[21]^=n,e[30]^=t,e[31]^=n,e[40]^=t,e[41]^=n,t=i^(c<<1|l>>>31),n=a^(l<<1|c>>>31),e[2]^=t,e[3]^=n,e[12]^=t,e[13]^=n,e[22]^=t,e[23]^=n,e[32]^=t,e[33]^=n,e[42]^=t,e[43]^=n,t=o^(u<<1|d>>>31),n=s^(d<<1|u>>>31),e[4]^=t,e[5]^=n,e[14]^=t,e[15]^=n,e[24]^=t,e[25]^=n,e[34]^=t,e[35]^=n,e[44]^=t,e[45]^=n,t=c^(f<<1|p>>>31),n=l^(p<<1|f>>>31),e[6]^=t,e[7]^=n,e[16]^=t,e[17]^=n,e[26]^=t,e[27]^=n,e[36]^=t,e[37]^=n,e[46]^=t,e[47]^=n,t=u^(i<<1|a>>>31),n=d^(a<<1|i>>>31),e[8]^=t,e[9]^=n,e[18]^=t,e[19]^=n,e[28]^=t,e[29]^=n,e[38]^=t,e[39]^=n,e[48]^=t,e[49]^=n,m=e[0],h=e[1],K=e[11]<<4|e[10]>>>28,q=e[10]<<4|e[11]>>>28,k=e[20]<<3|e[21]>>>29,A=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ce=e[30]<<9|e[31]>>>23,H=e[40]<<18|e[41]>>>14,U=e[41]<<18|e[40]>>>14,F=e[2]<<1|e[3]>>>31,I=e[3]<<1|e[2]>>>31,g=e[13]<<12|e[12]>>>20,v=e[12]<<12|e[13]>>>20,J=e[22]<<10|e[23]>>>22,Y=e[23]<<10|e[22]>>>22,j=e[33]<<13|e[32]>>>19,M=e[32]<<13|e[33]>>>19,le=e[42]<<2|e[43]>>>30,ue=e[43]<<2|e[42]>>>30,ne=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,L=e[14]<<6|e[15]>>>26,R=e[15]<<6|e[14]>>>26,y=e[25]<<11|e[24]>>>21,b=e[24]<<11|e[25]>>>21,X=e[34]<<15|e[35]>>>17,Z=e[35]<<15|e[34]>>>17,N=e[45]<<29|e[44]>>>3,P=e[44]<<29|e[45]>>>3,T=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,ie=e[17]<<23|e[16]>>>9,ae=e[16]<<23|e[17]>>>9,z=e[26]<<25|e[27]>>>7,ee=e[27]<<25|e[26]>>>7,x=e[36]<<21|e[37]>>>11,S=e[37]<<21|e[36]>>>11,Q=e[47]<<24|e[46]>>>8,te=e[46]<<24|e[47]>>>8,W=e[8]<<27|e[9]>>>5,G=e[9]<<27|e[8]>>>5,D=e[18]<<20|e[19]>>>12,O=e[19]<<20|e[18]>>>12,oe=e[29]<<7|e[28]>>>25,$=e[28]<<7|e[29]>>>25,B=e[38]<<8|e[39]>>>24,V=e[39]<<8|e[38]>>>24,C=e[48]<<14|e[49]>>>18,w=e[49]<<14|e[48]>>>18,e[0]=m^~g&y,e[1]=h^~v&b,e[10]=T^~D&k,e[11]=E^~O&A,e[20]=F^~L&z,e[21]=I^~R&ee,e[30]=W^~K&J,e[31]=G^~q&Y,e[40]=ne^~ie&oe,e[41]=re^~ae&$,e[2]=g^~y&x,e[3]=v^~b&S,e[12]=D^~k&j,e[13]=O^~A&M,e[22]=L^~z&B,e[23]=R^~ee&V,e[32]=K^~J&X,e[33]=q^~Y&Z,e[42]=ie^~oe&se,e[43]=ae^~$&ce,e[4]=y^~x&C,e[5]=b^~S&w,e[14]=k^~j&N,e[15]=A^~M&P,e[24]=z^~B&H,e[25]=ee^~V&U,e[34]=J^~X&Q,e[35]=Y^~Z&te,e[44]=oe^~se&le,e[45]=$^~ce&ue,e[6]=x^~C&m,e[7]=S^~w&h,e[16]=j^~N&T,e[17]=M^~P&E,e[26]=B^~H&F,e[27]=V^~U&I,e[36]=X^~Q&W,e[37
1]=Z^~te&G,e[46]=se^~le&ne,e[47]=ce^~ue&re,e[8]=C^~m&g,e[9]=w^~h&v,e[18]=N^~T&D,e[19]=P^~E&O,e[28]=H^~F&L,e[29]=U^~I&R,e[38]=Q^~W&K,e[39]=te^~G&q,e[48]=le^~ne&ie,e[49]=ue^~re&ae,e[0]^=_[r],e[1]^=_[r+1]};if(c)t.exports=k;else{for(j=0;j<A.length;++j)o[A[j]]=k[A[j]];l&&define(function(){return k})}})()}))());function g(e){return`0x`+h.default.keccak_256(u(e))}var _=new o(`rlp/5.8.0`);function v(e){let t=[];for(;e;)t.unshift(e&255),e>>=8;return t}function y(e,t,n){let r=0;for(let i=0;i<n;i++)r=r*256+e[t+i];return r}function b(e){if(Array.isArray(e)){let t=[];if(e.forEach(function(e){t=t.concat(b(e))}),t.length<=55)return t.unshift(192+t.length),t;let n=v(t.length);return n.unshift(247+n.length),n.concat(t)}p(e)||_.throwArgumentError(`RLP object must be BytesLike`,`object`,e);let t=Array.prototype.slice.call(u(e));if(t.length===1&&t[0]<=127)return t;if(t.length<=55)return t.unshift(128+t.length),t;let n=v(t.length);return n.unshift(183+n.length),n.concat(t)}function x(e){return l(b(e))}function S(e,t,n,r){let i=[];for(;n<t+1+r;){let a=C(e,n);i.push(a.result),n+=a.consumed,n>t+1+r&&_.throwError(`child data too short`,o.errors.BUFFER_OVERRUN,{})}return{consumed:1+r,result:i}}function C(e,t){if(e.length===0&&_.throwError(`data too short`,o.errors.BUFFER_OVERRUN,{}),e[t]>=248){let n=e[t]-247;t+1+n>e.length&&_.throwError(`data short segment too short`,o.errors.BUFFER_OVERRUN,{});let r=y(e,t+1,n);return t+1+n+r>e.length&&_.throwError(`data long segment too short`,o.errors.BUFFER_OVERRUN,{}),S(e,t,t+1+n,n+r)}else if(e[t]>=192){let n=e[t]-192;return t+1+n>e.length&&_.throwError(`data array too short`,o.errors.BUFFER_OVERRUN,{}),S(e,t,t+1,n)}else if(e[t]>=184){let n=e[t]-183;t+1+n>e.length&&_.throwError(`data array too short`,o.errors.BUFFER_OVERRUN,{});let r=y(e,t+1,n);t+1+n+r>e.length&&_.throwError(`data array too short`,o.errors.BUFFER_OVERRUN,{});let i=l(e.slice(t+1+n,t+1+n+r));return{consumed:1+n+r,result:i}}else if(e[t]>=128){let n=e[t]-128;t+1+n>e.length&&_.throwError(`data too short`,o.errors.BUFFER_OVERRUN,{});let r=l(e.slice(t+1,t+1+n));return{consumed:1+n,result:r}}return{consumed:1,result:l(e[t])}}function w(e){let t=u(e),n=C(t,0);return n.consumed!==t.length&&_.throwArgumentError(`invalid rlp data`,`data`,e),n.result}var T=new o(`address/5.8.0`);function E(e){m(e,20)||T.throwArgumentError(`invalid address`,`address`,e),e=e.toLowerCase();let t=e.substring(2).split(``),n=new Uint8Array(40);for(let e=0;e<40;e++)n[e]=t[e].charCodeAt(0);let r=u(g(n));for(let e=0;e<40;e+=2)r[e>>1]>>4>=8&&(t[e]=t[e].toUpperCase()),(r[e>>1]&15)>=8&&(t[e+1]=t[e+1].toUpperCase());return`0x`+t.join(``)}var D=9007199254740991;function O(e){return Math.log10?Math.log10(e):Math.log(e)/Math.LN10}var k={};for(let e=0;e<10;e++)k[String(e)]=String(e);for(let e=0;e<26;e++)k[String.fromCharCode(65+e)]=String(10+e);var A=Math.floor(O(D));function j(e){e=e.toUpperCase(),e=e.substring(4)+e.substring(0,2)+`00`;let t=e.split(``).map(e=>k[e]).join(``);for(;t.length>=A;){let e=t.substring(0,A);t=parseInt(e,10)%97+t.substring(e.length)}let n=String(98-parseInt(t,10)%97);for(;n.length<2;)n=`0`+n;return n}function M(e){let t=null;if(typeof e!=`string`&&T.throwArgumentError(`invalid address`,`address`,e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))e.substring(0,2)!==`0x`&&(e=`0x`+e),t=E(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&T.throwArgumentError(`bad address checksum`,`address`,e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==j(e)&&T.throwArgumentError(`bad icap checksum`,`address`,e),t=d(e.substring(4));t.length<40;)t=`0`+t;t=E(`0x`+t)}else T.throwArgumentError(`invalid address`,`address`,e);return t}function N(e){try{return M(e),!0}catch{}return!1}function P(e){let t=null;try{t=M(e.from)}catch{T.throwArgumentError(`missing from address`,`transaction`,e)}let n=s(u(c.from(e.nonce).toHexString()));return M(f(g(x([t,n])),12))}export{x as a,w as i,P as n,g as o,N as r,M as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.