1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[723],{30236:function(e,t,l){Promise.resolve().then(l.bind(l,44170)),Promise.resolve().then(l.bind(l,86451)),Promise.resolve().then(l.bind(l,45945)),Promise.resolve().then(l.bind(l,65698)),Promise.resolve().then(l.bind(l,69696)),Promise.resolve().then(l.bind(l,89185)),Promise.resolve().then(l.bind(l,267))},86451:function(e,t,l){"use strict";l.d(t,{default:function(){return m}});var a=l(57437),s=l(91322),n=l(14245),r=l(31877),i=l(7909),o=l(70459),c=l(267),d=l(102);function m(e){let{className:t,recaptcha:l}=e,m=n.Ry({email:n.Z_().email("Ingrese un email v\xe1lido").required("Este campo es obligatorio")}),{handleSubmit:u,error:x,sending:p,success:h}=(0,i.Z)(l);return(0,a.jsxs)("div",{className:(0,c.cn)("text-center flex flex-col w-full",t),children:[(0,a.jsx)(s.J9,{initialValues:{fullName:"",email:"",phone:"",address:"",company:"",web:"",message:"",templateId:3},validationSchema:m,onSubmit:(e,t)=>{let{resetForm:l}=t;u(o.Z.email,e,l)},children:e=>{let{handleSubmit:t,values:l,handleBlur:n,handleChange:r,isSubmitting:i}=e;return(0,a.jsxs)("form",{onSubmit:t,className:"relative mt-4 grid gap-4 grid-cols-1 lg:grid-cols-2 w-full",autoComplete:"off",children:[(0,a.jsxs)("div",{className:"text-left",children:[(0,a.jsx)("label",{className:"mb-2 block text-sm",htmlFor:"fullName",children:"Nombre y apellido"}),(0,a.jsx)(c.Input,{onChange:r,onBlur:n,value:l.fullName,id:"fullName",name:"fullName",placeholder:"Ej: Juan G\xf3mez",className:"!rounded-[8px] text-custom-primary-500"})]}),(0,a.jsxs)("div",{className:"text-left",children:[(0,a.jsx)("label",{className:"mb-2 block text-sm",htmlFor:"email",children:"Mail"}),(0,a.jsx)(c.Input,{onChange:r,onBlur:n,value:l.email,id:"email",name:"email",placeholder:"Ej: [email protected]",className:"!rounded-[8px] text-custom-primary-500 "}),(0,a.jsx)(s.Bc,{className:"mb-1 justify-self-start text-left text-red-500",name:"email",component:"div"})]}),(0,a.jsxs)("div",{className:"text-left",children:[(0,a.jsx)("label",{className:"mb-2 block text-sm",htmlFor:"phone",children:"Tel\xe9fono"}),(0,a.jsx)(c.Input,{onChange:r,onBlur:n,value:l.phone,id:"phone",name:"phone",placeholder:"Ej: +54 (999) 999 9999",className:"!rounded-[8px] text-custom-primary-500"})]}),(0,a.jsxs)("div",{className:"text-left",children:[(0,a.jsx)("label",{className:"mb-2 block text-sm",htmlFor:"company",children:"Empresa / Instituci\xf3n"}),(0,a.jsx)(c.Input,{onChange:r,onBlur:n,value:l.company,id:"company",name:"company",placeholder:"Nombre de la empresa",className:"!rounded-[8px] text-custom-primary-500"})]}),(0,a.jsxs)("div",{className:"text-left",children:[(0,a.jsx)("label",{className:"mb-2 block text-sm",htmlFor:"address",children:"Direcci\xf3n"}),(0,a.jsx)(c.Input,{onChange:r,onBlur:n,value:l.address,id:"address",name:"address",placeholder:"Ej: Sarmiento 1847",className:"!rounded-[8px] text-custom-primary-500"})]}),(0,a.jsxs)("div",{className:"text-left",children:[(0,a.jsx)("label",{className:"mb-2 block text-sm",htmlFor:"web",children:"WEB"}),(0,a.jsx)(c.Input,{onChange:r,onBlur:n,value:l.web,id:"web",name:"web",placeholder:"URL de la web",className:"!rounded-[8px] text-custom-primary-500"})]}),(0,a.jsxs)("div",{className:"text-left lg:col-span-2",children:[(0,a.jsx)("label",{className:"mb-2 block text-sm",htmlFor:"message",children:"Mensaje"}),(0,a.jsx)(c.Textarea,{onChange:r,onBlur:n,value:l.message,id:"message",name:"message",placeholder:"Ej: Quiero saber m\xe1s sobre el producto...",className:"!rounded-[8px] text-custom-primary-500"})]}),(0,a.jsx)("div",{className:"lg:col-span-2 flex justify-end",children:(0,a.jsxs)(c.Button,{disabled:p||i,type:"submit",className:"w-full lg:w-auto justify-center !rounded-[8px]",children:["ENVIAR FORMULARIO ",(0,a.jsx)(d.x,{icon:"send"})]})}),(h||x)&&(0,a.jsx)("div",{className:"mt-2 py-2 px-6 rounded-sm col-span-full w-auto inline-block mx-auto bg-secondary text-secondary-foreground transition-all",children:(0,a.jsxs)("h2",{className:"text-lg",children:[h&&"Consulta enviada",x&&"Ha ocurrido un error, intente nuevamente"]})})]})}}),(0,a.jsx)(r.default,{src:"https://www.google.com/recaptcha/api.js?render=".concat(l)})]})}},69696:function(e,t,l){"use strict";l.d(t,{default:function(){return i}});var a=l(57437),s=l(267),n=l(2265),r=l(23542);function i(e){let{data:t}
1=e,[l,i]=(0,n.useState)(),o=(0,n.useRef)(null);return(0,r.$)(l,o),(0,a.jsx)("section",{className:"relative",children:(0,a.jsxs)("div",{className:"relative bg-gradient-to-b from-[#1C345A] to-[#3C6FC0] mb-[150px] sm:mb-[230px] lg:mb-[300px]",children:[(0,a.jsxs)("div",{className:"container pt-32 pb-44 flex flex-col gap-10",children:[(0,a.jsx)("h2",{className:"text-2xl lg:text-5xl leading-[48px] font-bold text-white max-w-[970px]",children:t.membershipTitle}),t.membershipDescription&&(0,a.jsx)("p",{className:"text-base text-white whitespace-break-spaces font-light leading-[24px] max-w-[970px]",children:t.membershipDescription})]}),t.membershipGallery&&t.membershipGallery.length>0&&(0,a.jsx)("div",{className:"absolute left-1/2 -translate-x-1/2 top-full -translate-y-[30%] w-full z-10",children:(0,a.jsxs)(s.Carousel,{ref:o,className:"relative",setApi:i,opts:{align:"start",dragFree:!0,containScroll:"trimSnaps"},children:[(0,a.jsx)(s.CarouselContent,{className:"my-5 px-1","data-carousel-content":!0,children:t.membershipGallery.map((e,t)=>(0,a.jsx)(s.CarouselItem,{className:"basis-full md:basis-1/2 pl-4",children:(0,a.jsx)(s.CardAllInside,{alt:"Gallery Image",className:"aspect-[2/1] w-full overflow-hidden rounded-2xl ",imageUrl:e.url||""})},t))}),(0,a.jsx)(s.CarouselPrevious,{className:"left-10"}),(0,a.jsx)(s.CarouselNext,{className:"right-10"})]})})]})})}},89185:function(e,t,l){"use strict";l.d(t,{default:function(){return i}});var a=l(57437),s=l(267),n=l(2265),r=l(23542);function i(e){var t;let{data:l}=e,[i,o]=(0,n.useState)(),c=(0,n.useRef)(null);return((0,r.$)(i,c),null==l?void 0:null===(t=l.benefitsValues)||void 0===t?void 0:t.length)?(0,a.jsxs)("section",{className:"relative overflow-hidden text-white pt-32 pb-16",children:[(0,a.jsx)("div",{className:"container flex flex-col gap-4",children:l.benefitsTitle&&(0,a.jsx)("h2",{className:"text-3xl font-bold text-[#4A4F53]",children:l.benefitsTitle})}),(0,a.jsxs)(s.Carousel,{ref:c,className:"py-10 relative",setApi:o,opts:{align:"start",dragFree:!0,containScroll:"trimSnaps"},children:[(0,a.jsx)(s.CarouselContent,{className:"my-5 px-1","data-carousel-content":!0,children:l.benefitsValues.map((e,t)=>{var l,n,r,i;return(0,a.jsx)(s.CarouselItem,{className:"basis-full sm:basis-1/2 md:basis-1/4 pl-4",children:(0,a.jsxs)("div",{className:"rounded-md w-full h-full flex flex-col items-center justify-center bg-[#E2EDFD] px-10 py-24 gap-5",children:[(0,a.jsx)("picture",{className:"flex gap-4",children:(0,a.jsx)("img",{src:(null===(n=e.logo)||void 0===n?void 0:null===(l=n[0])||void 0===l?void 0:l.url)||"",alt:(null===(i=e.logo)||void 0===i?void 0:null===(r=i[0])||void 0===r?void 0:r.alternativeText)||"",className:"object-cover size-[114px]"})}),(0,a.jsxs)("div",{className:"flex flex-col gap-4 text-center",children:[(0,a.jsx)("h3",{className:"text-lg font-bold text-custom-primary-500",children:e.title}),(0,a.jsx)("p",{className:"text-base text-custom-primary-500",children:e.description})]})]})},t)})}),(0,a.jsx)(s.CarouselPrevious,{className:"left-10"}),(0,a.jsx)(s.CarouselNext,{className:"right-10"}),l.benefitsValues.length>4&&(0,a.jsxs)("div",{className:"container flex items-center gap-2 mt-8",children:[(0,a.jsx)(s.CarouselDots,{className:"gap-0 w-full mt-0",dotClassName:"rounded-none h-[2px] grow bg-[#3685D9]",activeDotClassName:"bg-custom-primary-500"}),(0,a.jsx)(s.CarouselIndicator,{className:"shrink-0 text-sm text-custom-primary-500"})]})]})]}):null}},23542:function(e,t,l){"use strict";l.d(t,{$:function(){return s}});var a=l(2265);function s(e,t){(0,a.useEffect)(()=>{if(!e||!t.current)return;let l=t.current,a=null,s=null,n=()=>{let e=l.querySelector("[data-carousel-content]");if(!e)return null;let t=e.parentElement;for(;t&&t!==l;){let e=window.getComputedStyle(t);if("hidden"===e.overflow||"hidden"===e.overflowX)return t;t=t.parentElement}return null},r=setTimeout(()=>{(a=n())&&(s=e=>{if(!l.contains(e.target))return;let t=l.getBoundingClientRect();if(e.clientX>=t.left&&e.clientX<=t.right&&e.clientY>=t.top&&e.clientY<=t.bottom&&Math.abs(e.deltaY)>Math.abs(e.deltaX)){e.preventDefault(),e.stopPropagation();let t=e.deltaY;t=0===e.deltaMode?3*e.deltaY:1===e.deltaMode?2.5*e.deltaY:1.5*e.deltaY,a.scrollLeft+=t}},a.addEventListener("wheel",s,{passive:!1}),l.addEventListener("wheel",s,{passive:!1}))},100);return()=>{clearTimeout(r),a&&s&&(a.removeEventListener("wheel",s),l.removeEventListener("wheel",s))}},[e,t])}},7909:function(e,t,l){"use strict";l.d(t,{Z:function(){return r}});var a=l(16463),s=l(2265);let n=l(47919).Z.create({headers:{Authorization:"Bearer ".concat("57fd220ce975f6ce8ae61da3fc06255b152ad1856a4859ec02a9708c0c
15fc93026c41b6ea8782be9b081050b4822db416441a85af1836176220a5e938635287876ccc6b6da20daa7bbbc032dab2e815370c0a33d8127981c100409c2855aa308b816d320589e2b7a7af1896af7361f9097774cd2645c51b2dd73f24616a60d99"),Accept:"application/json"}});var r=e=>{let t=(0,a.usePathname)(),[l,r]=(0,s.useState)(!1),[i,o]=(0,s.useState)(!1),[c,d]=(0,s.useState)(!1);return{handleSubmit:(l,a,s)=>{window.grecaptcha.ready(()=>{r(!0),window.grecaptcha.execute(e,{action:"submit"}).then(e=>{let i=new FormData;Object.entries(a).forEach(e=>{let[t,l]=e;i.append(t,l)}),i.append("url","https://www.cdaaca.org.ar"+t),i.append("gRecaptchaResponse",e),n.post(l,i).then(function(){r(!1),o(!0),setTimeout(()=>o(!1),5e3),s()}).catch(function(e){console.log(e),r(!1),d(!0),setTimeout(()=>d(!1),5e3)})})})},error:c,sending:l,success:i}}},44170:function(e,t,l){"use strict";l.r(t),t.default={src:"/_next/static/media/fondo-contactForm.1b3fe63d.png",height:998,width:1480,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAM1BMVEX////9/v79/f78/f77/f77/P76/P75+/75+/33+v32+f31+f30+P3z+P3z9/3y9/3x9/xtUOdJAAAALElEQVR42hXHQQIAEAgEwIhobfj/a2luI6l0M4l1ruVUtfkndczpAAQ7giQfE9EBI5UaDw0AAAAASUVORK5CYII=",blurWidth:8,blurHeight:5}}},function(e){e.O(0,[950,231,919,334,868,393,117,824,971,23,744],function(){return e(e.s=30236)}),_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.