1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{9540:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},12108:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},14005:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("life-buoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]])},15239:(e,t,a)=>{"use strict";a.d(t,{default:()=>s.a});var r=a(54652),s=a.n(r)},20063:(e,t,a)=>{"use strict";var r=a(47260);a.o(r,"usePathname")&&a.d(t,{usePathname:function(){return r.usePathname}}),a.o(r,"useRouter")&&a.d(t,{useRouter:function(){return r.useRouter}}),a.o(r,"useSearchParams")&&a.d(t,{useSearchParams:function(){return r.useSearchParams}})},24033:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},53886:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,52619,23)),Promise.resolve().then(a.t.bind(a,81356,23)),Promise.resolve().then(a.bind(a,9880)),Promise.resolve().then(a.bind(a,54015)),Promise.resolve().then(a.bind(a,12444))},54015:(e,t,a)=>{"use strict";a.d(t,{default:()=>x});var r=a(95155),s=a(15239),n=a(52619),l=a.n(n),i=a(12115),o=a(77447),c=a(5366);function d(e){let t=e-Date.now();return t<=0?null:{days:Math.floor(t/864e5),hours:Math.floor(t/36e5%24),minutes:Math.floor(t/6e4%60),seconds:Math.floor(t/1e3%60)}}let m=[{key:"days",label:"D\xedas"},{key:"hours",label:"Horas"},{key:"minutes",label:"Min"},{key:"seconds",label:"Seg"}];function h(){let e=new Date(o.BB).getTime(),[t,a]=(0,i.useState)(null),[s,n]=(0,i.useState)(!1);if((0,i.useEffect)(()=>{n(!0),a(d(e));let t=setInterval(()=>a(d(e)),1e3);return()=>clearInterval(t)},[e]),!s)return null;let l=null===t;return(0,r.jsxs)("div",{className:"flex flex-col items-center",children:[(0,r.jsx)("p",{className:"text-gold-400/90 text-xs sm:text-sm font-display uppercase tracking-[0.25em] mb-3",children:l?"El servidor est\xe1 abierto":"El servidor abre en"}),l?(0,r.jsx)("div",{className:"px-8 py-3 rounded-lg border border-gold-400/50 bg-gold-400/10 text-gold-400 font-display text-2xl sm:text-3xl uppercase tracking-widest",style:{boxShadow:"0 0 25px rgba(214,172,47,0.3)"},children:"\xa1Servidor Abierto!"}):(0,r.jsx)("div",{className:"flex items-start gap-2 sm:gap-3",children:m.map((e,a)=>(0,r.jsxs)("div",{className:"flex items-start gap-2 sm:gap-3",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center",children:[(0,r.jsx)("div",{className:"flex items-center justify-center w-16 h-16 sm:w-20 sm:h-20 rounded-lg border border-gold-400/30 bg-black/50 backdrop-blur-sm",style:{boxShadow:"inset 0 0 20px rgba(0,0,0,0.6)"},children:(0,r.jsx)("span",{className:"font-display text-3xl sm:text-4xl text-white tabular-nums",children:String(t[e.key]).padStart(2,"0")})}),(0,r.jsx)("span",{className:"mt-1.5 text-white/50 text-[0.65rem] sm:text-xs font-body uppercase tracking-widest",children:e.label})]}),a<m.length-1&&(0,r.jsx)("span",{className:"font-display text-2xl sm:text-3xl text-gold-400/40 leading-[4rem] sm:leading-[5rem]",children:":"})]},e.key))}),(0,r.jsx)("p",{className:"mt-3 text-white/40 text-xs sm:text-sm font-body",children:o.er})]})}let u=[{type:"XP/SP",value:"x".concat(o.EO.xp),icon:"/images/icons/5.png"},{type:"Adena",value:"x".concat(o.EO.adena),icon:"/images/icons/5.png"},{type:"Drop",value:"x".concat(o.EO.drop),icon:"/images/icons/5.png"},{type:"Spoil",value:"x".concat(o.EO.spoil),icon:"/images/icons/5.png"}];function x(){let[e,t]=(0,i.useState)(0),{user:a,loading:n}=(0,c.A)(),d=[0,1,2].map(t=>u[(e+t)%u.length]);return(0,r.jsxs)("section",{className:"relative z-[1] flex items-end justify-center overflow-hidden",style:{height:"104vh",paddingBottom:"5rem"},children:[(0,r.jsx)("style",{children:"\n @keyframes hero-fade-up {\n from { opacity: 0; transform: translateY(24px); }\n to { opacity: 1; transform: translateY(0); }\n }\n .hero-animate {\n opacity: 0;\n animation: hero-fade-up 0.7s ease forwards;\n }\n @keyframes btnGlow {\n 0%, 100% { filter: brightness(1); }\n 50% { filter: brightness(1.3); }\n }\n .btn-animated { animation: btnGlow 2.5s ease-in-out infinite; }\n .rates-slide-enter { animation: hero-fade-up 0.3s ease forwards; }\n "}),(0,r.jsxs)("div",{className:"absolute inset-0",children:[(0,r.jsx)(s.default,{src:"/images/hero-bg.webp",alt:"Tierras de Aden",fill:!0,priority:!0,className:"object-cover object-center"}),(0,r.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, transparent 30%, rgba(10,14,26,0.85) 100%)"}})]}),(0,r.jsxs)("div",{className:"relative z-10 w-full max-w-[85rem] mx-auto px-4 flex flex-col items-center",children:[(0,r.jsx)("div",{className:"hero-animate mb-8",style:{animationDelay:"0ms"},children:(0,r.jsx)("img",{src:"/images/logoAnimated.png",alt:"L2 Sur",className:"mx-auto w-[20rem] sm:w-[30rem]"})}),(0,r.jsx)("h1",{className:"hero-animate text-3xl sm:text-5xl font-display font-bold mb-4 text-center w-[70%]",style:{animationDelay:"150ms",backgroundClip:"text",WebkitBackgroun
1dClip:"text",backgroundImage:"url(/images/texture.jpg)",WebkitTextFillColor:"transparent",filter:"brightness(150%)"},children:"Bienvenido a L2 SUR"}),(0,r.jsx)("p",{className:"hero-animate text-white/60 text-lg mb-8 text-center w-[60%]",style:{animationDelay:"250ms"},children:"El servidor de Lineage 2 m\xe1s \xe9pico de Latinoamerica."}),(0,r.jsx)("div",{className:"hero-animate mb-10",style:{animationDelay:"300ms"},children:(0,r.jsx)(h,{})}),(0,r.jsx)("div",{className:"hero-animate mb-10",style:{animationDelay:"350ms"},children:(0,r.jsxs)("a",{href:o.LI,target:"_blank",rel:"noopener noreferrer",className:"btn-animated block relative",style:{width:"25rem",height:"4.8rem"},children:[(0,r.jsx)("span",{className:"pointer-events-none absolute w-full",style:{height:"3.5rem",backgroundImage:"url(/images/btnFrame.png)",backgroundSize:"contain",backgroundRepeat:"no-repeat",top:"-3.4rem",left:0,zIndex:1}}),(0,r.jsx)("div",{className:"w-full h-full flex items-center justify-center text-white text-2xl font-display transition-transform hover:scale-105",style:{clipPath:"polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%)",backgroundColor:"rgb(214, 172, 47)",padding:"0.1rem 0.2rem"},children:(0,r.jsxs)("span",{className:"w-full h-full flex items-center justify-center relative overflow-hidden",style:{clipPath:"polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%)",backgroundColor:"black",border:"0.05rem solid rgba(255,255,255,0.28)"},children:[(0,r.jsx)("span",{className:"absolute inset-0",style:{backgroundImage:"url(/images/btnAnimated.webp)",backgroundSize:"cover",backgroundRepeat:"no-repeat",opacity:.8,zIndex:0}}),(0,r.jsx)("span",{className:"relative z-10 font-display text-xl tracking-widest uppercase",children:"Descargar Cliente"})]})}),(0,r.jsx)("span",{className:"pointer-events-none absolute w-full",style:{height:"3.5rem",backgroundImage:"url(/images/btnFrame.png)",backgroundSize:"contain",backgroundRepeat:"no-repeat",bottom:"-3.5rem",left:0,opacity:0,transform:"rotate(180deg)"}})]})}),(0,r.jsx)("div",{className:"hero-animate flex items-center justify-center gap-3 mb-8 text-sm font-body",style:{animationDelay:"400ms",minHeight:"2.5rem"},children:n?null:a?(0,r.jsxs)(l(),{href:"/dashboard",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-lg bg-white/5 hover:bg-white/10 text-white border border-white/15 hover:border-gold-400/60 hover:text-gold-400 transition-all backdrop-blur-sm",children:["Ir a Mi Panel",(0,r.jsx)("span",{"aria-hidden":!0,children:"â"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l(),{href:"/register",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-lg bg-gold-400/90 hover:bg-gold-400 text-l2-bg font-semibold border border-gold-400/40 transition-colors shadow-[0_0_20px_rgba(214,172,47,0.25)]",children:"Crear cuenta gratis"}),(0,r.jsx)("span",{className:"text-white/40 hidden sm:inline",children:"\xb7"}),(0,r.jsx)(l(),{href:"/login",className:"text-white/60 hover:text-gold-400 transition-colors",children:"\xbfYa tienes cuenta? Inicia sesi\xf3n"})]})}),(0,r.jsxs)("div",{className:"hero-animate flex items-center gap-4 w-full max-w-2xl mx-auto",style:{animationDelay:"450ms"},children:[(0,r.jsx)("button",{onClick:()=>t(e=>(e-1+u.length)%u.length),className:"w-10 h-10 rounded-full flex items-center justify-center shrink-0 text-white/50 hover:text-white/80 border border-white/30 hover:border-white/60 bg-black/20 transition-all","aria-label":"Anterior",children:(0,r.jsx)("svg",{width:"10",height:"16",viewBox:"0 0 10 16",fill:"none",children:(0,r.jsx)("path",{d:"M8 2L2 8L8 14",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})}),(0,r.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,r.jsx)("ul",{className:"flex",children:d.map((t,a)=>(0,r.jsxs)("li",{className:"flex items-center gap-3 text-white/50 h-24 px-4 justify-center text-center flex-1 rates-slide-enter",children:[(0,r.jsxs)("span",{className:"relative w-12 h-12 shrink-0 flex items-center justify-center",children:[(0,r.jsx)("span",{className:"absolute inset-0",style:{backgroundImage:"url(/images/icons/iconBg.png)",backgroundSize:"contain",backgroundRepeat:"no-repeat"}}),(0,r.jsx)("span",{className:"absolute inset-0 z-10",style:{backgroundImage:"url(/images/icons/iconBorder.png)",backgroundSize:"contain",backgroundRepeat:"no-repeat"}}),(0,r.jsx)(s.default,{src:t.icon,alt:t.type,width:12,height:12,className:"relative z-20 w-3 h-3"})]}),(0,r.jsxs)("span",{className:"text-left text-sm leading-snug max-w-[60%]",children:[t.type,":"," ",(0,r.jsx)("strong",{className:"text-white/70",children:t.value})]})]},"".concat(t.type,"-").concat(e,"-").concat(a)))})}),(0,r.jsx)("button",{onClick:()=>t(e=>(e+1)%u.length),className:"w-10 h-10 rounded-full flex items-center justify-center shrink-0 text-white/50 hover:text-white/80 border border-white/30 hover:border-white/60 bg-black/20 transition-all","aria-label":"Siguiente",children:(0,r.jsx)("svg",{width:"10",height:"16",viewBox:"0 0 10 16",fill:"none",children:(0,r.jsx)("path",{d:"M2 2L8 8L2 14",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})})]})]})]})}},54652:(e,t,a)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(t,{default:function(){return o},getImageProps:function(){return i}});let r=a(28140),s=a(75040),n=a(81356),l=r._(a(71124));function i(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,a]of Object.entries(t))void 0===a&&delete t[e];return{props:t}}let o=n.Image},59384:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]])},65229:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},71847:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(12115);let s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},n=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim()};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,r.forwardRef)((e,t)=>{let{color:a="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:m,...h}=e;return(0,r.createElement)("svg",{ref:t,...l,width:s,height:s,stroke:a,strokeWidth:o?24*Number(i)/Number(s):i,className:n("lucide",c),...h},[...m.map(e=>{let[t,a]=e;return(0,r.createElement)(t,a)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let a=(0,r.forwardRef)((a,l)=>{let{className:o,...c}=a;return(0,r.createElement)(i,{ref:l,iconNode:t,className:n("lucide-".concat(s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),o),...c})});return a.displayName=s(e),a}},84926:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("log-out",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]])}},e=>{e.O(0,[2992,7811,1398,2619,4909,1659,1356,3135,9229,8441,1255,7358],()=>e(e.s=53886)),_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.