1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[359],{20746:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/testuleti_ules/_preview",function(){return l(74825)}])},74825:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>_});var n=l(37876),r=l(14232),i=l(97640),s=l(69185),a=l(8145),u=l.n(a),d=l(58736),c=l(89099),o=l(98477);let _=()=>{var e,t,l,a,_;let f=(0,r.useRef)(),h=(0,c.useRouter)(),[p,v]=(0,r.useState)(),[b,w]=(0,r.useState)(),[g,m]=(0,r.useState)();return(0,r.useEffect)(()=>{(async()=>{try{let{id:e}=h.query||{};if(e){let{menu:t,previewItem:l}=(await u().get("".concat(d.OWN_URL,"/api/preview/?id=").concat(e))).data;(0,o.unstable_batchedUpdates)(()=>{w(t),l&&v(l)})}}catch(e){console.error("Preview error:",e),m("Hiba t\xf6rt\xe9nt az elÅn\xe9zet bet\xf6lt\xe9se k\xf6zben!")}})()},[h]),(0,r.useEffect)(()=>{var e;null==(e=f.current)||e.querySelectorAll("a").forEach(e=>{e.setAttribute("target","_blank")})},[f,null==p||null==(e=p.content)?void 0:e.rendered]),b?(0,n.jsxs)(s.A,{slides:b.slides,menu:null==b?void 0:b.items,breadCrumbFallback:null==p||null==(t=p.title)?void 0:t.rendered,title:null==p||null==(l=p.title)?void 0:l.rendered,children:[!!p&&(0,n.jsx)(i.A,{id:"sitting",fluid:!0,tag:"section",children:(0,n.jsxs)(i.A,{fluid:!0,className:"section-wrapper",children:[(0,n.jsx)("h1",{className:"no-capitalize",children:null==p||null==(a=p.title)?void 0:a.rendered}),(0,n.jsx)("div",{ref:f,className:"sitting-content",dangerouslySetInnerHTML:{__html:null==p||null==(_=p.content)?void 0:_.rendered}})]})}),g&&(0,n.jsx)("div",{style:{marginLeft:"24px",marginTop:"24px",fontSize:"24px",fontWeight:"bold"},children:g})]}):null}}},e=>{e.O(0,[4765,3852,3240,3253,4321,1060,636,6593,8792],()=>e(e.s=20746)),_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.