<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[533],{4654:function(){},7430:function(e,a,l){Promise.resolve().then(l.bind(l,2755))},2755:function(e,a,l){"use strict";l.r(a),l.d(a,{default:function(){return j}});var s=l(7437),t=l(6648),n=l(4545),i=l(542),o=l(9805),c=l(4505),r=l(6496),d=l(7493);l(1535);var m=l(1414),x=l(2265),p=l(9625),u=l(154),h=l(9477),v=l(1169),b=l(2737),g=l.n(b);let f=e=&gt;{let a,l;return(e=e.toUpperCase(),!0!==/^[XYZ]?\d{5,8}[A-Z]$/.test(e))?(console.log("Wrong ID, invalid format"),!1):(a=(a=(a=(a=e.substr(0,e.length-1)).replace("X",0)).replace("Y",1)).replace("Z",2),l=e.substr(e.length-1,1),a%=23,"TRWAGMYFPDXBNJZSQVHLCKET".substring(a,a+1)!=l)?(console.log("Wrong ID, the letter of the NIF does not correspond"),!1):(console.log("Correct ID"),!0)};function j(){let[e,a]=(0,x.useState)({}),[l,b]=(0,x.useState)({}),[j,N]=(0,x.useState)(!1),[C,D]=(0,x.useState)(!1),[w,y]=(0,x.useState)(!1),[Z,E]=(0,x.useState)(!1),[I,S]=(0,x.useState)(!1),[A,M]=(0,x.useState)(!1),O=(0,v.useParams)();(0,x.useEffect)(()=&gt;{u.Z.service("invitees").get(O.inviteeId).then(e=&gt;{M(e.phone&amp;&amp;""!=e.phone),"double"==e.inviteType?b({...e,plusOne:{...e.plusOne,brand:e.brand}}):b(e)}).catch(e=&gt;console.log(e))},[]),(0,x.useEffect)(()=&gt;{l.origin&amp;&amp;u.Z.service("origins").get(l.origin).then(e=&gt;{a(e)}).catch(e=&gt;console.log(e))},[l,l.origin]);let T=a=&gt;{var t,n;let i=1==a?l:l.plusOne||{},r=(e,l)=&gt;{1==a?b(a=&gt;({...a,[e]:l})):b(a=&gt;({...a,plusOne:{...a.plusOne,[e]:l}}))};return(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,s.jsx)(o.Z,{value:i.firstName||"",invalid:I&amp;&amp;!i.firstName,onChange:e=&gt;r("firstName",e),label:"Nombre",wrapperclass:"md:col-span-2"}),(0,s.jsx)(o.Z,{value:i.lastName||"",invalid:I&amp;&amp;!i.lastName,onChange:e=&gt;r("lastName",e),label:"Apellidos",wrapperclass:"md:col-span-2"}),(0,s.jsx)(o.Z,{value:i.email||"",invalid:I&amp;&amp;(!i.email||!new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/).test(i.email)),validationText:"Este campo es obligatorio y debe ser un e-mail v\xe1lido",onChange:e=&gt;r("email",e),label:"Correo",wrapperclass:"md:col-span-2"}),(0,s.jsx)(o.Z,{value:i.phone||"",invalid:I&amp;&amp;!i.phone,onChange:e=&gt;r("phone",e),label:"Tel\xe9fono"}),(0,s.jsx)(o.Z,{value:i.company||"",invalid:I&amp;&amp;!i.company,onChange:e=&gt;r("company",e),label:"Empresa"}),(0,s.jsx)(m.Z,{value:i.brand||"",positive:!0,label:"Marca"}),(0,s.jsx)(o.Z,{value:i.dni||"",invalid:I&amp;&amp;(!i.dni||!f(i.dni)),validationText:"Este campo es obligatorio y debe ser un DNI / NIE v\xe1lido",onChange:e=&gt;r("dni",e),label:"DNI / NIE"}),(0,s.jsx)(c.Z,{value:i.sex||"",invalid:I&amp;&amp;!i.sex,onChange:e=&gt;{let{value:a}=e;return r("sex",a)},label:"Sexo",placeholder:"Escoge tu sexo",options:[{value:"Hombre",label:"Hombre"},{value:"Mujer",label:"Mujer"}]}),(0,s.jsx)(c.Z,{value:i.size||"",invalid:I&amp;&amp;!i.size,onChange:e=&gt;{let{value:a}=e;return r("size",a)},label:"Talla",placeholder:"Escoge tu talla",options:[{value:"S",label:"S"},{value:"M",label:"M"},{value:"L",label:"L"},{value:"XL",label:"XL"},{value:"XXL",label:"XXL"}]}),l.origin&amp;&amp;"66619e293a3cc7a13773e75a"==l.origin.toString()?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.Z,{value:e.name,positive:!0,label:"Ciudad de origen",wrapperclass:"lg:col-span-2"}),(0,s.jsx)(m.Z,{value:"Direcci\xf3n especificada",positive:!0,label:"Punto de origen",wrapperclass:"lg:col-span-2"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.Z,{value:i.city||"",invalid:I&amp;&amp;!i.city,onChange:e=&gt;{let{value:a}=e;return r("city",a)},label:"Ciudad de origen",placeholder:"Escoge tu ciudad de origen",options:((null==e?void 0:e.cities)||[]).map(e=&gt;({value:e._id,label:e.name})),className:"lg:col-span-2"}),(0,s.jsx)(c.Z,{value:i.pickupPoint||"",invalid:I&amp;&amp;!i.pickupPoint,onChange:e=&gt;{let{value:a}=e;return r("pickupPoint",a)},label:"Punto de origen",placeholder:"Escoge tu punto de origen",options:i.city?((null==e?void 0:null===(n=e.cities)||void 0===n?void 0:null===(t=n.find(e=&gt;e._id==i.city))||void 0===t?void 0:t.points)||[]).map(e=&gt;({value:e._id,label:"".concat(e.name," [").concat(e.comments,"]")})):[],className:"lg:col-span-2"})]}),(0,s.jsx)(o.Z,{multiline:!0,value:i.dietary||"",invalid:I&amp;&amp;!i.dietary,onChange:e=&gt;r("dietary",e),label:"DETALLES ALIMENTARIOS",wrapperclass:"lg:col-span-2"}),(0,s.jsx)(o.Z,{multiline:!0,value:i.comments||"",invalid:I&amp;&amp;!i.comments,onChange:e=&gt;r("comments",e),label:"PETICIONES ADICIONALES",wrapperclass:"lg:col-span-2"})]})},F=e=&gt;{let a=1==e?l:l.plusOne||{},s=!0;return a.firstName&amp;&amp;a.lastName&amp;&amp;a.email&amp;&amp;new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/).test(a.email)&amp;&amp;a.phone&amp;&amp;a.company&amp;&amp;a.brand&amp;&amp;a.dni&amp;&amp;f(a.dni)&amp;&amp;a.sex&amp;&amp;a.size&amp;&amp;a.dietary&amp;&amp;a.comments&amp;&amp;(!l.origin||"66619e293a3cc7a13773e75a"==l.origin.toString()||a.city)&amp;&amp;(!l.origin||"66619e293a3cc7a13773e75a"==l.origin.toString()||a.pickupPoint)||(s=!1),s},L=async()=&gt;{if(F(1)&amp;&amp;("double"!=l.inviteType||F(2)))try{await u.Z.service("invitees").patch(l._id,l),y("Hemos recibido tu datos correctamente"),E("Pr\xf3ximamente horas recibir\xe1s un correo electr\xf3nico con m\xe1s informaci\xf3n"),N(!0),S(!1),M(l.phone&amp;&amp;""!=l.phone)}catch(e){console.log(e),y("Error desconocido"),E("Por favor, vu\xe9lvelo a intentar m\xe1s tarde o contacta con infoexperienciabarcelona@traves\xedamsm.com"),N(!0)}else S(!0),y("Error de validaci\xf3n"),E("Por favor, comprueba los campos marcados en rojo"),N(!0)};return A?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("main",{className:"flex min-h-screen flex-col items-stretch bg-basegrey",children:[(0,s.jsx)(n.Z,{}),(0,s.jsx)("div",{className:"flex flex-col flex-1 justify-center items-center",children:(0,s.jsx)(i.Z,{children:(0,s.jsxs)("div",{className:"flex flex-col md:flex-row px-4 md:px-14 items-start",children:[(0,s.jsx)(t.default,{src:"/copalogo.svg",alt:"Mahou San Miguel Copa Am\xe9rica",className:"self-center md:self-start md:mr-20",width:310,height:90,priority:!0}),(0,s.jsxs)("div",{className:"mt-12 md:mt-0 mb-6",children:[(0,s.jsx)("h2",{className:"text-2xl condensed mb-4",children:"Ya rellenaste este formulario con \xe9xito."}),(0,s.jsx)("p",{className:"",children:"PARA CUALQUIER DUDA, SUGERENCIA, O CAMBIOS POR INDICAR, CONTACTA CON:"}),(0,s.jsx)("p",{className:"mt-4",children:(0,s.jsx)("a",{className:"text-[#DC0019] decoration-none",href:"mailto:infoexperienciabarcelona@travesiamsm.com",children:"infoexperienciabarcelona@travesiamsm.com"})}),(0,s.jsxs)("p",{className:"mt-4",children:["+34 911 81 24 10",(0,s.jsx)("br",{}),"10.00h a 17.30h de Lunes a Viernes (Junio, Septiembre y Octubre)",(0,s.jsx)("br",{}),"09.00h a 15.00h de Lunes a Viernes (Julio y Agosto)"]})]})]})})}),(0,s.jsx)(p.Z,{})]}),(0,s.jsx)(h.Z,{show:j,close:()=&gt;N(!1),popupStyle:C,title:w,text:Z})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("main",{className:"flex min-h-screen flex-col items-stretch bg-basegrey",children:[(0,s.jsx)(n.Z,{}),(0,s.jsx)("div",{className:"flex flex-col flex-1 justify-center items-center",children:(0,s.jsxs)(i.Z,{children:[(0,s.jsxs)("div",{className:"flex flex-col md:flex-row px-4 md:px-14 items-start",children:[(0,s.jsx)(t.default,{src:"/copalogo.svg",alt:"Mahou San Miguel Copa Am\xe9rica",className:"self-center md:self-start md:mr-20",width:310,height:90,priority:!0}),(0,s.jsxs)("div",{className:"mt-12 md:mt-0",children:[(0,s.jsx)("h2",{className:"text-2xl condensed mb-4",children:"Bienvenidos a Traves\xeda Mahou San Miguel"}),(0,s.jsx)("p",{className:"",children:"\xa1Enhorabuena! Est\xe1s a punto de vivir una experiencia \xfanica acompa\xf1ando al American Magic con Mahou San Miguel en la Copa de Am\xe9rica. Por favor, rellena este cuestionario con tus datos personales para que todo vaya como la seda. S\xf3lo te llevar\xe1 unos minutos y nos ayudar\xe1s a organizar tu experiencia con todo lujo de detalles. \xa1Avanti!"})]})]}),(0,s.jsx)("div",{className:"relative h-px bg-[#D9D9D9] mt-20 mb-12",children:(0,s.jsx)("h2",{className:"condensed text-[#636363] text-2xl bg-white px-3 text-center absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",children:"FORMULARIO DE DATOS"})}),(0,s.jsxs)("div",{className:"px-4 md:px-12 mb-8",children:[(0,s.jsx)(r.Z,{title:"INFORMACI\xd3N VIAJE",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,s.jsx)(m.Z,{value:l.registrationDate,positive:!0,label:"FECHA DE LA INVITACI\xd3N"}),(0,s.jsx)(m.Z,{value:"none"==l.hotel?"No incluido":"Confirmado del ".concat(g()(l.checkin).format("DD/MM")," al ").concat(g()(l.checkout).format("DD/MM")," 2024)"),positive:!0,label:"ALOJAMIENTO"}),(0,s.jsx)(m.Z,{value:l.transportation?"Incluido":"No incluido",positive:!0,label:"TRANSPORTE"}),(0,s.jsx)(m.Z,{value:"double"==l.inviteType?"Doble":"Individual",positive:!0,label:"TIPO DE INVITACI\xd3N"})]})}),(0,s.jsx)(d.Z,{magnitude:"sm"}),(0,s.jsxs)(r.Z,{children:[(0,s.jsx)("div",{className:"relative h-px bg-[#D9D9D9] mt-5 md:mt-0 mb-7 md:mb-10",children:(0,s.jsxs)("h2",{className:"condensed text-[#636363] uppercase bg-white pr-3 absolute top-[50%] left-[0] translate-y-[-50%]",children:["Invitado","double"==l.inviteType?" 1":null]})}),T(1),"double"==l.inviteType&amp;&amp;(0,s.jsxs)("div",{className:"mt-12",children:[(0,s.jsx)("div",{className:"relative h-px bg-[#D9D9D9] mt-5 md:mt-0 mb-7 md:mb-10",children:(0,s.jsx)("h2",{className:"condensed text-[#636363] uppercase bg-white pr-3 absolute top-[50%] left-[0] translate-y-[-50%]",children:"Invitado 2"})}),T(2)]})]})]}),(0,s.jsx)("button",{onClick:L,className:"mx-12 self-stretch bg-[#DC0019] text-white text-2xl condensed uppercase px-4 justify-center h-[70px] rounded-[3px] flex items-center",children:(0,s.jsx)("span",{className:"",children:"ENVIAR FORMULARIO"})})]})}),(0,s.jsx)(p.Z,{})]}),(0,s.jsx)(h.Z,{show:j,close:()=&gt;N(!1),popupStyle:C,title:w,text:Z})]})}},542:function(e,a,l){"use strict";var s=l(7437);l(2265),a.Z=e=&gt;(0,s.jsx)("div",{className:"bg-white drop-shadow-[0_4px_15px_rgba(0,0,0,0.03)] pt-14 pb-8 mx-4 md:mx-16 max-w-[1200px] mb-8 md:mb-24 flex flex-col",children:e.children})},6496:function(e,a,l){"use strict";var s=l(7437);l(2265),a.Z=e=&gt;(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h3",{className:"text-[#636363] condensed",children:e.title}),(0,s.jsx)("p",{className:"text-[#D9D9D9]",children:e.subtitle}),(0,s.jsxs)("div",{className:"flex flex-col border border-[#D9D9D9] mt-2 rounded-[3px]",children:[(0,s.jsx)("div",{className:"pt-4 md:pt-11 pb-8 px-4 md:px-8 flex flex-col",children:e.children}),e.footer]})]})},9625:function(e,a,l){"use strict";var s=l(7437);l(2265);var t=l(7138);l(6648),a.Z=e=&gt;(0,s.jsxs)("div",{className:"md:h-[65px] px-8 py-8 md:py-0 bg-[#E5E5E5] flex flex-col md:flex-row items-center justify-between text-center md:text-left",children:[(0,s.jsxs)("p",{className:"text-[#636363] my-1 md:my-0",children:["Si necesitas ayuda escr\xedbenos a ",(0,s.jsx)("a",{href:"mailto:infoexperienciabarcelona@travesiamsm.com",className:"text-[#DC0019] decoration-none",children:"infoexperienciabarcelona@travesiamsm.com"})]}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row ",children:[(0,s.jsx)(t.default,{target:"_blank",href:"/privacidad",className:"my-1 md:my-0 text-[#636363] decoration-none md:mr-4",children:"Pol\xedtica de privacidad"}),(0,s.jsx)(t.default,{target:"_blank",href:"/aviso",className:"my-21 md:my-0 text-[#636363] decoration-none",children:"Aviso legal"})]})]})},4545:function(e,a,l){"use strict";var s=l(7437);l(2265);var t=l(6648);a.Z=e=&gt;(0,s.jsx)("div",{className:"h-24 pl-5 mb-4 md:mb-24 bg-white flex items-center",children:(0,s.jsx)(t.default,{src:"/mahoulogo.svg",alt:"Mahou San Miguel",className:"mr-20 w-24 md:w-auto",width:209,height:66,priority:!0,unoptimized:!0})})},1414:function(e,a,l){"use strict";var s=l(7437);l(2265),a.Z=e=&gt;{let a=e.transform?e.transform(e.value):e.value;return(0,s.jsxs)("div",{className:"flex flex-col ".concat(e.positive?"items-start":""," ").concat(e.wrapperclass||null),children:[(0,s.jsx)("label",{className:"condensed uppercase text-center md:text-left",children:e.label}),e.positive?(0,s.jsx)("div",{className:"".concat(e.className),children:a}):(0,s.jsx)("div",{className:"text-[#DC0019] text-center md:text-right text-[24px] condensed rounded-[3px] bg-[#F5F5F5] outline-none px-3 py-1 ".concat(e.className),children:a})]})}},9477:function(e,a,l){"use strict";var s=l(7437);l(2265),a.Z=e=&gt;{let{show:a,title:l,text:t,close:n,popupStyle:i}=e;return a?(0,s.jsx)("div",{className:"bg-[rgba(217,217,217,0.5)] fixed top-0 right-0 left-0 bottom-0 overflow-hidden",children:(0,s.jsxs)("div",{className:"rounded-[10px] flex flex-col items-center bg-white p-12 absolute left-[50%] top-[50%] -translate-x-[50%] -translate-y-[50%]",children:["ok"==i&amp;&amp;(0,s.jsxs)("svg",{className:"mb-4",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("g",{"clip-path":"url(#clip0_29_279)",children:(0,s.jsx)("path",{d:"M7.6875 10.5L11.6875 14.5L22.875 3.375L24.6875 5.1875L11.6875 18.1875L5.875 12.375L7.6875 10.5ZM23.375 13H26C26 16.5834 24.7292 19.6458 22.1875 22.1875C19.6458 24.7292 16.5834 26 13 26C9.41665 26 6.35418 24.7292 3.8125 22.1875C1.27082 19.6458 0 16.5834 0 13C0 9.41665 1.27082 6.35418 3.8125 3.8125C6.35418 1.27082 9.41665 0 13 0C14.6667 0 16.2917 0.33333 17.875 1L15.875 3C14.9583 2.75 14 2.625 13 2.625C10.125 2.625 7.67709 3.63541 5.65625 5.65625C3.63541 7.67709 2.625 10.125 2.625 13C2.625 15.875 3.63541 18.3229 5.65625 20.3438C7.67709 22.3646 10.125 23.375 13 23.375C15.875 23.375 18.3229 22.3646 20.3438 20.3438C22.3646 18.3229 23.375 15.875 23.375 13Z",fill:"#DC0019"})}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_29_279",children:(0,s.jsx)("rect",{width:"26",height:"26",fill:"white"})})})]}),"ko"==i&amp;&amp;(0,s.jsxs)("svg",{className:"mb-4",width:"26",height:"26",id:"Capa_1","data-name":"Capa 1",xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 26 26",children:[(0,s.jsx)("path",{class:"cls-1",fill:"#DC0019",d:"M2.6,13H0c0-3.6,1.3-6.6,3.8-9.2S9.4,0,13,0s6.6,1.3,9.2,3.8c2.5,2.5,3.8,5.6,3.8,9.2s-1.3,6.6-3.8,9.2c-2.5,2.5-5.6,3.8-9.2,3.8s-3.3-.3-4.9-1l2-2c.9.3,1.9.4,2.9.4,2.9,0,5.3-1,7.3-3s3-4.5,3-7.3-1-5.3-3-7.3-4.5-3-7.3-3-5.3,1-7.3,3-3,4.5-3,7.3Z"}),(0,s.jsx)("rect",{class:"cls-1",fill:"#DC0019",x:"11.5",y:"5.4",width:"2.6",height:"15.6",transform:"translate(13.1 -5.2) rotate(45)"}),(0,s.jsx)("rect",{class:"cls-1",fill:"#DC0019",x:"11.5",y:"5.4",width:"2.6",height:"15.6",transform:"translate(31.2 13.5) rotate(135)"})]}),(0,s.jsx)("h2",{className:"uppercase condensed text-2xl",children:l}),(0,s.jsx)("p",{className:"",children:t}),(0,s.jsx)("button",{onClick:n,className:"uppercase mt-8 condensed text-white rounded-[3px] bg-black px-16 py-2",children:"Cerrar"})]})}):null}},1535:function(e,a,l){"use strict";var s=l(7437);l(2265),a.Z=e=&gt;{let{name:a,onChange:l}=e,t=e=&gt;{l(e.target.value)};return(0,s.jsxs)("div",{className:"flex flex-col ".concat(e.wrapperclass||null),children:[(0,s.jsxs)("div",{className:"flex flex-col items-start ",children:[(0,s.jsx)("label",{className:"condensed uppercase",children:e.label}),!!e.help&amp;&amp;(0,s.jsx)("small",{className:"condensed text-[#D9D9D9] text-[14px]",children:e.help})]}),(0,s.jsx)("div",{className:"flex flex-col md:flex-row h-[45px] md:items-center mb-8 md:mb-0",children:e.options.map((l,n)=&gt;(0,s.jsxs)("label",{className:"mr-3",children:[(0,s.jsx)("input",{onChange:t,checked:e.value==l.value,name:a,value:l.value,type:"radio"})," ",l.label]},"option_".concat(n)))}),!!e.invalid&amp;&amp;(0,s.jsx)("small",{className:"condensed text-[#DC0019] text-[14px] mb-1",children:e.validationText||"Debes seleccionar una opci\xf3n"})]})}},4505:function(e,a,l){"use strict";var s=l(7437);l(2265);var t=l(4390),n=l(832);let i=e=&gt;{let a=e.children.split(/(\[.*\])/ig).map((a,l)=&gt;"["==a.substr(0,1)?(0,s.jsx)("span",{className:"italic",children:a.substr(1,a.length-2)},"".concat(e.innerProps.id,"_").concat(l)):a);return(0,s.jsx)(t.c.Option,{...e,children:(0,s.jsx)("div",{className:"flex flex-col",children:a})})};a.Z=e=&gt;(0,s.jsxs)("div",{className:"flex flex-col ".concat(e.className),children:[(0,s.jsx)("label",{className:"condensed uppercase",children:e.label}),!!e.help&amp;&amp;(0,s.jsx)("small",{className:"condensed text-[#D9D9D9] text-[14px] mb-1",children:e.help}),(0,s.jsx)(n.ZP,{required:e.required,className:"w-full outline-none",placeholder:e.placeholder,components:{IndicatorSeparator:()=&gt;null,Option:i},defaultValue:e.defaultValue,styles:{dropdownIndicator:(e,a)=&gt;({...e,color:"#636363"}),placeholder:(e,a)=&gt;({...e,color:"#636363",whiteSpace:"nowrap",textOverflow:"ellipsis"}),control:(a,l)=&gt;({...a,borderColor:e.invalid?"#DC0019":e.value?"#000000":"#D9D9D9",borderWidth:1,padding:3,borderRadius:3,marginTop:0,backgroundColor:"#FFFFFF",width:"100%",color:"#000000",outline:"none",boxShadow:"none"}),option:(e,a)=&gt;({...e,color:a.isSelected?"#FFFFFF":"#666666"})},value:e.options.find(a=&gt;a.value==e.value)||null,getValue:e.getValue,onChange:e.onChange,options:e.options}),!!e.invalid&amp;&amp;(0,s.jsx)("small",{className:"condensed text-[#DC0019] text-[14px] mb-1",children:"Debes seleccionar una opci\xf3n"})]})},7493:function(e,a,l){"use strict";var s=l(7437);l(2265),a.Z=e=&gt;(0,s.jsx)("div",{className:"flex ".concat({sm:"h-6",md:"h-12",lg:"h-24"}[e.magnitude]," w-full")})},9805:function(e,a,l){"use strict";var s=l(7437);l(2265),a.Z=e=&gt;{let{value:a,onChange:l}=e;return(0,s.jsxs)("div",{className:"flex flex-col ".concat(e.wrapperclass||null),children:[(0,s.jsxs)("div",{className:e.helpHorizontal?"flex items-end":"flex flex-col items-start",children:[(0,s.jsx)("label",{className:"condensed uppercase",children:e.label}),!!e.help&amp;&amp;(0,s.jsx)("small",{className:"".concat(e.helpHorizontal?"ml-2":""," condensed text-[#D9D9D9] text-[14px]"),children:e.help})]}),e.multiline?(0,s.jsx)("textarea",{rows:"4",value:a,...e,onChange:e=&gt;{l(e.target.value)},className:"mt-1 resize-none rounded-[3px] border ".concat(e.invalid?"border-[#DC0019]":a&amp;&amp;""!=a?"border-black":"border-[#D9D9D9]"," outline-none px-3 py-2 ").concat(e.className||"")}):(0,s.jsx)("input",{type:e.type||"text",value:a,...e,onChange:e=&gt;{l(e.target.value)},className:"mt-1 rounded-[3px] border ".concat(e.invalid?"border-[#DC0019]":a&amp;&amp;""!=a?"border-black":"border-[#D9D9D9]"," outline-none px-3 py-2 ").concat(e.className||"")}),!!e.invalid&amp;&amp;(0,s.jsx)("small",{className:"condensed text-[#DC0019] text-[14px] mb-1",children:e.validationText||"Este campo es obligatorio"})]})}},154:function(e,a,l){"use strict";var s=l(8694),t=l(8686),n=l.n(t),i=l(8472);let o=(0,s.feathers)(),c=n()("https://mahou-api-18b483a5d83b.herokuapp.com");o.configure(c.axios(i.Z)),a.Z=o}},function(e){e.O(0,[30,114,971,23,744],function(){return e(e.s=7430)}),_N_E=e.O()}]);</pre></body></html>