PageSourceSearch

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

js sportal.bg collected 2026-10-01 11:41:52 UTC 1,983 bytes, 7 lines download raw bytes

1import{j as i,W as d,r as u}from"../indexebfdBVJ-.js";import{L as v,u as b,r as h}from"./index-Cqgre5BO.js";import{d as j}from"./defineNextPage-CuYHvFt4.js";import{v as m}from"./index-BwSWix0w.js";import{f as y}from"./filterByFlags-Da2AJJ8x.js";import{C as P}from"./index-x2wv_Sjv.js";import{S as L}from"./index-DmI6h1z-.js";import"./index-5duPUtmT.js";import"./main-Bsrp6dgd.js";import"./index-C9N4Lh98.js";import"./array-C1NCwwwg.js";/**
2                     * @name Game Center
3                     * @version 4.2.0
4                     * @copyright 2026 Sportal.bg
5                     * @license All rights reserved. Unauthorized copying or distribution is strictly prohibited.
6                     * Proprietary and confidential.
7                     */const x=[{label:"Активни",value:"active"},{label:"Минали",value:"past"}],T={limit:6,sortOrder:"desc",startAfter:""},A={},C=t=>({...T,...A[t]}),g={active:["ACTIVE"],past:["EXPIRED"]},E=["nogame"],p={title:"",missingData:"Няма добавени анкети"},S=({data:t,loading:e,activeTab:r,onTabChange:a,loadMore:s})=>i.jsx(v,{title:p.title,navigation:{tabList:x,activeTab:r,onTabChange:a},main:i.jsx(d,{loading:e,children:t.items&&i.jsx(P,{items:t.items,missingItemsText:p.missingData})}),pagination:t.nextPage?i.jsx(L,{disable:e,action:s}):i.jsx(i.Fragment,{})}),B=async(t,e,r=!1)=>{const a=[];let s=null;t.items&&r&&(a.push(...t.items),s=t.nextPage);const o=e.at(-1);for(const n of e)await h(async()=>{const c=C(n),f=await m.api.getPolls({...c,status:n,startAfter:s??""});n===o&&(s=j(f,c.limit??0));let l=y(f.data,E);l=m.transformers.reorderByBranding(l),a.push(...m.transformers.convertToCardList(l))});return{items:a,nextPage:s}},D={items:null,nextPage:null},q=()=>{const[t,e]=u.useState(x[0].value),{loading:r,data:a,callback:s}=b(D,{callOnInit:!1},B);return u.useEffect(()=>{s(g[t])},[t]),i.jsx(S,{data:a,loading:r,loadMore:()=>s(g[t],!0),activeTab:t,onTabChange:o=>!r&&e(o)})};export{q 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.