PageSourceSearch

https://www.contractreader.io/_next/static/chunks/111-78f9be023f8c9d32.js

js contractreader.io collected 2026-10-03 23:52:54 UTC 7,418 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[111],{1379:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(74517),i=n(58798),o=n(38047),u=n(81645);function a(e,t){let n,a;return(0,r.S)((n="string"==typeof e?(0,u.i3)(e):"string"==typeof e.raw?e.raw:(0,u.My)(e.raw),a=(0,u.i3)(`\x19Ethereum Signed Message:
2${(0,o.E)(n)}`),(0,i.xW)([a,n])),t)}},4517:(e,t,n)=>{var r=n(37973),i=n(57410),o=n(44577);e.exports=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i},19901:(e,t,n)=>{"use strict";n.d(t,{Y:()=>l});var r=n(40097),i=n(57616),o=n(34472),u=n(81645);async function a(e,{account:t=e.account,message:n}){if(!t)throw new o.T({docsPath:"/docs/actions/wallet/signMessage"});let r=(0,i.J)(t);if(r.signMessage)return r.signMessage({message:n});let s="string"==typeof n?(0,u.i3)(n):n.raw instanceof Uint8Array?(0,u.nj)(n.raw):n.raw;return e.request({method:"personal_sign",params:[s,r.address]},{retryCount:0})}var s=n(629),c=n(42385);async function d(e,t){let n,{account:r,connector:i,...o}=t;return n="object"==typeof r&&"local"===r.type?e.getClient():await (0,c.r)(e,{account:r,connector:i}),(0,s.T)(n,a,"signMessage")({...o,...r?{account:r}:{}})}var f=n(61511);function l(e={}){var t;let{mutation:n}=e,i=(t=(0,f.U)(e),{mutationFn:e=>d(t,e),mutationKey:["signMessage"]}),{mutate:o,mutateAsync:u,...a}=(0,r.n)({...n,...i});return{...a,signMessage:o,signMessageAsync:u}}},24065:e=>{e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},30479:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var r=n(44501),i=n(40670),o=n(14232),u=o.useLayoutEffect,a=function(e){var t=o.useRef(e);return u(function(){t.current=e}),t},s=function(e,t){"function"==typeof e?e(t):e.current=t},c=function(e,t){var n=o.useRef();return o.useCallback(function(r){e.current=r,n.current&&s(n.current,null),n.current=t,t&&s(t,r)},[t])},d={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},f=function(e){Object.keys(d).forEach(function(t){e.style.setProperty(t,d[t],"important")})},l=null,g=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},h=function(){},p=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],v=!!document.documentElement.currentStyle,b=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n=p.reduce(function(e,n){return e[n]=t[n],e},{}),r=n.boxSizing;if(""===r)return null;v&&"border-box"===r&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var i=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),o=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:i,borderSize:o}};function y(e,t,n){var r=a(n);o.useLayoutEffect(function(){var n=function(e){return r.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}var x=function(e,t){y(document.body,"reset",function(n){e.current.form===n.target&&t(n)})},m=function(e){y(window,"resize",e)},w=function(e){y(document.fonts,"loadingdone",e)},S=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],E=o.forwardRef(function(e,t){var n=e.cacheMeasurements,u=e.maxRows,a=e.minRows,s=e.onChange,d=void 0===s?h:s,p=e.onHeightChange,v=void 0===p?h:p,y=(0,i.A)(e,S),E=void 0!==y.value,z=o.useRef(null),C=c(z,t),R=o.useRef(0),A=o.useRef(),M=function(){var e=z.current,t=n&&A.current?A.current:b(e);if(t){A.current=t;var r,i,o,s,c,d,h,p,y,x,m,w=(r=e.value||e.placeholder||"x",void 0===(i=a)&&(i=1),void 0===(o=u)&&(o=1/0),l||((l=document.createElement("textarea")).setAttribute("tabindex","-1"),l.setAttribute("aria-hidden","true"),f(l)),null===l.parentNode&&document.body.appendChild(l),s=t.paddingSize,c=t.borderSize,h=(d=t.sizingStyle).boxSizing,Object.keys(d).forEac
2h(function(e){l.style[e]=d[e]}),f(l),l.value=r,p=g(l,t),l.value=r,p=g(l,t),l.value="x",x=(y=l.scrollHeight-s)*i,"border-box"===h&&(x=x+s+c),p=Math.max(x,p),m=y*o,"border-box"===h&&(m=m+s+c),[p=Math.min(m,p),y]),S=w[0],E=w[1];R.current!==S&&(R.current=S,e.style.setProperty("height",S+"px","important"),v(S,{rowHeight:E}))}};return o.useLayoutEffect(M),x(z,function(){if(!E){var e=z.current.value;requestAnimationFrame(function(){var t=z.current;t&&e!==t.value&&M()})}}),m(M),w(M),o.createElement("textarea",(0,r.A)({},y,{onChange:function(e){E||M(),d(e)},ref:C}))})},34472:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(76200);class i extends r.C{constructor({docsPath:e}={}){super("Could not find an Account to execute with this Action.\nPlease provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.",{docsPath:e,docsSlug:"account",name:"AccountNotFoundError"})}}r.C},39913:(e,t,n)=>{var r=n(67895);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},40670:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},44239:(e,t,n)=>{var r=n(68839);e.exports=function(e){return e&&e.length?r(e):[]}},49035:e=>{e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1}},50427:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});var r=n(1379),i=n(95164);async function o({message:e,signature:t}){return(0,i.x)({hash:(0,r.A)(e),signature:t})}},54355:e=>{e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return -1}},67895:(e,t,n)=>{var r=n(54355),i=n(95975),o=n(49035);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}}
2,68839:(e,t,n)=>{var r=n(19465),i=n(39913),o=n(24065),u=n(28389),a=n(4517),s=n(44577);e.exports=function(e,t,n){var c=-1,d=i,f=e.length,l=!0,g=[],h=g;if(n)l=!1,d=o;else if(f>=200){var p=t?null:a(e);if(p)return s(p);l=!1,d=u,h=new r}else h=t?[]:g;e:for(;++c<f;){var v=e[c],b=t?t(v):v;if(v=n||0!==v?v:0,l&&b==b){for(var y=h.length;y--;)if(h[y]===b)continue e;t&&h.push(b),g.push(v)}else d(h,b,n)||(h!==g&&h.push(b),g.push(v))}return g}},95164:(e,t,n)=>{"use strict";n.d(t,{x:()=>f});var r=n(32544),i=n(74517),o=n(65859),u=n(38047),a=n(16006),s=n(81645);async function c({hash:e,signature:t}){let r=(0,o.q)(e)?e:(0,s.nj)(e),{secp256k1:i}=await n.e(3895).then(n.bind(n,13895)),f=(()=>{if("object"==typeof t&&"r"in t&&"s"in t){let{r:e,s:n,v:r,yParity:o}=t,u=d(Number(o??r));return new i.Signature((0,a.uU)(e),(0,a.uU)(n)).addRecoveryBit(u)}let e=(0,o.q)(t)?t:(0,s.nj)(t);if(65!==(0,u.E)(e))throw Error("invalid signature length");let n=d((0,a.ME)(`0x${e.slice(130)}`));return i.Signature.fromCompact(e.substring(2,130)).addRecoveryBit(n)})().recoverPublicKey(r.substring(2)).toHex(!1);return`0x${f}`}function d(e){if(0===e||1===e)return e;if(27===e)return 0;if(28===e)return 1;throw Error("Invalid yParityOrV value")}async function f({hash:e,signature:t}){var n;let o;return n=await c({hash:e,signature:t}),o=(0,i.S)(`0x${n.substring(4)}`).substring(26),(0,r.o)(`0x${o}`)}},95975:e=>{e.exports=function(e){return e!=e}}}]);

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.