PageSourceSearch

https://augustus-xi.vercel.app/assets/EmbedChat-bRTbWrof.js

js augustus-xi.vercel.app collected 2026-10-03 06:09:20 UTC 19,452 bytes, 1 lines download raw bytes

1import{j as r}from"./web3-ClKbONd2.js";import{r as o}from"./charts-_-DYqyk4.js";import{r as be,x as xe,y as _e,z as ve,l as we}from"./index-wikPRxnM.js";import{C as Se,a as ae}from"./ChatPanel-1-tOJuON.js";import{b as ke,d as le}from"./devJwt-B3s8u0gX.js";import{p as je,b as Ce,a as Re,c as V,d as Be,u as Te}from"./postMessage-CqR0Bp26.js";import{u as Ie,r as Ae}from"./useSharedConversation-DEfBJ8Wh.js";import"./mentionIndex-BMA_Dslq.js";import"./InlineChatWidgets-DLXIV0Xa.js";import"./index-9DklLHpz.js";import"./useContextImport-BIzB084P.js";import"./index-BIT_EHA4.js";const de="truf_ai_walkthrough_seen",k={fontFamily:"Geist Mono, ui-monospace, monospace",fontSize:"0.9em",padding:"1px 6px",borderRadius:4,backgroundColor:"var(--h-surface-hover)",color:"var(--h-text)"},Ee={display:"inline-flex",alignItems:"center",justifyContent:"center",width:18,height:18,borderRadius:"50%",backgroundColor:"var(--h-surface-hover)",border:"1px solid var(--h-border)",fontSize:11,fontWeight:600,margin:"0 2px",color:"var(--h-text)"},Q=[{id:"welcome",mode:"modal",title:"Welcome to Truman",body:r.jsxs(r.Fragment,{children:[r.jsx("p",{style:{marginBottom:12},children:"Truman answers macro and markets questions using Truflation’s real-time data layer, official releases, market prices, web evidence, and source-backed charts."}),r.jsx("p",{style:{marginBottom:0},children:"If a number can’t be backed, Truman will say so instead of filling the gap from memory."})]})},{id:"mentions-directives",mode:"modal",title:"@ to mention, / for shortcuts",body:r.jsxs(r.Fragment,{children:[r.jsxs("p",{style:{marginBottom:12},children:["Type ",r.jsx("code",{style:k,children:"@"})," to pin an entity like AAPL, gold, CPI, or FOMC. Type ",r.jsx("code",{style:k,children:"/"})," for shortcuts like ",r.jsx("code",{style:k,children:"/earnings"}),","," ",r.jsx("code",{style:k,children:"/compare"}),", or"," ",r.jsx("code",{style:k,children:"/trend"}),"."]}),r.jsxs("p",{style:{marginBottom:0},children:["You can chain them: ",r.jsx("code",{style:k,children:"/earnings @apple"})," or"," ",r.jsx("code",{style:k,children:"/compare @SPY vs @QQQ"}),"."]})]})},{id:"modes-depth",mode:"modal",title:"Choose speed, depth, and web evidence",body:r.jsxs(r.Fragment,{children:[r.jsxs("p",{style:{marginBottom:12},children:[r.jsx("strong",{children:"Mode"})," picks the lens: Auto for normal questions, Explore for broad scans, Analyze for structured data work."]}),r.jsxs("p",{style:{marginBottom:12},children:[r.jsx("strong",{children:"Speed"})," controls latency: Fast is lighter, Balanced is the default, Deep spends more time on evidence."]}),r.jsxs("p",{style:{marginBottom:12},children:[r.jsx("strong",{children:"Depth"})," controls detail: Concise, Standard, or Detailed."]}),r.jsxs("p",{style:{marginBottom:12},children:[r.jsx("strong",{children:"Web"})," controls outside sources: Auto, Web On, or Web Off."]}),r.jsx("p",{style:{marginBottom:0},children:"Simple lookups are usually quick. Source checks, regressions, history alignment, forecasts, and detailed answers can take longer because Truman verifies the evidence before writing."})]})},{id:"feedback-card",mode:"modal",title:"Send feedback from chat",body:r.jsxs(r.Fragment,{children:[r.jsxs("p",{style:{marginBottom:12},children:["Type ",r.jsx("code",{style:k,children:"/feedback"})," anytime to open the quick feedback card in the chat."]}),r.jsxs("p",{style:{marginBottom:0},children:["You can also start with a note, like"," ",r.jsx("code",{style:k,children:"/feedback the answer was too slow"}),", and Truman will prefill the comment box."]})]})},{id:"you-are-set",mode:"modal",title:"You’re set",body:r.jsxs(r.Fragment,{children:[r.jsx("p",{style:{marginBottom:12},children:"Every answer is grounded in verified data. If we ever cite a number we can’t back, you’ll see a corrective note at the bottom."}),r.jsxs("p",{style:{marginBottom:0},children:["Click the ",r.jsx("span",{style:Ee,children:"?"})," in the bottom-left anytime to revisit this tour. Now — ask something."]})]})}];function Me(){const[t,s]=o.useState(!1);o.useEffect(()=>{if(!(typeof window>"u"))try{window.localStorage.getItem(de)||s(!0)}catch{}},[]);const i=o.useCallback(()=>{s(!1);try{window.localStorage.setItem(de,"1")}catch{}},[]);return{shouldAutoOpen:t,markSeen:i}}const ce=({step:t,index:s,total:i,onPrev:n,onNext:l,onSkip:m})=>{const x=s===0,c=s===i-1;return r.jsx("div",{role:"dialog","aria-modal":"true","aria-labelledby":`walkthrough-${t.id}-title`,style:{position:"fixed",inset:0,zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",padding:"clamp(12px, 4vw, 24px)",backgroundColor:"color-mix(in srgb, var(--h-bg) 14%, transparent)",backdropFilter:"blur(3px)",fontFamily:'Geist, "Geist Sans", system-ui, sans-serif'},children:r.jsxs("div",{style:{width:"100%",maxWidth:460,maxHeight:"calc(100dvh - 24px)",borderRadius:16,backgroundColor:"var(--h-panel-bg, var(--h-card, var(--h-surface)))",border:"1px solid var(--h-border)",boxShadow:"0 12px 36px rgba(0, 0, 0, 0.22)",overflow:"hidden",display:"flex",flexDirection:"column"},children:[t.illustration&&r.jsx("div",{style:{borderBottom:"1px solid var(--h-border-subtle, var(--h-border))",padding:"24px 28px"},children:t.illustration}),r.jsxs("div",{className:"scrollbar-hide",style:{padding:"28px 28px 8px",overflowY:"auto",flex:"1 1 auto"},children:[r.jsxs("div",{style:{fontSize:10,fontWeight:600,letterSpacing:"0.1em",textTransform:"uppercase",color:"var(--h-text-faint)",marginBottom:12},children:["Research Preview v1 · Step ",s+1," of ",i]}),r.jsx("h2",{id:`walkthrough-${t.id}-title`,style:{fontSize:22,fontWeight:600,color:"var(--h-text)",margin:0,marginBottom:14,lineHeight:1.25},children:t.title}),r.jsx("div",{style:{fontSize:14,lineHeight:1.6,color:"var(--h-text-secondary)"},children:t.body})]}),r.jsxs("div",{className:"flex items-center justify-between",style:{padding:"20px 28px 24px",gap:12,flex:"0 0 auto",flexWrap:"wrap"},children:[r.jsx("button",{type:"button",onClick:m,style:{fontSize:12,fontFamily:"inherit",padding:"8px 14px",borderRadius:8,backgroundColor:"transparent",color:"var(--h-text-muted)",border:"none",cursor:"pointer"},children:"Skip tour"}),r.jsxs("div",{className:"flex items-center",style:{gap:8},children:[!x&&r.jsx("button",{type:"button",onClick:n,style:{fontSize:13,fontFamily:"inherit",fontWeight:500,padding:"8px 16px",borderRadius:8,backgroundColor:"var(--h-surface-hover)",color:"var(--h-text)",border:"1px solid var(--h-border)",cursor:"pointer"},children:"Back"}),r.jsx("button",{type:"button",onClick:l,style:{fontSize:13,fontFamily:"inherit",fontWeight:600,padding:"8px 18px",borderRadius:8,backgroundColor:"var(--h-accent, #3B70DA)",color:"#FFFFFF",border:"none",cursor:"pointer"},children:c?"Start exploring":"Next"})]})]}),r.jsx("div",{className:"flex items-center justify-center",style:{padding:"0 0 18px",gap:6},children:Array.from({length:i}).map((R,g)=>r.jsx("div",{style:{width:g===s?18:6,height:6,borderRadius:3,backgroundColor:g===s?"var(--h-accent, #3B70DA)":"var(--h-border)",transition:"width 0.15s ease"}},g))})]})})},Fe=({step:t,index:s,total:i,onPrev:n,onNext:l,onSkip:m})=>r.jsx(ce,{step:t,index:s,total:i,onPrev:n,onNext:l,onSkip:m}),Le=({isOpen:t,onClose:s})=>{const[i,n]=o.useState(0);if(o.useEffect(()=>{t&&n(0)},[t]),o.useEffect(()=>{if(!t)return;const R=g=>{g.key==="Escape"?(g.preventDefault(),s()):g.key==="ArrowRight"?(g.preventDefault(),n(B=>Math.min(B+1,Q.length-1))):g.key==="ArrowLeft"&&(g.preventDefault(),n(B=>Math.max(B-1,0)))};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[t,s]),!t)return null;const l=Q[i],m=l.mode==="tooltip"?Fe:ce,x=()=>{i>=Q.length-1?s():n(i+1)},c=()=>n(Math.max(0,i-1));return r.jsx(m,{step:l,index:i,total:Q.length,onPrev:c,onNext:x,onSkip:s})},$e=({onClick:t})=>r.jsx("button",{type:"button",onClick:t,"aria-label":"Open Truman walkthrough",title:"Show walkthrough",style:{position:"fixed",bottom:18,left:18,zIndex:50,width:32,height:32,borderRadius:"50%",backgroundColor:"var(--h-surface)",border:"1px solid var(--h-border)",color:"var(--h-text-secondary)",fontSize:14,fontWeight:600,fontFamily:"Geist, system-ui, sans-serif",curs
1or:"pointer",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 2px 10px rgba(0, 0, 0, 0.16)",transition:"transform 0.12s ease, background-color 0.12s ease"},onMouseEnter:s=>{s.currentTarget.style.transform="scale(1.05)",s.currentTarget.style.backgroundColor="var(--h-surface-hover)"},onMouseLeave:s=>{s.currentTarget.style.transform="",s.currentTarget.style.backgroundColor="var(--h-surface)"},children:"?"}),ze="privy_access_token",H=we(),De=6*60*60*1e3,Ne=()=>{},We=()=>{const t=o.useRef(null);return o.useEffect(()=>{const s=t.current;if(!s||typeof window>"u")return;const i=document.documentElement;i.classList.add("heimdall-embed-document");const n=window.visualViewport,l=()=>{const x=Ae({documentHeight:i.clientHeight,innerHeight:window.innerHeight,visualHeight:n==null?void 0:n.height});s.style.setProperty("--embed-viewport-height",`${x}px`)};l(),window.addEventListener("resize",l),n==null||n.addEventListener("resize",l),n==null||n.addEventListener("scroll",l);const m=typeof ResizeObserver>"u"?null:new ResizeObserver(l);return m==null||m.observe(i),()=>{i.classList.remove("heimdall-embed-document"),window.removeEventListener("resize",l),n==null||n.removeEventListener("resize",l),n==null||n.removeEventListener("scroll",l),m==null||m.disconnect()}},[]),t},K=t=>{let s=0;for(let i=0;i<t.length;i+=1)s=(s<<5)-s+t.charCodeAt(i)|0;return`truf-ai:embed-seed-session:${t.length}:${s}`},Oe=t=>{if(!t||typeof window>"u")return null;try{const s=window.sessionStorage.getItem(K(t));if(!s)return null;const i=JSON.parse(s);return typeof i.sessionId!="string"||i.prompt!==t||typeof i.createdAt!="number"||Date.now()-i.createdAt>De?(window.sessionStorage.removeItem(K(t)),null):i.sessionId}catch{return null}},He=(t,s)=>{if(!(!t||typeof window>"u"))try{window.sessionStorage.setItem(K(t),JSON.stringify({prompt:t,sessionId:s,createdAt:Date.now()}))}catch{}},Ue=t=>{if(t&&/^https?:\/\//i.test(t))return t.replace(/\/+$/,"");if(typeof document<"u"&&document.referrer)try{return`${new URL(document.referrer).origin}/truf-ai/share`}catch{}return"https://truflation.com/truf-ai/share"},Pe=t=>{if(!(!t||typeof window>"u"))try{window.sessionStorage.removeItem(K(t))}catch{}},qe=t=>!!(t.thinking_steps&&t.thinking_steps.length||t.sanitised_status_log&&t.sanitised_status_log.length||t.charts&&t.charts.length||t.inline_widgets&&t.inline_widgets.length||t.widgets&&t.widgets.length||t.script_results&&t.script_results.length||t.data_cards&&t.data_cards.length||t.trade_ideas&&t.trade_ideas.length),Ge=t=>{if(!t.length)return!1;const s=t[t.length-1];return(s==null?void 0:s.role)!=="assistant"?!1:(s==null?void 0:s.error)===!0||!((s==null?void 0:s.content)||"").trim()&&!qe(s)},oe=t=>({...t,scriptResults:t.scriptResults||t.script_results}),Ye=t=>{if(!(typeof window>"u"))try{const s=new URL(window.location.href);if(!s.searchParams.get("prefilled_prompt"))return;s.searchParams.delete("prefilled_prompt"),s.searchParams.set("session_id",t),window.history.replaceState(window.history.state,"",`${s.pathname}${s.search}${s.hash}`)}catch{}},at=({initialDraft:t="",onEmbedSessionChange:s,onTrumanV2Select:i})=>{const[n]=be(),l=o.useMemo(()=>xe(n),[n]),x=o.useRef({mode:l.mode,depth:l.depth,latencyMode:l.latencyMode,evidenceMode:l.evidenceMode}).current,[c,R]=o.useState(()=>n.get("token")||ke({user:"local"})),[g,B]=o.useState(()=>_e(n)),_=l.prefilledPrompt,a=l.shareId,v=Ie(a,null,!1),w=n.get("session_id"),M=n.get("force_new")==="1",z=o.useMemo(()=>w||M?null:Oe(_),[w,M,_]),p=a?null:w||z,X=o.useMemo(()=>{var C;const e=le(c),h=(C=e==null?void 0:e.name)==null?void 0:C.trim();if(h)return h;const b=e==null?void 0:e.email;if(b&&b.includes("@"))return b.split("@")[0]},[c]),[y,D]=o.useState(()=>je(le(c))),Z=Ce(y),[u,F]=o.useState(p),[ee,U]=o.useState(null),[T,P]=o.useState(null);o.useEffect(()=>{u&&(s==null||s(u))},[s,u]);const L=o.useRef(!1),S=o.useCallback((e,h={})=>{a||Re("chat",e,{session_id:u||void 0,route_session_id:w||void 0,source:n.get("source")||void 0,web:n.get("web")||void 0,theme:g,has_prefilled_prompt:!!_,read_only:!1,...h})},[_,g,n,u,a,w]),te=async(e,h)=>{const b=h[h.length-1];if(!b||b.role!=="user")return null;const C={Authorization:`Bearer ${c}`};try{const W=await fetch(`${H}/heimdall/sessions/${e}/partial`,{headers:C});if(W.status===404||!W.ok)return null;const $={...C,"X-Truflation-Auth":`Bearer ${c}`},A=await fetch(`${H}/heimdall/sessions/${e}/resume`,{method:"POST",headers:$});if(!A.ok)return null;const J=await A.json(),O=J==null?void 0:J.message;return!O||typeof O!="object"?null:oe(O)}catch{return null}},q=o.useCallback(e=>{a||(V({type:"credits_used",module:"chat",session_id:(e==null?void 0:e.sessionId)||u||void 0,credits_used:(e==null?void 0:e.creditsUsed)??null}),S("truman_credits_used",{session_id:(e==null?void 0:e.sessionId)||u||void 0,credits_used:(e==null?void 0:e.creditsUsed)??null,cost_usd:(e==null?void 0:e.costUsd)??null,billable_usd:(e==null?void 0:e.b
1illableUsd)??null,billing_mode:(e==null?void 0:e.billingMode)??(y==null?void 0:y.billing_mode)??null}),D(h=>Be(h,{billing_mode:e==null?void 0:e.billingMode,credits_available:e==null?void 0:e.creditsAvailable,free_queries_available:e==null?void 0:e.freeQueriesAvailable,credits_used:e==null?void 0:e.creditsUsed})))},[y==null?void 0:y.billing_mode,S,u,a]),se=o.useCallback(e=>{D(h=>{const b=e.billingMode||(h==null?void 0:h.billing_mode)||"credits";return b==="free_query_allowance"?{billing_mode:b,free_queries_available:e.freeQueriesAvailable??0}:{billing_mode:b,credits_available:e.creditsAvailable??0}})},[]),re=o.useCallback(()=>{if(a)return;const e=(y==null?void 0:y.billing_mode)||"credits",h=e==="free_query_allowance"?"free_query_allowance_exhausted":"insufficient_credits";V({type:"upgrade_requested",module:"chat",source:"usage_limit",billing_mode:e,reason:h,session_id:u||void 0}),S("truman_upgrade_requested",{billing_mode:e,reason:h,source:"usage_limit"})},[y==null?void 0:y.billing_mode,S,u,a]),[N,j]=o.useState([]),[ne,d]=o.useState([]),[f,G]=o.useState(a||p?null:_),[I,ue]=o.useState(!1),[ie,Y]=o.useState(!!(p||a)),[he,fe]=o.useState(x.mode||"auto"),[ge,me]=o.useState(x.depth||"standard");Te({module:"chat",onTokenRefresh:R,onThemeChange:B,onBillingState:D,onPrompt:e=>{p||u||ie||a||G(e)}}),o.useEffect(()=>{localStorage.setItem(ze,c),ue(!0)},[c]),o.useEffect(()=>{!I||L.current||a||(L.current=!0,S("truman_iframe_ready",{has_session_id:!!p,has_url_session_id:!!w,force_new_seed:M}))},[S,M,p,I,a,w]),o.useEffect(()=>{if(!a)return;F(null),Y(v.loading);const e=v.snapshot;if(v.error&&(!e||v.unavailable)){j([{role:"assistant",content:v.error,timestamp:new Date().toISOString(),error:!0,retryable:!1,error_reason:"share_unavailable"}]);return}if(e){if(ve(e)&&i){i("v2_standard","",e);return}j(e.messages.map(oe)),U(e.title),P(e.view_count??null),d([])}},[a,v.snapshot,v.loading,v.error,v.unavailable,i]),o.useEffect(()=>{if(!I||a)return;if(F(a?null:p),j([]),U(null),P(null),!p){Y(!1);return}Y(!0);let e=!1;return(async()=>{let b=!1;try{const C=await fetch(`${H}/heimdall/sessions/${p}`,{headers:{Authorization:`Bearer ${c}`}});if(e)return;if(C.ok){const W=await C.json(),$=(W.messages||[]).map(A=>oe(A));if(!w&&z===p&&Ge($))Pe(_),!e&&_&&G(_),b=!1;else if(!e){const A=await te(p,$);if(e)return;j(A?[...$,A]:$);const O=(W.feedback||[]).filter(E=>Number.isInteger(E.message_index)&&E.message_index>=0&&(E.rating==="up"||E.rating==="down")).map(E=>({message_index:E.message_index,rating:E.rating}));d(O),b=!0}}}catch{}finally{e||(b||(j([]),F(null),d([])),Y(!1))}})(),()=>{e=!0}},[p,I,c,w,z,_,a,i]),o.useEffect(()=>{I&&G(a||p?null:_)},[p,_,I,a]);const pe=o.useCallback(async()=>{if(!u||a)return null;const e=await fetch(`${H}/heimdall/sessions/${u}/share`,{method:"POST",headers:{Authorization:`Bearer ${c}`,"Content-Type":"application/json"},body:JSON.stringify({public_url_base:Ue(n.get("share_base_url"))})});if(!e.ok)return null;const h=await e.json();return typeof h.share_url=="string"?h.share_url:null},[u,a,c,n]),ye=o.useCallback(async()=>!u||a?!1:(await fetch(`${H}/heimdall/sessions/${u}/share/revoke`,{method:"POST",headers:{Authorization:`Bearer ${c}`,"Content-Type":"application/json"}})).ok,[u,a,c]);return I?r.jsx(Je,{resolvedTheme:g,sessionId:u,messages:N,initialFeedback:ne,setMessages:j,rememberSeedSession:He,replaceSeedUrlWithSession:Ye,setSessionId:F,emitCreditsUsed:q,autoSendInput:f,setAutoSendInput:G,userName:X,initialComposerDraft:t,onTrumanV2Select:i,selectedMode:he,setSelectedMode:fe,selectedDepth:ge,setSelectedDepth:me,initialEvidenceMode:x.evidenceMode,initialLatencyMode:x.latencyMode,isLoadingSession:ie,readOnly:!!a,sharedTitle:ee,sharedViewCount:T,onShareSession:pe,onRevokeShareSession:ye,onAnalyticsEvent:S,usageBlocked:Z,billingState:y,onBillingDenied:se,onUpgradeRequest:re}):r.jsx("div",{className:"heimdall-embed","data-theme":g,style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100vh",fontFamily:"var(--font-geist-sans, system-ui, sans-serif)"},children:r.jsx("div",{role:"status","aria-label":"Connecting to Truman",className:"heimdall-loading-bar"})})},Je=({resolvedTheme:t,sessionId:s,messages:i,initialFeedback:n,setMessages:l,rememberSeedSession:m,replaceSeedUrlWithSession:x,setSessionId:c,emitCreditsUsed:R,autoSendInput:g,setAutoSendInput:B,userName:_,initialComposerDraft:a,onTrumanV2Select:v,selectedMode:w,setSelectedMode:M,selectedDepth:z,setSelectedDepth:p,initialEvidenceMode:X,initialLatencyMode:y,isLoadingSession:D,readOnly:Z,sharedTitle:u,sharedViewCount:F,onShareSession:ee,onRevokeShareSession:U,onAnalyticsEvent:T,usageBlocked:P,billingState:L,onBillingDenied:S,onUpgradeRequest:te})=>{const{shouldAutoOpen:q,markSeen:se}=Me(),[re,N]=o.useState(!1),j=We();o.useEffect(()=>{q&&N(!0)},[q]);const ne=()=>{N(!1),se()};return r.jsxs("div",{ref:j,className:"heimdall-embed","data-theme":t,style:{position:"absolute",top:0,left:0,right:0,height:"var(--embed-viewport-height, 100dvh)",maxHeight:"100%",minHeight:0,display:"flex",flexDirection:"column",overflow:"hidden"},children:[r.jsx(Se,{sessionId:s,messages:i,initialFeedback:n,onMessagesUpdate:l,onScenarioTree:Ne,onSessionAllocated:(d,f)=>{c(d),m(f,d),x(d),T("truman_session_allocated",{session_id:d,first_prompt_length:(f==null?void 0:f.length)||0,first_prompt_hash:f?ae(f):null})},onSessionCreated:(d,f)=>{c(d),m(f,d),x(d),T("truman_session_started",{session_id:d,first_prompt_length:(f==null?void 0:f.length)||0,first_prompt_hash:f?ae(f):null}),V({type:"session_started",module:"chat",session_id:d}),f&&f.length>0&&V({type:"first_message",module:"chat",session_id:d,prompt:f})},autoSendInput:g,onAutoSendInputConsumed:()=>B(null),onChatComplete:R,userName:_,initialInput:a,onTrumanV2Select:v,embedMode:!0,readOnly:Z,usageBlocked:P,billingMode:L==null?void 0:L.billing_mode,onBillingDenied:S,onUpgradeRequest:te,onShareSession:ee,onRevokeShareSession:U,onAnalyticsEvent:T,surface:"embed",sessionTitle:u||void 0,sharedViewCount:F??void 0,selectedMode:w,onModeSelect:d=>{M(d),T("truman_mode_changed",{session_id:s||void 0,mode:d})},selectedDepth:z,onDepthSelect:d=>{p(d),T("truman_depth_changed",{session_id:s||void 0,depth:d})},initialEvidenceMode:X||void 0,initialLatencyMode:y||void 0,isLoadingSession:D}),r.jsx($e,{onClick:()=>N(!0)}),r.jsx(Le,{isOpen:re,onClose:ne})]})};export{at as default};

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.