PageSourceSearch

https://bp18.hu/_next/static/chunks/579-dffe7bd865b162fe.js

js bp18.hu collected 2026-10-02 11:56:34 UTC 12,404 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[579],{8420:function(e,l){l.Z={src:"/_next/static/media/chevron-left.ceeb55b7.svg",height:24,width:24}},4962:function(e,l){l.Z={src:"/_next/static/media/chevron-right.f3b2ddaa.svg",height:24,width:24}},8600:function(e,l,t){t.d(l,{Z:function(){return v}});var n=t(5893),i=(t(7294),t(5675)),a=t.n(i),r=t(9692),s=function(e){var l=e.lead;return(0,n.jsx)("div",{className:"h-full",dangerouslySetInnerHTML:{__html:l}})},c=t(6371),o=t(1664),d=t.n(o),u=t(1810),x=t(5177),h=t(9791);function f(e,l,t){if((null===t||void 0===t?void 0:t.type)==h.lM.ACCESSIBILITYSTATEMENT&&(e.type=h.lM.ACCESSIBILITYSTATEMENT),(0,h.Wl)(e.type)&&l){var n=(0,u.B6)(e);return{urlObject:n.urlObject,asPath:n.asPath}}var i=(0,u.I7)("/article",t,e);return{urlObject:i.urlObject,asPath:i.asPath}}var v=function(e){var l=e.articleHead,t=e.isRelatedArticle,i=l.coverImage,o=l.lead,u=l.title,h=l.date,v=l.showLastChangeDate,m=(0,x.b)(),p=m.webmenus,w=m.highContrastOn,g=f(p[l.heading],t,l),j=g.urlObject,b=g.asPath;return(0,n.jsx)(d(),{href:j,as:b,shallow:!0,children:(0,n.jsx)("a",{children:(0,n.jsxs)("div",{className:"gap-[12px] xl:gap-[22px] flex flex-row h-auto xl:h-article-thumbnail pt-[40px] md:pt-[0px] md:mb-[40px] text-thumbnail 2xl:text-thumbnail-2xl",children:[!!i&&(0,n.jsx)("div",{className:"w-[50%] sm:w-full xl:w-3/8 xl:h-full block relative",children:(0,n.jsx)(a(),{loader:r.XI,src:"string"===typeof i?i:i.fileThumbUrl,alt:null===i||void 0===i?void 0:i.title,title:null===i||void 0===i?void 0:i.title,layout:"fill",objectFit:"contain",tabIndex:0})}),(0,n.jsxs)("div",{className:"w-full xl:w-5/8 xl:h-full xl:pl-10 flex flex-col justify-between",children:[(0,n.jsxs)("div",{className:"".concat(w?"text-white":"text-black"," font-montserrat"),children:[(0,n.jsx)(c.Z,{title:u}),(0,n.jsx)(s,{lead:o})]}),(0,n.jsx)("div",{className:"hidden sm:block",children:(0,n.jsxs)("div",{className:"w-full h-16 flex justify-between items-center mt-4",children:[(0,n.jsx)("div",{className:"font-montserrat font-medium w-[132px] h-full text-thumbnail-2xl invisible sm:visible",children:(0,n.jsx)("span",{className:"flex justify-center items-center h-full w-full text-white font-montserrat bg-read-me-btn-color",style:{backgroundColor:w?"white":""},children:(0,n.jsx)("div",{className:"".concat(w?"text-black bg-white":"text-white"),children:"Megtekintem"})})}),v&&(0,n.jsxs)("p",{className:"hidden xl:inline-block white-space-nowrap",children:["Friss\xedtve: ",h]})]})})]})]})})})}},9874:function(e,l,t){t.d(l,{Z:function(){return j}});var n=t(5893),i=t(7294),a=t(8014),r=t(796),s=t(3754),c=t(5177),o=function(e){var l=e.iconName,t=(0,c.b)().highContrastOn;return(0,n.jsx)("figure",{children:(0,n.jsxs)("picture",{className:" w-[35px] h-[35px] xl:w-[40px] xl:h-[40px] m-auto rounded-full",children:[(0,n.jsx)("source",{srcSet:t?"/gallery/Icon_arrow_hc_".concat(l,".svg"):"/gallery/Icon_arrow_red_".concat(l,".svg"),type:"image/svg"}),(0,n.jsx)("img",{className:"h-full w-full rounded-full",src:t?"/gallery/Icon_arrow_hc_".concat(l,".svg"):"/gallery/Icon_arrow_red_".concat(l,".svg"),alt:"Gal\xe9ria g\xf6rget\xe9se ".concat("left"===l?"balra":"jobbra")})]})})},d=function(e){var l=e.children,t=e.handleClick;return(0,n.jsx)("div",{className:"absolute z-1 w-[45px] h-[45px] xl:w-[60px] xl:h-[60px] bg-white flex cursor-pointer rounded-full top-[20vw] xl:top-[10vw] -left-page-side-padding xl:-left-[85px]",onClick:t,children:l})},u=function(e){var l=e.children,t=e.handleClick;return(0,n.jsx)("div",{className:"absolute z-1 w-[45px] h-[45px] xl:w-[60px] xl:h-[60px] bg-white flex cursor-pointer rounded-full top-[20vw] xl:top-[10vw] -right-page-side-padding xl:right-auto xl:-left-[25px]",onClick:t,children:l})},x=function(e){var l=e.handleScrollLeft,t=e.handleScrollRight;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d,{handleClick:l,children:(0,n.jsx)(o,{iconName:"left"})}),(0,n.jsx)(u,{handleClick:t,children:(0,n.jsx)(o,{iconName:"right"})})]})},h=t(4570),f=function(e){return{scrollLeft:e.scrollLeft||0,scrollWidth:e.scrollWidth||0,scrollAmount:.75*window.outerWidth}},v=t(8420),m=t(4962),p=t(5675),w=t.n(p),g=t(9692),j=function(e){var l=e.gallery,t=void 0===l?[]:l,c=function(){C+1<t.length&&(y(t[C+1]),I(C+1))},o=function(){C-1>-1&&(y(t[C-1]),I(C-1))},d=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=function(e){"ArrowRight"===e.key&&(e.preventDefault(),c()),"ArrowLeft"===e.key&&(e.preventDefault(),o())};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[c,o]);var u=(0,i.useState)(!1),p=u[0],j=u[1],b=(0,i.useState)(),N=b[0],y=b[1],k=(0,i.useState)(0),C=k[0],I=k[1],L=function(e){var l=e.onClick;return(0,n.jsx)("div",{onClick:l,className:"flex absolute w-[20vw] h-[50vh] left-0 top-[50%] -translate-y-[50%] cursor-pointer select-none",children:(0,n.jsx)(w(),{src:v.Z,alt:"el\u0151z\u0151 k\xe9p",loader:g.kM,width:60,height:60,className:"invert"})})},_=function(e){var l=e.onClick;return(0,n.jsx)("div",{onClick:l,className:"flex justify-end absolute w-[20vw] h-[50vh] right-0 top-[50%] -translate-y-[50%] cursor-pointer select-none",children:(0,n.jsx)(w(),{src:m.Z,alt:"k\xf6vetkez\u0151 k\xe9p",loader:g.kM,width:60,height:60,className:"invert right-0"})})};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"gap-3 flex h-full overflow-hidden scroll-smooth",ref:d,children:t.map((function(e,l){var i=e.fileUrl,a=e.title;return(0,n.jsx)("div",{className:"h-auto min-w-[33vw]",onClick:function(){return function(e){j(!0),y(e);var l=t.findIndex((function(l){return l.fileUrl===e.fileUrl}));I(l=-1===l?0:l)}(e)},children:(0,n.jsx)(h.Z,{url:i,title:a})},l)}))}),(0,n.jsxs)(r.Z,{isOpen:p,handleClose:function(){return j(!1)},children:[(0,n.jsx)(L,{onClick:function(){o()}}),(0,n.jsxs)("div",{className:"translate-y-10 sm:translate-y-0",children:[(0,n.jsx)("img",{className:"m-auto max-h-[60vh] w-[60vw] sm:w-[75vw] sm:max-h-[75vh] object-contain select-none",src:a.F7+(null===N||void 0===N?void 0:N.fileUrl),alt:null===N||void 0===N?void 0:N.innerDescription,title:null===N||void 0===N?void 0:N.title}),(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsxs)("div",{className:"max-w-[100vw] sm:max-w-[70vw]",children:[(0,n.jsx)("span",{className:"block text-[1.6rem] sm:text-[2.4rem] line-[30px] font-medium text-center text-white",children:null===N||void 0===N?void 0:N.title}),(0,n.jsx)("span",{className:"block mt-[8px] mb-[16px] font-medium text-[1rem] sm:text-[1.8rem] line-[26px] text-center text-white",children:null===N||void 0===N?void 0:N.innerDescription}),(0,n.jsx)("div",{className:"flex flex-wrap justify-center gap-1 mb-20",children:null===N||void 0===N?void 0:N.tags.map((function(e){var l=e.name;return(0,n.jsx)(s.V,{name:l},l)}))})]})})]}),(0,n.jsx)(_,{onClick:function(){c()}})]}),(0,n.jsx)(x,{handleScrollLeft:function(){var e=d.current;e&&function(e){var l=f(e),t=l.scrollLeft-l.scrollAmount;e.scrollLeft=t<=0?0:t}(e)},handleScrollRight:function(){var e=d.current;e&&function(e){var l=f(e),t=l.scrollLeft,n=l.scrollWidth,i=t+l.scrollAmount;e.scrollLeft=i<=n?i:n}(e)}})]})}},9579:function(e,l,t){t.r(l),t.d(l,{default:function(){return _}});var n=t(5893),i=t(5675),a=t.n(i),r=t(1664),s=t.n(r),c=t(1163),o=t(7294),d=t(8089),u=t(1944),x=t(7209),h=t(9874),f=t(8600),v=t(6685),m=t(8412),p=t(8327),w=function(e){var l=e.relatedContent;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mb-10",children:(0,n.jsx)(m.Z,{title:"Kapcsol\xf3d\xf3 tartalmak"})}),l.map((function(e){var l=e.id;return(0,n.jsx)(p.Z,{webmenu:e},l)}))]})},g=t(3754),j=t(8014),b=t(5177),N=t(9692),y=t(8100),k=function(e){return fetch(e,{method:"GET"}).then((function(e){return e.json().then((function(l){return{status:e.status,body:l}})).catch((function(l){return{status:e.status}}))}))},C=function(e,l,t){var n=(0,o.useState)(),i=n[0],a=n[1],r=(0,c.useRouter)(),s=r.asPath,d=(0,y.ZP)("".concat(j.fw,"/article?titleSlug=").concat(t?"".concat(l,"&preview=1"):e),k),u=d.data;d.error;return(0,o.useEffect)((function(){var t;u&&(200===u.status?"00000000-0000-0000-0000-000000000000"===(null===(t=u.body)||void 0===t?void 0:t.id)?r.replace({pathname:"/activity",query:{contentId:e||l}},s,{shallow:!0}):a(u.body):r.replace({pathname:"/activity",query:{contentId:e||l}},s,{shallow:!0}))}),[u,r]),i},I=t(9008),L=t.n(I),_=function(e){var l,t,i,r,p,y,k,I,_,Z,S=e.articleProp,E=(0,b.b)().highContrastOn,A=(0,c.useRouter)().query.contentId,T=C(A,(null===(l=new URLSearchParams(window.location.search))||void 0===l?void 0:l.get("title"))||"",location.search.includes("preview=1")),F=(0,o.useMemo)((function(){return S||T}),[S,T]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(L(),{children:[(null===F||void 0===F?void 0:F.coverImage)&&(0,n.jsx)("meta",{property:"og:image",content:null===F||void 0===F?void 0:F.coverImage.fileThumbUrl}),(0,n.jsx)("meta",{property:"og:title",content:null===F||void 0===F?void 0:F.title}),(0,n.jsx)("meta",{property:"og:description",content:null===F||void 0===F||null===(t=F.lead)||void 0===t?void 0:t.replace(/(<([^>]+)>)/gi,"")},"desc")]}),(0,n.jsx)("article",{className:"flex text-article w-full pt-12.5 gap-desktop font-montserrat article-list-styles text-justify",children:!!F&&(0,n.jsxs)("div",{className:"w-full xl:w-5/6 ml-0 xl:ml-1/6",children:[location.search.includes("preview=1")&&(0,n.jsx)("div",{className:"text-[24pt] text-page-title-color font-semibold",children:"!!!El\u0151n\xe9zet!!!"}),(0,n.jsx)("div",{className:"w-full xl:w-2/3 flex flex-col gap-8 py-8",children:(0,n.jsx)(u.Z,{title:F.title,createdDate:F.showLastChangeDate?F.date:void 0})}),!!F.coverImage&&!(null===F||void 0===F||null===(i=F.gallery)||void 0===i?void 0:i.length)&&(0,n.jsx)("figure",{className:"h-[215px] 2xl:h-[431px] block relative w-[300px] 2xl:w-[600px] mb-12",children:(0,n.jsx)(a(),{loader:N.XI,src:F.coverImage.fileThumbUrl,alt:F.coverImage.title,title:F.coverImage.title,layout:"fill",tabIndex:0,objectFit:"contain"})}),!!(null===F||void 0===F||null===(r=F.gallery)||void 0===r?void 0:r.length)&&(0,n.jsx)("div",{className:"relative w-full h-[50vw] xl:h-[25vw] mb-12.5 xl:mr-page-side-negative-margin",children:(0,n.jsx)(h.Z,{gallery:F.gallery})}),(0,n.jsxs)("div",{className:"w-full flex",children:[(0,n.jsxs)("div",{className:"flex flex-col w-full xl:w-4/5",children:[(0,n.jsx)("div",{className:"article-content w-full",children:(0,n.jsx)(x.QE,{content:F.lead})}),(0,n.jsx)("div",{className:"article-content w-full flex flex-col gap-8 font-montserrat font-regular",children:(0,n.jsx)(d.Z,{contentList:F.body})})]}),(0,n.jsx)("aside",{className:"hidden xl:flex xl:w-1/5 xl:flex-col gap-5 ml-12",children:!!(null===F||void 0===F||null===(p=F.relatedContent)||void 0===p?void 0:p.length)&&(0,n.jsx)(w,{relatedContent:F.relatedContent})})]}),!!(null===F||void 0===F||null===(y=F.tags)||void 0===y?void 0:y.length)&&(0,n.jsx)("div",{className:"w-full xl:w-4/5 pt-10 md:pt-20 xl
1:pt-0",children:(0,n.jsx)(g.Z,{tags:F.tags})}),!!(null===F||void 0===F||null===(k=F.appendixList)||void 0===k?void 0:k.length)&&F.appendixList.map((function(e){return(0,n.jsx)(s(),{href:"".concat(j.F7).concat(e.fileName),children:(0,n.jsxs)("a",{className:"flex items-center gap-[12px] mb-6",children:[(0,n.jsx)("p",{children:e.originalFileName}),(0,n.jsx)("div",{className:"w-[36px] h-[36px] flex items-center ".concat(E?"bg-white":"bg-[#d4002d] p-[0.5rem] px-4"),children:(0,n.jsx)("span",{className:"inline-block  ".concat(E?"h-[36px] w-[36px] bg-download-icon-hc":"h-[1.5rem] w-[1.5rem] bg-download-icon")})})]})},e.originalFileName)})),!!(null===F||void 0===F||null===(I=F.relatedArticles)||void 0===I?void 0:I.length)&&(0,n.jsxs)("div",{className:"w-full xl:w-4/5 flex flex-col border-t-2 ".concat(E?"border-white":"border-black"),children:[(0,n.jsx)("div",{className:"w-full py-12.5",children:(0,n.jsx)(m.Z,{title:"Kapcsol\xf3d\xf3"})}),null===F||void 0===F||null===(_=F.relatedArticles)||void 0===_?void 0:_.map((function(e){return(0,n.jsx)(f.Z,{articleHead:e,isRelatedArticle:!0},e.slug)}))]}),!!(null===F||void 0===F||null===(Z=F.fileList)||void 0===Z?void 0:Z.length)&&(0,n.jsx)("div",{className:"w-full pb-24",children:(0,n.jsx)(v.Z,{files:F.fileList})})]})}),(0,n.jsx)("div",{className:"w-full 2xl:px-64",children:(0,n.jsx)("getresponse-form",{"form-id":"9d564489-f164-427f-bf61-1ec0a50e221d",e:"0"})})]})}}}]);
2//# sourceMappingURL=579-dffe7bd865b162fe.js.map

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.