1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2510,2959],{99307:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/error",function(){return c(16556)}])},728:function(c,b,a){"use strict";var d=a(85893),e=a(11163),f=a(2962),g=a(83454);b.Z=function(b){var c,h,i,j,k,a=b.seoData,l=b.title,m=b.description,p=b.image,q=b.name,r=(a||"maquinaria, construcci\xf3n, alquiler, venta, dercomaq, soho").keywords,n=(0,e.useRouter)(),o="".concat("https://www.dercomaq.cl/")+("/"===n.asPath?"":n.asPath.substring(1));return(0,d.jsx)(f.PB,{title:l||(null==a?void 0:a.title),description:m||(null==a?void 0:a.description),name:q||l||(null==a?void 0:a.title),canonical:o,additionalLinkTags:[{rel:"icon",href:"".concat("https://dercomaq-api.s3.amazonaws.com/").concat(null!==(c=g.env.BLOG_URL)&& void 0!==c?c:"dercomaq","-favicon.ico")},],additionalMetaTags:[{name:"keywords",content:r},{name:"author",content:"Hecho por SOHO"},{name:"publisher",content:"Soho"},{name:"verificaci\xf3n-de-dominio-de-facebook",content:"03w2541cpnqjp2chmg4gy6th36jdo9"},],openGraph:{type:"website",locale:"es_ES",url:"".concat(o),title:l||(null==a?void 0:a.title),description:m||(null==a?void 0:a.description),images:[{url:p||"".concat("https://dercomaq-api.s3.amazonaws.com/","logo-").concat(null!==(i=null!==(h=g.env.BLOG_URL)&& void 0!==h?h:"dercomaq")&& void 0!==i?i:"dercomaq","-seo.png"),width:225,height:225,alt:"logo-".concat(null!==(k=null!==(j=g.env.BLOG_URL)&& void 0!==j?j:"dercomaq")&& void 0!==k?k:"dercomaq","-seo")},]}})}},16556:function(f,b,a){"use strict";a.r(b),a.d(b,{"__N_SSP":function(){return n}});var g=a(85893),c=a(9669),h=a.n(c),d=a(25675),i=a.n(d),e=a(41664),j=a.n(e),k=a(728),l=a(90045),m=a(67294),n=!0;b.default=function(b){var c=b.featuredProducts,a=(0,m.useState)({}),d=a[0],e=a[1];(0,m.useEffect)(function(){var a=localStorage.getItem("leadData")?JSON.parse(localStorage.getItem("leadData")):null,b=localStorage.getItem("errorData")?JSON.parse(localStorage.getItem("errorData")):null;e({data:a,errorData:b})},[]),(0,m.useEffect)(function(){(null==d?void 0:d.data)&&(null==d?void 0:d.errorData)&&f()},[d]);var f=function(){var a="".concat("https://middleware.dercomaq.cl/","api/").concat("v7","/failed-lead");h().post(a,d,{headers:{"blog-url":"dercomaq"}}).then(function(){localStorage.removeItem("leadData"),localStorage.removeItem("errorData")}).catch(function(a){console.log("",a.message)})};return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(k.Z,{title:"Error durante cotizaci\xf3n | Dercomaq Chile",description:"Error durante cotizaci\xf3n | Dercomaq Chile",name:"Error durante cotizaci\xf3n | Dercomaq Chile"}),(0,g.jsxs)("section",{className:"flex flex-col justify-between items-center max-w-[501px] mx-auto",children:[(0,g.jsx)("div",{className:"mt-20",children:(0,g.jsx)(i(),{src:"".concat("https://dercomaq-api.s3.amazonaws.com/","mails/error-icon-4.png"),alt:"success_quotation",width:"64px",height:"64px"})}),(0,g.jsxs)("div",{className:"flex flex-col gap-2 p-4 text-center",children:[(0,g.jsx)("h1",{className:"font-semibold text-[32px]",children:"Error"}),(0,g.jsx)("h2",{className:"text-[18px] text-[#6A6A6A]",children:"Hubo un error inesperado. Por favor int\xe9ntelo nuevamente o cont\xe1ctese con nosotros."})]}),(0,g.jsx)(j(),{href:"/",children:(0,g.jsx)("a",{className:"my-4 mb-10 text-[14px] leading-[16px] sm:text-[1rem] btn-primary block w-[215px] h-[50px] cursor-pointer p-4 text-white bg-red-600 hover:bg-red-700 transition-all duration-500",children:"SEGUIR EXPLORANDO"})})]}),(0,g.jsx)("section",{className:"h-[600px] mb-20",children:(0,g.jsx)(l.default,{type:"featured",items:{featuredProducts:c},title:"Productos destacados",subtitle:"Puedes encontrar las mejores ofertas dentro de nuestra l\xednea de productos.",responsive:{superLargeDesktop:{breakpoint:{max:4e3,min:3e3},items:8},desktop:{breakpoint:{max:3e3,min:1024},items:6},tablet:{breakpoint:{max:1024,min:464},items:3},mobile:{breakpoint:{max:650,min:0},items:1}}})})]})}}},function(a){a.O(0,[2962,5675,5543,45,9774,2888,179],function(){return a(a.s=99307)}),_N_E=a.O()}])
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.