1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9694],{19948:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var l=r(67294),n=r(38566),a=Object.defineProperty,o=Object.defineProperties,s=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&u(e,r,t[r]);if(i)for(var r of i(t))d.call(t,r)&&u(e,r,t[r]);return e},f=(e,t)=>o(e,s(t));let p=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z"}))]]),x=(0,l.forwardRef)((e,t)=>l.createElement(n.Z,f(m({ref:t},e),{weights:p})));x.displayName="CircleNotch"},38566:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var l=r(67294);let n=(0,l.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var a=Object.defineProperty,o=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))s.call(t,r)&&c(e,r,t[r]);if(o)for(var r of o(t))i.call(t,r)&&c(e,r,t[r]);return e},u=(e,t)=>
1{var r={};for(var l in e)s.call(e,l)&&0>t.indexOf(l)&&(r[l]=e[l]);if(null!=e&&o)for(var l of o(e))0>t.indexOf(l)&&i.call(e,l)&&(r[l]=e[l]);return r};let m=(0,l.forwardRef)((e,t)=>{let{alt:r,color:a,size:o,weight:s,mirrored:i,children:c,weights:m}=e,f=u(e,["alt","color","size","weight","mirrored","children","weights"]),p=(0,l.useContext)(n),{color:x="currentColor",size:h,weight:g="regular",mirrored:b=!1}=p,j=u(p,["color","size","weight","mirrored"]);return l.createElement("svg",d(d({ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=o?o:h,height:null!=o?o:h,fill:null!=a?a:x,viewBox:"0 0 256 256",transform:i||b?"scale(-1, 1)":void 0},j),f),!!r&&l.createElement("title",null,r),c,m.get(null!=s?s:g))});m.displayName="IconBase"},17417:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/[slug]/success",function(){return r(29469)}])},88843:function(e,t,r){"use strict";r.d(t,{Z:function(){return f},k:function(){return m}});var l=r(85893),n=r(19948),a=r(66327),o=r(18398),s=r(67294),i=r(10731);r(45516);var c=r(20726),d=r(14462),u=r(24352);let m=25;function f(e){let{form:t}=e,{NextStep:r,register:f,loadingStep1:p,countryCode:x,setCountryCode:h,areaCode:g,setAreaCode:b,phoneNumber:j,setPhoneNumber:v,rawPhoneNumber:w,setRawPhoneNumber:y}=(0,a.V)(),N=e=>{if(y(e),!e)return{country:"",areaCode:"",number:""};try{let t=(0,o.h)(e),r=t.countryCallingCode;h(r);let l=t.nationalNumber.slice(0,2);b(l);let n=t.nationalNumber.slice(2);v(n),console.log("Parsed: ",{countryCode:r,areaCode:l,phoneNumber:n})}catch(e){return console.error("N\xfamero inv\xe1lido:",e),{country:"",areaCode:"",number:""}}};return(0,s.useEffect)(()=>{let e="".concat(x).concat(g).concat(w);
1t.setValue("telephone",e)},[x,g,w,t]),(0,l.jsx)("div",{className:"w-full flex flex-col",children:(0,l.jsxs)("div",{className:"grid grid-cols-12 gap-4 md:gap-4",children:[(0,l.jsxs)("div",{className:"col-span-12","data-aos":"fade","data-aos-offset":0,"data-aos-delay":1*m,children:[(0,l.jsx)("p",{className:"text-[0.875rem] mb-1 text-[#e9e9e9]",children:"Nome completo"}),(0,l.jsx)(d.Wi,{control:t.control,name:"name",render:e=>{let{field:t}=e;return(0,l.jsxs)(d.xJ,{children:[(0,l.jsx)(d.NI,{children:(0,l.jsx)(u.I,{maxLength:40,placeholder:"Ex: Rene Clavijo",...t})}),(0,l.jsx)(d.zG,{})]})}})]}),(0,l.jsxs)("div",{"data-aos":"fade","data-aos-offset":0,"data-aos-delay":2*m,className:"col-span-12",children:[(0,l.jsx)("p",{className:"text-[0.875rem] mb-1 text-[#e9e9e9]",children:"E-mail"}),(0,l.jsx)(d.Wi,{control:t.control,name:"email",render:e=>{let{field:t}=e;return(0,l.jsxs)(d.xJ,{children:[(0,l.jsx)(d.NI,{children:(0,l.jsx)(u.I,{maxLength:45,placeholder:"Ex: [email protected]",...t})}),(0,l.jsx)(d.zG,{})]})}})]}),(0,l.jsxs)("div",{"data-aos":"fade","data-aos-offset":0,"data-aos-delay":3*m,className:"col-span-12",children:[(0,l.jsxs)("p",{className:"text-[0.875rem mb-1 text-[#e9e9e9]",children:["Celular ",(0,l.jsx)("span",{className:"opacity-50",children:"(WhatsApp)"})]}),(0,l.jsx)("div",{className:"",children:(0,l.jsx)(i.ZP,{value:w,onChange:N,defaultCountry:"BR",international:!0,countryCallingCodeEditable:!1,className:"border-2 border-[#24242493] flex h-10 w-full rounded-[11px] px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-card file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-border disabled:cursor-not-allowed disabled:opacity-50 hover:ring-1 ring-border"})})]}),(0,l.jsx)("div",{className:"col-span-12 flex w-full gap-2 items-center justify-start",children:(0,l.jsx)(d.Wi,{control:t.control,name:"acceptTerms",render:e=>{let{field:t}=e;return(0,l.jsxs)(d.xJ,{children:[(0,l.jsx)(d.NI,{children:(0,l.jsxs)("div",{className:"flex w-full gap-2 cursor-pointer items-center justify-start",children:[(0,l.jsx)("div",{className:"max-w-[30%] cursor-pointer",children:(0,l.jsx)(u.I,{type:"checkbox",maxLength:35,placeholder:"Ex: [email protected]",...t})}),(0,l.jsxs)("label",{className:"text-[0.8rem] w-full text-gray-500 dark:text-gray-400 select-none",children:["Li e concordo com os"," ",(0,l.jsxs)("a",{target:"_blank",href:"https://drive.google.com/file/d/11-fzgcoPJYntc5yM1SPQY9nSPuAdh1v8/view",children:[(0,l.jsx)("b",{className:"underline",children:"termos de uso"})," "]})]})]})}),(0,l.jsx)(d.zG,{})]})}})}),(0,l.jsx)("div",{className:"col-span-12",children:(0,l.jsx)(c.z,{type:"submit",className:"w-full rounded-xl bg-gradient-to-r from-[#e8da48] to-[#f8e82a] background-animate uppercase px-4 py-6 font-semibold flex gap-2 justify-center items-center text-sm text-black",children:p?(0,l.jsx)(n.Z,{weight:"bold",size:15,className:"animate-spin2 text-black"}):(0,l.jsx)("p",{className:"font-semibold text-black",children:"CONTINUAR"})})})]})})}},50408:function(e,t,r){"use strict";r.d(t,{o:function(){return n}});var l=r(85893);function n(e){let{className:t,...r}=e;return(0,l.jsx)("img",{alt:"check mark",className:"h-24 w-24 ".concat(t),src:"/assets/images/check-mark.svg",...r})}},11269:function(e,t,r){"use strict";r.d(t,{o:function(){return l.o},E:function(){return a}});var l=r(50408),n=r(85893);function a(e){let{className:t,...r}=e;return(0,n.jsx)("img",{alt:"check mark",className:"h-24 w-24 ".concat(t),src:"/assets/images/check-mark-purple.svg",...r})}},29469:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return u}});var l=r(85893),n=r(66327),a=r(11269),o=r(20726),s=r(67294),i=r(60268),c=r(88843);function d(){let{product:e,setProductData:t,productData:r,slug:d}=(0,n.V)();async function u(){try{let{data:e}=await i.$.get("/product/find?slug=".concat(d));t(e)}catch(e){console.log(e)}}return console.log(e),console.log(r),(0,s.useEffect)(()=>{u()},[d]),(0,l.jsx)("div",{className:"grid grid-cols-12 w-full justify-start items-start h-full min-h-screen",children:(0,l.jsx)("div",{className:"col-span-12 md:col-span-12 w-full flex justify-center items-start px-10 py-10 md:py-20 h-full border-0 md:border-r relative",children:(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center gap-16 w-full max-w-2xl",children:[(0,l.jsx)("img",{alt:"gonew","data-aos":"fade-right","data-aos-delay":2*c.k,"data-aos-offset":0,src:"/assets/logos/logo-gonew-community.png",className:"w-[8rem] h-full object-contain z-200 "}),(0,l.jsx)("div",{className:"w-full p-6 md:p-10 z-10 border bg-[#20202060] customblur border-[#f7e72a] py-5 rounded-[1rem]",children:(0,l.jsxs)("div",{className:"w-full flex flex-col gap-3 justify-center items-center",children:[(0,l.jsx)(a.o,{className:"h-[6rem] w-[6rem]"}),(0,l.jsx)("p",{className:"text-xl md:text-2xl font-[600] text-center font-poppins",children:"Tudo pronto para fazermos hist\xf3ria!"}),(null==e?void 0:e.form_link)&&!(null==e?void 0:e.redirectLink)?(0,l.jsx)("p",{className:"w-full text-base text-center text-muted-foreground opacity-80 font-poppins",children:"Obrigado! Clique no bot\xe3o abaixo e conclua sua inscri\xe7\xe3o preenchendo o formul\xe1rio!"}):(0,l.jsx)("p",{className:"w-full text-base text-center text-muted-foreground opacity-80 font-poppins",children:"Obrigado! Em breve entraremos em contato com mais informa\xe7\xf5es."}),(null==e?void 0:e.form_link)&&!(null==e?void 0:e.redirectLink)&&(0,l.jsx)(o.z,{onClick:()=>{window.open(null==e?void 0:e.form_link)},className:"rounded-xl bg-gradient-to-r from-[#e8da48] to-[#f8e82a] background-animate uppercase px-8 py-6 font-semibold flex gap-2 justify-center items-center text-sm text-black mt-4",children:(null==e?void 0:e.form_link_button_text)?null==e?void 0:e.form_link_button_text:"ONBOARDING"})]})})]})})})}function u(){return(0,l.jsx)(n.O,{children:(0,l.jsxs)("main",{className:"yellowgradientbottom min-h-screen overflow-hidden flex flex-col items-start z-0 relative bg-gonew-bg ",children:[(0,l.jsx)("div",{className:"absolute inset-0 w-full h-full bg-black/05 z-10"}),(0,l.jsx)("img",{src:"/assets/images/checkout.jpg",className:"w-full h-full absolute inset-0 object-cover"}),(0,l.jsx)(d,{})]})})}},41850:function(e,t,r){"use strict";r.d(t,{f:function(){return u}});var l=r(67294);r(73935);var n=r(85893),a=l.forwardRef((e,t)=>
1{let{children:r,...a}=e,s=l.Children.toArray(r),c=s.find(i);if(c){let e=c.props.children,r=s.map(t=>t!==c?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,n.jsx)(o,{...a,ref:t,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,n.jsx)(o,{...a,ref:t,children:r})});a.displayName="Slot";var o=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let e,a;let o=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref;return l.cloneElement(r,{...function(e,t){let r={...t};for(let l in t){let n=e[l],a=t[l],o=/^on[A-Z]/.test(l);o?n&&a?r[l]=(...e)=>{a(...e),n(...e)}:n&&(r[l]=n):"style"===l?r[l]={...n,...a}:"className"===l&&(r[l]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props),ref:t?function(...e){return t=>e.forEach(e=>{var r;"function"==typeof(r=e)?r(t):null!=r&&(r.current=t)})}(t,o):o})}return l.Children.count(r)>1?l.Children.only(null):null});o.displayName="SlotClone";var s=({children:e})=>(0,n.jsx)(n.Fragment,{children:e});function i(e){return l.isValidElement(e)&&e.type===s}var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=l.forwardRef((e,r)=>{let{asChild:l,...o}=e,s=l?a:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(s,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),d=l.forwardRef((e,t)=>(0,n.jsx)(c.label,{...e,ref:t,onMouseDown:t=>{let r=t.target;r.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label";var u=d}},function(e){e.O(0,[3760,3124,8388,1354,6871,8017,2026,9774,2888,179],function(){return e(e.s=17417)}),_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.