(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9006],{29594:function(t,n,e){"use strict";var r=e(64836),o=e(75263);n.Z=void 0;var a=o(e(67294)),c=(0,r(e(2108)).default)(a.createElement("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}),"ArrowUpward");n.Z=c},52484:function(t,n,e){"use strict";var r=e(67294),o=e(63786);n.Z=(0,o.Z)(r.createElement("path",{d:"M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h4v1h-7v2h6c1.66 0 3-1.34 3-3V10c0-4.97-4.03-9-9-9z"}),"HeadsetMic")},12318:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/desktop/loja/central-de-atendimento",function(){return e(87907)}])},75032:function(t,n,e){"use strict";e.d(n,{Y:function(){return g}});var r=e(4159),o=e(50713),a=e(5636),c=e(58154),i=e(34330),l=e(74061),u=e(67294);let formatTopBannerContent=t=>{if(t)try{let n=JSON.parse(t),{img:e,version:r}=n.faixaMobileTop[0];return n.faixaMobileTop[0].img=formatImgUrl(e,r),n}catch(t){console.error("Error parsing top banner content")}},formatImgUrl=(t,n)=>"https://www.efacil.com.br/wcsstore/AuroraStorefrontAssetStore/topo/".concat(t,"?v=").concat(n);var s=e(85893),f=e(65658),p=e(78481),d=e(11429),h=e(82729),_=e(186);function _templateObject(){let t=(0,h._)(["\n    height: 0;\n    opacity: 0;\n"]);return _templateObject=function(){return t},t}function _templateObject1(){let t=(0,h._)(["\n    height: 38px;\n    cursor: pointer;\n    background-color: ",";\n    position: relative;\n    ",";\n    transition: 0.2s;\n"]);return _templateObject1=function(){return t},t}let b=(0,_.iv)(_templateObject()),m=_.ZP.div.withConfig({componentId:"sc-7514535c-0"})(_templateObject1(),t=>t.$backgroundColor,t=>{let{$hide:n}=t;return n&&b});var v=e(4511);let g=(0,r._)(t=>{let{_io:n}=t;if(!n.bannerInfo||"on"!==n.bannerToggle)return(0,s.jsx)(s.Fragment,{});let{isDesktop:e}=(0,d.v$)();return(0,s.jsx)(v.SV,{fallback:(0,s.jsx)(s.Fragment,{}),onError:t=>console.error("Client Side Error:",t),children:(0,s.jsx)(m,{$backgroundColor:n.bannerInfo.background,$hide:!!e&&n.hideComponent,children:(0,s.jsx)(p.x,{href:n.bannerInfo.link,target:n.bannerInfo.newtab?"_blank":"_self","aria-label":"acessar conte\xfado",children:(0,s.jsx)(f.d,{priority:!0,src:n.bannerInfo.img,layout:"fill",objectFit:"contain",alt:"banner informativo","data-testid":"top-banner"})})})})},t=>{var n;let{topBannerStaticContent:e,autoLoadBannerData:r}=t,[s,f]=(0,u.useState)(),p=(0,l.TL)(),{hideComponent:d}=(0,o.F)();(0,a.u)(()=>{r&&!e&&p((0,c.d)(i.Pe.TOP_BANNER,{onSuccess:f}))},[]);let h=formatTopBannerContent(null!=e?e:s),[_,b]=null!==(n=null==h?void 0:h.faixaMobileTop)&&void 0!==n?n:[];return{bannerInfo:_,bannerToggle:b,hideComponent:d}})},20262:function(t,n,e){"use strict";e.d(n,{G:function(){return CallCenterIFrameView}});var r=e(85893),o=e(99685),a=e(82729),c=e(186),i=e(76649);function _templateObject(){let t=(0,a._)(["\n    width: 100%;\n    min-height: 100vh;\n"]);return _templateObject=function(){return t},t}let l=(0,c.ZP)(i.Z).attrs(t=>{let{theme:n}=t;return{frameBorder:"0",bodyMargin:n.isDesktop?"48px 0 64px 0":"16px 8px 0 8px"}}).withConfig({componentId:"sc-884096ec-0"})(_templateObject());function CallCenterIFrameView(){return(0,r.jsx)(l,{loading:"lazy",src:(0,o.y)()?"https://custhelp.efacil.com.br":"https://efacil--tst3.custhelp.com"})}},87907:function(t,n,e){"use strict";e.r(n),e.d(n,{__N_SSG:function(){return u},default:function(){return CallCenter}});var r=e(85893),o=e(1577),a=e(67456),c=e(64110),i=e(75032),l=e(20262),u=!0;function CallCenter(t){let{categoriesData:n,topBannerStaticContent:e}=t;return(0,r.jsx)(o.A,{topBanner:(0,r.jsx)(i.Y,{topBannerStaticContent:e}),navbarComponent:(0,r.jsx)(c.x,{categoriesData:n}),footer:(0,r.jsx)(a.$,{categoriesData:n}),contentTopPadding:"lg",children:(0,r.jsx)(l.G,{})})}},58154:function(t,n,e){"use strict";e.d(n,{d:function(){return getESpotContentThunk}});var r=e(72464),o=e(5816);e(34330);let getESpotContent=async t=>o.ZP.get("espots/".concat(t)).then(t=>t.data.conteudo),getESpotContentThunk=(t,n)=>{let{onSuccess:e,onError:o}=n;return async()=>{try{let n=await getESpotContent(t);e&&e(n)}catch(t){(0,r.y)(t,{onError:o,visibility:"onEmptyMessage"})}}}},34330:function(t,n,e){"use strict";var r,o,a,c;e.d(n,{Pe:function(){return r}}),(a=r||(r={})).TOP_BANNER="JSON_FAIXA_MOBILE_NOVO",a.WARRANTY="GarantiaCondicoes_API",(c=o||(o={})).TermsOfUse="TermsOfUse_Content",c.PrivacyPolicy="PrivacyPolicyCenter_Content",c.ExchangesAndReturnPolicies="PoliticaTrocaDevolucaoMidle_LS"},99685:function(t,n,e){"use strict";e.d(n,{y:function(){return isProduction}});let isProduction=()=>!0}},function(t){t.O(0,[6649,7456,9774,2888,179],function(){return t(t.s=12318)}),_N_E=t.O()}]);