PageSourceSearch

https://www.ddfantasyfootball.com/assets/useGameSlate-OENd94lW.js

js ddfantasyfootball.com collected 2026-10-09 22:01:17 UTC 862 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{C as t}from"./vendor-charts-CNguU8BM.js";import{s as n}from"./vendor-query-D01PJ36J.js";import{At as r,_ as i,f as a,g as o,h as s}from"./index-DaFc8BRY.js";var c=e(t(),1),l=9e5;async function u(e){let{data:t,error:n}=await r.rpc(`public_game_slate`,{_season:e,_week:null});if(n)throw n;return i(t??[])}function d(e=2026){let t=n({queryKey:[`public-game-slate`,e],queryFn:()=>u(e),staleTime:l,gcTime:l*4}),r=t.data??[],i=(0,c.useMemo)(()=>[...new Set(r.map(e=>e.week))].sort((e,t)=>e-t),[r]),d=(0,c.useMemo)(()=>s(r),[r]),f=(0,c.useMemo)(()=>o(r),[r]),p=(0,c.useMemo)(()=>a(r),[r]);return{...t,games:r,weeks:i,currentWeek:d,displayWeek:f,completedWeek:p}}function f(e,t=2026){let n=d(t),r=(0,c.useMemo)(()=>e==null?[]:n.games.filter(t=>t.week===e),[n.games,e]);return{...n,games:r}}export{f as n,d as t};

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.