(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[900],{4761:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[post]",function(){return n(8282)}])},1485:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var l=n(5893),i=n(5675),s=n.n(i),r=n(1664),a=n.n(r),o=n(1163),u=n(7294);function c(){let e=(0,o.useRouter)(),t=e.asPath.replace("/","").split("/"),[n,i]=(0,u.useState)(t),[r,c]=(0,u.useState)(e.hostname||"");return(0,u.useEffect)(()=>{i(e.asPath.split("/"))},[e.asPath]),(0,l.jsx)("div",{className:"flex flex-col items-center",id:"breadcrumb_",children:(0,l.jsx)("div",{className:"flex w-full max-w-7xl flex-col justify-between gap-16 px-6 md:px-14",children:(0,l.jsx)("div",{className:"flex animate-fadeOut gap-2 overflow-auto text-xs uppercase md:mt-8 md:gap-4 md:text-base",children:n.map((e,t)=>{let i="";for(let e=0;e<=t;e++)i+=n[e]+"/";let o=r+i,u=e.replaceAll("-"," ");return u.includes("?")&&(u=u.split("?")[0]),(0,l.jsxs)("div",{className:"flex gap-2 md:gap-4",children:[(0,l.jsx)(a(),{href:o,style:{...n.length-1===t&&{fontWeight:"600"},color:"#666"},className:" ".concat(n.length-1===t&&""," duration-500 hover:text-blue-800 hover:underline"),children:0===t?"home":"".concat(u)}),n.length-1!==t&&(0,l.jsx)(s(),{alt:"icon separate link",src:"/images/arrow.svg",width:12,height:12,className:"w-[10px] rotate-[-90deg] md:w-3"})]},"p"+t)})})})})}},4421:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var l=n(5893),i=n(9008),s=n.n(i),r=n(4933),a=n(232),o=n(7294);n(1163);var u=n(1485);function c(e){let{products:t,baseUrl:n}=e;return(0,l.jsx)("section",{className:"flex flex-col items-center",id:"error",children:(0,l.jsx)("div",{className:"my-10 flex w-full max-w-7xl flex-col justify-between gap-16 px-14",children:(0,l.jsx)("h2",{children:"Ops, P\xe1gina n\xe3o encontrada!"})})})}function d(e){let{content:t}=e,[n]=(0,o.useState)(null==t?void 0:t.page.banners),[i]=(0,o.useState)(null==t?void 0:t.page.title),[d]=(0,o.useState)(null==t?void 0:t.page.contentDescription),[m]=(0,o.useState)(null==t?void 0:t.page.metaTitle),[x]=(0,o.useState)(null==t?void 0:t.page.metaDescription),[h]=(0,o.useState)(null==t?void 0:t.page.imgDescription),[p]=(0,o.useState)(null==t?void 0:t.page.faq);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(s(),{children:[(0,l.jsx)("title",{children:m||i}),(0,l.jsx)("meta",{name:"description",content:x||d}),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"})]}),(0,l.jsxs)(r.Z,{template:null==t?void 0:t.template,page:null==t?void 0:t.page,menus:null==t?void 0:t.menus,children:[(0,l.jsx)(a.Z,{banners:n}),(0,l.jsx)(u.Z,{}),(0,l.jsx)(c,{})]})]})}},1854:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var l=n(5893);function i(e){let{title:t,className:n}=e;return(0,l.jsx)("div",{className:"flex flex-col items-center ".concat(n),id:"title_",children:(0,l.jsx)("div",{className:"my-4 w-full px-6 md:mb-0 md:mt-5 md:max-w-7xl md:px-14",children:(0,l.jsx)("h1",{className:"animate-fadeOut text-2xl font-bold uppercase text-[#c12025] md:text-3xl",children:t})})})}},8282:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return p},default:function(){return f}});var l=n(5893),i=n(4933);n(1854);var s=n(232);n(2547);var r=n(4421),a=n(1485),o=n(7294),u=n(9008),c=n.n(u),d=n(1664),m=n.n(d),x=n(1163);function h(e){let{content:t}=e,n=(0,x.useRouter)(),[r,u]=(0,o.useState)(""),[d,h]=(0,o.useState)(""),{banners:p}=(null==t?void 0:t.page)||{},{posts:f}=t||{};return(0,o.useEffect)(()=>{f&&h(f.contentHTML)},[f]),(0,o.useEffect)(()=>{u(window.location.href)},[n]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(c(),{children:[(0,l.jsx)("title",{children:f.metaTitle}),(0,l.jsx)("meta",{name:"description",content:f.metaDescription}),(0,l.jsx)("link",{rel:"canonical",href:r})]}),(0,l.jsxs)(i.Z,{template:null==t?void 0:t.template,page:null==t?void 0:t.page,menus:null==t?void 0:t.menus,children:[(0,l.jsx)(s.Z,{banners:p}),(0,l.jsx)(a.Z,{}),(0,l.jsxs)("div",{className:"max-w-7xl px-3.5 py-8 md:mx-auto",children:[(0,l.jsx)("h1",{className:"mb-4 text-3xl font-bold",children:null==f?void 0:f.title}),(0,l.jsx)("p",{className:"mb-4 text-gray-600",children:null==f?void 0:f._createdAt.split("T")[0]}),(0,l.jsx)("div",{className:"custom-link-container prose overflow-hidden",dangerouslySetInnerHTML:{__html:d}}),(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(m(),{href:"/blog",className:"text-blue-500 hover:underline",children:"Voltar para Blog"})})]})]})]})}n(8049);var p=!0;function f(e){var t,n,i,s,a,u,c;let{content:d}=e,[m]=(0,o.useState)(null==d?void 0:null===(t=d.page)||void 0===t?void 0:t.metaTitle),[x]=(0,o.useState)(null==d?void 0:null===(n=d.page)||void 0===n?void 0:n.metaDescription),[p]=(0,o.useState)(null==d?void 0:null===(i=d.page)||void 0===i?void 0:i.banners),[f]=(0,o.useState)(null==d?void 0:null===(s=d.page)||void 0===s?void 0:s.title),[v]=(0,o.useState)(null==d?void 0:null===(a=d.page)||void 0===a?void 0:a.video),[g]=(0,o.useState)(null==d?void 0:null===(u=d.page)||void 0===u?void 0:u.companyValues),[j]=(0,o.useState)(null==d?void 0:null===(c=d.page)||void 0===c?void 0:c.contentDescription),[b,w]=(0,o.useState)(null==d?void 0:d.posts);return(0,l.jsxs)(l.Fragment,{children:[(null==d?void 0:d.type)==="singlepost"&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(h,{content:d})}),(null==d?void 0:d.type)==="error"&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(r.Z,{content:d})})]})}},2547:function(e,t,n){"use strict";var l,i=n(6785),s=n.n(i);let r=new(s()).Schema({id:Object,title:String,label:String,metaTitle:String,metaDescription:Array,contentDescription:Array,category:String,banners:Object,thumbnail:Object,gallery:Array,models:Array,faq:Object},{versionKey:!1});(null===s()||void 0===s()?void 0:null===(l=s().models)||void 0===l?void 0:l.products)||null===s()||void 0===s()||s().model("products",r)},8049:function(e,t,n){"use strict";n(9521),n(365),n(7651)},365:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PrefixPathnameNormalizer",{enumerable:!0,get:function(){return n}});class n{constructor(e){if(this.prefix=e,e.endsWith("/"))throw Error(`PrefixPathnameNormalizer: prefix "${e}" should not end with a slash`)}match(e){return!!(e===this.prefix||e.startsWith(this.prefix+"/"))}normalize(e,t){return t||this.match(e)?e.length===this.prefix.length?"/":e.substring(this.prefix.length):e}}},7651:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SuffixPathnameNormalizer",{enumerable:!0,get:function(){return n}});class n{constructor(e){this.suffix=e}match(e){return!!e.endsWith(this.suffix)}normalize(e,t){return t||this.match(e)?e.substring(0,e.length-this.suffix.length):e}}},9008:function(e,t,n){e.exports=n(7828)}},function(e){e.O(0,[961,137,102,888,774,179],function(){return e(e.s=4761)}),_N_E=e.O()}]);