1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2847],{71723:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/addons/smart_fit_body_0_fidelidade",function(){return t(15579)}])},70764:function(n,e,t){"use strict";var i=t(72253),o=t(47702),r=t(85893),a=t(67294),c=t(81126),s=t(44152);e.Z=(0,a.memo)(function(n){var e=n.name,t=n.label,l=n.altLabel,u=(n.hasError,n.onChange),d=(0,o._)(n,["name","label","altLabel","hasError","onChange"]),m=(0,a.useRef)(),f=(0,c.U$)(e),p=f.fieldName,_=f.defaultValue,h=f.registerField,g=f.error,b=f.clearError;return(0,a.useEffect)(function(){h({name:p,ref:m.current,getValue:function(n){return n.checked},setValue:function(n){n.checked=!0},clearValue:function(n){n.checked=!1}})},[p,h]),(0,r.jsxs)(s.im,{children:[(0,r.jsxs)(s.kC,{children:[(0,r.jsx)("input",(0,i._)({id:p,type:"checkbox",ref:m,defaultValue:_,onChange:function(n){b(),u&&"function"==typeof u&&u(n)}},d)),(0,r.jsx)(s.__,{htmlFor:p,dangerouslySetInnerHTML:t&&{__html:t},children:l})]}),(0,r.jsx)(s.jj,{children:g&&(0,r.jsx)("span",{className:"error",children:g})})]})})},44152:function(n,e,t){"use strict";t.d(e,{__:function(){return c},im:function(){return r},jj:function(){return s},kC:function(){return a}});var i=t(82729),o=t(85444);function _templateObject(){var n=(0,i._)(["\n font-weight: 400;\n"]);return _templateObject=function(){return n},n}function _templateObject1(){var n=(0,i._)(["\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n\n input {\n width: 16px;\n min-width: 16px;\n height: 16px;\n min-height: 16px;\n flex-shrink: 0;\n margin-right: 10px;\n accent-color: ",";\n }\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){var n=(0,i._)(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){var n=(0,i._)(["\n color: ",";\n"]);return _templateObject3=function(){return n},n}var r=o.ZP.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-b6dbaf18-0"})(_templateObject()),a=o.ZP.div.withConfig({displayName:"styles__Flex",componentId:"sc-b6dbaf18-1"})(_templateObject1(),function(n){return n.theme.colors.primary}),c=o.ZP.label.withConfig({displayName:"styles__Label",componentId:"sc-b6dbaf18-2"})(_templateObject2(),function(n){return n.theme.colors.text}),s=o.ZP.div.withConfig({displayName:"styles__Error",componentId:"sc-b6dbaf18-3"})(_templateObject3(),function(n){return n.theme.colors.danger})},72108:function(n,e,t){"use strict";t.d(e,{Z:function(){return components_ErrorModal}});var i=t(85893);t(67294);var o=t(2113),r=t(75026),a=t(37150),c=t(60369),s=t(82729),l=t(85444),u=t(88491);function _templateObject(){var n=(0,s._)(["\n height: 100%;\n padding: 6rem 3rem 32px;\n\n "," {\n width: 100%;\n }\n\n @media (",") {\n max-width: 485px;\n }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){var n=(0,s._)(["\n font-family: ",";\n font-style: normal;\n font-weight: 900;\n font-size: 16px;\n line-height: 15px;\n text-align: center;\n text-transform: uppercase;\n margin-bottom: 1.5rem;\n color: ",";\n\n @media (",") {\n font-size: 24px;\n line-height: 29px;\n }\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){var n=(0,s._)(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n "," {\n max-width: 100px;\n display: flex;\n justify-content: center;
1\n align-items: center;\n & div {\n margin: 0;\n }\n }\n img {\n width: 100%;\n }\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){var n=(0,s._)(["\n margin-top: 8px;\n margin-bottom: 1.5rem;\n padding: 16px;\n font-family: ",";\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n color: ",";\n span {\n font-weight: 900;\n }\n @media (",") {\n font-size: 16px;\n line-height: 24px;\n }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){var n=(0,s._)([""]);return _templateObject4=function(){return n},n}function _templateObject5(){var n=(0,s._)(["\n display: flex;\n margin-bottom: 2rem;\n flex-direction: column;\n align-items: center;\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){var n=(0,s._)(["\n color: ",";\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){var n=(0,s._)(["\n color: ",";\n font-style: italic;\n"]);return _templateObject7=function(){return n},n}function _templateObject8(){var n=(0,s._)(["\n font-size: 16px;\n line-height: 24px;\n"]);return _templateObject8=function(){return n},n}var d=l.ZP.div.withConfig({displayName:"styles__Container",componentId:"sc-e01008f8-0"})(_templateObject(),r.Z,function(n){return n.theme.sizes.small}),m=l.ZP.h1.withConfig({displayName:"styles__Title",componentId:"sc-e01008f8-1"})(_templateObject1(),function(n){return n.theme.fonts.highlight},function(n){return n.theme.colors.text},function(n){return n.theme.sizes.medium}),f=l.ZP.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-e01008f8-2"})(_templateObject2(),u.a),p=l.ZP.div.withConfig({displayName:"styles__MessageError",componentId:"sc-e01008f8-3"})(_templateObject3(),function(n){return n.theme.fonts.default},function(n){return n.theme.colors.text},function(n){return n.theme.sizes.medium}),_=l.ZP.div.withConfig({displayName:"styles__ErrorsList",componentId:"sc-e01008f8-4"})(_templateObject4()),h=l.ZP.div.withConfig({displayName:"styles__ErrorsListItem",componentId:"sc-e01008f8-5"})(_templateObject5()),g=l.ZP.div.withConfig({displayName:"styles__ErrorLabel",componentId:"sc-e01008f8-6"})(_templateObject6(),function(n){return n.theme.colors.text}),b=l.ZP.div.withConfig({displayName:"styles__Error",componentId:"sc-e01008f8-7"})(_templateObject7(),function(n){return n.theme.colors.text}),v=l.ZP.div.withConfig({displayName:"styles__FooterContainer",componentId:"sc-e01008f8-8"})(_templateObject8()),components_ErrorModal=function(n){var e,t=n.title,s=n.icon,u=n.message,j=n.labelClose,x=n.showing,y=n.onClose,O=n.errorsList,w=n.variantClose,C=n.outlinedClose,Z=n.roundedClose,I=n.noButton,A=n.formattedMessage,P=void 0===A?null:A,N=n.footer,S=void 0!==N&&N,k=(0,c.mM)(),z=(0,l.Fg)(),L=null==k?void 0:null===(e=k.state)||void 0===e?void 0:e.translate,E=z.colors.text.includes("#fff")?"/icons/icon-warning-white.svg":"/icons/icon-warning.svg";return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(o.Z,{showing:x,onClose:y,closeIconSide:"right",children:(0,i.jsxs)(d,{children:[(0,i.jsx)(f,{children:(0,i.jsx)(a.Z,{children:s||(0,i.jsx)("img",{src:E})})}),(0,i.jsx)(m,{children:t}),u&&(0,i.jsx)(p,{dangerouslySetInnerHTML:{__html:u}}),P&&(0,i.jsx)(p,{children:P}),(null==O?void 0:O.length)>0&&(0,i.jsx)(_,{children:O.map(function(n){var e;return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(h,{children:[(0,i.jsxs)(g,{children:[null==n?void 0:n.label,":"]}),null==n?void 0:null===(e=n.data)||void 0===e?void 0:e.map(function(n){return/translation missing/.test(n)?"":(0,i.jsx)(b,{children:"".concat(n)})})]})})})}),!(void 0!==I&&I)&&(0,i.jsx)(r.Z,{variant:void 0===w?"primary":w,type:"button",onClick:y,outlined:void 0!==C&&C,borderRadius:Z&&"36px",children:j||L.Fechar}),S&&(0,i.jsx)(v,{children:S})]})})})}},58779:function(n,e,t){"use strict";t.d(e,{Z:function(){return components_SuccessModal}});var i=t(85893),o=t(67294),r=t(2113),a=t(75026),c=t(37150),s=t(69178),l=t(60369),u=t(82729),d=t(85444),m=t(88491);function _templateObject(){var n=(0,u._)(["\n height: 100%;\n padding: 6rem 3rem 32px;\n "," {\n width: 100%;\n }\n @media (",") {\n padding: 6rem 3.5rem 32px;\n max-width: 480px;\n "," {\n width: 325px;\n margin: 0 auto;\n }\n }\n"]);
1return _templateObject=function(){return n},n}function _templateObject1(){var n=(0,u._)(["\n font-family: ",";\n font-style: normal;\n font-weight: 900;\n font-size: 16px;\n line-height: 24px;\n text-align: center;\n text-transform: uppercase;\n margin-bottom: 1.5rem;\n color: ",";\n\n @media (",") {\n font-size: 24px;\n line-height: 32px;\n }\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){var n=(0,u._)(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n "," {\n max-width: 56px;\n & div {\n margin: 0;\n }\n }\n img {\n width: 100%;\n }\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){var n=(0,u._)(["\n margin-top: 8px;\n margin-bottom: 1.5rem;\n font-family: ",";\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n color: ",";\n span {\n font-weight: 900;\n }\n @media (",") {\n font-size: 16px;\n line-height: 24px;\n }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){var n=(0,u._)(["\n width: 100%;\n @media (",") {\n width: 325px;\n margin: 0 auto;\n }\n"]);return _templateObject4=function(){return n},n}var f=d.ZP.div.withConfig({displayName:"styles__Container",componentId:"sc-9eba0f1e-0"})(_templateObject(),a.Z,function(n){return n.theme.sizes.medium},a.Z),p=d.ZP.h1.withConfig({displayName:"styles__Title",componentId:"sc-9eba0f1e-1"})(_templateObject1(),function(n){return n.theme.fonts.highlight},function(n){return n.theme.colors.text},function(n){return n.theme.sizes.medium}),_=d.ZP.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-9eba0f1e-2"})(_templateObject2(),m.a),h=d.ZP.div.withConfig({displayName:"styles__MessageSuccess",componentId:"sc-9eba0f1e-3"})(_templateObject3(),function(n){return n.theme.fonts.default},function(n){return n.theme.colors.text},function(n){return n.theme.sizes.medium}),g=d.ZP.div.withConfig({displayName:"styles__AlertWrapper",componentId:"sc-9eba0f1e-4"})(_templateObject4(),function(n){return n.theme.sizes.medium}),components_SuccessModal=function(n){var e,t=n.title,u=n.icon,m=n.message,b=n.messageReplace,v=n.labelClose,j=n.alertMessage,x=n.alertIcon,y=n.showing,O=n.onClose,w=n.onOpen,C=n.variantClose,Z=n.outlinedClose,I=n.roundedClose,A=n.buttonId,P=n.secondButton,N=n.secondVariantClose,S=n.secondOutlinedClose,k=n.secondRoundedClose,z=n.secondLabelClose,L=n.secondButtonNavigation,E=n.secondButtonId,F=(0,l.mM)(),M=null==F?void 0:null===(e=F.state)||void 0===e?void 0:e.translate;(0,o.useEffect)(function(){w&&w()},[]);var T=(0,d.Fg)().colors.text.includes("#fff")?"/icons/icon-success-white-v2.svg":"/icons/icon-success-v2.svg";return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.Z,{showing:y,onClose:O,closeIconSide:"right",children:(0,i.jsxs)(f,{children:[(0,i.jsx)(_,{children:(0,i.jsx)(c.Z,{children:u||(0,i.jsx)("img",{src:T})})}),(0,i.jsx)(p,{children:t}),m&&(0,i.jsx)(h,{dangerouslySetInnerHTML:{__html:m}}),b&&(0,i.jsx)(h,{children:b}),(0,i.jsx)(a.Z,{variant:C||"primary",type:"button",onClick:O,outlined:!!Z&&Z,borderRadius:I&&"36px",id:A,children:v||M.Fechar}),P&&(0,i.jsx)(a.Z,{variant:N||"primary",type:"button",onClick:L,outlined:!!S&&S,borderRadius:k&&"36px",style:{marginTop:"8px"},id:E,children:z||M.Fechar}),j&&(0,i.jsx)(g,{children:(0,i.jsx)(s.Z,{status:"warning",icon:(0,i.jsx)(c.Z,{children:x||(0,i.jsx)("img",{src:"/icons/icon-alert-v2.svg"})}),message:j})})]})})})}},12412:function(n,e,t){"use strict";var i=t(82729);function _templateObject(){var n=(0,i._)(["\n color: ",";\n font-family: ",";\n font-weight: 900;\n margin: 0 0 3rem;\n font-size: 20px;\n line-height: 28px;\n"]);return _templateObject=function(){return n},n}var o=t(85444).ZP.h4.withConfig({displayName:"SubTitle",componentId:"sc-155cd19c-0"})(_templateObject(),function(n){return n.theme.colors.text},function(n){return n.theme.fonts.highlight});e.Z=o},10253:function(n,e,t){"use strict";var i=t(82729);function _templateObject(){var n=(0,i._)(["\n font-family: ",";\n font-weight: 900;\n margin: 3.2rem 0 4.8rem;\n font-size: 24px;\n line-height: 32px;\n color: ",";\n"]);
1return _templateObject=function(){return n},n}var o=t(85444).ZP.h2.withConfig({displayName:"Title",componentId:"sc-7fa98e15-0"})(_templateObject(),function(n){return n.theme.fonts.highlight},function(n){return n.theme.colors.text});e.Z=o},15579:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return $},default:function(){return smart_fit_body_0_fidelidade}});var i=t(85893),o=t(67294),r=t(91546),a=t(14376),c=t(9008),s=t.n(c),l=t(11010),u=t(72253),d=t(91309),m=t(97582),f=t(60369),p=t(37419),_=t(49422),h=t(11163),g=t(57301),b=t(7575),v=t(6022),j=t(5106),AddonsSingleBodyLatamWithoutFidelity_useAddonsSingleBodyLatamWithoutFidelity=function(){var n,e,t,i,r,a,c,s="smart_fit_body_0_fidelidade",x=(0,f.mM)(),y=null==x?void 0:null===(t=x.state)||void 0===t?void 0:t.translate,O=null==x?void 0:null===(i=x.state)||void 0===i?void 0:i.currentLocale,w=(0,p.Z)(x),C=(0,o.useRef)(null),Z=(0,o.useRef)(null),I=(0,j._)(),A=I.brazeEventTriggerWithData,P=I.getProductData,N=(0,d._)((0,o.useState)(null),2),S=N[0],k=N[1],z=(0,d._)((0,o.useState)(null),2),L=z[0],E=z[1],F=(0,d._)((0,o.useState)(!1),2),M=F[0],T=F[1],B=(0,d._)((0,o.useState)(null),2),R=B[0],D=B[1],W=(0,d._)((0,o.useState)(!1),2),H=W[0],V=W[1],J=(0,d._)((0,o.useState)(!1),2),U=J[0],Y=J[1],$=(0,d._)((0,o.useState)(null),2),X=$[0],q=$[1],G=(0,d._)((0,o.useState)(null),2),Q=G[0],K=G[1],nn=(0,h.useRouter)(),ne=x.gaMetrics,nt=(n=(0,l._)(function(){var n,e,t,i,o,r,a,c,s,l,u,d,f,p,h;return(0,m.Jh)(this,function(m){switch(m.label){case 0:return V(!0),i={single_access_token:null==x?void 0:null===(t=x.state)||void 0===t?void 0:null===(e=t.user)||void 0===e?void 0:null===(n=e.personal)||void 0===n?void 0:n.single_access_token,code:S.code,origin:"smart_client_space"},[4,(0,_.M)(i)];case 1:return(o=m.sent()).success?(D(!0),ne.clickEvents.v2.TriggerAction({action:"sucesso",label:"body"}),ne.clickEvents.addonPurchase({addon:S,person_id:null==x?void 0:null===(c=x.state)||void 0===c?void 0:null===(a=c.user)||void 0===a?void 0:null===(r=a.personal)||void 0===r?void 0:r.id,location:null==x?void 0:null===(l=x.state)||void 0===l?void 0:null===(s=l.user)||void 0===s?void 0:s.location,plan:null==x?void 0:null===(d=x.state)||void 0===d?void 0:null===(u=d.user)||void 0===u?void 0:u.plan,value:null==x?void 0:null===(h=x.state)||void 0===h?void 0:null===(p=h.user)||void 0===p?void 0:null===(f=p.purchase)||void 0===f?void 0:f.membership_price,currency:b.ZP.i18nCurrency[O],transaction_id:null==o?void 0:o.id})):(D(!1),ne.clickEvents.v2.TriggerAction({action:"erro",label:"body"})),V(!1),[2]}})}),function(){return n.apply(this,arguments)}),ni=(e=(0,l._)(function(n){return(0,m.Jh)(this,function(e){return n.addon_term&&nt(),[2]})}),function(n){return e.apply(this,arguments)});(0,o.useEffect)(function(){var n,e,t,i=null==x?void 0:null===(t=x.state)||void 0===t?void 0:null===(e=t.user)||void 0===e?void 0:null===(n=e.location)||void 0===n?void 0:n.acronym;function _fetchData(){return(_fetchData=(0,l._)(function(){var n;return(0,m.Jh)(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),[4,(0,v.s)(i)];case 1:return(n=e.sent())&&E(n),[3,4];case 2:return console.error(e.sent()),[3,4];case 3:return V(!1),[7];case 4:return[2]}})})).apply(this,arguments)}i&&function(){_fetchData.apply(this,arguments)}()},[null==x?void 0:null===(c=x.state)||void 0===c?void 0:null===(a=c.user)||void 0===a?void 0:null===(r=a.location)||void 0===r?void 0:r.acronym]);var getAddon=function(n){if(L){var e=L.find(function(e){return e.code===n});if(e){k(e);var t=g.Z[O].filter(function(n){return n.code===e.code})[0];t&&(K(t),q(null==t?void 0:t.success_message))}}};(0,o.useEffect)(function(){s&&L&&getAddon(s)},[s,L]);var handleClickMetrics=function(n){ne.clickEvents.v2.TriggerAction({action:n,label:"body"})};return{t:y,getAddon:getAddon,formRef:C,formContentRef:Z,handleSubmit:ni,acceptTerms:M,success:R,setSuccess:D,onClose:function(){var n;D(null),w.updateUserData(),nn.push("/".concat(null==x?void 0:null===(n=x.state)||void 0===n?void 0:n.currentLocale,"/addons/"))},loading:H,addon:S,showTermsModal:U,setShowTermsModal:Y,gaMetrics:ne,successMessage:X,handlePrice:function(n){return n=(0,b.OH)(n,O),"+".concat(n.replace(/([\w\W0-9]+)(,[0-9]{2})/g,"$1<span>$2</span>").replace(/\s/g,""))},handleTermClick:function(n){T(!M),n.target.checked&&ne.clickEvents.v2.TriggerAction({action:"termo-de-adesao",label:"body"})},customAddon:Q,fitForYouList:["Total de 12 mediciones","Seguimiento del progreso a trav\xe9s de la aplicaci\xf3n"],handleClick:function(n){var e;null===(e=Z.current)||void 0===e||e.scrollIntoView({behavior:"smooth"}),handleClickMetrics(n)},handleClickMetrics:handleClickMetrics,triggerBraze:function(n,e){A(n,(0,u._)({},P(),e))}}},x=t(70764),y=t(83122),O=t(58779),w=t(19928),C=t(72108),Z=t(82729),I=t(85444),A=t(10253),P=t(12412),N=t(75026);
1function _templateObject(){var n=(0,Z._)(["\n font-weight: 900;\n font-size: 24px;\n line-height: 32px;\n margin-bottom: 0;\n\n & span {\n color: ",";;\n }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){var n=(0,Z._)(["\n font-size: 20px;\n line-height: 24px;\n font-weight: 900;\n margin-bottom: 2rem;\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){var n=(0,Z._)(["\n width: 100%;\n display: none;\n\n @media (",") {\n display: block;\n }\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){var n=(0,Z._)(["\n width: 100%;\n\n @media (",") {\n display: none;\n }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){var n=(0,Z._)(["\n padding: 0 2rem;\n margin-bottom: 5rem;\n\n & p {\n margin: 2rem 0;\n }\n\n &.grey {\n background: #f4f4f4;\n border-radius: 20px;\n margin: 0 2rem 5rem;\n padding: 2rem;\n\n & "," {\n margin-bottom: 4rem;\n }\n }\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){var n=(0,Z._)(["\n list-style-type: none;\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){var n=(0,Z._)(["\n font-size: 14px;\n line-height: 24px;\n display: flex;\n margin-bottom: 2rem;\n border-bottom: 1px solid #e4e4e4;\n padding-bottom: 2rem;\n\n &:last-child {\n border: none;\n padding-bottom: 0;\n }\n\n @media (",") {\n align-items: center;\n }\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){var n=(0,Z._)([""]);return _templateObject7=function(){return n},n}function _templateObject8(){var n=(0,Z._)(["\n font-family: ",";\n font-size: 24px;\n line-height: 32px;\n font-weight: 900;\n margin: 1rem 0 0.5rem;\n\n & span.subtext {\n font-size: 14px;\n }\n"]);return _templateObject8=function(){return n},n}function _templateObject9(){var n=(0,Z._)(["\n font-size: 12px;\n line-height: 16px;\n margin-bottom: 3rem;\n display: block;\n color: ",";\n\n @media (",") {\n margin-bottom: 0;\n }\n"]);return _templateObject9=function(){return n},n}function _templateObject10(){var n=(0,Z._)(["\n margin-right: 3rem;\n"]);return _templateObject10=function(){return n},n}function _templateObject11(){var n=(0,Z._)(["\n margin-bottom: 4rem;\n padding: 1rem 3rem;\n\n @media (",") {\n margin-bottom: 6rem;\n\n &.last {\n width: 420px;\n margin-bottom: 0;\n }\n }\n"]);return _templateObject11=function(){return n},n}function _templateObject12(){var n=(0,Z._)(["\n cursor: pointer;\n color: ",";\n\n &:hover,\n &:active,\n &:visited {\n color: ",";\n }\n"]);return _templateObject12=function(){return n},n}function _templateObject13(){var n=(0,Z._)(["\n width: 100px !important;\n margin-left: -25px !important;\n"]);return _templateObject13=function(){return n},n}function _templateObject14(){var n=(0,Z._)(["\n @media (",") {\n display: flex;\n justify-content: space-between;\n }\n"]);return _templateObject14=function(){return n},n}function _templateObject15(){var n=(0,Z._)(["\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: flex-end;\n"]);return _templateObject15=function(){return n},n}function _templateObject16(){var n=(0,Z._)(["\n margin: 2rem 0;\n font-size: 16px;\n line-height: 24px;\n"]);return _templateObject16=function(){return n},n}function _templateObject17(){var n=(0,Z._)(["\n margin-top: 4rem;\n"]);return _templateObject17=function(){return n},n}var S=(0,I.ZP)(A.Z).withConfig({displayName:"styles__StyledTitle",componentId:"sc-7b0771ac-0"})(_templateObject(),function(n){return n.theme.colors.primary}),k=(0,I.ZP)(P.Z).withConfig({displayName:"styles__StyledSubtitle",componentId:"sc-7b0771ac-1"})(_templateObject1()),z=I.ZP.img.withConfig({displayName:"styles__AddonPhoto",componentId:"sc-7b0771ac-2"})(_templateObject2(),function(n){return n.theme.sizes.medium}),L=I.ZP.img.withConfig({displayName:"styles__AddonPhotoMobile",componentId:"sc-7b0771ac-3"})(_templateObject3(),function(n){return n.theme.sizes.medium}),E=I.ZP.div.withConfig({displayName:"styles__AddonContent",componentId:"sc-7b0771ac-4"}
1)(_templateObject4(),k),F=I.ZP.ul.withConfig({displayName:"styles__AddonTargetList",componentId:"sc-7b0771ac-5"})(_templateObject5()),M=I.ZP.li.withConfig({displayName:"styles__AddonTargetListItem",componentId:"sc-7b0771ac-6"})(_templateObject6(),function(n){return n.theme.sizes.medium}),T=I.ZP.div.withConfig({displayName:"styles__AddonTargetListItemContent",componentId:"sc-7b0771ac-7"})(_templateObject7()),B=I.ZP.div.withConfig({displayName:"styles__AddonPrice",componentId:"sc-7b0771ac-8"})(_templateObject8(),function(n){return n.theme.fonts.highlight}),R=I.ZP.div.withConfig({displayName:"styles__PriceDisclaimer",componentId:"sc-7b0771ac-9"})(_templateObject9(),function(n){return n.theme.colors.darkGray},function(n){return n.theme.sizes.medium}),D=I.ZP.div.withConfig({displayName:"styles__ArrowIcon",componentId:"sc-7b0771ac-10"})(_templateObject10()),W=(0,I.ZP)(N.Z).withConfig({displayName:"styles__StyledButton",componentId:"sc-7b0771ac-11"})(_templateObject11(),function(n){return n.theme.sizes.medium}),H=I.ZP.strong.withConfig({displayName:"styles__ButtonTerms",componentId:"sc-7b0771ac-12"})(_templateObject12(),function(n){return n.theme.colors.danger},function(n){return n.theme.colors.danger});I.ZP.img.withConfig({displayName:"styles__IconSuccess",componentId:"sc-7b0771ac-13"})(_templateObject13());var V=I.ZP.div.withConfig({displayName:"styles__FormAction",componentId:"sc-7b0771ac-14"})(_templateObject14(),function(n){return n.theme.sizes.medium}),J=I.ZP.div.withConfig({displayName:"styles__FormActionItem",componentId:"sc-7b0771ac-15"})(_templateObject15()),U=I.ZP.div.withConfig({displayName:"styles__IntroText",componentId:"sc-7b0771ac-16"})(_templateObject16()),Y=I.ZP.div.withConfig({displayName:"styles__FormContent",componentId:"sc-7b0771ac-17"})(_templateObject17()),components_AddonsSingleBodyLatamWithoutFidelity=function(){var n=AddonsSingleBodyLatamWithoutFidelity_useAddonsSingleBodyLatamWithoutFidelity(),e=n.t,t=n.formRef,o=n.handleSubmit,r=n.acceptTerms,a=n.success,c=n.setSuccess,l=n.onClose,u=n.loading,d=n.addon,m=n.successMessage,f=n.handlePrice,p=n.handleTermClick,_=n.customAddon,h=n.fitForYouList,g=n.handleClick,b=n.handleClickMetrics,v=n.formContentRef,j=n.triggerBraze;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s(),{children:(0,i.jsxs)("title",{children:[e["Smart Fit"]," - ",e["Espa\xe7o do Cliente"]," - ",e.title_page_addons]})}),d&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(z,{src:"/images/smartfit-body.svg"}),(0,i.jsx)(L,{src:"/images/smartfit-body-mobile.svg"}),(0,i.jsxs)(E,{children:[(0,i.jsx)(S,{dangerouslySetInnerHTML:{__html:e["\xa1Sigue la evoluci\xf3n de tu cuerpo!"]}}),(0,i.jsx)(U,{children:e["Realiza tu bioimpedancia y sigue los cambios de tu cuerpo a lo largo del a\xf1o directamente en la App"]}),(0,i.jsx)(W,{variant:"primary",onClick:function(){j("additional_products_details_add_to_plan_clicked",{section:"product-details",product:"smart-body"}),g("assine-ja-1")},children:e["ASSINE J\xc1"]})]}),(0,i.jsxs)(E,{className:"grey",children:[(0,i.jsx)(k,{children:e["\xbfC\xf3mo saber si %{addon} es para ti?"].replace("%{addon}",_.name)}),(0,i.jsx)(F,{children:h.map(function(n,e){return(0,i.jsxs)(M,{children:[(0,i.jsx)(D,{children:(0,i.jsx)("img",{src:"/icons/arrow-circle-right.svg"})}),(0,i.jsx)(T,{dangerouslySetInnerHTML:{__html:n}})]},e)})})]}),(0,i.jsxs)(E,{children:[(0,i.jsx)(k,{children:e["\xbfQu\xe9 es la bioimpedancia?"]}),(0,i.jsx)("p",{children:e["La prueba de bioimpedancia utiliza una escala especial para medir tus niveles de masa magra, grasa corporal y otros datos que brindan informaci\xf3n precisa sobre tu estado nutricional."]}),(0,i.jsx)("p",{children:e["Con la bioimpedancia, los nutricionistas y profesores de gimnasia tienen m\xe1s informaci\xf3n para ayudarte a alcanzar tus objetivos m\xe1s r\xe1pido."]}),(0,i.jsx)(y.l,{ref:t,onSubmit:o,placeholder:void 0,onPointerEnterCapture:void 0,onPointerLeaveCapture:void 0,children:(0,i.jsxs)(Y,{ref:v,children:[(0,i.jsx)(x.Z,{altLabel:(0,i.jsxs)(i.Fragment,{children:[e["He le\xeddo y acepto el"]," ",(0,i.jsx)(H,{as:"a",href:null==_?void 0:_.terms_url,target:"_blank",rel:"noopener noreferrer",children:e["formulario de adhesi\xf3n"]})]}),name:"addon_term",onClick:function(n){return p(n)}}),(0,i.jsxs)(V,{children:[(0,i.jsxs)(J,{children:[(0,i.jsx)(B,{dangerouslySetInnerHTML:{__html:"".concat(f(null==d?void 0:d.price),'<span class="subtext">
1 por ').concat(e["m\xeas"],"</span>")}}),_.fidelity&&(0,i.jsx)(R,{dangerouslySetInnerHTML:{__html:"IVA incluido. Sin fidelidad."}})]}),(0,i.jsx)(J,{children:(0,i.jsx)(W,{variant:"primary",type:"submit",disabled:!r,onClick:function(){j("additional_products_details_add_to_plan_clicked",{section:"confirmation-section",product:"smart-body",withPersonalData:!0}),b("adicionar-ao-plano")},className:"last",children:e["\xa1INSCR\xcdBETE YA!"]})})]})]})})]}),(0,i.jsx)(function(){return u?(0,i.jsx)(w.Z,{}):(0,i.jsx)(i.Fragment,{})},{}),(0,i.jsx)(function(){return a?(0,i.jsx)(O.Z,{title:e["OBA! %{ADDON} FOI ADICIONADO AO SEU PLANO"].replace("%{ADDON}","Smart Fit Body"),message:m,onClose:function(){j("additional_products_success_close_clicked",{modal:"additional-products-success"}),l()},showing:!0}):(0,i.jsx)(i.Fragment,{})},{}),(0,i.jsx)(function(){return!1===a?(0,i.jsx)(C.Z,{showing:!0,title:e["OPS, ocorreu um erro!"],message:e["Devido a uma falha sist\xeamica n\xe3o foi poss\xedvel concluir a contrata\xe7\xe3o. Por favor, tente novamente em alguns minutos."],onClose:function(){return c(null)}}):(0,i.jsx)(i.Fragment,{})},{})]})]})},$=!0,smart_fit_body_0_fidelidade=function(){var n=(0,o.useRef)(null);return(0,i.jsx)(r.Z,{footerRef:n,children:(0,i.jsx)(a.default,{noWrapperMobilePadding:!0,children:(0,i.jsx)(components_AddonsSingleBodyLatamWithoutFidelity,{})})})}},49422:function(n,e,t){"use strict";t.d(e,{M:function(){return postAddons},v:function(){return getAddon}});var i=t(11010),o=t(72253),r=t(97582),a=t(48303);function postAddons(n){return _postAddons.apply(this,arguments)}function _postAddons(){return(_postAddons=(0,i._)(function(n){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return[4,(0,a.v_)("/api/v1/addons/".concat(n.code),(0,o._)({},n)).then(function(n){return null==n?void 0:n.data}).catch(function(n){var e;return null==n?void 0:null===(e=n.response)||void 0===e?void 0:e.data})];case 1:return[2,e.sent()]}})})).apply(this,arguments)}function getAddon(n){return _getAddon.apply(this,arguments)}function _getAddon(){return(_getAddon=(0,i._)(function(n){return(0,r.Jh)(this,function(e){switch(e.label){case 0:return[4,(0,a.U2)("/api/v1/addons/".concat(n),{}).then(function(n){return null==n?void 0:n.data}).catch(function(n){var e;return null==n?void 0:null===(e=n.response)||void 0===e?void 0:e.data})];case 1:return[2,e.sent()]}})})).apply(this,arguments)}},6022:function(n,e,t){"use strict";t.d(e,{s:function(){return getLocationAddons}});var i=t(11010),o=t(97582),r=t(11647),a=t(48303);function getLocationAddons(n){return _getLocationAddons.apply(this,arguments)}function _getLocationAddons(){return(_getLocationAddons=(0,i._)(function(n){var e,t;return(0,o.Jh)(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,(0,a.U2)("/api/v1/locations/".concat(n,"/addons"),{})];case 1:return t=i.sent(),[2,(0,r.Z)(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.data)];case 2:return console.error("An unexpected error happened:",i.sent()),[2];case 3:return[2]}})})).apply(this,arguments)}},11647:function(n,e){"use strict";var t=/[-]/g,getAttributes=function(n,e){if(e&&"[object Object]"===Object.prototype.toString.call(e))return Object.keys(e).forEach(function(i){var o=e[i];t.test(i)&&(i=i.replaceAll(t,"_")),n[i]=o}),n},getAttributesFallback=function(n,e){if(e&&"[object Object]"===Object.prototype.toString.call(e))return Object.keys(e).forEach(function(i){var o=e[i],r=i;try{t.test(i)&&(r=i.replace(t,"_"))}catch(n){}n[r]=o}),n};e.Z=function(n){var e=null==n?void 0:n.data;if(e&&Array.isArray(e))return e.map(function(n){var e={id:n.id,type:n.type};try{return getAttributes(e,n.attributes)}catch(t){return getAttributesFallback(e,n.attributes)}})}},9008:function(n,e,t){n.exports=t(79201)}},function(n){n.O(0,[5445,9402,1546,3926,4376,7301,9774,2888,179],function(){return n(n.s=71723)}),_N_E=n.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.