PageSourceSearch

https://denverpioneers.com/_nuxt/D_5B219g2.js

js denverpioneers.com collected 2026-10-02 06:44:42 UTC 2,167 bytes, 1 lines download raw bytes

1import{$ as e,Q as t,Z as n,et as r,kn as i,tt as a}from"./D3jU4pM2.js";var o=class{fetch;resource=`/api/v2/Podcasts`;constructor({fetch:e}){this.fetch=e}async get(e){if(e.props.extra?.podcast_id!==void 0)return await this.getById(e.props.extra?.podcast_id);let{params:n,paginationHandler:r}=t(e);return this.fetch(this.resource,{params:n}).then(e=>{if(!e)return[];let t=e.items.map(e=>i(e));return t?.length?r.getData(t):[]}).catch(e=>(console.error(`[PodcastsRepo] get() mapping Failed`,e),[]))}async getById(e){return this.fetch(`${this.resource}/${e}`).then(e=>e?[i(e)]:[]).catch(e=>(console.error(`[PodcastsRepo] getById() mapping Failed`,e),[]))}async getPodcast(e){return this.fetch(`${this.resource}/${e.podcastId}`).then(e=>e?a(e):null).catch(e=>(console.error(`[PodcastsRepo] getPodcast() Request Failed`,e),null))}async getList(e){let t={data:[],page:1,pages:1};return this.fetch(this.resource,{params:e}).then(e=>e?(t.data=e?.items&&e.items?.length?e.items?.map(e=>a(e)):[],t.page=e.page||1,t.pages=e.pages||1,t):t).catch(e=>(console.error(`[PodcastsRepo] getList() Request Failed`,e),t))}async getCategories(){return this.fetch(`${this.resource}/filters/categories`).then(e=>e&&e&&e?.length?e.map(e=>n(e)):[]).catch(e=>(console.error(`[PodcastsRepo] getCategories() Request Failed`,e),[]))}async getSports(){return this.fetch(`${this.resource}/filters/sports`).then(e=>e&&e&&e?.length?e.map(e=>r(e)):[]).catch(e=>(console.error(`[PodcastsRepo] getSports() Request Failed`,e),[]))}async trackPlay(e){this.fetch(`${this.resource}/${e}/play`,{method:`POST`}).catch(e=>{console.error(`[PodcastsRepo] trackPlay() Request Failed`,e)})}async trackDownload(e){this.fetch(`${this.resource}/${e}/download`,{method:`POST`}).catch(e=>{console.error(`[PodcastsRepo] trackDownload() Request Failed`,e)})}async recordProgress(e,t){this.fetch(`${this.resource}/${e}/recordProgress`,{params:t,method:`POST`}).catch(e=>{console.error(`[PodcastsRepo] trackDownload() Request Failed`,e)})}async getSettings(){return this.fetch(`${this.resource}/settings`).then(t=>t?e(t):null).catch(e=>(console.error(`[PodcastsRepo] getSettings() Request Failed`,e),null))}};export{o 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.