PageSourceSearch

https://fragnet.net/_next/static/chunks/pages/index-bc40bf2361b48162.js

js fragnet.net collected 2026-10-03 23:18:30 UTC 29,649 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3332],{16760:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return a(64418)}])},30198:(e,t,a)=>{"use strict";a.d(t,{A:()=>r}),a(14232);let r=a(77232).Ay.div.withConfig({componentId:"sc-69cc0b4b-0"})(["width:100%;height:2px;background:linear-gradient(to right,transparent,#1f232c,transparent);"])},64418:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>en,default:()=>ei});var r=a(37876),s=a(14232),n=a(96851),i=a(18847),l=a.n(i),o=a(90606),c=a(86092),d=a(48230),m=a.n(d),x=a(80080),h=a(33654),u=a(96108),p=a(81011),g=a(92618);let f=e=>{let{id:t,date:a,description:s,index:i}=e,l=(0,n.c3)("news");return(0,r.jsxs)("div",{className:"group relative flex flex-col md:flex-row p-5 rounded-xl bg-dark-secondary border border-gray-700/50 mb-4 shadow-lg hover:shadow-xl transition-all duration-300 hover:border-gray-600/50 hover:transform hover:-translate-y-0.5",style:{animationDelay:"".concat(100*i,"ms")},children:[0===i&&(0,r.jsx)("div",{className:"absolute -top-2 -right-2 bg-red-500 text-white text-xs px-2 py-1 rounded-full font-bold animate-pulse",children:l("new")}),(0,r.jsx)("div",{className:"flex items-center justify-center md:justify-start mb-3 md:mb-0 md:mr-6",children:(0,r.jsxs)("div",{className:"flex items-center justify-center space-x-2 bg-gradient-to-r from-gray-800 to-gray-700 rounded-lg px-4 py-2 border border-gray-600/50 min-w-[140px]",children:[(0,r.jsx)(h.A,{className:"text-red-500 w-3.5 h-3.5"}),(0,r.jsx)("span",{className:"text-xs font-bold text-gray-300 uppercase tracking-wider",children:(e=>{try{let t=new Date(e),a=new Date,r=Math.abs(a.getTime()-t.getTime()),s=Math.ceil(r/864e5);if(s<1)return l("today");if(1===s)return l("yesterday");if(s<7)return"".concat(s," ").concat(l("daysAgo"));return t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:t.getFullYear()!==a.getFullYear()?"numeric":void 0})}catch(t){return e}})(a)})]})}),(0,r.jsx)("div",{className:"flex flex-1 items-center justify-center md:justify-start text-center md:text-left",children:(0,r.jsx)("p",{className:"text-white font-medium leading-relaxed line-clamp-2 group-hover:text-gray-100 transition-colors",children:s})}),(0,r.jsx)("div",{className:"flex items-center justify-center md:justify-end mt-4 md:mt-0 md:ml-4",children:(0,r.jsxs)(m(),{href:"/news/".concat(t),className:"group/button flex items-center space-x-2 bg-gradient-to-r from-red-600 to-red-500 hover:from-red-700 hover:to-red-600 text-white font-bold px-5 py-2.5 rounded-lg transition-all duration-300 shadow-md hover:shadow-lg hover:shadow-red-500/25 transform hover:-translate-y-0.5",children:[(0,r.jsx)("span",{className:"text-sm uppercase tracking-wide",children:l("readMore")}),(0,r.jsx)(u.A,{className:"w-3 h-3 group-hover/button:translate-x-1 transition-transform"})]})})]})},v=()=>(0,r.jsxs)("div",{className:"space-y-4",children:[[0,1,2].map(e=>(0,r.jsxs)("div",{className:"flex flex-col md:flex-row p-5 rounded-xl bg-dark-secondary border border-gray-700/50 mb-4 shadow-lg",style:{animationDelay:"".concat(150*e,"ms")},children:[(0,r.jsx)("div",{className:"flex items-center justify-center md:justify-start mb-3 md:mb-0 md:mr-6",children:(0,r.jsx)("div",{className:"h-10 w-32 bg-gradient-to-r from-gray-700 to-gray-600 rounded-lg animate-pulse"})}),(0,r.jsx)("div",{className:"flex flex-1 items-center",children:(0,r.jsxs)("div",{className:"space-y-2 w-full",children:[(0,r.jsx)("div",{className:"h-4 bg-gradient-to-r from-gray-700 to-gray-600 rounded w-3/4 animate-pulse"}),(0,r.jsx)("div",{className:"h-4 bg-gradient-to-r from-gray-700 to-gray-600 rounded w-1/2 animate-pulse",style:{animationDelay:"75ms"}})]})}),(0,r.jsx)("div",{className:"flex items-center justify-center md:justify-end mt-4 md:mt-0 md:ml-4",children:(0,r.jsx)("div",{className:"h-10 w-28 bg-gradient-to-r from-red-900/30 to-red-800/30 rounded-lg animate-pulse",style:{animationDelay:"150ms"}})})]},e)),(0,r.jsx)("div",{className:"text-center mt-6",children:(0,r.jsx)("p",{className:"text-gray-500 text-sm animate-pulse",children:"Loading latest news..."})})]}),y=()=>
1{let e=(0,n.c3)("news"),[t,a]=(0,s.useState)([]),[i,l]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let e,t=async()=>{try{let e=await fetch((0,x.e9)(x.i3.ENDPOINTS.NEWS)+"?limit=3");if(!e.ok)throw Error("Network response was not ok");let t=await e.json(),r=t.items||t;a(r.slice(0,3)),l(!1)}catch(a){console.log("News fetch attempt failed, will retry in 5 seconds"),e=setTimeout(t,5e3)}};return t(),()=>{e&&clearTimeout(e)}},[]),(0,r.jsxs)("div",{className:"w-full lg:w-2/3 px-4 mx-auto",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center md:justify-between mb-8",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,r.jsx)(p.A,{className:"text-red-500 w-6 h-6"}),(0,r.jsx)("h1",{className:"text-[28px] md:text-[36px] uppercase font-extrabold text-white font-oxanium",children:e("latestNews")})]}),!i&&t.length>0&&(0,r.jsxs)(m(),{href:"/news",className:"hidden md:inline-flex items-center space-x-2.5 px-5 py-2.5 bg-gradient-to-r from-gray-800/60 to-gray-700/40 hover:from-gray-700/60 hover:to-gray-600/40 border border-gray-600/50 hover:border-red-500/30 rounded-lg text-gray-300 hover:text-white transition-all duration-300 text-sm font-medium group shadow-md hover:shadow-lg hover:shadow-red-500/10",title:"View all announcements",children:[(0,r.jsx)(g.A,{className:"w-4 h-4 text-red-500/80 group-hover:text-red-400 transition-colors"}),(0,r.jsx)("span",{className:"uppercase tracking-wide",children:e("viewAll")}),(0,r.jsx)(u.A,{className:"w-3 h-3 group-hover:translate-x-1 transition-transform"})]})]}),i&&(0,r.jsx)(v,{}),!i&&t.map((e,t)=>(0,r.jsx)(f,{id:e.id,date:e.date,description:e.description||e.title||"",index:t},e.id)),!i&&t.length>0&&(0,r.jsx)("div",{className:"mt-8 flex justify-center md:hidden",children:(0,r.jsxs)(m(),{href:"/news",className:"group relative inline-flex items-center space-x-2.5 px-6 py-3 bg-gradient-to-r from-gray-800 to-gray-700 hover:from-gray-700 hover:to-gray-600 rounded-lg font-medium text-sm text-gray-200 hover:text-white transition-all duration-300 shadow-lg hover:shadow-xl border border-gray-600/50 hover:border-gray-500/50 overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-red-600/0 via-red-600/10 to-red-600/0 translate-x-[-100%] group-hover:translate-x-[100%] transition-transform duration-700"}),(0,r.jsx)(g.A,{className:"w-4 h-4 relative z-10 text-red-500/80 group-hover:text-red-400 transition-colors"}),(0,r.jsx)("span",{className:"relative z-10 uppercase tracking-wide font-semibold whitespace-nowrap",children:e("viewAllNews")}),(0,r.jsxs)("div",{className:"relative z-10 flex items-center",children:[(0,r.jsx)(u.A,{className:"w-3 h-3 group-hover:translate-x-1 transition-transform"}),(0,r.jsx)(u.A,{className:"w-3 h-3 -ml-1.5 opacity-60 group-hover:translate-x-2 transition-transform duration-300"})]})]})})]})};var j=a(47896),w=a(96359),b=a(94348),N=a(5135),k=a(89099),S=a(54587),A=a.n(S),E=a(27212),_=a(11187),C=a(15940),P=a(22963);let D={hidden:{},visible:{transition:{staggerChildren:.12,delayChildren:.15}},exit:{transition:{staggerChildren:.04,staggerDirection:-1}}},T={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.6,ease:[.22,1,.36,1]}},exit:{opacity:0,y:-12,transition:{duration:.3,ease:[.55,0,1,.45]}}},O={hidden:{opacity:0,y:30,scale:.96},visible:{opacity:1,y:0,scale:1,transition:{duration:.7,ease:[.22,1,.36,1]}},exit:{opacity:0,y:-16,scale:.98,transition:{duration:.3,ease:[.55,0,1,.45]}}},L={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:[.22,1,.36,1]}},exit:{opacity:0,y:-8,transition:{duration:.2,ease:[.55,0,1,.45]}}},R={hidden:{},visible:{transition:{staggerChildren:.06}},exit:{transition:{staggerChildren:.03,staggerDirection:-1}}},F={hidden:{opacity:0},visible:{opacity:1,transition:{duration:.3}},exit:{opacity:0,transition:{duration:.15}}},G=e=>(0,w.S)(e.slug,"carousel"),z=e=>(0,w.S)(e.slug,"logo"),I=e=>{var t,a;let{currentGame:s,currentGameIndex:n,direction:i,discountPercentage:l,currency:o,currencyFormat:c,prefersReducedMotion:d,onTouchStart:m,onTouchMove:x,onTouchEnd:h,onPrev:p,onNext:g,t:f,tDesc:v}=e,y=(0,k.useRouter)(),j=d?F:O,w=d?F:T,b=d?F:L,N=(null==(t=s.starting_price)?void 0:t[o.code])?Number(null==(a=s.starting_price)?void 0:a[o.code]):0;return(0,r.jsxs)("div",{className:"relative h-[420px] sm:h-[460px] md:h-[500px] lg:h-[550px] overflow-hidden",onTouchStart:m,onTouchMove:x,onTouchEnd:h,children:[(0,r.jsx)(E.N,{mode:"popLayout",children:(0,r.jsx)(_.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5,ease:"easeInOut"},className:"absolute inset-0",style:{willChange:"opacity"},children:(0,r.jsx)(A(),{src:G(s),alt:s.name,fill:!0,className:"object-cover object-center ".concat(d?"":"animate-ken-burns"),priority:!0,quality:85,sizes:"100vw"})},n)}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-dark-primary via-dark-primary/70 to-transparent z-[1]"}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-dark-primary via-transparent to-dark-primary/30 z-[1]"}),(0,r.jsx)("div",{className:"relative z-10 h-full px-5 sm:px-8 lg:px-14 xl:px-20",children:(0,r.jsx)(E.N,{mode:"popLayout",children:(0,r.jsx)(_.P.div,{variants:d?R:D,initial:"hidden",animate:"visible",exit:"exit",className:"absolute inset-0 flex items-center px-5 sm:px-8 lg:px-14 xl:px-20",children:(0,r.jsxs)("div",{className:"max-w-lg space-y-4",children:[(0,r.jsx)(_.P.div,{variants:j,children:(0,r.jsxs)("h1",{className:"relative block h-[72px] w-[220px] sm:h-[96px] sm:w-[300px] lg:h-[120px] lg:w-[380px]",children:[(0,r.jsx)("span",{className:"sr-only",children:s.name}),(0,r.jsx)(A(),{src:z(s),alt:"",fill:!0,className:"object-contain object-left drop-shadow-[0_6px_20px_rgba(0,0,0,0.45)]",priority:!0,sizes:"(min-width: 1024px) 380px, (min-width: 640px) 300px, 220px"})]})}),(0,r.jsx)(_.P.p,{variants:w,className:"text-sm sm:text-base text-gray-300 font-light font-manrope leading-relaxed line-clamp-3",children:v("".concat(s.slug,"Description"))}),(0,r.jsxs)(_.P.div,{variants:b,className:"space-y-3 pt-1",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,r.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,r.jsx)("span",{className:"text-white font-black text-3xl sm:text-4xl font-oxanium leading-none",children:c(N*(1-l/100))}),(0,r.jsxs)("span",{className:"text-gray-400 text-sm font-manrope",children:["/",f(s.slot_pricing?"slot":"month")]}),l>0&&(0,r.jsxs)("span",{className:"text-gray-500 text-xs font-manrope",children:[(0,r.jsx)("span",{className:"line-through",children:c(N)})," ",(0,r.jsxs)("span",{className:"text-red-400 font-semibold",children:[f("save")," ",l,"%"]})]})]}),(0,r.jsx)("button",{onClick:()=>y.push("/games/".concat(s.slug)),className:"group px-6 py-2.5 sm:px-8 sm:py-3 bg-gradient-to-r from-red-600 to-red-500 hover:from-red-700 hover:to-red-600 text-white font-bold text-sm sm:text-base rounded-xl transition-all duration-300 shadow-lg hover:shadow-red-500/40",children:(0,r.jsxs)("span",{className:"flex items-center gap-2",children:[f("getStarted"),(0,r.jsx)(C.A,{className:"w-4 h-4 transition-transform duration-300 group-hover:translate-x-1"})]})})]}),(0,r.jsxs)("span",{className:"block text-gray-500 text-xs font-manrope",children:[f("noContract")," \xb7 ",f("instantSetup")]})]})]})},n)})}),(0,r.jsx)("button",{onClick:p,"aria-label":"Previous slide",className:"hidden lg:flex items-center justify-center absolute left-6 top-1/2 -translate-y-1/2 w-10 h-10 bg-black/40 backdrop-blur hover:bg-black/60 text-white rounded-full transition-all duration-300 opacity-0 group-hover/carousel:opacity-100 z-10",children:(0,r.jsx)(P.A,{})}),(0,r.jsx)("button",{onClick:g,"aria-label":"Next slide",className:"hidden lg:flex items-center justify-center absolute right-6 top-1/2 -translate-y-1/2 w-10 h-10 bg-black/40 backdrop-blur hover:bg-black/60 text-white rounded-full transition-all duration-300 opacity-0 group-hover/carousel:opacity-100 z-10",children:(0,r.jsx)(u.A,{})})]})};
1var M=a(4622),H=a(70672),U=a(79516),W=a(7036),X=a(67396);let q=e=>{let{games:t,allGames:a,currentGameIndex:n,progressKey:i,isPaused:l,onSelectGame:o,t:c}=e,d=(0,k.useRouter)(),[x,h]=(0,s.useState)(""),[p,g]=(0,s.useState)(!1),[f,v]=(0,s.useState)(-1),y=(0,s.useRef)(null),j=(0,s.useRef)(null),b=(0,s.useRef)(null),N=(0,s.useRef)([]),S="game-search-listbox",E=a.filter(e=>1===e.public),_=x.trim().length>0?E.filter(e=>e.name.toLowerCase().includes(x.toLowerCase())).slice(0,6):[];(0,s.useEffect)(()=>{let e=N.current[n],t=b.current;if(e&&t){let a=e.offsetLeft,r=e.offsetWidth,s=t.offsetWidth;t.scrollTo({left:a-s/2+r/2,behavior:"smooth"})}},[n]),(0,s.useEffect)(()=>{let e=e=>{y.current&&!y.current.contains(e.target)&&(g(!1),v(-1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,s.useEffect)(()=>{v(-1)},[x]),(0,s.useEffect)(()=>{p&&j.current&&j.current.focus()},[p]);let C=(0,s.useCallback)(e=>{if("Escape"===e.key){var t;g(!1),h(""),v(-1),null==(t=j.current)||t.blur();return}p&&0!==_.length&&("ArrowDown"===e.key?(e.preventDefault(),v(e=>(e+1)%_.length)):"ArrowUp"===e.key?(e.preventDefault(),v(e=>e<=0?_.length-1:e-1)):"Enter"===e.key&&f>=0&&(e.preventDefault(),D(_[f])))},[p,_,f]),D=e=>{h(""),g(!1),v(-1),d.push("/games/".concat(e.slug))},T=e=>{b.current&&b.current.scrollBy({left:"left"===e?-200:200,behavior:"smooth"})};return(0,r.jsx)("div",{className:"relative z-10 bg-dark-primary/90 backdrop-blur-md",children:(0,r.jsxs)("div",{className:"flex items-stretch px-4 sm:px-6 lg:px-10 xl:px-14 max-w-[1600px] mx-auto",children:[(0,r.jsxs)("div",{className:"flex-1 min-w-0 py-3",children:[(0,r.jsx)("div",{className:"flex items-center justify-between mb-2",children:(0,r.jsxs)("div",{className:"hidden sm:flex min-[1340px]:hidden items-center gap-1",children:[(0,r.jsx)("button",{onClick:()=>T("left"),"aria-label":"Scroll thumbnails left",className:"w-5 h-5 flex items-center justify-center text-gray-500 hover:text-white rounded transition-colors",children:(0,r.jsx)(P.A,{className:"w-3.5 h-3.5"})}),(0,r.jsx)("button",{onClick:()=>T("right"),"aria-label":"Scroll thumbnails right",className:"w-5 h-5 flex items-center justify-center text-gray-500 hover:text-white rounded transition-colors",children:(0,r.jsx)(u.A,{className:"w-3.5 h-3.5"})})]})}),(0,r.jsx)("div",{ref:b,role:"tablist",className:"flex items-center gap-3 overflow-x-auto scrollbar-hide",children:t.map((e,t)=>(0,r.jsxs)("button",{ref:e=>{N.current[t]=e},role:"tab","aria-selected":t===n,"aria-label":e.name,title:"".concat(e.name).concat(e.type?" \xb7 ".concat(e.type):""),onClick:()=>o(t),className:"group/thumb relative flex-shrink-0 flex flex-col items-center gap-1 transition-all duration-300",children:[(0,r.jsxs)("div",{className:"relative w-[100px] h-[58px] sm:w-[140px] sm:h-[80px] rounded-lg overflow-hidden transition-all duration-300 ".concat(t===n?"ring-2 ring-red-frag shadow-[0_0_10px_rgba(211,29,27,0.3)] brightness-100":"opacity-60 grayscale-[30%
1] hover:opacity-90 hover:grayscale-0 hover:scale-105"),children:[(0,r.jsx)(A(),{src:(0,w.S)(e.slug,"thumbnail"),alt:e.name,fill:!0,className:"object-cover",sizes:"140px"}),t===n&&(0,r.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 h-0.5 overflow-hidden",children:[(0,r.jsx)("div",{className:"h-full bg-white/20"}),(0,r.jsx)("div",{className:"absolute top-0 left-0 h-full bg-gradient-to-r from-red-600 to-red-400 ".concat(l?"":"animate-progress"),style:{width:l?"100%":"0%"}},i)]})]}),(0,r.jsx)("span",{className:"text-[10px] sm:text-xs font-bold font-oxanium leading-tight truncate max-w-[100px] sm:max-w-[140px] ".concat(t===n?"text-white":"text-gray-500"),children:e.name})]},e.slug))})]}),(0,r.jsxs)("div",{className:"flex-shrink-0 flex items-center gap-4 pl-5 border-l border-white/10",children:[(0,r.jsxs)("div",{className:"flex flex-col items-start justify-center gap-1 py-3",children:[(0,r.jsx)("span",{className:"text-xs text-gray-500 font-manrope",children:c("gamesAvailable",{count:E.length})}),(0,r.jsxs)(m(),{href:"/gameservers",className:"inline-flex items-center gap-1.5 text-sm font-semibold text-white hover:text-red-frag transition-colors whitespace-nowrap",children:[c("viewAllGames"),(0,r.jsx)(M.A,{className:"w-3.5 h-3.5"})]})]}),(0,r.jsxs)("div",{ref:y,className:"relative",children:[(0,r.jsx)("button",{onClick:()=>g(!p),"aria-label":c("findYourGame"),className:"w-11 h-11 flex items-center justify-center rounded-xl transition-all duration-200 ".concat(p?"bg-red-frag/20 text-red-frag border border-red-frag/30":"bg-white/5 text-gray-400 border border-white/10 hover:bg-white/10 hover:text-white hover:border-white/20"),children:p?(0,r.jsx)(H.A,{className:"w-5 h-5"}):(0,r.jsx)(U.A,{className:"w-5 h-5"})}),p&&(0,r.jsxs)("div",{className:"absolute bottom-full right-0 mb-2 w-[300px] sm:w-[360px] bg-dark-secondary border border-white/10 rounded-xl shadow-2xl shadow-black/60 z-50 overflow-hidden",children:[(0,r.jsx)("div",{className:"p-3",children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(U.A,{className:"absolute left-3 top-1/2 -translate-y-1/2 text-gray-500 w-4 h-4"}),(0,r.jsx)("input",{ref:j,type:"text",role:"combobox","aria-expanded":_.length>0,"aria-controls":S,"aria-activedescendant":f>=0?"search-result-".concat(f):void 0,value:x,onChange:e=>h(e.target.value),onKeyDown:C,placeholder:c("searchPlaceholder"),className:"w-full bg-white/5 border border-white/10 rounded-lg pl-9 pr-3 py-2 text-sm text-white placeholder-gray-500 focus:outline-none focus:border-red-frag/50 focus:ring-1 focus:ring-red-frag/30 transition-colors"})]})}),x.trim().length>0&&(0,r.jsx)("div",{id:S,role:"listbox",className:"border-t border-white/10",children:_.length>0?_.map((e,t)=>(0,r.jsxs)("button",{id:"search-result-".concat(t),role:"option","aria-selected":t===f,onMouseDown:t=>{t.preventDefault(),D(e)},className:"w-full flex items-center gap-3 px-3 py-2.5 text-left transition-colors ".concat(t===f?"bg-white/10":"hover:bg-white/5"),children:[(0,r.jsx)("div",{className:"relative flex-shrink-0 w-10 h-10 rounded-lg overflow-hidden bg-gray-800/50 p-1",children:(0,r.jsx)(A(),{src:(0,w.S)(e.slug,"logo"),alt:e.name,fill:!0,className:"object-contain p-0.5",sizes:"40px"})}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsx)("div",{className:"text-sm font-medium text-white truncate",children:e.name}),(0,r.jsx)("div",{className:"text-xs text-gray-400",children:e.type})]}),(0,r.jsxs)("div",{className:"flex-shrink-0 flex items-center gap-2",children:[Number(e.popular)>0&&(0,r.jsxs)("span",{className:"flex items-center gap-1 text-[10px] text-orange-400",title:"Popular",children:[(0,r.jsx)(W.A,{className:"w-3 h-3"}),(0,r.jsx)("span",{className:"hidden sm:inline",children:"Popular"})]}),1===e.crossplay&&(0,r.jsxs)("span",{className:"flex items-center gap-1 text-[10px] text-blue-400",title:"Crossplay",children:[(0,r.jsx)(X.A,{className:"w-3 h-3"}),(0,r.jsx)("span",{className:"hidden sm:inline",children:"Crossplay"})]})]})]},e.slug)):(0,r.jsx)("div",{className:"px-3 py-4 text-sm text-gray-500 text-center",children:c("noResultsFound")})})]})]})]})]})})},B=e=>{let{games:t,allGames:a=[],params:i}=e,l=(0,j.H)().currency,o=(0,j.H)().format,c=(0,n.c3)("carousel"),d=(0,n.c3)("gameDescriptions"),m=(0,N.I)(),x=(0,s.useRef)(null),[h,u]=(0,s.use
1State)(!t),[p,g]=(0,s.useState)(null!=t?t:[]),[f,v]=(0,s.useState)(i),[y,k]=(0,s.useState)(0),[S,A]=(0,s.useState)(1),[E,_]=(0,s.useState)(!1),[C,P]=(0,s.useState)(0),[D,T]=(0,s.useState)(null),[O,L]=(0,s.useState)(null);if((0,s.useEffect)(()=>{t||(async()=>{try{let[e,t]=await Promise.all([(0,b.Ci)(),(0,b.tI)()]);g(e.slice(0,5)),v(t),u(!1)}catch(e){console.error("Failed to fetch carousel data"),u(!1)}})()},[t]),(0,s.useEffect)(()=>{p.length>1&&[(y+1)%p.length,(y-1+p.length)%p.length].forEach(e=>{let t=p[e];t&&(new window.Image().src=(0,w.S)(t.slug,"carousel"))})},[y,p]),(0,s.useEffect)(()=>{if(E||p.length<=1)return;let e=setTimeout(()=>{A(1),k(e=>(e+1)%p.length)},7e3);return()=>clearTimeout(e)},[y,E,p.length]),(0,s.useEffect)(()=>{P(e=>e+1)},[y]),(0,s.useEffect)(()=>{let e=e=>{var t;((null==(t=x.current)?void 0:t.contains(document.activeElement))||document.activeElement===x.current)&&("ArrowLeft"===e.key&&(e.preventDefault(),z()),"ArrowRight"===e.key&&(e.preventDefault(),G()))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[p.length]),h||0===p.length)return(0,r.jsx)("div",{className:"relative w-full h-[55vh] min-h-[420px] max-h-[520px] md:h-[65vh] md:min-h-[500px] lg:h-[70vh] lg:min-h-[550px] bg-gradient-to-b from-dark-primary to-dark-secondary flex items-center justify-center",children:(0,r.jsx)("div",{className:"text-center",children:(0,r.jsxs)("div",{className:"animate-pulse",children:[(0,r.jsx)("div",{className:"h-12 w-96 bg-gray-700 rounded-lg mx-auto mb-4"}),(0,r.jsx)("div",{className:"h-6 w-64 bg-gray-700 rounded-lg mx-auto"})]})})});let R=p[y],F=(null==f?void 0:f.discount_percent)||0,G=()=>{A(1),k(e=>(e+1)%p.length)},z=()=>{A(-1),k(e=>(e-1+p.length)%p.length)};return(0,r.jsxs)("div",{ref:x,tabIndex:0,role:"region","aria-roledescription":"carousel","aria-label":c("configureYourServer"),className:"group/carousel relative max-w-[1600px] mx-auto bg-dark-primary rounded-2xl outline-none",children:[(0,r.jsx)(I,{currentGame:R,currentGameIndex:y,direction:S,discountPercentage:F,currency:l,currencyFormat:o,prefersReducedMotion:m,onTouchStart:e=>{L(null),T(e.targetTouches[0].clientX)},onTouchMove:e=>{L(e.targetTouches[0].clientX)},onTouchEnd:()=>{if(!D||!O)return;let e=D-O;e>50&&G(),e<-50&&z()},onPrev:z,onNext:G,t:c,tDesc:d}),(0,r.jsx)(q,{games:p,allGames:a,currentGameIndex:y,progressKey:C,isPaused:E,onSelectGame:e=>{A(e>y?1:-1),k(e)},t:c})]})};var Y=a(30198),K=a(93131),V=a(36503),J=a(769);let Q=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,[r,n]=(0,s.useState)(a),[i,l]=(0,s.useState)(!1),o=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&!i&&l(!0)},{threshold:.5});return o.current&&e.observe(o.current),()=>e.disconnect()},[i]),(0,s.useEffect)(()=>{let r,s;if(!i)return;let l=i=>{r||(r=i);let o=Math.min((i-r)/t,1);n(Math.floor(a+(e-a)*(1-Math.pow(1-o,3)))),o<1&&(s=requestAnimationFrame(l))};return s=requestAnimationFrame(l),()=>cancelAnimationFrame(s)},[e,t,a,i]),{count:r,ref:o}},Z=e=>e>=1e6?(e/1e6).toFixed(1).replace(/\.0$/,"")+"M":e>=1e3?(e/1e3).toFixed(0)+"K":e.toString(),$=e=>{let{stat:t}=e,{count:a,ref:s}=Q(t.value,2500);return(0,r.jsxs)("div",{ref:s,className:"flex flex-col items-center text-center group",children:[(0,r.jsx)("div",{className:"w-12 h-12 bg-red-500/10 rounded-xl flex items-center justify-center mb-3 group-hover:bg-red-500/20 transition-colors",children:(0,r.jsx)(t.icon,{className:"w-5 h-5 text-red-500"})}),(0,r.jsxs)("div",{className:"text-2xl md:text-3xl font-bold text-white font-oxanium",children:[t.value>=2e3&&t.value<=2100?a:Z(a),(0,r.jsx)("span",{className:"text-red-500",children:t.suffix})]}),(0,r.jsx)("div",{className:"text-sm text-gray-400 font-manrope mt-1",children:t.label})]})},ee=()=>{let e=(0,n.c3)("carousel"),t=[{value:9e5,suffix:"+",label:e("serversHosted"),icon:V.A},{value:2e5,suffix:"+",label:e("peakPlayers"),icon:X.A},{value:20,suffix:"+",label:e("globalLocations"),icon:J.A},{value:2011,suffix:"",label:e("since"),icon:h.A}];return(0,r.jsx)("div",{className:"w-full bg-gradient-to-r from-dark-secondary via-dark-primary to-dark-secondary py-6 border-y border-gray-800",children:(0,r.jsx)("div",{className:"container mx-auto px-4",children:(0,r.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 md:gap-8",children:t.map((e,t)=>(0,r.jsx)($,{stat:e},t))})})})},et=l()(()=>Promise.all([a.e(5409),a.e(9132)]).then(a.bind(a,55409)),{loadableGenerated:{webpack:()=>[55409]}}),ea=l()(()=>a.e(3560).then(a.bind(a,13560)),{loadableGenerated:{webpack:()=>[13560]}}),er=l()(()=>a.e(6940).then(a.bind(a,76940)),{loadableGenerated:{webpack:()=>[76940]}}),es=l()(()=>a.e(9856).then(a.bind(a,79856)),{loadableGenerated:{webpack:()=>[79856]}});var en=!0;let ei=e=>{let{games:t,allGames:s,rows:i,params:d,error:m}=e,x=(0,n.c3)("header"),h=l()(()=>a.e(2084).then(a.bind(a,59703)),{loadableGenerated:{webpack:()=>[59703]},ssr:!1});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{title:x("appTitle"),description:x("appDescription"),ogImage:"https://fragnet.net/images/og-home.jpg",jsonLd:(0,c.G9)()}),(0,r.jsx)(B,{games:t,allGames:s,params:d}),(0,r.jsx)(ee,{}),(0,r.jsx)("div",{className:"w-full flex justify-center my-12",children:(0,r.jsx)("div",{className:"container mx-auto px-4",children:(0,r.jsxs)("div",{className:"w-full flex flex-col lg:flex-row justify-center gap-8 lg:gap-0",children:[(0,r.jsx)(y,{}),(0,r.jsx)(h,{})]})})}),(0,r.jsx)(Y.A,{}),(0,r.jsx)(es,{}),(0,r.jsx)(Y.A,{}),(0,r.jsx)(er,{}),(0,r.jsx)(Y.A,{}),(0,r.jsx)(et,{}),(0,r.jsx)(Y.A,{}),(0,r.jsx)(ea,{}),(0,r.jsx)(K.A,{})]})}},86092:(e,t,a)=>{"use strict";a.d(t,{G9:()=>n,Wo:()=>r,ZE:()=>s});let r=(e,t,a,r,s)=>{var n;return{"@context":"https://schema.org","@type":"Product",name:"".concat(e.name," Server Hosting"),description:"Premium ".concat(e.name," server hosting with instant setup, DDoS protection, and premium support"),brand:{"@type":"Brand",name:"Fragnet"},offers:{"@type":"AggregateOffer",priceCurrency:(r||"EUR").toUpperCase(),lowPrice:(null==t?void 0:t.minPrice)||"9.99",highPrice:(null==t?void 0:t.maxPrice)||"99.99",offerCount:Math.max(1,a.length),availability:"https://schema.org/InStock",seller:{"@type":"Organization",name:"Fragnet"}},aggregateRating:{"@type":"AggregateRating",ratingValue:(null==s?void 0:s.averageRating)||"4.3",reviewCount:(null==s||null==(n=s.totalReviews)?void 0:n.toString())||"125",bestRating:"5",worstRating:"1"}}},s=e=>({"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>
1({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))}),n=()=>({"@context":"https://schema.org","@type":"Service",serviceType:"Game Server Hosting",provider:{"@type":"Organization",name:"Fragnet"},areaServed:"Worldwide",hasOfferCatalog:{"@type":"OfferCatalog",name:"Game Server Hosting Services",itemListElement:[{"@type":"Offer",itemOffered:{"@type":"Service",name:"Minecraft Server Hosting"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"CS2 Server Hosting"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"Rust Server Hosting"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"Voice Server Hosting"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"Farming Simulator 25 Server Hosting"}}]}})},90606:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(37876),s=a(77328),n=a.n(s),i=a(89099),l=a(65364);let o=e=>{let{title:t,description:a,keywords:s,ogImage:o="https://fragnet.net/images/og-default.jpg",ogType:c="website",twitterCard:d="summary_large_image",noindex:m=!1,canonicalUrl:x,jsonLd:h}=e,{locale:u,locales:p,defaultLocale:g,asPath:f}=(0,i.useRouter)(),v=l.env.NEXT_PUBLIC_BASE_URL||"https://fragnet.net",y="".concat(v).concat(f),j=x||y,w=(null==p?void 0:p.map(e=>({locale:e,url:"".concat(v).concat(e===g?"":"/".concat(e)).concat(f)})))||[];return(0,r.jsxs)(n(),{children:[(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{name:"description",content:a}),s&&(0,r.jsx)("meta",{name:"keywords",content:s}),(0,r.jsx)("meta",{name:"robots",content:m?"noindex, nofollow":"index, follow"}),(0,r.jsx)("link",{rel:"canonical",href:j}),w.map(e=>{let{locale:t,url:a}=e;return(0,r.jsx)("link",{rel:"alternate",hrefLang:t,href:a},t)}),(0,r.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:"".concat(v).concat(f)}),(0,r.jsx)("meta",{property:"og:type",content:c}),(0,r.jsx)("meta",{property:"og:title",content:t}),(0,r.jsx)("meta",{property:"og:description",content:a}),(0,r.jsx)("meta",{property:"og:url",content:y}),(0,r.jsx)("meta",{property:"og:site_name",content:"Fragnet"}),(0,r.jsx)("meta",{property:"og:image",content:o}),(0,r.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,r.jsx)("meta",{property:"og:image:height",content:"630"}),(0,r.jsx)("meta",{property:"og:locale",content:null==u?void 0:u.replace("-","_")}),null==p?void 0:p.filter(e=>e!==u).map(e=>(0,r.jsx)("meta",{property:"og:locale:alternate",content:e.replace("-","_")},e)),(0,r.jsx)("meta",{name:"twitter:card",content:d}),(0,r.jsx)("meta",{name:"twitter:site",content:"@fragnet"}),(0,r.jsx)("meta",{name:"twitter:title",content:t}),(0,r.jsx)("meta",{name:"twitter:description",content:a}),(0,r.jsx)("meta",{name:"twitter:image",content:o}),h&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(h).replace(/</g,"\\u003c")}}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"Fragnet",url:v,logo:"".concat(v,"/images/logo.png"),sameAs:["https://twitter.com/fragnet","https://www.facebook.com/fragnet","https://www.linkedin.com/company/fragnet"],contactPoint:{"@type":"ContactPoint",telephone:"+1-support-number",contactType:"customer support",availableLanguage:["English","Swedish","Spanish","Russian","Dutch","Polish","German","French","Portuguese"],areaServed:"Worldwide"}}).replace(/</g,"\\u003c")}})]})}},96359:(e,t,a)=>{"use strict";a.d(t,{S:()=>r});let r=(e,t)=>"/images/games/".concat(e,"/").concat(t,".webp")}},e=>{var t=t=>e(e.s=t);e.O(0,[2710,1187,7404,3131,636,6593,8792],()=>t(16760)),_N_E=e.O()}]);

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.