1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53786],{9834:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var i=n(42081),s=n(72610),a=n.n(s),o=n(87670),l=n.n(o),c=n(32504),r=n.n(c),d=n(73884),lib_getScrollPercent=()=>{let e=document.documentElement,{body:t}=document;return(e.scrollTop||t.scrollTop)/((e.scrollHeight||t.scrollHeight)-e.clientHeight)*100},u=n(69595),v=n(51015);let GoogleAnalyticsListener=class GoogleAnalyticsListener extends i.Component{componentDidMount(){u.Z||window.addEventListener("load",()=>{(0,d.subscribe)(e=>{e.unique?this.sendUniqueEvent(e):this.sendEvent(e)}),(0,d.subscribe)(e=>{e.unique?this.sendUniqueEvent(e):this.sendEvent(e)},d.GA4_EVENT_TYPE),window.addEventListener("scroll",this.handleScroll)})}render(){return null}constructor(e){super(e),this.handleScroll=a()(()=>{this.sendScrollEvent(25),this.sendScrollEvent(50),this.sendScrollEvent(75),this.sendScrollEvent(100)},250),this.sendEvent=e=>{(0,v.ZP)(e)},this.sendScrollEvent=e=>{let t="singleEvents.".concat(this.props.query,".scroll-tracking-").concat(e),n=l()(this.state,t);if(void 0===n){let n=lib_getScrollPercent();n>=e&&(this.sendEvent({category:"scroll",action:"scroll tracking",label:"".concat(e,"% scroll")}),this.setState(e=>r()({...e},t,!0)))}},this.sendUniqueEvent=e=>{let t=e.key||"".concat(e.category,"-").concat(e.action,"-").concat(e.label),n=["singleEvents",this.props.query||"",t],i=l()(this.state,n);if(void 0===i){(0,v.ZP)(e);let t={...this.state};this.setState(()=>r()(t,n,!0))}},this.state={singleEvents:{},pageViews:{}}}};var h=GoogleAnalyticsListener},56531:function(e,t,n){"use strict";n.d(t,{Kx:function(){return fetchLocation},tn:function(){return locationFetchSucceeded},wR:function(){return fetchLocationByZipcode}});var i=n(66099),s=n(44327),a=n(51302);let locationFetchRequested=()=>({type:a.zX}),locationFetchSucceeded=e=>({type:a.Wk,payload:e}),locationFetchFailed=()=>({type:a.fX}),locationSetInitialState=()=>({type:a.zu}),fetchLocationByZipcode=e=>async(t,n)=>{var a,o;let l=null===(o=n().location)||void 0===o?void 0:null===(a=o.address)||void 0===a?void 0:a.zipcode,c=e!==l;if(!c){t(locationFetchRequested()),setTimeout(()=>t(locationSetInitialState()),1e3);return}t((0,s.dR)()),t(locationFetchRequested());let r=await (0,i.mP)(e);if(!r){t(locationFetchFailed());return}t(locationFetchSucceeded({...r,isCalculatedByIP:!1}))},fetchLocation=()=>async e=>{e((0,s.dR)()),e(locationFetchRequested());let t=await (0,i.Kn)();if(!t){e(locationFetchFailed());return}e(locationFetchSucceeded(t))}},51015:function(e,t,n){"use strict";n.d(t,{Av:function(){return r},EG:function(){return c}});var i=n(73884),s=n(15812),a=n(46034),o=n(74851),l=n(35575);let c=-1,r=1,d="true"===s.A.get("_mosidev"),eventDebugLogger=(e,t)=>{d&&(console.log("%c -> [mosidev][".concat(e,"]: "),"color: green; font-weight: bold; font-size: 16px;"),console.table(t))},u=l.env.TEST_ANALYTICS;t.ZP=u?e=>{if(d){if(e.eventType===i.GA4_EVENT_TYPE){eventDebugLogger("sending ga4 event",e);return}eventDebugLogger("sending gau event",e);return}(0,a.ji)("@@ Sending analytics event @@",e)}:e=>{if(e.eventType===i.GA4_EVENT_TYPE){dataLayer.push({...(0,a.Yd)(),event:o.oQ,...e}),eventDebugLogger("sending ga4 event",e);return}dataLayer.push({event:o.vn,eventTracking:e}),eventDebugLogger("sending gau event",e)}},2491:function(e,t,n){"use strict";n.d(t,{Z:function(){return useWebVitals}});var i=n(42081),s=n(76829),a=n(64641),o=n(73884),analyticsEventHandler=e=>{let{...t}=e;(0,o.dispatch)((0,o.getGA4EventTemplate)({eventName:"webvitals_metrics",...t}))};function sendToAnalytics(e){let{name:t,delta:n,value:i,id:s,rating:a,pageType:o,path:l="",debug_target:c=""}=e;analyticsEventHandler({pageType:o,trail_name:t,value:n,element_text:s,stamp:a,option:"value_".concat(i),url:l,area:c})}function useWebVitals(e){let{pageType:t}=e,{asPath:n}=(0,s.useRouter)();(0,i.useEffect)(()=>{(0,a.mw)(e=>{var i,s;let a=null!==(s=null==e?void 0:null===(i=e.attribution)||void 0===i?void 0:i.largestShiftTarget)&&void 0!==s?s:"";sendToAnalytics({...e,debug_target:a,pageType:t,path:n})}),(0,a.Yn)(e=>{var i,s;let a=null!==(s=null==e?void 0:null===(i=e.attribution)||void 0===i?void 0:i.eventTarget)&&void 0!==s?s:"";sendToAnalytics({...e,debug_target:a,pageType:t,path:n})}),(0,a.NO)(e=>{var i,s;let a=null!==(s=null==e?void 0:null===(i=e.attribution)||void 0===i?void 0:i.element)&&void 0!==s?s:"";sendToAnalytics({...e,debug_target:a,pageType:t,path:n})})},[t,n])}},52697:function(e,t,n){"use strict";n.d(t,{Z:function(){return widgets_AdditionalPageAssets}});var i=n(14710),s=n(51186),a=n.n(s),o=n(87010),l=n(42081),c=n(24853),r=n.n(c),d=n(6329),u=n(66474),widgets_InsiderObject=e=>{let{insiderParams:t}=e,n=(0,d.v9)(u.S8),[s,a]=(0,l.useState)(n);return(0,l.useEffect)(()=>{a(n)},[null==n?void 0:n.email]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r(),{id:"InsiderObjectScript",children:"\n window.insider_object = window.insider_object || {};\n "}),!!(null==t?void 0:t.page)&&(0,i.jsx)(r(),{id:"InsiderPageObjectScript",children:'\n window.insider_object.page = {\n "type": \''.concat(null==t?void 0:t.page,"'\n }\n ")}),!!(null==s?void 0:s.zuid)&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r(),{strategy:"lazyOnload",id:"InsiderUserObjectScript",children:"\n window.insider_object.user = {\
1n 'uuid': '".concat(null==s?void 0:s.zuid,"',\n 'gdpr_optin': ",!0,",\n 'email_optin': ",!0,",\n 'sms_optin': ",!0,",\n 'whatsapp_optin': ",!0,",\n 'phone_number': '").concat((null==s?void 0:s.cellphoneNumberWhatsapp)?"+55".concat(null==s?void 0:s.cellphoneNumberWhatsapp):"","',\n 'email': '").concat((null==s?void 0:s.email)||"","',\n 'name': '").concat((null==s?void 0:s.name)||"","',\n 'custom' : {\n 'user_id': ").concat(null==s?void 0:s.zuid,",\n },\n }\n ")})})]})},v=n(89564);let h=(0,v.y)()?"https://buscapebruat.api.useinsider.com/ins.js?id=10011422":"https://buscapebr.api.useinsider.com/ins.js?id=10008767",g=(0,v.y)()?"https://zoombruat.api.useinsider.com/ins.js?id=10011422":"https://zoombr.api.useinsider.com/ins.js?id=10011422";var widgets_InsiderScript=()=>{let e=o.hb?h:g;return(0,i.jsx)(r(),{strategy:"afterInteractive",id:"InsiderScript",src:e})},widgets_AdditionalPageAssets=e=>{let{insiderParams:t}=e,n=!!a().get("isQATest");return(0,i.jsx)(i.Fragment,{children:(o.hb||o.zm)&&!n&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(widgets_InsiderObject,{insiderParams:t}),(0,i.jsx)(widgets_InsiderScript,{})]})})}},63403:function(e,t,n){"use strict";var i=n(14710),s=n(6329),a=n(52405),o=n(87010),l=n(86028);t.Z=e=>{let{pageType:t,className:n}=e,c=(0,s.v9)(l.Z),r=o.hb||o.zm?"primary":"secondary";return c?null:(0,i.jsxs)("div",{className:n,children:[(0,i.jsx)("div",{id:"page-type","data-page-type":t,style:{display:"none"}}),(0,i.jsx)(a.Z,{modifier:r,pageType:t})]})}},74707:function(e,t,n){"use strict";var i=n(63403);t.Z=i.Z},85214:function(e,t,n){"use strict";var i=n(14710),s=n(42081),a=n(83259),o=n.n(a),l=n(43206),c=n.n(l),r=n(6329),d=n(4229),u=n(68851),v=n(32265),h=n(87010),g=n(46034),p=n(70138),m=n(56531),b=n(77155),y=n(44327),f=n(66474),S=n(86028),E=n(69459),_=n(46485),w=n(7680),j=n(98904),T=n(21608),x=n.n(T),A=n(35575);let Z=c()(()=>n.e(6610).then(n.bind(n,6610)),{loadableGenerated:{webpack:()=>[6610]},ssr:!1}),F="dev"===A.env.STAGE,L="preprod"===A.env.STAGE;t.Z=e=>{var t;let{pageName:n,className:a,forceInWebview:l,items:c,hideShadow:T}=e,A=(0,r.v9)(j.MU),k=((0,r.v9)(S.Z)||l)&&p.xY,I=o()(a,{[x().HideHeaderShadow]:T}),P=(0,r.v9)(f.sX),N=(0,r.I0)(),z=(0,r.v9)(b.y_),q=(0,d.n)(),H=c||(null==q?void 0:null===(t=q.data)||void 0===t?void 0:t.items),D=(0,r.v9)(E.dA),G=null==D?void 0:D.isBlackfriday,C=null==D?void 0:D.isConsumerDay,R=null==D?void 0:D.isMothersDay,O=(0,_.Zh)(D),Y=!O&&(null==D?void 0:D.isSearchSuggetionsDisabled),{category:V}=(0,g.ps)(),W="";return G?W="blackfriday":C?W="consumerday":R&&(W="mothersday"),(0,s.useEffect)(()=>{(0,_.Zh)(D)}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u.Z,{onClickLogin:e=>{e.preventDefault(),N((0,w.B)({origin:"forehead_cashback_desativado",pageType:n,cashback:0}))},href:F||L?"/":void 0,isInWebview:k,pageName:n,category:V||"",className:I,searchQuery:A.query||"",isSearchSuggetionsDisabled:!!Y,enableMaknae:e=>O,onSearchSuggestionClick:e=>{(0,v.Z)(e)},onLocationChange:e=>{let t=!!e;t&&(N((0,y.dR)()),N((0,m.tn)(e)))},location:z,theme:W,user:P,items:H}),(h.zm||h.hb)&&(0,i.jsx)(Z,{pageName:n})]})}},21608:function(e){e.exports={HideHeaderShadow:"Header_HideHeaderShadow__ii3dE"}}}]);
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.