1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9088],{3066:function(e,t,n){"use strict";var r,l=n(7294);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let o=e=>l.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,viewBox:"0 0 24 25"},e),r||(r=l.createElement("g",{fill:"",fillRule:"evenodd"},l.createElement("g",{fill:""},l.createElement("g",null,l.createElement("g",null,l.createElement("path",{d:"M10 20h4c0 1.105-.895 2-2 2s-2-.895-2-2zm8.88-5.12c-.563-.562-.88-1.325-.88-2.12V10c0-1.298-.421-2.561-1.2-3.6l-.9-1.2c-.567-.755-1.456-1.2-2.4-1.2H13V2.5c0-.276-.224-.5-.5-.5h-1c-.276 0-.5.224-.5.5V4h-.5c-.944 0-1.833.445-2.4 1.2l-.9 1.2C6.421 7.439 6 8.702 6 10v2.76c0 .795-.317 1.558-.88 2.12l-.83.83c-.185.186-.289.438-.29.7V17c0 .552.448 1 1 1h14c.552 0 1-.448 1-1v-.59c-.001-.262-.105-.514-.29-.7l-.83-.83zM5.59 5.21c.12-.155.093-.377-.06-.5l-1-.78c-.084-.07-.192-.102-.3-.09-.095.021-.177.079-.23.16-1.192 1.586-1.888 3.49-2 5.47-.01.138.041.273.14.37.092.102.223.16.36.16h1c.266-.005.484-.214.5-.48.104-1.56.656-3.056 1.59-4.31zM20 4c-.063-.09-.161-.148-.27-.16-.111-.01-.222.022-.31.09l-1 .78c-.153.123-.18.345-.06.5.952 1.248 1.521 2.745 1.64 4.31.01.264.225.475.49.48h1c.137-.002.267-.06.36-.16.095-.1.148-.232.15-.37-.117-1.98-.812-3.882-2-5.47z",transform:"translate(-164 -404) translate(149 383) translate(15 21)"})))))));t.Z=o},5495:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/hirek",function(){return n(5934)}])},4045:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(5893),l=n(2498),a=n(7345),o=n(9489),s=n(6803);let i=e=>{let{title:t,parentTitle:n,parentHref:i,grandparentTitle:c,grandparentHref:u}=e,d=(0,l.ff)("darkBlue","white");return(0,r.jsxs)(a.a,{my:["20px","30px"],children:[(0,r.jsx)(o.g,{children:(0,r.jsx)(s.A,{href:"/",children:"FÅoldal"})}),c&&u&&(0,r.jsx)(o.g,{children:(0,r.jsx)(s.A,{href:u,children:c})}),n&&i&&(0,r.jsx)(o.g,{children:(0,r.jsx)(s.A,{href:i,children:n})}),(0,r.jsx)(o.g,{isCurrentPage:!0,children:(0,r.jsx)(s.A,{_hover:{textDecor:"none"},textDecor:"none",color:d,children:t})})]})}},5836:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=n(5893),l=n(7415),a=n(3360),o=n(7943);let s=e=>{let{children:t,showHoverEffect:n=!1,showDivider:s=!0,...i}=e,{mainBg:c}=(0,o.useGlobalData)();return(0,r.jsxs)(l.xu,{_hover:{bg:n?c:void 0},...i,children:[(0,r.jsx)(l.xu,{px:"15px",py:["10px","15px"],children:t}),s&&(0,r.jsx)(a.i,{})]})}},6682:function(e,t,n){"use strict";n.d(t,{t:function(){return f}});var r,l=n(5893),a=n(4629),o=n(2022),s=n(6877),i=n(1163),c=n(1358),u=n.n(c),d=n(3385),x=n(7294);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let g=e=>x.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},e),r||(r=x.createElement("g",{fill:"none",fillRule:"evenodd"},x.createElement("g",{fill:"#A2B2C2"},x.createElement("g",null,x.createElement("g",null,x.createElement("path",{d:"M18 10c1.105 0 2 .895 2 2s-.895 2-2 2-2-.895-2-2 .895-2 2-2zm-4 2c0-1.105-.895-2-2-2s-2 .895-2 2 .895 2 2 2 2-.895 2-2zm-6 0c0-1.105-.895-2-2-2s-2 .895-2 2 .895 2 2 2 2-.895 2-2z",transform:"translate(-987 -2266) translate(687 2258) translate(300 8)"})))))));var h=n(7943);let f=e=>{let{pageCount:t}=e,n=(0,i.useRouter)(),{color:r}=(0,h.useGlobalData)(),[c,x]=(0,a.dQ)("colors",[`${r}.400`,`${r}.btnCol`]),p=(0,o.S)({base:{marginPagesDisplayed:1,pageRangeDisplayed:2},md:{marginPagesDisplayed:2,pageRangeDisplayed:3}}),f=e=>{console.log(e),n.push({query:{...n.query,p:e.selected+1}})};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u(),{pageCount:t,pageRangeDisplayed:null==p?void 0:p.pageRangeDisplayed,marginPagesDisplayed:null==p?void 0:p.marginPagesDisplayed,nextLabel:(0,l.jsx)(s.J,{as:d.Z,boxSize:"24px"}),previousLabel:(0,l.jsx)(s.J,{as:d.Z,transform:"rotateZ(180deg)",boxSize:"24px"}),breakLabel:(0,l.jsx)(s.J,{as:g,boxSize:"24px"}),pageClassName:"pageButton",pageLinkClassName:"pageLink",activeClassName:"activePage",containerClassName:"pagination",previousClassName:"previousButton",nextClassName:"nextButton",previousLinkClassName:"previousLink",nextLinkClassName:"nextLink",breakClassName:"breakButton",breakLinkClassName:"breakLink",disabledClassName:"disabledButton",onPageChange:f}),(0,l.jsx)("style",{children:` 2 .pageButton, 3 .previousButton, 4 .nextButton { 5 border: 1px solid rgba(23, 62, 103, 0.2); 6 border-radius: 5px; 7 font-weight: 500; 8 font-size: 12px; 9 box-shadow: 0 1px 2px 0 rgba(20, 50, 80, 0.12); 10 width: 40px; 11 height: 40px; 12 margin-left: 5px; 13 margin-right: 5px; 14 } 15 .breakButton { 16 font-size: 12px; 17 width: 40px; 18 height: 40px; 19 } 20 .disabledButton { 21 opacity: 0.5; 22 } 23 .disabledButton a {
24 cursor: not-allowed; 25 } 26 .pageButton:hover, 27 .nextButton:hover, 28 .previousButton:hover { 29 background-color: rgba(23, 62, 103, 0.2); 30 } 31 .pageLink, 32 .nextLink, 33 .previousLink, 34 .breakLink { 35 width: 100%; 36 height: 100%; 37 display: flex; 38 align-items: center; 39 justify-content: center; 40 } 41 .activePage, 42 .activePage:hover { 43 background-color: ${c}; 44 color: ${x}; 45 } 46 .pagination { 47 list-style-type: none; 48 display: flex; 49 } 50 51 @media screen and (max-width: 800px){ 52 .pageButton, 53 .previousButton, 54 .nextButton , .breakButton{ 55 margin-left: 2px; 56 margin-right: 2px; 57 width: 30px; 58 height: 30px; 59 } 60 `})]})}},3551:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(5893),l=n(2498),a=n(7023),o=n(4631),s=n(3360);let i=e=>{let{publishedAt:t,author:n,...i}=e,c=(0,l.ff)("grey.500","white");return(0,r.jsxs)(a.U,{fontWeight:"semibold",fontSize:"sm",color:c,...i,children:[(0,r.jsx)(o.x,{children:new Date(t).toLocaleDateString("hu",{dateStyle:"medium"})}),(0,r.jsx)(s.i,{minH:"20px",orientation:"vertical",borderColor:c}),(0,r.jsx)(o.x,{children:n})]})}},5934:function(e,t,n){"use strict";n.r(t),n.d(t,{PAGE_SIZE:function(){return G},__N_SSP:function(){return V},default:function(){return X}});var r,l,a=n(5893),o=n(3746),s=n(7144),i=n(7218),c=n(4631),u=n(7415),d=n(3478),x=n(7943),p=n(4045),g=n(5783),h=n(2849),f=n(2498),m=n(7023),v=n(6877),j=n(9740),b=n(6012),w=n(7622),C=n(1664),k=n.n(C),y=n(3066),E=n(2412),S=n(2509),B=n(3551);let R=e=>{var t,n;let{post:r,href:l,...o}=e,{mainColor:s}=(0,x.useGlobalData)(),u=(0,f.ff)({leadColor:"grey.500",titleHoverCol:s,titleHoverBg:"transparent"},{leadColor:"white",titleHoverCol:"black",titleHoverBg:"yellow.400"});return r?(0,a.jsx)(S.Z,{p:"15px",fontSize:"sm",w:"full",...o,children:(0,a.jsxs)(i.g,{align:"flex-start",children:[(0,a.jsxs)(m.U,{children:[(0,a.jsx)(v.J,{as:y.Z,boxSize:"24px",fill:s}),(0,a.jsx)(c.x,{color:s,fontWeight:"bold",children:"N\xc9PSZERŰ"})]}),(0,a.jsx)(k(),{href:`${E.ROUTES.NEWS}/${encodeURIComponent(r.slug)}`,passHref:!0,legacyBehavior:!0,children:(0,a.jsx)(j.E,{borderRadius:"md",src:(null===(t=r.coverImage)||void 0===t?void 0:null===(n=t.formats)||void 0===n?void 0:n.medium)?r.coverImage.formats.medium.url:r.coverImage?r.coverImage.url:"",alt:"N\xe9pszerű h\xedr",width:"full",height:"135px",objectFit:"cover",cursor:"pointer"})}),(0,a.jsx)(k(),{href:`${E.ROUTES.NEWS}/${encodeURIComponent(r.slug)}`,passHref:!0,legacyBehavior:!0,children:(0,a.jsx)(b.r,{_hover:{color:u.titleHoverCol,bg:u.titleHoverBg},children:(0,a.jsx)(w.X,{as:"h2",fontSize:"md",children:r.title})})}),(0,a.jsx)(c.x,{color:u.leadColor,fontSize:"sm",children:r.lead}),(0,a.jsx)(B.e,{publishedAt:r.date??r.publishedAt,author:r.author})]})}):null},z=e=>{let{news:t,popularPost:n}=e;return t&&t.length?(0,a.jsxs)(h.r,{gap:["20px"],templateColumns:["1fr","1fr","1fr","1fr 1fr"],w:"full",children:[(0,a.jsx)(x.NewsCard,{gridColumn:["auto","auto","auto","1 / span 2"],post:t[0],w:"full",isFeatured:!0,href:`${E.ROUTES.NEWS}/${encodeURIComponent(t[0].slug)}`}),(0,a.jsx)(R,{gridColumn:["auto","1/3"],display:["block","block","none"],post:n??{},href:`${E.ROUTES.NEWS}/${encodeURIComponent((null==n?void 0:n.slug)??"")}`}),t.slice(1).map((e,t)=>(0,a.jsx)(x.NewsCard,{post:e,isVertical:!0,gridColumn:["auto"],href:`${E.ROUTES.NEWS}/${encodeURIComponent(e.slug)}`},t))]}):null};var N=n(6682),D=n(2022),_=n(6024),O=n(5077),P=n(7484),L=n(1673),$=n(4657),H=n(2312),U=n(9594),A=n(1163),W=n(7294);function M(){return(M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let I=e=>W.createElement("svg",M({className:"bi bi-tag",width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=W.createElement("path",{fillRule:"evenodd",d:"M.5 2A1.5 1.5 0 012 .5h4.586a1.5 1.5 0 011.06.44l7 7a1.5 1.5 0 010 2.12l-4.585 4.586a1.5 1.5 0 01-2.122 0l-7-7A1.5 1.5 0 01.5 6.586V2zM2 1.5a.5.5 0 00-.5.5v4.586a.5.5 0 00.146.353l7 7a.5.5 0 00.708 0l4.585-4.585a.5.5 0 000-.708l-7-7a.5.5 0 00-.353-.146H2z",clipRule:"evenodd"})),l||(l=W.createElement("path",{fillRule:"evenodd",d:"M2.5 4.5a2 2 0 114 0 2 2
600 01-4 0zm2-1a1 1 0 100 2 1 1 0 000-2z",clipRule:"evenodd"})));var q=n(8998),Z=n(5836);let T=e=>{let{tags:t}=e,{color:n,mainColor:r,mainBg:l}=(0,x.useGlobalData)(),[o,s]=(0,W.useState)(!1),i=(0,W.useRef)(),d=(0,A.useRouter)(),p=d.query,{t:g=[]}=p,h=(0,f.ff)({tagBg:l,tagCol:"yellow"===n?"darkBlue":r,reduceMotion:!1},{tagBg:l,tagCol:"white",reduceMotion:!0}),m=(0,D.S)({base:!1,sm:!0});(0,W.useEffect)(()=>{console.log("defaultopen effect"),m&&s(!0)},[m]);let v=()=>{s(e=>!e)},j=e=>{let t=[];t="string"==typeof g?g===e?[]:[g,e]:g.includes(e)?g.filter(t=>t!==e):[...g,e],d.push({query:{...p,t:t}})},b=e=>{var t;e.preventDefault(),d.push({query:{...p,q:null==i?void 0:null===(t=i.current)||void 0===t?void 0:t.value}})};return(0,a.jsxs)(S.Z,{p:"0",gridColumn:"1",w:"full",children:[(0,a.jsx)(Z.R,{display:["none","block"],children:(0,a.jsx)(c.x,{fontWeight:"bold",children:"KERESÅ"})}),(0,a.jsx)(Z.R,{children:(0,a.jsx)("form",{onSubmit:b,children:(0,a.jsx)(q.w,{forwardedRef:i})})}),(0,a.jsx)(Z.R,{showDivider:!1,children:(0,a.jsx)(_.U,{allowToggle:!0,borderColor:"transparent",index:o?0:1,reduceMotion:h.reduceMotion,children:(0,a.jsxs)(O.Q,{children:[(0,a.jsxs)(P.K,{onClick:v,p:0,_hover:{bg:"transparent"},children:[(0,a.jsx)(I,{}),(0,a.jsx)(u.xu,{ml:"10px",fontWeight:"medium",flex:"1",textAlign:"left",children:"C\xedmk\xe9k"}),(0,a.jsx)(L.X,{})]}),(0,a.jsx)($.H,{px:0,children:(0,a.jsx)(H.E,{children:t&&t.map((e,t)=>(0,a.jsx)(H.U,{children:(0,a.jsx)(U.Vp,{fontSize:"sm",userSelect:"none",cursor:"pointer",bg:g.includes(e.name)?r:h.tagBg,color:g.includes(e.name)?`${n}.btnCol`:h.tagCol,borderRadius:"full",px:"15px",onClick:()=>j(e.name),children:e.name})},t))})})]})})})]})};var V=!0;let G=7,F=e=>{var t;let{query:n,page:r,newsData:l,count:s,tagsData:i,popularPost:c,commonData:u}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(g.A,{title:"H\xedrek",commonData:u,children:[(0,a.jsx)(d.t,{title:"H\xedrek",description:"Az int\xe9zm\xe9nnyel kapcsolatos legfrissebb h\xedrek, bejegyz\xe9sek \xe9s \xe9rdekess\xe9gek",imgSrc:null==c?void 0:null===(t=c.coverImage)||void 0===t?void 0:t.url}),(0,a.jsxs)(o.W,{children:[(0,a.jsx)(p.q,{title:"H\xedrek"}),(0,a.jsx)(J,{query:n,page:r,newsData:l,count:s,tagsData:i,popularPost:c})]})]})})},J=e=>{let{query:t,page:n,newsData:r,count:l,tagsData:o,popularPost:d}=e,{mainColor:p}=(0,x.useGlobalData)();return(0,a.jsxs)(s.k,{direction:["column","column","row"],children:[(0,a.jsxs)(i.g,{minW:["auto","auto","300px"],maxW:["auto","auto","300px"],spacing:[0,"20px"],mr:[0,0,"40px"],mb:["20px","20px",0],children:[(0,a.jsx)(R,{display:["none","none","block"],post:d??{}}),(0,a.jsx)(T,{tags:o})]}),(0,a.jsxs)(i.g,{spacing:["45px"],w:"full",children:[t&&(0,a.jsxs)(c.x,{mr:"auto",fontWeight:"semibold",fontSize:"20px",children:["Keres\xe9s:"," ",(0,a.jsx)(u.xu,{color:p,as:"i",children:`"${t}"`})]}),(0,a.jsx)(z,{news:r,popularPost:d}),(0,a.jsx)(N.t,{pageCount:Math.ceil(l/G)})]})]})};var X=F}},function(e){e.O(0,[1832,1941,3438,4520,9774,2888,179],function(){return e(e.s=5495)}),_N_E=e.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.