PageSourceSearch

https://capitaineaventure.fr/assets/useStoryStats-cDJVnmvL.js

js capitaineaventure.fr collected 2026-09-24 14:22:43 UTC 425 bytes, 1 lines download raw bytes

1import{u as e}from"./vendor-query-CnVJgDtS.js";import{s as o}from"./index-Cx49XYBu.js";const c=()=>{const{data:a=[]}=e({queryKey:["story-stats"],queryFn:async()=>{const{data:r,error:s}=await o.rpc("get_story_read_counts");if(s)throw s;return(r||[]).map(t=>({story_id:t.story_id,read_count:Number(t.read_count)}))},staleTime:6e5});return{readCounts:a,getReadCount:r=>a.find(t=>t.story_id===r)?.read_count||0}};export{c 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.