1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,374742,(e,t,r)=>{t.exports=e.r(510575)},215279,e=>{"use strict";let t=/^[a-z0-9]{6,16}$/,r={source:"s",medium:"m",campaign:"c",content:"n",referrer_host:"r",landing:"l",link:"k"};function n(e,r){let n=new URL(e),o={};for(let e of["source","medium","campaign","content"]){let t=n.searchParams.get(`utm_${e}`);t&&(o[e]=t)}let i=n.searchParams.get("c")?.trim().toLowerCase();i&&t.test(i)&&(o.link=i);try{let e=new URL(r);e.host!==n.host&&(o.referrer_host=e.host)}catch{}return 0===Object.keys(o).length?null:(o.landing=function(e){let[t,r]=e.split("/").filter(Boolean);return t?("share"===t||"go"===t)&&r?`/${t}/${r}`:`/${t}`:"/"}(n.pathname),o)}let o=!1,i=null;e.s(["FIRST_TOUCH_COOKIE",0,"opal_ft","FIRST_TOUCH_PARAM",0,"ft","captureFirstTouch",0,function(e,t){if(o)return;o=!0;let a=n(e,t);i=new URL(e).searchParams.get("ft")??(a?function(e){let t=new URLSearchParams;for(let[n,o]of Object.entries(r)){let r=e[n];r&&t.set(o,r)}return t.toString()}(a):null)},"currentFirstTouch",0,function(){return i},"isTaggedFirstTouch",0,function(e){if(!e)return!1;let t=new URLSearchParams(e);return t.has(r.source)||t.has(r.campaign)||t.has(r.link)},"readFirstTouch",0,n])},52757,e=>{"use strict";let t=/^[1-9A-HJ-NP-Za-km-z]{8}$/,r=!1,n=null;e.s(["REF_PARAM",0,"ref","captureLandingRef",0,function(e){if(r)return;r=!0;let o=new URL(e).searchParams.get("ref");n=o&&t.test(o)?o:null},"currentLandingRef",0,function(){return n}])},516725,e=>{"use strict";var t=e.i(215279);let r="opal_consent";function n(e,t){for(let r of e.split("; ")){let e=r.indexOf("=");if(e>0&&r.slice(0,e)===t)try{return decodeURIComponent(r.slice(e+1))||null}catch{break}}return null}function o(e){let t=n(e,r);return"1"===t?"granted":"0"===t?"declined":null}function i(e,t,r){let n="https:"===window.location.protocol?"; Secure":"";return`${e}=${encodeURIComponent(t)}; Max-Age=${86400*r}; Path=/; SameSite=Lax${n}`}e.s(["attributionConsent",0,o,"clearAttribution",0,function(){for(let e of[t.FIRST_TOUCH_COOKIE,r])document.cookie=`${e}=; Max-Age=0; Path=/; SameSite=Lax`},"readCookie",0,n,"setAttributionConsent",0,function(e){document.cookie=i(r,e?"1":"0",180)},"storeFirstTouch",0,function(e){return!!e&&!!(0,t.isTaggedFirstTouch)(e)&&"granted"===o(document.cookie)&&null===n(document.cookie,t.FIRST_TOUCH_COOKIE)&&(document.cookie=i(t.FIRST_TOUCH_COOKIE,e,30),!0)}])},212158,e=>{"use strict";let t=["overview","research","coin","theses","workbench","tracker","rules","portfolio","history","chat","automation","groups","settings","other"],r=[["/app/overview","overview"],["/app/research","research"],["/coin","coin"],["/app/coin","coin"],["/app/theses","theses"],["/app/workbench","workbench"],["/app/tracker","tracker"],["/app/rules","rules"],["/app/strategies","rules"],["/app/portfolio","portfolio"],["/app/history","history"],["/app/chats","chat"],["/app/automation","automation"],["/app/groups","groups"],["/app/settings","settings"],["/app/billing","settings"]];e.s(["isMetricsSurface",0,function(e){return"string"==typeof e&&t.includes(e)},"surfaceForPath",0,function(e){if(!e)return"other";if("/app"===e||"/app/"===e)return"overview";for(let[t,n]of r)if(e===t||e.startsWith(t+"/"))return n;return"other"}])},175316,e=>{"use strict";var t=e.i(212158);let r=/^[a-z0-9_-]{1,40}$/,n=["src","ek","ft"];e.s(["ENTRY_LINK_PARAMS",0,n,"entryContext",0,function(e,o){let i=new URL(e),a=i.searchParams.get("src"),s=i.searchParams.get("ek"),c="email"===a||"share"===a||"telegram"===a?a:function(e,t){if(!e)return"direct";try{return new URL(e).origin===t?"internal":"external"}catch{return"direct"}}(o,i.origin),u={entry_surface:(0,t.surfaceForPath)(i.pathname),entry_source:c};if("email"===c&&s&&r.test(s)&&(u.entry_kind=s),!n.some(e=>i.searchParams.has(e)))return{properties:u,strippedHref:null};for(let e of n)i.searchParams.delete(e);let l=i.searchParams.toString();return{properties:u,strippedHref:i.pathname+(l?`?${l}`:"")+i.hash}}])},165409,e=>{"use strict";var t=e.i(728114),r=e.i(229905),n=e.i(106712),o=e.i(786927),i=e.i(215279),a=e.i(516725);e.s(["AttributionConsent",0,function(){let e,s,c,u,l=(0,r.c)(8),{open:h,answer:f}
1=function(){let e,t,n,s,c=(0,r.c)(5),[u,l]=(0,o.useState)(!1);c[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{(0,i.captureFirstTouch)(window.location.href,document.referrer),l((0,i.isTaggedFirstTouch)((0,i.currentFirstTouch)())&&null===(0,a.attributionConsent)(document.cookie))},t=[],c[0]=e,c[1]=t):(e=c[0],t=c[1]),(0,o.useEffect)(e,t),c[2]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{(0,a.setAttributionConsent)(e),e&&(0,a.storeFirstTouch)((0,i.currentFirstTouch)()),l(!1)},c[2]=n):n=c[2];let h=n;return c[3]!==u?(s={open:u,answer:h},c[3]=u,c[4]=s):s=c[4],s}();return h?(l[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("p",{className:"min-w-0 flex-1 text-muted-foreground",children:["We use cookies to understand how people find Opal."," ",(0,t.jsx)(n.default,{href:"/legal/privacy",className:"underline underline-offset-2",children:"Privacy policy"})]}),l[0]=e):e=l[0],l[1]!==f?(s=(0,t.jsx)("button",{type:"button",onClick:()=>f(!1),className:"h-9 rounded-md border border-border px-3 text-foreground transition-colors hover:bg-secondary",children:"Decline"}),l[1]=f,l[2]=s):s=l[2],l[3]!==f?(c=(0,t.jsx)("button",{type:"button",onClick:()=>f(!0),className:"h-9 rounded-md bg-primary px-3 font-medium text-primary-foreground transition-opacity hover:opacity-90",children:"Accept"}),l[3]=f,l[4]=c):c=l[4],l[5]!==s||l[6]!==c?(u=(0,t.jsxs)("div",{role:"region","aria-label":"Cookie choice",className:"fixed inset-x-3 bottom-3 z-50 mx-auto flex max-w-xl flex-col gap-3 rounded-lg border border-border bg-card p-4 text-sm text-foreground shadow-lg sm:flex-row sm:items-center",children:[e,(0,t.jsxs)("div",{className:"flex shrink-0 gap-2",children:[s,c]})]}),l[5]=s,l[6]=c,l[7]=u):u=l[7],u):null}],165409)},451013,e=>{"use strict";var t=e.i(229905),r=e.i(786927),n=e.i(215279),o=e.i(516725),i=e.i(52757);function a(){var e;let t;(0,n.captureFirstTouch)(window.location.href,document.referrer),(0,o.storeFirstTouch)((0,n.currentFirstTouch)()),(0,i.captureLandingRef)(window.location.href),e=window.location.href,(t=(0,n.readFirstTouch)(e,"")?.link)&&fetch("/api/campaign-links/view",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({link:t}),keepalive:!0}).catch(()=>{})}e.s(["FirstTouchCapture",0,function(){let e,n=(0,t.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],n[0]=e):e=n[0],(0,r.useEffect)(a,e),null}],451013)},879778,e=>{"use strict";var t=e.i(229905),r=e.i(374742),n=e.i(786927);e.i(418741);var o=e.i(47414),i=e.i(175316);let a="_signup",s="_method";e.s(["SignupBeacon",0,function(){let e,c,u=(0,t.c)(4),l=(0,r.useSearchParams)(),h=(0,r.useRouter)();return u[0]!==h||u[1]!==l?(e=()=>{if(!l||"1"!==l.get(a))return;let e="email_otp"===l.get(s)?"email_otp":"google";o.events.signupCompleted({via:e});let t=new URLSearchParams(l.toString());for(let e of(t.delete(a),t.delete(s),i.ENTRY_LINK_PARAMS))t.delete(e);let r=t.toString(),n=window.location.pathname+(r?`?${r}`:"");h.replace(n)},c=[l,h],u[0]=h,u[1]=l,u[2]=e,u[3]=c):(e=u[2],c=u[3]),(0,n.useEffect)(e,c),null}])},431315,e=>{e.v(e=>Promise.resolve().then(()=>e(757669)))}]);
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.