PageSourceSearch

https://secure-static.schutz.com.br/_next/static/chunks/1437.b85af2141902a444.js

js schutz.com.br collected 2026-09-24 11:15:20 UTC 5,777 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1437],{21437:function(e,n,t){t.r(n),t.d(n,{ChooseRecipient:function(){return ChooseRecipient}});var i=t(85893),a=t(67294),r=t(97181),c=t(13892),s=t(64893),l=t(92746),o=t(80490),d=t(37340),m=t(20256);function _templateObject(){let e=(0,d._)(["\n  .modal-gift-bag-recipient {\n    .modal-gift-bag {\n      &__wrapper-link {\n        text-decoration: underline;\n        cursor: pointer;\n        border: none;\n        background: none;\n      }\n\n      &__premium-wrapper {\n        &__content {\n          &__footer {\n            margin-top: 8px;\n          }\n        }\n      }\n\n      &__buttons-wrapper {\n        display: flex;\n        align-items: center;\n        flex-direction: column;\n        justify-content: center;\n        margin-top: 24px;\n\n        &__text {\n          color: ",";\n          text-align: center;\n        }\n\n        &__content {\n          display: flex;\n          flex-direction: row;\n          margin-top: 16px;\n\n          button {\n            padding: 13px 48px;\n            height: 42px;\n          }\n\n          button:first-child {\n            margin-right: 16px;\n          }\n\n          @media only screen and (max-width: 768px) {\n            margin-top: 0;\n\n            button:first-child {\n              margin-right: 6px;\n            }\n          }\n        }\n      }\n    }\n  }\n"]);return _templateObject=function(){return e},e}let _=m.ZP.div.withConfig({componentId:"sc-112c2a1-0"})(_templateObject(),e=>{let{theme:n}=e;return n.colors.cart.entryGiftBag.modal.textPrimary});function ChooseRecipient(e){let{goToNextStep:n,goToPreviousStep:t}=e,{premiumGiftBag:d,updateRecipientPremiumGiftBag:m,updateCartProductGiftBag:p,cartEntry:g,setIsOpenModalGiftBag:f,setRecipientInfo:u}=(0,l.tA)(),{cart:h}=(0,o.jD)();async function updateRecipientGiftBag(e){await m(e),handleAddPremiumGiftBag(),f(!1)}async function handleAddPremiumGiftBag(){if(!g)return;let{entryNumber:e}=g;await p({entryNumber:e,useFreeGiftBag:!1,usePremiumGiftBag:!0})}return(0,a.useEffect)(()=>{u({sender:h.sender,recipient:h.recipient,message:h.message,recipientDiffers:h.recipientDiffers})},[h,u]),(0,i.jsx)(_,{children:(0,i.jsxs)("div",{className:"modal-gift-bag-recipient",children:[(0,i.jsx)("div",{className:"modal-gift-bag__header",children:(0,i.jsx)("h4",{className:"modal-gift-bag__header__title",children:"Embalagem Selecionada"})}),(0,i.jsx)("div",{className:"modal-gift-bag__divider"}),function(){if(!d)return null;let{name:e,description:n,primaryImage:{url:a},discountPrice:c,price:s}=d;return(0,i.jsx)(r.k,{name:e,description:n,imageUrl:a,price:null==s?void 0:s.value,discountPrice:null==c?void 0:c.value,children:(0,i.jsx)("button",{className:"modal-gift-bag__wrapper-link",onClick:t,children:"alterar"})})}(),(0,i.jsx)("div",{className:"modal-gift-bag__divider"}),(0,i.jsxs)("div",{className:"modal-gift-bag__buttons-wrapper",children:[(0,i.jsx)("p",{className:"modal-gift-bag__buttons-wrapper__text",children:"Deseja realizar a entrega no endere\xe7o da pessoa presenteada?"}),(0,i.jsxs)("div",{className:"modal-gift-bag__buttons-wrapper__content",children:[(0,i.jsx)(c.z,{type:"button",className:"modal-gift-bag__premium-wrapper__content__footer__button",variant:s.c.outlined,onClick:function(){updateRecipientGiftBag({recipientDiffers:!1,sender:"",recipient:""})},children:"N\xe3o"}),(0,i.jsx)(c.z,{type:"button",className:"modal-gift-bag__premium-wrapper__content__footer__button",variant:s.c.primary,onClick:n,children:"Sim"})]})]})]})})}},97181:function(e,n,t){t.d(n,{k:function(){return GiftBagItem}});var i=t(85893),a=t(16114),r=t(13892),c=t(79560),s=t(62854),l=t(22263);function BagPrice(e){let{price:n,discountPrice:t}=e,a=0===n,r=a?"Gr\xe1tis":l.W(n),c=a&&"tw-text-fun-green";return t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("del",{className:"modal-gift-bag__price--old",children:l.W(n)}),(0,i.jsx)("ins",{className:"modal-gift-bag__price--new",children:l.W(t)})]}):(0,i.jsx)("p",{className:(0,s.m6)("modal-gift-bag__price--base",c),children:r})}var o=t(55056);function GiftBagItem(e){let{name:n,description:t,imageUrl:l,price:d,discountPrice:m,handleAddGiftBag:_,type:p,children:g,imageDimensions:f={width:90,height:90}}=e,{isPremiumBagMessagingEnabled:u}=(0,c.m4)(),{width:h,height:x}=f,w=p===o.s.GIFT_BAG_PREMIUM&&_&&u;return(0,i.jsxs)("div",{className:"modal-gift-bag__gift-bag-item-wrapper",children:[(0,i.jsx)("div",{className:"tw-flex tw-h-36 tw-w-28 tw-shrink-0 tw-items-center tw-justify-center",children:(0,i.jsx)(a.P,{src:l,width:h,height:x,alt:n})}),(0,i.jsxs)("div",{className:"modal-gift-bag__gift-bag-item-wrapper__content",children:[(0,i.jsxs)("div",{className:"tw-flex tw-flex-col tw-gap-4",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"modal-gift-bag__gift-bag-item-wrapper__content__title",children:n}),(0,i.jsx)("p",{className:"modal-gift-bag__gift-bag-item-wrapper__content__text",children:t})]}),w&&(0,i.jsx)("p",{className:"modal-gift-bag__gift-bag-item-wrapper__content__notice",children:"Acompanha um cart\xe3o para voc\xea escrever uma mensagem"}),(0,i.jsx)("div",{className:"modal-gift-bag__gift-bag-item-wrapper__content__price",children:(0,i.jsx)(BagPrice,{price:d,discountPrice:m})})]}),g,!!_&&(0,i.jsx)(r.z,{type:"button",className:(0,s.C$)({_common:"tw-m-0 tw-h-10 tw-min-h-10 tw-self-center",alexandre_birman:"tw-h-12 tw-min-h-12",anacapri:"tw-h-[42px] tw-min-h-[42px]",schutz:"tw-h-9 tw-min-h-9",vans:"tw-h-12 tw-min-h-12",vicenza:"tw-h-12 tw-min-h-12",zzmall:"tw-h-10 tw-min-h-10"}),onClick:_,children:"Adicionar"})]})]})}},55056:function(e,n,t){var i,a;t.d(n,{s:function(){return i}}),t(67294),(a=i||(i={}))[a.GIFT_BAG_PREMIUM=0]="GIFT_BAG_PREMIUM",a[a.GIFT_BAG_FREE=1]="GIFT_BAG_FREE"}}]);

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.