PageSourceSearch

https://ferreiracosta.com/_next/static/chunks/8555-1cd7206aa9230579.js

js ferreiracosta.com collected 2026-09-24 22:04:02 UTC 22,749 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b271a5e3-339b-4112-b9ad-00ecde1a2531",e._sentryDebugIdIdentifier="sentry-dbid-b271a5e3-339b-4112-b9ad-00ecde1a2531")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8555],{16864:(e,t,o)=>{o.d(t,{A:()=>c});var n=o(80263),i=o(36867),r=o(31528),a=o(30746);let l=a.Ay.section.withConfig({componentId:"sc-c00baee8-0"})(["display:flex;flex-direction:row;justify-content:flex-start;align-items:center;margin-top:",";"],r.w.space.x3),s=a.Ay.span.withConfig({componentId:"sc-c00baee8-1"})(["color:",";font-size:",";font-weight:",";margin-left:",";"],e=>{let{highlight:t}=e;return t?r.w.colors.primary["225"]:r.w.colors.neutral["550"]},r.w.typography.fontSize.sm.x5,r.w.typography.fontWeight["600"],e=>{let{marginLeft:t}=e;return null!=t?t:"0"}),c=()=>(0,n.jsxs)(l,{children:[(0,n.jsx)(i.Y,{color:r.w.colors.neutral["550"]}),(0,n.jsxs)(s,{marginLeft:r.w.space.x2,children:[" ","Os itens marcados com",(0,n.jsx)(s,{highlight:!0,children:" * "}),"s\xe3o obrigat\xf3rios."]})]})},43096:(e,t,o)=>{o.d(t,{E:()=>I});var n=o(80263),i=o(63090),r=o(95259),a=o(31528),l=o(92700),s=o(30746),c=o(66672),d=o(38249),p=o(51544),h=o(1573);let f=(0,s.Ay)(h.a).withConfig({componentId:"sc-983cf987-0"})([""]),m=s.Ay.section.withConfig({componentId:"sc-983cf987-1"})(["display:flex;flex-flow:row nowrap;align-items:stretch;justify-content:",";box-shadow:0 1px 3px rgb(0 0 0 / 10%);position:relative;z-index:1;flex:1;padding:",";max-height:70px;min-height:70px;width:100%;"],e=>{let{justifyContent:t}=e;return t||"space-between"},a.w.space.x4),u=s.Ay.h1.withConfig({componentId:"sc-983cf987-2"})(["justify-content:flex-start;flex:1;display:flex;position:relative;align-items:center;font-size:",";font-weight:bold;padding:",";color:",";"],a.w.typography.fontSize.md.x1,"".concat(a.w.space.x4," ").concat(a.w.space.x0),a.w.colors.neutral["550"]),x=s.Ay.section.withConfig({componentId:"sc-983cf987-3"})(["display:inline-flex;justify-content:center;align-items:center;cursor:pointer;",""],(0,c.t)(48)),w=(0,s.Ay)(d.U).attrs({width:"32px",height:"32px",strokeWidth:"0.75",color:a.w.colors.neutral["550"]}).withConfig({componentId:"sc-983cf987-4"})([""]),g=s.Ay.section.withConfig({componentId:"sc-983cf987-5"})(["background-color:",";padding:",";padding-bottom:0;position:relative;overflow-y:auto;overflow-x:hidden;flex:1;"],e=>{let{backgroundColor:t}=e;return t||a.w.colors.neutral["80"]},a.w.space.x4),y=s.Ay.section.withConfig({componentId:"sc-983cf987-6"})(["display:flex;justify-content:center;flex-direction:column;align-items:center;z-index:1;flex:1;gap:",";min-height:70px;padding:",";",""],e=>{let{gap:t}=e;return t||a.w.space.x2},e=>{let{padding:t}=e;return t||"initial"},e=>{let{hasFooterShadow:t}=e;return t&&(0,s.AH)(["-webkit-box-shadow:0px -38px 26px -15px rgba(0,0,0);-moz-box-shadow:0px -38px 26px -15px rgba(0,0,0);box-shadow:0px -38px 26px -15px rgba(0,0,0);"])}),b=(0,s.Ay)(p.j).attrs({alignSelf:"center",fontSize:a.w.typography.fontSize.sm.x5}).withConfig({componentId:"sc-983cf987-7"})(["padding:0 16px;transition:background-color 0.2s ease-in;align-self:center;"]),v=s.Ay.span.withConfig({componentId:"sc-983cf987-8"})(["font-size:1rem;font-weight:bold;color:",";text-decoration:underline;text-decoration-color:",";cursor:pointer;"],a.w.colors.neutral["999"],a.w.colors.neutral["999"]),C=s.Ay.section.withConfig({componentId:"sc-983cf987-9"})(["font-size:1.5rem;width:100%;max-width:50rem;align-items:flex-start;justify-content:center;text-align:center;display:flex;flex-direction:column;gap:",";min-width:17rem;"],a.w.space.x2),j=s.Ay.span.withConfig({componentId:"sc-983cf987-10"})(["display:flex;flex-direction:column;text-align:start;font-weight:500;color:",";font-size:",";gap:",";@media ","{font-size:",";}"],a.w.colors.neutral["550"],a.w.typography.fontSize.sm.x7,a.w.space.x2,a.w.device.desktopFirst.mobileS,a.w.typography.fontSize.sm.x5),A=s.Ay.span.withConfig({componentId:"sc-983cf987-11"})(["display:flex;flex-direction:column;border-radius:4px;gap:",";color:",";align-items:center;justify-content:center;width:100%;"],a.w.space.x2,a.w.colors.neutral["520"]),k=s.Ay.legend.withConfig({componentId:"sc-983cf987-12"})(["text-align:start;width:100%;color:",";font-size:",";font-weight:400;@media ","{margin-left:0;}@media ","{font-size:",";}
1"],a.w.colors.neutral["520"],a.w.typography.fontSize.sm.x5,a.w.device.desktopFirst.mobileM,a.w.device.desktopFirst.mobileS,a.w.typography.fontSize.sm.x5),I=e=>{let{width:t,height:o,footerGap:s="1rem",title:c,buttonText:d,alternativeButtonText:p,buttonTextUnderAction:h,buttonUnderAction:I,form:z,buttonSize:S,border:W,onCloseModal:O,onClickOnButton:F,onClickAlternativeButton:N,buttonHoverColor:M=a.w.colors.secondary["500"],hasFooterShadow:E,modalButtonPadding:D,textDecoration:T,isFormInvalid:B=!1,modalButtonColor:L=a.w.colors.secondary["265"],footerText:P,modalText:U,isOpen:_,isDoingPayment:R,...H}=e,{acceptedWhatsapp:J}=(0,i.nc)();return(0,n.jsxs)(f,{...(0,r.h)("confirm-payment-modal"),...H,styles:{content:{gap:"16px",padding:"0px",maxWidth:t,minHeight:null!=o?o:"fit-content"}},onCloseModal:O,contentLabel:c,isOpen:_,children:[(0,n.jsxs)(m,{...(0,r.h)("confirm-payment-modal-header"),justifyContent:"center",children:[(0,n.jsx)(u,{...(0,r.h)("confirm-payment-modal-header-title"),children:c}),(0,n.jsx)(x,{...(0,r.h)("confirm-payment-modal-header-close"),onClick:O,children:(0,n.jsx)(w,{})})]}),(0,n.jsx)(g,{...(0,r.h)("confirm-payment-modal-body"),backgroundColor:"white",children:(0,n.jsxs)(C,{...(0,r.h)("confirm-payment-body"),children:[(0,n.jsx)(j,{...(0,r.h)("confirm-payment-header"),children:U}),!J&&(0,n.jsxs)(A,{...(0,r.h)("confirm-payment-field-set"),children:[(0,n.jsx)(k,{...(0,r.h)("confirm-payment-field-set-legend"),children:"Para acompanhar seu pedido em tempo real via Whatsapp selecione a op\xe7\xe3o abaixo:"}),(0,n.jsx)(l.m,{...(0,r.h)("whats-app-option"),isSavingWhatsAppOption:!!R,shallUseToast:!1})]})]})}),(0,n.jsxs)(y,{...(0,r.h)("confirm-payment-modal-footer"),gap:s,hasFooterShadow:E,padding:"16px",children:[(0,n.jsx)(b,{...(0,r.h)("confirm-payment-modal-footer-button"),buttonType:"button",text:d,textUnderAction:h,underAction:I,color:L,hoveredColor:M,minWidth:"string"==typeof S?S:null==S?void 0:S.minWidth,maxWidth:"string"==typeof S?S:null==S?void 0:S.maxWidth,onClickAction:F,form:z,border:W,height:a.w.space.x12,fontWeight:400}),N&&(0,n.jsx)(b,{...(0,r.h)("confirm-payment-modal-footer-alternative-button"),text:p,isDisabled:B,textUnderAction:"",color:"white",contentColor:"black",hoveredColor:"white",minWidth:"string"==typeof S?S:null==S?void 0:S.minWidth,maxWidth:"string"==typeof S?S:null==S?void 0:S.maxWidth,onClickAction:O,padding:D,buttonType:"button",fontWeight:700,textDecoration:T}),!!P&&(0,n.jsx)(v,{...(0,r.h)("confirm-payment-modal-footer-text"),onClick:O,children:P})]})]})}},47914:(e,t,o)=>{o.d(t,{E:()=>h});var n=o(80263),i=o(95259),r=o(97748),a=o(30746),l=o(2568);let s=a.Ay.div.withConfig({componentId:"sc-afad737-0"})(["display:flex;align-items:flex-start;gap:",";padding:",";border-radius:",";background:",";"],l.f.v2.primitive.space.xs[2],l.f.v2.primitive.space.xs[2],l.f.v2.primitive.borderRadius.xs[1],l.f.v2.colors.primary.green.light[850]),c=a.Ay.div.withConfig({componentId:"sc-afad737-1"})(["flex-shrink:0;width:18px;height:18px;display:flex;align-items:center;justify-content:center;"]),d=a.Ay.div.withConfig({componentId:"sc-afad737-2"})(["display:flex;flex-direction:column;color:",";font-size:",";font-weight:",";line-height:normal;flex:1;"],l.f.v2.colors.primary.gray.dark[50],l.f.v2.typography.fontSize.sm[2],l.f.v2.typography.fontWeight[300]),p=a.Ay.p.withConfig({componentId:"sc-afad737-3"})(["color:",";font-size:",";font-weight:",";line-height:normal;"],l.f.v2.colors.primary.gray.dark[50],l.f.v2.typography.fontSize.sm[2],l.f.v2.typography.fontWeight[300]),h=e=>{let{message:t}=e;return(0,n.jsxs)(s,{children:[(0,n.jsx)(c,{children:(0,n.jsx)(r.P,{})}),(0,n.jsx)(d,{...(0,i.h)("purchase-notice-content"),children:(0,n.jsx)(p,{...(0,i.h)("purchase-notice-label"),children:null!=t?t:"Voc\xea n\xe3o ter\xe1 despesas adicionais. Os valores de frete e seguro, assim como as demais despesas, est\xe3o inclusas no pre\xe7o final."})})]})}},51966:(e,t,o)=>{o.d(t,{Ef:()=>l,Ot:()=>a});var n=o(30746),i=o(31528),r=o(2424);let a=n.Ay.div.withConfig({componentId:"sc-2fcdf0bc-0"})(["position:fixed;top:0;left:0;width:100%;height:100%;background-color:",";z-index:9999;transition:all 0.4s ease-in-out;"],i.w.colors.neutral["999-opacity-15"]),l=n.Ay.button.withConfig({componentId:"sc-2fcdf0bc-1"})(["display:flex;align-items:center;justify-content:center;text-decoration:none;width:",";border-radius:6px;padding:0.75rem 1.25rem;cursor:",";opacity:",";font-size:1.25rem;font-family:",",sans-serif;font-weight:500;text-shadow:0 1px 0 ",";background:",";color:",";border:0;transition:all 0.2s ease;&:hover{background:",";}"],e=>{let{isClientMobile:t}=e;return t?"100%":"12.5rem"},e=>{let{isButtonDisabled:t}=e;return t?"default":"pointer"},e=>{let{isButtonDisabled:t}=e;return t?"0.5":"1"},i.w.typography.fontFamily.chivo,i.w.colors.neutral["830"],i.w.colors.secondary["360"],i.w.colors.neutral.white,i.w.colors.secondary["420"]);(0,n.Ay)(r.N).withConfig({componentId:"sc-2fcdf0bc-2"})([""]),n.Ay.section.withConfig({componentId:"sc-2fcdf0bc-3"})(["font-size:1.5rem;width:100%;max-width:50rem;align-items:flex-start;justify-content:center;text-align:center;display:flex;flex-direction:column;gap:",";min-width:17rem;"],i.w.space.x2),n.Ay.span.withConfig({componentId:"sc-2fcdf0bc-4"})(["display:flex;flex-direction:column;text-align:start;font-weight:600;color:",";font-size:",";gap:",";@media ","{font-size:",";}"],i.w.colors.neutral["550"],i.w.typography.fontSize.sm.x7,i.w.space.x2,i.w.device.desktopFirst.mobileS,i.w.typography.fontSize.sm.x5),n.Ay.span.withConfig({componentId:"sc-2fcdf0bc-5"})(["display:flex;flex-direction:column;border-radius:4px;gap:",";color:",";align-items:center;justify-content:center;width:100%;"],i.w.space.x2,i.w.colors.neutral["520"]),n.Ay.legend.withConfig({componentId:"sc-2fcdf0bc-6"})(["text-align:start;width:100%;color:",";font-size:",";font-weight:400;@media ","{margin-left:0;}@media ","{font-size:",";}"],i.w.colors.neutral["520"],i.w.typography.fontSize.sm.x5,i.w.device.desktopFirst.mobileM,i.w.device.desktopFirst.mobileS,i.w.typography.fontSize.sm.x5)},59533:(e,t,o)=>{o.d(t,{m:()=>l});var n=o(80263),i=o(95259),r=o(38249),a=o(99769);let l=e=>{var t,o;let{isOpen:l,typeInfo:s,backgroundColor:c,textHeader:d,descriptionBody:p,actionCloseButton:h,footerProps:f}=e;return l?(0,n.jsxs)(a.bk,{...(0,i.h)("modal-alert-confirm"),typeInfo:s,backgroundColor:c,children:[(0,n.jsx)(a.pf,{...(0,i.h)("modal-alert-confirm-button-close"),onClick:h,typeInfo:s,children:(0,n.jsx)(r.U,{height:25,width:25})}),d&&(0,n.jsx)(a.XV,{...(0,i.h)("modal-alert-confirm-header"),children:(0,n.jsx)(a.Wf,{...(0,i.h)("modal-alert-confirm-header-title"),lowerContent:!!p,children:d})}),p&&(0,n.jsx)(a.aN,{...(0,i.h)("modal-alert-confirm-body"),children:p}),(null==f?void 0:f.isActive)?(0,n.jsx)(a.J9,{...(0,i.h)("modal-alert-confirm-footer"),children:(null==f?void 0:f.children)?f.children:(0,n.jsxs)(n.Fragment,{children:[(null==f?void 0:f.buttonLine)&&(0,n.jsx)(a.hh,{...(0,i.h)("modal-alert-confirm-footer-button-line"),onClick:null==f?void 0:f.actionButtonLine,children:null!=(t=null==f?void 0:f.textButtonLine)?t:"Cancelar"}),(null==f?void 0:f.buttonSolid)&&(0,n.jsx)(a.ec,{...(0,i.h)("modal-alert-confirm-footer-button-solid"),onClick:null==f?void 0:f.actionButtonSolid,children:null!=(o=null==f?void 0:f.textButtonSolid)?o:"Confirmar"})]})}):null]}):null}},82944:(e,t,o)=>{o.d(t,{S:()=>m});var n=o(80263),i=o(95259),r=o(53239),a=o(30746),l=o(31528);let s=a.Ay.div.withConfig({componentId:"sc-4e80622d-0"})(["margin-top:1rem;width:100%;border:1px solid ",";border-radius:5px;padding:0.8rem;transition:border-width 0.2s ease-in-out;transition:border-width 0.2s ease-in-out;&:focus-within{border-width:2px;}"],l.w.colors.neutral["999-opacity-75"]),c=a.Ay.textarea.withConfig({componentId:"sc-4e80622d-1"})(["border:none;resize:none;width:100%;"]),d=a.Ay.div.withConfig({componentId:"sc-4e80622d-2"})(["display:flex;justify-content:space-between;margin-top:2rem;"]),p=a.Ay.span.withConfig({componentId:"sc-4e80622d-3"})(["color:",";font-weight:",";font-size:",";"],l.w.colors.neutral["465"],l.w.typography.fontWeight["700"],l.w.typography.fontSize.sm.x3),h=a.Ay.span.withConfig({componentId:"sc-4e80622d-4"})(["color:",";"],l.w.colors.primary["200"]),f=a.Ay.div.withConfig({componentId:"sc-4e80622d-5"})(["display:flex;align-items:flex-end;justify-content:flex-end;text-align:left;font-weight:bold;color:",";"],e=>{let{maxLengthOfMessage:t}=e;return t?"".concat(l.w.colors.primary["200"]):"".concat(l.w.colors.neutral["465"])}),m=e=>{let{error:t=!1,helperTextError:o=" ",handleOnChange:a,labelOptional:l,label:m,maxLength:u=500,maxLengthOfMessage:x=!1,placeholder:w,rows:g=5,testId:y="TextArea",testIdLabel:b="Label"}=e,[v,C]=(0,r.useState)("");return(0,n.jsxs)("div",{children:[(0,n.jsxs)(d,{children:[(0,n.jsx)(p,{...(0,i.h)(b),children:m}),(0,n.jsx)(p,{children:l})]}),(0,n.jsxs)(s,{maxLengthOfMessage:x,children:[(0,n.jsx)(c,{id:"charCounter",rows:g,maxLength:u,onChange:e=>{a(e.target.value),C(e.target.value)},value:v,placeholder:w,...(0,i.h)(y)}),(0,n.jsxs)(f,{maxLengthOfMessage:x,children:[v.length,"/",u]})]}),t?(0,n.jsx)(h,{...(0,i.h)("text-area-error"),children:o}):null]})}},92700:(e,t,o)=>{o.d(t,{m:()=>I});var n=o(80263),i=o(51247),r=o(32603),a=o(63090),l=o(95259),s=o(25827),c=o(53239),d=o(18846),p=o(31528),h=o(8235),f=o(76275),m=o(30746),u=o(60203),x=o(10735),w=o(51544);let g=(0,m.Ay)(u.n).attrs({alignItems:"center",justifyContent:"space-between",gap:p.w.space.x2}).withConfig({componentId:"sc-23a22a0c-0"})(["padding:"," ",";",""],p.w.space.x4,p.w.space.x0,e=>
1{let{hasBackground:t}=e;return!t&&(0,m.AH)(["padding:",";background-color:",";"],p.w.space.x4,p.w.colors.neutral["white-075"])}),y=(0,m.Ay)(x.Y).withConfig({componentId:"sc-23a22a0c-1"})([""]);(0,m.Ay)(w.j).attrs({fontSize:p.w.typography.fontSize.sm.x5,height:"4rem",type:"button"}).withConfig({componentId:"sc-23a22a0c-2"})(["padding:"," ",";transition:background-color 0.2s ease-in;align-self:flex-start;"],p.w.space.x0,p.w.space.x4);let b=m.Ay.div.withConfig({componentId:"sc-23a22a0c-3"})(["display:flex;align-items:center;gap:",";@media ","{gap:",";}"],p.w.space.x2,p.w.device.desktopFirst.mobileXL,p.w.space.x2),v=m.Ay.div.withConfig({componentId:"sc-23a22a0c-4"})(["display:flex;align-self:end;"]);(0,l.h)("my-data-account-layout"),(0,l.h)("my-data-container"),(0,l.h)("my-data-container-title"),(0,l.h)("my-data-form"),(0,l.h)("my-data-form-wrapper"),(0,l.h)("my-data-body"),(0,l.h)("my-data-footer"),(0,l.h)("my-data-body-container"),(0,l.h)("my-data-field-container-name"),(0,l.h)("my-data-field-label-name"),(0,l.h)("my-data-field-input-name"),(0,l.h)("my-data-field-container-cpf"),(0,l.h)("my-data-field-label-cpf"),(0,l.h)("my-data-field-input-cpf"),(0,l.h)("my-data-field-container-email"),(0,l.h)("my-data-field-label-email"),(0,l.h)("my-data-field-input-email"),(0,l.h)("my-data-field-container-phone-number"),(0,l.h)("my-data-field-label-phone-number"),(0,l.h)("my-data-field-input-phone-number"),(0,l.h)("my-data-field-container-password"),(0,l.h)("my-data-field-label-password"),(0,l.h)("my-data-field-input-password"),(0,l.h)("my-data-footer-container");let C=(0,l.h)("my-data-whatsapp-option-container"),j=(0,l.h)("my-data-whatsapp-option-checkbox"),A=(0,l.h)("my-data-whatsapp-option-text"),k=(0,l.h)("my-data-whatsapp-option-image");(0,l.h)("my-data-save-data-button");let I=e=>{var t;let{isSavingWhatsAppOption:o,shallUseToast:m,finishSaveWhatsAppOption:u,hasBackground:x=!1}=e,{addToast:w}=(0,i.useToast)(),{isClientMobile:I}=(0,r.Us)(),{register:z}=(0,d.mN)(),{getTokens:S}=(0,a.nc)(),{acceptedWhatsapp:W}=(0,a.nc)(),O=null==(t=S())?void 0:t.token,F="Ocorreu um erro inesperado, tente novamente",[N,M]=(0,c.useState)(W),E=(0,c.useCallback)(async()=>{if(O&&o){let{data:e,error:t}=await s.OT.setUserNotificationsSettingsWhatsApp({token_type:"Bearer",access_token:O},{notificationChannelId:5,notificationTypeId:1,receiveNotification:N});if(t){m&&w({title:"".concat(null!=t?t:F),type:"error"}),u&&u("".concat(null!=t?t:F));return}if(!e){m&&w({title:F,type:"error"}),u&&u("Ocorreu um erro inesperado, tente novamente");return}m&&w({title:"Op\xe7\xe3o alterada com sucesso!",type:"success"}),u&&u()}},[O,w,u,N,o,m]);(0,c.useEffect)(()=>{E()},[O,w,N,o,u,m,E]);let D=I?p.w.typography.fontSize.sm.x3:p.w.typography.fontSize.sm.x5;return(0,n.jsx)(g,{hasBackground:x,...(0,l.h)("whatsapp-option-container"),...C,children:(0,n.jsxs)(b,{...(0,l.h)("whatsapp-form"),id:"whatsAppForm",children:[(0,n.jsx)(v,{...(0,l.h)("checkbox-Container"),children:(0,n.jsx)(f.A,{...(0,l.h)("receive-notification"),id:"receive-notification",height:p.w.space.x4,width:p.w.space.x4,borderRadius:p.w.space.x1,borderColor:p.w.colors.neutral["580"],name:"receiveNotification",color:p.w.colors.secondary["250"],required:!1,hasError:!1,heightChecked:"8px",widthChecked:"4px",left:"1px",sizeChecked:"1em",register:z,checked:N,disabled:o,isCheckedEvent:e=>{null!=e&&M(e)},...j})}),(0,n.jsx)(y,{...k}),(0,n.jsx)(h.E,{...(0,l.h)("whatsapp-option-text"),"aria-label":"Desejo acompanhar meu pedido por WhatsApp",fontSize:D,color:p.w.colors.neutral["550"],...A,textAlign:"flex-start",margin:"0px",children:"Desejo acompanhar meu pedido por WhatsApp"})]})})}},95850:(e,t,o)=>{o.d(t,{F:()=>g});var n=o(80263),i=o(32603),r=o(56761),a=o(63090),l=o(71128),s=o(38738),c=o(24226),d=o(74086),p=o(95259),h=o(25827),f=o(53239),m=o(31528),u=o(43096),x=o(92137),w=o(51966);let g=e=>{var t;let{doPayment:o,isDoingPayment:g,isButtonDisabled:y=!1,modalText:b,formSubmitButtonId:v,isClosedModal:C=!0,callbackBeforeOpenModal:j}=e,{isClientMobile:A}=(0,i.Us)(),[k,I]=(0,f.useState)(!1),{setFinishPayment:z}=(0,r.usePurchase)(),{getTokens:S}=(0,a.nc)(),W=null==(t=S())?void 0:t.token,{loggedClient:O}=(0,a.nc)(),{isAccessBffEnabled:F}=(0,l.C)(),{setIsRegisterPhoneNumberModalOpen:N,changeCurrentStep:M,openCheckoutModal:E,setOpenCheckoutModal:D,isRegisterPhoneNumberModalOpen:T}=(0,s.S)((0,c.k)(e=>({setIsRegisterPhoneNumberModalOpen:e.setIsRegisterPhoneNumberModalOpen,changeCurrentStep:e.changeCurrentStep,openCheckoutModal:e.openCheckoutModal,setOpenCheckoutModal:e.setOpenCheckoutModal,isRegisterPhoneNumberModalOpen:e.isRegisterPhoneNumberModalOpen}))),B=(0,f.useCallback)(()=>{I(!1),D(!1)},[D]);(0,f.useEffect)(()=>{C||g||B()},[g,C,B]);let L=async()=>{var e,t,o;let n=await h.ZC.receiveConfirmationTypes({cpf:String(null==O?void 0:O.cpf),email:String(null==O?void 0:O.email),jwt:W,isAccessBffEnabled:F});if(((null==n||null==(e=n.data)?void 0:e.phoneNumber)===""||!(null==n||null==(t=n.data)?void 0:t.phoneNumber))&&(!(null==O?void 0:O.phoneNumber)||(null==O||null==(o=O.phoneNumber)?void 0:o.length)<10)||(0,d.Q)(null==O?void 0:O.phoneNumber)){M("modalCall"),N(!0);return}I(!0)};return(0,n.jsxs)(n.Fragment,{children:[g&&(0,n.jsx)(w.Ot,{}),(0,n.jsx)(w.Ef,{...(0,p.h)("confirm-payment-button"),isClientMobile:A,onClick:e=>{e.stopPropagation(),z(!0),j&&j(),e.preventDefault(),L()},disabled:y,isButtonDisabled:y,type:"button",form:v,children:"Finalizar pedido"}),(0,n.jsx)(u.E,{...(0,p.h)("confirm-payment-modal"),form:"whatsAppForm",isOpen:k||E,onCloseModal:()=>{B(),z(!1)},width:"630px",height:"15rem",title:"Finalizar pedido",buttonText:"Finalizar pedido",buttonUnderAction:g,buttonTextUnderAction:"Finalizando pedido...",buttonSize:{maxWidth:"596px",minWidth:"264px"},modalButtonColor:m.w.colors.secondary["250"],onClickOnButton:()=>{z(!1),o()},buttonHoverColor:m.w.colors.secondary["700"],footerGap:"5.5rem",modalButtonPadding:"2rem",modalText:b,isDoingPayment:g}),T&&(0,n.jsx)(x.J,{})]})}},99769:(e,t,o)=>{o.d(t,{J9:()=>f,Wf:()=>p,XV:()=>l,aN:()=>h,bk:()=>a,ec:()=>d,hh:()=>c,pf:()=>s});var n=o(30746),i=o(31528);let r={info:i.w.colors.tertiary["300"],warn:i.w.colors.yellow["600"],error:i.w.colors.primary["200"],success:i.w.colors.secondary["400"]},a=n.Ay.section.withConfig({componentId:"sc-4a7f248a-0"})(["display:flex;flex-direction:column;background-color:",";width:fit-content;height:fit-content;padding:",";border-radius:",";position:fixed;left:50%;
1top:40%;transform:translate(-50%,-50%);z-index:99999;box-shadow:4px 4px 14px 0px ",";border:2px solid;border-color:",";"],e=>{let{backgroundColor:t}=e;return null!=t?t:i.w.colors.neutral.white},i.w.space.x4,i.w.space.x3,i.w.colors.neutral["600"],e=>{let{typeInfo:t}=e;return t&&t in r?r[t||"info"]:r.warn}),l=n.Ay.header.withConfig({componentId:"sc-4a7f248a-1"})(["position:relative;"]),s=n.Ay.button.withConfig({componentId:"sc-4a7f248a-2"})(["border-radius:50%;max-height:3rem;max-width:3rem;padding:0.5rem;position:absolute;top:-1rem;right:-1rem;cursor:pointer;display:flex;justify-content:center;align-items:center;background:",";border:2px solid;border-color:",";"],e=>{let{backgroundColor:t}=e;return null!=t?t:i.w.colors.neutral.white},e=>{let{typeInfo:t}=e;return t&&t in r?r[t||"info"]:r.warn}),c=n.Ay.button.withConfig({componentId:"sc-4a7f248a-3"})(["border:1px solid ",";background:none;padding:"," ",";border-radius:",";font-size:",";font-weight:500;color:",";"],e=>{let{color:t}=e;return null!=t?t:i.w.colors.secondary["200"]},i.w.space.x2,i.w.space.x4,i.w.space.x2,e=>{let{fontSize:t}=e;return null!=t?t:"1.2rem"},e=>{let{color:t}=e;return null!=t?t:i.w.colors.secondary["200"]}),d=n.Ay.button.withConfig({componentId:"sc-4a7f248a-4"})(["border:none;background:",";padding:"," ",";border-radius:",";font-size:",";font-weight:500;color:",";"],e=>{let{backgroundColor:t}=e;return null!=t?t:i.w.colors.secondary["200"]},i.w.space.x2,i.w.space.x4,i.w.space.x2,e=>{let{fontSize:t}=e;return null!=t?t:"1.2rem"},i.w.colors.neutral.white),p=n.Ay.h4.withConfig({componentId:"sc-4a7f248a-5"})(["font-size:",";border-bottom:",";padding-bottom:",";margin-bottom:",";"],e=>{let{fontSize:t}=e;return null!=t?t:"1.4rem"},e=>{let{lowerContent:t}=e;return t?"0.05rem solid ".concat(i.w.colors.neutral["400"]):"none"},e=>{let{lowerContent:t}=e;return t?"1rem":"0"},e=>{let{lowerContent:t}=e;return t?"1rem":"0"}),h=n.Ay.section.withConfig({componentId:"sc-4a7f248a-6"})(["font-size:",";"],e=>{let{fontSize:t}=e;return null!=t?t:"1.3rem"}),f=n.Ay.section.withConfig({componentId:"sc-4a7f248a-7"})(["padding-top:",";margin-top:1.2rem;border-top:0.05rem solid ",";display:flex;justify-content:flex-end;gap:",";"],i.w.space.x4,i.w.colors.neutral["400"],i.w.space.x4)}}]);

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.