PageSourceSearch

https://southernmiss.com/_nuxt/CHpXxuod.js

js southernmiss.com collected 2026-10-02 08:00:11 UTC 2,218 bytes, 1 lines download raw bytes

1import{Qn as e,Xn as t,Zn as n,t as r}from"./9pvOgjHa.js";var i=class{fetch;resource=`/api/v2/Tags`;constructor({fetch:e}){this.fetch=e}async getTagList(e){return this.fetch(this.resource,{params:e}).then(e=>e&&e.length?e:[]).catch(e=>(console.error(`[TagRepo] getTagList() Request error caught`,e),[]))}async getTagContentDetail(e){let t={items:[],total:1,page:1,pages:1};return this.fetch(`${this.resource}/content`,{params:e}).then(e=>{let{items:n,page:r,pages:i}=e;return t.items=n||[],t.page=r||1,t.pages=i||1,t}).catch(e=>(console.error(`[TagRepo] getTagContentDetail() Request error caught`,e),t))}async getSportsFilter(){return this.fetch(`${this.resource}/filters`).then(e=>e&&e.length?e:[]).catch(e=>(console.error(`[TagRepo] getSportsFilter() Request error caught`,e),[]))}async getTaggedContent(e){let{props:n}=e,i=new r(n.start,n.count),a={$pageIndex:i.pageIndex,$pageSize:i.pageSize,slug:n.extra?.slug??void 0,sectionName:n.extra?.section??void 0,sportId:n.extra?.sport??n.sport_id??void 0};return this.fetch(`${this.resource}/content`,{params:a}).then(e=>{if(!e?.items?.length)return console.error(`[TagRepo] getTaggedContent() fetch error`),[];let n=e.items.map(e=>t(e));return i.getData(n)}).catch(e=>(console.error(`[TagRepo] getTaggedContent() mapping error caught`,e),[]))}async getTags(e){let{props:t}=e,i={sportId:t.extra?.sport??t.sport_id??void 0,sectionName:t.extra?.section??void 0};return this.fetch(this.resource,{params:i}).then(e=>{if(!e||!e.length)return console.error(`[TagRepo] getTags() fetch error`),[];let a=new r(t.start,t.count),o=e.map(e=>n(e,i.sportId));return o?.length?a.getData(o):[]}).catch(e=>(console.error(`[TagRepo] getTags() mapping error caught`,e),[]))}async getTagsContent(t){let{props:n}=t,i=new r(n.start,n.count),a={$pageIndex:i.pageIndex,$pageSize:i.pageSize,slug:`extra`in n&&n?.extra?.slug?n.extra.slug:void 0,sectionName:`extra`in n&&n?.extra?.section?n.extra.section:void 0,sportId:n.sport_id&&n.sport_id!=`0`?n.sport_id:void 0};return this.fetch(`${this.resource}/content`,{params:a}).then(t=>{let n=t?.items?.map(t=>e(t));return n?.length?i.getData(n):[]}).catch(e=>(console.error(`[TagRepo] getTagsContent() Request error caught`,e),[]))}};export{i 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.