PageSourceSearch

https://cube.ng/_next/static/chunks/a9846492eec998a4.js

js cube.ng collected 2026-10-02 00:38:48 UTC 33,794 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,992648,e=>{"use strict";let t=(0,e.i(131763).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",()=>t],992648)},12940,e=>{"use strict";let t=(0,e.i(131763).default)("arrow-down-to-line",[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]);e.s(["ArrowDownToLine",()=>t],12940)},825609,e=>{"use strict";let t=(0,e.i(131763).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",()=>t],825609)},706575,e=>{"use strict";let t=(0,e.i(131763).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",()=>t])},651905,e=>{"use strict";var t=e.i(706575);e.s(["ChevronDown",()=>t.default])},122223,e=>{"use strict";let t=(0,e.i(131763).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",()=>t],122223)},831287,e=>{"use strict";let t=(0,e.i(131763).default)("wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);e.s(["Wallet",()=>t],831287)},114860,e=>{"use strict";let t=(0,e.i(131763).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",()=>t],114860)},949035,e=>{"use strict";let t=(0,e.i(131763).default)("coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]);e.s(["Coins",()=>t],949035)},804375,e=>{"use strict";let t=(0,e.i(131763).default)("trophy",[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]]);e.s(["Trophy",()=>t],804375)},449662,e=>{"use strict";let t=(0,e.i(131763).default)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);e.s(["Gift",()=>t],449662)},703087,e=>{"use strict";let t=(0,e.i(131763).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",()=>t],703087)},516911,e=>{"use strict";let t=(0,e.i(131763).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",()=>t])},706789,e=>{"use strict";var t=e.i(516911);e.s(["Check",()=>t.default])},987531,e=>{"use strict";let t=(0,e.i(131763).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",()=>t],987531)},445694,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},822173,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return o}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,s(e));else t.set(r,s(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},848077,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return o},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(744066)._(e.r(822173)),s=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",o=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let f=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||s.test(n))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),o&&"#"!==o[0]&&(o="#"+o),f&&"?"!==f[0]&&(f="?"+f),i=i.replace(/[?#]/g,encodeURIComponent),f=f.replace("#","%23"),`${n}${u}${i}${f}${o}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return o(e)}},136770,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=e.r(344440);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=a(e,n)),t&&(i.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},298334,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return k},MissingStaticPage:function(){return w},NormalizeError:function(){return v},PageNotFoundError:function(){return b},SP:function(){return g},ST:function(){return m},WEB_VITALS:function(){return a},execOnce:function(){return s},getDisplayName:function(){return c},getLocationOrigin:function(){return u},getURL:function(){return f},isAbsoluteUrl:function(){return l},isResSent:function(){return h},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return x}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>o.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function f(){let{href:e}=window.location,t=u();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function h(e){return e.finished||e.headersSent}function d(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&h(r))return n;if(!n)throw Object.defineProperty(Error(`"${c(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let g="u">typeof performance,m=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class v extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class w extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class k extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},532192,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(298334),i=e.r(632957);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},92364,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},970065,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(744066),s=e.r(687433),o=a._(e.r(344440)),l=e.r(848077),u=e.r(331270),f=e.r(136770),c=e.r(298334),h=e.r(439468);e.r(445694);let d=e.r(849629),p=e.r(532192),g=e.r(795130);function m(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function y(t){var r;let n,i,a,[l,y]=(0,o.useOptimistic)(d.IDLE_LINK_STATUS),b=(0,o.useRef)(null),{href:w,as:k,children:x,prefetch:E=null,passHref:M,replace:N,shallow:C,scroll:U,onClick:S,onMouseEnter:O,onTouchStart:I,legacyBehavior:A=!1,onNavigate:R,ref:j,unstable_dynamicOnHover:P,..._}=t;n=x,A&&("string"==typeof n||"number"==typeof n)&&(n=(0,s.jsx)("a",{children:n}));let T=o.default.useContext(u.AppRouterContext),L=!1!==E,B=!1!==E?null===(r=E)||"auto"===r?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,{href:F,as:$}=o.default.useMemo(()=>{let e=m(w);return{href:e,as:k?m(k):e}},[w,k]);if(A){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=o.default.Children.only(n)}let z=A?i&&"object"==typeof i&&i.ref:j,V=o.default.useCallback(e=>(null!==T&&(b.current=(0,d.mountLinkInstance)(e,F,T,B,L,y)),()=>{b.current&&((0,d.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,d.unmountPrefetchableInstance)(e)}),[L,F,T,B,y]),D={ref:(0,f.useMergedRef)(V,z),onClick(t){A||"function"!=typeof S||S(t),A&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!T||t.defaultPrevented||function(t,r,n,i,a,s,l){if("u">typeof window){let u,{nodeName:f}=t.currentTarget;if("A"===f.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:c}=e.r(770701);o.default.startTransition(()=>{c(n||r,a?"replace":"push",s??!0,i.current)})}}(t,F,$,b,N,U,R)},onMouseEnter(e){A||"function"!=typeof O||O(e),A&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),T&&L&&(0,d.onNavigationIntent)(e.currentTarget,!0===P)},onTouchStart:function(e){A||"function"!=typeof I||I(e),A&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),T&&L&&(0,d.onNavigationIntent)(e.currentTarget,!0===P)}};return(0,c.isAbsoluteUrl)($)?D.href=$:A&&!M&&("a"!==i.type||"href"in i.props)||(D.href=(0,h.addBasePath)($)),a=A?o.default.cloneElement(i,D):(0,s.jsx)("a",{..._,...D,children:n}),(0,s.jsx)(v.Provider,{value:l,children:a})}e.r(92364);let v=(0,o.createContext)(d.IDLE_LINK_STATUS),b=()=>(0,o.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},131763,e=>{"use strict";var t=e.i(344440);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var i={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"};let a=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:o="",children:l,iconNode:u,...f},c)=>(0,t.createElement)("svg",{ref:c,...i,width:n,height:n,stroke:e,strokeWidth:s?24*Number(a)/Number(n):a,className:r("lucide",o),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(f)&&{"aria-hidden":"true"},...f},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(l)?l:[l]])),s=(e,i)=>{let s=(0,t.forwardRef)(({className:s,...o},l)=>(0,t.createElement)(a,{ref:l,iconNode:i,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...o}));return s.displayName=n(e),s};e.s(["default",()=>s],131763)},392120,e=>{"use strict";let t=(0,e.i(131763).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],392120)},832757,e=>{"use strict";let t=(0,e.i(131763).default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
1y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["ShieldCheck",()=>t],832757)},74884,e=>{"use strict";let t=(0,e.i(131763).default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["LogOut",()=>t],74884)},625203,e=>{"use strict";var t=e.i(687433);function r({variant:e="full",size:r=16,className:n=""}){return(0,t.jsxs)("a",{href:"https://egoras.com",target:"_blank",rel:"noopener noreferrer","aria-label":"Egoras — visit egoras.com",title:"Egoras",className:`inline-flex shrink-0 items-center opacity-80 transition-opacity duration-200 hover:opacity-100 focus-visible:opacity-100 ${n}`,style:{height:r,gap:Math.round(.42*r)},children:[(0,t.jsx)("img",{src:"/egoras-mark.png",alt:"",width:r,height:r,className:"block shrink-0 select-none",draggable:!1}),"full"===e&&(0,t.jsx)("span",{className:"font-extrabold uppercase leading-none antialiased",style:{fontSize:Math.round(.72*r),letterSpacing:"0.13em"},children:"Egoras"})]})}function n({size:e=15,className:n=""}){return(0,t.jsxs)("span",{className:`inline-flex items-center gap-2 whitespace-nowrap ${n}`,children:[(0,t.jsx)("span",{style:{fontSize:Math.round(.84*e)},className:"leading-none",children:"Powered by"}),(0,t.jsx)(r,{size:e})]})}e.s(["EgorasBadge",()=>r,"PoweredByEgoras",()=>n])},28040,e=>{"use strict";var t=e.i(687433);function r({variant:e="full",size:r=16,className:n=""}){return(0,t.jsxs)("a",{href:"https://cubecore.io",target:"_blank",rel:"noopener noreferrer","aria-label":"CubeCore — visit cubecore.io",title:"CubeCore",className:`inline-flex shrink-0 items-center opacity-80 transition-opacity duration-200 hover:opacity-100 focus-visible:opacity-100 ${n}`,style:{height:r,gap:Math.round(.42*r)},children:[(0,t.jsx)("img",{src:"/cube-logo.jpg",alt:"",width:r,height:r,className:"block shrink-0 select-none rounded-[4px]",draggable:!1}),"full"===e&&(0,t.jsx)("span",{className:"font-extrabold uppercase leading-none antialiased",style:{fontSize:Math.round(.72*r),letterSpacing:"0.13em"},children:"CubeCore"})]})}function n({size:e=15,className:n=""}){return(0,t.jsxs)("span",{className:`inline-flex items-center gap-2 whitespace-nowrap ${n}`,children:[(0,t.jsx)("span",{style:{fontSize:Math.round(.84*e)},className:"leading-none",children:"Powered by"}),(0,t.jsx)(r,{size:e})]})}e.s(["CubeCoreBadge",()=>r,"PoweredByCubeCore",()=>n])},289521,288034,e=>{"use strict";var t=e.i(344440);function r(){let[e,r]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{try{let e=sessionStorage.getItem("egomart.perpsLive");if(null!==e)return void r("1"===e)}catch{}let e=!1;return fetch("/api/commodity/deriv/markets",{cache:"no-store"}).then(e=>e.ok?e.json():null).then(t=>{let n=Array.isArray(t?.markets)&&t.markets.length>0;if(!e){r(n);try{sessionStorage.setItem("egomart.perpsLive",n?"1":"0")}catch{}}}).catch(()=>{}),()=>{e=!0}},[]),e}e.s(["usePerpsLive",()=>r],289521);var n=e.i(687433);function i({className:e="",accent:t="#16a34a",mark:r=!0}){return(0,n.jsxs)("span",{className:`whitespace-nowrap ${e}`,children:["Ego",(0,n.jsx)("span",{style:{color:t},children:"mart"}),r?(0,n.jsx)("sup",{"aria-hidden":!0,className:"ml-[0.08em] font-bold",style:{fontSize:"0.72em",lineHeight:0,top:"-0.34em"},children:"®"}):null]})}e.s(["EgomartWordmark",()=>i],288034)},550253,e=>{"use strict";var t=e.i(344440),r=e.i(525738),n=e.i(10070),i=e.i(208009),a=e.i(504701),s=class extends i.Subscribable{#e;#t=void 0;#r;#n;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,a.shallowEqualObjects)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,a.hashKey)(t.mutationKey)!==(0,a.hashKey)(this.options.mutationKey)?this.reset():this.#r?.state.status==="pending"&&this.#r.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#r?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#i(),this.#a()}mutate(e,t){return this.#n=t,this.#r?.removeObserver(this),this.#r=this.#e.getMutationCache().build(this.#e,this.options),this.#r.addObserver(this),this.#r.execute(e)}#i(){let e=this.#r?.state??(0,r.getDefaultState)();this.#t={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#a(e){n.notifyManager.batch(()=>
1{if(this.#n&&this.hasListeners()){let t=this.#t.variables,r=this.#t.context,n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#n.onSuccess?.(e.data,t,r,n)}catch(e){Promise.reject(e)}try{this.#n.onSettled?.(e.data,null,t,r,n)}catch(e){Promise.reject(e)}}else if(e?.type==="error"){try{this.#n.onError?.(e.error,t,r,n)}catch(e){Promise.reject(e)}try{this.#n.onSettled?.(void 0,e.error,t,r,n)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},o=e.i(888352);function l(e,r){let i=(0,o.useQueryClient)(r),[l]=t.useState(()=>new s(i,e));t.useEffect(()=>{l.setOptions(e)},[l,e]);let u=t.useSyncExternalStore(t.useCallback(e=>l.subscribe(n.notifyManager.batchCalls(e)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),f=t.useCallback((e,t)=>{l.mutate(e,t).catch(a.noop)},[l]);if(u.error&&(0,a.shouldThrowError)(l.options.throwOnError,[u.error]))throw u.error;return{...u,mutate:f,mutateAsync:u.mutate}}e.s(["useMutation",()=>l],550253)},235225,959300,648470,678109,530641,e=>{"use strict";async function t(e){let t=Object.keys(e);return(await Promise.all(t.map(t=>Promise.resolve(e[t])))).reduce((e,r,n)=>(e[t[n]]=r,e),{})}function r(e,t,r){for(let n in t){let i=t[n],a=r?r[n]:null;a&&function(e,t,r){let n=t.split("|").map(e=>e.trim());for(let r=0;r<n.length;r++)switch(t){case"any":return;case"bigint":case"boolean":case"number":case"string":if(typeof e===t)return}let i=Error(`invalid value for type ${t}`);throw i.code="INVALID_ARGUMENT",i.argument=`value.${r}`,i.value=e,i}(i,a,n),Object.defineProperty(e,n,{enumerable:!0,value:i,writable:!1})}}function n(e,t){if(null==e)return"null";if(null==t&&(t=new Set),"object"==typeof e){if(t.has(e))return"[Circular]";t.add(e)}if(Array.isArray(e))return"[ "+e.map(e=>n(e,t)).join(", ")+" ]";if(e instanceof Uint8Array){let t="0123456789abcdef",r="0x";for(let n=0;n<e.length;n++)r+=t[e[n]>>4],r+=t[15&e[n]];return r}if("object"==typeof e&&"function"==typeof e.toJSON)return n(e.toJSON(),t);switch(typeof e){case"boolean":case"number":case"symbol":return e.toString();case"bigint":return BigInt(e).toString();case"string":return JSON.stringify(e);case"object":{let r=Object.keys(e);return r.sort(),"{ "+r.map(r=>`${n(r,t)}: ${n(e[r],t)}`).join(", ")+" }"}}return"[ COULD NOT SERIALIZE ]"}function i(e,t){return e&&e.code===t}function a(e){return i(e,"CALL_EXCEPTION")}function s(e,t,i){let a,s=e;{let r=[];if(i){if("message"in i||"code"in i||"name"in i)throw Error(`value will overwrite populated values: ${n(i)}`);for(let e in i){if("shortMessage"===e)continue;let t=i[e];r.push(e+"="+n(t))}}r.push(`code=${t}`),r.push("version=6.16.0"),r.length&&(e+=" ("+r.join(", ")+")")}switch(t){case"INVALID_ARGUMENT":a=TypeError(e);break;case"NUMERIC_FAULT":case"BUFFER_OVERRUN":a=RangeError(e);break;default:a=Error(e)}return r(a,{code:t}),i&&Object.assign(a,i),null==a.shortMessage&&r(a,{shortMessage:s}),a}function o(e,t,r,n){if(!e)throw s(t,r,n)}function l(e,t,r,n){o(e,t,"INVALID_ARGUMENT",{argument:r,value:n})}function u(e,t,r){null==r&&(r=""),r&&(r=": "+r),o(e>=t,"missing argument"+r,"MISSING_ARGUMENT",{count:e,expectedCount:t}),o(e<=t,"too many arguments"+r,"UNEXPECTED_ARGUMENT",{count:e,expectedCount:t})}e.s(["defineProperties",()=>r,"resolveProperties",()=>t],959300);let f=["NFD","NFC","NFKD","NFKC"].reduce((e,t)=>{try{if("test"!=="test".normalize(t))throw Error("bad");if("NFD"===t){let e=String.fromCharCode(233).normalize("NFD"),t=String.fromCharCode(101,769);if(e!==t)throw Error("broken")}e.push(t)}catch(e){}return e},[]);function c(e){o(f.indexOf(e)>=0,"platform missing String.prototype.normalize","UNSUPPORTED_OPERATION",{operation:"String.prototype.normalize",info:{form:e}})}function h(e,t,r){if(null==r&&(r=""),e!==t){let e=r,t="new";r&&(e+=".",t+=" "+r),o(!1,`private constructor; use ${e}from* methods`,"UNSUPPORTED_OPERATION",{operation:t})}}function d(e,t,r){if(e instanceof Uint8Array)return r?new Uint8Array(e):e;if("string"==typeof e&&e.length%2==0&&e.match(/^0x[0-9a-f]*$/i)){let t=new Uint8Array((e.length-2)/2),r=2;for(let n=0;n<t.length;n++)t[n]=parseInt(e.substring(r,r+2),16),r+=2;return t}l(!1,"invalid BytesLike value",t||"value",e)}function p(e,t){return d(e,t,!1)}function g(e,t){return d(e,t,!0)}function m(e,t){return"string"==typeof e&&!!e.match(/^0x[0-9A-Fa-f]*$/)&&("number"!=typeof t||e.length===2+2*t)&&(!0!==t||e.length%2==0)}function y(e){return m(e,!0)||e instanceof Uint8Array}e.s(["assert",()=>o,"assertArgument",()=>l,"assertArgumentCount",()=>u,"assertNormalize",()=>c,"assertPrivate",()=>h,"isCallException",()=>a,"isError",()=>i,"makeError",()=>s],648470);
1let v="0123456789abcdef";function b(e){let t=p(e),r="0x";for(let e=0;e<t.length;e++){let n=t[e];r+=v[(240&n)>>4]+v[15&n]}return r}function w(e){return"0x"+e.map(e=>b(e).substring(2)).join("")}function k(e){return m(e,!0)?(e.length-2)/2:p(e).length}function x(e,t,r){let n=p(e);return null!=r&&r>n.length&&o(!1,"cannot slice beyond data bounds","BUFFER_OVERRUN",{buffer:n,length:n.length,offset:r}),b(n.slice(null==t?0:t,null==r?n.length:r))}function E(e,t,r){let n=p(e);o(t>=n.length,"padding exceeds data length","BUFFER_OVERRUN",{buffer:new Uint8Array(n),length:t,offset:t+1});let i=new Uint8Array(t);return i.fill(0),r?i.set(n,t-n.length):i.set(n,0),b(i)}function M(e,t){return E(e,t,!0)}function N(e,t){return E(e,t,!1)}e.s(["concat",()=>w,"dataLength",()=>k,"dataSlice",()=>x,"getBytes",()=>p,"getBytesCopy",()=>g,"hexlify",()=>b,"isBytesLike",()=>y,"isHexString",()=>m,"zeroPadBytes",()=>N,"zeroPadValue",()=>M],678109);let C=BigInt(0),U=BigInt(1);function S(e,t){let r=R(e,"value"),n=BigInt(_(t,"width"));return(o(r>>n===C,"overflow","NUMERIC_FAULT",{operation:"fromTwos",fault:"overflow",value:e}),r>>n-U)?-((~r&(U<<n)-U)+U):r}function O(e,t){let r=A(e,"value"),n=BigInt(_(t,"width")),i=U<<n-U;return r<C?(o((r=-r)<=i,"too low","NUMERIC_FAULT",{operation:"toTwos",fault:"overflow",value:e}),(~r&(U<<n)-U)+U):(o(r<i,"too high","NUMERIC_FAULT",{operation:"toTwos",fault:"overflow",value:e}),r)}function I(e,t){return R(e,"value")&(U<<BigInt(_(t,"bits")))-U}function A(e,t){switch(typeof e){case"bigint":return e;case"number":return l(Number.isInteger(e),"underflow",t||"value",e),l(e>=-0x1fffffffffffff&&e<=0x1fffffffffffff,"overflow",t||"value",e),BigInt(e);case"string":try{if(""===e)throw Error("empty string");if("-"===e[0]&&"-"!==e[1])return-BigInt(e.substring(1));return BigInt(e)}catch(r){l(!1,`invalid BigNumberish string: ${r.message}`,t||"value",e)}}l(!1,"invalid BigNumberish value",t||"value",e)}function R(e,t){let r=A(e,t);return o(r>=C,"unsigned value cannot be negative","NUMERIC_FAULT",{fault:"overflow",operation:"getUint",value:e}),r}let j="0123456789abcdef";function P(e){if(e instanceof Uint8Array){let t="0x0";for(let r of e)t+=j[r>>4],t+=j[15&r];return BigInt(t)}return A(e)}function _(e,t){switch(typeof e){case"bigint":return l(e>=-0x1fffffffffffff&&e<=0x1fffffffffffff,"overflow",t||"value",e),Number(e);case"number":return l(Number.isInteger(e),"underflow",t||"value",e),l(e>=-0x1fffffffffffff&&e<=0x1fffffffffffff,"overflow",t||"value",e),e;case"string":try{if(""===e)throw Error("empty string");return _(BigInt(e),t)}catch(r){l(!1,`invalid numeric string: ${r.message}`,t||"value",e)}}l(!1,"invalid numeric value",t||"value",e)}function T(e){return _(P(e))}function L(e,t){let r=R(e,"value"),n=r.toString(16);if(null==t)n.length%2&&(n="0"+n);else{let i=_(t,"width");if(0===i&&r===C)return"0x";for(o(2*i>=n.length,`value exceeds width (${i} bytes)`,"NUMERIC_FAULT",{operation:"toBeHex",fault:"overflow",value:e});n.length<2*i;)n="0"+n}return"0x"+n}function B(e,t){let r=R(e,"value");if(r===C)return new Uint8Array(null!=t?_(t,"width"):0);let n=r.toString(16);if(n.length%2&&(n="0"+n),null!=t){let r=_(t,"width");for(;n.length<2*r;)n="00"+n;o(2*r===n.length,`value exceeds width (${r} bytes)`,"NUMERIC_FAULT",{operation:"toBeArray",fault:"overflow",value:e})}let i=new Uint8Array(n.length/2);for(let e=0;e<i.length;e++){let t=2*e;i[e]=parseInt(n.substring(t,t+2),16)}return i}function F(e){let t=b(y(e)?e:B(e)).substring(2);for(;t.startsWith("0");)t=t.substring(1);return""===t&&(t="0"),"0x"+t}e.s(["fromTwos",()=>S,"getBigInt",()=>A,"getNumber",()=>_,"mask",()=>I,"toBeArray",()=>B,"toBeHex",()=>L,"toBigInt",()=>P,"toNumber",()=>T,"toQuantity",()=>F,"toTwos",()=>O],530641);let $=BigInt(-1),z=BigInt(0),V=BigInt(1),D=BigInt(5),K={},H="0000";for(;H.length<80;)H+=H;function q(e){let t=H;for(;t.length<e;)t+=t;return BigInt("1"+t.substring(0,e))}function W(e,t,r){let n=BigInt(t.width);if(t.signed){let t=V<<n-V;o(null==r||e>=-t&&e<t,"overflow","NUMERIC_FAULT",{operation:r,fault:"overflow",value:e}),e=e>z?S(I(e,n),n):-S(I(-e,n),n)}else{let t=V<<n;o(null==r||e>=0&&e<t,"overflow","NUMERIC_FAULT",{operation:r,fault:"overflow",value:e}),e=(e%t+t)%t&t-V}return e}function G(e){"number"==typeof e&&(e=`fixed128x${e}`);let t=!0,r=128,n=18;if("string"==typeof e)if("fixed"===e);else if("ufixed"===e)t=!1;else{let i=e.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);l(i,"invalid fixed format","format",e),t="u"!==i[1],r=parseInt(i[2]),n=parseInt(i[3])}else if(e){let i=e,a=(e,t,r)=>
1null==i[e]?r:(l(typeof i[e]===t,"invalid fixed format ("+e+" not "+t+")","format."+e,i[e]),i[e]);t=a("signed","boolean",t),r=a("width","number",r),n=a("decimals","number",n)}l(r%8==0,"invalid FixedNumber width (not byte aligned)","format.width",r),l(n<=80,"invalid FixedNumber decimals (too large)","format.decimals",n);let i=(t?"":"u")+"fixed"+String(r)+"x"+String(n);return{signed:t,width:r,decimals:n,name:i}}class Z{format;#s;#o;#l;_value;constructor(e,t,n){h(e,K,"FixedNumber"),this.#o=t,this.#s=n;const i=function(e,t){let r="";e<z&&(r="-",e*=$);let n=e.toString();if(0===t)return r+n;for(;n.length<=t;)n=H+n;let i=n.length-t;for(n=n.substring(0,i)+"."+n.substring(i);"0"===n[0]&&"."!==n[1];)n=n.substring(1);for(;"0"===n[n.length-1]&&"."!==n[n.length-2];)n=n.substring(0,n.length-1);return r+n}(t,n.decimals);r(this,{format:n.name,_value:i}),this.#l=q(n.decimals)}get signed(){return this.#s.signed}get width(){return this.#s.width}get decimals(){return this.#s.decimals}get value(){return this.#o}#u(e){l(this.format===e.format,"incompatible format; use fixedNumber.toFormat","other",e)}#f(e,t){return new Z(K,e=W(e,this.#s,t),this.#s)}#c(e,t){return this.#u(e),this.#f(this.#o+e.#o,t)}addUnsafe(e){return this.#c(e)}add(e){return this.#c(e,"add")}#h(e,t){return this.#u(e),this.#f(this.#o-e.#o,t)}subUnsafe(e){return this.#h(e)}sub(e){return this.#h(e,"sub")}#d(e,t){return this.#u(e),this.#f(this.#o*e.#o/this.#l,t)}mulUnsafe(e){return this.#d(e)}mul(e){return this.#d(e,"mul")}mulSignal(e){this.#u(e);let t=this.#o*e.#o;return o(t%this.#l===z,"precision lost during signalling mul","NUMERIC_FAULT",{operation:"mulSignal",fault:"underflow",value:this}),this.#f(t/this.#l,"mulSignal")}#p(e,t){return o(e.#o!==z,"division by zero","NUMERIC_FAULT",{operation:"div",fault:"divide-by-zero",value:this}),this.#u(e),this.#f(this.#o*this.#l/e.#o,t)}divUnsafe(e){return this.#p(e)}div(e){return this.#p(e,"div")}divSignal(e){o(e.#o!==z,"division by zero","NUMERIC_FAULT",{operation:"div",fault:"divide-by-zero",value:this}),this.#u(e);let t=this.#o*this.#l;return o(t%e.#o===z,"precision lost during signalling div","NUMERIC_FAULT",{operation:"divSignal",fault:"underflow",value:this}),this.#f(t/e.#o,"divSignal")}cmp(e){let t=this.value,r=e.value,n=this.decimals-e.decimals;return(n>0?r*=q(n):n<0&&(t*=q(-n)),t<r)?-1:+(t>r)}eq(e){return 0===this.cmp(e)}lt(e){return 0>this.cmp(e)}lte(e){return 0>=this.cmp(e)}gt(e){return this.cmp(e)>0}gte(e){return this.cmp(e)>=0}floor(){let e=this.#o;return this.#o<z&&(e-=this.#l-V),e=this.#o/this.#l*this.#l,this.#f(e,"floor")}ceiling(){let e=this.#o;return this.#o>z&&(e+=this.#l-V),e=this.#o/this.#l*this.#l,this.#f(e,"ceiling")}round(e){if(null==e&&(e=0),e>=this.decimals)return this;let t=this.decimals-e,r=D*q(t-1),n=this.value+r,i=q(t);return W(n=n/i*i,this.#s,"round"),new Z(K,n,this.#s)}isZero(){return this.#o===z}isNegative(){return this.#o<z}toString(){return this._value}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return Z.fromString(this.toString(),e)}static fromValue(e,t,r){let n=null==t?0:_(t),i=G(r),a=A(e,"value"),s=n-i.decimals;if(s>0){let t=q(s);o(a%t===z,"value loses precision for format","NUMERIC_FAULT",{operation:"fromValue",fault:"underflow",value:e}),a/=t}else s<0&&(a*=q(-s));return W(a,i,"fromValue"),new Z(K,a,i)}static fromString(e,t){let r=e.match(/^(-?)([0-9]*)\.?([0-9]*)$/);l(r&&r[2].length+r[3].length>0,"invalid FixedNumber string value","value",e);let n=G(t),i=r[2]||"0",a=r[3]||"";for(;a.length<n.decimals;)a+=H;o(a.substring(n.decimals).match(/^0*$/),"too many decimals for format","NUMERIC_FAULT",{operation:"fromString",fault:"underflow",value:e}),a=a.substring(0,n.decimals);let s=BigInt(r[1]+i+a);return W(s,n,"fromString"),new Z(K,s,n)}static fromBytes(e,t){let r=P(p(e,"value")),n=G(t);return n.signed&&(r=S(r,n.width)),W(r,n,"fromBytes"),new Z(K,r,n)}}let J=["wei","kwei","mwei","gwei","szabo","finney","ether"];function Q(e,t){let r=18;if("string"==typeof t){let e=J.indexOf(t);l(e>=0,"invalid unit","unit",t),r=3*e}else null!=t&&(r=_(t,"unit"));return Z.fromValue(e,r,{decimals:r,width:512}).toString()}function X(e,t){l("string"==typeof e,"value must be a string","value",e);let r=18;if("string"==typeof t){let e=J.indexOf(t);l(e>=0,"invalid unit","unit",t),r=3*e}else null!=t&&(r=_(t,"unit"));return Z.fromString(e,{decimals:r,width:512}).value}e.s(["formatUnits",()=>Q,"parseUnits",()=>X],235225)},505170,e=>{"use strict";var t=e.i(687433),r=e.i(310434);function n(e){return(e.trim()||"?").replace(/@.*$/,"").slice(0,2).toUpperCase()}function i({onClick:e,title:i,size:a=28,ring:s=!0}){let o=r.getSession(),l=o?.user.display_name||o?.user.email||"?",u={width:a,height:a,fontSize:Math.round(.4*a)},f=`grid place-items-center rounded-full bg-gradient-to-br from-violet-500 to-fuchsia-600 font-bold text-white shrink-0 ${s?"ring-1 ring-white/15":""}`;return e?(0,t.jsx)("button",{type:"button",onClick:e,title:i||l,"aria-label":i||`Signed in as ${l}`,style:u,className:`${f} transition-all hover:brightness-110 active:scale-95`,children:n(l)}):(0,t.jsx)("span",{style:u,className:f,title:i||l,children:n(l)})}e.s(["ProfileAvatar",()=>i])},566979,e=>{"use strict";BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),BigInt("1000000000000000000");let t=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");BigInt("0x8000000000000000000000000000000000000000000000000000000000000000"),BigInt(-1),BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),e.s(["MaxUint256",0,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.