1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[103,8507],{72506:function(e,t,n){Promise.resolve().then(n.bind(n,28102))},28102:function(e,t,n){"use strict";n.d(t,{BacktestContent:function(){return h}});var r=n(27573),l=n(20582),i=n(67754),s=n(87659),a=n(32010),o=n(35586),c=n(6741),u=n(5191),d=n(71486);let f=(0,l.default)(()=>n.e(3913).then(n.bind(n,63913)).then(e=>e.BacktestMarketSearch),{loadableGenerated:{webpack:()=>[63913]},ssr:!1,loading:()=>(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("div",{className:"h-11 rounded-lg bg-white/5 border border-white/10 animate-pulse"}),(0,r.jsx)("div",{className:"h-14 rounded-xl bg-white/5 border border-white/10 animate-pulse"}),(0,r.jsx)("div",{className:"h-4 w-48 rounded bg-white/5 animate-pulse"})]})});function h(){let e=(0,i.useSearchParams)(),{conditionId:t,conditionIds:n,eventSlug:l,title:h}=(0,o.YW)({conditionId:e.get("conditionId"),conditionIds:e.get("conditionIds"),eventSlug:e.get("eventSlug"),title:e.get("title")}),x=e.get("editBasket")||void 0;if(!(t||(null==n?void 0:n.length)||l))return(0,r.jsx)("div",{className:"min-h-screen bg-zinc-950 text-white",children:(0,r.jsxs)("div",{className:"max-w-4xl mx-auto px-4 py-16 space-y-8",children:[(0,r.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-6",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("h1",{className:"text-3xl font-bold text-white",children:"Historical Backtest"}),(0,r.jsx)("p",{className:"text-lg text-white/50",children:"Replay how whale trades and smart-money flows played out on any Polymarket market."})]}),(0,r.jsxs)(s.default,{href:"/backtest/globe",className:"group relative flex items-center gap-3 rounded-2xl border border-blue-500/30 bg-blue-500/10 px-5 py-4 transition-all hover:border-blue-500/50 hover:bg-blue-500/20",children:[(0,r.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-blue-500 text-white shadow-[0_0_15px_rgba(59,130,246,0.5)] group-hover:scale-110 transition-transform",children:(0,r.jsx)(d.Z,{size:20})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-sm font-bold text-white",children:"Historical Globe"}),(0,r.jsx)("div",{className:"text-[11px] text-blue-400/80 uppercase tracking-widest",children:"3D Signal Replay"})]})]})]}),(0,r.jsx)(f,{editBasket:x}),(0,r.jsxs)("p",{className:"text-sm text-white/30 flex items-center gap-1.5",children:["Or open any market page and click the",(0,r.jsx)(c.Z,{size:14,className:"inline text-white/40","aria-hidden":"true"}),"icon."]})]})});let m=(null==n?void 0:n.length)?"/backtest?editBasket=".concat(n.join(",")):"/backtest";return(0,r.jsx)("div",{className:"min-h-screen bg-zinc-950 text-white",children:(0,r.jsxs)("div",{className:"max-w-4xl mx-auto px-4 py-8 space-y-4",children:[(0,r.jsxs)(s.default,{href:m,className:"inline-flex items-center gap-1 text-sm text-white/40 hover:text-white/70 transition-colors",children:[(0,r.jsx)(u.Z,{size:14}),"Change market"]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-2xl font-bold text-white/80",children:"Historical Backtest"}),h&&(0,r.jsx)("p",{className:"text-base text-white/50 mt-1",children:h})]}),(0,r.jsx)(a.BacktestPanel,{conditionId:t,conditionIds:n,eventSlug:l,title:h})]})})}},59565:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7653);/** 2 * @license lucide-react v0.428.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */let l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&n.indexOf(e)===t).join(" ")};/** 7 * @license lucide-react v0.428.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */var s={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"};/** 12 * @license lucide-react v0.428.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */let a=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:l=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:c="",children:u,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...s,width:l,height:l,stroke:n,strokeWidth:o?24*Number(a)/Number(l):a,className:i("lucide",c),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(u)?u:[u]])}),o=(e,t)=>{let n=(0,r.forwardRef)((n,s)=>{let{className:o,...c}=n;return(0,r.createElement)(a,{ref:s,iconNode:t,className:i("lucide-".concat(l(e)),o),...c})});return n.displayName="".concat(e),n}},6741:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/** 17 * @license lucide-react v0.428.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */let r=(0,n(59565).Z)("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},2366:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/** 22 * @license lucide-react v0.428.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */let r=(0,n(59565).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},5191:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/** 27 * @license lucide-react v0.428.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */let r=(0,n(59565).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},13173:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/** 32 * @license lucide-react v0.428.0 - ISC 33 * 34 * This source code is licensed under the ISC license. 35 * See the LICENSE file in the root directory of this source tree. 36 */let r=(0,n(59565).Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},60401:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/** 37 * @license lucide-react v0.428.0 - ISC 38 * 39 * This source code is licensed under the ISC license. 40 * See the LICENSE file in the root directory of this source tree. 41 */let r=(0,n(59565).Z)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},71679:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/** 42 * @license lucide-react v0.428.0 - ISC 43 * 44 * This source code is licensed under the ISC license. 45 * See the LICENSE file in the root directory of this source tree. 46 */let r=(0,n(59565).Z)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},71486:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/** 47 * @license lucide-react v0.428.0 - ISC 48 * 49 * This source code is licensed under the ISC license. 50 * See the LICENSE file in the root directory of this source tree. 51 */let r=(0,n(59565).Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},78327:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/** 52 * @license lucide-react v0.428.0 - ISC 53 * 54 * This source code is licensed under the ISC license. 55 * See the LICENSE file in the root directory of this source tree. 56 */let r=(0,n(59565).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},71864:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/** 57 * @license lucide-react v0.428.0 - ISC 58 * 59 * This source code is licensed under the ISC license. 60 * See the LICENSE file in the root directory of this source tree. 61 */let r=(0,n(59565).Z)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},20582:function(e,t,n){"use strict";n.d(t,{default:function(){return l.a}});var r=n(31727),l=n.n(r)},87659:function(e,t,n){"use strict";n.d(t,{default:function(){return l.a}});var r=n(65469),l=n.n(r)},67754:function(e,t,n){"use strict";var r=n(534);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},31727:function(e,t,n){"use strict";
61Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(84732);n(27573),n(7653);let l=r._(n(19484));function i(e,t){var n;let r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};"function"==typeof e&&(r.loader=e);let i={...r,...t};return(0,l.default)({...i,modules:null==(n=i.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},897:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return l}});let r=n(86463);function l(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new r.BailoutToCSRError(t);return n}},19484:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let r=n(27573),l=n(7653),i=n(897),s=n(30697);function a(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(a(()=>null)),loading:null,ssr:!0},c=function(e){let t={...o,...e},n=(0,l.lazy)(()=>t.loader().then(a)),c=t.loading;function u(e){let a=c?(0,r.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,o=t.ssr?(0,r.jsxs)(r.Fragment,{children:["undefined"==typeof window?(0,r.jsx)(s.PreloadCss,{moduleIds:t.modules}):null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(l.Suspense,{fallback:a,children:o})}return u.displayName="LoadableComponent",u}},30697:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return i}});let r=n(27573),l=n(51458);function i(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=(0,l.getExpectedRequestStore)("next/dynamic css"),i=[];if(n.reactLoadableManifest&&t){let e=n.reactLoadableManifest;for(let n of t){if(!e[n])continue;let t=e[n].files.filter(e=>e.endsWith(".css"));i.push(...t)}}return 0===i.length?null:(0,r.jsx)(r.Fragment,{children:i.map(e=>(0,r.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:n.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}}},function(e){e.O(0,[5469,2010,1293,8659,1744],function(){return e(e.s=72506)}),_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.