1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,488143,(e,t,s)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:s,blurHeight:r,blurDataURL:a,objectFit:i}){let n=s?40*s:e,l=r?40*r:t,o=n&&l?`viewBox='0 0 ${n} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${o}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${o?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${a}'/%3E%3C/svg%3E`}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})}
1,987690,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return n}};for(var a in r)Object.defineProperty(s,a,{enumerable:!0,get:r[a]});let i=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1}},908927,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getImgProps",{enumerable:!0,get:function(){return d}}),e.r(233525);let r=e.r(543369),a=e.r(488143),i=e.r(987690),n=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function d({src:e,sizes:t,unoptimized:s=!1,priority:d=!1,preload:c=!1,loading:m,className:x,quality:h,width:u,height:p,fill:f=!1,style:g,overrideSrc:b,onLoad:y,onLoadingComplete:v,placeholder:j="empty",blurDataURL:w,fetchPriority:N,decoding:k="async",layout:S,objectFit:C,objectPosition:E,lazyBoundary:F,lazyRoot:_,...P},A){var I;let T,L,M,{imgConf:R,showAltText:O,blurComplete:U,defaultLoader:B}=A,D=R||i.imageConfigDefault;if("allSizes"in D)T=D;else{let e=[...D.deviceSizes,...D.imageSizes].sort((e,t)=>e-t),t=D.deviceSizes.sort((e,t)=>e-t),s=D.qualities?.sort((e,t)=>e-t);T={...D,allSizes:e,deviceSizes:t,qualities:s}}if(void 0===B)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let z=P.loader||B;delete P.loader,delete P.srcSet;let $="__next_img_default"in z;if($){if("custom"===T.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. 2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=z;z=t=>{let{config:s,...r}=t;return e(r)}}if(S){"fill"===S&&(f=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[S];e&&(g={...g,...e});let s={responsive:"100vw",fill:"100vw"}[S];s&&!t&&(t=s)}let W="",H=o(u),G=o(p);if((I=e)&&"object"==typeof I&&(l(I)||void 0!==I.src)){let t=l(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(L=t.blurWidth,M=t.blurHeight,w=w||t.blurDataURL,W=t.src,!f)if(H||G){if(H&&!G){let e=H/t.width;G=Math.round(t.height*e)}else if(!H&&G){let e=G/t.height;H=Math.round(t.width*e)}}else H=t.width,G=t.height}let q=!d&&!c&&("lazy"===m||void 0===m);(!(e="string"==typeof e?e:W)||e.startsWith("data:")||e.startsWith("blob:"))&&(s=!0,q=!1),T.unoptimized&&(s=!0),$&&!T.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(s=!0);let Y=o(h),X=Object.assign(f?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:C,objectPosition:E}:{},O?{}:{color:"transparent"},g),V=U||"empty"===j?null:"blur"===j?`url("data:image/svg+xml;charset=utf-8,${(0,a.getImageBlurSvg)({widthInt:H,heightInt:G,blurWidth:L,blurHeight:M,blurDataURL:w||"",objectFit:X.objectFit})}")`:`url("${j}")`,Q=n.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,K=V?{backgroundSize:Q,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{},Z=function({config:e,src:t,unoptimized:s,width:a,quality:i,sizes:n,loader:l}){if(s){let e=(0,r.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")&&e){let s=t.includes("?")?"&":"?";t=`${t}${s}dpl=${e}`}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:d}=function({deviceSizes:e,allSizes:t},s,r){if(r){let s=/(^|\s)(1?\d?\d)vw/g,a=[];for(let e;e=s.exec(r);)a.push(parseInt(e[2]));if(a.length){let s=.01*Math.min(...a);return{widths:t.filter(t=>t>=e[0]*s),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof s?{widths:e,kind:"w"}:{widths:[...new Set([s,2*s].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,a,n),c=o.length-1;return{sizes:n||"w"!==d?n:"100vw",srcSet:o.map((s,r)=>`${l({config:e,src:t,quality:i,width:s})} ${"w"===d?s:r+1}${d}`).join(", "),src:l({config:e,src:t,quality:i,width:o[c]})}}({config:T,src:e,unoptimized:s,width:H,quality:Y,sizes:t,loader:z}),J=q?"lazy":m;return{props:{...P,loading:J,fetchPriority:N,width:H,height:G,decoding:k,className:x,style:{...X,...K},sizes:Z.sizes,srcSet:Z.srcSet,src:b||Z.src},meta:{unoptimized:s,preload:c||d,placeholder:j,fill:f}}}},898879,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return l}});let r=e.r(271645),a="u"<typeof window,i=a?()=>{}:r.useLayoutEffect,n=a?()=>{}:r.useEffect;function l(e){let{headManager:t,reduceComponentsToState:s}=e;function l(){if(t&&t.mountedInstances){let e=r.Children.toArray(Array.from(t.mountedInstances).filter(
2Boolean));t.updateHead(s(e))}}return a&&(t?.mountedInstances?.add(e.children),l()),i(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),i(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),n(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},325633,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={default:function(){return p},defaultHead:function(){return m}};for(var a in r)Object.defineProperty(s,a,{enumerable:!0,get:r[a]});let i=e.r(555682),n=e.r(190809),l=e.r(843476),o=n._(e.r(271645)),d=i._(e.r(898879)),c=e.r(742732);function m(){return[(0,l.jsx)("meta",{charSet:"utf-8"},"charset"),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function x(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(233525);let h=["name","httpEquiv","charSet","itemProp"];function u(e){let t,s,r,a;return e.reduce(x,[]).reverse().concat(m().reverse()).filter((t=new Set,s=new Set,r=new Set,a={},e=>{let i=!0,n=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){n=!0;let s=e.key.slice(e.key.indexOf("$")+1);t.has(s)?i=!1:t.add(s)}switch(e.type){case"title":case"base":s.has(e.type)?i=!1:s.add(e.type);break;case"meta":for(let t=0,s=h.length;t<s;t++){let s=h[t];if(e.props.hasOwnProperty(s))if("charSet"===s)r.has(s)?i=!1:r.add(s);else{let t=e.props[s],r=a[s]||new Set;("name"!==s||!n)&&r.has(t)?i=!1:(r.add(t),a[s]=r)}}}return i})).reverse().map((e,t)=>{let s=e.key||t;return o.default.cloneElement(e,{key:s})})}let p=function({children:e}){let t=(0,o.useContext)(c.HeadManagerContext);return(0,l.jsx)(d.default,{reduceComponentsToState:u,headManager:t,children:e})};("function"==typeof s.default||"object"==typeof s.default&&null!==s.default)&&void 0===s.default.__esModule&&(Object.defineProperty(s.default,"__esModule",{value:!0}),Object.assign(s.default,s),t.exports=s.default)},918556,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let r=e.r(555682)._(e.r(271645)),a=e.r(987690),i=r.default.createContext(a.imageConfigDefault)},65856,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"RouterContext",{enumerable:!0,get:function(){return r}});let r=e.r(555682)._(e.r(271645)).default.createContext(null)},670965,(e,t,s)=>{"use strict";function r(e,t){let s=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-s)<Math.abs(e-s)?t:e,0):s}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"findClosestQuality",{enumerable:!0,get:function(){return r}})},1948,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return n}});let r=e.r(670965),a=e.r(543369);function i({config:e,src:t,width:s,quality:i}){if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. 3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let n=(0,r.findClosestQuality)(i,e),l=(0,a.getDeploymentId)();return`${e.path}?url=${encodeURIComponent(t)}&w=${s}&q=${n}${t.startsWith("/")&&l?`&dpl=${l}`:""}`}i.__next_img_default=!0;let n=i},605500,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"Image",{enumerable:!0,get:function(){return v}});let r=e.r(555682),a=e.r(190809),i=e.r(843476),n=a._(e.r(271645)),l=r._(e.r(174080)),o=r._(e.r(325633)),d=e.r(908927),c=e.r(987690),m=e.r(918556);e.r(233525);let x=e.r(65856),h=r._(e.r(1948)),u=e.r(818581),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qual
3ities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function f(e,t,s,r,a,i,n){let l=e?.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&a(!0),s?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,a=!1;s.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>a,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{a=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function g(e){return n.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,n.forwardRef)(({src:e,srcSet:t,sizes:s,height:r,width:a,decoding:l,className:o,style:d,fetchPriority:c,placeholder:m,loading:x,unoptimized:h,fill:p,onLoadRef:b,onLoadingCompleteRef:y,setBlurComplete:v,setShowAltText:j,sizesInput:w,onLoad:N,onError:k,...S},C)=>{let E=(0,n.useCallback)(e=>{e&&(k&&(e.src=e.src),e.complete&&f(e,m,b,y,v,h,w))},[e,m,b,y,v,k,h,w]),F=(0,u.useMergedRef)(C,E);return(0,i.jsx)("img",{...S,...g(c),loading:x,width:a,height:r,decoding:l,"data-nimg":p?"fill":"1",className:o,style:d,sizes:s,srcSet:t,src:e,ref:F,onLoad:e=>{f(e.currentTarget,m,b,y,v,h,w)},onError:e=>{j(!0),"empty"!==m&&v(!0),k&&k(e)}})});function y({isAppRouter:e,imgAttributes:t}){let s={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return e&&l.default.preload?(l.default.preload(t.src,s),null):(0,i.jsx)(o.default,{children:(0,i.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...s},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,n.forwardRef)((e,t)=>{let s=(0,n.useContext)(x.RouterContext),r=(0,n.useContext)(m.ImageConfigContext),a=(0,n.useMemo)(()=>{let e=p||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),s=e.deviceSizes.sort((e,t)=>e-t),a=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:s,qualities:a,localPatterns:"u"<typeof window?r?.localPatterns:e.localPatterns}},[r]),{onLoad:l,onLoadingComplete:o}=e,u=(0,n.useRef)(l);(0,n.useEffect)(()=>{u.current=l},[l]);let f=(0,n.useRef)(o);(0,n.useEffect)(()=>{f.current=o},[o]);let[g,v]=(0,n.useState)(!1),[j,w]=(0,n.useState)(!1),{props:N,meta:k}=(0,d.getImgProps)(e,{defaultLoader:h.default,imgConf:a,blurComplete:g,showAltText:j});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b,{...N,unoptimized:k.unoptimized,placeholder:k.placeholder,fill:k.fill,onLoadRef:u,onLoadingCompleteRef:f,setBlurComplete:v,setShowAltText:w,sizesInput:e.sizes,ref:t}),k.preload?(0,i.jsx)(y,{isAppRouter:!s,imgAttributes:N}):null]})});("function"==typeof s.default||"object"==typeof s.default&&null!==s.default)&&void 0===s.default.__esModule&&(Object.defineProperty(s.default,"__esModule",{value:!0}),Object.assign(s.default,s),t.exports=s.default)},794909,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={default:function(){return c},getImageProps:function(){return d}};for(var a in r)Object.defineProperty(s,a,{enumerable:!0,get:r[a]});let i=e.r(555682),n=e.r(908927),l=e.r(605500),o=i._(e.r(1948));function d(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,s]of Object.entries(t))void 0===s&&delete t[e];return{props:t}}let c=l.Image},657688,(e,t,s)=>{t.exports=e.r(794909)},173447,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(522016),a=e.i(677472),i=e.i(549558),n=e.i(642619),l=e.i(835177),o=e.i(315098);let d="Tech stocks with bullish upcoming earnings";function c(){let[e,r]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let e=window.setInterval(()=>r(e=>!e),530);return()=>window.clearInterval(e)},[]),(0,t.jsx)("span",{className:"ml-0.5 inline-block h-[1.05em] w-[2px] bg-[#3F4F70] align-middle motion-reduce:opacity-100",style:{opacity:+!!e},"aria-hidden":!0})}function m(e){return`/moves?ticker=${encodeURIComponent(e)}`}function x({rows:e=o.SHORTLIST_LANDING_SAMPLE_ROWS}
3){let[x,h]=(0,s.useState)(o.LANDING_SHORTLIST_DEMO_UI),[u,p]=(0,s.useState)(null),f=(0,s.useRef)(null),g=(0,s.useMemo)(()=>Object.keys(l.GICS_INDUSTRY_TO_SECTOR),[]),b=(0,s.useCallback)(e=>{p(t=>t===e?null:e)},[]);return(0,t.jsxs)("div",{className:"flex h-full min-h-0 min-w-0 flex-col overflow-hidden rounded-2xl border-2 border-gray-200 bg-theme-bg shadow-lg md:min-h-[520px]",children:[(0,t.jsx)("div",{className:"shrink-0 border-b border-gray-200 p-2 sm:p-3 md:p-4",children:(0,t.jsx)("div",{className:"rounded-[1.75rem] border border-gray-300 bg-white shadow-inner dark:bg-[#0B0E14] flex flex-col overflow-hidden",children:(0,t.jsx)("div",{className:"relative min-h-0 p-3 md:p-5",children:(0,t.jsxs)("div",{role:"textbox","aria-readonly":"true","aria-label":`Demo only: ${d}`,className:"min-h-[3.25rem] w-full cursor-default select-none px-0.5 py-1 text-base font-sans leading-snug text-[#3F4F70] md:min-h-[4.25rem] md:text-[17px]",children:[d,(0,t.jsx)(c,{})]})})})}),(0,t.jsx)("div",{className:"max-h-[min(280px,42svh)] shrink-0 overflow-y-auto overscroll-contain px-2 pb-2 pt-2 sm:px-3 md:max-h-none md:overflow-visible md:p-4",children:(0,t.jsx)(a.ShortlistFiltersBar,{ui:x,setUi:h,openPanel:u,togglePanel:b,filterBarRef:f,industryOptions:g,loading:!1,runScreen:()=>{},fullShortlist:!0,persistFilterHighlight:!0,whistleHref:(0,i.shortlistPath)(),whistleLinkTarget:"_top",onWhistleNavigate:()=>(function(e){try{sessionStorage.setItem(n.SHORTLIST_LANDING_HANDOFF_KEY,JSON.stringify({ui:e,fromLandingDemo:!0}))}catch{}})(x)})}),(0,t.jsx)("div",{className:"scrollbar-on-hover flex flex-1 min-h-0 flex-col gap-2 overflow-y-auto px-2 pb-2 md:hidden sm:px-3",children:e.map(e=>(0,t.jsxs)("div",{className:"rounded-lg border border-gray-200 bg-white p-3 dark:border-white/10 dark:bg-[#0B0E14]",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsx)(r.default,{href:m(e.ticker),target:"_top",rel:"noopener noreferrer",className:"font-sans text-base font-bold text-[#0E56F0] dark:text-blue-400",children:e.ticker}),(0,t.jsx)("span",{className:"shrink-0 text-sm font-bold text-green-700 dark:text-green-400",children:null==e.bullPct?"â":`${Math.round(e.bullPct)}% bull`})]}),(0,t.jsx)("p",{className:"mt-1 text-sm leading-snug text-theme-text/90",children:e.company}),(0,t.jsxs)("div",{className:"mt-2 flex flex-wrap gap-x-2 gap-y-1 text-xs text-theme-text/75",children:[(0,t.jsx)("span",{children:e.industry}),(0,t.jsx)("span",{className:"text-theme-text/40","aria-hidden":!0,children:"·"}),(0,t.jsx)("span",{className:"whitespace-nowrap",children:e.eventDate})]}),(0,t.jsxs)("p",{className:"mt-2 text-right font-mono text-xs text-theme-text/85",children:["Exp. EPS ",(0,t.jsx)("span",{className:"font-semibold",children:e.eps})]})]},e.ticker))}),(0,t.jsx)("div",{className:"hidden min-h-0 flex-1 flex-col px-2 pb-2 md:flex md:px-4 md:pb-4",children:(0,t.jsx)("div",{className:"scrollbar-on-hover max-h-[300px] min-h-0 flex-1 overflow-x-auto overflow-y-auto rounded-lg border border-gray-200 bg-white dark:bg-[#0B0E14]",children:(0,t.jsxs)("table",{className:"w-full min-w-[640px] text-left text-sm",children:[(0,t.jsx)("thead",{className:"sticky top-0 border-b border-gray-200 bg-gray-100 text-[10px] font-bold uppercase text-gray-600 dark:border-white/10 dark:bg-white/5 dark:text-gray-400",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"px-3 py-2",children:"Ticker"}),(0,t.jsx)("th",{className:"px-3 py-2",children:"Company"}),(0,t.jsx)("th",{className:"px-3 py-2",children:"Industry"}),(0,t.jsx)("th",{className:"px-3 py-2",children:"Event"}),(0,t.jsx)("th",{className:"px-3 py-2 text-right",children:"Bull %"}),(0,t.jsx)("th",{className:"px-3 py-2 text-right",children:"Exp. EPS"})]})}),(0,t.jsx)("tbody",{className:"divide-y divide-gray-200 dark:divide-white/10",children:e.map(e=>(0,t.jsxs)("tr",{className:"hover:bg-gray-50 dark:hover:bg-white/5",children:[(0,t.jsx)("td",{className:"px-3 py-2",children:(0,t.jsx)(r.default,{href:m(e.ticker),target:"_top",rel:"noopener noreferrer",className:"font-sans font-bold text-[#0E56F0] dark:text-blue-400 hover:underline",children:e.ticker})}),(0,t.jsx)("td",{className:"max-w-[160px] truncate px-3 py-2 text-theme-text/90",children:e.company}),(0,t.jsx)("td",{className:"px-3 py-2 text-xs text-theme-text/75",children:e.industry}),(0,t.jsx)("td",{className:"whitespace-nowrap px-3 py-2 text-xs text-theme-text/80",children:e.eventDate}),(0,t.jsx)("td",{className:"px-3 py-2 text-right font-bold text-green-700 dark:text-green-400",children:null==e.bullPct?"â":`${Math.round(e.bullPct)}%`}),(0,t.jsx)("td",{className:"px-3 py-2 text-right font-mono text-xs text-theme-text",children:e.eps})]},e.ticker))})]})})})]})}e.s(["LandingShortlistDemo",()=>x])},45146,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(770703),a=e.i(657688),i=e.i(37727),n=e.i(263488),l=e.i(270756),o=e.i(107233),d=e.i(299023),
3c=e.i(463059),m=e.i(239616),x=e.i(292270),h=e.i(991799),u=e.i(897250),p=e.i(286536),f=e.i(77705),g=e.i(492161),b=e.i(541071),y=e.i(383157),v=e.i(923102),j=e.i(551348),w=e.i(522016),N=e.i(147855),k=e.i(618566),S=e.i(912313),C=e.i(85939),E=e.i(880492),F=e.i(62474),_=e.i(919291),P=e.i(750837),A=e.i(97511),I=e.i(921737),T=e.i(389057),L=e.i(66009),M=e.i(3592),R=e.i(176967),O=e.i(200650),U=e.i(761310),B=e.i(360117);e.i(173447);var D=e.i(315098),z=e.i(642619),$=e.i(549558),W=e.i(954290),H=e.i(190343),G=e.i(449391),q=e.i(263676),Y=e.i(851246);let X=[{question:"What is Scouter?",answer:"Scouter is an advanced financial intelligence platform built to help self-directed traders find, analyze, and track high-conviction trade setups. By combining institutional-grade market data with proprietary AI models, we deliver forward-looking price projections, catalyst tracking, and sentiment analysisâall in one streamlined interface. Our goal is to give individual traders the institutional-style research they need to trade with confidence.",body:[{type:"p",inlines:[{type:"text",value:"Scouter is an advanced financial intelligence platform built to help self-directed traders find, analyze, and track high-conviction trade setups. By combining institutional-grade market data with proprietary AI models, we deliver forward-looking price projections, catalyst tracking, and sentiment analysisâall in one streamlined interface. Our goal is to give individual traders the institutional-style research they need to trade with confidence."}]}]},{question:"Who is Scouter built for?",answer:"Scouter is built for individual traders, options strategies enthusiasts, and self-directed investors who want to move beyond lagging indicators and emotional trading. Whether you are looking for the next big swing trade, sizing up an earnings play, or building a long-term watchlist, Scouter gives you the data-driven signals and structural market context to make more informed decisions.",body:[{type:"p",inlines:[{type:"text",value:"Scouter is built for individual traders, options strategies enthusiasts, and self-directed investors who want to move beyond lagging indicators and emotional trading. Whether you are looking for the next big swing trade, sizing up an earnings play, or building a long-term watchlist, Scouter gives you the data-driven signals and structural market context to make more informed decisions."}]}]},{question:'What are "Expected Moves" and how do they work?',answer:"Expected Moves are AI-powered, forward-looking price targetsâspecifically a Bull Target and a Bear Floorâcalculated for upcoming major stock catalysts (like earnings prints, product launches, or regulatory decisions). Instead of reacting to news after it breaks, Scouter synthesizes historical (realized) price volatility, catalyst modeling, and fundamental metrics to map a bull/bear range around the event. This is a research aid for setting risk context before the news prints â not options implied volatility or a buy/sell instruction.",body:[{type:"p",inlines:[{type:"text",value:"Expected Moves are AI-powered, forward-looking price targetsâspecifically a Bull Target and a Bear Floorâcalculated for upcoming major stock catalysts (like earnings prints, product launches, or regulatory decisions)."}]},{type:"p",inlines:[{type:"text",value:"Instead of reacting to news after it breaks, Scouter synthesizes historical (realized) price volatility, catalyst modeling, and fundamental metrics to map a bull/bear range around the event. This is a research aid for setting risk context before the news prints. Learn more on our "},{type:"link",href:"/moves",label:"Expected Moves page"},{type:"text",value:"."}]}]},{question:"What other research features does Scouter offer?",answer:"Beyond Expected Moves, Scouter provides Trend Scores (momentum scoring across clearance, hype, and catalysts), Starting Lineup (portfolio catalyst feed), and Top Ideas (curated high-conviction setups from market-wide AI analyses, Premium only).",body:[{type:"p",inlines:[{type:"text",value:"Beyond Expected Moves, Scouter provides a full suite of intelligence tools:"}]},{type:"ul",items:[{term:"Trend Scores",termHref:"/trend-scores",description:"We score clearance (how clear the path is), market hype, and fundamental catalysts to gauge a theme's underlying momentum."}
3,{term:"Starting Lineup",termHref:"/starting-lineup",description:"Track your personal portfolio holdings with a dedicated catalyst feed."},{term:"Top Ideas",termHref:"/top-ideas",description:"Access a curated feed of high-conviction setups pulled from our market-wide AI analyses (Premium only)."}]}]},{question:"What stock symbols and assets can I search for?",answer:"You can search 10,000+ tickers â all stocks on major U.S. exchanges, plus ETFs and major indices â by typing the company name or ticker symbol (e.g., Nvidia, AAPL, SPY) into our search bar. We cover everything from mega-cap tech giants to small-cap biotech companies undergoing clinical trials.",body:[{type:"p",inlines:[{type:"text",value:"You can search 10,000+ tickers â all stocks on major U.S. exchanges, plus ETFs and major indices â by typing the company name or ticker symbol (e.g., Nvidia, AAPL, SPY) into our search bar. We cover everything from mega-cap tech giants to small-cap biotech companies undergoing clinical trials."}]}]},{question:"Is there a free trial?",answer:"Yes. New customers start a 30-day free trial of Starter ($8/month) or Premium ($19/month, or $15.83/month billed annually). A credit card is required at signup. You will not be charged until the trial ends unless you cancel first.",body:[{type:"p",inlines:[{type:"text",value:"New customers start a 30-day free trial of Starter or Premium. A credit card is required. Cancel before the trial ends to avoid being charged. See our "},{type:"link",href:"/pricing",label:"Pricing page"},{type:"text",value:"."}]}]},{question:"What are the paid plans and how do I start?",answer:"We offer two paid tiers: Starter ($8/month) includes unlimited Expected Moves analyses, detailed Trend Scores breakdowns, and full Starting Lineup portfolio tracking. Premium ($19/month, or $15.83/month billed annually) unlocks Top Ideas. Start a 30-day free trial on our Pricing page.",body:[{type:"p",inlines:[{type:"text",value:"We offer two paid tiers. View full details and start a trial on our "},{type:"link",href:"/pricing",label:"Pricing Page"},{type:"text",value:":"}]},{type:"p",inlines:[{type:"text",value:"Starter ($8/month): Unlimited Expected Moves analyses, a detailed breakdown of Trend Scores, and full Starting Lineup portfolio tracking."}]},{type:"p",inlines:[{type:"text",value:"Premium ($19/month, or $15.83/month billed annually): Unlocks Top Ideas."}]}]},{question:"Is Scouter a broker or a financial advisor?",answer:"No. Scouter is a pure research, analysis, and educational platform. We are not a registered investment advisor, we do not provide personalized investment advice, and we do not execute trades or hold customer funds. You trade through your own preferred broker. We give you data, scenarios, and research ideas to inform your diligence; you always make the final call.",body:[{type:"p",inlines:[{type:"text",value:"No. Scouter is a pure research, analysis, and educational platform. We are not a registered investment advisor, we do not provide personalized investment advice, and we do not execute trades or hold customer funds. You trade through your own preferred broker. We give you data, scenarios, and research ideas to inform your diligence; you always make the final call."}]}]}],V={headline:"Get intelligent, data-based price targets before the news breaks",subhead:`Strategize like a Pro. Scouter uses institutional-grade data to map Bull and Bear targets across ${Y.SITE_TICKER_UNIVERSE_SHORT} before catalysts hit.`,searchPlaceholder:B.SEARCH_ACTIVATION_HERO.searchPlaceholder},Q=[{id:"sec-edgar",label:"SEC EDGAR",href:"https://www.sec.gov/edgar"},{id:"fred",label:"FRED â Federal Reserve Economic Data",href:"https://fred.stlouisfed.org/"},{id:"bls",label:"U.S. Bureau of Labor Statistics",href:"https://www.bls.gov/"},{id:"bea",label:"U.S. Bureau of Economic Analysis",href:"https://www.bea.gov/"},{id:"eia",label:"U.S. Energy Information Administration",href:"https://www.eia.gov/"}],K=[{key:"starter",name:"Starter",priceUsd:8,periodLabel:"/mo",highlight:"Unlimited Expected Moves",ctaLabel:"Start free trial",ctaHref:"/pricing",accent:"blue"},{key:"premium",name:"Premium",priceUsd:19,periodLabel:"/mo",highlight:"Top Ideas + intelligent Shortlist",ctaLabel:"Start free trial",ctaHref:"/pricing",accent:"green"}],Z=[{key:"trend-scores",href:"/trend-scores",name:"Trend Scores",title:"See what's trending",body:"Measure the sentiment surrounding the move. Weigh market hype against the fundamental reality of upcoming catalysts and clearanceâthe path ahead for each trend. Use these scores to find emerging opportunities and anticipate how a trend could strengthen or weaken the impact of upcoming news."},{key:"expected-moves",href:"/moves",name:"Expected Moves",title:"Get forward-looking price targets",body:"Stop trading in the dark. Get a synthesized view of fundamental health, technical indicators, and historical patterns to unlock the precise Bull and Bear targets the market is expected to price in for upcoming events. Plan your next trade before the news breaks."},{key:"starting-lineup",href:"/starting-lineup",name:"Starting Lineup",title:"Track the impact to your portfolio",body:"The strategic home base for your portfolio. See a full breakdown and track upcoming earnings, FDA decisions, and other major events through a dedicated catalyst feed. Use integrated portfolio projections powered by Expected Moves to see how upcoming volatility could impact your holdings."},{key:"top-ideas",href:"/top-ideas",name:"Top Ideas",title:"Access Scouter's top trade ideas",body:"Capture high-conviction setups you'd otherwise miss with an all-market analysis of expected moves. Focus on the most promising opportunities delivered straight to you, and spend your time trading instead of searching."},{key:"shortlist",href:"/shortlist",name:"Shortlist",title:"Screen stocks intelligently",body:"A more intuitive way to screen the market. Use a conversational AI interface to find stocks using natural language. Combine traditional filters with Scouter's proprietary data to generate custom watchlists instantly."},{key:"scouting-report",href:"/scouting-report",name:"Scouting Report",title:"Go deeper on the latest news",body:'The narrative behind the market. Access timely deep-dives and briefings that explain the "why" behind recent market developments, sector shifts, and emerging trends. We bridge the gap between raw data and trade logic to keep you informed on the broader landscape.'}];function J(e){let t=Z.find(t=>t.key===e);if(!t)throw Error(`Unknown landing feature block: ${e}`);return t}let ee={"sec-edgar":function({className:e}){return(0,t.jsxs)("svg",{viewBox:"0 0 128 28",className:e,role:"img","aria-label":"SEC EDGAR",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("circle",{cx:"14",cy:"14",r:"12",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,t.jsx)("text",{x:"14",y:"17.5",fill:"currentColor",fontFamily:"Georgia, 'Times New Roman', serif",fontSize:"9",fontWeight:"700",textAnchor:"middle",children:"SEC"}
3),(0,t.jsx)("text",{x:"32",y:"13",fill:"currentColor",fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif",fontSize:"11",fontWeight:"700",letterSpacing:"0.06em",children:"SEC"}),(0,t.jsx)("text",{x:"32",y:"24",fill:"currentColor",fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif",fontSize:"10",fontWeight:"600",letterSpacing:"0.12em",opacity:"0.9",children:"EDGAR"})]})},fred:function({className:e}){return(0,t.jsxs)("svg",{viewBox:"0 0 120 28",className:e,role:"img","aria-label":"FRED Federal Reserve Economic Data",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M4 20 L4 8 L10 8 Q16 8 16 14 Q16 20 10 20 Z M8 11.5 L8 16.5 L10 16.5 Q12.5 16.5 12.5 14 Q12.5 11.5 10 11.5 Z",fill:"currentColor"}),(0,t.jsx)("text",{x:"22",y:"19",fill:"currentColor",fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif",fontSize:"16",fontWeight:"800",letterSpacing:"-0.04em",children:"FRED"}),(0,t.jsx)("text",{x:"68",y:"19",fill:"currentColor",fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif",fontSize:"8",fontWeight:"500",opacity:"0.85",children:"St. Louis Fed"})]})},bls:function({className:e}){return(0,t.jsxs)("svg",{viewBox:"0 0 108 28",className:e,role:"img","aria-label":"U.S. Bureau of Labor Statistics",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("text",{x:"0",y:"19",fill:"currentColor",fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif",fontSize:"15",fontWeight:"800",letterSpacing:"-0.03em",children:"BLS"}),(0,t.jsx)("text",{x:"36",y:"19",fill:"currentColor",fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif",fontSize:"8.5",fontWeight:"500",opacity:"0.85",children:"Labor Statistics"})]})},bea:function({className:e}){return(0,t.jsxs)("svg",{viewBox:"0 0 118 28",className:e,role:"img","aria-label":"U.S. Bureau of Economic Analysis",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("text",{x:"0",y:"19",fill:"currentColor",fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif",fontSize:"15",fontWeight:"800",letterSpacing:"-0.03em",children:"BEA"}),(0,t.jsx)("text",{x:"36",y:"19",fill:"currentColor",fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif",fontSize:"8.5",fontWeight:"500",opacity:"0.85",children:"Economic Analysis"})]})},eia:function({className:e}){return(0,t.jsxs)("svg",{viewBox:"0 0 108 28",className:e,role:"img","aria-label":"U.S. Energy Information Administration",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"0",y:"8",width:"3",height:"12",rx:"0.5",fill:"currentColor",opacity:"0.7"}),(0,t.jsx)("rect",{x:"5",y:"5",width:"3",height:"18",rx:"0.5",fill:"currentColor"}),(0,t.jsx)("rect",{x:"10",y:"10",width:"3",height:"10",rx:"0.5",fill:"currentColor",opacity:"0.8"}),(0,t.jsx)("text",{x:"18",y:"19",fill:"currentColor",fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif",fontSize:"15",fontWeight:"800",letterSpacing:"-0.03em",children:"EIA"}),(0,t.jsx)("text",{x:"46",y:"19",fill:"currentColor",fontFamily:"system-ui, -apple-system, Segoe UI, sans-serif",fontSize:"8.5",fontWeight:"500",opacity:"0.85",children:"Energy"})]})}};function et({className:e="",tone:s="hero"}){let r="navy"===s?"flex flex-1 min-w-0 items-center justify-center text-[#3F4F70] hover:text-[#0E56F0] transition-colors opacity-95 hover:opacity-100":"flex flex-1 min-w-0 items-center justify-center text-white/85 hover:text-white transition-colors opacity-90 hover:opacity-100";return(0,t.jsx)("div",{className:`w-full -mx-2 sm:mx-0 px-2 sm:px-0 ${e}`.trim(),"aria-label":"Market and economic data sources",children:(0,t.jsx)("div",{className:"flex flex-nowrap items-center justify-between gap-1 sm:gap-3 md:gap-4 w-full",children:Q.map(e=>{let s=ee[e.id];return(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:r,title:e.label,children:(0,t.jsx)(s,{className:"h-8 w-auto max-w-full sm:h-9 md:h-10 lg:h-11"})},e.id)})})})}let es="font-semibold text-[#0E56F0] hover:text-[#3F4F70] underline underline-offset-2 transition-colors";function er({item:e}){return(0,t.jsx)("div",{className:"space-y-3 text-gray-600 text-sm font-sans leading-relaxed",children:e.body.map((e,s)=>"p"===e.type?(0,t.jsx)("p",{children:e.inlines.map((e,s)=>"text"===e.type?(0,t.jsx)("span",{children:e.value},s):(0,t.jsx)(w.default,{href:e.href,className:es,children:e.label},s))},s):(0,t.jsx)("ul",{className:"list-disc pl-5 space-y-2",children:e.items.map(e=>(0,t.jsxs)("li",{children:[e.termHref?(0,t.jsx)(w.default,{href:e.termHref,className:es,children:e.term}):(0,t.jsx)("span",{className:"font-semibold text-[#3F4F70]",children:e.term}),": ",e.description]},e.term))},s))})}var ea=e.i(493555);function ei({email:e,password:s,isLoading:r,canSubmit:a,showPasswordHint:i,resolveRedirectPath:n,onEmailChange:l,onPasswordChange:o,onSubmit:d,onSignIn:c}){return(0,t.jsxs)("div",{className:"grid items-center gap-6 md:grid-cols-2 md:gap-8 lg:gap-12",children:[(0,t.jsxs)("div",{className:"flex flex-col justify-center text-center md:text-left md:pr-6 lg:pr-10",children:[(0,t.jsx)("h1",{className:"text-xl sm:text-2xl md:text-3xl lg:text-4xl font-kalam font-bold uppercase tracking-tight leading-tight text-white",children:V.headline}),(0,t.jsxs)("p",{className:"mt-3 text-sm sm:text-base md:text-lg font-sans text-white/95 leading-relaxed max-w-xl mx-auto md:mx-0",children:[V.subhead," ",(0,t.jsx)(w.default,{href:"/moves",className:"inline whitespace-nowrap font-semibold italic text-white hover:text-white/80 transition-colors",children:"Explore Expected Moves -->"})]})]}),(0,t.jsx)("div",{className:"flex flex-col justify-center items-center md:items-start md:pl-4 lg:pl-8",children:(0,t.jsxs)("div",{className:"w-full max-w-[380px]",children:[(0,t.jsx)("div",{className:"rounded-xl bg-white p-4 sm:p-5 shadow-lg border border-white/30",children:(0,t.jsx)(ea.CompactInlineSignupForm,{resolveRedirectPath:n,email:e,password:s,isEmailLoa
3ding:r,canSubmitEmail:a,showPasswordHint:i,onEmailChange:l,onPasswordChange:o,onEmailSubmit:d,onSignIn:c,layout:"conversion"})}),(0,t.jsx)("p",{className:"mt-2.5 text-center text-xs font-sans font-medium text-white/90 tracking-tight",children:"10,000+ tickers monitored daily across all major U.S. exchanges"})]})})]})}let en=(0,r.default)(()=>e.A(487211).then(e=>e.LandingScoutingReportEmbed),{loadableGenerated:{modules:[535529]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"w-full min-h-[420px] h-[min(70vh,640px)] md:h-[min(75vh,680px)] flex items-center justify-center bg-[#0a0a0a] text-white/50 text-sm font-kalam uppercase rounded-2xl border-2 border-gray-200",children:"Loading reportâ¦"})}),el=()=>(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),(0,t.jsx)("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),(0,t.jsx)("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),(0,t.jsx)("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),eo=()=>(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.74 1.18 0 2.45-1.03 4.12-.59 2.15.22 3.12 1.38 3.56 2.06-3.15 1.94-2.59 6.22.56 7.69-.65 1.65-1.59 3.28-3.32 3.07zM12.03 7.25c-.15-2.23 1.62-4.03 3.74-4.25.29 2.59-2.35 4.38-3.74 4.25z"})}),ed=80,ec=80+ed,em=100+ed,ex=600+ed,eh=640+ed,eu=ex-ec,ep=eh-em,ef=ex+6,eg=eh+6,eb="M1200 120L0 120L0 0L1200 120Z",ey=({slopeExtendPx:e=ed,variant:s="default"})=>{let r="conversion"===s;return(0,t.jsx)("div",{className:`absolute inset-x-0 top-0 pointer-events-none z-0 ${r?"bottom-0 overflow-hidden":"overflow-visible"}`,style:r?void 0:{bottom:-e},"aria-hidden":!0,children:(0,t.jsx)(a.default,{src:"/Landing.png",alt:"",fill:!0,priority:!0,fetchPriority:"high",sizes:"100vw",className:`object-cover object-top ${r?"scale-[1.15] origin-top":""}`})})},ev=({variant:e="default"})=>{let s="conversion"===e,r=s?0:ed;return(0,t.jsx)("div",{className:`absolute bottom-0 left-0 w-full overflow-hidden leading-[0] z-[1] pointer-events-none ${s?"h-[72px] md:h-[84px]":"md:!h-[180px]"}`,style:{transform:r?`translateY(${r}px)`:void 0,...s?{}:{height:ec}},"aria-hidden":!0,children:(0,t.jsx)("svg",{className:"relative block w-full h-full","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1200 120",preserveAspectRatio:"none",children:(0,t.jsx)("path",{d:eb,fill:"white"})})})},ej=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 bg-white z-0 md:hidden",style:{top:ef},"aria-hidden":!0}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 bg-white z-0 hidden md:block",style:{to
3p:eg},"aria-hidden":!0}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 z-0 h-[160px] md:hidden",style:{top:eu},"aria-hidden":!0,children:(0,t.jsx)("svg",{className:"block w-full h-full",viewBox:"0 0 1200 120",preserveAspectRatio:"none",children:(0,t.jsx)("path",{d:eb,fill:"white"})})}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 z-0 hidden h-[180px] md:block",style:{top:ep},"aria-hidden":!0,children:(0,t.jsx)("svg",{className:"block w-full h-full",viewBox:"0 0 1200 120",preserveAspectRatio:"none",children:(0,t.jsx)("path",{d:eb,fill:"white"})})})]}),ew="block font-sans font-semibold text-sm md:text-base uppercase text-[#0E56F0] tracking-wide mb-1.5",eN="block w-fit max-w-full text-3xl md:text-4xl font-bold text-[#3F4F70] font-kalam uppercase tracking-tight leading-tight transition-colors group-hover:text-[#0E56F0]",ek="group mb-3 block w-fit max-w-full rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#0E56F0]/30",eS="text-[#3F4F70]/85 text-sm md:text-[15px] font-sans leading-relaxed",eC=[{label:"Facebook",href:"https://www.facebook.com/profile.php?id=61575404390004",icon:y.Facebook},{label:"Instagram",href:"https://www.instagram.com/scouterai/",icon:v.Instagram},{label:"Threads",href:"https://www.threads.com/@scouterai",icon:"threads"},{label:"X",href:"https://x.com/Scouter_AI",icon:"x"},{label:"LinkedIn",href:"https://www.linkedin.com/company/scouterai",icon:j.Linkedin}],eE="order-1 md:order-none w-full md:w-1/4 flex flex-col items-center text-center md:items-start md:text-left",eF="h-[min(58svh,540px)] min-h-[240px] w-full touch-pan-y md:h-[min(75vh,680px)] md:min-h-[420px]";function e_(){let e=new URLSearchParams(window.location.search).get("redirect");return e&&e.startsWith("/")?e:"/moves"}function eP({onOpenRef:e}){let t=(0,k.useSearchParams)();return(0,s.useEffect)(()=>{if("1"===t.get("openLogin")){let s=(0,B.parseSignupUnlockTicker)(t.get(B.SIGNUP_UNLOCK_TICKER_PARAM))??void 0;e.current({signup:"1"===t.get("signup"),unlockTicker:s})}},[t,e]),null}function eA({landingVariant:r="newsletter",initialIsLoggedOut:a=!1,featuredStock:y,urgencyChartsSlot:v,expectedMovesSlot:j,topIdeasSlot:Y,shortlistSlot:Q,startingLineupSlot:Z,trendScoresSlot:ee}){let[es,ea]=(0,s.useState)(!1),[ec,em]=(0,s.useState)(!1),[ex,eh]=(0,s.use
3State)(""),[eu,ep]=(0,s.useState)(""),[ef,eg]=(0,s.useState)(!1),[eb,eA]=(0,s.useState)(!1),[eI,eT]=(0,s.useState)(null),[eL,eM]=(0,s.useState)(!1),[eR,eO]=(0,s.useState)(null),[eU,eB]=(0,s.useState)(null),[eD,ez]=(0,s.useState)(!1),[e$,eW]=(0,s.useState)(!1),[eH,eG]=(0,s.useState)(!1),[eq,eY]=(0,s.useState)(!1),eX="newsletter"===r,[eV,eQ]=(0,s.useState)("U"),eK=(0,s.useRef)(null),eZ=(0,s.useRef)(null),eJ=(0,s.useRef)(()=>{});eJ.current=({signup:e,unlockTicker:t})=>{ea(!0),e&&em(!0),eO(t??null)};let e0=(0,k.useRouter)(),e1=(0,k.usePathname)(),{tier:e2,loading:e4,userId:e5}=(0,C.useUserTier)(),e3=(0,W.resolveAuthNavChromeState)({tierLoading:e4,tier:e2,userId:e5}),{isDark:e6}=(0,E.useTheme)(),e8=(0,S.createClient)();(0,s.useEffect)(()=>{"public"===e2?eQ("U"):e8.auth.getSession().then(({data:{session:e}})=>{let t=e?.user?.email;t?eQ(t[0].toUpperCase()):eQ("U")})},[e2,e8]),(0,s.useEffect)(()=>{if("public"===e2)return;let e=!0;return fetch("/api/profile").then(e=>e.ok?e.json():null).then(t=>{if(!e||!t)return;let s=(t.first_name??"").trim(),r=(t.last_name??"").trim(),a=(t.email??"").trim();eQ((s?s[0]:r?r[0]:a?a[0]:"U").toUpperCase())}).catch(()=>{}),()=>{e=!1}},[e2]),(0,s.useEffect)(()=>{if(!eD)return;let e=e=>{let t=e.target;eK.current?.contains(t)||ez(!1)};return document.addEventListener("mousedown",e,!0),()=>document.removeEventListener("mousedown",e,!0)},[eD]),(0,s.useEffect)(()=>{es&&(eT(null),eM(!1))},[es]),(0,s.useEffect)(()=>{eX&&"public"===e3&&em(!0)},[eX,e3]);let e7=async e=>{e.preventDefault();let t=ex?.trim();if(!t)return void alert("Enter your email above first, then click Forgot password.");eM(!1);try{let e=(0,P.getAuthRedirectOrigin)(),{error:s}=await e8.auth.resetPasswordForEmail(t,{redirectTo:`${e}/auth/callback?next=/auth/change-password`});if(s)return void alert(`Could not send reset email: ${s.message}`);eM(!0)}catch(e){alert(e instanceof Error?e.message:"Something went wrong.")}},e9=(0,P.getAuthRedirectOrigin)(),te=async()=>{let t=e_();eA(!0);try{let{signInWithOAuthPopup:s}=await e.A(596020),r=t.startsWith("/")?t:`/${t}`,a=ec?(0,T.appendClientAttributionToPath)(r):r;await s(e8,{provider:"google",redirectAfterLogin:a,isSignup:ec,authOrigin:e9,...ec?{attributionQuerySuffix:(0,T.clientAttributionQuerySuffix)()}:{}}),ec?await (0,I.navigateAfterNewSignup)(a,{origin:e9}):await (0,I.navigateAfterAuthSession)(r,{origin:e9})}catch(t){let e=t instanceof Error?t.message:"Sign-in failed";"Popup closed"!==e&&alert(e)}finally{eA(!1)}},tt=async()=>{let t=e_();eA(!0);try{let{signInWithOAuthPopup:s}=await e.A(596020),r=t.startsWith("/")?t:`/${t}`,a=ec?(0,T.appendClientAttributionToPath)(r):r;await s(e8,{provider:"apple",redirectAfterLogin:a,isSignup:ec,authOrigin:e9,...ec?{attributionQuerySuffix:(0,T.clientAttributionQuerySuffix)()}:{}}),ec?await (0,I.navigateAfterNewSignup)(a,{origin:e9}):await (0,I.navigateAfterAuthSession)(r,{origin:e9})}catch(t){let e=t instanceof Error?t.message:"Sign-in failed";"Popup closed"!==e&&alert(e)}finally{eA(!1)}};eu.length;let ts=/\d/.test(eu),tr=/[a-zA-Z]/.test(eu),ta=ex.trim()&&eu.length>=8&&ts&&tr,ti=async(e,t)=>{e.preventDefault();let s=t?.signup??ec;if(!ex||!eu)return void alert("Please enter both email and password.");if(s&&(eu.length<8||!/\d/.test(eu)||!/[a-zA-Z]/.test(eu)))return void alert("Password must be at least 8 characters and include a letter and a number.");eA(!0);try{let e=e_();if(s){let{data:t,error:s}=await e8.auth.signUp({email:ex,password:eu,options:{emailRedirectTo:`${e9}/auth/callback?next=${encodeURIComponent(e)}&signup=1${(0,T.clientAttributionQuerySuffix)()}`}});if(s){/security purposes|only request this after|rate limit/i.test(s.message)?alert("Too many sign-up attempts. Please wait about a minute and try again."):alert(`Sign up failed: ${s.message}`),eA(!1);return}if((0,L.recordMetaLeadOnEmailSignupSuccess)(),t.user&&!t.session){let e=t.user.email||ex;alert(`Account created. We sent a confirmation link to ${e}. Click the link in that email to activate your account, then sign in. (Check spam if you don't see it.)`),ea(!1),eh(""),ep("")}else if(t.session){let t=e.startsWith("/")?e:`/${e}`;await (0,A.completeNewSignupSession)(t,{origin:e9})}}else{let{data:t,error:s}=await e8.auth.signInWithPassword({email:ex,password:eu});if(s){eT(s.message),eA(!1),queueMicrotask(()=>eZ.current?.focus());return}if(eT(null),t.session){let t=e.startsWith("/")?e:`/${e}`;await (0,I.navigateAfterAuthSession)(t,{origin:e9});return}}}catch(e){alert(`An error occurred: ${e.message||"Unknown error"}`)}finally{eA(!1)}},tn=async()=>{await e8.auth.signOut(),ez(!1),window.dispatchEvent(new Event("catalyst-tier-refetch")),e0.refresh(),e0.push("/")},tl=J("trend-scores"),to=J("expected-moves"),td=J("starting-lineup"),tc=J("top-ideas"),tm=J("shortlist"),tx=J("scouting-report"),th=y.ticker.trim().toUpperCase(),tu=y.companyName?.trim()||null,tp=()=>{eO(null),eY(!0)},tf=eX&&("public"===e3||a&&"resolving"===e3);return(0,t.jsxs)("div",{className:"min-h-screen text-white font-sans relative overflow-x-hidden selection:bg-blue-500 selection:text-white",children:[(0,t.jsx)(s.Suspense,{fallback:null,children:(0,t.jsx)(eP,{onOpenRef:eJ})}),es&&(0,t.jsxs)("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm cursor-pointer",onClick:()=>ea(!1)}),(0,t.jsxs)("div",{className:"bg-white text-gray-900 rounded-3xl w-full max-w-md p-8 relative z-10 shadow-2xl animate-in fade-in zoom-in duration-200",children:[(0,t.jsx)("button",{onClick:()=>ea(!1),className:"absolute top-4 right-4 p-2 hover:bg-gray-100 rounded-full transition-colors text-gray-500 cursor-pointer",children:(0,t.jsx)(i.X,{className:"w-6 h-6"})}),(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-[#3F4F70] mb-5 leading-snug",children:(0,B.formatSignupModalTitle)(eR,ec?"signup":"login")}),ec&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(U.SignupActivationReinforcement,{className:"mb-3"}),(0,t.jsxs)("p",{className:"text-xs text-gray-600 leading-relaxed px-4",children:["By creating an account you agree to our ",(0,t.jsx)(w.default,{href:"/terms",className:"underline hover:text-[#3F4F70]",target:"_blank",rel:"noopener noreferrer",children:"Terms of Service"})," and ",(0,t.jsx)(w.default,{href:"/privacy",className:"underline hover:text-[#3F4F70]",target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"}),"."]})]})]}),(0,t.jsxs)("div",{className:"w-full space-y-3",children:[(0,t.jsx)("button",{onClick:te,disabled:eb,className:"w-full bg-white border border-gray-300 hover:bg-[#F0AB0E] hover:border-[#F0AB0E] text-gray-700 hover:text-white font-bold text-sm py-3 rounded-lg shadow-sm transition-all flex items-center justify-center gap-3 relative cursor-pointer disabled:opacity-70 disabled:pointer-events-none",children:eb?(0,t.jsx)("span",{children:"Connecting..."}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute left-4",children:(0,t.jsx)(el,{})}),(0,t.jsx)("span",{children:"Continue with Google"})]})}),(0,t.jsx)("button",{type:"button",onClick:tt,disabled:eb,className:"w-full bg-black border border-black hover:bg-neutral-900 text-white font-bold text-sm py-3 rounded-lg shadow-sm transition-all flex items-center justify-center gap-3 relative cursor-pointer disabled:opacity-70 disabled:pointer-events-none",children:eb?(0,t.jsx)("span",{children:"Connecting..."}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute left-4 text-white",children:(0,t.jsx)(eo,{})}),(0,t.jsx)("span",{children:"Continue with Apple"})]})}),(0,t.jsxs)("div",{className:"relative py-2",children:[(0,t.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,t.jsx)("div",{className:"w-full border-t border-gray-200"})}),(0,t.jsx)("div",{className:"relative flex justify-center text-xs",children:(0,t.jsx)("span",{className:"px-2 bg-white text-gray-500",children:"or"})})]}),(0,t.jsxs)("form",{onSubmit:ti,className:"w-full space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-stretch rounded-lg border border-gray-300 bg-white focus-within:ring-2 focus-within:ring-[#F0AB0E] focus-within:border-transparent transition-shadow",children:[(0,t.jsx)("span",{className:"flex shrink-0 items-center pl-4 text-gray-400 pointer-events-none","aria-hidden":!0,
3children:(0,t.jsx)(n.Mail,{className:"w-5 h-5"})}),(0,t.jsx)("input",{type:"email",inputMode:"email",autoComplete:"email",dir:"ltr",spellCheck:!1,value:ex,onChange:e=>{eh(e.target.value),eI&&eT(null)},placeholder:"Enter email",required:!0,className:"min-w-0 flex-1 border-0 bg-transparent py-3 pr-4 text-gray-700 font-medium text-sm outline-none ring-0 focus:ring-0"})]}),(0,t.jsxs)("div",{className:"flex items-stretch rounded-lg border border-gray-300 bg-white focus-within:ring-2 focus-within:ring-[#F0AB0E] focus-within:border-transparent transition-shadow",children:[(0,t.jsx)("span",{className:"flex shrink-0 items-center pl-4 text-gray-400 pointer-events-none","aria-hidden":!0,children:(0,t.jsx)(l.Lock,{className:"w-5 h-5"})}),(0,t.jsx)("input",{ref:eZ,type:ef?"text":"password",autoComplete:ec?"new-password":"current-password",value:eu,onChange:e=>{ep(e.target.value),eI&&eT(null)},placeholder:ec?"Password":"Enter password",required:!0,minLength:ec?8:6,className:"min-w-0 flex-1 border-0 bg-transparent py-3 pl-0 pr-2 text-gray-700 font-medium text-sm outline-none ring-0 focus:ring-0"}),(0,t.jsx)("button",{type:"button",onMouseDown:e=>e.preventDefault(),onClick:()=>eg(e=>!e),className:"flex shrink-0 items-center pr-3 text-gray-400 hover:text-gray-600 cursor-pointer","aria-label":ef?"Hide password":"Show password",children:ef?(0,t.jsx)(f.EyeOff,{className:"w-5 h-5"}):(0,t.jsx)(p.Eye,{className:"w-5 h-5"})})]}),eI&&!ec&&(0,t.jsx)("p",{className:"text-sm text-red-600 px-1",role:"alert",children:eI}),ec&&eu.length>0&&!ta&&(0,t.jsx)("p",{className:"text-xs text-amber-600 px-1",children:"Password must be at least 8 characters and include a letter and a number."}),(0,t.jsx)("button",{type:"submit",disabled:!ex||!eu||eb||ec&&!ta,className:"w-full bg-white border border-gray-300 hover:bg-[#F0AB0E] hover:border-[#F0AB0E] disabled:bg-gray-100 disabled:border-gray-200 disabled:pointer-events-none text-gray-700 hover:text-white disabled:text-gray-400 font-bold text-sm py-3 rounded-lg shadow-sm transition-all cursor-pointer",children:eb?"Please wait...":ec?"Create account":"Sign in"}),!ec&&(0,t.jsxs)("div",{className:"text-center space-y-2 pt-1",children:[eL?(0,t.jsx)("p",{className:"text-sm text-green-600",children:"Check your email for a reset link."}):(0,t.jsx)("button",{type:"button",onClick:e7,className:"text-sm text-[#0E56F0] hover:underline cursor-pointer",children:"Forgot password?"}),(0,t.jsxs)("p",{className:"text-sm text-gray-600",children:["Don't have an account yet?"," ",(0,t.jsx)("button",{type:"button",onClick:()=>{eT(null),eM(!1),em(!0)},className:"font-semibold text-[#0E56F0] hover:underline cursor-pointer",children:"Sign up"})]})]}),ec&&(0,t.jsxs)("p",{className:"text-center text-sm text-gray-600 pt-1",children:["Already have an account?"," ",(0,t.jsx)("button",{type:"button",onClick:()=>{eT(null),em(!1)},className:"font-semibold text-[#0E56F0] hover:underline cursor-pointer",children:"Sign in"})]})]})]})]})]}),(0,t.jsxs)(M.MobileNavDrawer,{isOpen:e$,onClose:()=>eW(!1),tier:e2,currentPath:e1??"/",onSignOut:tn,allowDesktopDrawer:!0,children:[tf?null:(0,t.jsxs)(w.default,{href:"/pricing",className:"relative z-[60] block w-full bg-[#0E56F0] text-white text-center text-sm sm:text-base font-normal font-sans py-2.5 px-4 hover:bg-[#0c4ad8] transition-colors",children:["Access Scouter's top trade ideas for only ",(0,t.jsx)("strong",{className:"font-bold",children:"$190/year"})]}),(0,t.jsxs)("div",{className:`relative ${tf?"overflow-hidden":"overflow-visible"}`,style:{backgroundColor:"#4CAF50"},children:[(0,t.jsx)(ey,{slopeExtendPx:tf?0:ed,variant:tf?"conversion":"default"}),(0,t.jsxs)("header",{className:`relative z-50 px-4 md:px-6 max-w-7xl mx-auto flex items-center justify-between ${tf?"pt-4 md:pt-5 min-h-[56px]":"pt-6 md:pt-8 min-h-[72px] md:min-h-0"}`,children:[(0,t.jsxs)("div",{className:"flex items-center flex-1 md:flex-initial min-w-0 gap-0.5",children:[(0,t.jsx)("button",{type:"button",onClick:()=>eW(!0),className:"shrink-0 p-2 rounded-lg text-white hover:bg-white/10 transition-colors cursor-pointer touch-manipulation -ml-1","aria-label":"Open menu",children:(0,t.jsx)(g.Menu,{className:"w-6 h-6"})}),(0,t.jsx)("div",{className:"flex-1 flex justify-center min-w-0 md:flex-initial md:justify-start",children:(0,t.jsx)("div",{className:`flex items-end w-auto ${tf?"pb-1":"pb-2 md:pb-3"}`,children:(0,t.jsx)(N.ScouterBrandHomeLink,{brandColor:"white",iconClassName:tf?"h-10 md:h-14 w-auto mb-1":"h-12 md:h-16 w-auto mb-1",couterClassName:tf?"text-3xl md:text-4xl font-kalam font-bold uppercase tracking-tight -ml-0.5 mb-1 leading-none":"text-4xl md:text-5xl font-kalam font-bold uppercase tracking-tight -ml-0.5 mb-1 leading-none"})})}),(0,t.jsx)("div",{className:"w-10 flex-shrink-0 flex justify-end md:hidden",children:tf?null:(0,t.jsx)("button",{type:"button",onClick:()=>eG(!0),className:"p-2 rounded-lg text-white hover:bg-white/10 transition-colors cursor-pointer touch-manipulation -mr-1","aria-label":"Options",children:(0,t.jsx)(b.MoreHorizontal,{className:"w-6 h-6"})})})]}),tf?null:(0,t.jsx)("div",{className:"hidden md:flex items-center gap-3 relative z-50",ref:eK,children:"resolving"===e3?(0,t.jsxs)("div",{className:"flex gap-3","aria-busy":"true","aria-label":"Account",children:[(0,t.jsx)("div",{className:"h-10 w-[260px] rounded-lg bg-white/25 animate-pulse"}),(0,t.jsx)("div",{className:"h-10 w-[88px] rounded-lg bg-white/20 animate-pulse"})]}):"signedIn"===e3?(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(_.UserMenuUpgradeButton,{tier:e2,variant:"header"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("button",{onClick:()=>ez(!eD),className:"rounded-full cursor-pointer hover:ring-4 hover:ring-white/30 transition-all outline-none","aria-expanded":eD,"aria-haspopup":"true",children:(0,t.jsx)("div",{className:"w-10 h-10 rounded-full flex items-center justify-center font-bold text-sm shadow-sm bg-white/95 border border-white/80 text-[#3F4F70]",children:eV})}),eD&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-40","aria-hidden":!0,onClick:()=>ez(!1),role:"button",tabIndex:-1}),(0,t.jsxs)("div",{className:"absolute right-0 top-full mt-2 w-56 bg-white rounded-xl shadow-xl border border-gray-200 py-2 z-50 animate-fade-up origin-top-right",children:[(0,t.jsxs)(w.default,{href:"/settings",className:"w-full text-left px-4 py-2.5 text-sm font-medium text-[#3F4F70] hover:bg-gray-50 flex items-center space-x-2 transition-colors",onClick:()=>ez(!1),children:[(0,t.jsx)(m.Settings,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:"Settings"})]}),(0,t.jsx)("div",{className:"border-t border-gray-100 my-1"}),(0,t.jsxs)("div",{className:"w-full px-4 py-2.5 flex items-center justify-between hover:bg-gray-50 transition-colors",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[e6?(0,t.jsx)(u.Sun,{
3className:"w-4 h-4 text-[#3F4F70]"}):(0,t.jsx)(h.Moon,{className:"w-4 h-4 text-[#3F4F70]"}),(0,t.jsx)("span",{className:"text-sm font-medium text-[#3F4F70]",children:e6?"Light mode":"Dark mode"})]}),(0,t.jsx)(F.ThemeToggle,{})]}),(0,t.jsxs)("button",{type:"button",className:"w-full text-left px-4 py-2.5 text-sm font-medium text-red-600 hover:bg-red-50 flex items-center space-x-2 transition-colors cursor-pointer",onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),ez(!1),tn()},children:[(0,t.jsx)(x.LogOut,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:"Log Out"})]})]})]})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.default,{href:"/pricing",className:"bg-transparent border-2 border-white/80 hover:bg-white/10 text-white text-sm font-bold px-5 py-2 rounded-lg transition-all whitespace-nowrap font-sans cursor-pointer",children:"Pricing"}),(0,t.jsx)("button",{type:"button",onClick:tp,className:`px-6 py-2.5 rounded-lg text-sm font-bold font-sans ${G.SCOUTER_BTN_STARTER_CLASS}`,children:H.LANDING_HEADER_SIGNUP_LABEL}),(0,t.jsx)("button",{type:"button",onClick:()=>{em(!1),ea(!0)},className:"bg-white border border-gray-300 hover:bg-[#F0AB0E] hover:border-[#F0AB0E] text-gray-700 hover:text-white text-sm font-bold px-6 py-2.5 rounded-lg shadow-sm hover:shadow-lg transition-all whitespace-nowrap font-sans cursor-pointer",children:"Log In"})]})})]}),tf?(0,t.jsx)("div",{className:"relative z-10 mx-auto w-full max-w-6xl px-4 md:px-8 pt-1 md:pt-2 pb-[72px] md:pb-[84px]",children:(0,t.jsx)(ei,{email:ex,password:eu,isLoading:eb,canSubmit:!!ta,showPasswordHint:eu.length>0&&!ta,resolveRedirectPath:e_,onEmailChange:eh,onPasswordChange:ep,onSubmit:e=>{em(!0),ti(e,{signup:!0})},onSignIn:()=>{em(!1),ea(!0)}})}):(0,t.jsx)("div",{className:"min-h-[600px] md:min-h-[640px] relative z-0","aria-hidden":!0}),(0,t.jsx)(ev,{variant:tf?"conversion":"default"})]}),(0,t.jsxs)("section",{id:"features",className:`relative z-10 pb-16 ${tf?"-mt-1 pt-0 md:pt-1 bg-white":"pt-8 md:pt-10 -mt-[600px] md:-mt-[640px]"}`,children:[tf?null:(0,t.jsx)(ej,{}),(0,t.jsxs)("div",{className:"relative z-10 max-w-7xl mx-auto px-6",children:[tf?null:(0,t.jsxs)("div",{className:"text-center max-w-4xl mx-auto px-2 pb-2 md:pb-3",children:[(0,t.jsx)("h2",{className:"text-xl sm:text-2xl md:text-3xl lg:text-4xl font-kalam font-bold uppercase tracking-tight mb-3 leading-tight text-white",children:V.headline}),(0,t.jsxs)("p",{className:"mb-6 text-sm sm:text-base md:text-lg font-sans text-white/95 leading-relaxed max-w-2xl mx-auto",children:[V.subhead," ",(0,t.jsx)(w.default,{href:"/how-scouter-works",className:"inline whitespace-nowrap font-semibold italic text-white hover:text-[#0E56F0] transition-colors",children:"Learn more -->"})]}),(0,t.jsx)("div",{className:"max-w-sm mx-auto w-full px-2",children:th?(0,t.jsxs)(w.default,{href:`/quote/${encodeURIComponent(th)}`,className:"bg-white p-5 rounded-xl shadow-sm border border-gray-200 hover:shadow-md hover:border-[#0E56F0] hover:-translate-y-1 transition-all group flex items-center justify-between cursor-pointer w-full",children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1 text-left",children:[(0,t.jsxs)("p",{className:"text-sm font-sans leading-snug text-[#0E56F0]",children:[(0,t.jsx)("strong",{className:"font-bold",children:"Featured"}),": ","See full Expected Moves"]}),(0,t.jsx)("div",{className:"font-bold text-lg text-[#3F4F70] font-kalam mt-2",children:th}),tu?(0,t.jsx)("div",{className:"text-sm text-[#3F4F70]/70 truncate mt-0.5 font-sans",children:tu}):null]}),(0,t.jsx)(c.ChevronRight,{className:"w-5 h-5 text-[#3F4F70]/40 group-hover:text-[#0E56F0] flex-shrink-0 ml-2 transition-colors"})]}):null})]}),(0,t.jsx)(et,{tone:tf?"navy":"hero",className:tf?"mt-0 mb-6 md:mb-8 px-2 sm:px-4":"mt-2 md:mt-3 mb-8 md:mb-10 px-2 sm:px-4"}),v,(0,t.jsxs)("div",{className:"flex flex-col md:flex-row md:items-stretch gap-8 md:gap-10 -mt-1.5 mb-10 md:mb-14",children:[(0,t.jsx)("div",{className:"order-2 md:order-none w-full min-h-0 md:w-3/4 rounded-2xl border-2 border-gray-200 overflow-hidden shadow-lg bg-theme-bg",children:(0,t.jsx)("div",{className:eF,children:ee})}),(0,t.jsxs)("div",{className:`${eE} pt-0`,children:[(0,t.jsxs)(w.default,{href:tl.href,className:ek,children:[(0,t.jsx)("span",{className:ew,children:tl.name}),(0,t.jsx)("span",{className:"block w-fit max-w-full text-3xl md:text-4xl font-bold text-[#3F4F70] font-kalam uppercase tracking-tight leading-tight transition-colors group-hover:text-[#0E56F0] drop-shadow-sm",children:tl.t
3itle})]}),(0,t.jsx)("p",{className:"text-[#3F4F70] text-sm md:text-[15px] font-sans leading-relaxed",children:tl.body})]})]}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row-reverse md:items-stretch gap-8 md:gap-10 mb-10 md:mb-14",children:[(0,t.jsx)("div",{className:"order-2 md:order-none w-full min-h-0 md:w-3/4 rounded-2xl border-2 border-gray-200 overflow-hidden shadow-lg bg-white md:min-h-[520px]",children:(0,t.jsx)("div",{className:"h-[min(58svh,540px)] min-h-[240px] w-full touch-pan-y md:h-[min(75vh,680px)] md:min-h-[500px]",children:j})}),(0,t.jsxs)("div",{className:`${eE} pt-0`,children:[(0,t.jsxs)(w.default,{href:to.href,className:ek,children:[(0,t.jsx)("span",{className:ew,children:to.name}),(0,t.jsx)("span",{className:eN,children:to.title})]}),(0,t.jsx)("p",{className:eS,children:to.body})]})]}),(0,t.jsxs)("div",{className:"bg-white space-y-10 md:space-y-14 pt-4 md:pt-8",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row md:items-stretch gap-8 md:gap-10",children:[(0,t.jsx)("div",{className:"order-2 md:order-none w-full min-h-0 md:w-3/4 rounded-2xl border-2 border-gray-200 overflow-hidden shadow-lg bg-theme-bg",children:(0,t.jsx)("div",{className:eF,children:Z})}),(0,t.jsxs)("div",{className:eE,children:[(0,t.jsxs)(w.default,{href:td.href,className:ek,children:[(0,t.jsx)("span",{className:ew,children:td.name}),(0,t.jsx)("span",{className:eN,children:td.title})]}),(0,t.jsx)("p",{className:eS,children:td.body})]})]}),(0,t.jsx)("div",{className:"py-4 md:py-6",children:(0,t.jsxs)("div",{className:"max-w-5xl mx-auto text-center",children:[(0,t.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wider text-[#0E56F0] mb-2",children:"30-day free trial · card required"}),(0,t.jsx)("h3",{className:"text-2xl md:text-3xl font-kalam font-bold text-[#3F4F70] mb-2 uppercase",children:"Simple, transparent pricing"}),(0,t.jsx)("p",{className:"text-sm text-gray-600 mb-8 max-w-xl mx-auto",children:"Start a 30-day free trial of Starter or Premium. Cancel before the trial ends to avoid being charged."}),(0,t.jsx)("div",{className:"grid md:grid-cols-2 gap-6 text-left max-w-3xl mx-auto",children:K.map(e=>{let s="priceLabel"in e&&"string"==typeof e.priceLabel?e.priceLabel:`$${"priceUsd"in e?e.priceUsd:""}`;return(0,t.jsxs)("div",{className:(0,G.scouterPlanTileClass)(e.key),children:[(0,t.jsx)("h4",{className:`${G.SCOUTER_PLAN_TITLE_CLASS[e.key]} mb-2`,children:e.name}),(0,t.jsxs)("div",{className:"mb-3 flex items-baseline",children:[(0,t.jsx)("span",{className:"text-3xl font-bold text-[#3F4F70]",children:s}),(0,t.jsx)("span",{className:"text-gray-500 text-sm ml-1",children:e.periodLabel})]}),(0,t.jsx)("p",{className:"text-sm font-semibold text-[#3F4F70] mb-5 flex-1",children:e.highlight}),(0,t.jsx)(w.default,{href:e.ctaHref,className:(0,G.scouterPlanCtaClass)(e.key),children:e.ctaLabel})]},e.key)})}),(0,t.jsx)(w.default,{href:"/pricing",className:"mt-6 inline-block text-sm font-bold text-[#0E56F0] hover:underline underline-offset-2",children:"Compare all plan features â"})]})}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row-reverse md:items-stretch gap-8 md:gap-10",children:[(0,t.jsx)("div",{className:"order-2 md:order-none w-full min-h-0 md:w-3/4 rounded-2xl border-2 border-gray-200 overflow-hidden shadow-lg bg-[#0a0a0a]",children:(0,t.jsx)("div",{className:eF,children:Y})}),(0,t.jsxs)("div",{className:eE,children:[(0,t.jsxs)(w.default,{href:tc.href,className:ek,children:[(0,t.jsx)("span",{className:ew,children:tc.name}),(0,t.jsx)("span",{className:eN,children:tc.title})]}),(0,t.jsx)("p",{className:eS,children:tc.body}),(0,t.jsx)(w.default,{href:"/case-studies",className:"mt-3 inline-block text-sm font-bold text-[#0E56F0] hover:text-[#0a3d8a] underline-offset-2 decoration-1 hover:underline",children:"Case Studies â"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row md:items-stretch gap-8 md:gap-10",children:[(0,t.jsx)("div",{className:"order-2 md:order-none flex w-full min-w-0 flex-col md:w-3/4 min-h-[280px] h-[min(58svh,560px)] touch-pan-y md:h-auto md:min-h-[520px]",children:(0,t.jsx)("div",{className:"flex min-h-0 flex-1 flex-col",children:Q})}),(0,t.jsxs)("div",{className:eE,children:[(0,t.jsxs)(w.default,{href:(0,$.shortlistPath)(),className:ek,onClick:()=>{try{sessionStorage.setItem(z.SHORTLIST_LANDING_HANDOFF_KEY,JSON.stringify({ui:D.LANDING_SHORTLIST_DEMO_UI,fromLandingDemo:!0}))}catch{}},children:[(0,t.jsx)("span",{className:ew,children:tm.name}),(0,t.jsx)("span",{className:eN,children:tm.title})]}),(0,t.jsx)("p",{className:eS,children:tm.body})]})]}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row-reverse md:items-stretch gap-8 md:gap-10",children:[(0,t.jsx)("div",{className:"order-2 md:order-none w-full min-h-0 md:w-3/4 rounded-2xl border-2 border-gray-200 overflow-hidden shadow-lg bg-[#0a0a0a]",children:(0,t.jsx)(en,{})}),(0,t.jsxs)("div",{className:eE,children:[(0,t.jsxs)(w.default,{href:tx.href,className:ek,children:[(0,t.jsx)("span",{className:ew,children:tx.name}),(0,t.jsx)("span",{className:eN,children:tx.title})]}),(0,t.jsx)("p",{className:eS,children:tx.body})]})]})]})]})]}),(0,t.jsx)("section",{className:"bg-white pb-12 md:pb-16",children:(0,t.jsxs)("div",{className:"max-w-3xl mx-auto px-6",children:[(0,t.jsx)("h3",{className:"text-3xl font-kalam font-bold text-[#3F4F70] mb-6 text-center uppercase",children:"Frequently Asked Questions"}),(0,t.jsx)("div",{className:"space-y-0 border border-gray-200 rounded-xl overflow-hidden shadow-sm",children:X.map((e,s)=>(0,t.jsxs)("div",{className:"border-b border-gray-200 last:border-b-0 bg-white",onMouseEnter:()=>eB(s),onMouseLeave:()=>eB(null),children:[(0,t.jsxs)("button",{type:"button",className:"w-full flex items-center justify-between p-4 text-left hover:bg-gray-50 transition-colors cursor-pointer",onClick:()=>eB(eU===s?null:s),"aria-expanded":eU===s,children:[(0,t.jsx)("h4",{className:"font-bold text-[#3F4F70] text-base pr-4",children:e.question}),eU===s?(0,t.jsx)(d.Minus,{className:"w-5 h-5 text-[#3F4F70] flex-shrink-0","aria-hidden":!0}):(0,t.jsx)(o.Plus,{className:"w-5 h-5 text-[#3F4F70] flex-shrink-0","aria-hidden":!0})]}),(0,t.jsx)("div",{className:`overflow-hidden transition-all duration-300 ease-in-out ${eU===s?"max-h-[64rem] opacity-100":"max-h-0 opacity-0"}`,children:(0,t.jsx)("div",{className:"px-4 pb-4",children:(0,t.jsx)(er,{item:e})})})]},e.question))})]})}),(0,t.jsxs)("footer",{className:"pt-6 pb-12 border-t border-white/10 text-center text-gray-500 text-sm font-bold tracking-wider",style:{backgroundColor:"#0B0E14"},children:[(0,t.jsx)("div",{className:"mb-4 flex items-center justify-center gap-3",children:eC.map(e=>(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":`Visit Scouter on ${e.label}`,className:"inline-flex h-9 w-9 items-center justify-center rounded-full border border-white/20 text-gray-300 transition-colors hover:border-[#F0AB0E] hover:text-[#F0AB0E]",children:"x"===e.icon?(0,t.jsx)("svg",{viewBox:"0 0 24 24",className:"h-4 w-4 fill-current","aria-hidden":!0,
3children:(0,t.jsx)("path",{d:"M18.901 1.153h3.68l-8.04 9.19 9.458 12.504H16.59l-5.803-7.584-6.64 7.584H.466l8.6-9.829L0 1.154h7.595l5.243 6.932zM17.61 20.645h2.039L6.488 3.24H4.301z"})}):"threads"===e.icon?(0,t.jsx)("svg",{viewBox:"0 0 24 24",className:"h-4 w-4 fill-current","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z"})}):(0,t.jsx)(e.icon,{className:"h-4 w-4","aria-hidden":!0})},e.label))}),(0,t.jsx)("p",{children:"© 2025 Scouter. ALL RIGHTS RESERVED."}),(0,t.jsxs)("p",{className:"mt-4 font-sans font-normal text-xs text-gray-400",children:[(0,t.jsx)(w.default,{href:"/moves",className:"hover:text-[#F0AB0E] transition-colors",children:"Expected Moves"}),(0,t.jsx)("span",{className:"mx-2 opacity-40",children:"·"}),(0,t.jsx)(w.default,{href:"/scouting-report",className:"hover:text-[#F0AB0E] transition-colors",children:"Scouting reports"}),(0,t.jsx)("span",{className:"mx-2 opacity-40",children:"·"}),(0,t.jsx)(w.default,{href:"/directory",className:"hover:text-[#F0AB0E] transition-colors",children:"Stock ticker directory (AâZ)"}),(0,t.jsx)("span",{className:"mx-2 opacity-40",children:"·"}),(0,t.jsx)(w.default,{href:"/help/product-feature-guides/expected-moves",className:"hover:text-[#F0AB0E] transition-colors",children:"Expected Moves help"})]}),(0,t.jsx)("p",{className:"mt-3 text-xs opacity-50 font-sans font-normal max-w-xl mx-auto px-4",children:"Market data may be delayed by 15 minutes. Scouter is a research tool, not a registered investment advisor."})]})]}),(0,t.jsx)(R.MobileUserBottomSheet,{isOpen:eH,onClose:()=>eG(!1),tier:e2,onGetStarted:()=>{tp(),eG(!1)},onLogIn:()=>{em(!1),ea(!0),eG(!1)},onSignOut:tn}),(0,t.jsx)(O.TierSwitcher,{}),(0,t.jsx)(q.UpgradeModal,{isOpen:eq,onClose:()=>eY(!1),trigger:"landing_home_signup",onPublicSignup:()=>{eY(!1),em(!0),ea(!0)}})]})}e.s(["HomePageClient",()=>eA],45146)},826068,e=>{"use strict";var t=e.i(843476),s=e.i(522016),r=e.i(618566),a=e.i(880492),i=e.i(867823),n=e.i(372759),l=e.i(945984),o=e.i(26121);function d({ideas:e}){let{isDark:d}=(0,a.useTheme)(),c=(0,r.useRouter)();return(0,t.jsx)("div",{className:"flex h-full min-h-0 w-full flex-col bg-theme-bg text-theme-text",children:(0,t.jsx)("div",{className:"scrollbar-on-hover min-h-0 flex-1 overflow-x-auto overflow-y-auto p-4 md:p-6",children:(0,t.jsxs)("div",{className:"mx-auto w-full max-w-full space-y-4",children:[(0,t.jsx)(o.TopIdeasTrackRecordChart,{variant:"compact",showApproach:!1,analyticsSurface:"landing_top_ideas",ctaHref:"/pricing",ctaLabel:"Unlock Top Ideas"}),(0,t.jsx)("div",{className:"scrollbar-on-hover overflow-x-auto",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("table",{className:"top-ideas-table-aligned table-fixed text-left",style:{minWidth:`${l.LANDING_TOP_IDEAS_TABLE_MIN_WIDTH}px`,width:"100%"},children:[(0,t.jsx)(l.LandingTopIdeasColGroup,{}),(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"border-b border-[var(--theme-border)] bg-theme-bg",children:[(0,t.jsx)("th",{className:"p-4 text-center text-xs font-bold uppercase tracking-wider text-theme-text",children:"#"}),(0,t.jsx)("th",{className:"p-4 text-left text-xs font-bold uppercase tracking-wider text-theme-text",children:"Stock"}),(0,t.jsx)("th",{className:"p-4 text-left text-xs font-bold uppercase tracking-wider text-theme-text",children:"Event"}),(0,t.jsx)("th",{className:"p-4 text-left text-xs font-bold uppercase tracking-wider text-theme-text",children:"Sector"}),(0,t.jsx)("th",{className:"p-4 text-center text-xs font-bold uppercase tracking-wider text-theme-text",children:"Timeframe"}),(0,t.jsx)("th",{className:"p-4 text-center text-xs font-bold uppercase tracking-wider text-theme-text",children:"To target"})]})}),0===e.length?(0,t.jsx)("tbody",{children:(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:l.LANDING_TOP_IDEAS_COLUMN_COUNT,className:"p-12 text-center text-theme-text opacity-60",children:"No trade ideas found."})})}):(0,t.jsx)("tbody",{className:"divide-y divide-[var(--theme-border)]",children:e.map((e,s)=>{let r=e.targetPrice&&e.currentPrice?(e.targetPrice-e.currentPrice)/e.currentPrice:0,a=e.rank??s+1,o=a>0&&a<=10;return(0,t.jsxs)("tr",{className:"group cursor-pointer transition-colors hover:bg-[var(--theme-border)]/30",onClick:()=>(0,n.navigateFromMarketingEmbed)("/top-ideas",c),children:[(0,t.jsx)("td",{className:"p-4 text-center",children:(0,t.jsx)("span",{className:`font-kalam text-lg font-bold tabular-nums ${o?l.TOP_IDEAS_TOP_TEN_RANK_CLASS:"text-theme-text/50"}`,children:a})}),(0,t.jsx)("td",{className:"p-4",children:(0,t.jsxs)("div",{className:"flex items-center justify-start space-x-3",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-[var(--theme-border)] text-theme-text",children:(0,t.jsx)("span",{className:"select-none text-xs font-bold text-gray-300 blur-sm",children:"XXXX"})}),(0,t.jsx)("div",{className:"text-left",children:(0,t.jsx)("div",{className:"select-none text-sm font-bold text-gray-300 blur-sm",children:"Company Name"})})]})}),(0,t.jsx)("td",{className:"max-w-xs p-4 text-left",children:(0,t.jsxs)("div",{className:"flex items-center justify-start gap-2 text-sm font-bold text-gray-300 blur-sm",children:[(0,t.jsx)("span",{className:"rounded bg-[var(--theme-border)] px-1.5 py-0.5 text-[10px] font-bold uppercase tracking-wider text-theme-text",children:"#"}),(0,t.jsx)("span",{className:"truncate",children:"Event name hidden"})]})}),(0,t.jsx)("td",{className:"max-w-[220px] p-4 text-left",children:(0,t.jsx)("span",{className:"inline-flex max-w-full truncate rounded px-1.5 py-0.5 text-[10px] font-bold uppercase leading-tight tracking-wider sm:text-[11px]",style:(0,i.getSectorStyle)(e.sector||"Other",d),children:e.sector||"Unknown"})}),(0,t.jsx)("td",{className:"p-4 text-center",children:(0,t.jsx)("span",{className:"font-bold text-theme-text",children:null!=e.daysToEvent?`${e.daysToEvent} days`:"â"})}),(0,t.jsx)("td",{className:"p-4 text-center",children:(0,t.jsx)("span",{className:`text-sm font-bold ${r>0?"text-[#16a34a] dark:text-[#4ade80]":r<0?"text-[#F00E72]":"text-theme-text"}`,children:(100*r).toFixed(2)+"%"})})]},s)})})]}),(0,t.jsxs)("p",{className:"mt-4 text-center text-sm text-theme-muted",children:[(0,t.jsx)(s.default,{href:"/case-studies",className:"font-bold text-[#0E56F0] underline-offset-2 hover:underline dark:text-[#5B8DEF]",children:"Case studies"})," â ","how past top picks played out through target"]}),e.length>0&&(0,t.jsx)("div",{className:"pointer-events-none absolute left-0 top-14 z-10 flex w-1/2 min-h-[min(280px,calc(58svh-3.5rem))] min-w-[min(50%,280px)] max-w-[50%] items-center justify-center px-2 sm:px-3 md:min-h-[min(560px,calc(75vh-3.5rem))]",children:(0,t.jsx)(s.default,{href:"/pricing",className:"pointer-events-auto max-w-[min(100%,260px)] rounded-xl border border-gray-200/90 bg-white/95 px-4 py-3 text-center shadow-xl backdrop-blur-sm transition hover:shadow-2xl dark:border-white/15 dark:bg-[#0B0E14]/95 sm:max-w-[280px] sm:px-5 sm:py-4",children:(0,t.jsxs)("p",{className:"text-sm font-bold leading-snug text-[#3F4F70] dark:text-theme-text sm:text-base",children:["Start a"," ",(0,t.jsx)("span",{className:"text-[#0E56F0] dark:text-[#5B8DEF]",children:"Premium"})," ","free trial to unlock full Top Ideas"]})})})]})})]})})})}function c(e){return(0,t.jsx)(a.ThemeProvider,{children:(0,t.jsx)(d,{...e})})}e.s(["LandingTopIdeasPreview",()=>c])},143321,e=>{"use strict";var t=e.i(173447),s=e.i(315098);e.s(["LANDING_SHORTLIST_DEMO_UI",()=>s.LANDING_SHORTLIST_DEMO_UI,"LandingShortlistDemo",()=>t.LandingShortlistDemo])},448349,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(522016),a=e.i(21218),i=e.i(871689),n=e.i(972520),l=e.i(398361),o=e.i(25652),d=e.i(37727),c=e.i(618566),m=e.i(880492),x=e.i(121259),h=e.i(372759),u=e.i(635332),p=e.i(166023),f=e.i(126298);let g=({isOpen:e,onClose:s,lineup:r,lineupEvents:a})=>e?(0,t.jsx)("div",{className:"absolute inset-0 z-40 flex flex-col bg-[#3F4F70]/45 backdrop-blur-[2px]",role:"dialog","aria-modal":"true","aria-label":"Lineup performance and breakdown",onClick:s,children:(0,t.jsx)("div",{className:"flex min-h-0 flex-1 flex-col p-2 sm:p-3",onClick:e=>e.stopPropagation(),children:(0,t.jsxs)("div",{className:"relative flex min-h-0 flex-1 flex-col overflow-hidden rounded-xl border border-[var(--theme-border)] bg-theme-bg shadow-lg",children:[(0,t.jsx)("button",{type:"button",onClick:s,className:"absolute top-2 right-2 z-50 cursor-pointer rounded-full border border-[var(--theme-border)] bg-theme-input-bg p-2 text-theme-text shadow-sm transition-all hover:opacity-90","aria-label":"Close chart",children:(0,t.jsx)(d.X,{className:"h-5 w-5"})}),(0,t.jsx)("div",{className:"scrollbar-on-hover min-h-0 flex-1 overflow-auto pt-11",children:(0,t.jsx)("div",{className:"flex h-[min(58vh,560px)] min-h-[280px] w-full flex-col bg-theme-bg text-theme-text",children:(0,t.jsx)(u.PortfolioChart,{lineup:r,events:a,userTier:"public",eventsLoading:!1,forceShowProjection:!0}
3)})})]})})}):null,b="#4CAF50",y="#F00E72",v="#F0AB0E",j="#0E56F0",w=e=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(e);function N({payload:e}){let u=(0,c.useRouter)(),{isDark:N}=(0,m.useTheme)(),[k,S]=(0,s.useState)(!1),C=Array.isArray(e.lineup)?e.lineup:[],E=Array.isArray(e.bench)?e.bench:[],F=Array.isArray(e.lineupEvents)?e.lineupEvents:[],_=Array.isArray(e.benchEvents)?e.benchEvents:[],P=(0,s.useMemo)(()=>C.reduce((e,t)=>e+(Number(t.shares)||0)*(Number(t.currentPrice)||0),0),[C]),A=(0,s.useMemo)(()=>(0,f.nextCatalystByTicker)(F),[F]),I=(0,s.useMemo)(()=>(0,f.nextCatalystByTicker)(_),[_]),T=new Map;for(let e of[...C,...E]){let t=String(e.ticker??"").toUpperCase(),s=String(e.companyName??"").trim();t&&s&&T.set(t,s)}let L=e=>(0,t.jsx)(x.CatalystFeedList,{events:e.slice(0,10).map(e=>({ticker:e.ticker,date:"string"==typeof e.date?e.date:void 0,label:"string"==typeof e.label?e.label:void 0,catalyst_family:"string"==typeof e.catalyst_family?e.catalyst_family:null,bull_probability:"number"==typeof e.bull_probability||"string"==typeof e.bull_probability?e.bull_probability:null,target:"number"==typeof e.target?e.target:null,fallback:"number"==typeof e.fallback?e.fallback:null,base_price:"number"==typeof e.base_price?e.base_price:null})),renderEvent:e=>{let s=String(e.ticker??"");return(0,t.jsx)(x.CatalystFeedItem,{event:e,ticker:s,companyName:T.get(s.toUpperCase()),showCatalystDetails:!1,onClick:()=>(0,h.navigateFromMarketingEmbed)("/starting-lineup",u)})}}),M=(e,s)=>{let a="lineup"===s?[...e].sort((e,t)=>{let s=(Number(e.shares)||0)*(Number(e.currentPrice)||0),r=(Number(t.shares)||0)*(Number(t.currentPrice)||0),a=P>0?s/P*100:0;return(P>0?r/P*100:0)-a}):[...e].sort((e,t)=>{let s=e.created_at?new Date(String(e.created_at)).getTime():Number(e.id)||0;return(t.created_at?new Date(String(t.created_at)).getTime():Number(t.id)||0)-s}),l="lineup"===s?"hover:bg-green-50/20 dark:hover:bg-green-500/10":"hover:bg-blue-50/20 dark:hover:bg-blue-500/10";return(0,t.jsx)("div",{className:"bg-theme-bg rounded-2xl shadow-sm border border-[var(--theme-text)]/10 overflow-hidden mb-6 transition-colors duration-200",children:(0,t.jsx)("div",{className:"scrollbar-on-hover overflow-x-auto -mx-px",children:(0,t.jsxs)("table",{className:"w-full text-left border-collapse min-w-[600px] sm:min-w-0",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"bg-[var(--theme-border)]/50 border-b border-[var(--theme-border)] text-[10px] uppercase font-bold tracking-wider text-theme-text",children:[(0,t.jsx)("th",{className:"p-4 text-left text-theme-text",children:"Ticker"}),(0,t.jsx)("th",{className:"p-4 text-center text-theme-text w-[100px]",children:"Next"}),(0,t.jsx)("th",{className:"p-4 text-right text-theme-text",children:"Price"}),"lineup"===s&&(0,t.jsx)("th",{className:"p-4 text-right text-theme-text",children:"Shares"}),"lineup"===s&&(0,t.jsx)("th",{className:"p-4 text-right text-theme-text",children:"%"}),(0,t.jsx)("th",{className:"p-4 text-center text-theme-text",children:"Action"})]})}),(0,t.jsx)("tbody",{className:"divide-y divide-[var(--theme-border)]",children:a.length>0?a.map(e=>{let a=(Number(e.shares)||0)*(Number(e.currentPrice)||0),o=P>0?a/P*100:0,c=String(e.ticker??""),m=String(e.companyName??""),x=Number(e.currentPrice),f=Number(e.changePercent??0),g=c.toUpperCase(),w=("lineup"===s?A:I).get(g);return(0,t.jsxs)("tr",{className:`${l} transition-colors group`,children:[(0,t.jsx)("td",{className:"p-4",children:(0,t.jsxs)(r.default,{href:`/quote/${c}`,target:"_top",className:"flex flex-col",children:[(0,t.jsx)("span",{className:"font-bold text-base",style:{color:"lineup"===s?b:N?v:j},children:c}),(0,t.jsx)("span",{className:"text-[10px] text-theme-text opacity-70 font-medium truncate max-w-[100px]",children:m})]})}),(0,t.jsx)("td",{className:"p-4 text-center",children:(0,t.jsx)("div",{className:"inline-flex items-center justify-center",children:(0,t.jsx)(p.NextCatalystCell,{event:w})})}),(0,t.jsxs)("td",{className:"p-4 text-right",children:[(0,t.jsx)("div",{className:"font-bold text-sm text-theme-text",children:x?null==x||0===x?"N/A":`$${x.toFixed(2)}`:"-"}),(0,t.jsxs)("div",{className:"text-[10px] font-bold",style:{color:f>0?b:f<0?y:"#3F4F70"},children:[f>0?"+":"",null!=e.changePercent?f.toFixed(2):"0.00","%"]})]}),"lineup"===s&&(0,t.jsx)("td",{className:"p-4 text-right",children:(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("input",{type:"number",min:0,value:Number(e.shares)||0,readOnly:!0,onClick:()=>(0,h.navigateFromMarketingEmbed)("/starting-lineup",u),className:"w-20 px-2 py-1 text-right text-sm font-bold text-theme-text border border-transparent hover:border-[var(--theme-border)] focus:border-[#0E56F0] focus:ring-1 focus:ring-[var(--theme-accent-muted)] rounded-lg transition-all bg-transparent focus:bg-theme-input-bg outline-none cursor-pointer",placeholder:"0"})})}),"lineup"===s&&(0,t.jsx)("td",{className:"p-4 text-right",children:(0,t.jsxs)("span",{className:"text-sm font-bold text-theme-text",children:[o.toFixed(1),"%"]})}),(0,t.jsx)("td",{className:"p-4 text-center",children:(0,t.jsxs)("div",{className:"flex items-center justify-center space-x-1 opacity-100 md:opacity-0 md:group-hover:opacity-100 transition-opacity",children:[(0,t.jsx)("button",{type:"button",onClick:()=>(0,h.navigateFromMarketingEmbed)("/starting-lineup",u),className:"p-1.5 bg-[var(--theme-border)] text-theme-text rounded hover:opacity-80 transition-colors cursor-pointer",title:"lineup"===s?"Move to Bench":"Move to Starting Lineup",children:"lineup"===s?(0,t.jsx)(n.ArrowRight,{className:"w-3 h-3",style:{color:N?v:j}}):(0,t.jsx)(i.ArrowLeft,{className:"w-3 h-3",style:{color:b}})}),(0,t.jsx)("button",{type:"button",onClick:()=>(0,h.navigateFromMarketingEmbed)("/starting-lineup",u),className:"p-1.5 rounded hover:bg-red-50 text-red-400 transition-colors cursor-pointer",children:(0,t.jsx)(d.X,{className:"w-3 h-3",style:{color:y}})})]})})]},String(e.id??c))}):(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:"lineup"===s?6:4,className:"p-6 text-center text-xs text-gray-400 italic",children:"No players."})})})]})})})};return(0,t.jsxs)("div",{className:"relative flex h-full min-h-0 min-w-0 flex-1 flex-col overflow-hidden bg-theme-bg",children:[(0,t.jsx)(g,{isOpen:k,onClose:()=>S(!1),lineup:C,lineupEvents:F}),(0,t.jsxs)("div",{className:"scrollbar-on-hover mx-auto min-h-0 flex-1 w-full max-w-full space-y-10 overflow-y-auto overflow-x-hidden scroll-smooth p-4 md:p-8 lg:max-w-[98%]",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-col space-y-6",children:[(0,t.jsxs)("div",{className:"flex min-h-[3.5rem] items-end justify-between px-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsx)("h2",{className:"flex items-center font-kalam text-2xl font-bold uppercase",style:{color:b},children:"Starting Lineup"}),C.length>0&&(0,t.jsxs)("button",{type:"button",onClick:()=>S(!0),className:"flex items-center space-x-1.5 rounded-lg border border-[var(--theme-border)] bg-theme-input-bg px-3 py-1.5 text-xs font-bold uppercase tracking-wider text-theme-text transition-colors hover:bg-[var(--theme-border)] cursor-pointer",children:[(0,t.jsx)(o.TrendingUp,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:"Lineup performance"}),(0,t.jsx)(l.Maximize2,{className:"h-3.5 w-3.5 text-gray-400","aria-hidden":!0})]})]}),(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsx)("span",{className:"block text-[10px] font-bold uppercase tracking-wider text-gray-400",children:"Portfolio Value"}),(0,t.jsx)("span",{className:"text-xl font-bold",style:{color:b},children:w(P)})]})]}),M(C,"lineup"),(0,t.jsxs)("div",{className:"min-h-[280px] flex-1 overflow-hidden rounded-2xl border border-[var(--theme-border)] bg-theme-bg shadow-sm",children:[(0,t.jsxs)("h3",{className:"flex items-center border-b border-[var(--theme-border)] bg-theme-input-bg/30 px-4 py-4 font-kalam text-lg font-bold uppercase md:px-6",style:{color:b},children:[(0,t.jsx)(a.Activity,{className:"mr-2 h-4 w-4",style:{color:b}})," Lineup Catalyst Feed"]}),(0,t.jsx)("div",{className:"max-h-[280px] overflow-y-auto p-3 md:p-4",children:F.length>0?L(F):(0,t.jsx)("div",{className:"py-12 text-center text-sm text-gray-400",children:0===C.length?"Add stocks to see catalysts.":"No upcoming catalysts found for your lineup."})})]})]}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-col space-y-6 border-t border-[var(--theme-border)] pt-10",children:[(0,t.jsxs)("div",{className:"flex min-h-[3.5rem] items-end justify-between px-2",children:[(0,t.jsx)("h2",{className:"flex items-center font-kalam text-2xl font-bold uppercase",style:{color:N?v:j},children:"The Bench"}),(0,t.jsxs)("div",{className:"invisible text-right",children:[(0,t.jsx)("span",{className:"block text-[10px] font-bold uppercase tracking-wider text-gray-400",children:"Portfolio Value"}),(0,t.jsx)("span",{className:"text-xl font-bold",style:{color:b},children:w(0)})]})]}),M(E,"bench"),(0,t.jsxs)("div",{className:"min-h-[280px] flex-1 overflow-hidden rounded-2xl border border-[var(--theme-border)] bg-theme-bg shadow-sm",children:[(0,t.jsxs)("h3",{className:"flex items-center border-b border-[var(--theme-border)] bg-theme-input-bg/30 px-4 py-4 font-kalam text-lg font-bold uppercase md:px-6",style:{color:N?v:j},children:[(0,t.jsx)(a.Activity,{className:"mr-2 h-4 w-4",style:{color:N?v:j}})," Bench Catalyst Feed"]}),(0,t.jsx)("div",{className:"scrollbar-on-hover max-h-[280px] overflow-y-auto p-3 md:p-4",children:_.length>0?L(_):(0,t.jsx)("div",{className:"py-12 text-center text-sm text-theme-text/60",children:0===E.length?"Add stocks to see catalysts.":"No upcoming catalysts found for your bench."})})]})]})]})]})}e.s(["StartingLineupLandingPreview",()=>
3N])},889609,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(618566),a=e.i(880492),i=e.i(734390),n=e.i(757600),l=e.i(372759),o=e.i(419381);function d(e){if(!e||"object"!=typeof e)return 0;let t=e.data?.scores?.total,s="number"==typeof t?t:parseFloat(String(t??""));return Number.isFinite(s)?s:0}function c(e){if(!e||"object"!=typeof e)return"";let t="string"==typeof e.data?.trend_name?e.data.trend_name:"",s="string"==typeof e.sector?e.sector:"";return(t||s).toLowerCase()}var m=e.i(884348);function x({trends:e}){let x=(0,r.useRouter)(),{isDark:h}=(0,a.useTheme)(),[u,p]=(0,s.useState)(null),f=(0,s.useMemo)(()=>[...Array.isArray(e)?e:[]].sort((e,t)=>{let s=d(t)-d(e);return 0!==s?s:c(e).localeCompare(c(t))}).slice(0,10).map(e=>{let t=e.standard_sector||"Other",s=e.gics_industries??(e.gics_industry?[e.gics_industry]:[]),r=e.standard_sectors?.length?e.standard_sectors:[t];return{...e,standard_sector:t,standard_sectors:r.length?r:[t],gics_industry:e.gics_industry||s[0]||"Other",gics_industries:s.length?s:e.gics_industry?[e.gics_industry]:[],isPending:!!e.isPending}}),[e]);return 0===f.length?(0,t.jsx)("div",{className:"flex h-64 flex-col items-center justify-center bg-theme-bg",children:(0,t.jsx)("p",{className:"font-medium text-theme-text/70",children:"No trend scores in cache."})}):(0,t.jsx)("div",{className:"flex h-full min-h-0 flex-col overflow-hidden rounded-2xl border border-[var(--theme-border)] bg-theme-bg shadow-sm animate-fade-up transition-colors duration-200",children:(0,t.jsx)("div",{className:"scrollbar-on-hover min-h-0 flex-1 overflow-y-auto overflow-x-hidden",children:(0,t.jsxs)("table",{className:"w-full table-fixed border-collapse text-left text-[10px] leading-snug sm:text-xs md:text-sm md:leading-normal",children:[(0,t.jsxs)("colgroup",{children:[(0,t.jsx)("col",{className:"w-[28%] sm:w-[30%] md:w-[32%]"}),(0,t.jsx)("col",{className:"w-[18%] md:w-[16%]"}),(0,t.jsx)("col",{className:"w-[39%] sm:w-[37%] md:w-[36%]"}),(0,t.jsx)("col",{className:"w-[15%] md:w-[16%]"})]}),(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"border-b border-[var(--theme-border)] bg-theme-bg text-[9px] font-bold uppercase tracking-wider text-theme-text opacity-80 sm:text-[10px] md:text-[11px]",children:[(0,t.jsx)("th",{className:"px-1.5 py-2 text-left sm:px-2 md:p-6",children:"Trend"}),(0,t.jsx)("th",{className:"px-1.5 py-2 text-left sm:px-2 md:p-6",children:"Sector"}),(0,t.jsx)("th",{className:"cursor-default px-1.5 py-2 sm:px-2 md:p-6",children:"Thesis"}),(0,t.jsx)("th",{className:"px-1 py-2 text-center sm:px-2 md:p-6",children:"Total"})]})}),(0,t.jsx)("tbody",{className:"divide-y divide-[var(--theme-border)]",children:f.map((e,s)=>{let r,a,d,c,f=e.isPending,g=e.data?.trend_name||e.sector,b=(0,o.stripInlineCitationChipsFromProse)((0,o.stripTrendCitationMarkers)(e.data?.trend_description||"Pending description...")),y=e.data?.scores||{headwinds:0,hype:0,catalysts:0,total:0};return(0,t.jsxs)("tr",{onClick:()=>{f||(0,l.navigateFromMarketingEmbed)("/trend-scores",x)},className:`group transition-all duration-200 ${f?"pointer-events-none bg-theme-input-bg/50 opacity-50":"cursor-pointer hover:bg-blue-50 dark:hover:bg-[var(--theme-accent-muted)]"}`,children:[(0,t.jsx)("td",{className:"align-top px-1.5 py-2 sm:px-2 md:p-6",children:(0,t.jsxs)("div",{className:"flex items-start gap-1.5 sm:gap-2 md:gap-3",children:[f?null:(0,t.jsx)(m.TrendVisualIcon,{sectorKey:e.sector,trendName:g,standardSector:e.standard_sectors?.[0]||e.standard_sector||"Other",size:"sm",className:"mt-0.5 hidden shrink-0 sm:inline-flex"}),(0,t.jsx)("div",{className:`min-w-0 break-words font-kalam font-bold uppercase leading-snug md:text-lg ${f?"text-theme-text/50":"text-theme-text transition-colors group-hover:text-[#0E56F0] dark:group-hover:text-theme-accent"}`,children:g})]})}),(0,t.jsx)("td",{className:"align-top px-1.5 py-2 sm:px-2 md:p-6",children:(r=e.standard_sectors?.length?e.standard_sectors:e.standard_sector?[e.standard_sector]:["Other"],d=(a=u===s)?r:r.slice(0,2),c=r.length-2,(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-0.5 sm:gap-1",children:[d.map(e=>(0,t.jsx)("span",{className:"inline-block max-w-full truncate rounded px-1 py-0.5 text-[8px] font-bold uppercase tracking-wider border sm:px-2 sm:py-1 sm:text-xs",style:(0,n.getSectorPillStyle)(e||"Other",h),title:e,children:e},e)),!a&&c>0&&(0,t.jsxs)("button",{type:"button",className:"cursor-pointer text-[8px] font-bold text-theme-text/70 hover:text-theme-text focus:underline focus:outline-none sm:text-[10px]",onClick:e=>{e.stopPropagation(),p(s)},title:`Show ${c} more`,children:["+",c]})]}))}),(0,t.jsx)("td",{className:"max-w-0 align-top px-1.5 py-2 sm:px-2 md:p-6",children:(0,t.jsx)("p",{className:"line-clamp-3 break-words text-theme-text/70 sm:line-clamp-2 md:text-sm md:leading-relaxed",children:b})}),(0,t.jsx)("td",{className:"align-top bg-slate-100 text-center dark:bg-theme-input-bg/30 md:pt-8",children:!f&&(0,t.jsx)("div",{className:"flex items-center justify-center px-0.5 py-1 sm:px-2 md:p-6 md:pt-8",children:(0,t.jsx)("span",{className:"rounded-md px-0.5 py-0.5 font-kalam text-base font-bold uppercase sm:px-2 sm:py-1 sm:text-2xl",style:(0,i.getTrendScoreStyle)(y.total??0,!0),children:y.total??0})})})]},e.sector||s)})})]})})})}e.s(["TrendScoresLandingPreview",()=>x],889609)},972791,e=>{"use strict";var t=e.i(843476),s=e.i(522016),r=e.i(463059),a=e.i(390745),i=e.i(126298);function n({tile:e}){let n=`/quote/${encodeURIComponent(e.ticker)}`,l=function(e){switch(e){case"imminent":return{backgroundColor:"#F00E72",color:"#ffffff"};case"soon":return{backgroundColor:"#F0AB0E",color:"#3F4F70"};case"later":return{backgroundColor:"#0E56F0",color:"#ffffff"}}}(e.urgency),o=(0,i.catalystDayYmd)(e.catalystDate),d=Number.isFinite(e.expectedMovePct)&&0!==e.expectedMovePct?`${e.expectedMovePct>0?"+":""}${e.expectedMovePct.toFixed(1)}%`:null;return(0,t.jsxs)(s.default,{href:n,className:"relative flex h-[min(42svh,280px)] min-h-[200px] w-full flex-col justify-between overflow-hidden rounded-xl border border-gray-200 bg-white p-5 shadow-sm transition hover:border-[#0E56F0]/35 hover:shadow-md",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-start gap-3",children:[(0,t.jsx)(a.TickerEventIcon,{tag:e.catalystTag,size:48}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"font-kalam text-2xl font-bold leading-none tracking-tight text-[#3F4F70]",children:e.ticker}),e.companyName?(0,t.jsx)("p",{className:"mt-1 truncate text-xs font-medium text-[#3F4F70]/55",children:e.companyName}):null]})]}),(0,t.jsx)("span",{className:"shrink-0 rounded-full px-2 py-0.5 text-[10px] font-bold uppercase leading-none",style:l,children:e.badgeLabel})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-bold leading-snug text-[#1a2332]",children:e.catalystTag||"Upcoming catalyst"}),(0,t.jsxs)("div",{className:"mt-2 flex items-end justify-between gap-3",children:[(0,t.jsx)("span",{className:"text-xs font-semibold tabular-nums text-[#3F4F70]/60",children:o?(0,i.shortUtcCatalystDate)(o):""}),d?(0,t.jsx)("span",{className:"text-lg font-bold tabular-nums text-[#3F4F70]",children:d}):null]})]}),(0,t.jsx)("span",{className:"absolute right-3 top-1/2 flex h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full border border-gray-200 bg-white/95 text-[#0E56F0] shadow-md",children:(0,t.jsx)(r.ChevronRight,{className:"h-5 w-5",strokeWidth:2.5,"aria-hidden":!0})})]})}function l({charts:e}){return e.length?(0,t.jsx)("div",{className:"mb-10 md:mb-14 w-screen relative left-1/2 -translate-x-1/2 px-4 sm:px-6 md:px-8","aria-label":"Upcoming catalysts by urgency",children:(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 md:gap-4 w-full",children:e.map(({tile:e})=>(0,t.jsx)(n,{tile:e},`${e.urgency}-${e.ticker}`))})}):null}e.s(["LandingUrgencyChartsRow",()=>l],972791)},753399,e=>{"use strict";var t=e.i(247167),s=e.i(843476),r=e.i(531278),a=e.i(85939),i=e.i(351680),n=e.i(812340),l=e.i(271645),o=e.i(522016),d=e.i(618566),c=e.i(21218),m=e.i(115057),x=e.i(191741),h=e.i(694351),u=e.i(292270),p=e.i(492161),f=e.i(991799),g=e.i(541071),b=e.i(239616),y=e.i(897250),v=e.i(664030),j=e.i(37727),w=e.i(912313),N=e.i(635332),k=e.i(167870),S=e.i(880492),C=e.i(62474),E=e.i(3592),F=e.i(176967),_=e.i(147855),P=e.i(200650),A=e.i(494949),I=e.i(486298),T=e.i(263676),L=e.i(919291),M=e.i(644023),R=e.i(954290),O=e.i(115077),U=e.i(549558),B=e.i(491445),D=e.i(860410),z=e.i(972520),$=e.i(87316),W=e.i(503116),H=e.i(25652),G=e.i(143740),q=e.i(631529),Y=e.i(936702),X=e.i(924686),V=e.i(562917);function Q({weekPayload:e,lineup:t,bench:r,rosterUserId:i,rosterReady:n}){let c=(0,d.useRouter)(),{tier:m,stockAnalysisTickersThisPeriod:x}=(0,a.useUserTier)(),h="free"===m,[u,p]=(0,l.useState)([]),[f,g]=(0,l.useState)([]),[b,y]=(0,l.useState)(!0),[v,j]=(0,l.useState)([]),w=(0,l.useRef)(0);(0,l.useEffect)(()=>{try{let e=localStorage.getItem("recent_searches");if(e){let t=JSON.parse(e);Array.isArray(t)&&j(t.slice(0,10))}}catch{}},[]),(0,l.useEffect)(()=>
3{if(!i)return;let e=(0,q.readMovesRecommendationsCache)(i);e?.dismissedSymbols?.length&&g(e.dismissedSymbols),e?.picks?.length&&(p(e.picks),y(!1))},[i]),(0,l.useEffect)(()=>{if(!i||!n)return;let e=++w.current,s=(0,G.rosterSuggestionsFingerprintFromRows)(t,r),a=(0,q.readMovesRecommendationsCache)(i);if(a?.picks?.length&&a.rosterFp===s&&a.tier===m){p(a.picks),y(!1);return}let l=!1;return y(!0),(async()=>{try{let n=await (0,G.fetchMovesRecommendations)({tier:m,lineup:t,bench:r});if(l||e!==w.current)return;(0,q.writeMovesRecommendationsCache)({userId:i,rosterFp:s,tier:m,picks:n,dismissedSymbols:a?.dismissedSymbols??[]}),p(n)}catch{}finally{l||e!==w.current||y(!1)}})(),()=>{l=!0}},[i,n,t,r,m]);let N=(0,l.useMemo)(()=>(0,q.filterSuggestedStocksForDisplay)(u,f,""),[u,f]),k=(0,l.useMemo)(()=>e&&(0,X.countMajorMovesStocks)(e)>0?(0,V.listRelatedWeekPeers)(e,""):[],[e]),S=e=>{let t=e.toUpperCase().trim();t&&c.push(`/quote/${encodeURIComponent(t)}`)};return(0,s.jsx)("aside",{className:"hidden xl:flex w-80 flex-shrink-0 border-l border-[var(--theme-border)] bg-theme-input-bg flex-col h-full",children:(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto group/sidebar p-6",children:[(0,s.jsxs)("div",{className:"mb-8",children:[(0,s.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,s.jsxs)("h3",{className:"font-bold text-theme-text text-sm font-kalam uppercase tracking-wider flex items-center",children:[(0,s.jsx)(H.TrendingUp,{className:"w-4 h-4 mr-2"}),"Recommended"]})}),N.length>0?(0,s.jsx)("div",{className:"space-y-3",children:N.map(e=>(0,s.jsxs)("div",{onClick:()=>{i&&(0,q.addDismissedRecommendationSymbol)(i,e.symbol),S(e.symbol)},className:"bg-theme-input-bg p-4 rounded-lg border border-[var(--theme-border)] hover:border-[#0E56F0] dark:hover:border-[#F0AB0E] hover:shadow-sm cursor-pointer group/item transition-all",children:[(0,s.jsx)("div",{className:"flex items-start justify-between gap-2 mb-2",children:(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,s.jsx)("div",{className:"font-bold text-lg text-theme-text group-hover/item:text-[#0E56F0] dark:group-hover/item:text-[#F0AB0E] font-kalam transition-colors",children:e.symbol}),(0,s.jsx)(Y.ExpectedMovesCreditLabel,{symbol:e.symbol,showForFreeUser:h,tickersAnalyzedThisPeriod:x})]}),(0,s.jsx)("div",{className:"text-xs text-theme-text opacity-70 truncate mt-1",children:e.name})]})}),e.sector&&(0,s.jsx)("div",{className:"text-xs font-medium text-theme-text opacity-80 mt-2",children:e.sector})]},e.symbol))}):(0,s.jsx)("div",{className:"text-center py-8 text-theme-text opacity-60 text-xs italic",children:b?"Loading recommendationsâ¦":"No recommendations available yet."})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,s.jsxs)("h3",{className:"font-bold text-theme-text text-sm font-kalam uppercase tracking-wider flex items-center",children:[(0,s.jsx)(W.Clock,{className:"w-4 h-4 mr-2"}),"Recent"]}),v.length>0&&(0,s.jsx)("button",{type:"button",onClick:()=>{j([]),localStorage.removeItem("recent_searches")},className:"text-[10px] font-bold uppercase tracking-wider flex items-center transition-colors hover:opacity-80",style:{color:"#F00E72"},children:"Clear"})]}),v.length>0?(0,s.jsx)("div",{className:"space-y-2",children:v.map((e,t)=>(0,s.jsxs)("div",{onClick:()=>S(e),className:"flex items-center justify-between p-3 bg-theme-input-bg rounded-lg border border-[var(--theme-border)] hover:border-theme-link/40 hover:shadow-sm cursor-pointer group transition-all",children:[(0,s.jsx)("span",{className:"font-bold text-theme-text group-hover:text-theme-link font-kalam text-lg",children:e}),(0,s.jsx)(z.ArrowRight,{className:"w-4 h-4 text-theme-text/50 dark:text-white group-hover:text-theme-link dark:group-hover:text-theme-accent group-hover:translate-x-1 transition-transform"})]},e+t))}):(0,s.jsx)("div",{className:"text-center py-8 text-theme-text opacity-60 text-xs italic",children:"No recent searches."})]}),k.length>0&&(0,s.jsxs)("div",{className:"mt-8",children:[(0,s.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,s.jsxs)("h3",{className:"font-bold text-theme-text text-sm font-kalam uppercase tracking-wider flex items-center",children:[(0,s.jsx)($.Calendar,{className:"w-4 h-4 mr-2"}),"This week"]})}),(0,s.jsx)("div",{className:"space-y-2",children:k.slice(0,12).map(e=>(0,s.jsxs)(o.default,{href:`/quote/${encodeURIComponent(e.symbol)}`,className:"flex items-center justify-between p-3 bg-theme-input-bg rounded-lg border border-[var(--theme-border)] hover:border-theme-link/40 hover:shadow-sm cursor-pointer group transition-all",children:[(0,s.jsxs)("div",{className:"min-w-0 flex-1 pr-2",children:[(0,s.jsx)("span",{className:"font-bold text-theme-text group-hover:text-theme-link font-kalam text-lg",children:e.symbol}),(0,s.jsx)("div",{className:"text-xs text-theme-text opacity-70 truncate mt-0.5",children:e.tag})]}),(0,s.jsx)(z.ArrowRight,{className:"w-4 h-4 flex-shrink-0 text-theme-text/50 dark:text-white group-hover:text-theme-link dark:group-hover:text-theme-accent group-hover:translate-x-1 transition-transform"})]},e.symbol))})]})]})})}var K=e.i(965889),Z=e.i(714846);let J="mx-auto max-w-[1600px] px-4 md:px-6 lg:px-8";function ee({weekPayload:e,loading:t=!1,showCreditLabels:r=!1,tickersAnalyzedThisPeriod:a=null}){let i=(0,l.useMemo)(()=>
3{if(!e?.columns?.length)return null;let t=(0,K.normalizeMajorMovesWeekColumns)(e.columns),s=(0,K.getMajorMovesGridStartIso)();return t.find(e=>e.dateIso===s)??t[0]??null},[e]);return i?i.isHoliday?(0,s.jsx)("section",{className:"border-b border-[var(--theme-border)] bg-theme-input-bg/40",children:(0,s.jsxs)("div",{className:`${J} py-3`,children:[(0,s.jsx)("p",{className:"text-sm font-bold text-theme-text",children:"Market closed"}),(0,s.jsx)("p",{className:"mt-0.5 text-xs text-theme-text/60",children:i.holidayName??"NYSE holiday"})]})}):(0,s.jsx)("section",{className:"border-b border-[var(--theme-border)] bg-theme-input-bg/40",children:(0,s.jsx)("div",{className:J,children:(0,s.jsx)(Z.MajorMovesDayPickScroller,{picks:i.picks,dateIso:i.dateIso,showCreditLabels:r,tickersAnalyzedThisPeriod:a,padX:!1})})}):(0,s.jsx)("section",{className:"border-b border-[var(--theme-border)] bg-theme-input-bg/40",children:(0,s.jsx)("p",{className:`${J} py-3 text-sm text-theme-text/60 italic`,children:t?"Loading week moversâ¦":"Week movers unavailable right now."})})}var et=e.i(918280),es=e.i(121259),er=e.i(264180),ea=e.i(126298);let ei=(0,w.createClient)(),en="#4CAF50",el="#F00E72",eo=e=>(0,s.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,s.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"4"}),(0,s.jsx)("text",{x:"12",y:"17",fontSize:"12",textAnchor:"middle",stroke:"none",fill:"currentColor",fontWeight:"bold",style:{fontFamily:"var(--font-kalam), cursive"},children:"10"})]}),ed=e=>(0,s.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,s.jsx)("circle",{cx:"5",cy:"19",r:"3"}),(0,s.jsx)("path",{d:"M5 16c0-6 4-11 14-11"}),(0,s.jsx)("path",{d:"M15 9l4-4-4-4"})]});function ec({tier:e,isPremiumSubscriber:t}){return(0,s.jsxs)("aside",{className:"hidden md:flex flex-col w-16 hover:w-64 bg-theme-bg border-r border-[var(--theme-text)]/10 h-screen fixed left-0 top-0 z-[60] pt-20 transition-all duration-300 group shadow-sm overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto overflow-x-hidden py-4 px-1 space-y-1",children:[(0,s.jsx)(o.default,{href:"/",children:(0,s.jsx)(i.AppSidebarItem,{icon:h.Home,label:"HOME",active:!0})}),(0,s.jsx)(o.default,{href:"/trend-scores",children:(0,s.jsx)(i.AppSidebarItem,{icon:eo,label:"TREND SCORES"})}),(0,s.jsx)(o.default,{href:"/moves",children:(0,s.jsx)(i.AppSidebarItem,{icon:ed,label:"EXPECTED MOVES"})}),(0,s.jsx)(o.default,{href:"/starting-lineup",children:(0,s.jsx)(i.AppSidebarItem,{icon:x.ClipboardList,label:"STARTING LINEUP"})}),(0,s.jsx)(o.default,{href:(0,U.shortlistPath)(),children:(0,s.jsx)(i.AppSidebarItem,{icon:B.WhistleIcon,label:"SHORTLIST"})}),(0,s.jsx)(o.default,{href:(0,O.topIdeasPath)(t),children:(0,s.jsx)(i.AppSidebarItem,{icon:v.Trophy,label:"TOP IDEAS",locked:!t})}),(0,s.jsx)(o.default,{href:"/scouting-report",children:(0,s.jsx)(i.AppSidebarItem,{icon:n.ScoutingBinocularsIcon,label:"SCOUTING REPORT"})}),(0,s.jsx)(I.PaperTradingSidebarItem,{}),"public"!==e&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"pt-4 pb-2",children:(0,s.jsx)("div",{className:"h-px bg-[var(--theme-text)]/10 mx-4"})}),(0,s.jsx)(o.default,{href:"/settings",children:(0,s.jsx)(i.AppSidebarItem,{icon:b.Settings,label:"SETTINGS"})})]})]}),(0,s.jsx)(i.AppSidebarFooter,{showSignOut:"public"!==e})]})}function em({isOpen:e,onClose:t,title:r,content:a}){return e?(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-[#3F4F70]/40 backdrop-blur-sm cursor-pointer",onClick:t,children:(0,s.jsxs)("div",{className:"bg-theme-bg rounded-2xl shadow-2xl w-full max-w-2xl max-h-[90vh] overflow-hidden flex flex-col animate-fade-up relative border border-[var(--theme-border)]",onClick:e=>e.stopPropagation(),children:[(0,s.jsxs)("div",{className:"p-6 border-b border-[var(--theme-border)] flex justify-between items-center bg-theme-bg",children:[(0,s.jsx)("h3",{className:"text-2xl font-bold text-theme-text font-kalam uppercase",children:r}),(0,s.jsx)("button",{type:"button",onClick:t,className:"p-2 hover:bg-[var(--theme-accent-muted)] rounded-full transition-colors cursor-pointer text-theme-text",children:(0,s.jsx)(j.X,{className:"w-6 h-6"})})]}),(0,s.jsx)("div",{className:"p-0 overflow-y-auto flex-grow flex flex-col",children:a})]})}):null}function ex({initialWeekPayload:e=null}){let t=(0,d.useRouter)(),{tier:i,isPremiumSubscriber:n,billingTier:x,stockAnalysisTickersThisPeriod:h,userId:v,loading:j}=(0,a.useUserTier)(),{rosterUserId:w,lineup:I,bench:O,lineupEvents:U,benchEvents:B,loadingRoster:z,loadingEvents:$}=(0,er.useDashboardRoster)(),W=(0,R.resolveAuthNavChromeState)({tierLoading:j,tier:i,userId:v??w}),H=(0,k.useUserInitial)(i),{isDark:G}=(0,S.useTheme)(),[q,Y]=(0,l.useState)(e),[V,K]=(0,l.useState)(()=>!e||0===(0,X.countMajorMovesStocks)(e)),[Z,J]=(0,l.useState)(!1),[eo,ed]=(0,l.useState)(!1),[ex,eh]=(0,l.useState)(!1),[eu,ep]=(0,l.useState)(!1),[ef,eg]=(0,l.useState)(null),[eb,ey]=(0,l.useState)(null),ev=(0,l.useRef)(null),ej=(0,l.useMemo)(()=>new Set((h??[]).map(e=>String(e).toUpperCase())),[h]),ew=(0,l.useCallback)(e=>{let t=String(e||"").toUpperCase();return!!("starter"===i||"premium"===i||"free"===i&&ej.has(t))},[i,ej]),eN=(0,l.useMemo)(()=>{let e=new Map;for(let t of[...I,...O]){let s=String(t.ticker||"").toUpperCase();s&&t.companyName&&e.set(s,t.companyName)}return e},[I,O]),ek=(0,l.useMemo)(()=>[...U,...B].sort((e,t)=>
3(0,ea.catalystDayYmd)(e.date).localeCompare((0,ea.catalystDayYmd)(t.date))),[U,B]);(0,l.useEffect)(()=>{Y(e)},[e]),(0,l.useEffect)(()=>{if(null!=e&&(0,X.countMajorMovesStocks)(e)>0)return void K(!1);let t=!1;return K(!0),(async()=>{try{let e=await fetch("/api/major-moves-week",{cache:"no-store"});if(!e.ok||t)return;let s=await e.json();!t&&(0,X.countMajorMovesStocks)(s)>0&&Y(s)}catch{}finally{t||K(!1)}})(),()=>{t=!0}},[e]),(0,l.useEffect)(()=>{if(!ex)return;let e=e=>{let t=ev.current;t&&!t.contains(e.target)&&eh(!1)};return document.addEventListener("mousedown",e,!0),()=>document.removeEventListener("mousedown",e,!0)},[ex]);let eS=async()=>{await ei.auth.signOut(),t.refresh(),t.push("/")},eC=I.reduce((e,t)=>e+(Number(t.shares)||0)*(Number(t.currentPrice)||0),0),eE=I.reduce((e,t)=>e+(Number(t.shares)||0)*(Number(t.currentPrice)||0)*(Number(t.changePercent)||0)/100,0),eF=G?"#F0AB0E":"#0E56F0";return(0,s.jsxs)("div",{className:"bg-theme-bg min-h-screen font-sans text-theme-text flex transition-colors duration-200",children:[(0,s.jsx)(ec,{tier:i,isPremiumSubscriber:n}),(0,s.jsx)(F.MobileUserBottomSheet,{isOpen:eo,onClose:()=>ed(!1),tier:i,onGetStarted:()=>t.push("/pricing"),onLogIn:()=>t.push("/pricing"),onSignOut:eS}),(0,s.jsx)(P.TierSwitcher,{}),eb&&(0,s.jsx)(T.UpgradeModal,{isOpen:!0,trigger:eb,onClose:()=>ey(null)}),(0,s.jsx)(em,{isOpen:eu,onClose:()=>ep(!1),title:ef?.title||"",content:ef?.content}),(0,s.jsx)(E.MobileNavDrawer,{isOpen:Z,onClose:()=>J(!1),tier:i,currentPath:"/",onSignOut:eS,children:(0,s.jsxs)("div",{className:"flex-1 flex flex-col h-screen min-w-0 overflow-x-hidden md:pl-16",children:[(0,s.jsx)("header",{className:"z-50 sticky top-0 flex min-w-0 flex-col border-b border-[var(--theme-text)]/10 bg-theme-bg shadow-sm transition-colors duration-200",children:(0,s.jsxs)("div",{className:"flex h-auto min-w-0 flex-col justify-between gap-2 px-3 py-2 md:min-h-20 md:flex-row md:items-center md:px-8 md:py-2",children:[(0,s.jsxs)("div",{className:"flex items-center w-full md:w-auto md:flex-shrink-0 min-w-0",children:[(0,s.jsx)("div",{className:"w-10 flex-shrink-0 md:w-auto md:contents",children:(0,s.jsx)("button",{type:"button",onClick:()=>J(!0),className:"md:hidden p-2 rounded-lg text-theme-text hover:bg-[var(--theme-text)]/10 transition-colors cursor-pointer touch-manipulation -ml-1","aria-label":"Open menu",children:(0,s.jsx)(p.Menu,{className:"w-5 h-5"})})}),(0,s.jsx)("div",{className:"flex-1 flex justify-center min-w-0 md:flex-initial md:justify-start",children:(0,s.jsx)("div",{className:"flex items-end pb-2 md:pb-3 min-w-0",children:(0,s.jsx)(_.ScouterBrandHomeLink,{brandColor:en,iconClassName:"h-10 md:h-12 w-auto mb-1",couterClassName:"text-2xl md:text-3xl font-kalam font-bold uppercase tracking-tight -ml-0.5 mb-1 leading-none"})})}),(0,s.jsxs)("div",{className:"relative flex w-auto flex-shrink-0 items-center justify-end gap-0.5 md:hidden",children:[(0,s.jsx)(A.RosterNotificationsBell,{authNavChrome:W}),(0,s.jsx)("button",{type:"button",onClick:()=>ed(!0),className:"relative -mr-1 cursor-pointer touch-manipulation rounded-lg p-2 text-theme-text transition-colors hover:bg-[var(--theme-text)]/10","aria-label":"Options",children:(0,s.jsx)(g.MoreHorizontal,{className:"h-5 w-5"})})]})]}),(0,s.jsx)("div",{className:"w-full min-w-0 md:flex-1 md:max-w-2xl px-0 md:px-4 relative order-2 md:order-none",children:(0,s.jsx)(et.ExpectedMovesTickerSearch,{onLineupUpgradeRequest:ey,onRosterCapRequest:()=>ey("roster_cap"),activationHelperEventName:"homepage_activation_helper_rendered"})}),(0,s.jsxs)("div",{className:"hidden md:flex items-center gap-2 w-auto flex-shrink-0 justify-end",children:[(0,s.jsx)(L.UserMenuUpgradeButton,{tier:i,billingTier:x,variant:"header"}),(0,s.jsx)(A.RosterNotificationsBell,{authNavChrome:W}),(0,s.jsxs)("div",{className:"relative",ref:ev,children:[(0,s.jsx)("button",{type:"button",onClick:()=>eh(!ex),className:"rounded-full cursor-pointer hover:ring-4 hover:ring-[var(--theme-text)]/20 transition-all outline-none",children:(0,s.jsx)("div",{className:"w-10 h-10 rounded-full flex items-center justify-center font-bold text-sm shadow-sm",style:{backgroundColor:G?"#ffffff"
3:"#3F4F70",color:G?"#3F4F70":"#ffffff"},children:H})}),ex&&(0,s.jsxs)("div",{className:"absolute right-0 top-full mt-2 w-56 bg-theme-bg rounded-xl shadow-xl border border-[var(--theme-text)]/10 py-2 z-50 animate-fade-up origin-top-right",children:[(0,s.jsxs)(o.default,{href:"/settings",className:"w-full text-left px-4 py-2.5 text-sm font-medium text-theme-text hover:bg-[var(--theme-text)]/5 flex items-center space-x-2 transition-colors",children:[(0,s.jsx)(b.Settings,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Settings"})]}),(0,s.jsx)("div",{className:"border-t border-[var(--theme-text)]/10 my-1"}),(0,s.jsxs)("div",{className:"w-full px-4 py-2.5 flex items-center justify-between hover:bg-[var(--theme-text)]/5 transition-colors",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[G?(0,s.jsx)(y.Sun,{className:"w-4 h-4 text-theme-text"}):(0,s.jsx)(f.Moon,{className:"w-4 h-4 text-theme-text"}),(0,s.jsx)("span",{className:"text-sm font-medium text-theme-text",children:G?"Light mode":"Dark mode"})]}),(0,s.jsx)(C.ThemeToggle,{})]}),(0,s.jsxs)("button",{type:"button",onClick:()=>{eh(!1),eS()},className:"w-full text-left px-4 py-2.5 text-sm font-medium text-[var(--theme-red)] hover:bg-[var(--theme-red-muted)] flex items-center space-x-2 transition-colors cursor-pointer",children:[(0,s.jsx)(u.LogOut,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Log Out"})]})]})]})]})]})}),(0,s.jsxs)("div",{className:"flex flex-1 min-h-0",children:[(0,s.jsxs)("main",{className:"flex-1 overflow-y-auto overflow-x-hidden min-w-0",children:["public"!==W?(0,s.jsx)(M.ActivationChecklist,{}):null,(0,s.jsx)(ee,{weekPayload:q,loading:V,showCreditLabels:"free"===i,tickersAnalyzedThisPeriod:h}),(0,s.jsxs)("div",{className:"p-4 md:p-6 lg:p-8 space-y-6 max-w-[1600px] mx-auto",children:[(0,s.jsxs)("section",{className:"rounded-2xl border border-[var(--theme-border)] bg-theme-bg overflow-hidden flex flex-col shadow-sm",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 px-4 md:px-6 py-4 border-b border-[var(--theme-border)] bg-theme-input-bg/30",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"font-kalam text-lg md:text-xl font-bold uppercase",style:{color:en},children:"Lineup performance"}),I.length>0&&(0,s.jsxs)("p",{className:"text-sm text-theme-text/60 mt-0.5",children:["End-of-day closes"," · ",(0,s.jsx)("span",{className:"font-bold",style:{color:en},children:new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(eC)}),eC>0?(0,s.jsxs)(s.Fragment,{children:[" ",(0,s.jsxs)("span",{className:"font-bold tabular-nums",style:{color:eE>=0?en:el},children:[eE>=0?"+":"",new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(eE)]})]}):null]})]}),(0,s.jsx)(o.default,{href:"/starting-lineup",className:"text-xs font-bold uppercase tracking-wider text-theme-link hover:opacity-80 transition-opacity",children:"Manage roster â"})]}),(0,s.jsx)("div",{children:z?(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center h-full min-h-[280px] text-theme-text/60",children:[(0,s.jsx)(r.Loader2,{className:"w-10 h-10 animate-spin mb-3"}),(0,s.jsx)("span",{className:"text-sm font-kalam uppercase",children:"Loading your lineupâ¦"})]}):0===I.length?(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center min-h-[280px] px-6 text-center",children:[(0,s.jsx)("p",{className:"text-theme-text/70 mb-4 max-w-md",children:"free"===i?"Add tickers to your Bench, or upgrade to build a Starting Lineup and see how it has tracked vs the market.":"Add positions to your Starting Lineup to see how your lineup has tracked vs the market."}),(0,s.jsxs)(o.default,{href:"/starting-lineup",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-lg bg-[#0E56F0] dark:bg-[#F0AB0E] text-white dark:text-[#3F4F70] font-bold text-sm uppercase tracking-wider hover:opacity-90 transition-opacity",children:["Go to Starting Lineup",(0,s.jsx)(m.ArrowUpRight,{className:"w-4 h-4"})]})]}):(0,s.jsx)("div",{className:"flex flex-col",children:(0,s.jsx)(N.PortfolioChart,{lineup:I,events:U,userTier:i,eventsLoading:$,compact:!0})})})]}),(0,s.jsxs)("section",{className:"rounded-2xl border border-[var(--theme-border)] bg-theme-bg overflow-hidden shadow-sm",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 px-4 md:px-6 py-4 border-b border-[var(--theme-border)] bg-theme-input-bg/30",children:[(0,s.jsxs)("h2",{className:"font-kalam text-lg md:text-xl font-bold uppercase flex items-center",style:{color:en},children:[(0,s.jsx)(c.Activity,{className:"w-4 h-4 mr-2",style:{color:en}}),"Catalyst feed"]}),(0,s.jsxs)("div",{className:"flex items-center gap-3 text-[10px] font-bold uppercase tracking-wider",children:[(0,s.jsxs)("span",{className:"flex items-center gap-1.5",style:{color:en},children:[(0,s.jsx)("span",{className:"w-2 h-2 rounded-full",style:{backgroundColor:en}}),"Lineup"]}),(0,s.jsxs)("span",{className:"flex items-center gap-1.5",style:{color:eF},children:[(0,s.jsx)("span",{className:"w-2 h-2 rounded-full",style:{backgroundColor:eF}}),"Bench"]})]})]}),(0,s.jsx)("div",{className:"p-3 md:p-4",children:$?(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center py-16 text-theme-text/60",children:[(0,s.jsx)(r.Loa
3der2,{className:"w-8 h-8 animate-spin mb-2"}),(0,s.jsx)("span",{className:"text-xs uppercase font-bold",children:"Scanning catalystsâ¦"})]}):ek.length>0?(0,s.jsx)(es.CatalystFeedList,{events:ek,renderEvent:e=>{let t="lineup"===e.source,r=t?en:eF;return(0,s.jsx)(es.CatalystFeedItem,{event:e,ticker:e.ticker,companyName:eN.get(String(e.ticker||"").toUpperCase()),sourceLabel:t?"Lineup":"Bench",sourceColor:r,showCatalystDetails:ew(e.ticker),onClick:()=>(e=>{let t,r;if("free"===i){let t=String(e.ticker||"").toUpperCase();if(!ej.has(t))return void ey("unlock_expected_moves_analyses")}eg({title:e.label,content:(t=(100*parseFloat(String(e.bull_probability??0))).toFixed(0),r=(100-100*parseFloat(String(e.bull_probability??0))).toFixed(0),(0,s.jsxs)("div",{className:"space-y-6 p-8",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center border-b border-[var(--theme-border)] pb-4",children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:"text-xs font-bold px-2 py-1 rounded bg-[#F0AB0E]/10 text-[#F0AB0E]",children:function(e){let[t,s,r]=(0,ea.catalystDayYmd)(e).split("-").map(e=>Number(e));return t&&s&&r?new Date(Date.UTC(t,s-1,r)).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"}):e}(e.date)})}),(0,s.jsxs)("div",{className:"flex space-x-2",children:[(0,s.jsxs)("div",{className:"text-center px-4",children:[(0,s.jsx)("span",{className:"block text-xs font-bold text-theme-text/70",children:"BULL PROB"}),(0,s.jsxs)("span",{className:"text-xl font-bold",style:{color:en},children:[t,"%"]})]}),(0,s.jsxs)("div",{className:"text-center px-4 border-l border-[var(--theme-border)]",children:[(0,s.jsx)("span",{className:"block text-xs font-bold text-theme-text/70",children:"BEAR PROB"}),(0,s.jsxs)("span",{className:"text-xl font-bold",style:{color:el},children:[r,"%"]})]})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"font-bold text-theme-text mb-2",children:"Analysis & Assumptions"}),(0,s.jsx)("p",{className:"text-theme-text leading-relaxed whitespace-pre-wrap",children:e.desc})]}),e.rationale&&e.rationale.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"font-bold text-theme-text mb-2 border-t border-[var(--theme-border)] pt-4",children:"Key Drivers & Assumptions"}),(0,s.jsx)("ul",{className:"list-disc pl-5 space-y-2 text-sm text-theme-text",children:e.rationale.map((e,t)=>(0,s.jsx)("li",{children:e},t))})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-4 pt-4 border-t border-[var(--theme-border)] mt-4",children:[(0,s.jsxs)("div",{className:"bg-green-50 dark:bg-green-900/20 p-4 rounded-lg border border-green-100 dark:border-green-800/50",children:[(0,s.jsx)("span",{className:"block text-sm font-bold mb-1",style:{color:en},children:"Bull Target"}),(0,s.jsxs)("span",{className:"text-2xl font-bold",style:{color:en},children:["$",null!=e.target?e.target.toFixed(2):"N/A"]})]}),(0,s.jsxs)("div",{className:"bg-red-50 dark:bg-red-900/20 p-4 rounded-lg border border-red-100 dark:border-red-800/50 text-right",children:[(0,s.jsx)("span",{className:"block text-sm font-bold mb-1",style:{color:el},children:"Bear Floor"}),(0,s.jsxs)("span",{className:"text-2xl font-bold",style:{color:el},children:["$",null!=e.fallback?e.fallback.toFixed(2):"N/A"]})]})]}),(0,s.jsx)(D.CatalystRiskRewardSetupCard,{anchorPrice:e.base_price,bullTarget:e.target,bearFloor:e.fallback,className:"mt-4"})]}))}),ep(!0)})(e)})}}):(0,s.jsx)("div",{className:"text-center py-16 text-theme-text/60 text-sm",children:I.length+O.length===0?"Add stocks to your roster to see upcoming catalysts.":"No upcoming catalysts found for your roster."})})]})]})]}),(0,s.jsx)(Q,{weekPayload:q,lineup:I,bench:O,rosterUserId:w,rosterReady:!z})]})]})})]})}function eh({hasSession:e,initialWeekPayload:i=null,children:n}){let{tier:l,loading:o}=(0,a.useUserTier)(),d="true"===t.default.env.NEXT_PUBLIC_DEV_TIER_SWITCHER;if(e)return(0,s.jsx)(ex,{initialWeekPayload:i});if(d){if(o)return(0,s.jsxs)("div",{className:"min-h-screen bg-theme-bg flex flex-col items-center justify-center text-theme-text/60",children:[(0,s.jsx)(r.Loader2,{className:"w-8 h-8 animate-spin mb
3-3","aria-hidden":!0}),(0,s.jsx)("span",{className:"text-sm font-kalam uppercase tracking-wider",children:"Loadingâ¦"})]});if("public"!==l)return(0,s.jsx)(ex,{initialWeekPayload:i})}return(0,s.jsx)(s.Fragment,{children:n})}e.s(["HomePageGate",()=>eh],753399)}]);
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.