1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4295],{25552:(e,t,o)=>{Promise.resolve().then(o.t.bind(o,52619,23)),Promise.resolve().then(o.t.bind(o,81356,23)),Promise.resolve().then(o.bind(o,35148)),Promise.resolve().then(o.bind(o,72978)),Promise.resolve().then(o.bind(o,33098))},33098:(e,t,o)=>{"use strict";o.d(t,{default:()=>i});var r=o(95155),n=o(12115),a=o(18955);function i(){let e=(0,a.c)("newsletter"),[t,o]=(0,n.useState)(""),[i,l]=(0,n.useState)(""),[s,d]=(0,n.useState)("idle");async function c(e){if(e.preventDefault(),i){d("loading");try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({nombre:t,email:i})});d(e.ok?"ok":"error")}catch(e){d("error")}}}return"ok"===s?(0,r.jsx)("p",{className:"text-sm font-creato text-marine-posidonia",children:e("success")}):(0,r.jsxs)("form",{onSubmit:c,className:"flex flex-col gap-2",children:[(0,r.jsx)("input",{type:"text",placeholder:e("namePlaceholder"),value:t,onChange:e=>o(e.target.value),className:"w-full px-4 py-2.5 rounded-lg bg-white/10 border border-white/20 text-sm font-creato text-odicean-white placeholder-odicean-white/40 focus:outline-none focus:border-marine-posidonia transition-colors"}),(0,r.jsx)("input",{type:"email",placeholder:e("emailPlaceholder"),value:i,onChange:e=>l(e.target.value),required:!0,className:"w-full px-4 py-2.5 rounded-lg bg-white/10 border border-white/20 text-sm font-creato text-odicean-white placeholder-odicean-white/40 focus:outline-none focus:border-marine-posidonia transition-colors"}),(0,r.jsx)("button",{type:"submit",disabled:"loading"===s,className:"w-full px-4 py-2.5 rounded-lg bg-odicean-yellow text-odicean-dark text-sm font-creato font-bold hover:bg-odicean-yellow/90 transition-colors duration-200 disabled:opacity-60",children:e("loading"===s?"loading":"submit")}),"error"===s&&(0,r.jsx)("p",{className:"text-xs font-creato text-marine-coral",children:e("error")})]})}}},e=>{e.O(0,[2619,1567,2473,5060,2432,2978,5148,8441,1255,7358],()=>e(e.s=25552)),_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.