1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2747,e=>{"use strict";var t=e.i(43476),s=e.i(75157);function a({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"skeleton",className:(0,s.cn)("bg-accent animate-pulse rounded-md",e),...a})}e.s(["Skeleton",()=>a])},74886,e=>{"use strict";let t=(0,e.i(75254).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",()=>t],74886)},92163,e=>{"use strict";let t=(0,e.i(75254).default)("gamepad-2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);e.s(["Gamepad2",()=>t],92163)},9912,e=>{"use strict";let t=(0,e.i(75254).default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);e.s(["Rocket",()=>t],9912)},78858,23974,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(74886),i=e.i(78745),i=i,n=e.i(46696),c=e.i(75157);function r({value:e,label:r,showLabel:l=!0,serverType:d,className:o,...x}){let[m,h]=s.useState(!1),u=s.useCallback(async()=>{try{await navigator.clipboard.writeText(e),h(!0),n.toast.success(`${r} copied!`,{description:e}),setTimeout(()=>h(!1),2e3)}catch{n.toast.error("Failed to copy to clipboard")}},[e,r]);return(0,t.jsxs)("button",{className:(0,c.cn)("flex items-center gap-2 px-3 py-2 rounded-lg border border-zinc-200 dark:border-zinc-700 bg-white dark:bg-zinc-900 hover:bg-zinc-50 dark:hover:bg-zinc-800 transition-colors cursor-pointer w-full min-w-0",o),onClick:u,...x,children:[l&&(0,t.jsx)("span",{className:"text-xs font-medium text-zinc-500 dark:text-zinc-400 uppercase tracking-wide shrink-0",children:r}),(0,t.jsx)("span",{className:"text-sm font-mono font-medium text-zinc-900 dark:text-zinc-100 truncate min-w-0",children:e}),(0,t.jsx)("span",{className:"shrink-0",children:m?(0,t.jsx)(i.default,{className:"h-4 w-4 text-emerald-500"}):(0,t.jsx)(a.Copy,{className:"h-4 w-4 text-zinc-400"})})]})}e.s(["AddressCopy",()=>r],78858);var l=e.i(47167);let d={javaIp:l.default.env.NEXT_PUBLIC_JAVA_IP||"nexusmines.minekeep.gg",bedrockIp:l.default.env.NEXT_PUBLIC_BEDROCK_IP||"nexusmines.bedrock.minekeep.gg",javaPort:parseInt(l.default.env.NEXT_PUBLIC_JAVA_PORT||"25565"),bedrockPort:parseInt(l.default.env.NEXT_PUBLIC_BEDROCK_PORT||"19132")};e.s(["config",0,d],23974)},44725,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(78858),i=e.i(19455),n=e.i(2747),c=e.i(23974),r=e.i(22016),l=e.i(51445);let d=(0,e.i(75254).default)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);var o=e.i(74886),x=e.i(9912),m=e.i(92163),h=e.i(75157);let u=[{number:1,icon:o.Copy,title:"Copy the IP",description:"Click on your preferred edition below to copy the server address."},{number:2,icon:x.Rocket,title:"Launch Game",description:"Open Minecraft 1.21 or higher on your device."},{number:3,icon:m.Gamepad2,title:"Add Server",description:"Go to Multiplayer â Add Server and paste the IP."}];function p(){return(0,t.jsx)("section",{className:"py-20 px-4 bg-white dark:bg-zinc-950",children:(0,t.jsxs)("div",{className:"max-w-3xl mx-auto text-center",children:[(0,t.jsx)("h1",{className:"text-4xl sm:text-5xl font-bold text-zinc-900 dark:text-white",children:"How to Play"}),(0,t.jsx)("p",{className:"mt-3 text-lg text-zinc-500 dark:text-zinc-400",children:"Get started in minutes. Follow these simple steps."})]})})}function b({javaIp:e,bedrockIp:s,status:i,statusLoading:c}){return(0,t.jsx)("section",{className:"px-4 py-16 bg-zinc-50 dark:bg-zinc-900",children:(0,t.jsx)("div",{className:"max-w-xl mx-auto",children:(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"bg-white dark:bg-zinc-800 rounded-2xl border border-zinc-200 dark:border-zinc-700 p-4 sm:p-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,t.jsx)("div",{className:"p-2 rounded-lg bg-zinc-100 dark:bg-zinc-700",children:(0,t.jsx)(l.Monitor,{className:"h-5 w-5 text-zinc-600 dark:text-zinc-300"})}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h3",{className:"font-semibold text-zinc-900 dark:text-white",children:"Java"}),(0,t.jsx)("p",{className:"text-xs text-zinc-500",children:"PC / Mac"})]}
1),c?(0,t.jsx)(n.Skeleton,{className:"ml-auto h-5 w-14 rounded-full shrink-0"}):(0,t.jsx)("div",{className:(0,h.cn)("ml-auto text-xs px-2 py-1 rounded-full shrink-0",i?.online?"bg-emerald-100 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-400":"bg-zinc-100 dark:bg-zinc-700 text-zinc-500"),children:i?.online?`${i.players?.online||0}`:"Offline"})]}),(0,t.jsx)(a.AddressCopy,{value:e,label:"Java",serverType:"java"}),(0,t.jsx)("p",{className:"mt-2 text-xs text-zinc-500",children:"Port: 25565"})]}),(0,t.jsxs)("div",{className:"bg-white dark:bg-zinc-800 rounded-2xl border border-zinc-200 dark:border-zinc-700 p-4 sm:p-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,t.jsx)("div",{className:"p-2 rounded-lg bg-zinc-100 dark:bg-zinc-700",children:(0,t.jsx)(d,{className:"h-5 w-5 text-zinc-600 dark:text-zinc-300"})}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h3",{className:"font-semibold text-zinc-900 dark:text-white",children:"Bedrock"}),(0,t.jsx)("p",{className:"text-xs text-zinc-500",children:"Mobile / Console"})]})]}),(0,t.jsx)(a.AddressCopy,{value:s,label:"Bedrock",serverType:"bedrock"}),(0,t.jsx)("p",{className:"mt-2 text-xs text-zinc-500",children:"Port: 19132"})]})]})})})}function k(){return(0,t.jsx)("section",{className:"px-4 py-16 bg-white dark:bg-zinc-950",children:(0,t.jsxs)("div",{className:"max-w-3xl mx-auto",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-zinc-900 dark:text-white text-center mb-10",children:"Quick Setup"}),(0,t.jsx)("div",{className:"grid gap-6 sm:grid-cols-3",children:u.map(e=>(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"inline-flex p-3 rounded-xl bg-zinc-100 dark:bg-zinc-800 mb-4",children:(0,t.jsx)(e.icon,{className:"h-5 w-5 text-zinc-600 dark:text-zinc-300"})}),(0,t.jsx)("h3",{className:"font-semibold text-zinc-900 dark:text-white mb-1",children:e.title}),(0,t.jsx)("p",{className:"text-sm text-zinc-500",children:e.description})]},e.number))})]})})}function j(){return(0,t.jsx)("section",{className:"px-4 py-16 bg-zinc-50 dark:bg-zinc-900",children:(0,t.jsxs)("div",{className:"max-w-2xl mx-auto text-center",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-zinc-900 dark:text-white",children:"Ready to play?"}),(0,t.jsx)("p",{className:"mt-2 text-zinc-500 mb-6",children:"Join thousands of players in our custom mines."}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[(0,t.jsx)(i.Button,{asChild:!0,className:"h-11 px-6 rounded-lg font-medium",children:(0,t.jsx)(r.default,{href:"https://www.minecraft.net/download",target:"_blank",children:"Get Minecraft"})}),(0,t.jsx)(i.Button,{asChild:!0,variant:"outline",className:"h-11 px-6 rounded-lg font-medium",children:(0,t.jsx)(r.default,{href:"/rules",children:"Read Rules"})})]})]})})}
1function g(){let[e,a]=(0,s.useState)(c.config.javaIp),[i,n]=(0,s.useState)(c.config.bedrockIp),[r,l]=(0,s.useState)(null),[d,o]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{fetch("/api/config").then(e=>e.json()).then(e=>{e.javaIp&&a(e.javaIp),e.bedrockIp&&n(e.bedrockIp)}).catch(console.error)},[]),(0,s.useEffect)(()=>{let t=async()=>{try{let t=await fetch(`https://api.mcsrvstat.us/3/${e}`),s=await t.json();l({online:s.online,players:s.players})}catch{l({online:!1})}finally{o(!1)}};t();let s=setInterval(t,3e4);return()=>clearInterval(s)},[e]),(0,t.jsxs)("div",{className:"min-h-screen bg-white dark:bg-zinc-950",children:[(0,t.jsx)(p,{}),(0,t.jsx)(b,{javaIp:e,bedrockIp:i,status:r,statusLoading:d}),(0,t.jsx)(k,{}),(0,t.jsx)(j,{})]})}e.s(["default",()=>g],44725)}]);
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.