1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52851,e=>{"use strict";e.s(["detectClientLang",0,()=>{let e=window.navigator;for(let t of(e?.languages&&e.languages.length?e.languages:[e?.language]).map(e=>"string"==typeof e?e:"").filter(Boolean))if(t.toLowerCase().startsWith("es"))return"es";return"en"}])},3828,(e,t,s)=>{t.exports=e.r(26990)},8976,e=>{"use strict";var t=e.i(91398),s=e.i(91788),a=e.i(30559),r=e.i(3828),i=e.i(41158),n=e.i(58678),o=e.i(1159),l=e.i(52851),c=e.i(59938),d=e.i(97082),u=e.i(96013);e.s(["default",0,function(){let[e,h]=(0,s.useState)("en"),[x,m]=(0,s.useState)(o.locales.en);(0,s.useEffect)(()=>{let e=(0,l.detectClientLang)();h(e),m(o.locales[e])},[]);let p=(0,r.useRouter)(),[g,b]=(0,s.useState)(""),[f,y]=(0,s.useState)(""),[w,j]=(0,s.useState)("");new Date().getFullYear(),a.default.defaults.baseURL="https://desenmascara.me";let v=async e=>{e.preventDefault(),j("");try{let{access:e,refresh:t}=(await a.default.post("/api/auth/token/",{username:g,password:f})).data;localStorage.setItem("access",e),localStorage.setItem("refresh",t),localStorage.setItem("user",g);let s=sessionStorage.getItem("checkout_redirect");p.push((0,c.safeNext)(p.query.next,s?"/pro":"/dashboard"))}catch(e){j(e?.response?.data?.detail&&(Array.isArray(x.error_login)?x.error_login.join(", "):x.error_login)||(Array.isArray(x.error_login)?x.error_login.join(", "):x.error_login)||"Login error")}};return(0,t.jsxs)("main",{className:"relative min-h-screen legacy-dark-bg text-white flex items-center justify-center px-4 py-10 overflow-hidden",children:[(0,t.jsx)(n.default,{children:(0,t.jsx)("title",{children:"es"===e?"Iniciar sesion | desenmascara.me":"Sign in | desenmascara.me"})}),(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0 opacity-60",children:[(0,t.jsx)("div",{className:"absolute -left-28 top-10 h-80 w-80 bg-cyan-400/20 blur-[120px]"}),(0,t.jsx)("div",{className:"absolute right-[-120px] top-1/4 h-80 w-80 bg-blue-500/18 blur-[130px]"}),(0,t.jsx)("div",{className:"absolute left-1/3 bottom-0 h-72 w-72 bg-emerald-300/15 blur-[120px]"})]}),(0,t.jsxs)("div",{className:"relative z-10 w-full max-w-md",children:[(0,t.jsx)("div",{className:"mb-6 text-center",children:(0,t.jsx)(i.default,{href:"/",className:"inline-flex items-center gap-1.5 rounded-full border border-white/15 bg-white/5 px-3.5 py-1.5 text-xs font-semibold text-white/70 transition hover:border-white/30 hover:bg-white/10 hover:text-white",children:"es"===e?"â Volver al inicio":"â Back to home"})}),(0,t.jsxs)("form",{onSubmit:v,className:"rounded-[32px] border border-white/12 bg-[#0b0e14] p-8 sm:p-10",children:[(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)("div",{className:"mb-4 inline-flex items-center rounded-full border border-cyan-400/30 bg-cyan-400/10 px-4 py-1 text-[11px] font-semibold uppercase tracking-[0.22em] text-cyan-200",children:"es"===e?"Acceso privado":"Private access"}),(0,t.jsxs)("h2",{className:"text-3xl font-bold tracking-tight text-white sm:text-4xl",children:["desenmascara",(0,t.jsx)("span",{className:"text-cyan-300",children:".me"})]}),(0,t.jsx)("p",{className:"mt-3 text-sm leading-6 text-white/62",children:"es"===e?"Inicia sesión para continuar con tu dashboard, tu historial y tus análisis guardados.":"Sign in to continue to your dashboard, your history, and your saved analyses."})]}),(0,t.jsx)(u.default,{lang:e}),(0,t.jsxs)("div",{className:"space-y-5 mb-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-2 block text-[11px] font-semibold uppercase tracking-[0.16em] text-white/50",children:Array.isArray(x.usuario)?x.usuario.join(" "):x.usuario||"Username"}),(0,t.jsx)("input",{type:"text",placeholder:"es"===e?"Tu nombre de usuario":"Your username",value:g,onChange:e=>b(e.target.value),className:"w-full rounded-2xl border border-white/12 bg-white/[0.05] px-4 py-3.5 text-sm font-medium text-white placeholder:text-white/30 transition focus:border-cyan-400/50 focus:outline-none focus:ring-2 focus:ring-cyan-400/15",autoComplete:"username"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-2 flex items-center justify-between gap-3",children:[(0,t.jsx)("label",{className:"text-[11px] font-semibold uppercase tracking-[0.16em] text-white/50",children:Array.isArray(x.contrasena)?x.contrasena.join(" "):x.contrasena||"Password"}),(0,t.jsx)(i.default,{href:"/forgot-password",className:"text-[11px] font-medium text-cyan-300/75 hover:text-cyan-200 transition",children:Array.isArray(x.forgot_password)?x.forgot_password.join(" "):x.forgot_password||"Forgot password?"})]}),(0,t.jsx)("input",{type:"password",placeholder:"********",value:f,onChange:e=>y(e.target.value),className:"w-full rounded-2xl border border-white/12 bg-white/[0.05] px-4 py-3.5 text-sm font-medium text-white placeholder:text-white/30 transition focus:border-cyan-400/50 focus:outline-none focus:ring-2 focus:ring-cyan-400/15",autoComplete:"current-password"})]})]}),w&&(0,t.jsx)("div",{className:"mb-4 rounded-2xl border border-rose-400/30 bg-rose-400/10 px-4 py-3 text-center text-sm font-semibold text-rose-300",children:w}),(0,t.jsx)("button",{type:"submit",className:"w-full rounded-full bg-blue-600 hover:bg-blue-500 px-6 py-3.5 text-sm font-extrabold uppercase tracking-wide text-white transition",children:x.login||"Login"}),(0,t.jsxs)("div",{className:"mt-6 rounded-2xl border border-white/10 bg-white/[0.03] px-4 py-4 text-sm text-white/64",children:["es"===e?"¿Aún no tienes acceso? Crea tu cuenta gratuita y mantén continuidad con el dashboard, el historial y los distintos planes.":"No access yet? Create your free account and keep continuity with the dashboard, history, and the different plans."," ",(0,t.jsx)(i.default,{href:(0,c.withNext)("/register",p.query.next),className:"font-semibold text-cyan-300/85 hover:text-cyan-200 transition",children:"es"===e?"Crear cuenta":"Create account"})]}),(0,t.jsxs)("div",{className:"mt-6 flex items-center justify-center gap-4 text-[11px] text-white/50",children:[(0,t.jsx)("span",{children:"es"===e?"+127.000 sitios analizados":"127,000+ sites analyzed"}),(0,t.jsx)("span",{className:"text-white/15",children:"|"}),(0,t.jsx)("span",{children:"es"===e?"18 paises":"18 countries"}),(0,t.jsx)("span",{className:"text-white/15",children:"|"}),(0,t.jsx)("span",{children:"es"===e?"+55 reguladores cruzados":"55+ regulators cross-checked"})]})]}),(0,t.jsx)(d.default,{lang:e})]})]})}])},97466,(e,t,s)=>{let a="/login";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(8976)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},48761,e=>{e.v(t=>Promise.all(["static/chunks/0ey~yy8oeyp~5.js"].map(t=>e.l(t))).then(()=>t(93594)))},28805,e=>{e.v(t=>Promise.all(["static/chunks/0599p99vu8fk5.js"].map(t=>e.l(t))).then(()=>t(79466)))}]);
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.