PageSourceSearch

https://secure-static.schutz.com.br/_next/static/chunks/5775-3f641d6bd31059c9.js

js schutz.com.br collected 2026-09-24 11:12:02 UTC 53,795 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5775],{14794:function(t,e,n){n.d(e,{M:function(){return BuyTogetherCampaign}});var a=n(85893),r=n(67294),l=n(16114),s=n(59860),o=n(11613),c=n(29777),i=n(81836),u=n(62854);function BuyTogetherCampaignPrice(t){let{price:e,discountPrice:n}=t;if(!e)return null;let r=!!n&&n.value>0;return r?(0,a.jsxs)("div",{className:(0,u.C$)({schutz:"tw-flex tw-w-fit tw-flex-row-reverse tw-gap-1"}),children:[(0,a.jsx)("span",{className:(0,u.C$)({schutz:"tw-text-sm tw-font-bold tw-text-schutz-accent"}),children:n.formattedValue}),(0,a.jsx)("span",{className:(0,u.C$)({schutz:"tw-text-sm tw-font-bold tw-text-schutz-neutral-medium\n            tw-line-through"}),children:e.formattedValue})]}):(0,a.jsx)("span",{className:"tw-text-sm tw-font-bold tw-text-schutz-black",children:e.formattedValue})}var w=n(13892),d=n(64893);function BuyTogetherCampaignButton(t){let{children:e,style:n,shouldOpenInNewWindow:l,productUrl:s,setIsModalProductOpen:i,product:m}=t,{isRouteChanging:h}=(0,o.l)(),x=(0,c.o)();return(0,r.useEffect)(()=>{h&&i(!1)},[h,i]),(0,a.jsx)(w.z,{onClick:function(t){return(t.preventDefault(),m)?(x.clickProductBuyTogether(m),l)?void window.open(s,"_blank"):i(!0):null},variant:d.c.outlined,className:(0,u.C$)({_common:"tw-text-xs",schutz:"tw-mx-0 tw-mb-0 tw-mt-auto tw-min-h-9 tw-w-full tw-border\n        tw-border-schutz-black tw-bg-transparent tw-px-4 tw-py-1 tw-text-xs\n        tw-font-normal tw-uppercase tw-tracking-normal tw-text-schutz-black\n        hover:tw-bg-schutz-black hover:tw-text-schutz-white"}),style:{borderColor:n.contentColor,backgroundColor:n.backgroundButtonColor},children:e})}function BuyTogetherCampaign(t){var e,n;let{component:w,renderCustomText:d,parentProduct:m}=t,{buttonText:h,description:x,style:p,media:f,title:g,targetProducts:v,shouldUseProductName:b=!1,shouldUseProductPrice:z=!1,shouldOpenInNewWindow:C=!1}=w,[N,j]=(0,r.useState)(!1),{isRouteChanging:y}=(0,o.l)(),k=(0,c.o)();if((0,r.useEffect)(()=>{y&&j(!1)},[y]),(0,i.Q)(()=>{N&&(null==v?void 0:v[0])&&k.showBuyTogetherModal(null==v?void 0:v[0])},[N]),!(null==v?void 0:v[0]))return null;let{name:S,price:_,discountPrice:T,primaryImage:E,url:O}=v[0],{url:I}=f,A=null!==(e=p.contentColor)&&void 0!==e?e:"",U=null!==(n=p.backgroundColor)&&void 0!==n?n:"";return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:(0,u.C$)({schutz:"tw-bg-schutz-white tw-mx-4 tw-my-4 tw-flex tw-h-[140px]\n          tw-items-center tw-justify-between tw-gap-x-2 lg:tw-mx-0"}),style:{backgroundColor:U,color:A},children:[function(){let t=I||E.url,e=I?S:E.altText;return(0,a.jsx)("div",{className:(0,u.C$)({_common:"tw-max-h-[120px]",schutz:"tw-h-[140px] tw-max-h-full tw-w-24"}),children:(0,a.jsx)(l.P,{src:t,alt:e,width:120,height:120,className:"tw-object-contain"})})}(),(0,a.jsxs)("div",{className:(0,u.C$)({_common:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-gap-2",schutz:"tw-h-full tw-w-auto tw-flex-1 tw-items-start tw-gap-0"}),children:[d?d():(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:(0,u.C$)({schutz:"tw-text-sm tw-font-normal tw-leading-5"}),children:b?S:g}),z?(0,a.jsx)(BuyTogetherCampaignPrice,{price:_,discountPrice:T}):x?(0,a.jsx)("p",{className:(0,u.C$)({_common:"tw-text-xs",schutz:"tw-text-sm tw-font-normal tw-leading-6"}),children:x}):null]}),function(){let t=null==v?void 0:v[0];return h&&t?(0,a.jsx)(BuyTogetherCampaignButton,{style:p,shouldOpenInNewWindow:C,productUrl:O,setIsModalProductOpen:j,product:t,children:h}):null}()]}),(null==v?void 0:v[0])?(0,a.jsx)(s.$,{targetProduct:v[0],parentProduct:m,onRequestClose:()=>j(!1),isOpen:N}):null]})})}},90097:function(t,e,n){n.d(e,{C:function(){return CopyableInput}});var a=n(85893),r=n(67294),l=n(13170),s=n(80731);function CopyableInput(t){let{buttonClassName:e,code:n,codeClassName:o,copiedComponent:c,copyComponent:i,customWrapperStyle:u,customButtonStyle:w,customCodeStyle:d,wrapperClassName:m,dataVariant:h=""}=t,[x,p]=(0,r.useState)(l.U.NO_ACTION);return(0,a.jsxs)("div",{className:m,style:u,"data-variant":h,children:[(0,a.jsx)("span",{className:o||"",style:d,"data-variant":h,children:n}),(0,a.jsx)("button",{type:"button",onClick:function(t){t.currentTarget.blur(),s.c$({valueToCopy:n,setState:p})},className:e,style:w,"data-variant":h,children:x===l.U.SUCCESS?(0,a.jsx)(a.Fragment,{children:c}):(0,a.jsx)(a.Fragment,{children:i})})]})}},98890:function(t,e,n){n.d(e,{w:function(){return DynamicPersonalizeContent}});var a=n(85893),r=n(67294),l=n(87536),s=n(61499),o=n(25935),c=n(41664),i=n.n(c),u=n(11163),w=n(16114),d=n(65856),m=n(57207),h=n(13892),x=n(34998),p=n(92795),f=n(70697),g=n(14908),v=n(42048),b=n(80490),z=n(69183),C=n(29777),N=n(8259),j=n(11619),y=n(73866),k=n(64893);let S={letter1:"letter1",letter2:"letter2",checkboxGuidance:"checkboxGuidance"},_="Campo obrigat\xf3rio",T="Erro ao enviar sua personaliza\xe7\xe3o ao carrinho. Tente novamente!";function DynamicPersonalizeContent(t){let{product:e}=t,{customTag:n,images:c,code:E,productCustomization:O}=e,{deliveryMessage:I,description:A,guidance:U,subtext:R,tagColor:M,title:P}=O,$={background:"linear-gradient(180deg, ".concat(M,"60 20%, ").concat(M,"70 35%, ").concat(M,"FF 50%, ").
1concat(M,"70 65%, ").concat(M,"60 75%)"),backgroundClip:"text"},L=n.url?n.url:j.Y.DEFAULT_CUSTOM_TAG,{register:B,handleSubmit:D,reset:G,watch:F,setValue:W}=(0,l.cI)({}),V=F(S.letter1),H=F(S.letter2),[q,Y]=(0,r.useState)(!1),[Z,Q]=(0,r.useState)(!1),[X,K]=(0,r.useState)(!1),[J,tt]=(0,r.useState)(!1);(0,u.useRouter)();let{addListToCart:te}=(0,b.jD)(),{toast:tn}=(0,z.pm)(),ta=(0,C.o)(),tr=(0,N.b)(),tl=""===V||""===H||!q||Z;function trackAddToCart(){s.Fr.addToCart({products:[e],options:{brandName:f.k}})}function sendGtmDataLayer(){ta.buyACustomizableProduct(e.code),ta.buyOnPersonalizeModal(e)}async function handleSubmitPersonalize(t){let{letter1:n="",letter2:a="",checkboxGuidance:r}=t,l=[e].map(()=>{let t="Letra 1: ".concat(n.toUpperCase()," - Letra 2: ").concat(a.toUpperCase()),e=I?"".concat(t," | ").concat(I):t;return{product:{code:"".concat(E,"-").concat("UN")},quantity:1,customizationInfo:{customizedByAnEntry:!0,customizesAnEntry:!1,customMessage:e}}});if(n&&a&&r){Q(!0);let{hasError:t,errors:e}=await te(l);if(t){tn.error(T),y.vU({title:T,stack:e||[]}),Q(!1);return}Q(!1),G(),tt(!0)}}function handleInputChange(t,e){let n=t.target.value,a=n.replace(g.m.ONLY_LETTERS,"");W(e,a)}return J?(0,a.jsxs)("div",{className:"tw-mt-10 tw-flex tw-flex-col tw-items-center tw-justify-center tw-px-4 tw-text-center tw-text-schutz-black",children:[(0,a.jsx)(m.X,{name:"copiedVoucher",size:40}),(0,a.jsx)("h3",{className:"tw-my-4 tw-text-lg tw-font-bold",children:"Produto personalizado com sucesso!"}),(0,a.jsx)("p",{className:"tw-text-xs tw-font-normal",children:"Desejamos que voc\xea seja presenteada com este Schutz"}),(0,a.jsx)(i(),{href:v.Z.CATEGORY_NEWS,className:"tw-w-full",children:(0,a.jsx)(h.z,{variant:k.c.primary,className:"tw-mt-10 tw-w-full tw-uppercase",children:"Continuar comprando"})})]}):(0,a.jsxs)(a.Fragment,{children:[Z?(0,a.jsx)(d.a,{className:"tw-z-10"}):null,(0,a.jsxs)("div",{className:Z?"tw-opacity-50":"tw-opacity-100",children:[(0,a.jsx)("h2",{className:"tw-w-full tw-pb-2 tw-pt-4 tw-text-center tw-font-heading tw-text-2xl tw-font-bold tw-uppercase tw-leading-7 tw-text-schutz-black",children:(0,o.ZP)(P)}),(0,a.jsx)("p",{className:"tw-px-0 tw-pb-10 tw-text-center tw-text-sm tw-font-normal tw-leading-6 tw-text-schutz-black",children:(0,o.ZP)(A)}),X?(0,a.jsxs)("div",{className:"tw-relative tw-px-4",children:[(0,a.jsx)(w.P,{src:L,alt:c[1].altText,width:390,height:480,className:"tw-h-[480px] tw-w-full tw-object-cover"}),function(){if(!X)return null;let t="-tw-skew-x-6 tw-font-customTags tw-font-bold tw-uppercase tw-text-transparent tw-opacity-100";return(0,a.jsxs)("div",{className:"tw-absolute tw-left-1/4 tw-top-[260px] tw-flex tw-w-[195px] tw-justify-evenly tw-text-[80px] tw-leading-[115px]",children:[(0,a.jsx)("span",{className:t,style:$,children:V}),(0,a.jsx)("span",{className:t,style:$,children:""!==V?".":""}),(0,a.jsx)("span",{className:t,style:$,children:H}),(0,a.jsx)("span",{className:t,style:$,children:""!==H?".":""})]})}()]}):(0,a.jsx)("div",{className:"tw-px-4",children:(0,a.jsx)(w.P,{src:c[1].url,alt:c[1].altText,width:390,height:480,className:"tw-h-[480px] tw-w-full tw-object-cover"})}),(0,a.jsx)("div",{className:"tw-mt-10 tw-flex tw-flex-col tw-px-4",children:(0,a.jsxs)("form",{onSubmit:D(handleSubmitPersonalize),className:"tw-flex tw-flex-col",children:[(0,a.jsxs)("div",{className:"tw-flex tw-gap-2.5",children:[(0,a.jsx)("div",{className:"tw-flex tw-flex-1 tw-flex-col tw-text-schutz-black",children:(0,a.jsx)(x.I,{label:"Letra 1*",maxLength:1,placeholder:"Digite uma letra",inputClassName:"tw-px-2 tw-text-schutz-black tw-border-schutz-black tw-text-xs placeholder:tw-text-xs placeholder:tw-text-schutz-neutral-medium",register:B(S.letter1,{required:{value:!0,message:_},onChange:t=>handleInputChange(t,S.letter1)}),onFocus:()=>K(!0)})}),(0,a.jsx)("div",{className:"tw-flex tw-flex-1 tw-flex-col tw-text-schutz-black",children:(0,a.jsx)(x.I,{label:"Letra 2*",maxLength:1,placeholder:"Digite uma letra",inputClassName:"tw-px-2 tw-text-schutz-black tw-border-schutz-black tw-text-xs placeholder:tw-text-xs placeholder:tw-text-schutz-neutral-medium",register:B(S.letter2,{required:{value:!0,message:_},onChange:t=>handleInputChange(t,S.letter2)}),onFocus:()=>K(!0)})})]}),(0,a.jsx)("p",{className:"tw-py-6 tw-text-xs tw-text-schutz-black",children:(0,o.ZP)(R)}),(0,a.jsx)(p.I,{className:"tw-mb-0 tw-items-start tw-text-schutz-black [&>.checkmark-wrapper>.checkmark]:tw-min-h-3 [&>.checkmark-wrapper>.checkmark]:tw-min-w-3 [&>
1.checkmark-wrapper]:tw-mt-0.5 [&>.content]:tw-text-xs [&>.content]:tw-font-normal",register:B(S.checkboxGuidance,{onChange:()=>Y(!q)}),children:(0,o.ZP)(U)}),(0,a.jsx)(h.z,{type:"submit",isDisabled:tl,className:"tw-mx-0 tw-mt-10 tw-cursor-pointer tw-uppercase disabled:tw-cursor-not-allowed",onClick:function(){tr(trackAddToCart,sendGtmDataLayer)},children:"Enviar"})]})})]})]})}},66784:function(t,e,n){n.d(e,{f:function(){return LinkedSeoPost}});var a=n(85893),r=n(41664),l=n.n(r),s=n(6357),o=n(16114),c=n(57207),i=n(38538);let u={MOBILE:4,DESKTOP:6};function LinkedSeoPost(t){let{post:e,isLoading:n}=t,{sectionDescription:r,mediaImage:w,postLink:d,sectionTitle:m}=e,{isMobile:h}=(0,i.k)();return(0,a.jsxs)(l(),{href:d,className:"tw-mx-auto tw-flex tw-max-h-36 tw-max-w-[500px] tw-items-center tw-justify-center tw-gap-4 tw-text-black tw-transition-opacity tw-ease-in-out hover:tw-opacity-90",children:[function(){let t=h?u.MOBILE:u.DESKTOP;return n?(0,a.jsx)(s.O,{lines:t,className:"tw-w-[".concat(144,"px]\n            lg:tw-w-[").concat(144,"px]")}):(0,a.jsx)(o.P,{width:144,height:144,src:w,alt:r,loading:"lazy"})}(),(0,a.jsxs)("div",{className:"tw-flex tw-h-full tw-flex-col tw-gap-2 lg:tw-min-w-[340px] lg:tw-max-w-[340px]",children:[(0,a.jsxs)("div",{className:"tw-flex-1 tw-space-y-2",children:[(0,a.jsx)("p",{className:"tw-line-clamp-1 tw-text-base tw-font-bold tw-lowercase tw-leading-6 first-letter:tw-uppercase",children:m}),(0,a.jsx)("p",{className:"tw-line-clamp-2 tw-text-sm tw-font-normal tw-leading-6",children:r})]}),(0,a.jsxs)("p",{className:"tw-flex tw-w-fit tw-items-center tw-gap-4 tw-p-2 tw-text-xs tw-uppercase tw-tracking-[1.5px] hover:tw-bg-black hover:tw-text-white",children:["Continuar lendo",(0,a.jsx)(c.X,{name:"arrowRight",size:12})]})]})]})}},74922:function(t,e,n){n.d(e,{$:function(){return ModalBuyTogether}});var a,r,l=n(85893),s=n(67294),o=n(41664),c=n.n(o),i=n(20256),u=n(18253),w=n(16114),d=n(13892),m=n(25573),h=n(7449),x=n(17556),p=n(91315),f=n(29777),g=n(80490),v=n(1716),b=n(61499),z=n(11163),C=n(21503),N=n(70697),j=n(42048),y=n(8259),k=n(35131),S=n(24185),_=n(73008),T=n(62294),E=n(56423),O=n(81836),I=n(91474),A=n(6783);let U=["4700800920001U","1003550650012U","4701701120001U","4600801420002U","1002002760016U","4701701190001U","4701300510003U","1002003090011U","4707500440001U","4712700010001U","1002003110002U","4706700280001U","4702400740002U","1003550570016U","4705000030001U","4704000010004U","4600801420002U","4703101370002U","1004400210001U","4600440370003U","4702703980001U","4708800150002U","1003550650013U","4601330230001U","4702705290001U","4702800340001U","4702500360001U","1003800490004U","4703101920001U","4701200850001U","4701300910001U","1002000370179U","4701300910001U","4600660750001U","4703100860009U"];var R=n(69183),M=n(55773),P=n(73866);(a=r||(r={}))[a.ADD_TO_CART=0]="ADD_TO_CART",a[a.BUY_BUTTON=1]="BUY_BUTTON";let $="N\xe3o foi poss\xedvel adicionar o produto ao carrinho, tente novamente";var L=n(81374),B=n(85413),D=n(21867),G=n(62854),F=n(43550);function ModalBuyTogetherSizeOption(t){let{size:e,optionsLength:n,hasError:a,isSelected:r,onClick:s}=t,o=e.code.split("-")[1],c=n>9?(0,G.C$)({schutz:"tw-flex-none"}):"",i=a?(0,G.C$)({vans:"tw-border-well-read",schutz:"tw-border-schutz-accent"}):"",u=e.sellable?(0,G.C$)({schutz:"hover:tw-bg-schutz-black hover:tw-border-schutz-black hover:tw-text-schutz-white",vans:"hover:tw-border-well-read hover:tw-bg-well-read hover:tw-text-white"}):(0,G.C$)({schutz:"tw-cursor-not-allowed tw-line-through tw-text-schutz-neutral-medium",vans:"tw-opacity-40 tw-border-mercury"}),w=r?(0,G.C$)({schutz:"tw-bg-schutz-black tw-text-schutz-white",vans:"tw-bg-well-read tw-text-white tw-border-well-read"}):(0,G.C$)({schutz:"tw-border tw-border-schutz-neutral-medium"});return(0,l.jsx)("button",{className:(0,G.C$)({_common:"tw-flex tw-items-center tw-justify-center",schutz:"tw-relative tw-aspect-square tw-min-h-[38px] tw-min-w-[38px]\n        tw-flex-1 tw-overflow-hidden tw-text-sm tw-font-normal\n        ".concat(w," ").concat(c,"\n        ").concat(u," ").concat(i),vans:"tw-h-11 tw-min-w-[44px] tw-border-2 tw-border-solid tw-px-1\n        tw-text-lg tw-font-medium tw-text-black tw-transition-colors\n        tw-duration-200 ".concat(i,"\n        ").concat(u," ").concat(w)}),disabled:!e.sellable,type:"button",onClick:()=>s(e),children:(0,l.jsx)("span",{children:o})},e.code)}var W=n(37340),V=n(57566);
1function _templateObject(){let t=(0,W._)(["\n  min-width: 100%;\n  min-height: 100%;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  width: 100%;\n\n  .content-container {\n    max-height: 'max-content';\n    width: 588px;\n    padding: 0;\n\n    @media (max-width: 1023px) {\n      width: 300px;\n\n      .more-color {\n        > div {\n          padding: 0;\n        }\n      }\n    }\n  }\n"]);return _templateObject=function(){return t},t}let H=(0,i.ZP)(t=>(0,l.jsx)(V.u,{...t})).withConfig({componentId:"sc-e0af2df3-0"})(_templateObject()),q="\xc9 necess\xe1rio informar um tamanho";function ModalBuyTogether(t){let{onRequestClose:e,targetProduct:n,isOpen:a,isSizeSelectOnly:o,isAddToCart:W=!1,parentProduct:V,isDrawerModal:Y,extraCarouselOptions:Z,minQuantityColorsToRenderCarousel:Q}=t,[X,K]=(0,s.useState)(),[J,tt]=(0,s.useState)(""),{user:te}=(0,x.aC)(),{cepLocation:tn}=(0,p.f)(),ta=(0,i.Fg)(),tr=(0,f.o)(),{items:tl}=(0,g.jD)(),{code:ts}=n,{sizeOptions:to,isUniqueSize:tc}=(0,v.G)({product:n}),{handlePurchase:ti,isLoading:tu}=function(t){let{product:e,productCashback:n,selectedSize:a,onClickValidatePurchase:l,onSuccess:o,environmentVans:c,originEvent:i}=t,{toast:u}=(0,R.pm)(),w=(0,f.o)(),d=(0,y.b)(),{addToCart:m,items:h}=(0,g.jD)(),v=(0,z.useRouter)(),{shouldTrackingWatchedVideo:L}
1=function(t){let{productCode:e,videoURL:n=""}=t,{getIsVariant:a,initFirebase:r}=(0,E.f)(),l=(0,f.o)(),s=a({activeVariant:S.F.C,parameterId:_.M.SHOW_PDP_VIDEO}),o=U.includes(e),c=o&&!s;function handleTrackingVideo(t){var a;if(!c)return;let r=(0,A.vj)().hasOwnProperty(e),s=(null===(a=(0,A.vj)())||void 0===a?void 0:a[e])||0,o=!r||t>s;o&&(l.videoWatchedFraction({productCode:e,videoURL:n,watchedFraction:t}),function(t){var n;let a=(null===(n=(0,A.vj)())||void 0===n?void 0:n[e])||0,r={...(0,A.vj)(),[e]:Math.max(a,t)},l=JSON.stringify(r);localStorage.setItem(T.LOCAL_STORAGE.VIDEOS_WATCHED_FRACTION,l)}(t))}return(0,O.Q)(()=>{r({testsToInit:[{parameterId:_.M.SHOW_PDP_VIDEO}]})},[]),{handleVideoStart:function(){handleTrackingVideo(0)},handleVideoProgress:function(t){if(0===t.playedSeconds)return;let e=(0,A.aZ)(t);handleTrackingVideo(e)},shouldHideVideo:o&&s,shouldTrackingWatchedVideo:(0,I.k)(k.BrandId.Vans)&&o&&!s}}({productCode:(null==e?void 0:e.code)||"",videoURL:(null==e?void 0:e.videoVimeoUrl)||(null==e?void 0:e.videoUrl)}),[B,D]=(0,s.useState)(!1),[G,F]=(0,s.useState)(),[W,V]=(0,s.useState)(!1),{user:H}=(0,x.aC)(),{cepLocation:q}=(0,p.f)();function handleError(){u.error($,{isDismissible:!0}),D(!1),F("")}async function sendGtmDataLayer(){if(!e||!(null==a?void 0:a.value))return;let t=h.map(t=>w.cartEntryToProduct(t)),r=await (0,M.SG)({user:H,cepLocation:q}),l=(0,M.gr)({userBalance:null==H?void 0:H.balanceAvailableAmount,cashbackValue:null==n?void 0:n.value});w.addToCart(()=>({product:e,userProperty:r,cashbackProperty:l,environmentVans:c,originEvent:i,options:{element:"botao",elementText:"comprar",quantity:1,size:a.value}}),[...t,{...e,size:a.displayText}],function(){let t=(0,A.vj)();if(!(null==e?void 0:e.code)||!t||!L)return{};let n=t[e.code];return n?{cd128:C.qP[n]}:{}}())}function trackAddToCart(){if(!e||!(null==a?void 0:a.value))return;let t={products:[{...e,size:a.value}],options:{brandName:N.k}};b.Fr.addToCart(t)}async function handleAddToCart(t){let{sendCustomGTMDataLayer:e}=t||{};try{if(!(null==a?void 0:a.code))return;V(!0);let{hasError:t,errors:n}=await m(a.code);
1if(t){handleError(),P.vU({title:$,stack:n||[]});return}e?e():d(trackAddToCart,sendGtmDataLayer),D(!1),F(""),null==o||o()}catch(t){handleError()}}return{handlePurchase:async function(t){let{isAddToCart:e=!1,onSuccess:n,sendCustomGTMDataLayer:s}=t||{};if(!(null==a?void 0:a.code)){null==l||l();return}D(!0),F(e?r.ADD_TO_CART:r.BUY_BUTTON),await handleAddToCart({sendCustomGTMDataLayer:s}),null==n||n(),e||v.push(j.Z.CART)},isLoading:B,loadingType:G,LOADING_TYPE:r,isSizeSelected:W}}({product:n,selectedSize:X,onClickValidatePurchase:()=>tt(q)});async function sendGtmDataLayer(){if(!n||!(null==X?void 0:X.code))return;let t=tl.map(t=>tr.cartEntryToProduct(t)),e=await (0,M.SG)({user:te,cepLocation:tn});tr.addToCartBuyTogether(n,[...t,{...n,size:null==X?void 0:X.displayText}],e)}let tw=(0,s.useCallback)(()=>{let t=D.Qt(V),e=ts.includes(t);return e?ts:"".concat(t).concat(ts)},[V,ts]);if((0,O.Q)(()=>{a&&tr.viewModalBuyTogether(D.$m(V),tw())},[a,V]),(0,s.useEffect)(()=>{var t;tc&&(null===(t=to[0])||void 0===t?void 0:t.sellable)&&K(to[0])},[tc,to,K]),!n)return null;let{name:td,price:tm,discountPrice:th,url:tx,installment:tp,colorOptions:tf=[],primaryImage:tg}=n;function handleClickSizeOption(t){K(t),tt("")}
1function renderSizeOptions(){return tc?null:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{className:(0,G.C$)({schutz:"tw-mb-2 tw-text-xs tw-font-bold",vans:"tw-mb-2 tw-text-base tw-font-medium tw-uppercase"}),children:function(){if(o)return"Escolha seu tamanho";let t=null==X?void 0:X.code.split("-")[1];return t?(0,l.jsxs)(l.Fragment,{children:["Tamanho: ",(0,l.jsx)("span",{className:"tw-font-normal",children:t})]}):"Tamanho:"}()}),(0,l.jsxs)("div",{className:(0,G.C$)({_common:"tw-flex tw-flex-wrap",schutz:"tw-relative tw-mb-6 tw-grid tw-min-w-8 tw-grid-cols-8\n            tw-gap-2 tw-text-xs",vans:"tw-mb-6 tw-gap-2"}),children:[to.map(t=>(0,l.jsx)(ModalBuyTogetherSizeOption,{size:t,hasError:!!J,optionsLength:to.length,onClick:handleClickSizeOption,isSelected:t.code===(null==X?void 0:X.code)},t.code)),J?Y?(0,l.jsx)("div",{className:"tw-absolute -tw-bottom-5 tw-flex tw-w-full",children:(0,l.jsx)(u.x,{text:q,type:F.n.Error,className:(0,G.C$)({_common:"tw-w-fit",schutz:"tw-text-schutz-accent"})})}):(0,l.jsx)("p",{className:(0,G.C$)({_common:"tw-w-full",vans:"tw-text-sm tw-text-well-read"}),children:J}):null]})]})}async function handleClickBuyButton(){await ti({isAddToCart:W,sendCustomGTMDataLayer:sendGtmDataLayer});let t=W&&!!X;t&&e()}function renderBuyButton(){return(0,l.jsx)(d.z,{className:(0,G.C$)({_common:"tw-m-0 tw-w-full",schutz:"tw-px-4 tw-py-1 tw-text-sm tw-uppercase"}),onClick:handleClickBuyButton,isLoading:tu,isDisabled:tu,variant:ta.commonButtonVariants.buyTogetherModal.buy,children:B.T.BUY_TOGETHER_MODAL_BUY_BUTTON})}function renderContent(){return o?(0,l.jsxs)("div",{className:(0,G.C$)({vans:"tw-px-4 tw-pb-6 tw-pt-8"}),children:[renderSizeOptions(),renderBuyButton()]}):(0,l.jsxs)("div",{className:(0,G.C$)({schutz:"tw-flex tw-flex-col tw-items-center"}),children:[(0,l.jsx)("div",{className:(0,G.C$)({_common:"tw-mb-2 tw-mt-4 tw-flex tw-justify-center",schutz:"tw-hidden"}),children:(0,l.jsx)("h1",{children:"Compre Junto"})}),(0,l.jsx)("div",{className:"tw-mt-4 tw-w-full tw-px-4",children:(0,l.jsx)("div",{className:(0,G.C$)({schutz:"tw-relative tw-h-[500px] tw-w-full"}),children:(0,l.jsx)(w.P,{src:tg.url,alt:tg.altText,fill:!0,className:"tw-object-cover"})})}),(0,l.jsxs)("div",{className:(0,G.C$)({schutz:"tw-flex tw-w-full tw-flex-col tw-gap-6 tw-px-4 tw-pb-8 tw-pt-2"}),children:[(0,l.jsxs)("div",{className:(0,G.C$)({schutz:"tw-flex tw-flex-col"}),children:[(0,l.jsx)("h1",{className:(0,G.C$)({schutz:"tw-mb-1 tw-text-sm tw-font-normal tw-leading-6"}),children:td}),function(){if(!tm)return null;let t=!!th&&th.value>0;return t?(0,l.jsxs)("div",{className:(0,G.C$)({schutz:"tw-flex tw-w-fit tw-flex-row-reverse tw-gap-1"}),children:[(0,l.jsx)("span",{className:(0,G.C$)({schutz:"tw-text-sm tw-font-bold tw-leading-5 tw-text-schutz-accent"}),children:th.formattedValue}),(0,l.jsx)("span",{className:(0,G.C$)({schutz:"tw-text-sm tw-font-bold tw-leading-5\n              tw-text-schutz-neutral-medium tw-line-through"}),children:tm.formattedValue})]}):(0,l.jsx)("span",{className:"tw-text-sm tw-font-bold tw-leading-5 tw-text-schutz-black",children:tm.formattedValue})}(),tp?(0,l.jsx)("span",{className:(0,G.C$)({schutz:"tw-mt-1 tw-text-xs tw-leading-5 tw-text-schutz-neutral-medium"}),children:"ou ".concat(tp," sem juros")}):null]}),(0,l.jsxs)("div",{className:(0,G.C$)({schutz:"tw-flex tw-flex-col tw-gap-2"}),children:[function(){var t;let e=tf.length>1;if(!e)return null;let n=tf[0];return(0,l.jsx)("div",{className:(0,G.C$)({_common:"more-color tw-mb-[-12px]",schutz:"tw-mb-4 tw-w-full tw-overflow-hidden"}),children:(0,l.jsx)(L.V,{colorOptions:tf,width:67,height:103,currentColorCode:n.code,currentColor:null!==(t=n.color)&&void 0!==t?t:"",carouselSlideClassName:"tw-w-fit tw-overflow-visible",title:"Cor:",extraCarouselOptions:Z,minQuantityColorsToRenderCarousel:Q})})}(),renderSizeOptions(),renderBuyButton(),tx?(0,l.jsx)(c(),{href:tx,passHref:!0,children:(0,l.jsx)(d.z,{className:(0,G.C$)({schutz:"tw-m-0 tw-w-full tw-px-4 tw-py-1 tw-text-sm tw-uppercase"}),variant:ta.commonButtonVariants.buyTogetherModal.moreDetails,children:"Mostrar Detalhes"})}):null]})]})]})}return Y?(0,l.jsxs)(m.d,{isOpen:a,onClose:e,lockPageScrollOnOpen:!0,maxWidth:"390px",shouldRenderCloseButton:!1,children:[(0,l.jsx)(h.x,{title:"Compre junto",onClickButton:e,containerClassName:"tw-px-4 tw-flex tw-justify-between tw-py-3",titleClassName:"tw-font-bold tw-w-full tw-text-sm tw-text-center",icon:"close"}),renderContent()]}):(0,l.jsx)(H,{isOpen:a,onRequestClose:()=>e(),children:renderContent()})}},32174:function(t,e,n){n.d(e,{_:function(){return ProductBenefits}});var a=n(85893),r=n(67294),l=n(5632),s=n(12963),o=n(62854),c=n(93804),i=n(90097),u=n(42473),w=n(14908);
1function BenefitContent(t){let{benefit:e,shouldRenderVoucher:n}=t,{text:r,voucherCode:l,voucherText:s,voucherTitle:c,style:d}=e,{backgroundColor:m}=d,h=r.replace(w.m.BREAK_LINE,"\n");return n&&l&&s&&c?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"tw-w-full",dangerouslySetInnerHTML:{__html:s}}),(0,a.jsxs)("p",{className:"tw-mt-1 tw-flex tw-w-full tw-items-center tw-gap-2",children:[(0,a.jsx)("span",{className:m?"tw-text-current":"tw-text-light-gray",children:c}),(0,a.jsx)(i.C,{code:l,wrapperClassName:"tw-border-none tw-w-fit tw-flex tw-gap-2 tw-p-0",codeClassName:"tw-font-medium tw-text-xs",buttonClassName:"tw-bg-transparent tw-text-current tw-p-0 tw-w-3.5",copiedComponent:(0,a.jsx)(u.X,{name:"checkButtonLight",size:14}),copyComponent:(0,a.jsx)(u.X,{name:"copyRounded",size:14})})]})]}):(0,a.jsx)("p",{className:(0,o.C$)({_common:"tw-line-clamp-2 tw-whitespace-pre-line",schutz:"tw-flex tw-items-center tw-justify-center tw-px-2.5 tw-uppercase",vans:"tw-flex tw-items-center tw-text-base tw-font-normal",anacapri:"tw-flex tw-size-full tw-items-center tw-justify-center\n        tw-text-center lg:tw-mb-0",vicenza:"tw-self-center"}),children:h})}function BenefitWrapper(t){let{benefit:e,hasListOfBenefits:n,defaultStyles:r,shouldRenderVoucher:l}=t,{style:s}=e,i=!!e.voucherCode,u=(0,o.C$)({anacapri:n?"tw-px-10":"tw-px-3",vans:n?"tw-px-7":"tw-px-3"}),w=(0,o.C$)({anacapri:"tw-text-left tw-text-xs tw-border tw-rounded-xl tw-py-3 ".concat(u)}),d=(0,o.C$)({_common:"tw-flex tw-justify-center tw-px-4 tw-py-2 tw-text-center\n          tw-text-xs lg:tw-mb-6",arezzo:"tw-items-center",schutz:"tw-size-full lg:tw-mb-0",vans:"tw-size-full tw-bg-porcelain lg:tw-mb-0 ".concat(u),anacapri:"tw-size-full tw-rounded-xl tw-border tw-py-3 tw-text-left lg:tw-mb-0\n          ".concat(u),vicenza:"tw-m-0 tw-bg-porcelain tw-text-black-olive lg:tw-m-0"});return(0,a.jsx)("div",{className:i?w:d,style:function(t,e){let{backgroundColor:n,contentColor:a}=t;return{backgroundColor:n||(null==e?void 0:e.backgroundColor)||c.H.BLACK,color:a||(null==e?void 0:e.color)||c.H.WHITE,borderColor:(null==e?void 0:e.borderColor)||c.H.TRANSPARENT}}(s,r),children:(0,a.jsx)(BenefitContent,{benefit:e,shouldRenderVoucher:l})})}function ProductBenefits(t){var e,n;let{className:c="",carouselOptions:i={},defaultStyles:u,product:w,shouldRenderVoucher:d=!1}=t,[m,h]=(0,r.useState)(0),{benefits:x,colorOptions:p}=w,f=null==x?void 0:null===(n=x[m])||void 0===n?void 0:null===(e=n.style)||void 0===e?void 0:e.contentColor,g=x.length>1;return 0===x.length?null:g?(0,a.jsx)(s.l,{onMove:h,style:{"--content-color":f||"currentColor"},prevButtonProps:{style:{color:f||(null==u?void 0:u.color)},className:(0,o.C$)({anacapri:"[&_.zz-icon]:tw-h-2"})},nextButtonProps:{style:{color:f||(null==u?void 0:u.color)},className:(0,o.C$)({anacapri:"[&_.zz-icon]:tw-h-2"})},className:c,options:i,children:x.map(t=>(0,a.jsx)(l.q,{className:"tw-h-auto [&>div]:tw-h-full",children:(0,a.jsx)(BenefitWrapper,{benefit:t,hasListOfBenefits:g,defaultStyles:u,shouldRenderVoucher:d})},t.text))}):(0,a.jsx)("div",{className:(0,o.C$)({_common:"lg:tw-mb-6",vicenza:"tw-my-6",schutz:"lg:tw-mb-0",anacapri:"tw-mb-6 lg:tw-mb-4",vans:p.length>0?"lg:tw-mb-0":"lg:tw-mb-6"}),children:(0,a.jsx)(BenefitWrapper,{benefit:x[0],hasListOfBenefits:g,defaultStyles:u,shouldRenderVoucher:d})})}},66006:function(t,e,n){n.d(e,{F:function(){return SchemaTags},p:function(){return getCurrentDateMoreThreeDays}});var a=n(85893);let r="http://schema.org",getCurrentDateMoreThreeDays=()=>{let t=new Date;return t.setDate(t.getDate()+3),t.toLocaleDateString("pt-BR")},getAvailabilityUrl=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?"".concat(r,"/PreOrder"):t?"".concat(r,"/InStock"):"".concat(r,"/OutOfStock")},getOfferData=t=>{let{availability:e,price:n,sku:a}=t;return{"@type":"Offer",availability:e,sku:a,price:n.toString(),priceValidUntil:getCurrentDateMoreThreeDays(),priceCurrency:"BRL"}},getAggregateOffer=t=>{let{availability:e,colorOptions:n,finalPrice:a}=t,r=n.length-1,l=n.slice(1,n.length);return{"@type":"AggregateOffer",lowPrice:a.toString(),highPrice:a.toString(),offerCount:r,priceCurrency:"BRL",offers:l.map(t=>getColorProductData(t,e,a))}},getVariantProductData=t=>{let{variant:e,vendors:n}=t,{code:a,priceData:r,discountPrice:l,sellable:s,stock:o}=e,{isPreOrder:c,nextDeliveryDate:i}=o,{value:u}=r,{value:w}=l,d=getAvailabilityUrl(s,c),m=getOfferData({availability:d,price:w||u,sku:a});return c&&(m.availabilityStarts=i),n.length>0&&(m.seller={"@type":"Organization",name:n[0].name}),m},getColorProductData=(t,e,n)=>{let{code:a}=t;return{"@type":"Offer",availability:e,sku:"".concat(a,"-UN"),price:n.toString(),priceValidUntil:getCurrentDateMoreThreeDays(),priceCurrency:"BRL"}},getOffersAttribute=t=>{var e,n;let{variantOptions:a,colorOptions:r,price:l,baseOptions:s,sellable:o,vendors:c,discountPrice:i}=t,u=a.length>1;if(u)return a.map(t=>getVariantProductData({variant:t,vendors:c}));let w=r.length>0,d=getAvailabilityUrl(o),m=a.length>0?null===(e=a[0])||void 0===e?void 0:e.code:null===(n=s[0])||void 0===n?void 0:n.selected.code,{value:h}=l,{value:x}=i,p=x||h,f=getOfferData({availability:d,price:p,sku:m});if(w){let t=[f,getAggregateOffer({availability:d,colorOptions:r,finalPrice
1:p})];return t}return[f]},getContextData=t=>{let{code:e,color:n,description:a,name:r,primaryImage:l,url:s}=t,o="".concat("https://www.schutz.com.br").concat(s);return{"@context":"https://schema.org/","@type":"Product",description:a,name:r,url:o,image:l.url,itemCondition:"https://schema.org/NewCondition",sku:e,color:n,offers:getOffersAttribute(t)}};function SchemaTags(t){let{marketplaceBrand:e}=t,n=getContextData(t);e.name&&(n.brand={"@type":"Brand",name:e.name});let r=JSON.stringify(n);return(0,a.jsx)("script",{id:"schema-tags",type:"application/ld+json",dangerouslySetInnerHTML:{__html:r}})}},41887:function(t,e,n){n.d(e,{A:function(){return ShareButtonNative}});var a=n(85893),r=n(67294),l=n(57207),s=n(38538),o=n(29777);function ShareButtonNative(t){let{text:e,url:n,className:c="",iconName:i,iconSize:u=20,product:w}=t,{isTablet:d}=(0,s.k)(),[m,h]=(0,r.useState)(!1),x=(0,o.o)();async function handleClickShare(){w&&x.shareLink(()=>({product:w})),await navigator.share({text:e,url:n})}return((0,r.useEffect)(()=>{let t="https:"===location.protocol,e=t&&!!navigator.share;h(e)},[]),d&&m)?(0,a.jsx)("button",{type:"button",className:c,onClick:handleClickShare,children:(0,a.jsx)(l.X,{name:i,size:u})}):null}},34574:function(t,e,n){n.d(e,{H:function(){return WishGiftContent}});var a=n(85893),r=n(67294),l=n(87536),s=n(62854);function WishGiftContentTitle(t){let{children:e}=t;return e?(0,a.jsx)("h3",{className:(0,s.C$)({_common:"tw-leading-tight",schutz:"tw-mt-4 tw-text-center tw-font-heading tw-text-2xl tw-uppercase\n        tw-leading-7 tw-tracking-tighter",anacapri:"tw-pr-10 tw-text-base",arezzo:"tw-mx-auto tw-text-center tw-text-lg tw-uppercase md:tw-max-w-80",vicenza:"tw-pb-1 tw-text-center tw-text-base tw-font-medium",zzmall:"tw-mb-2 tw-text-base tw-font-medium md:tw-mb-4",vans:"tw-mb-4 tw-mr-6 tw-text-xl tw-font-bold md:tw-mr-0 md:tw-max-w-64\n        md:tw-text-center md:tw-text-2xl"}),children:e}):null}function WishGiftContentSubtitle(t){let{children:e}=t;return e?(0,a.jsx)("h4",{className:(0,s.C$)({_common:"tw-text-center tw-text-sm",schutz:"tw-leading-6",arezzo:"tw-my-4 tw-w-full tw-text-xl tw-uppercase",vicenza:"tw-my-1 tw-w-full tw-text-pale-sky",zzmall:"tw-text-left tw-text-xs tw-font-light",vans:"tw-text-sm tw-font-normal"}),children:e}):null}var o=n(35131),c=n(91474);function WishGiftContentDecorator(){let t=(0,c.k)(o.BrandId.Anacapri);return t?(0,a.jsx)("span",{className:"text-xs tw-h-[3px] tw-w-24 tw-rounded-full tw-bg-torch-red"}):null}function WishGiftContentDescription(t){let{children:e}=t;return e?(0,a.jsx)("p",{className:(0,s.C$)({anacapri:"tw-text-xs",arezzo:"tw-mx-auto tw-max-w-96 tw-text-center tw-text-sm",vans:"tw-text-sm tw-font-normal"}),children:e}):null}function WishGiftContentHeader(t){let{headerTitle:e,headerSubTitle:n,headerDescription:r}=t;return e?(0,a.jsxs)("div",{className:(0,s.C$)({_common:"tw-mb-8 tw-flex tw-flex-col",schutz:"tw-mb-6 tw-gap-4 tw-text-schutz-black",anacapri:"tw-mb-4 tw-gap-2",vicenza:"tw-mb-4",arezzo:"tw-px-7 lg:tw-px-0",vans:"tw-mb-4 tw-items-start tw-justify-start md:tw-items-center\n        md:tw-justify-center"}),children:[(0,a.jsx)(WishGiftContentTitle,{children:e}),(0,a.jsx)(WishGiftContentSubtitle,{children:n}),(0,a.jsx)(WishGiftContentDecorator,{}),(0,a.jsx)(WishGiftContentDescription,{children:r})]}):null}var i=n(13892);let u={name:"Digite seu nome",email:"Coloque seu e-mail",phone:"(__) _____-____",targetPhone:"(__) _____-____"},w={},d={name:"Digite seu nome",email:"Informe seu e-mail",targetPhone:"Informe o telefone de quem ir\xe1 presentear voc\xea",phone:"Informe o seu telefone",message:"Mensagem:",size:"Selecione o tamanho"},m={name:"Nome obrigat\xf3rio",email:"E-mail obrigat\xf3rio",invalidEmail:"E-mail inv\xe1lido",phone:"Telefone obrigat\xf3rio",invalidPhone:"Telefone inv\xe1lido",size:"Selecione um tamanho de cal\xe7ado"};var h=n(14908),x=n(93001),p=n(47429),f=n(85413),g=n(24998),v=n(34998),b=n(32878);function WishGiftContentLabel(t){let{label:e,htmlFor:n,className:r=""}=t;if(!e)return null;let l=(0,s.C$)({_common:"tw-mb-2 tw-text-xs",schutz:"tw-mb-1 tw-font-normal tw-normal-case",anacapri:"tw-ml-0 tw-mb-2 tw-font-medium tw-text-mine-shaft",arezzo:"tw-mb-2 tw-text-sm",vicenza:"tw-mb-0 tw-text-sm tw-text-pale-sky",zzmall:"tw-mb-1 tw-text-xs tw-text-black",vans:"tw-mb-1"});return(0,a.jsx)(b._,{className:(0,s.m6)(l,r),htmlFor:n,children:e})}function WishGiftInput(t){let{inputClassNames:e,wrapperClassNames:n,errors:r,placeholder:l,label:o,shouldRenderFeedbackComponent:c,register:i,errorMessage:u,id:w,mask:d,type:m="text",handleError:h}=t;return(0,a.jsxs)("div",{className:"tw-relative tw-flex tw-flex-col ".concat(n).trim(),children:[(0,a.jsx)(WishGiftContentLabel,{label:o,htmlFor:w}),(0,a.jsx)(v.I,{id:w,shouldRenderFeedbackComponent:c,placeholder:l,type:m,inputClassName:e,register:i,onFocus:h,errorMessageClassName:(0,s.C$)({_common:"tw-mt-1 tw-absolute",anacapri:"tw-text-xs tw-text-torch-red",arezzo:"tw-mt-0 -tw-bottom-3.5",schutz:"tw-text-schutz-accent",zzmall:"tw-relative tw-pl-0 tw-text-upsdell-red",vans:"-tw-mt-4"}),mask:d,errorMessage:u})]})}var z=n(18253),C=n(43550),N=n(2782);function SelectVariantOptions(t){let{variantOptions:e,sizeField:n,sizeValue:r,register:l}=t;return(0,a.jsx)(N.P,{id:n.id,register:l,className:(0,s.C$)({_common:"tw-m-0 tw-w-full tw-px-1 tw-pb-2 tw-pt-0 tw-text-base tw-text-black",schutz:"tw-px-2 tw-py-0 tw-text-xs tw-text-schutz-black",zzmall:"tw-rounded-3xl tw-border tw-border-iron tw-px-4 tw-py-0\n        tw-text-sm"}),ariaLabel:"Tamanho",value:r,children:e.map(t=>t.sellable?(0,a.jsx)("option",{className:"tw-text-base",value:t.code,children:t.displayText},t.code):null)})}function RadioVariantOptions(t){let{variantOptions:e,variantOptionsClassName:n,errors:l,register:o,sizeField:c,handleClickSizeOption:i}=t;return(0,a.jsx)("div",{className:(0,s.C$)({_common:n,anacapri:"tw-flex tw-flex-wrap tw-items-center tw-gap-4 tw-text-sm",arezzo:"tw-flex tw-flex-wrap tw-gap-2",vicenza:"tw-flex tw-flex-wrap tw-gap-4",zzmall:"tw-flex tw-flex-wrap tw-gap-2",vans:"tw-flex tw-flex-wrap tw-gap-2"}),children:e.map(t=>{let{displayText:e,code:n}=t,u=(null==l?void 0:l.productSize)?"tw-border-red-ribbon":"",w=(null==l?void 0:l.productSize)?"tw-text-upsdell-red":"";return(0,a.jsx)(r.Fragment,{children:(0,a.jsxs)("label",{className:(0,s.C$)({_common:"tw-relative tw-h-9 tw-cursor-pointer tw-px-4 tw-py-2.5\n                tw-text-xs tw-font-medium",anacapri:"tw-h-8 tw-w-14 tw-text-sm tw-font-normal tw-text-mine-shaft",vicenza:"tw-inline-flex",zzmall:"tw-h-[30px] tw-w-[34px]",vans:"tw-h-11 tw-w-11 tw-rounded tw-border tw-border-black\n                tw-text-lg tw-font-normal"}),children:[(0,a.jsx)("input",{...o,name:c.id,type:"radio",id:e,value:e,onCh
1ange:()=>i(e),className:"tw-peer/size tw-opacity-0"}),(0,a.jsx)("span",{className:(0,s.C$)({_common:"tw-absolute tw-inset-0 tw-flex tw-size-full\n                  tw-items-center tw-justify-center",anacapri:"".concat(u," tw-rounded-3xl\n                  tw-border tw-border-battleship-grey\n                  peer-checked/size:tw-border-carmine\n                  peer-checked/size:tw-bg-carmine peer-checked/size:tw-font-bold\n                  peer-checked/size:tw-text-white"),arezzo:" ".concat(w," tw-h-8 tw-min-w-12\n                  tw-rounded-3xl tw-text-base peer-checked/size:tw-bg-dark\n                  peer-checked/size:tw-text-white peer-focus/size:tw-border\n                  peer-focus/size:tw-border-dark"),vicenza:" ".concat(w," tw-size-10 tw-border\n                  tw-border-black tw-text-base peer-checked/size:tw-bg-black\n                  peer-checked/size:tw-text-white"),zzmall:"tw-text-pale-sky peer-checked/size:tw-rounded-3xl\n                  peer-checked/size:tw-border\n                  peer-checked/size:tw-border-pale-sky",vans:"peer-checked/size:tw-bg-black\n                  peer-checked/size:tw-text-white"}),children:e})]})},n)})})}function SizeOptions(t){let{variantOptions:e,sizeField:n,shouldRenderSelectOptions:l,sizeValue:o,shouldRenderFeedbackComponent:c,shouldRenderSizeError:i,errors:u,variantOptionsClassName:w,unregister:d,register:h,handleClickSizeOption:x}=t;if(1===e.length)return null;function getRegisterProductSize(){if(i)return h("productSize",{required:{value:!0,message:m.size},onChange:t=>x(t.currentTarget.value.slice(-2))})}return(0,r.useEffect)(()=>{i||d("productSize")},[i,d]),(0,a.jsxs)("div",{className:(0,s.C$)({_common:"size tw-relative tw-flex tw-flex-col tw-justify-between",schutz:"tw-order-2",vans:"tw-mb-2"}),children:[(0,a.jsx)(WishGiftContentLabel,{label:n.label,htmlFor:n.id,className:(0,s.C$)({vans:"tw-mb-4 tw-text-lg tw-font-medium"})}),l?(0,a.jsx)(SelectVariantOptions,{variantOptions:e,sizeField:n,sizeValue:o,register:getRegisterProductSize()}):(0,a.jsx)(RadioVariantOptions,{errors:u,register:getRegisterProductSize(),sizeField:n,handleClickSizeOption:x,shouldRenderSizeError:i,variantOptions:e,variantOptionsClassName:w}),function(){let t=i&&u.productSize&&!o;return t?c?(0,a.jsx)(z.x,{type:C.n.Error,iconSize:12,text:m.size,className:(0,s.C$)({_common:"tw-absolute tw-mt-2",anacapri:"-tw-bottom-4 tw-mt-0"})}):(0,a.jsx)("span",{className:(0,s.C$)({_common:"tw-mb-1 tw-mt-1 tw-text-xs",anacapri:"tw-absolute tw-top-full tw-mb-0 tw-text-xs\n          tw-text-torch-red",arezzo:"tw-text-upsdell-red",zzmall:"tw-text-upsdell-red",vans:"tw-text-upsdell-red"}),children:m.size}):null}()]})}function WishGiftTextarea(t){let{label:e,id:n,shareMessage:r}=t;return(0,a.jsxs)("div",{className:(0,s.C$)({_common:"tw-flex tw-flex-col",schutz:"tw-order-6",anacapri:"tw-order-5"}),children:[(0,a.jsx)(WishGiftContentLabel,{label:e,htmlFor:n}),(0,a.jsx)("textarea",{id:n,rows:6,placeholder:r,className:(0,s.C$)({_common:"tw-resize-none tw-border tw-border-spanish-gray-lighter\n          tw-px-1.5 tw-py-3 tw-text-sm tw-outline-none",anacapri:"tw-rounded-2xl tw-px-6 tw-py-3 tw-text-xs tw-leading-normal\n          tw-text-cod-gray [field-sizing:content] focus:tw-border-cod-gray",arezzo:"tw-mb-4 tw-rounded-2xl tw-border-black tw-px-2",vicenza:"tw-mb-4 tw-h-36 tw-border-iron tw-text-base tw-leading-4",sc
1hutz:"tw-text-xs",zzmall:"tw-rounded-2xl tw-border-black tw-px-4 tw-py-2.5",vans:"tw-rounded-md tw-border-black"}),value:r})]})}var j=n(92795);function WishGiftCheckbox(t){let{defaultCheckedNewsletter:e,registerNewsletter:n,checkboxLabel:r}=t;return(0,a.jsx)("div",{className:(0,s.C$)({_common:"tw-flex tw-h-3.5 tw-w-full",schutz:"tw-order-7",anacapri:"tw-order-6 tw-h-auto"}),children:(0,a.jsx)(j.I,{defaultChecked:e,className:(0,s.C$)({schutz:"tw-m-0 [&>.checkmark-wrapper>.checkmark]:tw-min-h-3\n          [&>.checkmark-wrapper>.checkmark]:tw-min-w-3 [&>.content]:tw-ml-1\n          [&>.content]:tw-text-xs [&>.content]:tw-font-normal",anacapri:"tw-relative tw-m-0 tw-text-xs tw-font-medium\n          tw-text-battleship-grey [&_.checkmark]:tw-min-h-5\n          [&_.checkmark]:tw-min-w-5",arezzo:"tw-text-xs tw-font-bold md:tw-text-sm",vicenza:"[&_.content]:tw-text-xs [&_.content]:md:tw-text-base",zzmall:"tw-m-0 [&_.checkmark::after]:tw-rounded-sm\n          [&_.content]:tw-text-xs",vans:"tw-mt-4 tw-text-sm [&_.checkmark::after]:tw-bg-black\n          [&_.checkmark]:tw-rounded-sm [&_.checkmark]:tw-border-black"}),register:n,children:r||"Aceito receber newsletter e SMS de ".concat(f.T.BRAND_NAME,".")})})}let y={nameUser:"nameUser",emailUser:"emailUser",phoneFriend:"phoneFriend",phoneUser:"phoneUser",productSize:"productSize",newsletter:"newsletter"};function WishGiftForm(t){let{inputClassNames:e,isEmailRequired:n,shouldRenderFeedbackComponent:o,customInputLabels:c,customInputPlaceholders:v,isFormSentSuccessfully:b,defaultCheckedNewsletter:z,checkboxLabel:C,customMessage:N,customSizeText:j,campaignName:k,contactListId:S,shouldSendEmarsys:_,variantOptions:T,shouldRenderSelectOptions:E,shouldRenderSizeError:O,variantOptionsClassName:I,onSuccess:A,handleIsFormSentSuccessfully:U}=t,[R,M]=(0,r.useState)(""),P=document.URL,$={...d,...c},L={...u,...v};function getTextSize(){return 0===R.length?"":j?" ".concat(j," ").concat(R):" Eu uso ".concat(R,".")}let B=N?"".concat(N+getTextSize()):"Hey! Estava olhando o site da ".concat(f.T.BRAND_NAME," e A-M-E-I este produto ").concat(P,". Fica a dica de presente! <3 Xoxo. ").concat(getTextSize()),{register:D,unregister:G,setError:F,handleSubmit:W,reset:V,clearErrors:H,formState:{errors:q}}=(0,l.cI)({shouldFocusError:!1,reValidateMode:"onSubmit"});function getErrorMessage(t){var e;return(null===(e=q[t])||void 0===e?void 0:e.message)||""}function getInputClassNames(t){return q[t]?null==e?void 0:e.error:null==e?void 0:e.noError}let Y=D(y.nameUser,{required:{value:!0,message:m.name},pattern:{value:h.m.NAME,message:m.name}}),Z=D(y.emailUser,{required:{value:!0,message:m.email},pattern:{value:h.m.EMAIL,message:m.invalidEmail}}),Q=D(y.phoneUser,{required:{value:!0,message:m.phone},pattern:{value:h.m.PHONE_NUMBER,message:m.invalidPhone}}),X=D(y.phoneFriend,{required:{value:!0,message:m.phone},pattern:{value:h.m.PHONE_NUMBER,message:m.invalidPhone}}),K=D(y.newsletter);return b?null:(0,a.jsxs)("form",{className:(0,s.C$)({_common:"tw-flex tw-flex-col tw-gap-y-2",schutz:"tw-gap-y-8",vicenza:"tw-gap-y-4",anacapri:"tw-gap-6",zzmall:"tw-gap-4"}),onSubmit:W(function(t){let{phoneFriend:e,emailUser:a="",phoneUser:r,newsletter:l,nameUser:s}=t,o=(0,g.wt)(e),c=!n||!!a,i=!!_&&c&&!!k&&!!l,u=!!_&&c&&!!S&&!!l;i&&p.B.createEmarsysSubscriber({email:a,phoneNumber:r,campaignName:k,acceptNews:!!l}),u&&p.B.createEmarsysContactList({email:a,contactListId:S,campaignName:k,name:s,phoneNumber:r,acceptNews:!!l});let w="".concat(x.h.WHATSAPP.BASE,"?text=").concat(B,"&phone=+55").concat(o);if(window.open(w,"_blank"),V(),M(""),A){A();return}U(!0)}),autoComplete:"off",children:[(0,a.jsx)(WishGiftInput,{register:Y,errors:q,placeholder:L.name,handleError:()=>{F(y.nameUser,w)},id:y.nameUser,errorMessage:getErrorMessage(y.nameUser),label:$.name,shouldRenderFeedbackComponent:o,wrapperClassNames:(0,s.C$)({schutz:"tw-order-1"}),inputClassNames:"".concat(getInputClassNames(y.nameUser)," ").concat(null==e?void 0:e.default)}),n?(0,a.jsx)(WishGiftInput,{register:Z,errors:q,placeholder:L.email,handleError:()=>{F(y.emailUser,w)},id:y.emailUser,errorMessage:getErrorMessage(y.emailUser),label:$.email,shouldRenderFeedbackComponent:o,wrapperClassNames:(0,s.C$)({schutz:"tw-order-3",anacapri:"tw-order-2"}),inputClassNames:"".concat(getInputClassNames(y.emailUser)," ").concat(null==e?void 0:e.default),type:"email"}):null,(0,a.jsx)(WishGiftInput,{register:Q,errors:q,placeholder:L.phone,handleError:()=>{F(y.phoneUser,w)},id:y.phoneUser,errorMessage:getErrorMessage(y.phoneUser),label:$.phone,shouldRenderFeedbackComponent:o,wrapperClassNames:(0,s.C$)({schutz:"tw-order-4",anacapri:"tw-order-3"}),inputClassNames:(0,s.C$)({_common:"".concat(getInputClassNames(y.phoneUser)," ").concat(null==e?void 0:e.default),schutz:"placeholder:tw-tracking-[3px]"}),type:"tel",mask:"(99) 99999-9999"}),(0,a.jsx)(SizeOptions,{variantOptions:T,sizeField:{id:y.productSize,label:$.size},errors:q,handleClickSizeOption:function(t){M(t),H(y.productSize)},shouldRenderSelectOptions:E,sizeValue:R,shouldRenderFeedbackComponent:o,shouldRenderSizeError:O,variantOptionsClassName:I,register:D,unregister:G}),(0,a.jsx)(WishGiftInput,{register:X,errors:q,placeholder:L.targetPhone,handleError:()=>{F(y.phoneFriend,w)},id:y.phoneFriend,errorMessage:getErrorMessage(y.phoneFriend),label:$.targetPhone,shouldRenderFeedbackComponent:o,wrapperClassNames:(0,s.C$)({schutz:"tw-order-5",anacapri:"tw-order-4"}),inputClassNames:(0,s.C$)({_common:"".concat(getInputClassNames(y.phoneFriend)," ").concat(null==e?void 0:e.default),schutz:"placeholder:tw-tracking-[3px]"}),type:"tel",mask:"(99) 99999-9999"}),(0,a.jsx)(WishGiftTextarea,{id:"message",label:$.message,shareMessage:B}),(0,a.jsx)(WishGiftCheckbox,{registerNewsletter:K,checkboxLabel:C,defaultCheckedNewsletter:z}),(0,a.jsx)(i.z,{shouldGrow:!0,type:"submit",className:(0,s.C$)({schutz:"tw-order-8 tw-uppercase",anacapri:"tw-order-7 tw-m-0 tw-min-h-10",arezzo:"tw-uppercase",zzmall:"tw-h-[38px] tw-min-h-[38px] tw-text-sm",vans:"tw-w-full tw-rounded tw-font-medium tw-normal-case"}),children:"Enviar"})]})}var k=n(41664),S=n.n(k),_=n(42048);function WishGiftContentSuccessIcon(t){let{iconSuccessWishGift:e}=t;return e?(0,a.jsx)("div",{className:(0,s.C$)({vicenza:"tw-text-fun-green"}),children:e}):null}function WishGiftContentSuccess(t){let{isFormSentSuccessfully:e,handleClickSuccessMessage:n,iconSuccessWishGift:r,successTitle:l="Mensagem enviada",successSubTitle:o}=t;return e?(0,a.jsxs)("div",{className:(0,s.C$)({_common:"tw-flex tw-flex-col tw-items-center tw-justify-center",arezzo:"tw-w-full",schutz:"tw-mt-10",vans:"tw-px-2 tw-pt-10"}),children:[(0,a.jsx)(WishGiftContentSuccessIcon,{iconSuccessWishGift:r}),(0,a.jsx)("h3",{className:(0,s.C$)({schutz:"tw-mt-4 tw-w-full tw-text-center tw-text-lg tw-font-bold\n          tw-leading-6",arezzo:"tw-my-4 tw-text-center tw-text-lg tw-uppercase",vicenza:"tw-mb-2 tw-mt-5 tw-text-center tw-text-xl tw-uppercase",zzmall:"tw-mb-2 tw-text-lg md:tw-text-2xl",vans:"tw-mt-4 tw-text-center tw-text-xl tw-font-bold"}),children:l}),(0,a.jsx)("h4",{className:(0,s.C$)({arezzo:"tw-mt-2 tw-text-center tw-text-base tw-uppercase",vicenza:"tw-text-center tw-text-pale-sky",vans:"tw-mt-2 tw-text-center tw-text-sm"}),children:o}),(0,a.jsxs)("p",{className:(0,s.C$)({schutz:"tw-mt-4 tw-text-center tw-text-sm tw-leading-5",arezzo:"tw-mx-auto tw-mb-10 tw-mt-4 tw-text-center tw-text-base\n          md:tw-max-w-60",vicenza:"tw-hidden tw-text-pale-sky",zzmall:"tw-text-center tw-text-xs md:tw-text-sm",vans:"tw-hidden"}),children:[f.T.WISH_GIFT_FORM_SUCCESS_MESSAGE," ",f.T.BRAND_NAME,"."]}),(0,a.jsx)(S(),{className:(0,s.C$)({schutz:"tw-mt-6 tw-w-full",vicenza:"tw-w-full",zzmall:"tw-mt-4 tw-w-full",vans:"tw-mt-6 tw-w-full"}),href:_.Z.CATEGORY_NEWS,passHref:!0,children:(0,a.jsx)(i.z,{onClick:n,shouldGrow:!0,className:(0,s.C$)({arezzo:"tw-w-full tw-uppercase",schutz:"tw-uppercase",zzmall:"tw-h-[38px] tw-min-h-[38px] tw-w-full tw-text-sm",vans:"-tw-mt-2 tw-w-full tw-rounded tw-font-medium tw-normal-case"}),children:f.T.WISH_GIFT_FORM_SUCCESS_BUTTON_TEXT})})]}):null}function WishGiftContent(t){let{product:e,campaignName:n,contactListId:o,customInputLabels:c,contentClassName:i,customInputPlaceholders:u,customMessage:w,customSizeText:d,headerDescription:m,headerSubTitle:h,headerTitle:x,iconSuccessWishGift:p,isEmailRequired:f,isOpen:g,
1shouldRenderSizeError:v,shouldSendEmarsys:b,successSubTitle:z,variantOptionsClassName:C,defaultChecked:N,shouldRenderSelectOptions:j=!1,shouldRenderFeedbackComponent:y=!1,successTitle:k,inputClassNames:S,onSuccess:_,setIsOpen:T,checkboxLabel:E,...O}=t,{variantOptions:I}=e,[A,U]=(0,r.useState)(!1),R=A?(0,s.C$)({_common:"tw-items-center tw-justify-center\n          [height:calc(100%-60px)]",vans:"tw-h-auto"}):"",{reset:M}=(0,l.cI)({shouldFocusError:!1,reValidateMode:"onSubmit"});return(0,r.useEffect)(()=>{g||(U(!1),M())},[g,M]),(0,a.jsx)("div",{className:(0,s.C$)({_common:"tw-flex tw-flex-col ".concat(R),schutz:"tw-w-full tw-items-start tw-justify-start tw-px-4"}),...O,children:(0,a.jsxs)("div",{className:"tw-flex tw-w-full tw-flex-col ".concat(i).trim(),children:[!A&&(0,a.jsx)(WishGiftContentHeader,{headerTitle:x,headerSubTitle:h,headerDescription:m}),(0,a.jsx)(WishGiftForm,{isEmailRequired:f,shouldRenderSelectOptions:j,shouldRenderFeedbackComponent:y,shouldRenderSizeError:v,shouldSendEmarsys:b,customInputLabels:c,customInputPlaceholders:u,isFormSentSuccessfully:A,defaultCheckedNewsletter:N,checkboxLabel:E,customMessage:w,customSizeText:d,contactListId:o,campaignName:n,variantOptions:I,onSuccess:_,handleIsFormSentSuccessfully:U,inputClassNames:S}),(0,a.jsx)(WishGiftContentSuccess,{handleClickSuccessMessage:function(){T(!1),U(!1),M()},isFormSentSuccessfully:A,successTitle:k||"",successSubTitle:z||"",iconSuccessWishGift:p})]})})}},55861:function(t,e,n){var a,r,l,s;n.d(e,{Rg:function(){return r},vm:function(){return o}}),(l=a||(a={})).MALE="MALE",l.FEMALE="FEMALE",l.BOTH="BOTH";let o={DEFAULT_ERROR_MESSAGE:"Erro ao cadastrar e-mail. Tente novamente.",INVALID_EMAIL_ERROR_MESSAGE:"E-mail inv\xe1lido!",EMPTY_EMAIL_ERROR_MESSAGE:"Informe um e-mail!",EMPTY_NAME_ERROR_MESSAGE:"Informe um nome!",EMPTY_PHONE_ERROR_MESSAGE:"Informe um n\xfamero de telefone!",INVALID_PHONE_ERROR_MESSAGE:"N\xfamero de telefone inv\xe1lido!",EMPTY_GENDER_ERROR_MESSAGE:"Selecione um g\xeanero!"};(s=r||(r={})).NOTIFICATION_NEWSLETTER="NOTIFICATION_NEWSLETTER",s.NOTIFICATION_LANDINGPAGE="NOTIFICATION_LANDINGPAGE"},43740:function(t,e,n){n.d(e,{a:function(){return storeLocationFactory}});var a=n(72546);function storeLocationFactory(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{stores:(t=e.stores)?t.map(t=>(0,a.p)(t)):[],sourceLatitude:e.sourceLatitude||0,sourceLongitude:e.sourceLongitude||0}}},1716:function(t,e,n){n.d(e,{G:function(){return useProductSize}});var a=n(67294),r=n(85413),l=n(33764),s=n(9136),o=n(21867),c=n(91315);function useProductSize(t){var e;let{product:n,shouldRemoveSizeOnLocationChange:i=!0}=t,[u,w]=(0,a.useState)(null),[d,m]=(0,a.useState)(null),{cepLocation:h}=(0,c.f)(),x=(0,a.useRef)((null==n?void 0:n.variantOptions)||[]),p=(null==n?void 0:n.sizeGuide)||[],f=(0,a.useMemo)(()=>{let t=(null==n?void 0:n.variantOptions)||[];return t.map(t=>{var e,n;return{stock:t.stock,hasLowStock:t.stock.stockLevel<=3,value:null===(e=t.variantOptionQualifiers[0])||void 0===e?void 0:e.value,valueSecondary:null===(n=t.variantOptionQualifiers[0])||void 0===n?void 0:n.valueSecondary,sellable:t.sellable,displayText:t.displayText,stores:t.stores,code:t.code}})||[]},[null==n?void 0:n.variantOptions]),g=f.filter(t=>!(null==t?void 0:t.sellable)),v=(0,a.useMemo)(()=>{var t;return(0,l.x)(f,null==f?void 0:null===(t=f[0])||void 0===t?void 0:t.displayText)},[f]),b=(0,a.useMemo)(()=>{var t;return!n||(v?!(null==f?void 0:null===(t=f[0])||void 0===t?void 0:t.sellable):!!u&&!u.sellable)},[u,v,n,f]),z=(0,a.useMemo)(()=>(0,o.wn)(n),[n]),C=(null==u?void 0:null===(e=u.stock)||void 0===e?void 0:e.stockLevel)||0,N=(0,a.useMemo)(()=>{if(!C||C>3)return null;let t=C.toString();return 1===C?r.T.SINGLE_REMAINING_WARN.replace("$amount",t):r.T.PLURAL_REMAINING_WARN.replace("$amount",t)},[C]);return(0,a.useEffect)(()=>{var t;if(v&&(null===(t=f[0])||void 0===t?void 0:t.sellable)){w(f[0]);return}let e=null==n?void 0:n.variantOptions.some(t=>t.code===(null==u?void 0:u.code));if(!e){w(null);return}let a=f.find(t=>t.code===(null==u?void 0:u.code))||null;w(a)},[u,v,null==n?void 0:n.variantOptions,f]),(0,a.useEffect)(()=>{let t=!(0,s.u)(x.current,(null==n?void 0:n.variantOptions)||{});if(!t)return;x.current=(null==n?void 0:n.variantOptions)||[];let e=g.some(t=>t.code===(null==u?void 0:u.code));e&&w(null)},[null==u?void 0:u.code,null==n?void 0:n.variantOptions,w,g]),(0,a.useEffect)(()=>{i&&!v&&w(null)},[h,v,i]),{sizeOptions:f,isUnavailable:b,isUniqueSize:v,currentSize:u,setCurrentSize:w,currentSizeOnNotifyMe:d,setCurrentSizeOnNotifyMe:m,sizesNotSellable:g,isUnavailableProduct:z,remainingWarn:N,sizeGuide:p}}},47429:function(t,e,n){n.d(e,{B:function(){return o}});var a=n(5121),r=n(55861),l=n(45613),s=n(23455);async function createSubscriber(t){let{email:e,gender:n}=t,a=await l.hi.get("newsletter/create-subscriber?email=".concat(e,"&gender=").concat(n));return(0,s.m9)(a.data,t=>t)}async function createEmarsysSubscriber(t){let{email:e,contactListId:n,campaignName:a,gender:
1o,phoneNumber:c,acceptNews:i,firstName:u,typeCode:w=r.Rg.NOTIFICATION_NEWSLETTER}=t,d=await l.hi.post("emarsys/notification/newsletter",{optin:!0,store:"schutz",typeCode:w,acceptNews:i,email:e,contactListId:n,campaignName:a,gender:o,phone:c,firstName:u});return(0,s.m9)(d.data,t=>t)}async function createEmarsysContactList(t){let{email:e,contactListId:n,name:r,phoneNumber:l,campaignName:o,acceptNews:c}=t;try{let t=await (0,a.Z)({method:"post",url:"/arezzoapi/emarsys/notification/landingpage",data:[{contactListId:n,type:"NOTIFICATION_LANDINGPAGE",store:"schutz",optin:!0,acceptNews:c,email:e,firstName:r,phoneNumber:l,campaignName:o,acceptSmsNews:!0}]});return(0,s.m9)(t.data,t=>t)}catch(t){console.log(t)}}let o={createSubscriber,createEmarsysSubscriber,createEmarsysContactList}},38952:function(t,e,n){function getClonedSlides(t){let{renderedSlides:e,slidesPerView:n}=t;if(e.length>0){let t=Math.ceil((Math.ceil(n)+1)/e.length),a=Array.from({length:t}).fill(0).flatMap(()=>e);return a}return null}function recalculateSliderWidth(t){setTimeout(()=>{let e=t.slides.map(t=>t.offsetWidth).sort((t,e)=>e-t),n=e[0];t.container.style.maxWidth="".concat(n+1,"px"),t.update()})}function getOptionsSlidesPerViewAsNumber(t,e){let{slides:n,breakpoints:a}=t;if(e){let t=null==a?void 0:a[e];if(!t)return 0;let{slides:n}=t;return"object"==typeof n?Number(null==n?void 0:n.perView):Number(n)}return"object"==typeof n?Number(null==n?void 0:n.perView):Number(n)}n.d(e,{Tx:function(){return getOptionsSlidesPerViewAsNumber},dc:function(){return recalculateSliderWidth},wP:function(){return getClonedSlides}})}}]);

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.