https://app.hotstuff.trade/_next/static/chunks/02ngb4odj.ap8.js?dpl=dpl_2UkkgYJtZRL8qYawe9FfkxiApWHv
1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="76892702-9450-00d1-4cd2-e1a08a3c2e1e")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,29698,e=>{"use strict";e.s(["APP_VERSION",0,"0.2.1","CLEAR_DATA_IF_OLDER_THAN",0,"0.2.1","VERSION_CODE",0,"10-1-2026.41c7363"])},545493,e=>{"use strict";var t=e.i(271645),s=e.i(948203),n=e.i(598533),n=n,a=e.i(618566),c=e.i(474076);e.s(["default",0,function(e){let{options:i,CacheProvider:l=n.C,children:r}=e,[o]=t.useState(()=>{let e=(0,s.default)({...i,key:i?.key??"mui"});e.compat=!0;let t=e.insert,n=[];return e.insert=(...s)=>{i?.enableCssLayer&&!s[1].styles.match(/^@layer\s+[^{]*$/)&&(s[1].styles=`@layer mui {${s[1].styles}}`);let[a,c]=s;return void 0===e.inserted[c.name]&&n.push({name:c.name,isGlobal:!a}),t(...s)},{cache:e,flush:()=>{let e=n;return n=[],e}}});return(0,a.useServerInsertedHTML)(()=>{let e=o.flush();if(0===e.length)return null;let s="",n=o.cache.key,a=[];return e.forEach(({name:e,isGlobal:t})=>{let c=o.cache.inserted[e];"string"==typeof c&&(t?a.push({name:e,style:c}):(s+=c,n+=` ${e}`))}),(0,c.jsxs)(t.Fragment,{children:[a.map(({name:e,style:t})=>(0,c.jsx)("style",{nonce:i?.nonce,"data-emotion":`${o.cache.key}-global ${e}`,dangerouslySetInnerHTML:{__html:t}},e)),s&&(0,c.jsx)("style",{nonce:i?.nonce,"data-emotion":n,dangerouslySetInnerHTML:{__html:s}})]})}),(0,c.jsx)(l,{value:o.cache,children:r})}],545493)},253464,e=>{"use strict";var t=e.i(474076),s=e.i(500932),n=e.i(268407),a=e.i(858532),c=e.i(695202),i=e.i(271645);function l(e){let l,h,m,d=(0,s.c)(10),{children:f}=e,{notification:k,active:j,removeNotification:p}=(0,n.useNotificationStore)(),v=(0,n.useGlobalStore)(u),w=(0,n.useGlobalStore)(o),y=(0,n.useGlobalStore)(r);return d[0]!==j||d[1]!==w||d[2]!==v||d[3]!==y||d[4]!==k||d[5]!==p?(l=()=>{j&&("fill"===k.title.trim().toLowerCase()&&v&&w&&(0,c.playFillNotificationSound)(y),a.showToast[k.type]({message:k.message}),p())},h=[j,k,p,v,w,y],d[0]=j,d[1]=w,d[2]=v,d[3]=y,d[4]=k,d[5]=p,d[6]=l,d[7]=h):(l=d[6],h=d[7]),(0,i.useEffect)(l,h),d[8]!==f?(m=(0,t.jsx)(t.Fragment,{children:f}),d[8]=f,d[9]=m):m=d[9],m}function r(e){return e.fillNotificationSound}function o(e){return e.enableFillNotificationSound}function u(e){return e.enableFillNotifications}e.s(["NotificationProvider",0,l,"default",0,l])},873232,e=>{"use strict";e.i(247167);var t=e.i(474076),s=e.i(500932),n=e.i(271645),a=e.i(709643),c=e.i(29698),i=e.i(858532),l=e.i(846696);let r="hotstuff-app-version";function o(e,t){let s=e.split(".").map(Number),n=t.split(".").map(Number);for(let e=0;e<Math.max(s.length,n.length);e++){let t=s[e]||0,a=n[e]||0;if(t<a)return -1;if(t>a)return 1}return 0}function u(){try{return localStorage.getItem(r)}catch(e){return console.warn("Failed to read stored version:",e),null}}function h(){try{localStorage.setItem(r,c.APP_VERSION)}catch(e){console.warn("Failed to store version:",e)}}async function m(){if(window.indexedDB)try{if("databases"in indexedDB){let e=await indexedDB.databases();await Promise.all(e.filter(e=>e.name).map(e=>new Promise((t,s)=>{let n=e.name,a=indexedDB.deleteDatabase(n);a.onsuccess=()=>t(),a.onerror=()=>s(a.error),a.onblocked=()=>{setTimeout(()=>{let e=indexedDB.deleteDatabase(n);e.onsuccess=()=>t(),e.onerror=()=>s(e.error)},100)}})))}else await Promise.all(["hotstuff","privy","walletconnect","wagmi"].map(e=>new Promise(t=>{try{let s=indexedDB.deleteDatabase(e);s.onsuccess=()=>t(),s.onerror=()=>t()}catch{t()}})))}catch(e){console.warn("Failed to clear IndexedDB:",e)}}async function d(){if("caches"in window)try{let e=await caches.keys();await Promise.all(e.map(e=>caches.delete(e)))}catch(e){console.warn("Failed to clear Cache API:",e)}}async function f(){if(!function(){try{let e=[],t=[];for(let t=0;t<localStorage.length;t++){let s=localStorage.key(t);s&&e.push(s)}for(let e=0;e<sessionStorage.length;e++){let s=sessionStorage.key(e);
2s&&t.push(s)}e.forEach(e=>{e!==r&&localStorage.removeItem(e)}),t.forEach(e=>{sessionStorage.removeItem(e)})}catch(e){console.error("Failed to clear storage:",e)}}(),"u">typeof document)try{document.cookie.split(";").forEach(e=>{let t=e.indexOf("="),s=t>-1?e.substring(0,t).trim():e.trim();if(s){document.cookie=`${s}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`,document.cookie=`${s}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=${window.location.hostname}`;let e=window.location.hostname.split(".");if(e.length>1){let t="."+e.slice(-2).join(".");document.cookie=`${s}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=${t}`}}})}catch(e){}await Promise.all([m(),d()]),h()}let k=(0,n.createContext)({announcement:null});function j(e){console.error("Error clearing data:",e),setTimeout(p,500)}function p(){window.location.reload()}function v(){setTimeout(w,500)}function w(){window.location.reload()}function y(){u()||h()}e.s(["VersionCheckProvider",0,function(e){let r,m,d,p,w,g,P,b,x,_=(0,s.c)(18),{children:E}=e,S=(0,a.useTranslations)(),{hasNewVersion:T,announcement:q,handleReload:A}=function(){let[e,t]=(0,n.useState)(!1),[s,a]=(0,n.useState)(null),i=(0,n.useRef)(!1),l=(0,n.useRef)(!1),r=(0,n.useRef)(null),o=(0,n.useRef)(0);(0,n.useEffect)(()=>{l.current=e},[e]);let u=(0,n.useCallback)(async(e=!1)=>{if(i.current)return;let s=Date.now();if(e||!(s-o.current<1e4)){i.current=!0,o.current=s;try{let e=await fetch("/api/status");if(!e.ok)return;let s=await e.json();!l.current&&s.version?.versionCode&&s.version.versionCode!==c.VERSION_CODE&&(t(!0),l.current=!0),a(s.announcement??null)}catch{}finally{i.current=!1}}},[]);return(0,n.useEffect)(()=>{u(!0)},[u]),(0,n.useEffect)(()=>(r.current=setInterval(()=>{u(!0)},6e4),()=>{r.current&&clearInterval(r.current)}),[u]),(0,n.useEffect)(()=>{let e=()=>{u()};return window.addEventListener("focus",e),()=>window.removeEventListener("focus",e)},[u]),(0,n.useEffect)(()=>{let e=()=>{document.hidden||u()};return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[u]),{hasNewVersion:e,announcement:s,checkStatus:u,handleReload:(0,n.useCallback)(()=>{window.location.reload()},[])}}(),C=(0,n.useRef)(!1),R=(0,n.useRef)(null),z=(0,n.useRef)(!1);return _[0]===Symbol.for("react.memo_cache_sentinel")?(r=[],_[0]=r):r=_[0],(0,n.useEffect)(y,r),_[1]!==S?(m=()=>{z.current||(function(){if(!c.CLEAR_DATA_IF_OLDER_THAN)return!1;let e=u();if(!e)return h(),!1;let t=0>o(e,c.CLEAR_DATA_IF_OLDER_THAN),s=0>o(e,c.APP_VERSION);return t||s}()?(z.current=!0,i.showToast.info({message:S("versionCheck.appUpdated"),options:{duration:3e3,id:"data-clear-notification"}}),f().then(v).catch(j)):console.log("No data to clear","Current Version:",c.APP_VERSION,"breaking version:",c.CLEAR_DATA_IF_OLDER_THAN))},_[1]=S,_[2]=m):m=_[2],_[3]===Symbol.for("react.memo_cache_sentinel")?(d=[],_[3]=d):d=_[3],(0,n.useEffect)(m,d),_[4]!==A||_[5]!==T||_[6]!==S?(p=()=>{!T||C.current||z.current||(C.current=!0,R.current=i.showToast.warning({message:S("versionCheck.newVersionAvailable"),options:{action:{label:S("versionCheck.reload"),onClick:A},duration:1/0,id:"version-update"}}))},_[4]=A,_[5]=T,_[6]=S,_[7]=p):p=_[7],_[8]!==A||_[9]!==T?(w=[T,A],_[8]=A,_[9]=T,_[10]=w):w=_[10],(0,n.useEffect)(p,w),_[11]===Symbol.for("react.memo_cache_sentinel")?(g=()=>()=>{R.current&&l.toast.dismiss(R.current)},P=[],_[11]=g,_[12]=P):(g=_[11],P=_[12]),(0,n.useEffect)(g,P),_[13]!==q?(b={announcement:q},_[13]=q,_[14]=b):b=_[14],_[15]!==E||_[16]!==b?(x=(0,t.jsx)(k.Provider,{value:b,children:E}),_[15]=E,_[16]=b,_[17]=x):x=_[17],x},"useAppStatusContext",0,function(){return(0,n.useContext)(k)}],873232)},470308,e=>{e.v(t=>Promise.all(["static/chunks/0eztci.l1u0l5.js"].map(t=>e.l(t))).then(()=>t(915618)))},933619,e=>{e.v(t=>Promise.all(["static/chunks/0s7bjw0a00f29.js","static/chunks/09alj0cjntlz0.js","static/chunks/0.yj1a1-rk8sc.js","static/chunks/0ztc-nb7u28h7.js","static/chunks/158-crcvemgk0.js","static/chunks/0wk9z_tetscz0.js"].map(t=>e.l(t))).then(()=>t(103164)))},731507,e=>{e.v(t=>Promise.all(["static/chunks/1665-7u15kg4..js"].map(t=>e.l(t))).then(()=>t(42565)))},773348,e=>{e.v(t=>Promise.all(["static/chunks/0skclu3juyc~6.js","static/chunks/16kkv3w~2xuz2.js"].map(t=>e.l(t))).then(()=>t(96168)))},70086,e=>{e.v(t=>Promise.all(["static/chunks/0skclu3juyc~6.js","static/chunks/0t5tjame_30.i.js"].map(t=>e.l(t))).then(()=>t(986565)))},443184,e=>{e.v(t=>Promise.all(["static/chunks/0skclu3juyc~6.js","static/chunks/0r5xtvjnftqcu.js","static/chunks/15oyscz4ofmed.js"].map(t=>e.l(t))).then(()=>t(863166)))},375410,e=>{e.v(t=>Promise.all(["static/chunks/0xdg5i.uabm7w.js","static/chunks/17_z7g_ihbg1h.js","static/chunks/0z4byqjizdcc_.js"].map(t=>e.l(t))).then(()=>t(461029)))},64383,e=>{e.v(t=>Promise.all(["static/chunks/0~7p01pkcqhgj.js","static/chunks/0ow5-p3qeqg6-.js","static/chunks/0xdg5i.uabm7w.js","static/chunks/0i7wxj27umuyf.js"].map(t=>e.l(t))).then(()=>t(193801)))},387558,e=>{e.v(t=>Promise.all(["static/chunks/0_4zw~27ge1xe.js","static/chunks/0r5xtvjnftqcu.js","static/chunks/034m3bi1cvczu.js"].map(t=>e.l(t))).then(()=>t(707876)))},483049,e=>{e.v(t=>Promise.all(["static/chunks/0x4~i3d0pjnq0.js","static/chunks/0a9p6u~_9wmh6.js","static/chunks/0irl081jhls4k.js"].map(t=>e.l(t))).then(()=>t(683026)))},712956,e=>{e.v(t=>Promise.all(["static/chunks/0xdg5i.uabm7w.js","static/chunks/08m1u~4~yb7e2.js"].map(t=>e.l(t))).then(()=>t(837116)))},104648,e=>{e.v(t=>Promise.all(["static/chunks/0skclu3juyc~6.js","static/chunks/041x7oddptn-g.js"].map(t=>e.l(t))).then(()=>t(358323)))},523499,e=>{e.v(t=>Promise.all(["static/chunks/09g2mto8gklij.js","static/chunks/0io-f85bpuuf0.js","static/chunks/0xdg5i.uabm7w.js","static/chunks/13xp3o~1q3087.js"].map(t=>e.l(t))).then(()=>t(651305)))},351913,e=>{e.v(t=>Promise.all(["static/chunks/0skclu3juyc~6.js","static/chunks/0k5nvun2dpdrf.js"].map(t=>e.l(t))).then(()=>t(818329)))},561290,e=>{e.v(t=>Promise.all(["static/chunks/0xdg5i.uabm7w.js","static/chunks/0r5xtvjnftqcu.js","static/chunks/00qbe~d_nhvbp.js","static/chunks/06y845aohtcsy.js","static/chunks/0.82tpec1qnuf.js"].map(t=>e.l(t))).then(()=>t(442696)))},449870,e=>{e.v(t=>Promise.all(["static/chunks/0ps45f8vkgiv7.js","static/chunks/0wrm9.fp5swws.js","static/chunks/13xp3o~1q3087.js","static/chunks/07tg2m9rqr526.js","static/chunks/16y9ls7bq~j6p.js"].map(t=>e.l(t))).then(()=>t(271502)))},101139,e=>{e.v(t=>Promise.all(["static/chunks/0z47g4q7iuvqo.js"].map(t=>e.l(t))).then(()=>t(109963)))},389892,e=>{e.v(t=>Promise.all(["static/chunks/09alj0cjntlz0.js"].map(t=>e.l(t))).then(()=>t(337575)))},149428,e=>{e.v(t=>Promise.all(["static/chunks/0lcx58wl5-qu4.js","static/chunks/0glkm.ucv~iqw.js","static/chunks/0izyem6olm28v.js"].map(t=>e.l(t))).then(()=>t(624509)))},309633,e=>{e.v(t=>Promise.all(["static/chunks/110ybx1m1xgii.js"].map(t=>e.l(t))).then(()=>t(829380)))},205791,e=>{e.v(t=>Promise.all(["static/chunks/13ltt.fse~v05.js"].map(t=>e.l(t))).then(()=>t(523502)))},437810,e=>{e.v(t=>Promise.all(["static/chunks/0v_--4lrum_yw.js"].map(t=>e.l(t))).then(()=>t(428136)))},397929,e=>{e.v(t=>Promise.all(["static/chunks/18amvk3corgb9.js"].map(t=>e.l(t))).then(()=>t(291903)))},893232,e=>{e.v(t=>Promise.all(["static/chunks/0cczx5lxj7m.i.js"].map(t=>e.l(t))).then(()=>t(436143)))},875840,e=>{e.v(t=>
2Promise.all(["static/chunks/0a9qd~avck8ik.js"].map(t=>e.l(t))).then(()=>t(763139)))},865451,e=>{e.v(t=>Promise.all(["static/chunks/0mqycm9yo7s.c.js"].map(t=>e.l(t))).then(()=>t(437259)))},459761,e=>{e.v(t=>Promise.all(["static/chunks/08rgd2ci.aw3j.js"].map(t=>e.l(t))).then(()=>t(83596)))},263010,e=>{e.v(t=>Promise.all(["static/chunks/0ufe8rgto42d0.js"].map(t=>e.l(t))).then(()=>t(140857)))},612228,e=>{e.v(t=>Promise.all(["static/chunks/0sdzm9fcx4d34.js"].map(t=>e.l(t))).then(()=>t(604780)))},860355,e=>{e.v(t=>Promise.all(["static/chunks/09mgv5xoqfz.x.js"].map(t=>e.l(t))).then(()=>t(764669)))},285629,e=>{e.v(t=>Promise.all(["static/chunks/06dyjo0.oiqpu.js"].map(t=>e.l(t))).then(()=>t(542344)))},272652,e=>{e.v(t=>Promise.all(["static/chunks/15eair0vtzdkp.js"].map(t=>e.l(t))).then(()=>t(244340)))},285292,e=>{e.v(t=>Promise.all(["static/chunks/09yaozojeyre7.js"].map(t=>e.l(t))).then(()=>t(201889)))},732738,e=>{e.v(t=>Promise.all(["static/chunks/0qd3d4rzjxrdr.js"].map(t=>e.l(t))).then(()=>t(794606)))},258718,e=>{e.v(t=>Promise.all(["static/chunks/07qh1_g1_wwud.js"].map(t=>e.l(t))).then(()=>t(259864)))},967843,e=>{e.v(t=>Promise.all(["static/chunks/187hwiwmfpd9b.js"].map(t=>e.l(t))).then(()=>t(58419)))},757736,e=>{e.v(t=>Promise.all(["static/chunks/07y-b66184fyq.js"].map(t=>e.l(t))).then(()=>t(534391)))},166759,e=>{e.v(t=>Promise.all(["static/chunks/0z5s7ujcecb-6.js"].map(t=>e.l(t))).then(()=>t(268275)))},363719,e=>{e.v(t=>Promise.all(["static/chunks/0dn9hdhgtuo66.js"].map(t=>e.l(t))).then(()=>t(139685)))}]); 3 4//# debugId=76892702-9450-00d1-4cd2-e1a08a3c2e1e 5//# sourceMappingURL=0u9eb6aw3i69v.js.map
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.