1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:blabber-web":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f0a8c7ad-bda4-49c7-97d6-587042cc33c0",e._sentryDebugIdIdentifier="sentry-dbid-f0a8c7ad-bda4-49c7-97d6-587042cc33c0")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3667],{73667:(e,t,r)=>{r.d(t,{eu:()=>P,q5:()=>A,BK:()=>D});var a=r(95155),l=r(12115),n=r(54011),s=r(84616),i=r(59434),o=r(52866),d=r(6874),c=r.n(d),u=r(54165),f=r(30285),h=r(5623),m=r(62525),p=r(54416),x=r(42355),b=r(51154),g=r(56671),v=r(71167);function w(e){if(!e)return"image";let t=e.split("?")[0].split("#")[0].toLowerCase();return/\.(mp4|webm|mov|ogg|m4v)(\?|#|$)/i.test(t)?"video":(/\.(jpe?g|png|gif|webp|avif|heic|heif|bmp|svg)(\?|#|$)/i.test(t)||/picsum\.photos|placehold\.co|images\.unsplash|i\.imgur\.com\/(?!.*\.mp4)/i.test(e),"image")}var y=r(86026),j=r(44838),k=r(90010);function N(e){let t=Math.floor((Date.now()-new Date(e).getTime())/6e4);if(t<1)return"Just now";if(t<60)return"".concat(t,"m ago");let r=Math.floor(t/60);return r<24?"".concat(r,"h ago"):"Yesterday"}function _(e){let{isOpen:t,onClose:r,onComplete:n,profileId:s}=e,{profile:d}=(0,v.J)(),[_,S]=(0,l.useState)([]),[C,z]=(0,l.useState)(null),[T,M]=(0,l.useState)(!1),[I,E]=(0,l.useState)(!1),[P,D]=(0,l.useState)(0),[A,O]=(0,l.useState)(0),[R,L]=(0,l.useState)(new Set),[q,F]=(0,l.useState)(!1),[$,Y]=(0,l.useState)(0),[J,V]=(0,l.useState)(!1),[W,B]=(0,l.useState)(!1),[H,U]=(0,l.useState)(!1),[G,K]=(0,l.useState)(new Map),Q=(0,l.useRef)(null),Z=(0,l.useRef)(null),X=(0,l.useRef)(null),ee=(0,l.useRef)(null),et=(0,l.useRef)(null),[er,ea]=(0,l.useState)(!1),el=(null==d?void 0:d.id)===s,en=(null==C?void 0:C.full_name)||(null==C?void 0:C.username)||"Story",es=(0,l.useCallback)(()=>{if(!_[P])return 1e4;let e=_[P];return G.get(e.media_url)||1e4},[P,_,G]),ei=(0,l.useCallback)(async e=>{if(0===e.length)return;E(!0);let t=new Set,r=new Map,a=e.map(e=>new Promise(a=>{let l=w(e.media_url);if("image"===l){let l=new Image;l.onload=()=>{t.add(e.media_url),r.set(e.media_url,1e4),a()},l.onerror=()=>{r.set(e.media_url,1e4),a()},l.src=e.media_url}else if("video"===l){let l=document.createElement("video");l.preload="metadata",l.onloadedmetadata=()=>{t.add(e.media_url);let n=Math.max(3e3,1e3*l.duration);r.set(e.media_url,n),a()},l.onerror=()=>{r.set(e.media_url,1e4),a()},l.src=e.media_url}else r.set(e.media_url,1e4),a()}));await Promise.all(a),L(t),K(r),E(!1)},[]),eo=(0,l.useCallback)(e=>{ee.current={y:e.touches[0].clientY,time:Date.now()},F(!0),Y(0)},[]),ed=(0,l.useCallback)(e=>{if(!ee.current||!q)return;let t=e.touches[0].clientY-ee.current.y;t>0&&(Y(t),e.preventDefault())},[q]),ec=(0,l.useCallback)(e=>{if(!ee.current||!q)return;let t=e.changedTouches[0].clientY-ee.current.y,a=Date.now()-ee.current.time;(t>100||t/a>.5)&&r(),F(!1),Y(0),ee.current=null},[q,r]),eu=(0,l.useCallback)(()=>{P<_.length-1?D(e=>e+1):(r(),setTimeout(()=>{D(0),O(0)},300))},[P,_.length,r]),ef=(0,l.useCallback)(()=>{P>0?D(e=>e-1):O(0)},[P]),eh=async()=>{if(!_[P])return;U(!0);let e=(0,o.createClient)();try{let{error:t}=await e.from("live_stories").delete().eq("id",_[P].id);if(t)return void g.toast.error("Failed to delete story");g.toast.success("Story deleted");let a=_.filter((e,t)=>t!==P);if(S(a),0===a.length)return void r();P>=a.length&&D(a.length-1),O(0)}catch(e){g.toast.error("Failed to delete story")}finally{U(!1),B(!1)}};(0,l.useEffect)(()=>{if(t)return document.body.classList.add("story-viewer-open"),()=>document.body.classList.remove("story-viewer-open")},[t]),(0,l.useEffect)(()=>{if(!t||!s)return;M(!0),S([]),z(null),D(0),O(0),L(new Set);let e=(0,o.createClient)();Promise.all([e.from("live_stories").select("*").eq("profile_id",s).order("created_at",{ascending:!0}),e.from("profiles").select("username, full_name, avatar_url").eq("id",s).maybeSingle()]).then(e=>{let[t,r]=e;if(t.error){g.toast.error("Failed to load stories"),M(!1);return}let a=t.data||[];S(a),r.data&&z(r.data),M(!1),a.length>0&&ei(a)})},[t,s,ei]);let em=(0,l.useCallback)(async e=>{if(null==d?void 0:d.id)try{let t=(0,o.createClient)();await t.from("user_story_views").upsert({story_id:e,viewer_profile_id:d.id,viewed_at:new Date().toISOString()},{onConflict:"story_id,viewer_profile_id"}),!el&&s&&(0,y._)({contentType:"story",contentId:e,creatorId:s})}catch(e){console.error("Failed to record story view:",e)}},[null==d?void 0:d.id,el,s]);return(0,l.useEffect)(()=>
1{if(!t||0===_.length||I||J||W)return;O(0),_[P]&&em(_[P].id);let e=es();Z.current&&clearInterval(Z.current);let r=Date.now();return Z.current=setInterval(()=>{O(Math.min(1,(Date.now()-r)/e))},100),Q.current&&clearTimeout(Q.current),Q.current=setTimeout(()=>{eu()},e),()=>{Q.current&&clearTimeout(Q.current),Z.current&&clearInterval(Z.current)}},[t,P,_.length,I,J,W,em,es,eu]),(0,l.useEffect)(()=>{_[P]&&ea("video"===w(_[P].media_url))},[P,_]),(0,l.useEffect)(()=>{!t&&(S([]),z(null),D(0),O(0),ea(!1),L(new Set),K(new Map),E(!1),F(!1),Y(0),V(!1),Q.current&&clearTimeout(Q.current),Z.current&&clearInterval(Z.current))},[t]),(0,l.useEffect)(()=>{if(t&&_.length&&!I&&(_[P],er&&et.current)){let e=et.current.play();e&&"function"==typeof e.then&&e.catch(()=>{})}},[t,P,_.length,I,er]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.lG,{open:t,onOpenChange:e=>!e&&r(),children:(0,a.jsxs)(u.Cf,{ref:X,hideCloseButton:!0,className:(0,i.cn)("story-viewer-content","fixed z-50 grid max-w-none gap-0 overflow-hidden rounded-none border-0 bg-black p-0 shadow-none","!top-0 !left-0 !translate-x-0 !translate-y-0","h-full w-full","md:!top-1/2 md:!left-1/2 md:!-translate-x-1/2 md:!-translate-y-1/2","md:h-auto md:w-auto md:max-h-[90vh] md:rounded-2xl","transition-[transform,opacity] duration-200 ease-out","[box-shadow:var(--brand-ring-money)]"),style:{aspectRatio:"9/16",height:"100dvh",width:"100vw",maxHeight:"100dvh",...q?{transform:"translateY(".concat($,"px)"),opacity:Math.max(.3,1-$/300)}:{}},onTouchStart:eo,onTouchMove:ed,onTouchEnd:ec,children:[(0,a.jsx)("style",{children:'\n body.story-viewer-open [data-slot="dialog-overlay"] {\n background: rgb(0 0 0 / 0.78) !important;\n backdrop-filter: blur(10px);\n -webkit-backdrop-filter: blur(10px);\n }\n @media (min-width: 768px) {\n .story-viewer-content {\n height: min(90vh, calc(90vw * 16 / 9)) !important;\n width: auto !important;\n max-width: min(420px, 100vw - 2rem) !important;\n }\n }\n @media (max-width: 767px) {\n .story-viewer-content {\n height: calc(100dvh - 4rem) !important;\n max-height: calc(100dvh - 4rem) !important;\n margin-top: 0 !important;\n top: 0 !important;\n }\n }\n '}),(0,a.jsxs)(u.c7,{className:"sr-only",children:[(0,a.jsxs)(u.L3,{children:[en,"'s story"]}),(0,a.jsxs)(u.rr,{children:["Viewing stories from ",en]})]}),!T&&!I&&_.length>0&&(0,a.jsx)("div",{className:"absolute top-0 left-0 z-40 flex w-full gap-1 px-3 pt-3 pb-2",children:_.map((e,t)=>(0,a.jsx)("div",{className:"h-[3px] flex-1 overflow-hidden rounded-full bg-white/25",children:(0,a.jsx)("div",{className:"h-full rounded-full transition-[width] duration-100 ease-linear",style:{width:t<P?"100%":t===P?"".concat(Math.round(100*A),"%"):"0%",background:"var(--brand-grad)"}})},t))}),(()=>{if(T||I||!_.length)return null;let e=_[P],t=(null==C?void 0:C.username)?"/u/".concat(C.username):void 0;return(0,a.jsx)("div",{className:"absolute top-0 left-0 right-0 z-40 bg-gradient-to-b from-black/70 via-black/35 to-transparent px-3 pb-10 pt-[calc(env(safe-area-inset-top,0px)+2.25rem)]",children:(0,a.jsxs)("div",{className:"flex items-center gap-2.5",children:[t?(0,a.jsxs)(c(),{href:t,onClick:e=>e.stopPropagation(),className:"flex min-w-0 flex-1 items-center gap-2.5 rounded-full py-1 pr-2 transition-opacity hover:opacity-90",children:[(0,a.jsx)("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-full p-[2px]",style:{background:"var(--brand-grad)"},children:(0,a.jsx)("span",{className:"block h-full w-full overflow-hidden rounded-full bg-black",children:(null==C?void 0:C.avatar_url)?(0,a.jsx)("img",{src:C.avatar_url,alt:en,className:"h-full w-full object-cover"}):(0,a.jsx)("span",{className:"flex h-full w-full items-center justify-center bg-muted text-xs font-semibold text-white",children:en.charAt(0).toUpperCase()})})}),(0,a.jsxs)("span",{className:"min-w-0 text-left",children:[(0,a.jsx)("span",{className:"block truncate text-sm font-semibold text-white leading-tight",children:en}),(0,a.jsx)("span",{className:"block text-[11px] text-white/65",children:N(e.created_at)})]})]}):(0,a.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2.5",children:[(0,a.jsx)("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-full p-[2px]",style:{background:"var(--brand-grad)"},children:(0,a.jsx)("span",{className:"flex h-full w-full items-center justify-center overflow-hidden rounded-full bg-black text-xs font-semibold text-white",children:en.charAt(0).toUpperCase()})}),(0,a.jsxs)("span",{className:"min-w-0",children:[(0,a.jsx)("span",{className:"block truncate text-sm font-semibold text-white",children:en}),(0,a.jsx)("span",{className:"block text-[11px] text-white/65",children:N(e.created_at)})]})]}),(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-1",children:[el&&(0,a.jsxs)(j.rI,{open:J,onOpenChange:V,children:[(0,a.jsx)(j.ty,{asChild:!0,children:(0,a.jsx)(f.$,{variant:"ghost",size:"icon",className:"h-11 w-11 rounded-full border border-white/15 bg-black/35 text-white backdrop-blur-sm hover:bg-black/50 hover:text-white",onClick:e=>e.stopPropagation(),children:(0,a.jsx)(h.A,{size:18})})}),(0,a.jsx)(j.SQ,{align:"end",className:"w-48",children:(0,a.jsxs)(j._2,{className:"text-destructive focus:text-destructive",onClick:e=>{e.stopPropagation(),B(!0),V(!1)},children:[(0,a.jsx)(m.A,{size:16,className:"mr-2"}),"Delete story"]})})]}),(0,a.jsx)(f.$,{variant:"ghost",size:"icon",className:"h-11 w-11 rounded-full border border-white/15 bg-black/35 text-white backdrop-blur-sm hover:bg-black/50 hover:text-white",onClick:e=>{e.stopPropagation(),r()},"aria-label":"Close story",children:(0,a.jsx)(p.A,{size:18})})]})]})})})(),(0,a.jsx)("div",{className:"relative flex h-full w-full items-center justify-center overflow-hidden md:rounded-2xl",children:(()=>
1{if(T)return(0,a.jsxs)("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4 bg-black",children:[(0,a.jsx)("div",{className:"h-12 w-12 animate-spin rounded-full border-[3px] border-white/20 border-t-transparent",style:{borderTopColor:"var(--brand-pink)"}}),(0,a.jsx)("p",{className:"text-sm font-medium text-white/60",children:"Loading storyâ¦"})]});if(I)return(0,a.jsx)("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4 bg-black",children:(0,a.jsx)("div",{className:"h-12 w-12 animate-spin rounded-full border-[3px] border-white/20 border-t-transparent",style:{borderTopColor:"var(--brand-violet)"}})});if(!_.length)return(0,a.jsxs)("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4 bg-black px-8 text-center",children:[(0,a.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-2xl text-[var(--brand-on-accent)]",style:{background:"var(--brand-grad)",boxShadow:"var(--brand-ring-money)"},children:(0,a.jsx)(x.A,{size:24,className:"rotate-180"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-base font-semibold text-white",children:"No stories right now"}),(0,a.jsx)("p",{className:"mt-1 text-sm text-white/55",children:"Check back later for new updates."})]}),(0,a.jsx)(f.$,{variant:"outline",className:"mt-2 rounded-full border-white/20 bg-white/10 px-5 text-white hover:bg-white/20 hover:text-white",onClick:r,children:"Go back"})]});let e=_[P],t=Array.isArray(e.overlays)?e.overlays:[];return(0,a.jsxs)("div",{className:"relative h-full w-full",children:[er?(0,a.jsx)("video",{ref:et,src:e.media_url,className:"h-full w-full object-cover",autoPlay:!0,playsInline:!0,controls:!1,muted:!1}):(0,a.jsx)("img",{src:e.media_url,alt:"Story",className:"h-full w-full object-cover",onError:()=>ea(!0)}),t.map(e=>(0,a.jsx)("div",{style:{position:"absolute",left:"".concat(100*e.x,"%"),top:"".concat(100*e.y,"%"),transform:"translate(-50%, -50%) rotate(".concat(e.rotation||0,"deg) scale(").concat(e.scale||1,")"),zIndex:10,pointerEvents:"none",userSelect:"none",minWidth:40,minHeight:30,maxWidth:"80%",color:"#fff",fontWeight:600,fontSize:28*(e.scale||1),padding:"2px 8px",borderRadius:8,whiteSpace:"pre-line"},children:e.text},e.id)),(0,a.jsxs)("div",{className:"absolute inset-0 z-20 flex",children:[(0,a.jsx)("button",{type:"button",className:"h-full w-[35%] cursor-pointer bg-transparent",onClick:e=>{e.stopPropagation(),ef()},"aria-label":"Previous story"}),(0,a.jsx)("button",{type:"button",className:"h-full w-[65%] cursor-pointer bg-transparent",onClick:e=>{e.stopPropagation(),eu()},"aria-label":"Next story"})]}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 z-10 h-24 bg-gradient-to-t from-black/50 to-transparent"})]})})()})]})}),(0,a.jsx)(k.Lt,{open:W,onOpenChange:B,children:(0,a.jsxs)(k.EO,{className:"gap-0 overflow-hidden rounded-2xl border-border/80 p-0 sm:max-w-[380px] [box-shadow:var(--brand-ring-money)]",children:[(0,a.jsx)("div",{className:"px-6 pt-6 pb-4",style:{background:"var(--brand-grad-soft)"},children:(0,a.jsxs)(k.wd,{className:"space-y-1.5 p-0 text-left",children:[(0,a.jsx)(k.r7,{className:"text-lg font-semibold tracking-tight",children:"Delete story?"}),(0,a.jsx)(k.$v,{className:"text-sm leading-relaxed text-muted-foreground",children:"This story will be removed immediately. This cannot be undone."})]})}),(0,a.jsxs)(k.ck,{className:"gap-2 border-t border-border/60 bg-muted/20 px-6 py-4 sm:justify-end",children:[(0,a.jsx)(k.Zr,{className:"h-10 rounded-full px-5",children:"Cancel"}),(0,a.jsxs)(k.Rx,{onClick:eh,disabled:H,className:"h-10 rounded-full bg-destructive px-5 text-destructive-foreground hover:bg-destructive/90",children:[H?(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4 animate-spin"}):null,"Delete"]})]})]})})]})}var S=r(35695);let C=new Map,z=null,T=new Set,M=new Map;async function I(){let e=Array.from(T);if(T.clear(),z=null,0===e.length)return;let t=(0,o.createClient)(),{data:r,error:a}=await t.from("live_stories").select("id, profile_id").in("profile_id",e);if(a){for(let e of M.values())for(let{reject:t}of e)t(a);M.clear();return}let l=new Map,n=[];for(let e of null!=r?r:[])n.push(e.id),l.has(e.profile_id)||l.set(e.profile_id,[]),l.get(e.profile_id).push(e.id);let{data:{user:s}}=await t.auth.getUser(),i=new Set;if(s&&n.length>0){let{data:e}=await t.from("user_story_views").select("story_id").in("story_id",n).eq("viewer_profile_id",s.id);i=new Set((null!=e?e:[]).map(e=>e.story_id))}let d=Date.now();for(let t of e){var c;let e=null!=(c=l.get(t))?c:[],r=e.length>0,a=r&&e.every(e=>i.has(e)),n={hasLiveStory:r,allStoriesViewed:a};C.set(t,{value:n,expires:d+3e4});let s=M.get(t);if(s)for(let{resolve:e}of s)e(n)}M.clear()}async function E(e){let t=C.get(e);return t&&t.expires>Date.now()?t.value:new Promise((t,r)=>{M.has(e)||M.set(e,[]),M.get(e).push({resolve:t,reject:r}),T.add(e),z||(z=setTimeout(I,0))})}function P(e){let{className:t,hasLiveStory:r,showPlus:o,onPlusClick:d,onRingClick:c,onStoryView:u,profileId:f,username:h,isOwnProfilePage:m,plusSize:p="md",children:x,...b}=e,g=(0,S.useRouter)(),[v,w]=l.useState(!!r),[y,j]=l.useState(!1),[k,N]=l.useState(!1),[z,T]=l.useState(!1),[M,I]=l.useState(0);l.useEffect(()=>{void 0!==r&&w(!!r)},[r]),l.useEffect(()=>{if(!f)return;let e=!0;return N(!0),M>0&&C.delete(f),E(f).then(t=>{let{hasLiveStory:r,allStoriesViewed:a}=t;e&&(w(r),j(a),N(!1))}).catch(()=>{e&&(w(!1),j(!1),N(!1))}),()=>{e=!1}},[f,M]);let P=null!=o?o:!!m,D=(0,a.jsx)("span",{className:(0,i.cn)("absolute inset-0 z-0 rounded-full pointer-events-none",k?"ring-2 ring-gray-300 ring-offset-2 ring-offset-background animate-pulse":v?y?"ring-2 ring-gray-400 ring-offset-2 ring-offset-background":"ring-2 ring-pink-500 ring-offset-2 ring-offset-background bg-gradient-to-tr from-pink-400 via-red-400 to-yellow-400 animate-story-ring":""),"aria-hidden":"true"}),A=!!f&&(v||!!h||P&&!!d),O=P?(0,a.jsx)("button",{type:"button",className:(0,i.cn)("absolute z-20 flex items-center justify-center rounded-full border-background text-white transition-opacity hover:opacity-90","story"===p?"-bottom-px -right-px h-[22px] w-[22px] border-[2.5px]":"bottom-0 right-0 h-8 w-8 border shadow-md"),style:{background:"var(--brand-grad)"},onClick:e=>{e.stopPropagation(),null==d||d()},tabIndex:0,"aria-label":"Add Story",children:(0,a.jsx)(s.A,{size:"story"===p?13:16,strokeWidth:"story"===p?3:2.5})}):null;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.bL,{"data-slot":"avatar",...b,className:"relative flex shrink-0 rounded-full",children:(0,a.jsxs)("span",{className:(0,i.cn)("relative flex size-8 shrink-0 rounded-full",t),children:[(v||k)&&D,A?(0,a.jsx)("button",{type:"button",onClick:()=>
1{if(!k){if(v)return void T(!0);if(P&&d)return void d();h&&f&&g.push("/u/".concat(h))}},disabled:k,className:"relative z-10 flex size-full shrink-0 rounded-full border-none p-0 bg-transparent cursor-pointer focus:outline-none transition-opacity disabled:cursor-wait",tabIndex:0,style:{border:"none",background:"transparent"},"aria-label":v?"View story":P&&d?"Add story":"View profile",children:x}):(0,a.jsx)("span",{className:"relative z-10 block size-full",children:x}),O]})}),f&&z&&(0,a.jsx)(_,{isOpen:z,onClose:()=>{T(!1),I(e=>e+1),null==u||u()},onComplete:()=>{T(!1),I(e=>e+1),null==u||u()},profileId:f})]})}function D(e){let{className:t,...r}=e;return(0,a.jsx)(n._V,{"data-slot":"avatar-image",className:(0,i.cn)("aspect-square size-full object-cover rounded-full overflow-hidden",t),...r,loading:"lazy"})}function A(e){let{className:t,...r}=e;return(0,a.jsxs)(n.H4,{"data-slot":"avatar-fallback",className:(0,i.cn)("relative flex size-full items-center justify-center rounded-full overflow-hidden text-white font-semibold text-sm",t),...r,children:[(0,a.jsx)("img",{src:"/placeholder-b.png",alt:"Avatar placeholder",className:"absolute inset-0 w-full h-full object-cover rounded-full",style:{zIndex:0},onError:e=>{e.target.style.display="none"}}),(0,a.jsx)("span",{className:"relative z-10",children:r.children})]})}},86026:(e,t,r)=>{function a(e){fetch("/api/meta/free-content-view",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).catch(()=>{})}function l(e){fetch("/api/meta/fan-message",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({creatorId:e})}).catch(()=>{})}r.d(t,{_:()=>a,i:()=>l})}}]);
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.