PageSourceSearch

https://secure-static.schutz.com.br/_next/static/chunks/6244-3879b63b6a47c4d8.js

js schutz.com.br collected 2026-10-01 14:36:22 UTC 55,714 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6244],{60994:function(e,n,t){t.d(n,{F:function(){return PixTimer}});var s=t(85893),a=t(67294),i=t(57207),r=t(41382),c=t(37340),o=t(20256);function _templateObject(){let e=(0,c._)(["\n  margin: 20px 0;\n\n  .timer {\n    margin: 6px 0 7px;\n    display: flex;\n    align-content: center;\n    align-items: center;\n\n    &--expired {\n      color: ",";\n    }\n\n    &__clock {\n      margin-left: 10px;\n    }\n  }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,c._)(["\n  width: 160px;\n  height: 5px;\n  background: ",";\n  position: relative;\n\n  &::after {\n    content: '';\n    background: ",";\n    position: absolute;\n    width: ","%;\n    height: 5px;\n  }\n"]);return _templateObject1=function(){return e},e}let l=o.ZP.div.withConfig({componentId:"sc-a794508c-0"})(_templateObject(),e=>e.theme.colors.pixTimer.expired),d=o.ZP.div.withConfig({componentId:"sc-a794508c-1"})(_templateObject1(),e=>e.theme.colors.pixTimer.barBackground,e=>e.theme.colors.pixTimer.bar,e=>e.barWidth);function PixTimer(e){let{expirySeconds:n,icon:t,showBar:c=!1,...o}=e,[m,p]=(0,a.useState)("4"),{formattedTimer:u,milliseconds:x}=(0,r.J)(n),_=x<=0;return(0,a.useEffect)(()=>{c&&function(){let e=100*(x/1e3)/14400;p(e.toFixed(2))}()},[14400,x,c]),(0,s.jsxs)(l,{...o,children:[(0,s.jsx)("p",{children:"Seu Pix expira em:"}),(0,s.jsxs)("div",{className:"timer ".concat(_?"timer--expired":"").trim(),children:[t?t():(0,s.jsx)(i.X,{fillColor:"currentColor",name:"clockLight",size:15}),(0,s.jsx)("span",{className:"timer__clock",children:_?"C\xf3digo Pix expirado":u})]}),function(){let e=c&&!_;return e?(0,s.jsx)(d,{barWidth:m}):null}()]})}},35977:function(e,n,t){t.d(n,{P:function(){return s}});let s={CASHBACK_USE_SURVEY:"",CASHBACK_EXTRACT_PAGE_SURVEY:""}},11703:function(e,n,t){t.d(n,{x:function(){return a}});var s=t(35131);let a=[s.BrandId.Anacapri,s.BrandId.Arezzo,s.BrandId.Birman,s.BrandId.Schutz,s.BrandId.Vans,s.BrandId.ZZMall]},62873:function(e,n,t){t.d(n,{H:function(){return s}});let s="https://atendimento.schutz.com.br/hc/pt-br/articles/15441517560347-Perfis-Oficiais"},31856:function(e,n,t){t.d(n,{X:function(){return useSessionStorage}});var s=t(67294),a=t(69280);let i={getItem(e,n){try{let t=sessionStorage.getItem(e);if(null==t)return this.setItem(e,n),n;return JSON.parse(t)}catch(n){return console.error("Erro ao resgatar valor inicial na session storage key=".concat(e),n),n}},setItem(e,n){try{sessionStorage.setItem(e,JSON.stringify(n))}catch(t){return console.error("Erro ao armazenar novo valor na session storage key=".concat(e," value=").concat(n),t),t}},removeItem(e){try{sessionStorage.removeItem(e)}catch(n){return console.error("Erro ao remover item na session storage key=".concat(e),n),n}}};function useSessionStorage(e,n){let[t,r]=(0,s.useState)(n),[c,o]=(0,s.useState)(!0),{isServer:l}=(0,a.w)();(0,s.useEffect)(()=>{l||(r(i.getItem(e,n)),o(!1))},[n,l,e]);let d=(0,s.useCallback)(n=>{r(n),i.setItem(e,n)},[e]),m=(0,s.useCallback)(()=>{r(null),i.removeItem(e)},[e]);return[t,d,m,c]}},11157:function(e,n,t){t.d(n,{c:function(){return ExpiredSalesLink}});var s=t(85893),a=t(57207),i=t(2802),r=t(62854);function ExpiredSalesLink(e){let{expiredSalesLinkDate:n,...t}=e;return function(){if(!n)return null;let{_expiredDate:e,expiredTime:c}=(0,i.UX)(n);return(0,s.jsx)("div",{...t,children:(0,s.jsxs)("div",{className:"tw-flex tw-h-fit tw-flex-row tw-items-center",children:[(0,s.jsx)(a.X,{name:"clock",className:(0,r.C$)({arezzo:"[&_path]:tw-stroke-black",vans:"[&_path]:tw-stroke-black",zzmall:"[&_path]:tw-fill-black"}),size:18}),(0,s.jsxs)("p",{className:(0,r.C$)({_common:"tw-ml-2",arezzo:"tw-font-bold",schutz:"tw-font-extrabold",vans:"tw-font-semibold",zzmall:"tw-text-xs tw-font-medium",anacapri:"tw-font-semibold tw-text-emperor",alexandre_birman:"tw-font-medium tw-text-shark"}),children:["Link v\xe1lido at\xe9 ","".concat(e," \xe0s "),(0,s.jsx)("span",{className:(0,r.C$)({_common:"tw-text-upsdell-red",anacapri:"tw-text-red-ribbon"}),children:c})]})]})})}()}},19441:function(e,n,t){t.d(n,{Y:function(){return CheckoutSuccessProduct}});var s=t(85893),a=t(28219),i=t(96984),r=t(85413),c=t(37340),o=t(20256);
1function _templateObject(){let e=(0,c._)(["\n  margin: 10px 0 20px;\n  display: flex;\n\n  .product {\n    &__column {\n      display: flex;\n      width: 100%;\n\n      :first-child {\n        width: auto;\n      }\n    }\n\n    &-data {\n      &__name-and-price {\n        width: 45%;\n        padding-right: 20px;\n      }\n    }\n\n    &__image {\n      margin-right: 8px;\n\n      .zz-image {\n        object-fit: contain;\n      }\n    }\n\n    &__name {\n      font-size: 14px;\n      max-width: 205px;\n    }\n\n    &__size,\n    &__quantity {\n      color: ",";\n      font-size: 14px;\n    }\n\n    &__price {\n      font-size: 13px;\n      color: ",";\n\n      &--new {\n        color: ",";\n        margin-left: 12px;\n      }\n    }\n  }\n\n  @media only screen and (max-width: 768px) {\n    margin: 20px 0;\n\n    .product {\n      &__column {\n        flex-direction: column;\n      }\n\n      &-data {\n        &__name-and-price {\n          width: 100%;\n          margin-bottom: auto;\n          padding: 0;\n        }\n      }\n\n      &__image {\n        width: 68px;\n        height: 80px;\n      }\n\n      &__name,\n      &__price,\n      &__size,\n      &__quantity {\n        font-size: 10px;\n        margin-top: 4px;\n      }\n\n      &__name {\n        margin: 0;\n      }\n    }\n  }\n"]);return _templateObject=function(){return e},e}let l=o.ZP.div.withConfig({componentId:"sc-6b5e1741-0"})(_templateObject(),e=>e.theme.colors.checkout.orderConfirmation.consignment.product.info,e=>e.theme.colors.checkout.orderConfirmation.consignment.product.price,e=>e.theme.colors.checkout.orderConfirmation.consignment.product.discount);function CheckoutSuccessProduct(e){let{product:n,formattedPrice:t,promotionalPrice:c,hasDiscount:o,quantity:d,useFreeGiftBag:m,...p}=e;return(0,s.jsxs)(l,{...p,children:[(0,s.jsx)("div",{className:"product__column",children:(0,s.jsx)("div",{className:"product__image",children:(0,s.jsx)(i.M.Image,{src:n.primaryImage.url,alt:n.name,width:86,height:116,objectFit:"contain"})})}),(0,s.jsxs)("div",{className:"product__column product-data",children:[(0,s.jsxs)("div",{className:"product-data__name-and-price",children:[(0,s.jsx)("p",{className:"product__name",children:n.name}),o?(0,s.jsxs)("p",{children:[(0,s.jsx)("s",{className:"product__price product__price--old",children:t}),(0,s.jsx)("span",{className:"product__price product__price--new",children:c})]}):(0,s.jsx)("p",{className:"product__price",children:t}),m?(0,s.jsx)(a.x,{text:"Embalagem Gr\xe1tis"}):null]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"product__size",children:["Tamanho: ",(0,s.jsx)("span",{className:"option-value",children:n.size})]}),(0,s.jsxs)("p",{className:"product__quantity",children:[r.T.CHECKOUT_PRODUCT_QUANTITY_LABEL,":"," ",(0,s.jsx)("span",{className:"option-value",children:d})]})]})]})]})}},22077:function(e,n,t){t.d(n,{l:function(){return CheckoutSuccessConsignment}});var s=t(85893),a=t(57207),i=t(84484),r=t(38538),c=t(19441),o=t(85413),l=t(45907),d=t(37340),m=t(20256);function _templateObject(){let e=(0,d._)(["\n  :not(:first-of-type) {\n    padding: 45px 0;\n  }\n\n  :first-of-type:not(:only-of-type) {\n    padding-bottom: 45px;\n  }\n\n  :last-child {\n    padding-bottom: 0;\n  }\n\n  .checkout-success__consignment {\n    &__title {\n      font-weight: normal;\n      font-size: 13px;\n      color: ",";\n    }\n\n    &__delivery {\n      display: flex;\n      margin-top: 20px;\n      align-items: flex-end;\n\n      &__column {\n        width: 50%;\n\n        :first-child {\n          padding-right: 10px;\n          width: calc(42% + 93px);\n        }\n      }\n\n      .delivery-instructions {\n        &__title {\n          display: flex;\n          margin-bottom: 10px;\n\n          .zz-icon {\n            margin-right: 8px;\n          }\n        }\n\n        &__title,\n        &__shipment-title {\n          color: ",";\n          font-size: 15px;\n        }\n\n        &__address,\n        &__shipment {\n          color: ",";\n        }\n\n        &__address {\n          max-width: 280px;\n\n          span:last-child {\n            display: block;\n          }\n        }\n\n        &__warning {\n          color: ",";\n          font-size: 12px;\n          display: flex;\n          align-items: center;\n\n          .zz-icon {\n            display: inline-flex;\n            margin-right: 5px;\n          }\n\n          span {\n            font-size: 13px;\n          }\n        }\n      }\n    }\n  }\n\n  @media only screen and (max-width: 768px) {\n    .checkout-success__consignment {\n      &__delivery {\n        flex-direction: column;\n\n        &__column,\n        &__column:first-child {\n          padding: 0;\n          width: 100%;\n        }
1\n\n        .delivery-instructions {\n          &__title {\n            font-size: 14px;\n          }\n\n          &__address,\n          &__shipment,\n          &__shipment-title {\n            font-size: 12px;\n          }\n\n          &__shipment-title,\n          &__warning:first-child {\n            margin: 10px 0;\n          }\n\n          &__address {\n            span:last-child {\n              display: inline;\n              ::before {\n                content: ', ';\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n"]);return _templateObject=function(){return e},e}let p=m.ZP.div.withConfig({componentId:"sc-f1ba923c-0"})(_templateObject(),e=>e.theme.colors.checkout.orderConfirmation.consignment.title,e=>e.theme.colors.checkout.orderConfirmation.consignment.shipment.title,e=>e.theme.colors.checkout.orderConfirmation.consignment.shipment.description,e=>e.theme.colors.checkout.orderConfirmation.consignment.warning);function CheckoutSuccessConsignment(e){let{consignment:n,currentIndex:t,totalConsignments:d,order:m,shouldShowSoldAndDeliveredBy:u=!1,...x}=e,{isMobile:_}=(0,r.k)();return(0,s.jsxs)(p,{...x,children:[(0,s.jsxs)("h4",{className:"checkout-success__consignment__title",children:["Entrega ",t+1," de ",d]}),function(){if(u)return(0,s.jsxs)("h4",{className:"checkout-success__consignment__sold-by",children:["Vendido e entregue por ",(0,s.jsx)("strong",{children:n.vendorName})]})}(),(0,s.jsx)("div",{className:"checkout-success__consignment__product-list",children:n.entries.map(e=>{let{product:n,entryNumber:t,basePrice:a,useFreeGiftBag:i,promotionalBasePrice:r}=e.orderEntry,o=!!n.discountPrice.value||r.value!==a.value;return(0,s.jsx)(c.Y,{product:n,promotionalPrice:r.formattedValue,hasDiscount:o,quantity:e.quantity,formattedPrice:a.formattedValue,useFreeGiftBag:i},t)})}),function(){let e=!!n.deliveryPointOfService.name,t=_?"".concat(o.T.CHECKOUT_SUCCESS_DELIVERY_PREFIX_MOBILE).concat(n.deliveryMode.name):n.deliveryMode.name,r=m.isRecipientDiffers?"Endere\xe7o do presenteado":"Receba em casa";if(e){var c;return(0,s.jsxs)("div",{className:"checkout-success__consignment__delivery",children:[(0,s.jsxs)("div",{className:"checkout-success__consignment__delivery__column",children:[(0,s.jsxs)("p",{className:"delivery-instructions__title",children:[(0,s.jsx)(a.X,{name:i.LP.PICKUP_IN_STORE,size:15,fillColor:"currentColor"}),(0,s.jsx)("span",{children:"Retire na loja"})]}),(0,s.jsxs)("p",{className:"delivery-instructions__address",children:[n.deliveryPointOfService.displayName," -"," ","string"==typeof(c=l.Tg(n.deliveryPointOfService.address,{isStore:!0}))?c:c.map(e=>(0,s.jsx)("span",{children:e},e))]})]}),(0,s.jsxs)("div",{className:"checkout-success__consignment__delivery__column",children:[(0,s.jsxs)("p",{className:"delivery-instructions__warning",children:[(0,s.jsx)(a.X,{name:"exclamationCircle",size:9,mobileSize:13,mobileBreakpoint:768}),(0,s.jsx)("span",{children:"Aten\xe7\xe3o:"})]}),(0,s.jsx)("p",{className:"delivery-instructions__warning",children:"Aguarde o recebimento do e-mail de confirma\xe7\xe3o da loja para fazer a retirada."})]})]})}return(0,s.jsxs)("div",{className:"checkout-success__consignment__delivery",children:[(0,s.jsxs)("div",{className:"checkout-success__consignment__delivery__column",children:[(0,s.jsxs)("p",{className:"delivery-instructions__title",children:[(0,s.jsx)(a.X,{name:i.LP.RECEIVE_HOME,size:15,fillColor:"currentColor"}),(0,s.jsx)("span",{children:r})]}),(0,s.jsx)("p",{className:"delivery-instructions__address",children:l.Tg(n.shippingAddress)})]}),(0,s.jsxs)("div",{className:"checkout-success__consignment__delivery__column",children:[(0,s.jsx)("p",{className:"delivery-instructions__shipment-title",children:t}),(0,s.jsxs)("p",{className:"delivery-instructions__shipment",children:["Previs\xe3o de",(0,s.jsxs)("span",{children:[" ",l.G7(n.daysToDelivery,{noPrefix:!0})," "]}),"ap\xf3s a confirma\xe7\xe3o do pagamento."]})]})]})}()]})}},63077:function(e,n,t){t.d(n,{J:function(){return CheckoutSuccessContainer}});var s=t(85893),a=t(61499),i=t(11163),r=t(13892),c=t(80982),o=t(57207),l=t(64893),d=t(19792),m=t(62294),p=t(84484),u=t
1(70697),x=t(42048),_=t(39944),h=t(62873),f=t(35977),g=t(63097),j=t(29777),w=t(8259),C=t(26299),b=t(17556),y=t(46531),v=t(91315),N=t(38538),k=t(31856),S=t(35393),P=t(42496),O=t(81836),T=t(95131),E=t(16926),A=t(11157),z=t(30487),I=t(1371),R=t(46511),B=t(44103),D=t(55773),L=t(62854),U=t(22658),G=t(67294),X=t(87536),M=t(57566),F=t(34998),H=t(92795),K=t(23883),V=t(11703),Y=t(28542),Z=t(14908),W=t(69183),$=t(10547),q=t(91474),J=t(73866);let Q={mobilePhone:"mobilePhone"},ee={INPUT_ERROR:"Celular inv\xe1lido, preencha novamente!",GET_DATA_ERROR:"Erro ao carregar dados do usu\xe1rio",SAVE_DATA_ERROR:"N\xe3o foi poss\xedvel salvar os dados, tente novamente.",TOAST_SUBMIT:"Seu telefone foi salvo com sucesso!",TOAST_SUBMIT_ERROR:"N\xe3o foi poss\xedvel salvar o seu telefone, tente novamente."};function WhatsappBanner(){let{toast:e}=(0,W.pm)(),{formState:n,handleSubmit:t,register:a}=(0,X.cI)(),[i,c]=(0,G.useState)(),[l,d]=(0,G.useState)(!1),[m,p]=(0,G.useState)(!1),[u,x]=(0,G.useState)(!1),_=!u&&(0,q.k)(...V.x),h=n.errors[Q.mobilePhone],f=(0,G.useCallback)(async()=>{let{result:n,hasError:t,errors:s}=await $.K.getUserInfo();if(t){e.error(ee.GET_DATA_ERROR,{isDismissible:!0,dataTestId:Y.pJ.TOAST_ERROR_GET_USER_DATA}),J.vU({title:ee.GET_DATA_ERROR,stack:s});return}n&&(c(n),x(n.authorizeWhatsAppSending))},[e]);async function handlePreferences(n){e.clear();let{hasError:t}=await $.K.patchUserPreferences({authorizeWhatsAppSending:n});if(t){e.error(ee.SAVE_DATA_ERROR,{isDismissible:!0,dataTestId:Y.pJ.TOAST_ERROR_UPDATE_WHATSAPP_PREFERENCE});return}e.success(n?"WhatsApp cadastrado com sucesso!":"WhatsApp descadastrado com sucesso!",{isDismissible:!0,dataTestId:Y.pJ.TOAST_SUCCESS_MOBILE_PHONE}),i&&c({...i,authorizeWhatsAppSending:n})}async function onSubmit(n){p(!0);let{hasError:t}=await $.K.patchUserInfo(n);if(p(!1),d(!l),t){e.error(ee.TOAST_SUBMIT_ERROR,{isDismissible:!0,dataTestId:Y.pJ.TOAST_ERROR_UPDATE_MOBILE_PHONE});return}e.success(ee.TOAST_SUBMIT,{isDismissible:!0,dataTestId:Y.pJ.TOAST_SUCCESS_MOBILE_PHONE}),i&&c({...i,mobilePhone:n.mobilePhone})}return((0,G.useEffect)(()=>{f()},[f]),_)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"tw-mb-5 tw-flex tw-items-end tw-justify-between tw-bg-link-water tw-p-5 md:tw-items-center",children:[(0,s.jsxs)(H.I,{className:"tw-mb-0 [&_.content]:tw-ml-2 [&_.content]:tw-flex [&_.content]:tw-items-center [&_.content]:tw-gap-2",dataTestId:Y.pJ.CHECKOBOX_AUTHORIZE_WHATSAPP_SENDING,onChange:()=>handlePreferences(!(null==i?void 0:i.authorizeWhatsAppSending)),children:[(0,s.jsx)(o.X,{name:"whatsapp",size:24}),(0,s.jsxs)("p",{className:"tw-text-sm tw-font-normal",children:["Gostaria de receber notifica\xe7\xf5es sobre o seu pedido via WhatsApp?"," ",null==i?void 0:i.mobilePhone]})]}),(0,s.jsx)(K._,{className:"tw-mb-0",onClick:()=>void d(!l),dataTestId:Y.pJ.EDIT_WHATSAPP_PHONE,children:"Editar"})]}),(0,s.jsx)(M.u,{isOpen:l,lockPageScrollOnOpen:!0,onRequestClose:()=>void d(!l),contentClassName:"tw-mx-auto tw-my-0 tw-max-w-[450px] tw-translate-y-full tw-px-5 tw-py-10",children:(0,s.jsxs)("form",{className:"tw-mx-auto tw-my-0 tw-flex tw-max-w-[295px] tw-flex-col tw-gap-6",onSubmit:t(onSubmit),method:"PATCH",children:[(0,s.jsx)("h1",{className:"tw-text-center tw-text-base tw-font-semibold",children:"Confirme seu WhatsApp"}),(0,s.jsx)(F.I,{placeholder:"(__) _____-____",type:"text",mask:"(99) 99999-9999",defaultValue:null==i?void 0:i.mobilePhone,register:a(Q.mobilePhone,{required:{value:!0,message:ee.INPUT_ERROR},pattern:{value:Z.m.PHONE_NUMBER,message:ee.INPUT_ERROR}}),dataTestId:Y.pJ.INPUT_WHATSAPP_PHONE,errorMessage:null==h?void 0:h.message,label:"Celular",isRequired:!0}),(0,s.jsx)(r.z,{isDisabled:!!h||m,dataTestId:Y.pJ.BTN_CONFIRM_WHATSAPP_EDIT,className:"tw-m-0",type:"submit",isLoading:m,children:"Alterar"})]})})]}):null}var en=t(37340),et=t(20256);function _templateObject(){let e=(0,en._)(["\n  width: 100%;\n  padding: 50px 0;\n  background-color: ",";\n  min-height: calc(100vh - ","px);\n\n  .checkout-success {\n    &__title {\n      font-size: 24px;\n      font-weight: normal;\n      margin-bottom: 12px;\n    }\n\n    &__section {\n      background: ",";\n      padding: 15px;\n      margin-bottom: 15px;\n    }\n  }\n\n  .consignment-separator {\n    height: 1px;\n    width: calc(100% + 30px);\n    margin-left: -15px;\n    background-color: ",";\n  }\n\n  @media only screen and (max-width: 768px) {\n    padding: 40px 0 20px;\n\n    .checkout-success {\n      &__title {\n        margin-bottom: 20px;\n\n        &--payment {\n          margin-bottom: 10px;\n        }\n      }\n\n      &__section {\n        padding: 20px 12px;\n      }\n    }\n\n    .consignment-separator {\n      width: calc(100% + 24px);\n      margin-left: -12px;\n    }\n  }\n"]);
1return _templateObject=function(){return e},e}let es=et.ZP.div.withConfig({componentId:"sc-2845e3f3-0"})(_templateObject(),e=>e.theme.colors.checkout.step.background,211,e=>e.theme.colors.checkout.step.containerBackground,e=>e.theme.colors.checkout.orderConfirmation.consignment.separator),ea=(0,g.w)(e=>e.ConfirmationStrip);function CheckoutSuccessContainer(e){var n,t;let{order:g,orderId:G,orderGAInformation:X,...M}=e,F=(0,j.o)(),H=(0,w.b)(),{omniPdpVariantLabel:K}=(0,C.b)(),V=(0,i.useRouter)(),{user:Y,userAnalyticsInformation:Z}=(0,b.aC)(),{previousPage:W,previousPageLogin:$}=(0,y.k0)(),{cepLocation:q}=(0,v.f)(),{isMobile:J}=(0,N.k)(),[Q]=(0,k.X)(d._.STORE_FINDER_STATUS),[ee,en,et,ei]=(0,k.X)(d._.VIRTUAL_TRY_ON),[er]=(0,S._)(m.LOCAL_STORAGE.SEARCHED_METHOD),{isVariant:ec}=(0,P.P)(),eo=(null===(n=V.query)||void 0===n?void 0:n.isShopperEnrolled)!==void 0;async function sendGtmEvent(){var e;let n=await (0,D.SG)({user:Y,cepLocation:q}),t=(0,D.gr)({userBalance:null==Y?void 0:Y.balanceAvailableAmount,cashbackValue:g.wallet.earnedAmount.value}),s=(null===(e=V.query)||void 0===e?void 0:e.isShopperEnrolled)==="true",a=eo?p.G4.CLICK_TO_PAY_YUNO:g.paymentMode.code,i=a!==p.G4.CLICK_TO_PAY_YUNO||s?a:"".concat(p.G4.CLICK_TO_PAY_YUNO,"_CreditCard");F.purchasePayment({clicktopay_available:s,environment:ec?"B":"A",payment_method:i}),F.purchaseShippingInfo(),F.checkoutOrderRealized(()=>({order:g,orderGAInformation:X,userProperty:n,cashbackProperty:t,checkout:{checkoutCurrentStep:T.bN.Payment,checkoutCurrentPage:V.asPath,checkoutPreviousPage:W,checkoutLoginOrigin:$,checkoutPreviousStep:F.getCheckoutPreviousStep(p.Z6.STEP7)},storeFinderStatus:Q,virtualTryOn:ee,searchedMethod:er}))}function trackPurchase(){let e=g.consignments.flatMap(e=>e.entries.map(e=>({...e.orderEntry.product,quantity:e.quantity}))),n=(0,U.c)(X.checkoutConsignmentDeliveryData),t={products:e,options:{brandName:u.k,checkoutShippingZipDelivery:X.checkoutShippingZipDelivery,transactionId:X.transactionId,transactionValue:g.totalPrice.value,tax:X.transactionTax,shipping:X.shippingPrice,isNewCustomer:null==Z?void 0:Z.gaIsNewCustomer,coupon:g.appliedVouchers.join(" | "),paymentType:X.paymentMethod,...n},customOptions:{environment_vans:K}};a.Fr.purchase(t)}return(0,O.Q)(()=>{let e="".concat(x.Z.CHECKOUT,"?step=").concat(T.bN.Payment)===W,n=!ei;e&&n&&H(trackPurchase,sendGtmEvent)},[g,W,$,V.asPath,V.query,X,ei]),(0,O.Q)(()=>{F.orderDetail(()=>({order:g,cepLocation:q}))},[g,q]),(0,s.jsx)(es,{...M,children:(0,s.jsxs)(c.rj,{children:[(0,s.jsx)(c.X2,{smWrap:"wrap",lgWrap:"nowrap",children:(0,s.jsxs)(c.JX,{children:[(0,s.jsx)(z.t,{userEmail:(null==Y?void 0:Y.email)||"",orderNumber:G}),(0,s.jsxs)("div",{className:"tw-mb-5 tw-flex tw-w-full tw-items-center tw-gap-2 tw-rounded-lg tw-bg-link-water tw-p-2 tw-text-azure-radiance lg:tw-mb-6",children:[(0,s.jsx)(o.X,{name:"fraudAlert",size:16}),(0,s.jsxs)("p",{className:"tw-text-xs",children:[(0,s.jsx)("span",{className:"tw-font-semibold",children:"Nunca solicitamos"})," ","informa\xe7\xf5es ou pagamentos extras ap\xf3s a compra. Em caso de d\xfavida,"," ",(0,s.jsx)("a",{href:h.H,target:"_blank",className:"tw-underline",children:"fale com nosso atendimento pelos canais oficiais."})]})]})]})}),(0,s.jsx)(WhatsappBanner,{}),(0,s.jsxs)(c.X2,{smWrap:"wrap",lgWrap:"nowrap",children:[(0,s.jsxs)(c.JX,{sm:"auto",md:2,children:[(0,s.jsx)(ea,{className:"tw-mb-5",earnedAmount:g.wallet.earnedAmount}),function(){let e=!!_.B.ONE_LINK_APP;return e?(0,s.jsxs)("div",{className:"tw-mb-4 tw-flex tw-flex-col tw-items-center tw-justify-between tw-bg-white tw-p-4 md:tw-flex-row",children:[(0,s.jsxs)("div",{className:"md:tw-mr-4",children:[(0,s.jsx)("p",{className:(0,L.C$)({_common:"tw-mb-4 tw-font-bold",arezzo:"tw-text-base tw-uppercase",schutz:"tw-text-xl tw-uppercase",vans:"tw-text-[15px] tw-uppercase",anacapri:"tw-text-lg",zzmall:"tw-text-xl"}),children:"Acompanhe seu pedido pelo app!"}),(0,s.jsx)("span",{className:(0,L.C$)({_common:"tw-text-sm tw-font-normal",zzmall:"tw-text-xs"}),children:"Acompanhe o status dos seus pedidos, receba descontos exclusivos e fique por dentro das novida
1des!"})]}),(0,s.jsx)(r.z,{className:"tw-mx-0 tw-text-nowrap md:tw-m-0 md:tw-max-w-[160px]",variant:l.c.outlined,href:_.B.ONE_LINK_APP,shouldGrow:!0,as:"a",children:"Baixe o app"})]}):null}(),(0,s.jsxs)("section",{className:"checkout-success__section",children:[(0,s.jsxs)("div",{className:"items-center tw-flex tw-flex-row tw-justify-between",children:[(0,s.jsx)("h3",{className:"checkout-success__title checkout-success__title--payment",children:"Pagamento"}),function(){let{salesLinkExpirationDate:e,salesLinkURL:n}=g;return e&&n&&!J?(0,s.jsx)(A.c,{expiredSalesLinkDate:e}):null}()]}),(0,s.jsx)(I.v,{paymentInfo:g.paymentInfo,paymentMode:g.paymentMode,isClickToPayYunoOrder:eo,installments:g.installments,installments2:g.installments2,installmentsPrice:g.installmentsValuePrice.formattedValue,installmentsPrice2:g.installmentsValuePrice2.formattedValue,salesLinkUrl:g.salesLinkURL,orderCode:g.code,salesLinkExpirationDate:g.salesLinkExpirationDate})]}),(0,s.jsxs)("section",{className:"checkout-success__section checkout-success__section--delivery",children:[(0,s.jsx)("h3",{className:"checkout-success__title",children:"Entrega"}),function(){let e=g.consignments.length;return g.consignments.map((n,t)=>(0,s.jsxs)(s.Fragment,{children:[t>=1?(0,s.jsx)("div",{className:"consignment-separator"}):null,(0,s.jsx)(E.l,{consignment:n,currentIndex:t,totalConsignments:e,order:g},n.code)]}))}()]})]}),(0,s.jsxs)(c.JX,{sm:"auto",md:1,children:[(null==g?void 0:null===(t=g.wallet)||void 0===t?void 0:t.useWalletPayment)&&(0,s.jsx)(B.E,{surveyId:f.P.CASHBACK_USE_SURVEY}),(0,s.jsx)("section",{className:"checkout-success__summary-wrapper",children:(0,s.jsx)(R.F,{deliveryCost:g.deliveryCost,subTotal:g.subTotal,totalDiscounts:g.totalDiscounts,totalPriceWithTax:g.totalPrice,mobileButtonText:"Continuar comprando",isOrderConfirmation:!0})})]})]})]})})}},43895:function(e,n,t){t.d(n,{d:function(){return CheckoutSuccessCopyFeedbackMessage}});var s=t(85893),a=t(20256),i=t(57207),r=t(13170),c=t(84484),o=t(37340);function _templateObject(){let e=(0,o._)(["\n  display: flex;\n  align-items: center;\n  font-size: 12px;\n  margin-top: 6px;\n\n  .zz-icon {\n    margin-right: 7px;\n  }\n\n  &.copy-feedback-message {\n    &--error {\n      color: ",";\n    }\n\n    &--success {\n      color: ",";\n    }\n  }\n\n  @media only screen and (max-width: 768px) {\n    position: fixed;\n    bottom: 0;\n    width: 100%;\n    left: 0;\n    display: flex;\n    justify-content: center;\n    padding: 12px;\n    z-index: 1;\n    background: ",";\n  }\n"]);return _templateObject=function(){return e},e}let l=a.ZP.p.withConfig({componentId:"sc-b56278f5-0"})(_templateObject(),e=>e.theme.colors.checkout.orderConfirmation.error,e=>e.theme.colors.checkout.orderConfirmation.success,e=>e.theme.colors.checkout.orderConfirmation.payment.codeBackground);function CheckoutSuccessCopyFeedbackMessage(e){let{state:n,errorMessage:t="Ops! N\xe3o foi poss\xedvel copiar o c\xf3digo.",successMessage:o="C\xf3digo copiado!"}=e,d=(0,a.Fg)(),m={[r.U.NO_ACTION]:()=>null,[r.U.SUCCESS]:()=>(0,s.jsxs)(l,{className:"copy-feedback-message copy-feedback-message--success",children:[(0,s.jsx)(i.X,{name:c.LP.ORDER_CONFIRMATION_SUCCESS,size:13,fillColor:d.colors.checkout.orderConfirmation.success}),(0,s.jsx)("span",{children:o})]}),[r.U.ERROR]:()=>(0,s.jsxs)(l,{className:"copy-feedback-message copy-feedback-message--error",children:[(0,s.jsx)(i.X,{name:c.LP.ORDER_CONFIRMATION_ERROR,size:13,fillColor:d.colors.checkout.orderConfirmation.error}),(0,s.jsx)("span",{children:t})]})};return m[n]()}},75101:function(e,n,t){t.d(n,{G:function(){return CheckoutSuccessPix}});var s=t(85893),a=t(67294),i=t(5152),r=t.n(i),c=t(13892),o=t(57207),l=t(60994),d=t(64893),m=t(13170),p=t(84484),u=t(38538),x=t(85413),_=t(80731),h=t(43895),f=t(55286),g=t(37340),j=t(20256);function _templateObject(){let e=(0,g._)(["\n  .pix {\n    &__details {\n      &__content {\n        display: flex;\n        align-items: flex-start;\n        margin-bottom: 15px;\n\n        .pix__column {\n          :first-child {\n            margin-right: 135px;\n          }\n        }\n      }\n    }\n\n    &__timer {\n      margin: 0;\n      font-size: 15px;\n    }\n\n    &__paragraph {\n      font-size: 15px;\n    }\n\n    &__title {\n      font-size: 20px;\n      font-weight: normal;\n    }\n\n    &__instructions {\n      &-section {\n        margin: 30px 0 0;\n        display: flex;\n        flex-wrap: wrap;\n\n        &__title {\n          font-size: 17px;\n          font-weight: normal;\n          width: 100%;\n        }\n\n        &__content {\n          display: flex;\n          width: 100%;\n\n          .pix__column {\n            margin-top: 17px;\n            width: 100%;\n\n            :first-of-type {\n              max-width: 245px;\n              margin-right: 52px;\n            }\n          }\n        }\n      }\n\n      &__step {\n        display: flex;\n        margin: 35px 0;\n        align-items: center;\n        font-size: 15px;\n\n        :first-child {\n          margin: 0;\n        }\n\n        .zz-icon {\n          justify-content: center;\n          margin-right: 10px;\n\n          svg {\n            width: 27px;\n          }\n        }\n      }\n    }\n\n    &__qr-code {\n      margin-bottom: 6px;\n      width: 225px;\n      height: 225px;\n      border: 12px solid\n        ",";\n      position: relative;\n\n      > svg {\n        transform: scale(0.7);\n        position: absolute;\n        top: -27px;\n        left: -27px;\n      }\n    }\n\n    &__copy-button {\n      width: 100%;\n      max-width: 245px;\n      padding: 13px 24px;\n      text-transform: none;\n\n      .zz-icon {\n        margin-right: 8px;\n      }\n\n      :hover,\n      :focus {\n        .zz-icon path {\n          fill: currentColor;\n        }\n      }\n    }\n  }
1\n\n  @media only screen and (max-width: 768px) {\n    .pix {\n      &__details {\n        position: relative;\n        padding: 0 0 70px;\n\n        &__content {\n          margin: 0 0 10px;\n\n          .pix__column {\n            :first-child {\n              margin: 0;\n            }\n\n            :last-of-type {\n              position: absolute;\n              bottom: 0;\n              width: 100%;\n\n              .pix__timer {\n                display: flex;\n                flex-direction: column;\n                align-items: center;\n              }\n            }\n          }\n        }\n      }\n\n      &__paragraph {\n        font-size: 12px;\n      }\n\n      &__instructions {\n        .payment {\n          &__separator {\n            display: none;\n          }\n        }\n\n        &-section {\n          margin: 0;\n\n          &__title {\n            margin: 0 0 5px;\n\n            &--how-to {\n              margin: 0 0 15px;\n            }\n          }\n        }\n\n        &__step {\n          margin: 20px 0;\n          font-size: 13px;\n\n          :last-child {\n            margin: 0;\n          }\n        }\n      }\n\n      &__copy-button {\n        margin: 20px 0;\n      }\n    }\n  }\n"]);return _templateObject=function(){return e},e}let w=j.ZP.div.withConfig({componentId:"sc-b93aa888-0"})(_templateObject(),e=>e.theme.colors.checkout.orderConfirmation.payment.qrCodeBorder),C=r()(()=>t.e(2422).then(t.bind(t,1653)),{loadableGenerated:{webpack:()=>[1653]}});function CheckoutSuccessPix(e){let{expiry:n,qrCode:t,amount:i,className:r=""}=e,[g,j]=(0,a.useState)(m.U.NO_ACTION),{isMobile:b}=(0,u.k)(),y=0===n;function handleClickCopy(e){e.currentTarget.blur(),_.c$({valueToCopy:t,setState:j})}function renderPixCodeCopy(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.$,{value:t}),(0,s.jsxs)(c.z,{variant:d.c.outlined,onClick:handleClickCopy,className:"pix__copy-button",children:[(0,s.jsx)(o.X,{name:"pixPay",size:22,fillColor:"currentColor"}),x.T.COPY_PIX_CODE]}),(0,s.jsx)(h.d,{state:g})]})}function renderPixInstructionsSteps(e){let{isQRCode:n=!1}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("p",{className:"pix__instructions__step",children:[(0,s.jsx)(o.X,{name:"appMoney",size:23,fillColor:"currentColor"}),(0,s.jsx)("span",{children:"Acesse o aplicativo de sua institui\xe7\xe3o banc\xe1ria em seu celular"})]}),(0,s.jsxs)("p",{className:"pix__instructions__step",children:[(0,s.jsx)(o.X,{name:"pixPay",size:22,fillColor:"currentColor"}),(0,s.jsxs)("span",{children:["Acesse a se\xe7\xe3o Pix e ",n?"fa\xe7a a leitura do QR Code com sua c\xe2mera":"cole o c\xf3digo copiado"]})]}),(0,s.jsxs)("p",{className:"pix__instructions__step",children:[(0,s.jsx)(o.X,{name:p.LP.PIX_INSTRUCTIONS_SUCCESS,size:21,fillColor:"currentColor"}),(0,s.jsx)("span",{children:"Preencha os dados e conclua "})]})]})}function renderPixCodeInstructions(){return(0,s.jsx)("div",{className:"pix__column",children:renderPixInstructionsSteps({isQRCode:!1})})}return(0,s.jsxs)(w,{className:r,children:[(0,s.jsxs)("div",{className:"pix__details",children:[(0,s.jsxs)("div",{className:"pix__details__content",children:[(0,s.jsx)("div",{className:"pix__column",children:(0,s.jsxs)("div",{className:"payment__detail-list",children:[(0,s.jsx)("p",{children:"Forma de pagamento: Pix"}),(0,s.jsx)("p",{children:"Vencimento: 4 horas"}),(0,s.jsxs)("p",{children:["Valor: ",i]})]})}),(0,s.jsx)("div",{className:"pix__column",children:(0,s.jsx)(l.F,{expirySeconds:n,className:"pix__timer",icon:function(){return(0,s.jsx)(o.X,{name:"clock",size:y?15:21,fillColor:"currentColor"})}})})]}),(0,s.jsx)("p",{className:"pix__paragraph",children:"Ap\xf3s o pagamento do PIX, voc\xea receber\xe1 a confirma\xe7\xe3o por e-mail em at\xe9 1h."})]}),(0,s.jsx)("div",{className:"payment__separator"}),(0,s.jsxs)("div",{className:"pix__instructions",children:[b?null:(0,s.jsx)("h4",{className:"pix__title",children:"Agora como voc\xea prefere pagar com o Pix?"}),b?null:(0,s.jsxs)("section",{className:"pix__instructions-section",children:[(0,s.jsx)("h5",{className:"pix__instructions-section__title",children:"Pagar com QR Code"}),(0,s.jsxs)("div",{className:"pix__instructions-section__content",children:[(0,s.jsx)("div",{className:"pix__column",children:(0,s.jsx)("div",{className:"pix__qr-code",children:(0,s.jsx)(C,{value:t})})}),(0,s.jsx)("div",{className:"pix__column",children:renderPixInstructionsSteps({isQRCode:!0})})]})]}),(0,s.jsx)("div",{className:"payment__separator"}),b?(0,s.jsxs)("section",{className:"pix__instructions-section",children:[(0,s.jsx)("h4",{className:"pix__instructions-section__title",children:"C\xf3digo Pix"}),renderPixCodeCopy(),(0,s.jsx)("h5",{className:"pix__instructions-section__title pix__instructions-section__title--how-to",children:"Como pagar com c\xf3digo Pix?"}),renderPixCodeInstructions()]}):(0,s.jsxs)("section",{className:"pix__instructions-section",children:[(0,s.jsx)("h5",{className:"pix__instructions-section__title",children:"Pagar com c\xf3digo Pix"}),(0,s.jsxs)("div",{className:"pix__instructions-section__content",children:[(0,s.jsx)("div",{className:"pix__column",children:renderPixCodeCopy()}),renderPixCodeInstructions()]})]})]})]})}},55286:function(e,n,t){t.d(n,{$:function(){return CheckoutSuccessReadOnlyInput}});var s=t(85893),a=t(37340),i=t(20256);
1function _templateObject(){let e=(0,a._)(["\n  width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  font-family: inherit;\n  color: inherit;\n  padding: 5px 8px;\n  border: none;\n  background: ",";\n\n  :focus {\n    outline: none;\n  }\n"]);return _templateObject=function(){return e},e}let r=i.ZP.input.withConfig({componentId:"sc-bcff3b7d-0"})(_templateObject(),e=>e.theme.colors.checkout.orderConfirmation.payment.codeBackground);function CheckoutSuccessReadOnlyInput(e){let{value:n,...t}=e;return(0,s.jsx)(r,{type:"text",readOnly:!0,value:n,onFocus:e=>(function(e){e.currentTarget.select()})(e),className:"read-only-input",...t})}},98070:function(e,n,t){t.d(n,{v:function(){return CheckoutSuccessPaymentDetails}});var s=t(85893),a=t(84484),i=t(84750),r=t(67294),c=t(41664),o=t.n(c),l=t(20256),d=t(23883),m=t(13892),p=t(57207),u=t(64893),x=t(13170),_=t(42048),h=t(80731),f=t(43895),g=t(55286),j=t(37340);function _templateObject(){let e=(0,j._)(["\n  display: flex;\n  height: 100%;\n\n  .bank-slip {\n    &__column {\n      margin-right: 70px;\n      display: flex;\n      flex-direction: column;\n      flex: auto;\n\n      :first-child {\n        max-width: 260px;\n      }\n\n      :last-child {\n        margin: 0;\n        max-width: 435px;\n      }\n    }\n\n    &__terms {\n      font-size: 14px;\n      margin: 12px 0 0;\n    }\n\n    &__title {\n      font-size: 17px;\n      margin-bottom: 5px;\n    }\n\n    &__buttons-container {\n      display: flex;\n      align-items: center;\n      margin-top: 12px;\n      width: 100%;\n    }\n\n    &__button {\n      margin: 0;\n      flex: 4;\n      padding: 12px 18px;\n\n      :first-child {\n        .zz-icon {\n          margin-right: 7px;\n        }\n\n        :hover,\n        :focus {\n          .zz-icon path {\n            fill: currentColor;\n          }\n        }\n      }\n\n      :last-child {\n        margin-left: 12px;\n        flex: 5;\n      }\n    }\n  }\n\n  @media only screen and (max-width: 768px) {\n    flex-direction: column;\n    position: relative;\n\n    .bank-slip {\n      &__column {\n        margin: 0 0 20px 0;\n\n        :last-child {\n          padding: 0 0 35px 0;\n        }\n      }\n\n      &__buttons-container {\n        flex-direction: column;\n        align-items: flex-start;\n        margin-top: 20px;\n      }\n\n      &__button {\n        width: 80%;\n\n        :last-child {\n          margin: 10px 0 0 0;\n        }\n      }\n\n      &__terms {\n        font-size: 12px;\n        position: absolute;\n        bottom: 0;\n      }\n    }\n  }\n"]);return _templateObject=function(){return e},e}let w=l.ZP.div.withConfig({componentId:"sc-ebd770e2-0"})(_templateObject());function CheckoutSuccessBankSlip(e){let{paymentInfo:n}=e,[t,a]=(0,r.useState)(x.U.NO_ACTION),i=(0,l.Fg)();return(0,s.jsxs)(w,{children:[(0,s.jsxs)("div",{className:"bank-slip__column",children:[(0,s.jsxs)("div",{className:"payment__detail-list",children:[(0,s.jsxs)("p",{children:["Forma de pagamento:"," ",(0,s.jsx)("span",{className:"payment-type-label",children:"Boleto"})]}),(0,s.jsxs)("p",{children:["Vencimento do Boleto:"," ",(0,s.jsx)("span",{className:"expiry-date-label",children:n.expiryDate})]}),(0,s.jsxs)("p",{children:["Valor:"," ",(0,s.jsx)("span",{className:"amount-label",children:n.formattedBoAmount})]})]}),(0,s.jsx)(o(),{href:_.Z.TERMS_OF_USE,passHref:!0,legacyBehavior:!0,children:(0,s.jsx)(d._,{className:"bank-slip__terms",children:"Regras de pagamento de boleto"})})]}),(0,s.jsxs)("div",{className:"bank-slip__column",children:[(0,s.jsx)("h4",{className:"checkout-success__title bank-slip__title",children:"C\xf3digo de barras"}),(0,s.jsx)(g.$,{value:n.boletoBarCode}),(0,s.jsxs)("div",{className:"bank-slip__buttons-container",children:[(0,s.jsxs)(m.z,{type:"button",variant:u.c.outlined,onClick:function(e){e.currentTarget.blur(),h.c$({valueToCopy:n.boletoBarCode,setState:a})},className:"bank-slip__button",shouldGrow:!0,children:[(0,s.jsx)(p.X,{name:"paymentBankSlip",size:18}),(0,s.jsx)("span",{children:"Copiar c\xf3digo"})]}),(0,s.jsx)(m.z,{as:"a",href:n.boletoUrl,className:"bank-slip__button",shouldGrow:!0,variant:i.commonButtonVariants.checkout.orderConfirmation.bankSlip,children:"Imprimir boleto"})]}),(0,s.jsx)(f.d,{state:t})]})]})}
1function styles_templateObject(){let e=(0,j._)(["\n  display: flex;\n  align-items: center;\n  text-transform: uppercase;\n  font-size: 12px;\n  font-weight: 400;\n\n  .google-pay__icon {\n    padding: 8px 12px;\n  }\n"]);return styles_templateObject=function(){return e},e}function _templateObject1(){let e=(0,j._)(["\n  font-size: 13px;\n  margin-top: 10px;\n  font-weight: 300;\n"]);return _templateObject1=function(){return e},e}let C=l.ZP.div.withConfig({componentId:"sc-c8d7b236-0"})(styles_templateObject()),b=l.ZP.p.withConfig({componentId:"sc-c8d7b236-1"})(_templateObject1());function CheckoutSuccessGooglePay(e){let{installments:n,installmentsPrice:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(C,{children:[(0,s.jsx)("div",{className:"google-pay__icon",children:(0,s.jsx)(p.X,{name:"gpay",size:40})}),"Google Pay"]}),(0,s.jsxs)(b,{children:["Parcelamento:"," ",(0,s.jsxs)("span",{children:[n,"x de ",t]})]})]})}var y=t(85413);function balance_account_styles_templateObject(){let e=(0,j._)(["\n  font-size: 15px;\n\n  @media only screen and (max-width: 768px) {\n    font-size: 13px;\n  }\n"]);return balance_account_styles_templateObject=function(){return e},e}let v=l.ZP.div.withConfig({componentId:"sc-c0df2eb8-0"})(balance_account_styles_templateObject());function CheckoutSuccessBalanceAccount(e){let{amount:n}=e;return(0,s.jsx)(v,{children:(0,s.jsxs)("p",{className:"balance-account__text",children:["Cr\xe9dito ",y.T.BRAND_SURNAME,":"," ",(0,s.jsx)("span",{className:"amount",children:n})]})})}var N=t(85519),k=t(69183),S=t(75637),P=t(73866),O=t(22263);function gift_card_styles_templateObject(){let e=(0,j._)(["\n  .payment {\n    &__detail-list {\n      p {\n        position: relative;\n      }\n    }\n  }\n\n  .gift-card {\n    &__spinner {\n      display: inline-block;\n      margin: 2px 0 0 6px;\n    }\n  }\n"]);return gift_card_styles_templateObject=function(){return e},e}let T=l.ZP.div.withConfig({componentId:"sc-6fdfeb67-0"})(gift_card_styles_templateObject()),E="Ocorreu um erro ao buscar pelo cart\xe3o presente. Tente novamente!";function CheckoutSuccessGiftCard(e){let{amount:n,giftCardCode:t}=e,[a,i]=(0,r.useState)(""),{toast:c}=(0,k.pm)();return(0,r.useEffect)(()=>{(async function(){let{result:e,hasError:n,errors:s}=await S.Z.getGiftCardBalance(t);if(n){c.error(E),P.vU({title:E,stack:s});return}i(e||O.W(0))})()},[t,c]),(0,s.jsx)(T,{children:(0,s.jsxs)("div",{className:"payment__detail-list",children:[(0,s.jsx)("p",{children:"Forma de pagamento: Cart\xe3o Presente"}),(0,s.jsxs)("p",{children:["Valor descontado: ",n]}),(0,s.jsxs)("p",{children:["Saldo restante: ",a||(0,s.jsx)(N.$,{size:15,className:"gift-card__spinner"})]})]})})}var A=t(28542),z=t(77193);function credit_card_styles_templateObject(){let e=(0,j._)(["\n  .credit-card {\n    &__title {\n      display: flex;\n      align-items: center;\n      margin: 15px 0 10px;\n      font-size: 13px;\n    }\n\n    &__icon {\n      margin-right: 10px;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      border-radius: 7px;\n      width: 65px;\n      height: 35px;\n      border: 1px solid\n        ",";\n    }\n  }\n"]);return credit_card_styles_templateObject=function(){return e},e}let I=l.ZP.div.withConfig({componentId:"sc-e0d04340-0"})(credit_card_styles_templateObject(),e=>e.theme.colors.checkout.orderConfirmation.payment.cardBorder);function CheckoutSuccessCreditCard(e){let{accountHolderName:n,cardNumber:t,cardType:a,installments:i,installmentsPrice:r,...c}=e,o=z.eB(a.code);return(0,s.jsxs)(I,{...c,"data-testid":A.Pl.CREDIT_CARD_BLOCK,children:[(0,s.jsxs)("div",{className:"credit-card__title",children:[(0,s.jsx)("div",{className:"credit-card__icon",children:(0,s.jsx)(p.X,{name:o.name,size:o.size})}),(0,s.jsxs)("p",{className:"credit-card__name",children:["(",a.name,(0,s.jsx)("span",{className:"credit-card__name__type",children:"cr\xe9dito"}),")"]})]}),(0,s.jsxs)("div",{className:"payment__detail-list",children:[(0,s.jsxs)("p",{children:["Titular: ",(0,s.jsx)("span",{className:"item-detail",children:n})]}),(0,s.jsxs)("p",{children:["N\xfamero do cart\xe3o: ",(0,s.jsx)("span",{className:"item-detail",children:t})]}),(0,s.jsxs)("p",{children:["Parcelamento:"," ",(0,s.jsxs)("span",{className:"item-detail",children:[i,"x de ",r]})]})]})]})}var R=t(93804);
1function apple_pay_styles_templateObject(){let e=(0,j._)(["\n  .apple-pay {\n    &__icon-wrapper {\n      display: flex;\n      align-items: center;\n      margin: 14px 0;\n\n      &__icon {\n        border: 1px solid ",";\n        border-radius: 7px;\n        padding: 8px 12px;\n      }\n\n      &__text {\n        font-size: 12px;\n        font-weight: 400;\n        text-transform: uppercase;\n        color: ",";\n        margin-left: 18px;\n      }\n    }\n\n    &__installments {\n      display: flex;\n      align-items: center;\n      font-size: 13px;\n      color: ",";\n      font-weight: 300;\n\n      @media (min-width: 768px) {\n        display: none;\n      }\n\n      &__details {\n        margin-left: 5px;\n      }\n    }\n  }\n"]);return apple_pay_styles_templateObject=function(){return e},e}let B=l.ZP.div.withConfig({componentId:"sc-2aa0ed40-0"})(apple_pay_styles_templateObject(),R.H.BLACK,R.H.DARK,R.H.BLACK);function CheckoutSuccessApplePay(e){let{installments:n,installmentsPrice:t}=e;return(0,s.jsxs)(B,{children:[(0,s.jsxs)("div",{className:"apple-pay__icon-wrapper",children:[(0,s.jsx)("div",{className:"apple-pay__icon-wrapper__icon",children:(0,s.jsx)(p.X,{name:"applePay",fillColor:R.H.BLACK,size:21})}),(0,s.jsx)("p",{className:"apple-pay__icon-wrapper__text",children:"Apple Pay"})]}),(0,s.jsxs)("div",{className:"apple-pay__installments",children:["Parcelamento:"," ",(0,s.jsxs)("span",{className:"apple-pay__installments__details",children:[n,"x de ",t]})]})]})}function CheckoutSuccessClickToPay(e){let{installments:n,installmentsPrice:t,cardNumber:a}=e;return(0,s.jsxs)("div",{className:"tw-flex tw-flex-col tw-gap-4",children:[(0,s.jsxs)("div",{className:"tw-flex tw-items-center tw-gap-2",children:[(0,s.jsx)(p.X,{name:"clickToPay",size:22}),(0,s.jsx)("p",{children:"Click To Pay"})]}),a&&(0,s.jsxs)("p",{children:["N\xfamero do cart\xe3o: ",(0,s.jsx)("span",{children:a})]}),(0,s.jsxs)("p",{children:["Parcelamento:"," ",(0,s.jsxs)("span",{children:[n,"x de ",t]})]})]})}function CheckoutSuccessClickToPayYuno(e){let{installments:n,installmentsPrice:t,cardNumber:a}=e;return(0,s.jsxs)("div",{className:"tw-flex tw-flex-col tw-gap-4",children:[(0,s.jsxs)("div",{className:"tw-flex tw-items-center tw-gap-2",children:[(0,s.jsx)(p.X,{name:"clickToPay",size:22}),(0,s.jsx)("p",{children:"Cart\xe3o de Cr\xe9dito"})]}),a&&(0,s.jsxs)("p",{children:["N\xfamero do cart\xe3o: ",(0,s.jsx)("span",{children:a})]}),(0,s.jsxs)("p",{children:["Parcelamento:"," ",(0,s.jsxs)("span",{children:[n,"x de ",t]})]})]})}function call_center_reserve_styles_templateObject(){let e=(0,j._)(["\n  .call-center-reserve__text {\n    font-size: 15px;\n  }\n\n  @media only screen and (max-width: 768px) {\n    .call-center-reserve__text {\n      font-size: 13px;\n      margin: 20px 0 0;\n    }\n  }\n"]);return call_center_reserve_styles_templateObject=function(){return e},e}let D=l.ZP.div.withConfig({componentId:"sc-456beb24-0"})(call_center_reserve_styles_templateObject());function CheckoutSuccessCallCenterReserve(){return(0,s.jsx)(D,{children:(0,s.jsx)("p",{className:"call-center-reserve__text",children:"Reserva Televendas"})})}var L=t(93001),U=t(38538),G=t(11157),X=t(2802),M=t(2182),F=t(62854);function CheckoutSuccessSalesLink(e){let{salesLinkUrl:n,orderCode:t,salesLinkExpirationDate:a}=e,{isMobile:i}=(0,U.k)(),[c,o]=(0,r.useState)(x.U.NO_ACTION),{_expiredDate:l,expiredTime:_}=(0,X.UX)(a),g="".concat(M.xn()).concat(n);return(0,s.jsxs)("div",{className:(0,F.C$)({_common:"tw-mb-1",schutz:"tw-mb-2"}),children:[(0,s.jsx)("p",{className:(0,F.C$)({_common:"tw-mb-1 tw-text-sm",schutz:"tw-mb-2 tw-text-sm",vans:"tw-mb-1 tw-text-base tw-font-medium",anacapri:"w-mb-1 tw-font-medium tw-text-jet"}),children:"Forma de pagamento: Pague Link"}),(0,s.jsx)("p",{className:(0,F.C$)({_common:"tw-mb-1 tw-text-sm",schutz:"tw-mb-2 tw-text-sm",vans:"tw-mb-1 tw-text-base tw-font-medium",anacapri:"w-mb-1 tw-font-medium tw-text-jet"}),children:"Aguardando pagamento..."}),(0,s.jsx)("h4",{className:(0,F.C$)({_common:"tw-mb-1 tw-mt-6",arezzo:"tw-text-sm tw-font-bold",zzmall:"tw-font-paragraph",anacapri:"tw-text-base tw-font-bold tw-text-emperor",alexandre_birman:"tw-text-base tw-font-bold"}),children:"Link para pagamento"}),(0,s.jsx)(d._,{className:(0,F.C$)({_common:"tw-mb-6 tw-normal-case tw-text-black",anacapri:"tw-text-mine-shaft",alexandre_birman:"tw-text-shark"}),href:g,children:g}),(0,s.jsxs)("div",{className:(0,F.C$)({_common:"tw-mt-6 tw-flex tw-flex-col tw-items-center md:tw-flex-row\n          [&_button]:md:tw-w-[230px]",arezzo:"[&_button]:md:tw-w-[190px]",schutz:"tw-mt-6 [&_button]:md:tw-w-[235px]",vans:"tw-mt-6 [&_button]:md:tw-w-[220px]",zzmall:"[&_button]:tw-text-sm [&_button]:md:tw-w-[235px]",anacapri:"tw-mt-6 [&_button]:md:tw-w-[225px]",alexandre_birman:"tw-mt-6 [&_button]:md:tw-w-[215px]"}),children:[(0,s.jsxs)(m.z,{variant:u.c.outlined,className:"tw-m-0 tw-mb-2 tw-w-full md:tw-mb-0 md:tw-mr-2",onClick:function(e){e.currentTarget.blur(),h.c$({valueToCopy:g,setState:o})},children:[(0,s.jsx)(p.X,{name:"link",className:(0,F.C$)({anacapri:"[&_path]:tw-fill-black",alexandre_birman:"[&_path]:tw-fill-black",vicenza:"[&_path]:tw-fill-black"}),size:16}),(0,s.jsx)("span",{className:"tw-ml-2",children:"Copiar link"})]}),(0,s.jsxs)(m.z,{variant:u.c.outlined,className:"tw-m-0 tw-w-full",onClick:function(){let e="Confirme seu pedido ".concat(y.T.BRAND_NAME," n\xba ").concat(t,"\n     %0a").concat(g,"\n     %0aLink v\xe1lido at\xe9 ").concat(l," \xe0s ").concat(_);window.open("".concat(L.h.WHATSAPP.BASE,"?text=").concat(e))},children:[(0,s.jsx)(p.X,{name:"whatsappLight",className:(0,F.C$)({_common:"[&_path]:tw-fill-current",schutz:"[&>*:first-child_path]:tw-fill-black",vans:"[&>*:first-child_path]:tw-fill-black",zzmall:"[&_path]:tw-stroke-black"}),size:19}),(0,s.jsx)("span",{className:"tw-ml-2 tw-whitespace-nowrap",children:"Enviar via WhatsApp"})]})]}),(0,s.jsx)(f.d,{state:c,errorMessage:"Ops! N\xe3o foi poss\xedvel copiar o link.",successMessage:"Link copiado!"}),i?(0,s.jsx)(G.c,{expiredSalesLinkDate:a,className:"tw-mt-4 tw-flex tw-justify-center tw-border-y-[1px] tw-border-iron tw-py-2"}):null]})}
1function payment_details_styles_templateObject(){let e=(0,j._)(["\n  .payment {\n    &__detail-list {\n      font-size: 15px;\n      color: ",";\n\n      p {\n        margin: 5px 0;\n      }\n    }\n\n    &__separator {\n      margin: 15px 0;\n      border-top: 1px solid\n        ",";\n    }\n  }\n\n  @media only screen and (max-width: 768px) {\n    .payment {\n      &__detail-list {\n        font-size: 13px;\n      }\n\n      &__separator {\n        margin: 20px 0;\n      }\n    }\n\n    .credit-card--second {\n      margin-top: 20px;\n    }\n  }\n"]);return payment_details_styles_templateObject=function(){return e},e}let H=l.ZP.div.withConfig({componentId:"sc-fa4927c6-0"})(payment_details_styles_templateObject(),e=>e.theme.colors.checkout.orderConfirmation.payment.detailList,e=>e.theme.colors.checkout.orderConfirmation.payment.separator);function CheckoutSuccessPaymentDetails(e){let{paymentInfo:n,paymentMode:t,installments:r,installments2:c,installmentsPrice:o,installmentsPrice2:l,salesLinkUrl:d,orderCode:m,salesLinkExpirationDate:p,isClickToPayYunoOrder:u=!1,...x}=e,{accountHolderName:_,cardNumber:h,cardType:f,formattedBaAmount:g,expiryInToDisplay:j,formattedPixAmount:w,pixQrCode:C,formattedGiftCardAmount:b,giftCardCode:y,card1:v,card2:N,installmentsValue:k}=n,S=d?a.G4.SALES_LINK:u?a.G4.CLICK_TO_PAY_YUNO:t.code;
1function renderSeparator(){return(0,s.jsx)("div",{className:"payment__separator"})}function renderBankSlip(){return(0,s.jsx)(CheckoutSuccessBankSlip,{paymentInfo:n})}function renderBalanceAccount(){return(0,s.jsx)(CheckoutSuccessBalanceAccount,{amount:g})}function renderPix(){return(0,s.jsx)(i.G,{expiry:j,amount:w,qrCode:C})}function renderGiftCard(){return(0,s.jsx)(CheckoutSuccessGiftCard,{amount:b,giftCardCode:y})}function renderSingleCreditCard(){return(0,s.jsx)(CheckoutSuccessCreditCard,{accountHolderName:_,cardNumber:h,cardType:f,installments:r,installmentsPrice:o})}function renderTwoCreditCards(){return(0,s.jsxs)("div",{className:"two-credit-card-container",children:[(0,s.jsx)(CheckoutSuccessCreditCard,{accountHolderName:v.accountHolderName,cardNumber:v.cardNumber,cardType:v.cardType,installments:r,installmentsPrice:o}),(0,s.jsx)(CheckoutSuccessCreditCard,{accountHolderName:N.accountHolderName,cardNumber:N.cardNumber,cardType:N.cardType,installments:c,installmentsPrice:l,className:"credit-card--second"})]})}function renderMixedCreditCard(){return(0,s.jsx)(CheckoutSuccessCreditCard,{accountHolderName:_,cardNumber:h,cardType:f,installments:n.installments,installmentsPrice:k})}function renderApplePay(){return(0,s.jsx)(CheckoutSuccessApplePay,{installments:r,installmentsPrice:o})}function renderClickToPay(){return(0,s.jsx)(CheckoutSuccessClickToPay,{installments:r,installmentsPrice:o,cardNumber:h})}function renderClickToPayYuno(){return(0,s.jsx)(CheckoutSuccessClickToPayYuno,{installments:r,installmentsPrice:o,cardNumber:h})}return(0,s.jsx)(H,{...x,children:function(e){var n;let t={[a.G4.CREDIT_CARD]:renderSingleCreditCard,[a.G4.TWO_CREDIT_CARDS]:renderTwoCreditCards,[a.G4.BANK_SLIP]:renderBankSlip,[a.G4.BALANCE_ACCOUNT]:renderBalanceAccount,[a.G4.PIX]:renderPix,[a.G4.MIXED_CC_BA]:()=>(0,s.jsxs)(s.Fragment,{children:[renderBalanceAccount(),renderSeparator(),renderMixedCreditCard()]}),[a.G4.MIXED_BANK_SLIP_BA]:()=>(0,s.jsxs)(s.Fragment,{children:[renderBalanceAccount(),renderSeparator(),renderBankSlip()]}),[a.G4.MIXED_PIX_BA]:()=>(0,s.jsxs)(s.Fragment,{children:[renderBalanceAccount(),renderSeparator(),renderPix()]}),[a.G4.CALL_CENTER_RESERVE]:()=>(0,s.jsx)(CheckoutSuccessCallCenterReserve,{}),[a.G4.SALES_LINK]:()=>(0,s.jsx)(CheckoutSuccessSalesLink,{salesLinkUrl:d,orderCode:m,salesLinkExpirationDate:p}),[a.G4.GIFT_CARD]:renderGiftCard,[a.G4.GIFT_CARD_PIX]:()=>(0,s.jsxs)(s.Fragment,{children:[renderGiftCard(),renderSeparator(),renderPix()]}),[a.G4.GIFT_CARD_BANK_SLIP]:()=>(0,s.jsxs)(s.Fragment,{children:[renderGiftCard(),renderSeparator(),renderBankSlip()]}),[a.G4.GIFT_CARD_CREDIT_CARD]:()=>(0,s.jsxs)(s.Fragment,{children:[renderGiftCard(),renderSeparator(),renderMixedCreditCard()]}),[a.G4.GOOGLE_PAY]:()=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(CheckoutSuccessGooglePay,{installments:r,installmentsPrice:o})}),[a.G4.APPLE_PAY]:renderApplePay,[a.G4.CLICK_TO_PAY]:renderClickToPay,[a.G4.CLICK_TO_PAY_YUNO]:renderClickToPayYuno,default:()=>null};return(null===(n=t[e])||void 0===n?void 0:n.call(t))||t.default()}(S)})}},62560:function(e,n,t){t.d(n,{t:function(){return CheckoutSuccessTitleBox}});var s=t(85893);t(67294);var a=t(41664),i=t.n(a),r=t(20256),c=t(13892),o=t(57207),l=t(42048),d=t(84484),m=t(28542),p=t(38538),u=t(85413),x=t(37340);function _templateObject(){let e=(0,x._)(["\n  display: flex;\n  align-items: flex-start;\n  justify-content: space-between;\n  margin-bottom: 36px;\n\n  .continue-shopping-button {\n    margin: 0;\n    padding: 12px 47px;\n  }\n\n  .order-detail {\n    margin-right: 25px;\n\n    &__success {\n      display: flex;\n      align-items: center;\n      margin-bottom: 7px;\n      color: ",";\n\n      &__text {\n        margin-left: 13px;\n        font-size: 20px;\n        font-weight: normal;\n      }\n    }\n\n    &__info-email {\n      font-size: 17px;\n    }\n  }\n\n  @media only screen and (max-width: 768px) {\n    flex-direction: column;\n    margin-bottom: 20px;\n\n    .continue-shopping-button {\n      display: none;\n    }\n\n    .order-detail {\n      margin: 0;\n\n      &__success {\n        margin-bottom: 10px;\n        &__text {\n          font-size: 13px;\n          margin-left: 10px;\n        }\n      }\n\n      &__info-email {\n        font-size: 12px;\n      }\n    }\n  }\n"]);
1return _templateObject=function(){return e},e}let _=r.ZP.div.withConfig({componentId:"sc-36cb10fb-0"})(_templateObject(),e=>e.theme.colors.checkout.orderConfirmation.success);function CheckoutSuccessTitleBox(e){let{orderNumber:n,userEmail:t,...a}=e,x=(0,r.Fg)(),{isMobile:h}=(0,p.k)();return(0,s.jsxs)(_,{...a,children:[(0,s.jsxs)("div",{className:"order-detail",children:[(0,s.jsx)("h1",{className:"checkout-success__title",children:u.T.CHECKOUT_SUCCESS_TITLE}),(0,s.jsxs)("div",{className:"order-detail__success",children:[(0,s.jsx)(o.X,{name:d.LP.ORDER_CONFIRMATION_SUCCESS,fillColor:x.colors.checkout.orderConfirmation.success,size:22,mobileSize:13,mobileBreakpoint:768}),(0,s.jsxs)("h2",{className:"order-detail__success__text","data-testid":m.Pl.ORDER_DETAIL_SUCCESS_TEXT,children:["Seu pedido ",(0,s.jsx)("span",{children:"N\xba "}),(0,s.jsx)("span",{"data-testid":m.Pl.ORDER_NUMBER,children:n})," ","foi realizado com sucesso!"]})]}),(0,s.jsxs)("p",{className:"order-detail__info-email",children:["Os detalhes da sua compra foram enviados para ",t]})]}),h?null:(0,s.jsxs)("div",{className:"tw-flex tw-w-full tw-max-w-[410px] tw-flex-col",children:[(0,s.jsx)(i(),{href:l.Z.CATEGORY_NEWS,passHref:!0,legacyBehavior:!0,children:(0,s.jsx)(c.z,{as:"a",className:"tw-m-0 tw-mb-1",children:"Continuar comprando"})}),(0,s.jsx)(i(),{href:l.Z.MY_ACCOUNT.ORDERS,passHref:!0,legacyBehavior:!0,children:(0,s.jsx)(c.z,{as:"a",className:"tw-m-0 tw-mt-1",variant:x.commonButtonVariants.checkout.orderConfirmation.goToMyOrders,children:"Visualizar meus pedidos"})})]})]})}},44103:function(e,n,t){t.d(n,{E:function(){return CrazyEggScript}});var s=t(85893),a=t(67294),i=t(4298),r=t.n(i),c=t(59129);function CrazyEggScript(e){let{surveyId:n}=e,{brandParameterCrazyEggIsEnabled:t}=(0,c.Av)(),i=(0,a.useRef)(!1),{enabled:o,value:l}=t,d=o&&l&&!!n;return((0,a.useEffect)(()=>{if(!d||i.current)return;let e=window.CE_API||(window.CE_API=[]);e.push(()=>{var e;null===(e=window.CE2)||void 0===e||e.showSurvey(n)}),i.current=!0},[d,n]),d)?(0,s.jsx)(r(),{id:"crazyegg-00885399",src:"https://script.crazyegg.com/pages/scripts/0088/5399.js",defer:!0,strategy:"lazyOnload",fetchpriority:"low"}):null}}}]);

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.