PageSourceSearch

https://pittsburghpanthers.com/_nuxt/d5FRJy65.js

js pittsburghpanthers.com collected 2026-10-02 02:57:18 UTC 2,365 bytes, 1 lines download raw bytes

1import{a as e}from"./DH_oPWig.js";import{D as t,O as n,P as r,at as i,nt as a,qt as o,w as s,wt as c}from"./BaBhFZm2.js";import{f as l}from"./PTSJo-lX.js";import{n as u}from"./CU89Zi3L.js";import{nt as d}from"./DGJ9b2SS.js";import{V as f,kt as p}from"./BJ3nEi6M.js";import{i as m}from"./DaPqdV2E2.js";import"./BkD7PF6U2.js";var h=class{fetch;constructor({fetch:e}){this.fetch=e}async getSettings(){return this.fetch(`/api/v2/Ticketing/settings/page-location`).then(e=>e?p(e):null).catch(e=>(console.error(`[TicketingRepo] getSettings() Request Failed`,e),null))}async getNextEvents(e){return this.fetch(`/api/v2/Ticketing/next-events?sportId=${e}`,{onResponse:({response:e})=>{e.status===204&&(e._data=null)},timeout:1e4}).then(e=>e?f(e):null).catch(e=>(console.error(`[TicketingRepo] getNextEvents() Request Failed`,e),null))}},g=u(`ticketing`,{state:()=>({settings:null,nextEvents:{},isLoading:!1}),actions:{async fetchSettings({fetch:e}){if(!this.settings){this.isLoading=!0;let t=await new h({fetch:e}).getSettings();this.settings=t,this.isLoading=!1}},async fetchNextEvents({payload:e,fetch:t}){let n=d(e);if(e&&!(n in this.nextEvents)){let r=await new h({fetch:t}).getNextEvents(e);this.nextEvents[n]=r}}},getters:{getSettings:e=>e.settings,getLoadingFlag:e=>e.isLoading,getNextEvents:e=>t=>{let n=d(t);return n in e.nextEvents?e.nextEvents[n]:null}}}),_={key:0,class:`s-paciolan-module`,"data-test-id":`s-paciolan-module__root`},v={__name:`SPaciolanModule`,props:{sportId:Number},setup(u){let d=u,f=g(),p=l(),{$customFetch:h}=e(),v={sportfile:`showOnSportFile`,roster_list:`showOnRoster`,roster_bio:`showOnRosterBio`,coach_list:`showOnCoaches`,coach_bio:`showOnCoachesBio`,archives_sport:`showOnArchives`,boxscore:`showOnBoxscore`,facilities_list:`showOnFacilities`},y=s(()=>f.getSettings),b=s(()=>p?.name&&p.name?.toString()in v&&y?.value&&Object?.keys(y.value)?.length?y.value?.[v[p.name.toString()]]??!1:!1),x=s(()=>{let e=f.getNextEvents(d.sportId??0);if(e&&e?.type===`SeasonPromo`&&e?.events?.length)return e.events.at(0)}),S=async()=>{await f.fetchNextEvents({payload:d.sportId??0,fetch:h})},C=async()=>{await f.fetchSettings({fetch:h})},w=async()=>{await Promise.all([S(),C()])};return c(()=>d.sportId,()=>{S()}),a(async()=>{await w()}),(e,a)=>o(b)&&o(x)?(i(),n(`div`,_,[r(o(m),{event:o(x),class:`mb-4`},null,8,[`event`])])):t(``,!0)}};export{v 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.