PageSourceSearch

https://s3.edgex.exchange/static/js/async/55.c905e003e1d41ebc.js

js edgex.exchange collected 2026-09-24 11:10:53 UTC 41,309 bytes, 3 lines download raw bytes

1"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([["55"],{55068:function(e,t,r){r.d(t,{A:()=>h});var n=r(22155),i=r(5821),a=r.n(i),o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},s=Object.defineProperty,l=Object.defineProperties,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))f.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&p(e,r,t[r]);return e},h=(e,t,r)=>{let i=(0,n.forwardRef)((t,i)=>{var{color:a="currentColor",size:s=24,stroke:p=2,children:h}=t,m=((e,t)=>{var r={};for(var n in e)f.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&c)for(var n of c(e))0>t.indexOf(n)&&d.call(e,n)&&(r[n]=e[n]);return r})(t,["color","size","stroke","children"]);return(0,n.createElement)("svg",y(l(y({ref:i},o),u({width:s,height:s,stroke:a,strokeWidth:p,className:`tabler-icon tabler-icon-${e}`})),m),[...r.map(([e,t])=>(0,n.createElement)(e,t)),...h||[]])});return i.propTypes={color:a().string,size:a().oneOfType([a().string,a().number]),stroke:a().oneOfType([a().string,a().number])},i.displayName=`${t}`,i}},78e3:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("arrows-left-right","IconArrowsLeftRight",[["path",{d:"M21 17l-18 0",key:"svg-0"}],["path",{d:"M6 10l-3 -3l3 -3",key:"svg-1"}],["path",{d:"M3 7l18 0",key:"svg-2"}],["path",{d:"M18 20l3 -3l-3 -3",key:"svg-3"}]])},33358:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("chevron-down","IconChevronDown",[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]])},75751:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("chevron-left","IconChevronLeft",[["path",{d:"M15 6l-6 6l6 6",key:"svg-0"}]])},59110:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("chevron-right","IconChevronRight",[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]])},12737:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("corner-down-left","IconCornerDownLeft",[["path",{d:"M18 6v6a3 3 0 0 1 -3 3h-10l4 -4m0 8l-4 -4",key:"svg-0"}]])},30834:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("git-compare","IconGitCompare",[["path",{d:"M6 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M18 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M11 6h5a2 2 0 0 1 2 2v8",key:"svg-2"}],["path",{d:"M14 9l-3 -3l3 -3",key:"svg-3"}],["path",{d:"M13 18h-5a2 2 0 0 1 -2 -2v-8",key:"svg-4"}],["path",{d:"M10 15l3 3l-3 3",key:"svg-5"}]])},81851:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("list-details","IconListDetails",[["path",{d:"M13 5h8",key:"svg-0"}],["path",{d:"M13 9h5",key:"svg-1"}],["path",{d:"M13 15h8",key:"svg-2"}],["path",{d:"M13 19h5",key:"svg-3"}],["path",{d:"M3 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z",key:"svg-4"}],["path",{d:"M3 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z",key:"svg-5"}]])},430:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("loader-2","IconLoader2",[["path",{d:"M12 3a9 9 0 1 0 9 9",key:"svg-0"}]])},77466:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("package","IconPackage",[["path",{d:"M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5",key:"svg-0"}],["path",{d:"M12 12l8 -4.5",key:"svg-1"}],["path",{d:"M12 12l0 9",key:"svg-2"}],["path",{d:"M12 12l-8 -4.5",key:"svg-3"}],["path",{d:"M16 5.25l-8 4.5",key:"svg-4"}]])},23405:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("search","IconSearch",[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]])},43776:function(e,t,r){r.d(t,{A:()=>n});var n=(0,r(55068).A)("wallet","IconWallet",[["path",{d:"M17 8v-3a1 1 0 0 0 -1 -1h-10a2 2 0 0 0 0 4h12a1 1 0 0 1 1 1v3m0 4v3a1 1 0 0 1 -1 1h-12a2 2 0 0 1 -2 -2v-12",key:"svg-0"}
1],["path",{d:"M20 12v4h-4a2 2 0 0 1 0 -4h4",key:"svg-1"}]])},12163:function(e,t,r){r.d(t,{A:()=>p,H:()=>d});var n,i=r(367),a=r(22155),o=r(17275),s=new Set,l={xs:0,sm:576,md:768,lg:992,xl:1200};function u(){var e,t,r=n;if(f(),r!==n)try{for(var a=(0,i.Ju)(s),o=a.next();!o.done;o=a.next())(0,o.value)()}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}}var c=!1;function f(){var e,t,r=window.innerWidth,a={},o=!1;try{for(var s=(0,i.Ju)(Object.keys(l)),u=s.next();!u.done;u=s.next()){var c=u.value;a[c]=r>=l[c],a[c]!==n[c]&&(o=!0)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}o&&(n=a)}function d(e){l=e,n&&f()}let p=function(){o.A&&!c&&(n={},f(),window.addEventListener("resize",u),c=!0);var e=(0,i.zs)((0,a.useState)(n),2),t=e[0],r=e[1];return(0,a.useEffect)(function(){if(o.A){c||window.addEventListener("resize",u);var e=function(){r(n)};return s.add(e),function(){s.delete(e),0===s.size&&(window.removeEventListener("resize",u),c=!1)}}},[]),t}},71357:function(e,t,r){r.d(t,{A:()=>s});var n=r(22155),i=r(27843),a=r(17275),o={restoreOnUnmount:!1};let s=function(e,t){void 0===t&&(t=o);var r=(0,n.useRef)(a.A?document.title:"");(0,n.useEffect)(function(){document.title=e},[e]),(0,i.A)(function(){t.restoreOnUnmount&&(document.title=r.current)})}},17489:function(e,t,r){r.d(t,{A:()=>a});var n=r(367),i=r(22155);let a=function(e,t){void 0===e&&(e=!1);var r=(0,n.zs)((0,i.useState)(e),2),a=r[0],o=r[1];return[a,(0,i.useMemo)(function(){var r=void 0===t?!e:t;return{toggle:function(){return o(function(t){return t===e?r:e})},set:function(e){return o(e)},setLeft:function(){return o(e)},setRight:function(){return o(r)}}},[])]}},80532:function(e,t,r){r.d(t,{A:()=>c});var n,i,a=r(367),o=r(22155),s=r(12262),l=r(47369),u=r(27843);(n=i||(i={}))[n.Connecting=0]="Connecting",n[n.Open=1]="Open",n[n.Closing=2]="Closing",n[n.Closed=3]="Closed";let c=function(e,t){void 0===t&&(t={});var r=t.reconnectLimit,n=void 0===r?3:r,c=t.reconnectInterval,f=void 0===c?3e3:c,d=t.manual,p=void 0!==d&&d,y=t.onOpen,h=t.onClose,m=t.onMessage,b=t.onError,v=t.protocols,g=(0,a.zs)((0,o.useState)(),2),w=g[0],x=g[1],A=(0,a.zs)((0,o.useState)(i.Closed),2),$=A[0],O=A[1],
1k=(0,s.A)(y),M=(0,s.A)(h),P=(0,s.A)(m),E=(0,s.A)(b),I=(0,s.A)($),j=(0,o.useRef)(0),z=(0,o.useRef)(void 0),C=(0,o.useRef)(void 0),S=function(){var e;j.current<n&&(null==(e=C.current)?void 0:e.readyState)!==i.Open&&(z.current&&clearTimeout(z.current),z.current=setTimeout(function(){B(),j.current++},f))},B=function(){z.current&&clearTimeout(z.current),C.current&&C.current.close();var t=new WebSocket(e,v);O(i.Connecting),t.onerror=function(e){var r;C.current===t&&(S(),null==(r=E.current)||r.call(E,e,t),O(t.readyState||i.Closed))},t.onopen=function(e){var r;C.current===t&&(null==(r=k.current)||r.call(k,e,t),j.current=0,O(t.readyState||i.Open))},t.onmessage=function(e){var r;C.current===t&&(null==(r=P.current)||r.call(P,e,t),x(e))},t.onclose=function(e){var r;null==(r=M.current)||r.call(M,e,t),C.current===t&&S(),C.current&&C.current!==t||O(t.readyState||i.Closed)},C.current=t},T=function(){j.current=0,B()},L=function(){var e;z.current&&clearTimeout(z.current),j.current=n,null==(e=C.current)||e.close(),C.current=void 0};return(0,o.useEffect)(function(){!p&&e&&T()},[e,p]),(0,u.A)(function(){L()}),{latestMessage:w,sendMessage:(0,l.A)(function(e){var t;if(I.current===i.Open)null==(t=C.current)||t.send(e);else throw Error("WebSocket disconnected")}),connect:(0,l.A)(T),disconnect:(0,l.A)(L),readyState:$,webSocketIns:C.current}}},76459:function(e,t,r){r.d(t,{d:()=>j});var n=r(22155),i=r(27787),a=r.n(i),o=r(57266),s=r(56504),l=r(52877),u=r(58645),c=r(93534),f=r(89894),d=r(31256),p=["x1","y1","x2","y2","key"],y=["offset"];function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=h(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==h(t)?t:t+""}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function g(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var w=function(e){var t=e.fill;if(!t||"none"===t)return null;var r=e.fillOpacity,i=e.x,a=e.y,o=e.width,s=e.height,l=e.ry;return n.createElement("rect",{x:i,y:a,ry:l,width:o,height:s,stroke:"none",fill:t,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function x(e,t){var r;if(n.isValidElement(e))r=n.cloneElement(e,t);else if(a()(e))r=e(t);else{var i=t.x1,o=t.y1,s=t.x2,u=t.y2,c=t.key,f=g(t,p),d=(0,l.J9)(f,!1),h=(d.offset,g(d,y));r=n.createElement("line",v({},h,{x1:i,y1:o,x2:s,y2:u,fill:"none",key:c}))}return r}function A(e){var t=e.x,r=e.width,i=e.horizontal,a=void 0===i||i,o=e.horizontalPoints;if(!a||!o||!o.length)return null;var s=o.map(function(n,i){return x(a,b(b({},e),{},{x1:t,y1:n,x2:t+r,y2:n,key:"line-".concat(i),index:i}))});return n.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}function $(e){var t=e.y,r=e.height,i=e.vertical,a=void 0===i||i,o=e.verticalPoints;if(!a||!o||!o.length)return null;var s=o.map(function(n,i){return x(a,b(b({},e),{},{x1:n,y1:t,x2:n,y2:t+r,key:"line-".concat(i),index:i}))});return n.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}
1function O(e){var t=e.horizontalFill,r=e.fillOpacity,i=e.x,a=e.y,o=e.width,s=e.height,l=e.horizontalPoints,u=e.horizontal;if(!(void 0===u||u)||!t||!t.length)return null;var c=l.map(function(e){return Math.round(e+a-a)}).sort(function(e,t){return e-t});a!==c[0]&&c.unshift(0);var f=c.map(function(e,l){var u=c[l+1]?c[l+1]-e:a+s-e;if(u<=0)return null;var f=l%t.length;return n.createElement("rect",{key:"react-".concat(l),y:e,x:i,height:u,width:o,stroke:"none",fill:t[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function k(e){var t=e.vertical,r=e.verticalFill,i=e.fillOpacity,a=e.x,o=e.y,s=e.width,l=e.height,u=e.verticalPoints;if(!(void 0===t||t)||!r||!r.length)return null;var c=u.map(function(e){return Math.round(e+a-a)}).sort(function(e,t){return e-t});a!==c[0]&&c.unshift(0);var f=c.map(function(e,t){var u=c[t+1]?c[t+1]-e:a+s-e;if(u<=0)return null;var f=t%r.length;return n.createElement("rect",{key:"react-".concat(t),x:e,y:o,width:u,height:l,stroke:"none",fill:r[f],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var M=function(e,t){var r=e.xAxis,n=e.width,i=e.height,a=e.offset;return(0,u.PW)((0,c.f)(b(b(b({},f.u.defaultProps),r),{},{ticks:(0,u.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),a.left,a.left+a.width,t)},P=function(e,t){var r=e.yAxis,n=e.width,i=e.height,a=e.offset;return(0,u.PW)((0,c.f)(b(b(b({},f.u.defaultProps),r),{},{ticks:(0,u.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),a.top,a.top+a.height,t)},E=[],I=[];function j(e){var t,r,i,l,u,c,f=(0,d.yi)(),p=(0,d.rY)(),y=(0,d.hj)(),m=b(b({},e),{},{stroke:null!=(t=e.stroke)?t:"#ccc",fill:null!=(r=e.fill)?r:"none",horizontal:null==(i=e.horizontal)||i,horizontalFill:null!=(l=e.horizontalFill)?l:I,vertical:null==(u=e.vertical)||u,verticalFill:null!=(c=e.verticalFill)?c:E,x:(0,s.Et)(e.x)?e.x:y.left,y:(0,s.Et)(e.y)?e.y:y.top,width:(0,s.Et)(e.width)?e.width:y.width,height:(0,s.Et)(e.height)?e.height:y.height}),g=m.x,x=m.y,j=m.width,z=m.height,C=m.syncWithTicks,S=m.horizontalValues,B=m.verticalValues,T=(0,d.pj)(),L=(0,d.$G)();if(!(0,s.Et)(j)||j<=0||!(0,s.Et)(z)||z<=0||!(0,s.Et)(g)||g!==+g||!(0,s.Et)(x)||x!==+x)return null;var N=m.verticalCoordinatesGenerator||M,W=m.horizontalCoordinatesGenerator||P,_=m.horizontalPoints,R=m.verticalPoints;if((!_||!_.length)&&a()(W)){var F=S&&S.length,U=W({yAxis:L?b(b({},L),{},{ticks:F?S:L.ticks}):void 0,width:f,height:p,offset:y},!!F||C);(0,o.R)(Array.isArray(U),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(h(U),"]")),Array.isArray(U)&&(_=U)}if((!R||!R.length)&&a()(N)){var H=B&&B.length,G=N({xAxis:T?b(b({},T),{},{ticks:H?B:T.ticks}):void 0,width:f,height:p,offset:y},!!H||C);(0,o.R)(Array.isArray(G),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(h(G),"]")),Array.isArray(G)&&(R=G)}return n.createElement("g",{className:"recharts-cartesian-grid"},n.createElement(w,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.
1y,width:m.width,height:m.height,ry:m.ry}),n.createElement(A,v({},m,{offset:y,horizontalPoints:_,xAxis:T,yAxis:L})),n.createElement($,v({},m,{offset:y,verticalPoints:R,xAxis:T,yAxis:L})),n.createElement(O,v({},m,{horizontalPoints:_})),n.createElement(k,v({},m,{verticalPoints:R})))}j.displayName="CartesianGrid"},91608:function(e,t,r){r.d(t,{E:()=>l});var n=r(37650),i=r(68365),a=r(41144),o=r(46463),s=r(27454),l=(0,n.gu)({chartName:"BarChart",GraphicalChild:i.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:a.W},{axisType:"yAxis",AxisComp:o.h}],formatAxisMap:s.pr})},14740:function(e,t,r){r.d(t,{Q:()=>a});var n=r(56230);let i=/^tuple(?<array>(\[(\d*)\])*)$/;function a(e){let t="",r=e.length;for(let a=0;a<r;a++)t+=function e(t){let r=t.type;if(i.test(t.type)&&"components"in t){r="(";let a=t.components.length;for(let n=0;n<a;n++)r+=e(t.components[n]),n<a-1&&(r+=", ");let o=(0,n.Yv)(i,t.type);return r+=`)${o?.array??""}`,e({...t,type:r})}return("indexed"in t&&t.indexed&&(r=`${r}
1 indexed`),t.name)?`${r} ${t.name}`:r}(e[a]),a!==r-1&&(t+=", ");return t}},56230:function(e,t,r){function n(e,t){let r=e.exec(t);return r?.groups}r.d(t,{BD:()=>i,Ge:()=>a,Yv:()=>n,wj:()=>o});let i=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,a=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,o=/^\(.+?\).*?$/},95706:function(e,t,r){r.d(t,{HT:()=>s,lF:()=>o});var n=r(86668),i=r(77247),a=r(2583);function o(e,t){let{bytecode:r,args:n}=t;return a.xW(r,e.inputs?.length&&n?.length?i.lF(e.inputs,n):"0x")}function s(e){return n.HT(e)}},79216:function(e,t,r){r.d(t,{HT:()=>s,Rt:()=>o});var n=r(86668),i=r(77247),a=r(2583);function o(e,...t){var r;let{overloads:s}=e,l=s?function(e,t,r){let i=n.n1(e,t,r);if("function"!==i.type)throw new n.m_({name:t,type:"function"});return i}([e,...s],e.name,{args:t[0]}):e,u=(r=l,n.go(r)),c=t.length>0?i.lF(l.inputs,t[0]):void 0;return c?a.xW(u,c):u}function s(e,t={}){return n.HT(e,t)}},86668:function(e,t,r){r.d(t,{m_:()=>Q,n1:()=>Z,HT:()=>G,go:()=>D});class n extends Error{constructor(e,t={}){const r=t.cause instanceof n?t.cause.details:t.cause?.message?t.cause.message:t.details,i=t.cause instanceof n&&t.cause.docsPath||t.docsPath;super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...i?[`Docs: https://abitype.dev${i}`]:[],...r?[`Details: ${r}`]:[],"Version: [email protected]"].join("\n")),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),t.cause&&(this.cause=t.cause),this.details=r,this.docsPath=i,this.metaMessages=t.metaMessages,this.shortMessage=e}}class i extends n{constructor({signature:e}){super("Failed to parse ABI item.",{details:`parseAbiItem(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiitem-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiItemError"})}}class a extends n{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class o extends n{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}var s=r(56230);let l=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,u=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,c=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/,f=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/,d=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/,p=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/,y=/^receive\(\) external payable$/,h=new Set(["indexed"]),m=new Set(["calldata","memory","storage"]);class b extends n{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class v extends n{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:[`"${t}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class g extends n{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class w extends n{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${r}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class x extends n{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invali
1d."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}class A extends n{constructor({signature:e,type:t}){super(`Invalid ${t} signature.`,{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class $ extends n{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class O extends n{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class k extends n{constructor({type:e}){super("Circular reference detected.",{metaMessages:[`Struct "${e}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class M extends n{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:[`"${e.trim()}" has too many ${t>0?"opening":"closing"} parentheses.`],details:`Depth "${t}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}let P=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);function E(e,t={}){if(c.test(e))return function(e,t={}){let r=(0,s.Yv)(c,e);if(!r)throw new A({signature:e,type:"function"});let n=S(r.parameters),i=[],a=n.length;for(let e=0;e<a;e++)i.push(C(n[e],{modifiers:m,structs:t,type:"function"}));let o=[];if(r.returns){let e=S(r.returns),n=e.length;for(let r=0;r<n;r++)o.push(C(e[r],{modifiers:m,structs:t,type:"function"}))}return{name:r.name,type:"function",stateMutability:r.stateMutability??"nonpayable",inputs:i,outputs:o}}(e,t);if(u.test(e))return function(e,t={}){let r=(0,s.Yv)(u,e);if(!r)throw new A({signature:e,type:"event"});let n=S(r.parameters),i=[],a=n.length;for(let e=0;e<a;e++)i.push(C(n[e],{modifiers:h,structs:t,type:"event"}));return{name:r.name,type:"event",inputs:i}}(e,t);if(l.test(e))return function(e,t={}){let r=(0,s.Yv)(l,e);if(!r)throw new A({signature:e,type:"error"});let n=S(r.parameters),i=[],a=n.length;for(let e=0;e<a;e++)i.push(C(n[e],{structs:t,type:"error"}));return{name:r.name,type:"error",inputs:i}}(e,t);if(d.test(e))return function(e,t={}){let r=(0,s.Yv)(d,e);if(!r)throw new A({signature:e,type:"constructor"});let n=S(r.parameters),i=[],a=n.length;for(let e=0;e<a;e++)i.push(C(n[e],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:r.stateMutability??"nonpayable",inputs:i}}(e,t);if(p.test(e))return function(e){let t=(0,s.Yv)(p,e);if(!t)throw new A({signature:e,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}(e);if(y.test(e))return{type:"receive",stateMutability:"payable"};throw new $({signature:e})}let I=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\spayable)?)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,j=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,z=/^u?int$/;function C(e,t){var r,n;let i,a=function(e,t,r){let n="";if(r)for(let e of Object.entries(r)){if(!e)continue;let t="";for(let r of e[1])t+=`[${r.type}${r.name?`:${r.name}`:""}]`;n+=`(${e[0]}{${t}})`}return t?`${t}:${e}${n}`:e}(e,t?.type,t?.structs);if(P.has(a))return P.get(a);let l=s.wj.test(e),u=(0,s.Yv)(l?j:I,e);if(!u)throw new b({param:e});if(u.name&&("address"===(r=u.name)||"bool"===r||"function"===r||"string"===r||"tuple"===r||s.BD.test(r)||s.Ge.test(r)||T.test(r)))throw new v({param:e,name:u.name});let c=u.name?{name:u.name}:{},f="indexed"===u.modifier?{indexed:!0}:{},d=t?.structs??{},p={};if(l){i="tuple";let e=S(u.type),t=[],r=e.length;for(let n=0;n<r;n++)t.push(C(e[n],{structs:d}));p={components:t}}else if(u.type in d)i="tuple",p={components:d[u.type]};else if(z.test(u.type))i=`${u.type}256`;else if("address payable"===u.type)i="address";else if(i=u.type,t?.type!=="struct"&&!B(i))throw new o({type:i});if(u.modifier){if(!t?.modifiers?.has?.(u.modifier))throw new g({param:e,type:t?.type,modifier:u.modifier});if(m.has(u.modifier)&&(n=i,!u.array&&"bytes"!==n&&"string"!==n&&"tuple"!==n))throw new w({param:e,type:t?.type,modifier:u.modifier})}let y={type:`${i}${u.array??""}`,...c,...f,...p};return P.set(a,y),y}function S(e,t=[],r="",n=0){let i=e.trim().length;for(let a=0;a<i;a++){let i=e[a],o=e.slice(a+1);switch(i){case",":return 0===n?S(o,[...t,r.trim()]):S(o,t,`${r}${i}`,n);case"(":return S(o,t,`${r}${i}`,n+1);case")":return S(o,t,`${r}${i}`,n-1);default:return S(o,t,`${r}${i}`,n)}}if(""===r)return t;if(0!==n)throw new M({current:r,depth:n});return t.push(r.trim()),t}function B(e){return"address"===e||"bool"===e||"function"===e||"string"===e||s.BD.test(e)||s.Ge.test(e)}let T=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/,L=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;
vendor: 3,235 bytes, line 1
1var N=r(14740);function W(e){return"function"===e.type?`function ${e.name}(${(0,N.Q)(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${(0,N.Q)(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${(0,N.Q)(e.inputs)})`:"error"===e.type?`error ${e.name}(${(0,N.Q)(e.inputs)})`:"constructor"===e.type?`constructor(${(0,N.Q)(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?`fallback() external${"payable"===e.stateMutability?" payable":""}`:"receive() external payable"}var _=r(28122),R=r(79532),F=r(2583),U=r(15747);function H(e){let t=!0,r="",n=0,i="",a=!1;for(let o=0;o<e.length;o++){let s=e[o];if(["(",")",","].includes(s)&&(t=!0),"("===s&&n++,")"===s&&n--,t){if(0===n){if(" "===s&&["event","function","error",""].includes(i))i="";else if(i+=s,")"===s){a=!0;break}continue}if(" "===s){","!==e[o-1]&&","!==r&&",("!==r&&(r="",t=!1);continue}i+=s,r+=s}}if(!a)throw new _.C("Unable to normalize signature.");return i}function G(e,t={}){let{prepare:r=!0}=t,n=Array.isArray(e)||"string"==typeof e?function(e){let t;if("string"==typeof e)t=E(e);else{let r=function(e){let t={},r=e.length;for(let n=0;n<r;n++){let r=e[n];if(!f.test(r))continue;let i=(0,s.Yv)(f,r);if(!i)throw new A({signature:r,type:"struct"});let a=i.properties.split(";"),o=[],l=a.length;for(let e=0;e<l;e++){let t=a[e].trim();if(!t)continue;let r=C(t,{type:"struct"});o.push(r)}if(!o.length)throw new O({signature:r});t[i.name]=o}let n={},i=Object.entries(t),o=i.length;for(let e=0;e<o;e++){let[r,o]=i[e];n[r]=function e(t,r,n=new Set){let i=[],o=t.length;for(let l=0;l<o;l++){let o=t[l];if(s.wj.test(o.type))i.push(o);else{let t=(0,s.Yv)(L,o.type);if(!t?.type)throw new x({abiParameter:o});let{array:l,type:u}=t;if(u in r){if(n.has(u))throw new k({type:u});i.push({...o,type:`tuple${l??""}`,components:e(r[u]??[],r,new Set([...n,u]))})}else if(B(u))i.push(o);else throw new a({type:u})}}return i}(o,t)}return n}(e),n=e.length;for(let i=0;i<n;i++){let n=e[i];if(!f.test(n)){t=E(n,r);break}}}if(!t)throw new i({signature:e});return t}(e):e;return{...n,...r?{hash:Y(n)}:{}}}function Z(e,t,r){let n,{args:i=[],prepare:a=!0}=r??{},o=F.tf(t,{strict:!1}),s=e.filter(e=>o?"function"===e.type||"error"===e.type?D(e)===F.di(t,0,4):"event"===e.type&&Y(e)===t:"name"in e&&e.name===t);if(0===s.length)throw new Q({name:t});if(1===s.length)return{...s[0],...a?{hash:Y(s[0])}:{}};for(let e of s){if("inputs"in e){if(!i||0===i.length){if(!e.inputs||0===e.inputs.length)return{...e,...a?{hash:Y(e)}:{}};continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===i.length&&i.every((t,r)=>{let n="inputs"in e&&e.inputs[r];return!!n&&function e(t,r){let n=typeof t,i=r.type;switch(i){case"address":return U.tf(t,{strict:!1});case"bool":return"boolean"===n;case"function":case"string":return"string"===n;default:if("tuple"===i&&"components"in r)return Object.values(r.components).every((r,n)=>e(Object.values(t)[n],r));if(/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(i))return"number"===n||"bigint"===n;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i))return"string"===n||t instanceof Uint8Array;
vendor: 4,826 bytes, line 1
1if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i))return Array.isArray(t)&&t.every(t=>e(t,{...r,type:i.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,n)})){if(n&&"inputs"in n&&n.inputs){let t=function e(t,r,n){for(let i in t){let a=t[i],o=r[i];if("tuple"===a.type&&"tuple"===o.type&&"components"in a&&"components"in o)return e(a.components,o.components,n[i]);let s=[a.type,o.type];if(s.includes("address")&&s.includes("bytes20")||(s.includes("address")&&s.includes("string")||s.includes("address")&&s.includes("bytes"))&&U.tf(n[i],{strict:!1}))return s}}(e.inputs,n.inputs,i);if(t)throw new J({abiItem:e,type:t[0]},{abiItem:n,type:t[1]})}n=e}}}let l=(()=>{if(n)return n;let[e,...t]=s;return{...e,overloads:t}})();if(!l)throw new Q({name:t});return{...l,...a?{hash:Y(l)}:{}}}function D(e){return F.di(Y(e),0,4)}function Y(e){return"string"!=typeof e&&"hash"in e&&e.hash?e.hash:R.So(F.sH(H("string"==typeof e?e:W(e))))}class J extends _.C{constructor(e,t){super("Found ambiguous types in overloaded ABI Items.",{metaMessages:[`\`${e.type}\` in \`${H(W(e.abiItem))}\`, and`,`\`${t.type}\` in \`${H(W(t.abiItem))}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.AmbiguityError"})}}class Q extends _.C{constructor({name:e,data:t,type:r="item"}){super(`ABI ${r}${e?` with name "${e}"`:t?` with data "${t}"`:""} not found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.NotFoundError"})}}_.C},77247:function(e,t,r){r.d(t,{BI:()=>p,dm:()=>h,lF:()=>c,ST:()=>m,GK:()=>d}),r(14740);var n=r(15747),i=r(28122),a=r(2583);let o=/^(.*)\[([0-9]*)\]$/,s=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,l=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;function u(e){let t=0;for(let r=0;r<e.length;r++){let{dynamic:n,encoded:i}=e[r];n?t+=32:t+=a.Ej(i)}let r=[],n=[],i=0;for(let o=0;o<e.length;o++){let{dynamic:s,encoded:l}=e[o];s?(r.push(a.oB(t+i,{size:32})),n.push(l),i+=a.Ej(l)):r.push(l)}return a.xW(...r,...n)}function c(e,t,r){let{checksumAddress:o=!1}=r??{};if(e.length!==t.length)throw new y({expectedLength:e.length,givenLength:t.length});let s=u(function({checksumAddress:e,parameters:t,values:r}){let o=[];for(let s=0;s<t.length;s++)o.push(function e({checksumAddress:t=!1,parameter:r,value:o}){let s,c=(s=r.type.match(/^(.*)\[(\d+)?\]$/))?[s[2]?Number(s[2]):null,s[1]]:void 0;if(c){let[n,i]=c;return function(t,r){let{checksumAddress:n,length:i,parameter:o}=r,s=null===i;if(!Array.isArray(t))throw new h(t);if(!s&&t.length!==i)throw new d({expectedLength:i,givenLength:t.length,type:`${o.type}[${i}]`});let l=!1,c=[];for(let r=0;r<t.length;r++){let i=e({checksumAddress:n,parameter:o,value:t[r]});i.dynamic&&(l=!0),c.push(i)}if(s||l){let e=u(c);if(s){let t=a.oB(c.length,{size:32});return{dynamic:!0,encoded:c.length>0?a.xW(t,e):t}}if(l)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:a.xW(...c.map(({encoded:e})=>e))}}(o,{checksumAddress:t,length:n,parameter:{...r,type:i}})}if("tuple"===r.type)return function(t,r){let{checksumAddress:n,parameter:i}=r,o=!1,s=[];for(let r=0;r<i.components.length;r++){let a=i.components[r],l=Array.isArray(t)?r:a.name,u=e({checksumAddress:n,parameter:a,value:t[l]});s.push(u),u.dynamic&&(o=!0)}return{dynamic:o,encoded:o?u(s):a.xW(...s.map(({encoded:e})=>e))}}(o,{checksumAddress:t,parameter:r});if("address"===r.type)return function(e,t){let{checksum:r=!1}=t;return n.vA(e,{strict:r}),{dynamic:!1,encoded:a.Ho(e.toLowerCase())}}(o,{checksum:t});if("bool"===r.type){var f=o;if("boolean"!=typeof f)throw new i.C(`Invalid boolean value: "${f}" (type: ${typeof f}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:a.Ho(a.xb(f))}}if(r.type.startsWith("uint")||r.type.startsWith("int")){let e=r.type.startsWith("int"),[,,t="256"]=l.exec(r.type)??[];return function(e,{signed:t,size:r}){if("number"==typeof r){let n=2n**(BigInt(r)-(t?1n:0n))-1n,i=t?-n-1n:0n;if(e>n||e<i)throw new a.Ty({max:n.toString(),min:i.toString(),signed:t,size:r/8,value:e.toString()})}return{dynamic:!1,encoded:a.oB(e,{size:32,signed:t})}}(o,{signed:e,size:Number(t)})}if(r.type.startsWith("bytes"))return function(e,{type:t}){let[,r]=t.split("bytes"),n=a.Ej(e);if(!r){let t=e;return n%32!=0&&(t=a.M7(t,32*Math.ceil((e.length-2)/2/32))),{dynamic:!0,encoded:a.xW(a.Ho(a.oB(n,{size:32})),t)}}if(n!==Number.parseInt(r))throw new p({expectedSize:Number.parseInt(r),value:e});return{dynamic:!1,encoded:a.M7(e)}}(o,{type:r.type});if("string"===r.type){var y=o;let e=a.sH(y),t=Math.ceil(a.Ej(e)/32),r=[];for(let n=0;n<t;n++)r.push(a.M7(a.di(e,32*n,(n+1)*32)));return{dynamic:!0,encoded:a.xW(a.M7(a.oB(a.Ej(e),{size:32})),...r)}}
1throw new m(r.type)}({checksumAddress:e,parameter:t[s],value:r[s]}));return o}({checksumAddress:o,parameters:e,values:t}));return 0===s.length?"0x":s}function f(e,t){if(e.length!==t.length)throw new y({expectedLength:e.length,givenLength:t.length});let r=[];for(let n=0;n<e.length;n++){let i=e[n],a=t[n];r.push(f.encode(i,a))}return a.xW(...r)}(f||(f={})).encode=function e(t,r,i=!1){if("address"===t)return n.vA(r),a.Ho(r.toLowerCase(),32*!!i);if("string"===t)return a.sH(r);if("bytes"===t)return r;if("bool"===t)return a.Ho(a.xb(r),i?32:1);let u=t.match(l);if(u){let[e,t,n="256"]=u,o=Number.parseInt(n)/8;return a.oB(r,{size:i?32:o,signed:"int"===t})}let c=t.match(s);if(c){let[e,t]=c;if(Number.parseInt(t)!==(r.length-2)/2)throw new p({expectedSize:Number.parseInt(t),value:r});return a.M7(r,32*!!i)}let f=t.match(o);if(f&&Array.isArray(r)){let[t,n]=f,i=[];for(let t=0;t<r.length;t++)i.push(e(n,r[t],!0));return 0===i.length?"0x":a.xW(...i)}throw new m(t)},i.C,i.C;class d extends i.C{constructor({expectedLength:e,givenLength:t,type:r}){super(`Array length mismatch for type \`${r}\`. Expected: \`${e}\`. Given: \`${t}\`.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ArrayLengthMismatchError"})}}class p extends i.C{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${a.Ej(t)}) does not match expected size (bytes${e}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class y extends i.C{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding parameters/values length mismatch.
2Expected length (parameters): ${e}
3Given length (values): ${t}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}class h extends i.C{constructor(e){super(`Value \`${e}\` is not a valid array.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidArrayError"})}}class m extends i.C{constructor(e){super(`Type \`${e}\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}},15747:function(e,t,r){r.d(t,{vA:()=>u,tf:()=>c});var n=r(79670);class i extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let t=super.get(e);return super.has(e)&&void 0!==t&&(this.delete(e),super.set(e,t)),t}set(e,t){if(super.set(e,t),this.maxSize&&this.size>this.maxSize){let e=this.keys().next().value;e&&this.delete(e)}return this}}let a={checksum:new i(8192)}.checksum;var o=r(28122),s=r(79532);let l=/^0x[a-fA-F0-9]{40}$/;function u(e,t={}){let{strict:r=!0}=t;if(!l.test(e))throw new f({address:e,cause:new d});if(r){if(e.toLowerCase()===e)return;if(function(e){if(a.has(e))return a.get(e);u(e,{strict:!1});let t=e.substring(2).toLowerCase(),r=s.So(n.sH(t),{as:"Bytes"}),i=t.split("");for(let e=0;e<40;e+=2)r[e>>1]>>4>=8&&i[e]&&(i[e]=i[e].toUpperCase()),(15&r[e>>1])>
3=8&&i[e+1]&&(i[e+1]=i[e+1].toUpperCase());let o=`0x${i.join("")}`;return a.set(e,o),o}(e)!==e)throw new f({address:e,cause:new p})}}function c(e,t={}){let{strict:r=!0}=t??{};try{return u(e,{strict:r}),!0}catch{return!1}}class f extends o.C{constructor({address:e,cause:t}){super(`Address "${e}" is invalid.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class d extends o.C{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class p extends o.C{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}},20320:function(e,t,r){r.d(t,{J:()=>a});var n=r(2583);function i(e){return{address:e.address,amount:n.oB(e.amount),index:n.oB(e.index),validatorIndex:n.oB(e.validatorIndex)}}function a(e){return{..."bigint"==typeof e.baseFeePerGas&&{baseFeePerGas:n.oB(e.baseFeePerGas)},..."bigint"==typeof e.blobBaseFee&&{blobBaseFee:n.oB(e.blobBaseFee)},..."string"==typeof e.feeRecipient&&{feeRecipient:e.feeRecipient},..."bigint"==typeof e.gasLimit&&{gasLimit:n.oB(e.gasLimit)},..."bigint"==typeof e.number&&{number:n.oB(e.number)},..."bigint"==typeof e.prevRandao&&{prevRandao:n.oB(e.prevRandao)},..."bigint"==typeof e.time&&{time:n.oB(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(i)}}}},79670:function(e,t,r){r.d(t,{Fl:()=>d,u:()=>f,sH:()=>u,HT:()=>l,Ej:()=>c});var n=r(28122),i=r(2583);r(29422);function a(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}var o=r(25219);let s=new TextEncoder;function l(e){var t;return e instanceof Uint8Array?e:"string"==typeof e?function(e,t={}){let{size:r}=t,s=e;r&&(o.Sl(e,r),s=i.M7(e,r));let l=s.slice(2);l.length%2&&(l=`0${l}`);let u=l.length/2,c=new Uint8Array(u);for(let e=0,t=0;e<u;e++){let r=a(l.charCodeAt(t++)),i=a(l.charCodeAt(t++));if(void 0===r||void 0===i)throw new n.C(`Invalid byte sequence ("${l[t-2]}${l[t-1]}" in "${l}").`);c[e]=16*r+i}return c}(e):(t=e)instanceof Uint8Array?t:new Uint8Array(t)}function u(e,t={}){let{size:r}=t,n=s.encode(e);if("number"==typeof r){var i;if(c(n)>r)throw new f({givenSize:c(n),maxSize:r});return i=n,function(e,t={}){let{dir:r,size:n=32}=t;if(0===n)return e;if(e.length>n)throw new d({size:e.length,targetSize:n,type:"Bytes"});let i=new Uint8Array(n);for(let t=0;t<n;t++){let a="right"===r;i[a?t:n-t-1]=e[a?t:e.length-t-1]}return i}(i,{dir:"right",size:r})}return n}function c(e){return e.length}n.C,n.C;class f extends n.C{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}}n.C;class d extends n.C{constructor({size:e,targetSize:t,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}}},79532:function(e,t,r){r.d(t,{So:()=>o});var n=r(25),i=r(79670),a=r(2583);function o(e,t={}){let{as:r="string"==typeof e?"Hex":"Bytes"}=t,s=(0,n.lY)(i.HT(e));return"Bytes"===r?s:a.uK(s)}}}]);

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.