1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{9181:function(e,t,a){Promise.resolve().then(a.t.bind(a,58877,23)),Promise.resolve().then(a.bind(a,67528)),Promise.resolve().then(a.bind(a,40106)),Promise.resolve().then(a.bind(a,54665)),Promise.resolve().then(a.bind(a,75797)),Promise.resolve().then(a.bind(a,38826)),Promise.resolve().then(a.bind(a,48443)),Promise.resolve().then(a.bind(a,53081)),Promise.resolve().then(a.bind(a,52804)),Promise.resolve().then(a.t.bind(a,231,23)),Promise.resolve().then(a.t.bind(a,84080,23)),Promise.resolve().then(a.t.bind(a,99731,23)),Promise.resolve().then(a.t.bind(a,42012,23))},67528:function(e,t,a){"use strict";a.d(t,{default:function(){return d}});var s=a(57437),r=a(2265),n=a(36127),l=a(87138),i=a(16463);let o="polysharks_age_verified",c=new Set(["/welcome","/ads-safe","/ads-disclaimer","/intel","/movers","/swarms"]);function d(){let e=(0,i.usePathname)(),[t,a]=(0,r.useState)(!1),[d,u]=(0,r.useState)(!0);return((0,r.useEffect)(()=>{a(!0);try{localStorage.getItem(o)||u(!1)}catch(e){u(!1)}},[]),!t||d||e&&c.has(e))?null:(0,s.jsx)("div",{className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/80 backdrop-blur-md px-4",children:(0,s.jsxs)("div",{className:"max-w-md w-full bg-[#12121a] border border-amber-500/30 rounded-xl p-6 shadow-2xl",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)("div",{className:"w-12 h-12 rounded-full bg-amber-500/20 flex items-center justify-center flex-shrink-0",children:(0,s.jsx)(n.Z,{className:"w-6 h-6 text-amber-400"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-xl font-bold text-white",children:"Age Verification"}),(0,s.jsx)("p",{className:"text-xs text-gray-500",children:"You must be 18+ to use PolySharks"})]})]}),(0,s.jsxs)("p",{className:"text-sm text-gray-300 leading-relaxed mb-4",children:["PolySharks is a prediction-market analytics platform. Use of the site requires you to be at least ",(0,s.jsx)("strong",{className:"text-amber-400",children:"18 years of age"})," (21+ in certain jurisdictions). Trading on Polymarket and Kalshi involves substantial financial risk."]}),(0,s.jsxs)("div",{className:"bg-[#0a0a12] border border-[#1e1e2e] rounded-lg p-3 mb-5 text-xs text-gray-400",children:['By clicking "I am 18 or older" you confirm you meet the age requirement and have read our'," ",(0,s.jsx)(l.default,{href:"/disclaimer",className:"text-blue-400 hover:underline",children:"Financial Disclaimer"}),","," ",(0,s.jsx)(l.default,{href:"/terms",className:"text-blue-400 hover:underline",children:"Terms"}),", and"," ",(0,s.jsx)(l.default,{href:"/privacy",className:"text-blue-400 hover:underline",children:"Privacy Policy"}),"."]}),(0,s.jsxs)("div",{className:"flex gap-3",children:[(0,s.jsx)("button",{onClick:()=>{window.location.href="https://www.google.com"},className:"flex-1 px-4 py-2.5 bg-[#1a1a2e] hover:bg-[#22223a] text-gray-300 text-sm font-semibold rounded-lg transition-colors",children:"I am under 18 â Leave"}),(0,s.jsx)("button",{onClick:()=>{try{localStorage.setItem(o,String(Date.now()))}catch(e){}u(!0)},className:"flex-1 px-4 py-2.5 bg-blue-600 hover:bg-blue-500 text-white text-sm font-semibold rounded-lg transition-colors",children:"I am 18 or older"})]})]})})}},54665:function(e,t,a){"use strict";a.d(t,{default:function(){return o}});var s=a(57437),r=a(2265);let n=(0,a(78030).Z)("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);var l=a(87138);let i="polysharks_cookie_consent";function o(){let[e,t]=(0,r.useState)(!1),[a,o]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{t(!0);try{localStorage.getItem(i)||o(!0)}catch(e){o(!0)}},[]),e&&a)?(0,s.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-[90] p-4 sm:p-6",children:(0,s.jsx)("div",{className:"max-w-4xl mx-auto bg-[#12121a] border border-[#1e1e2e] rounded-xl shadow-2xl p-4 sm:p-5",children:(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-4",children:[(0,s.jsxs)("div",{className:"flex items-start gap-3 flex-1",children:[(0,s.jsx)(n,{className:"w-5 h-5 text-amber-400 flex-shrink-0 mt-0.5"}),(0,s.jsxs)("p",{className:"text-sm text-gray-300 leading-relaxed",children:["We use strictly-necessary cookies to run PolySharks, and optional analytics cookies to improve it."," ",(0,s.jsx)(l.default,{href:"/cookie-policy",className:"text-blue-400 hover:underline",children:"Cookie Policy"}),"."]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 flex-shrink-0",children:[(0,s.jsx)("button",{onClick:()=>{try{localStorage.setItem(i,JSON.stringify({analytics:!1,marketing:!1,ts:Date.now()}))}catch(e){}try{"function"==typeof window.gtag&&window.gtag("consent","update",{ad_storage:"denied",analytics_storage:"denied",ad_user_data:"denied",ad_personalization:"denied"})}catch(e){}o(!1)},className:"px-4 py-2 bg-[#1a1a2e] hover:bg-[#22223a] text-gray-300 text-sm font-semibold rounded-lg transition-colors whitespace-nowrap",children:"Reject non-e
1ssential"}),(0,s.jsx)("button",{onClick:()=>{try{localStorage.setItem(i,JSON.stringify({analytics:!0,marketing:!1,ts:Date.now()}))}catch(e){}try{"function"==typeof window.gtag&&window.gtag("consent","update",{ad_storage:"granted",analytics_storage:"granted",ad_user_data:"granted",ad_personalization:"granted"})}catch(e){}o(!1)},className:"px-4 py-2 bg-blue-600 hover:bg-blue-500 text-white text-sm font-semibold rounded-lg transition-colors whitespace-nowrap",children:"Accept all"})]})]})})}):null}},38826:function(e,t,a){"use strict";a.d(t,{default:function(){return i}});var s=a(57437),r=a(87138),n=a(16463);let l=(0,a(78030).Z)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);function i(){let e=(0,n.usePathname)()||"/";return"/"===e||e.startsWith("/embed")||e.startsWith("/admin")?null:(0,s.jsxs)(r.default,{href:"/","aria-label":"Back to PolySharks dashboard",title:"Back to PolySharks dashboard",className:"fixed bottom-4 left-4 z-40 group inline-flex items-center gap-1.5 px-3 py-2 rounded-full bg-[#12121a]/95 backdrop-blur-md border border-[#2a2a3e] shadow-lg shadow-black/40 text-gray-300 hover:text-white hover:border-blue-500/50 hover:bg-[#161624] transition-all text-xs font-semibold",children:[(0,s.jsx)(l,{className:"w-3.5 h-3.5 flex-shrink-0 text-blue-400 group-hover:text-blue-300 transition-colors"}),(0,s.jsx)("span",{className:"hidden md:inline",children:"Dashboard"})]})}},48443:function(e,t,a){"use strict";a.d(t,{Providers:function(){return n}});var s=a(57437),r=a(46886);function n(e){let{children:t}=e;return(0,s.jsx)(r.H,{children:t})}},53081:function(e,t,a){"use strict";a.d(t,{default:function(){return r}});var s=a(2265);function r(){return(0,s.useEffect)(()=>{if(!("serviceWorker"in navigator))return;let e=()=>{navigator.serviceWorker.register("/sw.js",{scope:"/"}).catch(e=>{})};"complete"===document.readyState?e():window.addEventListener("load",e,{once:!0})},[]),null}},52804:function(e,t,a){"use strict";a.d(t,{default:function(){return c}});var s=a(57437),r=a(2265),n=a(94207),l=a(74697),i=a(23787);let o="polysharks_ticker_dismissed_at";function c(){let[e,t]=(0,r.useState)([]),[a,c]=(0,r.useState)(0),[d,u]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{try{let e=Number(localStorage.getItem(o)||0);e&&Date.now()-e<216e5&&u(!0)}catch(e){}},[]),(0,r.useEffect)(()=>{if(d)return;let e=!1;async function a(){try{let a=await fetch("/api/live?limit=12",{cache:"no-store"}),s=await a.json(),r=((null==s?void 0:s.events)||[]).filter(e=>Number(e.size)>=1e3);if(e)return;r.length>0&&t(r.slice(0,12))}catch(e){}}a();let s=setInterval(a,6e4);return()=>{e=!0,clearInterval(s)}},[d]),(0,r.useEffect)(()=>{if(e.length<=1)return;let t=setInterval(()=>c(t=>(t+1)%e.length),8e3);return()=>clearInterval(t)},[e.length]),d||0===e.length)return null;let m=e[a%e.length],h="YES"===m.side||"BUY"===m.side?"text-emerald-400":"text-amber-400",x=m.market_slug?"https://polymarket.com/event/".concat(m.market_slug):null;return(0,s.jsx)("div",{className:"fixed bottom-4 right-4 z-40 max-w-[360px] w-[calc(100%-32px)] sm:w-[360px] pointer-events-auto",children:(0,s.jsxs)("div",{className:"rounded-2xl border border-emerald-500/30 bg-gradient-to-br from-[#0d0d18] via-[#0a0a14] to-[#08080f] backdrop-blur-md shadow-[0_8px_40px_-12px_rgba(16,185,129,0.35)] p-3.5",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,s.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-emerald-400 opacity-75"}),(0,s.jsx)("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-emerald-500"})]}),(0,s.jsx)(n.Z,{className:"w-3 h-3 text-emerald-400"}),(0,s.jsx)("span",{className:"text-[10px] font-bold tracking-[0.18em] text-emerald-400 uppercase",children:"Live Whale Activity"})]}),(0,s.jsx)("button",{onClick:function(){u(!0);try{localStorage.setItem(o,String(Date.now()))}catch(e){}},className:"text-gray-600 hover:text-gray-300 -mr-1","aria-label":"Dismiss for 6 hours",title:"Dismiss for 6 hours",children:(0,s.jsx)(l.Z,{className:"w-3.5 h-3.5"})})]}),(0,s.jsxs)("a",{href:x||"/",target:x?"_blank":"_self",rel:"noopener noreferrer",className:"block group",children:[(0,s.jsxs)("div",{className:"text-[12px] text-white leading-snug mb-1.5 line-clamp-2 group-hover:text-emerald-200 transition",children:[(0,s.jsx)("span",{className:"font-bold",children:function(e){let t=e.username||"";if(!t||/^0x[a-f0-9]{40}-?\d*$/i.test(t)||t.length>24){let t=e.wallet||"";return t?"".concat(t.slice(0,6),"â¦").concat(t.slice(-4)):"Whale"}return t}(m)})," ",(0,s.jsx)("span",{className:"text-gray-400",children:"put"})," ",(0,s.jsx)("span",{className:"font-bold tabular-nums text-white",children:function(e){let t=Number(e)||0;return t>=1e6?"$".concat((t/1e6).toFixed(2),"M"):t>=1e3?"$".concat((t/1e3).toFixed(1),"K"):"$".concat(t.toFixed(0))}(m.size)})," ",(0,s.jsx)("span",{className:"font-bold ".concat(h),children:m.side})," ",(0,s.jsxs)("span",{className:"text-gray-400",children:["@ ",Math.round(100*(m.price||0)),"\xa2 on"]})]}),(0,s.jsx)("div",{className:"text-[11px] text-gray-300 leading-snug line-clamp-2 mb-2",children:m.market_question}),(0,s.jsxs)("div",{className:"flex items-center justify-between text-[10px]",children:[(0,s.jsx)("span",{className:"text-gray-500",children:function(e){if(!e)return"";let t=new Date(e).getTime();if(!Number.isFinite(t))return"";let a=Math.floor(Math.max(0,Date.now()-t)/6e4);if(a<1)return"just now";if(a<60)return"".concat(a,"m ago");let s=Math.floor(a/60);return s<24?"".concat(s,"h ago"):"".concat(Math.floor(s/24),"d ago")}(m.timestamp)}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[e.length>1&&(0,s.jsxs)("span",{className:"text-gray-600 tabular-nums",children:[a%e.length+1," / ",e.length]}),x&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-0.5 text-emerald-400 group-hover:translate-x-0.5 transition",children:["open ",(0,s.jsx)(i.Z,{className:"w-2.5 h-2.5"})]})]})]})]}),(0,s.jsxs)("div",{className:"mt-2 pt-2 border-t border-[#1a1a2e] flex items-center justify-between gap-2",children:[(0,s.jsx)("span",{className:"text-[9px] text-gray-600 leading-tight",children:"On-chain \xb7 Information only \xb7 Not financial advice"}),(0,s.jsx)("a",{href:"/",className:"text-[10px] font-bold text-emerald-400 hover:text-emerald-300 whitespace-nowrap",children:"See all â"})]})]})})}},40106:function(e,t,a){"use strict";a.d(t,{default:function(){return n}});
1var s=a(2265),r=a(16463);function n(){let e=(0,r.usePathname)();return(0,s.useEffect)(()=>{let t;if("/auth/reset-password"===e)return;let a=window.location.hash;if(!a||a.length<2)return;try{t=new URLSearchParams(a.slice(1))}catch(e){return}let s=t.get("type"),r=t.get("access_token");"recovery"===s&&r&&window.location.replace("/auth/reset-password"+a)},[e]),null}},58877:function(){},42012:function(e){e.exports={style:{fontFamily:"'__JetBrains_Mono_f9e569', '__JetBrains_Mono_Fallback_f9e569'",fontStyle:"normal"},className:"__className_f9e569",variable:"__variable_f9e569"}},99731:function(e){e.exports={style:{fontFamily:"'__Plus_Jakarta_Sans_a11773', '__Plus_Jakarta_Sans_Fallback_a11773'",fontStyle:"normal"},className:"__className_a11773",variable:"__variable_a11773"}}},function(e){e.O(0,[404,8342,9351,3335,1744],function(){return e(e.s=9181)}),_N_E=e.O()}]);
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.