1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5500],{25500:function(e,n,t){t.r(n);var a=t(47568),i=t(10092),r=t(85893),c=t(5152),s=t.n(c),u=t(11163),l=t(67294),o=t(80812),d=t(30560),v=s()((function(){return Promise.all([t.e(8189),t.e(6303),t.e(4592)]).then(t.bind(t,54592))}),{loadableGenerated:{webpack:function(){return[54592]}}});n.default=function(e){var n,t=e.length,c=e.eRef,s=e.setTOO,f=e.delayMega,m=(0,u.useRouter)(),g=(0,l.useState)(null),h=g[0],p=g[1],b=(0,l.useState)(0),x=b[0],y=b[1],_=(0,o.PJj)({fetchPolicy:"no-cache",variables:{filter:[{fieldFilter:"type",values:[o.roI.General]}]}}),j=_.data,N=_.loading,k=((0,l.useContext)(d.A).languageState.currentLang,(null===j||void 0===j||null===(n=j.getServicePagination)||void 0===n?void 0:n.data)||[]);(0,l.useEffect)((function(){var e;p(null===(e=k[0])||void 0===e?void 0:e._id)}),[k]);var S=function(e){var n=document.querySelector(".mega-menu-service");if(n){var t=setTimeout((function(){n.style.display="none"}),f||1e3);s(t)}};return(0,r.jsx)("div",{ref:c,className:"container-mega-menu ".concat(t>5?"mega-menu-service":5===t?"mega-menu-equal":"mega-menu-less"," "),children:(0,r.jsxs)("div",{className:"container-mega-menu_wrapper",onMouseLeave:S,children:[(0,r.jsx)("div",{className:"side-bar",children:k.map((function(e,n){return(0,r.jsx)("div",{className:"service-item ".concat(x===n?"active":""),onClick:function(){var n=(0,a.Z)((function(n){return(0,i.__generator)(this,(function(n){switch(n.label){case 0:return[4,S()];case 1:return n.sent(),m.push("/services/".concat(e.slug)),[4,S()];case 2:return n.sent(),[2]}}))}));return function(e){return n.apply(this,arguments)}}(),onMouseEnter:function(){return function(e,n){p(n),y(e)}(n,e._id)},children:(0,r.jsx)("h2",{style:{marginBottom:0},className:"title",children:e.title})},n)}))}),(0,r.jsx)("div",{className:"data-content-box",children:(0,r.jsx)(v,{isLoading:N,idService:h,lengthProduct:k.length,delayMega:f,setTOO:s})})]})})}}}]);
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.