1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6665],{76665:(e,t,l)=>{l.r(t),l.d(t,{default:()=>b});var a=l(85406),r=l(76367),s=l(30694),n=l(95155),o=l(12115),i=l(76250),d=l(50100),c=l(22995);function x(e,t){return(0,c.E)("w-full text-sm cursor-pointer uppercase h-12 max-md:h-10 max-md:!min-h-10 px-[25px] font-bold md:h-[48px] flex items-center justify-center group/cta border border-[transparent] transition-all duration-300 rounded-[16px]",!(null==e?void 0:e.backGround)&&"bg-primary",!(null==t?void 0:t.backGround)&&"hover:bg-secondary",(null==t?void 0:t.backGround)&&"hover:!bg-[var(--bg-hover)]",(null==t?void 0:t.borderColor)&&"hover:!border-[var(--bc-hover)]")}function u(e,t){return{backgroundColor:(null==e?void 0:e.backGround)?e.backGround:"transparent",borderColor:(null==e?void 0:e.borderColor)?e.borderColor:"transparent","--bg-hover":null==t?void 0:t.backGround,"--bc-hover":null==t?void 0:t.borderColor}}function m(e){var{label:t,standard:l,hover:a}=e;return(0,n.jsx)("span",{className:(0,c.E)("inline font-body text-xs md:text-sm font-bold group-hover/cta:font-bold transition-all duration-300",!(null==l?void 0:l.color)&&"text-white",!(null==a?void 0:a.color)&&"group-hover/cta:text-primary",(null==a?void 0:a.color)&&"group-hover/cta:!text-[var(--color-hover)]"),style:{color:null==l?void 0:l.color,"--color-hover":null==a?void 0:a.color},children:t})}function b(e){var t,l,b,p,h,f,v,{backgroundUrl:g,backgroundUrlMobile:j,empty:y,success:k,placeholderName:w,placeholderEmail:N,placeholderPhone:_,allowText:C,promotionalText:S}=e,{subscribeUser:E}=(0,d.f)(),T=g?{"--bg-desktop":"url(".concat(g,")"),"--bg-mobile":"url(".concat(j||g,")")}:void 0,I=g?"[background-image:var(--bg-desktop)] max-md:[background-image:var(--bg-mobile)]":"",[G,H]=(0,o.useState)(""),[L,M]=(0,o.useState)(""),[A,z]=(0,o.useState)(""),[P,q]=(0,o.useState)("idle"),[D,O]=(0,o.useState)(!1),B=null==(t=k.coupon)?void 0:t.couponCode;return"success"===P?(0,n.jsx)("div",{className:(0,c.E)("relative flex flex-wrap bg-[#f6f6f6] md:py-[95px] py-7 h-auto bg-cover bg-fixed bg-center",I),style:(0,s._)((0,r._)({},T),{backgroundPosition:"center"}),children:(0,n.jsx)("section",{className:"container xl:!max-w-7xl flex items-center justify-start group/success",children:(0,n.jsxs)("div",{className:"bg-white px-7 py-6 lg:p-20 rounded-[16px] shadow-md max-w-[474px] flex flex-col w-full justify-between items-center lg:gap-4",children:[(0,n.jsxs)("div",{className:"flex flex-col max-w-[444px] items-start",children:[(0,n.jsx)(i.A,{size:48,className:(0,c.E)("text-[#041e40] scale-110"),id:"check-circle"}),k.title&&(0,n.jsx)("div",{className:"text-2xl font-bold text-[#041e40] text-primary my-5",dangerouslySetInnerHTML:{__html:k.title}}),k.description&&(0,n.jsx)("div",{className:"text-base mb-7",dangerouslySetInnerHTML:{__html:k.description}})]}),k.cta&&(0,n.jsx)("a",{href:k.cta.link,className:x(null!=(l=k.cta.standard)?l:k.standard,null!=(b=k.cta.hover)?b:k.hover),style:u(null!=(p=k.cta.standard)?p:k.standard,null!=(h=k.cta.hover)?h:k.hover),children:(0,n.jsx)(m,{label:k.cta.label,standard:null!=(f=k.cta.standard)?f:k.standard,hover:null!=(v=k.cta.hover)?v:k.hover})}),k.coupon&&(0,n.jsx)("div",{children:(0,n.jsx)("button",{type:"button",onClick:()=>{var e;B&&(null==(e=navigator.clipboard)||e.writeText(B),O(!0),setTimeout(()=>O(!1),2e3))},className:"btn bg-primary hover:bg-secondary text-secondary hover:text-primary transition-all w-52",children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{className:(0,c.E)("flex items-center justify-between gap-1",D&&"hidden"),children:[(0,n.jsx)("span",{children:k.coupon.label}),(0,n.jsx)(i.A,{id:"clipboard",size:20})]}),(0,n.jsxs)("p",{className:(0,c.E)("uppercase items-center justify-between gap-1",D?"flex":"hidden"),children:[(0,n.jsx)("span",{children:"COPIADO!"}),(0,n.jsx)(i.A,{id:"check",size:20})]})]})})})]})})}):(0,n.jsx)("div",{className:(0,c.E)("relative flex flex-wrap bg-[#f6f6f6] md:py-[95px] items-end min-h-[calc(100vh_-_115px)] h-auto bg-cover bg-fixed bg-center",I),style:T,children:(0,n.jsx)("div",{className:"container xl:!max-w-7xl",children:(0,n.jsxs)("div",{className:"bg-white py-6 lg:p-20 rounded-[16px] shadow-md max-w-[474px] flex flex-col w-full justify-between items-center lg:gap-3 pt-[50px] pb-5 px-[30px]",children:[(0,n.jsxs)("div",{className:"max-w-[460px]",children:[y.title&&(0,n.jsx)("h2",{className:"text-[32px] leading-tight font-bold mb-7",children:y.title}),y.description&&(0,n.jsx)("div",{className:"text-base mb-4 md:text-[22px] md:mb-2 text-fila-black",dangerouslySetInnerHTML:{__html:y.description}}),S&&(0,n.jsx)("div",{className:"max-md:hidden text-[10px] text-fila-black",dangerouslySetInnerHTML:{__html:S}})]}),(0,n.jsxs)("div",{className:"w-full lg:w-auto max-w-[680px]",children:[(0,n.jsx)("form",{onSubmit:e=>(0,a._)(function*(){if(e.preventDefault(),"submitting"!==P){q("submitting");try{yield E({data:{name:G,email:L,phone:_?A:void 0}}),q("success")}catch(e){q("error")}}})(),className:"flex flex-col gap-2.5 w-full lg:w-auto items-center",children:(0,n.jsxs)("div",{className:"flex flex-col justify-start w-full gap-2.5",children:[(0,n.jsx)("input",{name:"name",value:G,onChange:e=>H(e.target.value),className:"w-full h-12 max-md:h-10 px-4 bg-[#f6f6f6] border border-fila-black/15 rounded-[16px] text-sm text-fila-black placeholder:text-fila-black/50 transition-all duration-150 focus:outline-none focus:border-fila-black/40",type:"text",required:!0,placeholder:w}),(0,n.jsx)("input",{name:"email",value:L,onChange:e=>M(e.target.value),className:"w-full h-12 max-md:h-10 px-4 bg-[#f6f6f6] border border-fila-black/15 rounded-[16px] text-sm text-fila-black placeholder:text-fila-black/50 transition-all duration-150 focus:outline-none focus:border-fila-black/40",type:"email",required:!0,placeholder:N}),_&&(0,n.jsx)("input",{name:"phone",value:A,onChange:e=>z(e.target.value),className:"w-full h-12 max-md:h-10 px-4 bg-[#f6f6f6] border border-fila-black/15 rounded-[16px] text-sm text-fila-black placeholder:text-fila-black/50 transition-all duration-150 focus:outline-none focus:border-fila-black/40",type:"tel",placeholder:_}),(0,n.jsx)("p",{className:"text-[10px] text-fila-black mb-[10px] font-body",children:"*Campos obrigat\xf3rios"}),"error"===P&&(0,n.jsx)("p",{className:"text-[10px] text-red-600 -mt-1 mb-1",children:"Algo deu errado. Por favor, tente novamente."}),(0,n.jsx)("button",{type:"submit",disabled:"submitting"===P,className:(0,
1c.E)(x(y.standard,y.hover),"submitting"===P&&"opacity-70 cursor-wait"),style:u(y.standard,y.hover),children:"submitting"===P?(0,n.jsx)("span",{className:"inline font-body text-xs md:text-sm font-bold text-white",children:"..."}):(0,n.jsx)(m,{label:y.label,standard:y.standard,hover:y.hover})})]})}),C&&(0,n.jsx)("div",{className:"text-fila-black text-start text-[10px] sm:text-[10px] mt-5 lg:mt-2.5 px-7 sm:px-0 [&_a]:text-fila-black [&_a]:underline",dangerouslySetInnerHTML:{__html:C}}),S&&(0,n.jsx)("div",{className:"text-fila-black lg:hidden text-start text-[10px] sm:text-sm mt-2 md:hidden px-7 sm:px-0",dangerouslySetInnerHTML:{__html:S}})]})]})})})}}}]);
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.