PageSourceSearch

https://sportal.bg/assets/game-center-app/assets/index-BbyRDxNW.js

js sportal.bg collected 2026-09-24 09:29:59 UTC 1,893 bytes, 7 lines download raw bytes

1import{j as i,W as x,r as m}from"../indexC80sFMMA.js";import{L as b,u as h,r as v}from"./index-CpR_SujQ.js";import{m as u}from"./index-Cbkc8Cmn.js";import{d as E}from"./defineNextPage-CM1M_VLT.js";import{C as L}from"./index-Bla99KeT.js";import{S as d}from"./index-DHLI6Ked.js";import"./index-BgSX3aGU.js";/**
2                     * @name Game Center
3                     * @version 3.9.0
4                     * @copyright 2026 Sportal.bg
5                     * @license All rights reserved. Unauthorized copying or distribution is strictly prohibited.
6                     * Proprietary and confidential.
7                     */const p=[{label:"Активни",value:"active"},{label:"Предстоящи",value:"future"},{label:"Минали",value:"past"}],T={limit:6,sortOrder:"asc",startAfter:""},S={SETTLED:{sortOrder:"desc"}},j=t=>({...T,...S[t]}),f={active:["OPEN"],future:["PENDING"],past:["LIVE","CLOSED","SETTLED"]},g={title:"",missingData:"Няма добавени Мач игри"},D=({data:t,loading:e,activeTab:r,onTabChange:a,loadMore:s})=>i.jsx(b,{title:g.title,navigation:{tabList:p,activeTab:r,onTabChange:a},main:i.jsx(x,{loading:e,children:t.items&&i.jsx(L,{items:t.items,missingItemsText:g.missingData})}),pagination:t.nextPage?i.jsx(d,{disable:e,action:s}):i.jsx(i.Fragment,{})}),P=async(t,e,r=!1)=>{const a=[];let s=null;t.items&&r&&(a.push(...t.items),s=t.nextPage);const n=e.at(-1);for(const o of e)await v(async()=>{const l=j(o),c=await u.api.getAll({...l,status:o,startAfter:s??""});o===n&&(s=E(c,l.limit??0)),a.push(...u.transformers.convertToCardList(c.data))});return{items:a,nextPage:s}},y={items:null,nextPage:null},W=()=>{const[t,e]=m.useState(p[0].value),{loading:r,data:a,callback:s}=h(y,{callOnInit:!1},P);return m.useEffect(()=>{s(f[t])},[t]),i.jsx(D,{data:a,loading:r,loadMore:()=>s(f[t],!0),activeTab:t,onTabChange:n=>!r&&e(n)})};export{W as default};

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.