1import{m as he,i as o,j as e}from"./vendor-react-B5Pseaix.js";import{eY as be,A as fe,eL as we}from"./HideawayBrand-B6JCvqDo.js";import{B as A}from"./Button-CrUKVqFn.js";import{I as ve}from"./boot-splash-AtJZf0AM.js";import"./runtime-CXNh-kxh.js";import"./zk-private-playback-resource-event-goq3u1hy.js";import"./privacy-baseline-BcFSn41l.js";import"./zk-file-attachments-CZSe1Z2M.js";import"./personal-preview-cache-B39e4-gA.js";import"./recovery-code-input-B70lrfPT.js";import{S as C,g as ye}from"./SettingsBlocks-DaSiP8OV.js";import{S as je}from"./SettingsSectionTabs-BxDessvw.js";import{S as V}from"./SettingsPageLayout-OqjShrAC.js";import{r as q,F as Y,a as z,w as D,b as ge}from"./files-reliability-health-BhEuCqAn.js";import"./index-B8iGKxjQ.js";import"./burn-timer-_MRqHuou.js";import"./privacy-mode-policy-BVsxtZzg.js";import"./core-media-telemetry-BpVhhgaJ.js";import"./Switch-zgErguXU.js";import"./SettingsShell-VqIQwF6r.js";import"./AppShell-DmsbZuOO.js";import"./shared-post-preview-ksN43jF4.js";import"./use-edit-mode-DUiveE_a.js";import"./Toast-CcSXSCl4.js";import"./hideaways-api-x3SE4Eo1.js";import"./public-links-CbjS7WkX.js";import"./Avatar-8A_hktGz.js";import"./entity-identity-C-nyKK7L.js";import"./matrix-media-BFF5jega.js";import"./zk-file-v2-source-resolver-DMee_vPt.js";import"./zk-file-v2-media-source-D0t3nj_x.js";import"./private-playback-failure-CHh2-mmI.js";import"./media-source-support-Dk4LjCVr.js";import"./zk-file-v2-playback-index-Cps7AaTG.js";import"./studio-original-playback-CDeyOsH4.js";import"./WaveformBars-DNxbc_qs.js";import"./haptics-BDJn1r6u.js";import"./transcripts-DYv3E1xq.js";import"./local-speech-intelligence-CN97YQ5q.js";import"./whisper-transcriber-DDlRsTNW.js";import"./secure-structured-storage-BtF90tnE.js";import"./account-recovery-service-DWrzZ0JU.js";import"./Overlay-90hGp8Ly.js";import"./player-gestures-C3waCyDB.js";import"./trigger-origin-CjKtmsWp.js";import"./HideawayAIIcon-D0oY-KtX.js";import"./store-ZULSha3T.js";import"./useUserSearch-d1NNJBQ7.js";import"./file-folder-shares-HHj5VWHc.js";import"./personal-workspace-private-content-D5fX1pok.js";import"./file-folder-share-metadata-COKknYnO.js";import"./file-folder-link-D5uKyKl7.js";import"./file-progressive-playback-tWlu0D56.js";import"./form-file-crypto-CWwz2x8U.js";import"./folder-link-package-Bdfr0kiX.js";import"./file-folder-share-keys-CASBwoQ3.js";import"./offline-inventory-DRLgnFQP.js";import"./map-tiles-DMdsu8VP.js";import"./message-privacy-C2yXduMs.js";import"./usePersonalDataEncrypted-DjuywaY1.js";import"./secure-upload-retry-queue-C-_m2Jo3.js";import"./transfer-error-patterns-BZxesQ3e.js";import"./studio-render-merge-BUY_aWeO.js";import"./mix-analysis-BT1Pgwyv.js";import"./recording-staging-CRW3cN06.js";import"./message-attachment-workspace-queue-DoEZDUDG.js";import"./imported-media-workspace-5imY2TdB.js";import"./studio-catalog-sync-CLQn60J_.js";import"./caption-tracks-CJChf1gc.js";import"./index-DLgfEREs.js";import"./index-DMQTJy3b.js";import"./encrypted-attachment-display-CgaOIY1q.js";import"./ai-state-crypto-CXdB_qIv.js";import"./studio-audio-edit-attachment-CwsyMTRQ.js";import"./attachment-delete-YVrju7hX.js";import"./photo-looks-BuRLEjf2.js";import"./edit-sidecar-Czc4sZPv.js";import"./local-adjustments-Dpk5Sx5h.js";import"./look-catalog-BYxA2y5x.js";import"./film-presets-BYIU0G_X.js";import"./photo-export-presets-Djqbye69.js";import"./personal-workspace-sync-AO1qG3Po.js";import"./payment-amount-BeWD5RDt.js";import"./content-object-placement-CkkfkmKP.js";import"./contracts-7fg5e8gO.js";import"./persistence-CVwQv3lk.js";import"./timeline-D-9II65D.js";import"./project-planning-D9iNB6x1.js";import"./browser-D1mOJtvL.js";import"./wallet-presentation-UxZpDb2n.js";import"./hideaway-project-format-CyfeViC8.js";import"./hideaway-hdwy-format-DMqfFxfz.js";import"./collaborative-project-contracts-COUu4Aet.js";import"./media-streaming-CNVMV6Xy.js";import"./personal-upload-mime-CWnojl0R.js";import"./privacy-blocker-events-DFmQ6KvO.js";import"./calendar-service-tPgyY6y6.js";import"./suite-snapshot-BIKDK7Q0.js";import"./contactsService-CEueYWvw.js";import"./host-match-dC0QgmN7.js";import"./ai-storage-B_IJLd9y.js";import"./create-character-sheet-assets-BPx933KS.js";import"./sha2-BcdBBIBV.js";import"./ai-context-manifest-BwJgnodE.js";import"./ai-cloud-secret-guard-DdhB3vI8.js";import"./create-photo-review-mdOkiXwj.js";import"./ghost-presence-service-CVdmEx3y.js";import"./creative-system-vocabulary-BqQk2U4H.js";import"./camera-handoff-Busn-dO6.js";import"./photo-renderer-BizexVW4.js";import"./film-profiles-01QBM3W7.js";import"./film-look-card-DHeOgegZ.js";import"./PostShareSheet-DOaDshm4.js";import"./PublicPlatformIcon-DWrSO7DG.js";import"./public-platform-icons-_gYtiQcI.js";import"./social-time-DK3IC0SW.js";import"./ShareFaceGrid-D5OxYqKS.js";import"./private-settings-HdO-sAzX.js";import"./view-transitions-D61Bh2Qi.js";import"./call-dock-demo-state-B9pp3vnw.js";import"./realtime-surface-DDZt8OUN.js";import"./call-sessions-CXF-HiGx.js";import"./dock-here-CIN7kLt9.js";import"./BurnIcon-CeP2u7zd.js";import"./Spinner-CKM3KyU1.js";import"./use-effects-preview-BB7NJMrq.js";import"./video-effects-processor-CP3sEJbI.js";/* empty css */import"./use-camera-controls-qdYLzhwk.js";import"./DockPlate-Dy5Nnmdi.js";import"./lab-photo-intake-B6_3_fqQ.js";import"./dock-slot-DsQU93VX.js";import"./ProductivityShell-BohsusC2.js";import"./HeaderControls-CjW8AHMv.js";import"./SuiteViewSwitcher-1YcSYNao.js";import"./PagesTabs-DapPp2fJ.js";import"./billing-service-9YkCXeD6.js";import"./use-home-start-Cwsel4_F.js";const Ne="https://api.hideaway.chat",g={upload:.995,preview:.98,download:.99,shareSync:.99};function W(s,a){return s?.totalsByEvent?.[a]||{total:0,success:0,failure:0}}function N(s,a){return s?.durationMsByEvent?.[a]||{count:0,average:null,p50:null,p95:null}}
1function S(s,a,r){const d=W(s,a).total,l=W(s,r).total,b=d+l;return b<=0?null:d/b}function u(s){return typeof s!="number"||!Number.isFinite(s)?"--":`${(s*100).toFixed(s>=.995?2:1)}%`}function _(s){if(typeof s!="number"||!Number.isFinite(s)||s<0)return"--";if(s<1e3)return`${Math.round(s)} ms`;const a=s/1e3;if(a<60)return`${a.toFixed(a>=10?0:1)} s`;const r=Math.floor(a/60),d=Math.round(a%60);return`${r}m ${d}s`}function k(s,a){return s===null?"default":s>=a?"green":"amber"}function Se(s){return s==="granted"?"Enabled":s==="denied"?"Blocked":s==="default"?"Not enabled":"Unavailable"}function sr(){const s=he(),{hideawayOperatorAccess:a,session:r}=ve(),d=!!(r&&a),[l,b]=o.useState("user"),[f,G]=o.useState(24),[J,Q]=o.useState(0),[w,X]=o.useState(""),[v,Z]=o.useState(""),[y,ee]=o.useState(""),[c,te]=o.useState(()=>q(Y)),[F,se]=o.useState(()=>q(z)),[m,R]=o.useState(()=>typeof window>"u"||!("Notification"in window)?"unsupported":window.Notification.permission),[L,T]=o.useState(!1),[B,P]=o.useState(""),[i,re]=o.useState(null),[p,ie]=o.useState("simple"),[oe,ae]=o.useState("filters"),j=o.useRef({}),E=o.useMemo(()=>{const t={};return r?.userId&&(t["x-hideaway-user-id"]=r.userId),r?.accessToken&&(t.Authorization=`Bearer ${r.accessToken}`),t},[r?.userId,r?.accessToken]);o.useEffect(()=>{D(Y,c)},[c]),o.useEffect(()=>{D(z,F)},[F]);const ne=async()=>{if(typeof window>"u"||!("Notification"in window)){R("unsupported");return}try{const t=await window.Notification.requestPermission();R(t)}catch{R(window.Notification.permission)}};o.useEffect(()=>{(async()=>{if(!(!r?.userId&&l==="user")){T(!0),P("");try{const n=new URLSearchParams;n.set("windowHours",String(f)),n.set("surface","files"),l==="user"&&r?.userId&&n.set("userId",r.userId),w&&n.set("event",w),v&&n.set("browser",v),y&&n.set("appVersion",y);const xe=l==="global"?{...E,...c.trim()?{"x-admin-key":c.trim()}:{}}:E,I=await fetch(`${Ne}${l==="global"?"/api/media/telemetry/admin-summary":"/api/media/telemetry/summary"}?${n.toString()}`,{headers:xe}),K=await I.json().catch(()=>({}));if(!I.ok)throw new Error(K.error||`HTTP ${I.status}`);re(K)}catch(n){P(n instanceof Error?n.message:"Failed to load Files reliability summary")}finally{T(!1)}}})()},[c,y,v,w,E,J,l,r?.userId,f]);const le=[{key:"filters",label:p==="advanced"?"Filters & Scope":"Health View",description:"Scope, time window, and filters",icon:be,group:"Files Reliability"},{key:"summary",label:"SLOs",description:"Upload, preview, download, and share-sync reliability",icon:fe,group:"Files Reliability"},{key:"events",label:"Recent Events",description:"Recent upload, preview, download, and share events",icon:we,group:"Files Reliability"}],de=t=>{ae(t),j.current[t]?.scrollIntoView({behavior:"smooth",block:"start"})},$=S(i,"upload_ready","upload_failed"),M=S(i,"preview_ready","preview_failed"),H=S(i,"download_ready","download_failed"),U=S(i,"share_sync_ready","share_sync_failed"),ce=N(i,"upload_ready").p95,me=N(i,"preview_ready").p95,pe=N(i,"download_ready").p95,ue=N(i,"share_sync_ready").p95,O=o.useMemo(()=>ge(i),[i]);return d?e.jsx(V,{title:"Files health",description:"Uploads, previews, downloads, and share sync.",children:e.jsxs("div",{className:"mx-auto settings-content-width space-y-6",children:[e.jsx(je,{items:le,activeKey:oe,onSelect:de,mode:p,onModeChange:ie}),e.jsx("div",{ref:t=>{j.current.filters=t},className:"scroll-mt-4",children:e.jsx(C,{title:p==="advanced"?"Filters & Scope":"Health View",description:p==="advanced"?"Review files-only upload, preview, download, and share-sync telemetry by scope, browser, and app version.":"Files reliability summary for uploads, previews, downloads, and folder-share sync.",right:e.jsx(A,{variant:"ghost",size:"sm",onClick:()=>Q(t=>t+1),children:"Refresh"}),children:e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx("div",{className:"text-sm text-snow",children:"Scope"}),e.jsxs("select",{value:l,onChange:t=>b(t.target.value==="global"?"global":"user"),className:"h-9 rounded-lg border border-white/[0.12] bg-black/30 px-3 text-sm text-snow focus:outline-none",children:[e.jsx("option",{value:"user",children:"My account"}),e.jsx("option",{value:"global",children:"Global (admin)"})]}),e.jsx("div",{className:"text-sm text-snow",children:"Window"}),e.jsxs("select",{value:f,onChange:t=>G(Number(t.target.value)),className:"h-9 rounded-lg border border-white/[0.12] bg-black/30 px-3 text-sm text-snow focus:outline-none",children:[e.jsx("option",{value:6,children:"6h"}),e.jsx("option",{value:24,children:"24h"}),e.jsx("option",{value:72,children:"72h"}),e.jsx("option",{value:168,children:"7d"})]}),e.jsxs("select",{value:w,onChange:t=>X(t.target.value),className:"h-9 rounded-lg border border-white/[0.12] bg-black/30 px-3 text-sm text-snow focus:outline-none",title:"Event filter",children:[e.jsx("option",{value:"",children:"All files events"}),e.jsx("option",{value:"upload_started",children:"upload_started"}),e.jsx("option",{value:"upload_local_visible",children:"upload_local_visible"}),e.jsx("option",{value:"upload_remote_persisted",children:"upload_remote_persisted"}),e.jsx("option",{value:"upload_ready",children:"upload_ready"}),e.jsx("option",{value:"upload_failed",children:"upload_failed"}),e.jsx("option",{value:"preview_requested",children:"preview_requested"}),e.jsx("option",{value:"preview_ready",children:"preview_ready"}),e.jsx("option",{value:"preview_failed",children:"preview_failed"}),e.jsx("option",{value:"download_started",children:"download_started"}),e.jsx("option",{value:"download_ready",children:"download_ready"}),e.jsx("option",{value:"download_failed",children:"download_failed"}),e.jsx("option",{value:"share_sync_started",children:"share_sync_started"}),e.jsx("option",{value:"share_sync_ready",children:"share_sync_ready"}),e.jsx("option",{value:"share_sync_failed",children:"share_sync_failed"})]}
1),e.jsx("input",{value:v,onChange:t=>Z(t.target.value),placeholder:"browser (e.g. safari)",className:"h-9 w-44 rounded-lg border border-white/[0.12] bg-black/30 px-3 text-sm text-snow placeholder:text-smoke focus:outline-none"}),e.jsx("input",{value:y,onChange:t=>ee(t.target.value),placeholder:"app version",className:"h-9 w-44 rounded-lg border border-white/[0.12] bg-black/30 px-3 text-sm text-snow placeholder:text-smoke focus:outline-none"})]})})}),e.jsx(C,{title:"Alert delivery",description:"Keep the local admin key, browser notifications, and optional webhook relay configured for Files SLO breaches.",children:e.jsxs("div",{className:"grid gap-4 lg:grid-cols-[minmax(0,1.2fr)_minmax(0,0.8fr)]",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"text-sm text-snow",children:"Foundation admin key"}),e.jsx("input",{value:c,onChange:t=>te(t.target.value),placeholder:"Required for global summaries and alert relay",type:"password",className:"h-10 w-full rounded-lg border border-white/[0.12] bg-black/30 px-3 text-sm text-snow placeholder:text-smoke focus:outline-none"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"text-sm text-snow",children:"Webhook relay"}),e.jsx("input",{value:F,onChange:t=>se(t.target.value),placeholder:"https://hooks.example.com/files-reliability",className:"h-10 w-full rounded-lg border border-white/[0.12] bg-black/30 px-3 text-sm text-snow placeholder:text-smoke focus:outline-none"}),e.jsx("div",{className:"text-xs text-smoke",children:"New Files alerts relay through the API to avoid browser CORS issues. Public `https://` endpoints only."})]})]}),e.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-black/20 p-4",children:[e.jsx("div",{className:"text-sm font-medium text-snow",children:"Browser notifications"}),e.jsxs("div",{className:"mt-2 text-xs text-smoke",children:["Status: ",e.jsx("span",{className:"text-snow",children:Se(m)})]}),e.jsx("div",{className:"mt-3 text-xs text-smoke",children:"Critical Files reliability alerts can raise local browser notifications for signed-in admins."}),e.jsx("div",{className:"mt-4 flex flex-wrap gap-2",children:e.jsx(A,{size:"sm",variant:"outline",disabled:m==="granted"||m==="unsupported",onClick:()=>{ne()},children:m==="granted"?"Notifications enabled":m==="denied"?"Notifications blocked":m==="unsupported"?"Notifications unavailable":"Enable notifications"})})]})]})}),B&&e.jsx("div",{className:"rounded-xl border border-red-400/20 bg-red-400/10 px-4 py-3 text-sm text-red-200",children:B}),e.jsxs("div",{ref:t=>{j.current.summary=t},className:"scroll-mt-4 space-y-5",children:[e.jsxs("div",{className:"grid gap-4 md:grid-cols-5",children:[e.jsx(x,{label:"Files Events",value:i?.totals.total??0}),e.jsx(x,{label:"Upload Success",value:u($),tone:k($,g.upload)}),e.jsx(x,{label:"Preview Success",value:u(M),tone:k(M,g.preview)}),e.jsx(x,{label:"Download Success",value:u(H),tone:k(H,g.download)}),e.jsx(x,{label:"Share Sync Success",value:u(U),tone:k(U,g.shareSync)})]}),e.jsx(ye,{label:p==="advanced"?"Current scope":"Current health view",description:"Files surface only. This page excludes playback and non-files telemetry.",value:`${i?.windowHours??f}h`,children:e.jsxs("div",{className:"text-[11px] text-smoke",children:["Scope: ",e.jsx("span",{className:"text-snow",children:i?.scope||l}),e.jsxs("span",{children:[" ⢠Surface: ",e.jsx("span",{className:"text-snow",children:"files"})]}),i?.userId?e.jsxs("span",{children:[" ⢠User: ",e.jsx("span",{className:"text-snow font-mono",children:i.userId})]}):null]})}),e.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-graphite p-4",children:[e.jsx("div",{className:"mb-3 text-sm font-medium text-snow",children:"Active Alerts"}),e.jsx("div",{className:"space-y-2",children:O.length===0?e.jsx("div",{className:"rounded-lg border border-emerald-400/20 bg-emerald-400/10 px-3 py-2 text-xs text-emerald-100",children:"No active files reliability alerts for this window."}):O.map(t=>{const n=t.tone==="critical"?"border-red-400/20 bg-red-400/10 text-red-100":t.tone
1==="warning"?"border-amber-400/20 bg-amber-400/10 text-amber-100":"border-sky-400/20 bg-sky-400/10 text-sky-100";return e.jsxs("div",{className:`rounded-lg border px-3 py-2 ${n}`,children:[e.jsx("div",{className:"text-sm font-medium",children:t.title}),e.jsx("div",{className:"mt-1 text-xs opacity-90",children:t.detail})]},t.id)})})]}),e.jsxs("div",{className:"grid gap-5 lg:grid-cols-[1.1fr_0.9fr]",children:[e.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-graphite p-4",children:[e.jsx("div",{className:"mb-3 text-sm font-medium text-snow",children:"By Event"}),e.jsxs("div",{className:"space-y-2",children:[Object.keys(i?.totalsByEvent||{}).length===0&&e.jsx("div",{className:"text-xs text-smoke",children:L?"Loadingâ¦":"No files telemetry yet in this window."}),Object.entries(i?.totalsByEvent||{}).filter(([,t])=>t.total>0).map(([t,n])=>e.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-black/20 px-3 py-2",children:[e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsx("span",{className:"text-snow",children:t}),e.jsx("span",{className:"text-silver",children:n.total})]}),e.jsxs("div",{className:"mt-1 text-xs text-smoke",children:["Success ",n.success," ⢠Failure ",n.failure]})]},t))]})]}),e.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-graphite p-4",children:[e.jsx("div",{className:"mb-3 text-sm font-medium text-snow",children:"SLO Targets"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(h,{label:"Upload target",value:"99.5%",detail:`p95 ${_(ce)}`}),e.jsx(h,{label:"Preview target",value:"98.0%",detail:`p95 ${_(me)}`}),e.jsx(h,{label:"Download target",value:"99.0%",detail:`p95 ${_(pe)}`}),e.jsx(h,{label:"Share sync target",value:"99.0%",detail:`p95 ${_(ue)}`}),e.jsx(h,{label:"Failure rate",value:u(i?.totals.failureRate),detail:`${i?.totals.failure??0} failures`})]})]})]})]}),e.jsxs("div",{ref:t=>{j.current.events=t},className:"rounded-xl border border-white/[0.06] bg-graphite p-4 scroll-mt-4",children:[e.jsx("div",{className:"mb-3 text-sm font-medium text-snow",children:"Recent Files Events"}),e.jsxs("div",{className:"space-y-2",children:[(i?.recent||[]).length===0&&e.jsx("div",{className:"text-xs text-smoke",children:L?"Loadingâ¦":"No recent files telemetry."}),(i?.recent||[]).map(t=>e.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-black/20 px-3 py-2",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[e.jsx("span",{className:"rounded bg-white/[0.04] px-2 py-0.5 font-mono text-silver",children:t.event}),e.jsx("span",{className:t.success?"text-emerald-200":"text-red-200",children:t.success?"success":"failure"}),l==="global"&&e.jsxs("span",{className:"text-smoke",children:["user: ",t.userId]}),t.mode&&e.jsxs("span",{className:"text-smoke",children:["mode: ",t.mode]}),t.browser&&e.jsxs("span",{className:"text-smoke",children:["browser: ",t.browser]}),t.appVersion&&e.jsxs("span",{className:"text-smoke",children:["ver: ",t.appVersion]}),e.jsx("span",{className:"ml-auto text-smoke",children:new Date(t.createdAt).toLocaleString()})]}),t.errorClass&&e.jsx("div",{className:"mt-1 text-xs text-red-200 font-mono",children:t.errorClass}),t.errorCode&&e.jsx("div",{className:"mt-1 text-xs text-smoke font-mono",children:t.errorCode}),t.errorMessage&&e.jsx("div",{className:"mt-1 text-xs text-smoke",children:t.errorMessage})]},t.id))]})]})]})}):e.jsx(V,{title:"Files health",description:"Admin access only.",children:e.jsx("div",{className:"mx-auto settings-content-width",children:e.jsx(C,{title:"Access denied",description:"This page is restricted to approved admin accounts.",children:e.jsx(A,{size:"sm",variant:"outline",onClick:()=>s("/settings"),children:"Back to Settings"})})})})}function x({label:s,value:a,tone:r="default"}){const d=r==="green"?"border-emerald-400/20 bg-emerald-400/10":r==="amber"?"border-amber-400/20 bg-amber-400/10":"border-white/[0.06] bg-graphite";return e.jsxs("div",{className:`rounded-xl border p-4 ${d}`,children:[e.jsx("div",{className:"mb-1 text-xs text-smoke",children:s}),e.jsx("div",{className:"text-xl font-semibold text-snow",children:a})]})}function h({label:s,value:a,detail:r}){return e.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-black/20 px-3 py-2",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3 text-xs",children:[e.jsx("span",{className:"text-smoke",children:s}),e.jsx("span",{className:"font-mono text-snow",children:a})]}),r?e.jsx("div",{className:"mt-1 text-[11px] text-smoke",children:r}):null]})}export{sr 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.