PageSourceSearch

https://hashtelegraph.com/assets/use-view-tracker-BSH4AZ79.js

js hashtelegraph.com collected 2026-10-02 04:48:15 UTC 919 bytes, 1 lines download raw bytes

1import{r as s}from"./index-DmLZxq8s.js";const r="/supabase/functions/v1/track-view",c="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imhid3B3eHlwdmtuY3l2dnVlcWtmIiwicm9sZSI6ImFub24iLCJpYXQiOjE3ODM0ODA3ODAsImV4cCI6MjA5OTA1Njc4MH0.EobqTstpDfZAkM_3b3hkx_1ycMusd5BugnvCzcujxhE";function a(e){return`vt:${e}`}function o(e){try{const t=JSON.stringify(e),i={"Content-Type":"application/json",apikey:c,Authorization:`Bearer ${c}`};fetch(r,{method:"POST",headers:i,body:t,keepalive:!0,mode:"cors"}).catch(()=>{})}catch{}}function d(e){const t=e.kind==="article"?e.articleId?`a:${e.articleId}`:void 0:e.path?`p:${e.path}`:void 0;s.useEffect(()=>{if(!t||typeof window>"u")return;const i=a(t);let n=!1;try{sessionStorage.getItem(i)||(sessionStorage.setItem(i,"1"),n=!0)}catch{}e.kind==="article"?o({kind:"article",article_id:e.articleId,unique:n}):o({kind:"page",path:e.path,unique:n})},[t])}export{d as u};

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.