PageSourceSearch

https://flowinfo.co/_next/static/chunks/app/layout-2f6f53016de9e1b9.js

js flowinfo.co collected 2026-10-07 17:35:28 UTC 33,439 bytes, 31 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{62898:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2265),o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
2 * @license lucide-react v0.300.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),s=(e,t)=>{let n=(0,r.forwardRef)(({color:n="currentColor",size:s=24,strokeWidth:a=2,absoluteStrokeWidth:c,className:l="",children:d,...u},f)=>(0,r.createElement)("svg",{ref:f,...o,width:s,height:s,stroke:n,strokeWidth:c?24*Number(a)/Number(s):a,className:["lucide",`lucide-${i(e)}`,l].join(" "),...u},[...t.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(d)?d:[d]]));return n.displayName=`${e}`,n}},86264:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
7 * @license lucide-react v0.300.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */let r=(0,n(62898).Z)("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},93088:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
12 * @license lucide-react v0.300.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let r=(0,n(62898).Z)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},44135:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
17 * @license lucide-react v0.300.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */let r=(0,n(62898).Z)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},82549:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
22 * @license lucide-react v0.300.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */let r=(0,n(62898).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},62601:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(58960)},42813:function(e,t,n){Promise.resolve().then(n.bind(n,89817)),Promise.resolve().then(n.bind(n,16005)),Promise.resolve().then(n.t.bind(n,15303,23)),Promise.resolve().then(n.t.bind(n,66784,23)),Promise.resolve().then(n.t.bind(n,63385,23)),Promise.resolve().then(n.t.bind(n,53653,23)),Promise.resolve().then(n.t.bind(n,8046,23)),Promise.resolve().then(n.t.bind(n,83656,23)),Promise.resolve().then(n.t.bind(n,92161,23)),Promise.resolve().then(n.bind(n,69732)),Promise.resolve().then(n.bind(n,71753)),Promise.resolve().then(n.bind(n,36291)),Promise.resolve().then(n.bind(n,3397))},16005:function(e,t,n){"use strict";function r(e){let{children:t}=e;return t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NoSSR",{enumerable:!0,get:function(){return r}}),n(46491)},69732:function(e,t,n){"use strict";n.r(t),n.d(t,{AuthProvider:function(){return u},useRequireAuth:function(){return f},useRequireOnboarding:function(){return p}});var r=n(57437),o=n(2265),i=n(24033),s=n(97024),a=n(12517),c=n(86264);let l=["/login","/signup","/forgot-password","/","/admin","/waitlist","/about","/expertrace","/terms","/privacy","/invest","/emailbrief","/fsp","/subscribe","/kw","/join","/thank-you","/paypal","/review","/brief","/industries","/actionwelcome","/judd","/flow-action"],d=["/feed","/ask","/narratives","/blind-spots","/collisions","/profile","/settings"];function u(e){let{children:t}=e,n=(0,i.useRouter)(),u=(0,i.usePathname)(),{isAuthenticated:f,isLoading:p,user:h}=(0,s.t)(),{loadPurgedIds:m}=(0,a.f)();(0,o.useEffect)(()=>{!f||p||l.some(e=>u===e||u.startsWith(e+"/"))||m()},[f,p,m,u]),(0,o.useEffect)(()=>
26{if(p)return;l.some(e=>u===e);let e=d.some(e=>u.startsWith(e)),t="/onboarding"===u;if(!f){(e||t)&&n.push("/login");return}if(f&&h&&!h.onboardingCompleted){e&&n.push("/onboarding");return}f&&(null==h?void 0:h.onboardingCompleted)&&(t||"/"===u)&&n.push("/actions")},[f,p,h,u,n]);let g=l.some(e=>u===e||u.startsWith(e+"/"));return p&&!g?(0,r.jsx)("div",{className:"min-h-screen bg-flow-bg flex items-center justify-center",children:(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,r.jsx)(c.Z,{size:32,className:"text-flow-primary animate-spin"}),(0,r.jsx)("p",{className:"text-flow-muted text-sm",children:"Loading..."})]})}):(0,r.jsx)(r.Fragment,{children:t})}function f(){let e=(0,i.useRouter)(),{isAuthenticated:t,isLoading:n,user:r}=(0,s.t)();return(0,o.useEffect)(()=>{n||t||e.push("/login")},[t,n,e]),{isAuthenticated:t,isLoading:n,user:r}}function p(){let e=(0,i.useRouter)(),{isAuthenticated:t,isLoading:n,user:r}=(0,s.t)();return(0,o.useEffect)(()=>{n||(t?r&&!r.onboardingCompleted&&e.push("/onboarding"):e.push("/login"))},[t,n,r,e]),{isAuthenticated:t,isLoading:n,user:r}}},71753:function(e,t,n){"use strict";n.r(t),n.d(t,{PurgeToast:function(){return c},default:function(){return l}});var r=n(57437),o=n(2265);/**
27 * @license lucide-react v0.300.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */let i=(0,n(62898).Z)("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5v0a5.5 5.5 0 0 1-5.5 5.5H11",key:"llx8ln"}]]);var s=n(82549),a=n(12517);function c(){let{lastPurged:e,undoPurge:t,clearLastPurged:n}=(0,a.f)();if((0,o.useEffect)(()=>{if(!e)return;let t=setTimeout(()=>{n()},5e3);return()=>clearTimeout(t)},[e,n]),!e)return null;let c=async()=>{await t(e.id)};return(0,r.jsx)("div",{className:"fixed bottom-6 left-1/2 -translate-x-1/2 z-50 animate-in slide-in-from-bottom-4 fade-in duration-200",children:(0,r.jsxs)("div",{className:"flex items-center gap-3 px-4 py-3 bg-zinc-900 border border-zinc-700 rounded-xl shadow-lg",children:[(0,r.jsx)("span",{className:"text-sm text-zinc-300",children:"Signal removed"}),(0,r.jsxs)("button",{onClick:c,className:"flex items-center gap-1.5 px-2.5 py-1 text-sm font-medium text-emerald-400 hover:text-emerald-300 hover:bg-emerald-500/10 rounded-lg transition-colors",children:[(0,r.jsx)(i,{size:14}),"Undo"]}),(0,r.jsx)("button",{onClick:n,className:"p-1 text-zinc-500 hover:text-zinc-300 transition-colors",children:(0,r.jsx)(s.Z,{size:14})})]})})}var l=c},36291:function(e,t,n){"use strict";n.r(t),n.d(t,{BARE_PREFIXES:function(){return g},PUBLIC_PREFIXES:function(){return m},default:function(){return w},isBareRoute:function(){return b},isPublicRoute:function(){return y}});var r=n(57437),o=n(24033),i=n(8372),s=n(61396),a=n.n(s);let c=[{title:"For people",links:[["Industry Signals","/industries"],["Flow Action","/flow-action"]]},{title:"For agents",links:[["Abe","https://fjp.flowinfo.co/abe"],["Judd","/judd"],["Flow Resolver","https://fjp.flowinfo.co/quickstart"],["ExperTrace","/expertrace"],["Credits","https://fjp.flowinfo.co/credits"]]},{title:"Open standard",links:[["FJP","https://fjp.flowinfo.co"],["FJP spec","https://fjp.flowinfo.co/conformance/v0.1/"],["FJP-CONF on GitHub","https://github.com/flowinfosystems-index/fjp-conformance"],["Research paper","https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7193358"]]},{title:"Company",links:[["About","/about"],["Contact","/about#contact"],["Terms","/terms"],["Privacy","/privacy"]]}];function l(){return(0,r.jsx)("footer",{className:"fs-footer",children:(0,r.jsxs)("div",{className:"fs-wrap",children:[(0,r.jsxs)("div",{className:"fs-footer-grid",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)(a(),{href:"/",className:"fs-brand","aria-label":"Flow home",children:[(0,r.jsx)("img",{src:"/flow-mark.png",alt:"",width:52,height:30}),(0,r.jsx)("span",{children:"Flow"})]}),(0,r.jsx)("p",{className:"fs-footer-line",style:{marginTop:14},children:"Judgment before action. For people and for the agents that act for them."})]}),c.map(e=>(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{children:e.title}),(0,r.jsx)("ul",{children:e.links.map(e=>{let[t,n]=e;return(0,r.jsx)("li",{children:n.startsWith("http")?(0,r.jsx)("a",{href:n,children:t}):(0,r.jsx)(a(),{href:n,children:t})},t)})})]},e.title))]}),(0,r.jsxs)("div",{className:"fs-footer-base",children:[(0,r.jsxs)("span",{children:["\xa9 ",new Date().getFullYear()," Flow Information Systems™"]}),(0,r.jsx)("span",{children:"Flow owns the judgment. FJP™ standardizes the record."})]})]})})}var d=n(2265),u=n(44135),f=n(93088),p=n(92466),h=function(){let{theme:e,toggleTheme:t}=(0,p.f)(),[n,o]=(0,d.useState)(!1);return((0,d.useEffect)(()=>{o(!0)},[]),n)?(0,r.jsx)("button",{onClick:t,className:"p-1.5 rounded-md bg-flow-surface/80 backdrop-blur-sm border border-flow-border text-flow-muted hover:text-flow-text hover:bg-flow-elevated transition-colors",title:"dark"===e?"Switch to light mode":"Switch to dark mode","aria-label":"dark"===e?"Switch to light mode":"Switch to dark mode",children:"dark"===e?(0,r.jsx)(u.Z,{size:16}):(0,r.jsx)(f.Z,{size:16})}):(0,r.jsx)("div",{className:"w-7 h-7 rounded-md bg-flow-surface/80 border border-flow-border"})};let m=["/about","/emailbrief","/expertrace","/fjp","/flow-action","/invest","/judd","/login","/paypal","/privacy","/signup","/terms","/thank-you"],g=["/actionwelcome","/industries"],v=(e,t)=>
31t.some(t=>e===t||e.startsWith("".concat(t,"/")));function b(e){return v(e,g)}function y(e){return"/"===e||v(e,m)}function w(e){let{children:t}=e,n=(0,o.usePathname)()||"/";return b(n)?(0,r.jsx)(r.Fragment,{children:t}):y(n)?(0,r.jsxs)("div",{className:"fs-page",children:[(0,r.jsx)(i.default,{}),(0,r.jsx)("main",{id:"main",children:t}),(0,r.jsx)(l,{})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"fixed top-4 right-4 z-50",children:(0,r.jsx)(h,{})}),t]})}},3397:function(e,t,n){"use strict";n.r(t),n.d(t,{ThemeProvider:function(){return d}});var r=n(57437),o=n(2265),i=n(24033),s=n(92466),a=n(36291);let c=o.useLayoutEffect;function l(e){let t=document.documentElement;t.classList.remove("light","dark"),t.classList.add(e)}function d(e){let{children:t}=e,{theme:n}=(0,s.f)(),d=(0,i.usePathname)()||"/",u=(0,a.isPublicRoute)(d)||(0,a.isBareRoute)(d);return c(()=>{if(u){l("light");return}"system"===n?l(window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"):l(n)},[n,u]),(0,o.useEffect)(()=>{if("system"!==n||u)return;let e=window.matchMedia("(prefers-color-scheme: light)"),t=e=>l(e.matches?"light":"dark");return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[n,u]),(0,r.jsx)(r.Fragment,{children:t})}},8372:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(57437),o=n(2265),i=n(61396),s=n.n(i),a=n(24033);let c=[{href:"/industries",name:"Industry Signals",note:"See what changed. Free, every morning."},{href:"/flow-action",name:"Flow Action",note:"Know what you should do about it. One action a day."}],l=[{href:"https://fjp.flowinfo.co/abe",name:"Abe",note:"Free local gate: Act, Block or Escalate."},{href:"/judd",name:"Judd",note:"Makes sure your AI agents do what you want. Free open beta."},{href:"https://judd.flowinfo.co",name:"Judd sign in",note:"Your Judd dashboard and decisions."},{href:"https://fjp.flowinfo.co/quickstart",name:"Flow Resolver",note:"Paid judgment when Abe escalates."},{href:"/expertrace",name:"ExperTrace",note:"Tells you whether the decision was right."}];function d(e){let{href:t,name:n,note:o}=e,i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:n}),(0,r.jsx)("span",{children:o})]});return t.startsWith("http")?(0,r.jsx)("a",{href:t,children:i}):(0,r.jsx)(s(),{href:t,children:i})}function u(){let e=(0,a.usePathname)(),t=(0,o.useRef)(null);return(0,o.useEffect)(()=>{var e;null===(e=t.current)||void 0===e||e.querySelectorAll("details[open]").forEach(e=>e.removeAttribute("open"))},[e]),(0,o.useEffect)(()=>{let e=e=>{let n=t.current;!(!n||e instanceof KeyboardEvent&&"Escape"!==e.key)&&(e instanceof MouseEvent&&n.contains(e.target)||n.querySelectorAll("details[open]").forEach(e=>e.removeAttribute("open")))};return document.addEventListener("click",e),document.addEventListener("keydown",e),()=>{document.removeEventListener("click",e),document.removeEventListener("keydown",e)}},[]),(0,r.jsxs)("header",{className:"fs-header",children:[(0,r.jsx)("a",{className:"fs-skip",href:"#main",children:"Skip to content"}),(0,r.jsxs)("div",{className:"fs-wrap fs-header-row",children:[(0,r.jsxs)(s(),{href:"/",className:"fs-brand","aria-label":"Flow home",children:[(0,r.jsx)("img",{src:"/flow-mark.png",alt:"",width:52,height:30}),(0,r.jsx)("span",{children:"Flow"})]}),(0,r.jsxs)("nav",{className:"fs-nav","aria-label":"Primary",ref:t,children:[(0,r.jsxs)("details",{className:"fs-menu",children:[(0,r.jsx)("summary",{children:"For people"}),(0,r.jsx)("div",{className:"fs-menu-panel",children:c.map(e=>(0,r.jsx)(d,{...e},e.name))})]}),(0,r.jsxs)("details",{className:"fs-menu",children:[(0,r.jsx)("summary",{children:"For agents"}),(0,r.jsx)("div",{className:"fs-menu-panel",children:l.map(e=>(0,r.jsx)(d,{...e},e.name))})]}),(0,r.jsx)(s(),{href:"/#engine",children:"How it works"}),(0,r.jsx)("a",{href:"https://fjp.flowinfo.co",children:"FJP standard"}),(0,r.jsx)(s(),{href:"/about","aria-current":"/about"===e?"page":void 0,children:"About"})]}),(0,r.jsx)("div",{className:"fs-header-cta",children:(0,r.jsx)(s(),{href:"/industries",className:"fs-btn fs-btn-sm fs-btn-primary",children:"Today's signals, free"})})]})]})}},58222:function(e,t,n){"use strict";n.d(t,{GZ:function(){return P},I8:function(){return s},IP:function(){return x},LR:function(){return a},NP:function(){return h},NW:function(){return g},Nw:function(){return _},US:function(){return w},X3:function(){return v},_x:function(){return c},b0:function(){return y},cb:function(){return m},js:function(){return d},ot:function(){return k},pp:function(){return p},uR:function(){return b},v3:function(){return f},yC:function(){return u},zC:function(){return l}});let r="https://web-production-c9cfa.up.railway.app";function o(){try{let e=localStorage.getItem("flow-auth");if(e){let t=JSON.parse(e);t.state={user:null,token:null,isAuthenticated:!1,isLoading:!1},localStorage.setItem("flow-auth",JSON.stringify(t))}}catch(e){localStorage.removeItem("flow-auth")}window.location.href="/login?expired=true"}async function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{method:n="GET",body:i,headers:s={},skipAuthRedirect:a=!1}=t,c=function(){try{let t=localStorage.getItem("flow-auth");if(t){var e;let n=JSON.parse(t);return(null==n?void 0:null===(e=n.state)||void 0===e?void 0:e.token)||null}}catch(e){console.error("Error reading auth token:",e)}return null}(),l=await fetch("".concat(r).concat(e),{method:n,headers:{"Content-Type":"application/json",...c?{Authorization:"Bearer ".concat(c)}:{},...s},...i?{body:JSON.stringify(i)}:{}});if(401===l.status&&!a)throw o(),Error("Session expired. Please log in again.");if(!l.ok)throw Error((await l.json().catch(()=>({detail:"Request failed"}))).detail||"Request failed");return l.json()}let s={login:(e,t)=>i("/api/v1/auth/login",{method:"POST",body:{email:e,password:t},skipAuthRedirect:!0}),register:(e,t,n)=>i("/api/v1/auth/register",{method:"POST",body:{email:e,password:t,name:n},skipAuthRedirect:!0}),me:()=>i("/api/v1/auth/me")},a={getArticles:e=>{let t=new URLSearchParams(Object.fromEntries(Object.entries(e||{}).filter(e=>{let[,t]=e;return void 0!==t}).map(e=>{let[t,n]=e;return[t,String(n)]}))).toString();return i("/api/v1/feed/articles?".concat(t))},getArticle:e=>i("/api/v1/feed/articles/".concat(e)),enrichSignalSpine:(e,t,n,r)=>i("/api/v1/feed/enrich-spine",{method:"POST",body:{title:e,source:t,content:n,published_at:r}})},c={list:()=>i("/api/v1/narratives"),get:e=>i("/api/v1/narratives/".concat(e))},l={list:()=>i("/api/v1/blindspots"),acknowledge:e=>i("/api/v1/blindspots/".concat(e,"/acknowledge"),{method:"POST"}),addTopic:(e,t)=>{let n=t?"?topic_name=".concat(encodeURIComponent(t)):"";return i("/api/v1/blindspots/".concat(e,"/add-topic").concat(n),{method:"POST"})}
31,dismiss:e=>i("/api/v1/blindspots/".concat(e,"/dismiss"),{method:"POST"})},d={list:()=>i("/api/v1/collisions"),get:e=>i("/api/v1/collisions/".concat(e)),getTimeline:e=>i("/api/v3/collisions/".concat(e,"/timeline"))},u={quick:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;return i("/api/v1/search/quick?q=".concat(encodeURIComponent(e),"&limit=").concat(t))},ask:e=>i("/api/v1/search/ask",{method:"POST",body:{query:e}})},f={profile:()=>i("/api/v3/profile"),ritual:()=>i("/api/v3/ritual"),filteredOut:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;return i("/api/v3/filtered-out?limit=".concat(e))},worldModel:()=>i("/api/v3/world-model"),refreshWorldModel:()=>i("/api/v3/world-model/refresh",{method:"POST"}),counterfactual:e=>i("/api/v3/counterfactual/".concat(e)),perspective:(e,t,n)=>i("/api/v3/perspective",{method:"POST",body:{content_id:e,content_type:t,perspective:n}})},p={types:()=>i("/api/v1/signals/types"),score:(e,t,n)=>i("/api/v1/signals/score",{method:"POST",body:{title:e,content:t,source:n}}),briefing:e=>i("/api/v1/signals/briefing",{method:"POST",body:{articles:e}}),ask:(e,t,n)=>i("/api/v1/signals/ask",{method:"POST",body:{question:e,context_articles:t,lens:n}}),analyze:(e,t,n,r)=>i("/api/v1/signals/analyze",{method:"POST",body:{signal_id:e,signal_title:t,signal_description:n,mode:r}}),suggestLensPrompts:()=>i("/api/v1/signals/suggest-lens-prompts")},h={getVoices:()=>i("/api/v1/podcast/voices"),generate:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i("/api/v1/podcast/generate",{method:"POST",body:e})},getToday:e=>i("/api/v1/podcast/today".concat(e?"?voice=".concat(e):"")),getAudioUrl:(e,t)=>"/api/v1/podcast/audio/".concat(e,"/").concat(t),getTranscript:(e,t)=>i("/api/v1/podcast/transcript/".concat(e,"/").concat(t))},m={getTopics:()=>i("/api/v1/preferences/topics"),updateTopics:e=>i("/api/v1/preferences/topics",{method:"PUT",body:e}),getProfile:()=>i("/api/v1/preferences/profile"),updateRoleOrg:e=>i("/api/v1/preferences/role-org",{method:"PUT",body:e}),getCompanies:()=>i("/api/v1/preferences/companies"),updateCompanies:e=>i("/api/v1/preferences/companies",{method:"PUT",body:{companies:e}}),getLenses:()=>i("/api/v1/preferences/lenses"),createLens:e=>i("/api/v1/preferences/lenses",{method:"POST",body:e}),deleteLens:e=>i("/api/v1/preferences/lenses/".concat(e),{method:"DELETE"}),getYouLens:()=>i("/api/v1/preferences/you-lens"),regenerateYouLens:()=>i("/api/v1/preferences/you-lens/regenerate",{method:"POST"}),enhanceYouLensLinkedIn:e=>i("/api/v1/preferences/you-lens/enhance-linkedin",{method:"POST",body:{linkedin_about:e}}),getPowerLenses:()=>i("/api/v1/preferences/power-lenses"),getPowerLens:e=>i("/api/v1/preferences/power-lenses/".concat(e)),getDefaultPowerLens:()=>i("/api/v1/preferences/default-power-lens"),setDefaultPowerLens:e=>i("/api/v1/preferences/default-power-lens",{method:"PUT",body:{power_lens_id:e}}),getPodcastVoice:()=>i("/api/v1/preferences/podcast-voice"),updatePodcastVoice:e=>i("/api/v1/preferences/podcast-voice",{method:"PUT",body:{voice:e}})},g={suggestTopics:e=>i("/api/v1/onboarding/suggest-topics",{method:"POST",body:{custom_input:e}}),getAllTopics:()=>i("/api/v1/onboarding/topics"),complete:e=>i("/api/v1/onboarding/complete",{method:"POST",body:e}),getStatus:()=>i("/api/v1/onboarding/status")},v={search:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return i("/api/v1/vectors/search",{method:"POST",body:{query:e,top_k:t}})},personalized:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return i("/api/v1/vectors/personalized?top_k=".concat(e))},related:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return i("/api/v1/vectors/related/".concat(e,"?top_k=").concat(t))},narratives:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.85;return i("/api/v1/vectors/narratives?min_cluster_size=".concat(e,"&similarity_threshold=").concat(t))},collisions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.7;return i("/api/v1/vectors/collisions?threshold=".concat(e))},stats:()=>i("/api/v1/vectors/stats")},b={get:e=>{let t=new URLSearchParams;return(null==e?void 0:e.digest_type)&&t.set("digest_type",e.digest_type),(null==e?void 0:e.force_refresh)&&t.set("force_refresh","true"),i("/api/v1/digest?".concat(t.toString()))},generate:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"morning";return i("/api/v1/digest/generate",{method:"POST",body:{digest_type:e}})},getHistory:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:7;return i("/api/v1/digest/history?days=".concat(e))},getById:e=>i("/api/v1/digest/history/".concat(e)),getPreferences:()=>i("/api/v1/digest/preferences"),updatePreferences:e=>i("/api/v1/digest/preferences",{method:"PUT",body:e}),getPreview:()=>i("/api/v1/digest/preview")},y={set:(e,t,n,r)=>i("/api/v1/signals/".concat(e,"/feedback"),{method:"POST",body:{feedback:t,surface:n,signal_metadata:r}}),remove:e=>i("/api/v1/signals/".concat(e,"/feedback"),{method:"DELETE"}),getBatch:e=>i("/api/v1/signals/feedback/batch?signal_ids=".concat(e.join(","))),getStats:()=>i("/api/v1/signals/feedback/stats")},w={get:e=>{let t=new URLSearchParams;return(null==e?void 0:e.force_refresh)&&t.set("force_refresh","true"),t.set("version",(null==e?void 0:e.version)||"v2"),i("/api/v1/spotlight?".concat(t.toString()))}},_={get:e=>{let t=new URLSearchParams;return(null==e?void 0:e.force_refresh)&&t.set("force_refresh","true"),i("/api/v1/actions?".concat(t.toString()))}},x={signal:(e,t)=>i("/api/v1/signals/".concat(e,"/purge"),{method:"POST",body:t||{}}
31),undo:e=>i("/api/v1/signals/".concat(e,"/purge"),{method:"DELETE"}),list:()=>i("/api/v1/signals/purged"),stats:()=>i("/api/v1/signals/purge-stats")},P={get:e=>i(e?"/api/v1/weekly-arc?week=".concat(e):"/api/v1/weekly-arc"),refresh:e=>i(e?"/api/v1/weekly-arc/refresh?week=".concat(e):"/api/v1/weekly-arc/refresh",{method:"POST"})},k={generate:e=>i("/api/v1/power-board/generate",{method:"POST",body:e}),getSnippetsBatch:e=>i("/api/v1/power-board/snippets-batch",{method:"POST",body:e}),share:e=>i("/api/v1/power-board/share",{method:"POST",body:e})};t.ZP={auth:s,feed:a,narratives:c,blindSpots:l,collisions:d,search:u,v3:f,voice:{transcribe:e=>{let t=new FormData;return t.append("audio",e),fetch("".concat(r,"/api/v1/voice/transcribe"),{method:"POST",body:t}).then(e=>{if(401===e.status)throw o(),Error("Session expired. Please log in again.");return e.json()})},briefing:e=>i("/api/v1/voice/briefing?format=".concat(e))},podcast:h,signals:p,vectors:v,preferences:m,digest:b,onboarding:g,tuner:{hide:(e,t)=>i("/api/v1/preferences/tuner/action",{method:"POST",body:{action:"hide",target_type:e,target_value:t}}),boost:(e,t)=>i("/api/v1/preferences/tuner/action",{method:"POST",body:{action:"boost",target_type:e,target_value:t}}),undo:(e,t,n)=>i("/api/v1/preferences/tuner/action",{method:"DELETE",body:{action:e,target_type:t,target_value:n}}),getState:()=>i("/api/v1/preferences/tuner")},exports:{getPresets:()=>
31i("/api/v1/exports/presets"),fromArticle:(e,t)=>i("/api/v1/exports/from-article",{method:"POST",body:{article_id:e,preset:t}}),fromArticles:(e,t,n)=>i("/api/v1/exports/from-articles",{method:"POST",body:{article_ids:e,preset:t,topic:n}}),fromAskFlow:(e,t,n,r)=>i("/api/v1/exports/from-ask-flow",{method:"POST",body:{query:e,response:t,preset:n,sources:r}}),fromAction:e=>i("/api/v1/exports/from-action",{method:"POST",body:e})},signalFeedback:y,spotlight:w,actions:_,purge:x,weeklyArc:P,powerBoard:k}},97024:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(94660),o=n(74810);let i=(0,r.Ue)()((0,o.tJ)((e,t)=>({user:null,token:null,isAuthenticated:!1,isLoading:!0,setAuth:(t,n)=>{e({user:t,token:n,isAuthenticated:!0,isLoading:!1})},updateUser:n=>{let r=t().user;r&&e({user:{...r,...n}})},setOnboardingComplete:n=>{let r=t().user;r&&e({user:{...r,onboardingCompleted:!0,profile:n}})},logout:()=>{e({user:null,token:null,isAuthenticated:!1,isLoading:!1})},setLoading:t=>{e({isLoading:t})}}),{name:"flow-auth",onRehydrateStorage:()=>e=>{e&&e.setLoading(!1)}}))},12517:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(94660),o=n(74810),i=n(58222);let s=(0,r.Ue)()((0,o.tJ)((e,t)=>({purgedIds:[],isLoading:!1,isPurging:{},lastPurged:null,loadPurgedIds:async()=>{e({isLoading:!0});try{let t=await i.IP.list();e({purgedIds:t.purged_ids||[],isLoading:!1})}catch(t){console.error("Failed to load purged IDs:",t),e({isLoading:!1})}},purgeSignal:async(n,r)=>{let o=t();e({purgedIds:o.purgedIds.includes(n)?o.purgedIds:[...o.purgedIds,n],isPurging:{...o.isPurging,[n]:!0},lastPurged:{id:n,title:(null==r?void 0:r.title)||"Signal"}});try{await i.IP.signal(n,{reason:(null==r?void 0:r.reason)||"user_dismissed",signal_title:null==r?void 0:r.title,signal_source:null==r?void 0:r.source,signal_topics:null==r?void 0:r.topics})}catch(t){console.error("Failed to purge signal:",t),e(e=>({purgedIds:e.purgedIds.filter(e=>e!==n),lastPurged:null}))}finally{e(e=>({isPurging:{...e.isPurging,[n]:!1}}))}},undoPurge:async n=>{let r=t();e({purgedIds:r.purgedIds.filter(e=>e!==n),isPurging:{...r.isPurging,[n]:!0},lastPurged:null});try{await i.IP.undo(n)}catch(t){console.error("Failed to undo purge:",t),e(e=>({purgedIds:e.purgedIds.includes(n)?e.purgedIds:[...e.purgedIds,n]}))}finally{e(e=>({isPurging:{...e.isPurging,[n]:!1}}))}},isPurged:e=>t().purgedIds.includes(e),clearLastPurged:()=>{e({lastPurged:null})}}),{name:"flow-purge-store",partialize:e=>({purgedIds:e.purgedIds})}))},92466:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(94660),o=n(74810);let i=(0,r.Ue)()((0,o.tJ)((e,t)=>({theme:"light",resolvedTheme:"light",setTheme:t=>{let n="dark";n="system"===t?window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark":t,"undefined"!=typeof document&&(document.documentElement.classList.remove("light","dark"),document.documentElement.classList.add(n)),e({theme:t,resolvedTheme:n})},toggleTheme:()=>{let{theme:e,setTheme:n}=t();n("dark"===e?"light":"dark")}}),{name:"flow-theme"}))},53653:function(){},63385:function(){},15303:function(e){e.exports={style:{fontFamily:"'__Inter_fa2f99', '__Inter_Fallback_fa2f99'",fontStyle:"normal"},className:"__className_fa2f99",variable:"__variable_fa2f99"}},66784:function(e){e.exports={style:{fontFamily:"'__JetBrains_Mono_6d24ac', '__JetBrains_Mono_Fallback_6d24ac'",fontStyle:"normal"},className:"__className_6d24ac",variable:"__variable_6d24ac"}},92161:function(e){e.exports={style:{fontFamily:"'__IBM_Plex_Mono_595324', '__IBM_Plex_Mono_Fallback_595324'",fontStyle:"normal"},className:"__className_595324",variable:"__variable_595324"}},83656:function(e){e.exports={style:{fontFamily:"'__IBM_Plex_Sans_1bc20f', '__IBM_Plex_Sans_Fallback_1bc20f'",fontStyle:"normal"},className:"__className_1bc20f",variable:"__variable_1bc20f"}},8046:function(e){e.exports={style:{fontFamily:"'__Newsreader_a03c7b'",fontStyle:"normal"},className:"__className_a03c7b",variable:"__variable_a03c7b"}},58960:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:s}
31catch(e){n=s}}();var c=[],l=!1,d=-1;function u(){l&&r&&(l=!1,r.length?c=r.concat(c):d=-1,c.length&&f())}function f(){if(!l){var e=a(u);l=!0;for(var t=c.length;t;){for(r=c,c=[];++d<t;)r&&r[d].run();d=-1,t=c.length}r=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||l||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},s=!0;try{t[e](i,i.exports,r),s=!1}finally{s&&delete n[e]}return i.exports}r.ab="//";var o=r(229);e.exports=o}()},30622:function(e,t,n){"use strict";var r=n(2265),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,i={},l=null,d=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(d=t.ref),t)s.call(t,r)&&!c.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:l,ref:d,props:i,_owner:a.current}}t.Fragment=i,t.jsx=l,t.jsxs=l},57437:function(e,t,n){"use strict";e.exports=n(30622)},61396:function(e,t,n){e.exports=n(25250)},24033:function(e,t,n){e.exports=n(15313)},89817:function(e,t,n){"use strict";n.r(t),n.d(t,{Analytics:function(){return f},track:function(){return u}});var r=n(2265),o=n(62601),i=()=>{window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)})};function s(){return"undefined"!=typeof window}function a(){return"production"}function c(){return(s()?window.vam:a())||"production"}function l(){return"production"===c()}function d(){return"development"===c()}function u(e,t,n){var r,o;if(!s()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(l())console.warn(e);else throw Error(e);return}if(!t){null==(r=window.va)||r.call(window,"event",{name:e,options:n});return}try{let r=function(e,t){if(!e)return;let n=e,r=[];for(let[o,i]of Object.entries(e))"object"==typeof i&&null!==i&&(t.strip?n=function(e,{[e]:t,...n}){return n}(o,n):r.push(o));if(r.length>0&&!t.strip)throw Error(`The following properties are not valid: ${r.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return n}(t,{strip:l()});null==(o=window.va)||o.call(window,"event",{name:e,data:r,options:n})}catch(e){e instanceof Error&&d()&&console.error(e)}}function f(e){return(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,r.useEffect)(()=>{!function(e={debug:!0}){var t;if(!s())return;(function(e="auto"){if("auto"===e){window.vam=a();return}window.vam=e})(e.mode),i(),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let n=e.scriptSrc?e.scriptSrc:d()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?`${e.basePath}/insights/script.js`:"/_vercel/insights/script.js";if(document.head.querySelector(`script[src*="${n}"]`))return;let r=document.createElement("script");r.src=n,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(e.framework?`/${e.framework}`:""),r.dataset.sdkv="1.6.1",e.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),e.endpoint?r.dataset.endpoint=e.endpoint:e.basePath&&(r.dataset.endpoint=`${e.basePath}/insights`),e.dsn&&(r.dataset.dsn=e.dsn),r.onerror=()=>{let e=d()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${n}. ${e}`)},d()&&!1===e.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var n;null==(n=window.va)||n.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}}},function(e){e.O(0,[5250,5166,3167,2971,4938,1744],function(){return e(e.s=42813)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.