1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3451],{51547:function(e,t,l){"use strict";var n=l(57437);l(2265);var s=l(29501),a=l(25134),o=l(16682),r=l.n(o);t.Z=e=>{let{control:t,name:l,type:o="text",placeholder:i,icon:c,iconRight:d,errors:u,customClass:m,showEyePassword:_=!1,disabled:x=!1,onlyNumber:p=!1,onBlur:v,component:f,rules:h,mask:b,...y}=e,j={type:o,inputName:l,icon:c,placeholder:i,customClass:m,error:null==u?void 0:u[l],disabled:null==x?void 0:x[l],onBlur:v,onlyNumber:p,iconRight:d,showEyePassword:_};return(0,n.jsx)(s.Qr,{control:t,name:l,rules:h,render:e=>{var t;let{field:l}=e,s=null!==(t=l.value)&&void 0!==t?t:"";return f?(0,n.jsx)(f,{...l,value:s,placeholder:i,...y}):"phone"===b?(0,n.jsx)(r(),{mask:"(99) 99999-9999",value:s,onChange:l.onChange,onBlur:e=>{l.onBlur(),null==v||v(e)},maskChar:null,children:e=>{var t;let{ref:o,...r}=e;return(0,n.jsx)(a.Z,{...l,...r,value:null!==(t=e.value)&&void 0!==t?t:s,ref:e=>{var t;null===(t=l.ref)||void 0===t||t.call(l,e),null==o||o(e)},...j})}}):(0,n.jsx)(a.Z,{...l,...j,value:s,onBlur:e=>{l.onBlur(),null==v||v(e)}})}})}},25134:function(e,t,l){"use strict";var n=l(57437),s=l(2265),a=l(33880),o=l(60129),r=l.n(o);let i=(0,s.forwardRef)((e,t)=>{let{type:l,inputName:o,placeholder:i,onlyNumber:c=!1,customClass:d,icon:u,iconRight:m,showEyePassword:_=!1,disabled:x=!1,error:p,...v}=e,f=(0,s.useRef)(null),[h,b]=(0,s.useState)(null),[y,j]=(0,s.useState)(!1),g="".concat((0,s.useId)(),"-error"),N=[v["aria-describedby"],p?g:null].filter(Boolean).join(" ")||void 0;return(0,s.useEffect)(()=>{let e=f.current;if(e){let t=e.offsetHeight;e.style.bottom="-".concat(t+4,"px")}let t=()=>{if(e){let t=e.offsetHeight;e.style.bottom="-".concat(t+4,"px")}};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[h,p]),(0,s.useEffect)(()=>{f.current&&b(f.current)},[p]),(0,n.jsxs)("div",{className:"input ".concat(r().input," ").concat(p?r().input_error:""," ").concat(u?r().icon:""," ").concat(d),children:[u&&(0,n.jsx)("div",{className:r().iconItem,children:u}),(0,n.jsx)("input",{...v,"aria-invalid":!!p||v["aria-invalid"],"aria-describedby":N,ref:t,type:y?"text":l,name:o,placeholder:i,disabled:x,onKeyPress:e=>c&&!/[0-9+() ]/.test(e.key)&&e.preventDefault(),onPaste:e=>{if(!c)return;e.preventDefault();let t=e.clipboardData.getData("text").replace(/[^0-9+() ]/g,"");document.execCommand("insertText",!1,t)}}),m&&(0,n.jsx)("div",{className:r().iconItemRight,children:m}),!m&&_&&(0,n.jsx)("div",{className:r().iconItemRight,children:(0,n.jsx)("button",{type:"button",onClick:()=>j(!y),style:{background:"transparent",border:"none",cursor:"pointer"},children:y?(0,n.jsx)("span",{className:r().boxEye,role:"img","aria-label":"eye closed",children:(0,a.N6)(20,20)}):(0,n.jsx)("span",{className:r().boxEye,role:"img","aria-label":"eye",children:(0,a.bA)(20,20)})})}),p&&(0,n.jsxs)("small",{id:g,ref:f,className:"".concat(r().input_error_validation),children:[(0,a.zM)(12,12,"#A5122F"),p.message]})]})});i.displayName="InputCustom",t.Z=i},1876:function(e,t,l){"use strict";l.d(t,{default:function(){return p}});var n=l(57437),s=l(38608),a=l(2265),o=l(99376),r=l(29501),i=l(33880),c=l(51547),d=l(58183),u=l.n(d),m=l(8877),_=l(69152);let x=e=>{let{status:t,onValidated:l,postUrl:s}=e,{lng:d}=(0,o.useParams)()||{},[x,p]=(0,a.useState)(null),[v,f]=(0,a.useState)({default:""}),{control:h,handleSubmit:b,setValue:y,formState:{errors:j}}=(0,r.cI)();return(0,a.useEffect)(()=>{t===_.CC.SUCCESS?(p("pt"===d?"Obrigado! Inscri\xe7\xe3o realizada com sucesso!":"en"===d?"Thank you! Registration successful!":"es"===d?"Gracias. \xa1Registro exitoso!":"Obrigado! Inscri\xe7\xe3o realizada com sucesso!"),y("name",""),y("email","")):t===_.CC.ERROR&&p("pt"===d?"E-mail j\xe1 cadastrado!":"en"===d?"E-mail already registered":"es"===d?"Correo electr\xf3nico ya registrado":"E-mail j\xe1 cadastrado!");let e=setTimeout(()=>p(null),7e3);return()=>clearTimeout(e)},[t,d,y]),(0,a.useEffect)(()=>{(async()=>{f(await (0,m.R)(d,"newsletter"))})()},[d]),(0,n.jsx)("section",{id:u().newsletter,children:(0,n.jsxs)("div",{className:u().grid,children:[(0,n.jsxs)("div",{className:u().textContent,children:[(0,n.jsx)("h3",{className:u().title,children:null==v?void 0:v.title}),(0,n.jsx)("p",{className:u().text,children:null==v?void 0:v.subt
1itle})]}),(0,n.jsx)("form",{className:u().form,onSubmit:b(e=>{e.email&&e.name&&e.email.includes("@")&&l({EMAIL:e.email,MERGE1:e.name,"group[46362][8]":8})}),action:s,children:(0,n.jsxs)("div",{className:"grid grid-cols-12",style:{gap:"inherit"},children:[(0,n.jsx)("div",{className:"col-span-12 lg:col-span-5",children:(0,n.jsx)(c.Z,{control:h,type:"text",name:"name",placeholder:null==v?void 0:v.name,errors:j,icon:(0,i.Yv)(20,20,"#000000"),customClass:u().input})}),(0,n.jsx)("div",{className:"col-span-12 lg:col-span-5",children:(0,n.jsx)(c.Z,{control:h,type:"email",name:"email",placeholder:null==v?void 0:v.email,errors:j,icon:(0,n.jsx)(i.LQ,{}),customClass:u().input})}),(0,n.jsx)("div",{className:"col-span-12 lg:col-span-2 lg:block flex justify-center",children:(0,n.jsx)("button",{className:u().btn,children:(0,n.jsx)("span",{className:u().text,children:null==v?void 0:v.btnSend})})})]})}),x&&(0,n.jsx)("div",{className:"mt-4",style:{textAlign:"center"},children:x})]})})};function p(){let e="https://c2rio.us14.list-manage.com/subscribe/post?u=f4575b66d53bf434464e4b9ae&id=d64793f209";return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s.Z,{url:e,render:t=>{let{subscribe:l,status:s}=t;return(0,n.jsx)(x,{status:s,onValidated:e=>l(e),postUrl:e})}})})}},61121:function(e,t,l){"use strict";l.d(t,{FeedbackModalProvider:function(){return u},X:function(){return m}});var n=l(57437),s=l(2265),a=l(54887),o=l(35571),r=l.n(o),i=e=>{let{show:t,setShow:l,title:o,children:i,buttonText:c,className:d,isBlock:u=!0,closeOnOverlayClick:m=!0,onClose:_}
1=e,[x,p]=(0,s.useState)(!1);if((0,s.useEffect)(()=>{p(!0)},[]),!t||!x)return null;let v=()=>{_?_():l(!1)};return(0,a.createPortal)((0,n.jsx)("div",{className:r().modalOverlay,onClick:()=>m&&v(),children:(0,n.jsxs)("div",{className:"".concat(d," ").concat(r().modalContent),onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("h3",{className:r().modalHeader,children:o}),(0,n.jsx)("div",{className:"".concat(r().modalBody," ").concat(u&&r().modalColumn),children:i}),(0,n.jsx)("div",{className:r().modalFooter,children:(0,n.jsx)("button",{type:"button",className:r().modalButton,onClick:v,children:c})})]})}),document.body)},c=l(33880);let d=(0,s.createContext)({showFeedbackModal:()=>{}});function u(e){var t;let{children:l}=e,[a,o]=(0,s.useState)({show:!1,message:"",title:"",type:"success",buttonText:"Fechar",content:void 0}),r=(0,s.useCallback)((e,t)=>{var l,n,s;o({show:!0,message:e,title:null!==(l=null==t?void 0:t.title)&&void 0!==l?l:(null==t?void 0:t.type)==="error"?"Aten\xe7\xe3o":"Sucesso",type:null!==(n=null==t?void 0:t.type)&&void 0!==n?n:"success",buttonText:null!==(s=null==t?void 0:t.buttonText)&&void 0!==s?s:"Fechar",content:null==t?void 0:t.content})},[]),u="error"===a.type?"rgb(189, 0, 42)":"rgb(57, 180, 74)",m="error"===a.type?"#bd002a22":"#39b44a22";return(0,n.jsxs)(d.Provider,{value:{showFeedbackModal:r},children:[l,(0,n.jsx)(i,{show:a.show,setShow:()=>o(e=>({...e,show:!1})),title:a.title,buttonText:a.buttonText,children:(0,n.jsxs)("div",{className:"flex flex-col w-full",children:[(0,n.jsx)("div",{className:"flex justify-center",style:{backgroundColor:m,borderRadius:"50%",padding:"10px",margin:"0 auto"},children:(0,c.zM)(30,30,u)}),null!==(t=a.content)&&void 0!==t?t:(0,n.jsx)("div",{className:"mt-4 text-center text-black",children:a.message})]})})]})}let m=()=>(0,s.useContext)(d)},89400:function(e,t,l){"use strict";l.d(t,{K:function(){return s}});var n=l(34189);function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"top";setTimeout(()=>{"top"!==e?n.OK.scrollTo(e,{duration:750,delay:100,smooth:"easeInOutQuart",offset:-200}):n.NY.scrollToTop({duration:750,delay:100,smooth:"easeInOutQuart",offset:0})},200)}},60129:function(e){e.exports={input:"styles_input__5g5TV",icon:"styles_icon__DA08q",iconItem:"styles_iconItem___RtIj",iconItemRight:"styles_iconItemRight__k_B_H",boxEye:"styles_boxEye__aCo5n",formGroup:"styles_formGroup__iescW",input_error:"styles_input_error__ujpR8",input_error_validation:"styles_input_error_validation__Wg3QN"}},35571:function(e){e.exports={modalOverlay:"modalFeedback_modalOverlay__kQEtp",modalContent:"modalFeedback_modalContent__hOTDH",modalHeader:"modalFeedback_modalHeader__wjFp2",modalBody:"modalFeedback_modalBody__Qzd_a",modalColumn:"modalFeedback_modalColumn__0ODQ2",modalFooter:"modalFeedback_modalFooter__dZ50K",modalButton:"modalFeedback_modalButton__ElfnS"}},58183:function(e){e.exports={newsletter:"styles_newsletter__HZAfh",grid:"styles_grid__2aS3y",textContent:"styles_textContent__Xr0JP",title:"styles_title__b0ntg",text:"styles_text__QNxt_",form:"styles_form__SetjF",input:"styles_input___bOos",inputName:"styles_inputName__9JrNN",inputEmail:"styles_inputEmail___L9i8",btn:"styles_btn__rtEzD"}}}]);
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.