PageSourceSearch

https://www.vfl-bochum.de/_nuxt/a2-_Cc0C.js

js vfl-bochum.de collected 2026-09-24 17:40:34 UTC 876 bytes, 1 lines download raw bytes

1import{v as t,k as i}from"./C91i7qYR.js";const c=t("season",{state:()=>({seasons:[]}),getters:{seasonOptaIdById:s=>n=>{var e;if(!s.seasons||!Array.isArray(s.seasons)||!n)return()=>null;const r=s.seasons.find(o=>o.id===Number.parseInt(n));return r&&((e=r.meta)==null?void 0:e.sk_season_opta_id)||null},currentSeason:s=>{if(!s.seasons||!Array.isArray(s.seasons))return null;const n=s.seasons.filter(r=>{var e;return(e=r.meta)==null?void 0:e.sk_season_opta_id});return n.length===0?null:n.reduce((r,e)=>{const o=Number(e.meta.sk_season_opta_id),a=Number(r.meta.sk_season_opta_id);return o>a?e:r})}},actions:{async fetchSeasons(){if(!(Array.isArray(this.seasons)&&this.seasons.length))try{const s=i(),n=await $fetch(`${s.public.wpApiUrl}/wp/v2/season?per_page=100&_fields=id,title,meta`);this.seasons=n||[]}catch(s){console.error("Error fetching seasons:",s)}}}});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.