1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[749],{87749:function(n,e,t){t.r(e),t.d(e,{default:function(){return wn}});var i=t(85893),r=t(67294),o=t(56003),a=t(79056);function c(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function u(){var n=c(["\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 10px 0px;\n"]);return u=function(){return n},n}function s(){var n=c(["\n position: relative;\n width: ",";\n height: 781px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n "," {\n min-height: 781px;\n height: auto;\n width: 100%;\n }\n"]);return s=function(){return n},n}function d(){var n=c(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-image: url(",");\n background-repeat: no-repeat;\n z-index: -1;\n background-size: cover;\n\n "," {\n background-image: url(",");\n }\n"]);return d=function(){return n},n}function l(){var n=c(["\n width: 1440px;\n height: 80%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-around;\n\n "," {\n height: 80%;\n flex-direction: column;\n justify-content: space-around;\n }\n"]);return l=function(){return n},n}function f(){var n=c(["\n height: 100%;\n width: 50%;\n display: flex;\n align-content: center;\n justify-content: center;\n align-items: center;\n "," {\n width: 90%;\n }\n"]);return f=function(){return n},n}function h(){var n=c(["\n color: #fff;\n font-size: 40px;\n font-style: normal;\n font-weight: 700;\n line-height: normal;\n letter-spacing: -0.8px;\n text-transform: uppercase;\n text-align: center;\n width: 80%;\n "," {\n font-size: 36px;\n width: 100%;\n }\n"]);return h=function(){return n},n}function p(){var n=c(["\n color: white;\n font-weight: 500;\n cursor: pointer;\n\n &:hover,\n &:focus {\n opacity: 0.8;\n }\n"]);return p=function(){return n},n}var m=o.ZP.div.withConfig({componentId:"sc-a149f2dc-0"})(u()),g=o.ZP.div.withConfig({componentId:"sc-a149f2dc-1"})(s(),a.dp.desktop,a.BC.mobile),x=o.ZP.div.withConfig({componentId:"sc-a149f2dc-2"})(d(),"/_next/static/media/backgroundDesktop.7d5c9167.png",a.BC.mobile,"/_next/static/media/backgroundMobile.b896ec6f.png"),b=o.ZP.div.withConfig({componentId:"sc-a149f2dc-3"})(l(),a.BC.mobile),v=o.ZP.div.withConfig({componentId:"sc-a149f2dc-4"})(f(),a.BC.mobile),w=o.ZP.p.withConfig({componentId:"sc-a149f2dc-5"})(h(),a.BC.mobile),j=(o.ZP.a.withConfig({componentId:"sc-a149f2dc-6"})(p()),t(74231)),y=t(82580),C=t(79605),P=t(92187),Z=t(79214);function I(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function k(){var n=I(["\n display: flex;\n flex-direction: column;\n align-content: center;\n align-items: center;\n justify-content: space-between;\n height: 80%;\n width: 50%;\n "," {\n width: 100%;\n }\n"]);return k=function(){return n},n}function z(){var n=I(["\n display: flex;\n flex-direction: column;\n align-content: center;\n align-items: center;\n justify-content: center;\n height: 50%;\n width: 40%;\n gap: 0;\n "," {\n width: 100%;\n }\n"]);return z=function(){return n},n}function O(){var n=I(["\n color: #fff;\n text-align: center;\n font-size: 24px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n letter-spacing: -0.48px;\n text-transform: uppercase;\n width: 55%;\n\n "," {\n width: 80%;\n font-size: 20px;\n }\n"]);return O=function(){return n},n}function B(){var n=I(["\n color: #fff;\n text-align: center;\n font-size: 32px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n letter-spacing: 1.28px;\n margin: 0;\n"]);return B=function(){return n},n}function S(){var n=I(["\n background: #fff;\n width: 428px;\n height: 40px;\n border: none;\n box-shadow: none;\n outline: none;\n padding-left: 15px;\n "," {\n width: 100%;\n }\n"]);return S=function(){return n},n}function _(){var n=I(["\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n height: 100%;\n\n "," {\n height: auto;\n gap: 10px;\n }\n"]);return _=function(){return n},n}function D(){var n=I(["\n color: red;\n font-size: 12px;\n margin: 0;\n"]);return D=function(){return n},n}function q(){var n=I(["\n width: 342.063px;\n height: 60px;\n background-color: #ffffff;\n border: none;\n cursor: pointer;\n background-color: ",";\n &:hover {\n filter: brightness(0.8);\n }
1\n\n &:disabled {\n cursor: not-allowed;\n filter: brightness(1);\n opacity: 0.4;\n }\n"]);return q=function(){return n},n}function N(){var n=I(["\n color: #000;\n text-align: center;\n font-feature-settings: 'clig' off, 'liga' off;\n font-size: 18px;\n font-style: normal;\n font-weight: 700;\n text-transform: uppercase;\n"]);return N=function(){return n},n}function A(){var n=I(["\n width: 100%;\n background: white;\n width: 428px;\n height: 40px;\n border: none;\n box-shadow: none;\n outline: none;\n font-size: 14px;\n font-weight: normal;\n line-height: 16px;\n padding-left: 15px;\n\n "," {\n width: 100%;\n }\n"]);return A=function(){return n},n}function E(){var n=I([""]);return E=function(){return n},n}function L(){var n=I(["\n font-size: 14px;\n line-height: 16px;\n font-weight: normal;\n color: white;\n margin-bottom: 10px;\n display: flex;\n align-content: center;\n"]);return L=function(){return n},n}function U(){var n=I(["\n display: flex;\n width: 100%;\n justify-content: center;\n"]);return U=function(){return n},n}function F(){var n=I(["\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n height: 70%;\n "," {\n min-height: 200px;\n justify-content: space-between;\n }\n"]);return F=function(){return n},n}function R(){var n=I(["\n position: absolute;\n height: 30px;\n width: 30px;\n right: 10px;\n top: 25%;\n &::before {\n content: '';\n display: block;\n padding-top: 100%;\n }\n"]);return R=function(){return n},n}var T=o.ZP.div.withConfig({componentId:"sc-80e3e8db-0"})(k(),a.BC.mobile),M=o.ZP.div.withConfig({componentId:"sc-80e3e8db-1"})(z(),a.BC.mobile),V=o.ZP.p.withConfig({componentId:"sc-80e3e8db-2"})(O(),a.BC.mobile),X=o.ZP.p.withConfig({componentId:"sc-80e3e8db-3"})(B()),$=o.ZP.input.withConfig({componentId:"sc-80e3e8db-4"})(S(),a.BC.mobile),G=o.ZP.form.withConfig({componentId:"sc-80e3e8db-5"})(_(),a.BC.mobile),H=o.ZP.p.withConfig({componentId:"sc-80e3e8db-6"})(D()),J=o.ZP.button.withConfig({componentId:"sc-80e3e8db-7"})(q(),(function(n){return n.isLoading?"".concat(P.Z.neutral.gray.gray6):"".concat(P.Z.neutral.white)})),K=o.ZP.p.withConfig({componentId:"sc-80e3e8db-8"})(N()),Q=(0,o.ZP)(Z.oc).withConfig({componentId:"sc-80e3e8db-9"})(A(),a.BC.mobile),W=(0,o.ZP)(C.X).withConfig({componentId:"sc-80e3e8db-10"})(E()),Y=o.ZP.div.withConfig({componentId:"sc-80e3e8db-11"})(L()),nn=o.ZP.div.withConfig({componentId:"sc-80e3e8db-12"})(U()),en=o.ZP.div.withConfig({componentId:"sc-80e3e8db-13"})(F(),a.BC.mobile),tn=o.ZP.div.withConfig({componentId:"sc-80e3e8db-14"})(R()),rn=t(13319),on=t(34051),an=t.n(on),cn=t(9669),un=t.n(cn),sn=t(11163);function dn(n,e,t,i,r,o,a){try{var c=n[o](a),u=c.value}catch(s){return void t(s)}c.done?e(u):Promise.resolve(u).then(i,r)}var ln=function(n){var e=(0,r.useState)(!1),t=e[0],i=e[1],o=(0,r.useState)(!1),a=o[0],c=o[1],u=(0,r.useState)(!1),s=u[0],d=u[1],l=(0,sn.useRouter)().locale,f=function(){var e,t=(e=an().mark((function e(t){return an().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i(!0),e.prev=1,e.next=4,un().post("/api/create-deal",t,{headers:{locale:l}});case 4:d(!0),c(!1),n&&n(!0),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),c(!0);case 12:return e.prev=12,i(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])})),function(){var n=this,t=arguments;return new Promise((function(i,r){var o=e.apply(n,t);function a(n){dn(o,i,r,a,c,"next",n)}function c(n){dn(o,i,r,a,c,"throw",n)}a(void 0)}))});return function(n){return t.apply(this,arguments)}}();return{createDeal:f,isLoading:t,formFailed:a,experienceActived:s}};function fn(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function hn(n){var e=n.leadDistributionId,t=n.nameUnit,o=ln(),a=o.createDeal,c=o.isLoading,u=o.formFailed,s=o.experienceActived,d=j.Ry().shape({name:j.Z_().required("Nome obrigat\xf3rio"),email:j.Z_().email("Formato de email inv\xe1lido").required("Email obrigat\xf3rio"),phone:j.Z_().required("Telefone obrigat\xf3rio")}),l=(0,r.useState)(!0),f=l[0],h=l[1],p=(0,y.TA)({initialValues:{name:"",email:"",ph
1one:""},validationSchema:d,onSubmit:function(n){return a(function(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})))),i.forEach((function(e){fn(n,e,t[e])}))}return n}({},n,{leadDistributionId:e,nameUnit:t}))}});return s?(0,i.jsxs)(M,{children:[(0,i.jsx)(X,{children:"Obrigado!"}),(0,i.jsxs)(X,{children:[" ","Um de nossos consultores entrar\xe1 em contato em at\xe9 2 dias \xfateis."]})]}):(0,i.jsxs)(T,{children:[(0,i.jsx)(V,{children:"Preencha o formul\xe1rio abaixo e aguarde nosso contato para ativar sua experi\xeancia exclusiva."}),u&&!s&&(0,i.jsx)(H,{children:"Ocorreu um problema ao enviar o formul\xe1rio"}),(0,i.jsxs)(G,{onSubmit:p.handleSubmit,children:[(0,i.jsxs)(en,{children:[(0,i.jsx)($,{type:"text",placeholder:"Nome",name:"name",onChange:p.handleChange,onBlur:p.handleBlur,value:p.values.name}),p.errors.name&&p.touched.name&&(0,i.jsx)(H,{children:p.errors.name}),(0,i.jsx)($,{type:"email",placeholder:"Email",name:"email",onChange:p.handleChange,value:p.values.email}),p.errors.email&&p.touched.email&&(0,i.jsx)(H,{children:p.errors.email}),(0,i.jsx)(Q,{value:p.values.phone,type:"text",name:"phone",placeholder:"Celular",onBlur:p.handleBlur,onChange:p.handleChange,mask:"(00) 00000-0000"}),p.errors.phone&&p.touched.phone&&(0,i.jsx)(H,{children:p.errors.phone})]}),(0,i.jsx)(Y,{children:(0,i.jsx)(W,{name:"privacy",value:f,component:function(){return(0,i.jsx)("div",{children:"Li e concordo com os termos e condi\xe7\xf5es"})},onClick:function(){return h(!f)}})}),(0,i.jsx)(nn,{children:(0,i.jsxs)(J,{disabled:f||c,type:"submit",isLoading:c,children:[c&&(0,i.jsx)(tn,{children:(0,i.jsx)(rn.$,{})}),(0,i.jsx)(K,{children:"Ativar minha experi\xeancia"})]})})]})]})}function pn(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function mn(){var n=pn(["\n display: flex;\n justify-content: center;\n margin-top: 10px;\n margin-right: 10%;\n margin-left: 10%;\n "," {\n margin-right: 5%;\n margin-left: 5%;\n }\n"]);return mn=function(){return n},n}function gn(){var n=pn(["\n color: ",";\n text-align: center;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n"]);return gn=function(){return n},n}var xn=o.ZP.div.withConfig({componentId:"sc-73c2e65c-0"})(mn(),a.BC.mobile),bn=o.ZP.p.withConfig({componentId:"sc-73c2e65c-1"})(gn(),(function(n){return n.theme.v2.colors["text-primary"]}));function vn(){return(0,i.jsx)(xn,{children:(0,i.jsx)(bn,{children:"Para ativar seu benef\xedcio voc\xea poder\xe1 aguardar o consultor da unidade escolhida entrar em contato para um agendamento, ou procurar um consultor diretamente na unidade, com documento de indentifica\xe7\xe3o v\xe1lido e com foto para ativar seu benef\xedcio. Regras de utiliza\xe7\xe3o: Campanha v\xe1lida at\xe9 31/12/2024, podendo ser suspensa a qualquer momento. N\xe3o cumulativo com essa ou outras campanhas. N\xe3o pode ser trocado por dinheiro ou outro servi\xe7o na Bio Ritmo, parceiros tercerizados, atividades aqu\xe1ticas e estacionamento. Campanha ativa para novos clientes v\xe1lido para apenas 1 CPF na rede a cada 6 meses."})})}function wn(n){var e=n.leadDistributionId,t=n.nameUnit;return(0,i.jsxs)(m,{children:[(0,i.jsxs)(g,{children:[(0,i.jsx)(x,{}),(0,i.jsxs)(b,{children:[(0,i.jsx)(v,{children:(0,i.jsx)(w,{children:"Aproveite por 3 dias a experi\xeancia de treinar na bio ritmo"})}),(0,i.jsx)(hn,{leadDistributionId:e,nameUnit:t})]})]}),(0,i.jsx)(vn,{})]})}}}]);
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.