1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2714],{8708:e=>{e.exports={locationLinkContainer:"ArticleLocationShare_locationLinkContainer__lzCCB",locationLink:"ArticleLocationShare_locationLink___rFYH",shareButton:"ArticleLocationShare_shareButton__XBDhd",BlinkAnimation:"ArticleLocationShare_BlinkAnimation__aNyjt"}},11163:(e,t,a)=>{"use strict";a.d(t,{DyslexieFontContextProvider:()=>o,d:()=>s});var l=a(95155),i=a(86437),r=a(12115);let n=r.createContext({dyslexieFontEnabled:!1,updateDyslexieFont:()=>{}}),s=()=>{let e=(0,r.useContext)(n);if(null===e)throw Error("Missing DyslexieFontContextProvider at root");return e},o=({children:e})=>{let[t,a]=(0,r.useState)(!1),{clickEvent:s}=(0,i.s)(),o="dyslexieFontEnabled",c=(0,r.useCallback)(()=>{a(e=>{let t=!e;return s({event:"settings.modify",dyslexie_font:t?"accept":"refuse"}),t})},[s]);(0,r.useEffect)(()=>{"true"===localStorage.getItem(o)&&a(!0)},[]),(0,r.useEffect)(()=>{localStorage.setItem(o,`${t}`)},[t]),(0,r.useEffect)(()=>{let e=document.querySelector("body");e&&(t?(e.style.fontFamily="Dyslexie",e.classList.add("dyslexie-font")):(e.style.removeProperty("font-family"),e.classList.remove("dyslexie-font")))},[t]);let d=(0,r.useMemo)(()=>({dyslexieFontEnabled:t,updateDyslexieFont:c}),[t,c]);return(0,l.jsx)(n.Provider,{value:d,children:e})}},12155:(e,t,a)=>{"use strict";a.d(t,{ArticlePage:()=>tq});var l=a(95155),i=a(69285),r=a(88417),n=a(45322),s=a(12115);let o=({article:e})=>{if(!e)return null;let t=function(e){if(e?.url)return e.url.replace("$width$","1200").replace("$ratio$","")}(e.image),a=e.created?new Date(1e3*e.created).toISOString():void 0,i=e.updated?new Date(1e3*e.updated).toISOString():a,r=n.Pe?"https://www.nhnieuws.nl":"https://www.at5.nl",s=`${r}/${n.Pe?"nieuws":"artikelen"}/${e.externalId}/${e.slug}`,o={"@context":"https://schema.org","@type":"NewsArticle",headline:e.title,description:e.meta?.description||e.title,...t?{image:t}:{},datePublished:a,dateModified:i,author:e.authors?.map(e=>({"@type":"Person",name:e.name}))||[],publisher:{"@type":"Organization",name:n.Pe?"NH Nieuws":"AT5",logo:{"@type":"ImageObject",url:`${r}/${n.oO.site}/logo-nh-192.png`}},mainEntityOfPage:{"@type":"WebPage","@id":s},articleSection:e.mainCategory?.name,keywords:e.tags?.map(e=>e.name).join(", ")||""};return(0,l.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify(o)},type:"application/ld+json"})};var c=a(85348),d=a(37446),u=a(44039),m=a(15025),p=a(16775),_=a.n(p);let h=({updates:e,className:t})=>0===e.length?null:(0,l.jsx)("ul",{className:(0,m.A)(_().list,t),"aria-label":u.P.article.pinnedUpdates,children:e.map(e=>(0,l.jsxs)("li",{className:_().item,children:[(0,l.jsx)("span",{className:_().icon,"aria-hidden":"true",children:(0,l.jsx)(r.I,{name:"pin"})}),(0,l.jsxs)("span",{className:_().text,children:[(0,l.jsx)("span",{className:_().status,children:u.P.article.pinnedUpdate}),e.text]})]},e.id))});var g=a(86437),x=a(25462),v=a(75294),f=a.n(v);let b=({url:e,title:t})=>{let{clickEvent:a}=(0,g.s)(),i=e=>{a({event:"click.action",click:e,click_chapter1:"share_buttons"})};return(0,l.jsxs)("div",{className:f().container,children:[(0,l.jsx)(x.uI,{url:e,title:t,className:f().shareIcon,"aria-label":u.P.accessibility.shareFacebook,onClick:()=>i("facebook"),children:(0,l.jsx)(r.I,{name:"facebook"})}),(0,l.jsx)(x.r6,{url:e,title:t,className:f().shareIcon,"aria-label":u.P.accessibility.shareX,onClick:()=>i("twitter"),children:(0,l.jsx)(r.I,{name:"x"})}),(0,l.jsx)(x.Ot,{url:e,title:t,className:f().shareIcon,"aria-label":u.P.accessibility.shareEmail,beforeOnClick:()=>{i("email")},children:(0,l.jsx)(r.I,{name:"mail"})}),(0,l.jsx)(x.Kz,{url:e,title:t,className:f().shareIcon,"aria-label":u.P.accessibility.shareWhatsapp,onClick:()=>i("whatsapp"),children:(0,l.jsx)(r.I,{name:"whatsapp"})}),(0,l.jsx)(x.wk,{url:e,title:t,className:f().shareIcon,"aria-label":u.P.accessibility.shareLinkedin,onClick:()=>i("linkedin"),children:(0,l.jsx)(r.I,{name:"linkedin"})}),(0,l.jsx)("button",{className:f().shareIcon,type:"button",children:(0,l.jsx)("a",{className:"link",target:"_blank",rel:"noreferrer",href:`https://nextdoor.nl/sharekit?source=XYZ&body=${t}%20${e}}&hashtag=NHNIEUWS`,"aria-label":u.P.accessibility.shareNextdoor,onClick:()=>i("nextdoor"),children:(0,l.jsx)("div",{className:"nextdoor-icon",children:(0,l.jsx)(r.I,{name:"nextdoor"})})})})]})};var y=a(85238),j=a.n(y);let k=({title:e,items:t,defaultOpen:a=!1})=>
1{let[i,n]=(0,s.useState)(a?t.map((e,t)=>t):[]),o=1===t.length;return(0,l.jsxs)("div",{className:j().container,children:[!o&&e&&(0,l.jsx)("h2",{className:j().accordionTitle,children:e}),(0,l.jsx)("div",{className:j().items,children:t.map((e,t)=>{let a=i.includes(t);return(0,l.jsxs)("div",{className:j().item,children:[(0,l.jsxs)("button",{type:"button",className:`${j().itemHeader} ${a?j().open:""}`,onClick:()=>{n(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t])},children:[(0,l.jsx)("span",{children:e.title}),(0,l.jsx)("span",{className:`${j().indicator} ${a?j().indicatorOpen:""}`,children:(0,l.jsx)(r.I,{name:a?"accordeon-minus":"accordeon-plus"})})]}),(0,l.jsx)("div",{className:`${j().itemContent} ${a?j().contentOpen:""}`,children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e.content},className:j().contentInner})})]},e.title)})})]})};var w=a(50745),N=a(17044),A=a.n(N);let I=({block:e,isInLiveBlog:t})=>{let{clickEvent:a}=(0,g.s)(),{title:i,articles:r}=e;return(0,l.jsxs)("div",{className:A().articles,children:[!t&&(0,l.jsx)("h2",{className:A().title,children:i}),r.map((e,t)=>(0,l.jsx)(w.T,{article:e,type:"list",onArticleClick:()=>{a({event:"click.navigation",click:"article_click",click_chapter1:"lees_ook",article_position:t+1})}},e.externalId))]})};var C=a(72382),L=a(55189),S=a(67884),B=a(31415),E=a.n(B),T=a(76198),M=a.n(T);let P=({children:e,onClose:t})=>{let a=()=>{t()};return(0,l.jsxs)("section",{className:M().container,children:[(0,l.jsx)("button",{className:M().closeButton,type:"button","aria-label":"close",onClick:a,children:(0,l.jsx)(r.I,{name:"cross-circle",className:M().closeIcon})}),(0,l.jsx)("div",{className:M().background,role:"presentation",onClick:a}),(0,l.jsx)("div",{className:M().modal,children:e})]})},R=({onClick:e,className:t})=>{let a=(0,m.A)(t,M().openButton);return(0,l.jsx)("button",{type:"button",className:a,"aria-label":"exp
1and",onClick:e,children:(0,l.jsx)(r.I,{name:"expand"})})};var H=a(65581),$=a.n(H);function q(e){let t=e.video;return t?t&&"object"==typeof t&&"video"in t&&t.video&&"object"==typeof t.video?t.video:t.stream?.stream_url||t.streams?.some(e=>e.stream_url||e.m3u8)?{id:t.id,title:t.title,author:t.author,images:t.images??[],stream:t.stream,streams:t.streams,caption:t.caption??""}:null:null}function D(e){var t=e.stream?.stream_url||e.streams?.find(e=>e.stream_url)?.stream_url||e.streams?.find(e=>e.m3u8)?.m3u8||e.url||"";if(!t.includes("<platform>"))return t;let a="nh"===n.oO.site?"nhnieuws":"at5";return t.replace(/<platform>/g,a)}function F(e){let t=q(e);return!!t&&!!D(t)}function O(e,t){if(e.image)return t?e.image.imageHigh:e.image.imageMedia}let z=({video:e,streamUrl:t,isActive:a,showAds:i,created:r})=>{let n=(0,s.useRef)(null),[o,c]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=n.current;if(!e)return;let t=null,a=null,l=0,i=()=>c(!0),r=()=>{let n=e.querySelector("video");if(n)return void(t=n,n.addEventListener("playing",i),!n.paused&&c(!0));(l+=1)<60&&(a=window.requestAnimationFrame(r))};return r(),()=>{null!==a&&window.cancelAnimationFrame(a),t&&t.removeEventListener("playing",i)}},[t]),(0,s.useEffect)(()=>{a||c(!1)},[a]),(0,l.jsxs)("div",{ref:n,className:(0,m.A)($().videoContainer,o&&$().isPlaying),children:[(0,l.jsx)(C.A,{isHome:!1,url:t,video:e,showAds:i,created:r}),(e.title||e.author)&&(0,l.jsxs)("div",{className:(0,m.A)($().slideInfo,$().videoSlideInfo),children:[e.title&&(0,l.jsx)("h3",{children:e.title}),e.author&&(0,l.jsx)("span",{className:$().author,children:e.author})]})]})},U=(e,t)=>e.id||q(e)?.id||e.image?.id||e.image?.imageMedia||`carousel-slide-${t}`,W=({block:e,initData:t,showAds:a})=>{let{items:n}=e,o=Array.isArray(n)&&n.length>0,[c,d]=s.useState(0),[u,p]=s.useState(!1),{handleNativeFullscreen:_}=s.useContext(L.K),h=(0,s.useRef)(null),g=(0,s.useRef)(null),x=(0,s.useMemo)(()=>S.GQ?"opera":S.gm?"firefox":S.nr?"safari":S.lT?"ie":S.UP?"edge":S.H8?"chrome":(S.H8||S.GQ)&&window.CSS?"blink":null,[]);(0,s.useEffect)(()=>{E().polyfill()},[]);let v=o?n[c]:void 0,f=!!v?.video,b=e=>{g.current&&g.current.scrollTo({left:g.current.clientWidth*e,behavior:"smooth"}),h.current&&h.current.scrollTo({left:h.current.clientWidth*e,behavior:"smooth"})},y=()=>{c<=0||b(c-1)},j=()=>{o&&!(c>=n.length-1)&&b(c+1)};(0,s.useEffect)(()=>{h.current&&h.current.scrollTo({left:h.current.clientWidth*c,behavior:"auto"}),g.current&&g.current.scrollTo({left:g.current.clientWidth*c,behavior:"auto"})},[]),(0,s.useEffect)(()=>{[h.current,g.current].forEach(e=>{e&&e.querySelectorAll("video").forEach(e=>{let t=e.closest("li");if(!t)return;let a=t.getAttribute("data-slide-index");null!==a&&(Number(a)===c||e.paused||e.pause())})})},[c]);let k=e=>(0,l.jsxs)("section",{className:$().container,children:[(0,l.jsx)("div",{ref:e?g:h,className:(0,m.A)($().galleryListContainer,"firefox"===x&&$().preventOverflow),onScroll:e=>{let t,a,l;a=(t=e.currentTarget).getBoundingClientRect(),t.querySelectorAll("li[data-slide-index]").forEach(e=>{let t=e.getBoundingClientRect(),l=Math.max(0,Math.min(t.right,a.right)-Math.max(t.left,a.left));if((t.width>0?l/t.width:0)<.95){let t=e.querySelector("video");t&&!t.paused&&t.pause();let a=e.querySelector(".theo-pip-close");a&&a.click()}}),(l=Math.floor((t.scrollLeft+t.clientWidth/2)/t.clientWidth))!==c&&d(l)},children:(0,l.jsx)("ul",{className:$().galleryList,children:n.map((i,r)=>{if(!function(e,t){if(F(e)){let t;return!!(t=q(e))&&(!!D(t)||!!(t.images?.[0]?.crop||t.images?.[0]?.imageHigh||t.images?.[0]?.imageMedia))}return!!O(e,t)}(i,e))return null;let n=F(i);return(0,l.jsx)("li",{"data-slide-index":r,className:(0,m.A)(n&&$().video),children:((e,i,r)=>{let n=q(e);if(n&&F(e)){let e=D(n);if(!e||!t){let e=n.images?.[0]?.crop||n.images?.[0]?.imageHigh||n.images?.[0]?.imageMedia;return(0,l.jsx)("div",{className:$().videoContainer,children:e&&(0,l.jsx)("img",{src:e,alt:n.title||""})})}return(0,l.jsx)(z,{video:n,streamUrl:e,isActive:r===c,showAds:a,created:t.timestamp})}if(e.image){let t=O(e,i);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("img",{src:t,alt:e.image.alt_text||e.image.caption||""}
1),e.image.title&&(0,l.jsxs)("div",{className:(0,m.A)($().slideInfo),children:[(0,l.jsx)("h3",{children:e.image.title}),e.image.author&&(0,l.jsx)("span",{className:$().author,children:e.image.author})]})]})}return null})(i,e,r)},U(i,r))})})}),c>=1&&(0,l.jsx)("div",{className:(0,m.A)($().galleryControls,$().prevSlide),children:(0,l.jsx)(i.$,{circular:!0,hideArrow:!0,variant:"primary",className:(0,m.A)($().galleryControlsButton,$().left),"aria-label":"previous",onClick:y,children:(0,l.jsx)(r.I,{name:"previous"})})}),o&&c<n.length-1&&(0,l.jsx)("div",{className:(0,m.A)($().galleryControls,$().nextSlide),children:(0,l.jsx)(i.$,{circular:!0,hideArrow:!0,variant:"primary",className:(0,m.A)($().galleryControlsButton,$().right),"aria-label":"next",onClick:j,children:(0,l.jsx)(r.I,{name:"next",className:$().next})})})]}),w=e=>!o||n.length<=1?null:(0,l.jsx)("div",{className:(0,m.A)($().dots,e&&$().dotsInLightbox),role:"tablist","aria-label":"carousel navigation",children:n.map((e,t)=>(0,l.jsx)("button",{type:"button",role:"tab","aria-label":`Go to slide ${t+1}`,"aria-selected":t===c,className:(0,m.A)($().dot,t===c&&$().dotActive),onClick:()=>{t!==c&&b(t)}},`dot-${U(e,t)}`))});return o?(0,l.jsxs)(l.Fragment,{children:[u&&(0,l.jsxs)(P,{onClose:()=>{p(!1),_(!1)},children:[k(!0),w(!0)]}),(0,l.jsxs)("div",{className:$().gallery,children:[k(!1),!f&&(0,l.jsx)(R,{className:$().openButton,onClick:()=>{p(!0),_(!0)}})]}),w()]}):null};
1var V=a(58338),G=a(74742),J=a.n(G);let X=({isOpen:e,imageSrc:t,onClose:a})=>e?(0,l.jsxs)("div",{className:J().modalBackground,children:[(0,l.jsx)("div",{className:J().modalContent,children:(0,l.jsx)("img",{className:J().image,src:t,alt:"Expanded view"})}),(0,l.jsx)("button",{type:"button",className:J().closeButton,onClick:a,children:(0,l.jsx)(r.I,{name:"cross"})})]}):null;var K=a(77495);let Y=({block:e})=>{let{image:t,caption:a,ratio:i}=e,[n,o]=(0,s.useState)(!1),{handleNativeFullscreenImage:c}=s.useContext(L.K);return t?.url?(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:A().image,children:[(0,l.jsx)("div",{className:A().innerImage,children:(0,l.jsx)(K.A,{fullSize:!0,priority:!0,src:t.url,alt:t.alt_text,maxWidth:800,ratio:i})}),(0,l.jsx)("button",{type:"button",className:A().expandButton,"aria-label":"Expand image",onClick:()=>{c(t.url)||o(!0)},children:(0,l.jsx)(r.I,{name:"expand"})})]}),n&&(0,l.jsx)(X,{isOpen:n,imageSrc:t.url,onClose:()=>{o(!1)}}),(0,l.jsx)("figcaption",{className:A().description,children:a?`${a} - ${u.P.article.photoBy} ${t.author}`:`${u.P.article.photoBy} ${t.author}`})]}):null},Z=({block:e,className:t})=>{let{text:a,backgroundColor:i}=e;return(0,l.jsx)("div",{className:A().info,style:{backgroundColor:i},children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:a},className:(0,m.A)(A().content,t)})})},Q=({block:e})=>{let{text:t}=e;return(0,l.jsx)("div",{className:A().intro,children:(0,l.jsx)("strong",{dangerouslySetInnerHTML:{__html:t}})})};var ee=a(22512),et=a(74025),ea=a(39457),el=a(72549);let ei=({block:e,annotations:t,className:a,onSelect:i})=>{let[r,o]=s.useState(null),{isAllowed:c,blockedVendorId:d,consentChecked:u,handleConsentChange:p}=n.nu?{isAllowed:!0,blockedVendorId:null,consentChecked:!0,handleConsentChange:()=>{}}:(0,ea.t)("https://cdn.apple-mapkit.com");if((0,s.useEffect)(()=>{c&&(0,et.Di)().then(e=>{o(e)})},[e,c]),!u)return null;if(!c)return d?(0,l.jsx)(ee.A,{vendorId:d,onConsentChange:p}):null;if(!r)return null;let _=360/Math.pow(2,e?.zoomLevel??14),h=e?.latitude??t?.[0]?.latitude??e?.annotations?.[0]?.latitude,g=e?.longitude??t?.[0]?.longitude??e?.annotations?.[0]?.longitude,x=null!=h&&null!=g?{centerLatitude:h,centerLongitude:g,latitudeDelta:_,longitudeDelta:_/Math.cos(h*Math.PI/180)}:void 0;return(0,l.jsx)("div",{className:(0,m.A)(A().blockMap,a),children:(0,l.jsxs)(el.T5,{token:r,initialRegion:x,children:[e&&(0,l.jsx)(el.pH,{latitude:e?.latitude,longitude:e?.longitude,color:n.Pe?"#0ba3e1":"#e2212a"}),e?.annotations?.map(e=>(0,l.jsx)(el.pH,{calloutEnabled:!0,latitude:e?.latitude??0,longitude:e.longitude??0,title:e.title,subtitle:e.subtitle?.[0]??"",color:n.Pe?"#0ba3e1":"#e2212a"},e.title)),t?.map(e=>(0,l.jsx)(el.pH,{calloutEnabled:!0,latitude:e?.latitude??0,longitude:e.longitude??0,title:e.title,subtitle:e.subtitle?.[0]??"",color:n.Pe?"#0ba3e1":"#e2212a"},e.title))]})})},er=({block:e})=>{let{text:t,name:a}=e;return(0,l.jsx)("blockquote",{className:A().quote,children:(0,l.jsxs)("div",{className:A().quoteBody,children:[(0,l.jsx)("div",{className:A().quoteIcon,children:(0,l.jsx)(r.I,{className:A().icon,name:"quote"})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:A().quoteText,children:t}),a&&(0,l.jsx)("footer",{className:A().quoteAuthor,children:a})]})]})})},en=({block:e})=>{let{title:t,text:a}=e;return(0,l.jsxs)("div",{children:[e.title&&(0,l.jsx)("h2",{className:A().title,children:t}),(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:a},className:A().text})]})},es=({block:e,showAds:t,initData:a})=>{let{video:i}=e;if(!i)return null;let r=i.stream?.stream_url||i.url;return r?(0,l.jsxs)("div",{className:A().video,children:[(0,l.jsx)(C.A,{isHome:!1,url:r,video:i,showAds:t,created:a.timestamp}),(0,l.jsx)("p",{className:A().videoCaption,children:`${i.title} - ${i.author}`})]}):null};var eo=a(6475),ec=a(70910);let ed=({block:e})=>{let{answer:t,question:a,name:i}=e;return(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:A().question,children:a}),i&&(0,l.jsx)("div",{className:A().questionAuthor,children:i}),(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:t},className:A().questionAnswer})]})},eu=({block:e,articleData:t,initData:a,isInLiveBlog:i})=>{switch(e.type){case"intro":return(0,l.jsx)(Q,{block:e});case"text":return(0,l.jsx)(en,{block:e});case"image":return(0,l.jsx)(Y,{block:e});case"oembed":return(0,l.jsx)(V.J,{block:e,isInLiveBlog:i});case"articles":return(0,l.jsx)(I,{block:e,isInLiveBlog:i});case"video":return(0,l.jsx)(es,{block:e,showAds:t?.showAds,initData:a});case"info":return(0,l.jsx)(Z,{block:e});case"quote":return(0,l.jsx)(er,{block:e});case"map":return(0,l.jsx)(ei,{block:e});case"carousel":return(0,l.jsx)(W,{block:e,initData:a,showAds:t?.showAds});case"iframe":return(0,l.jsx)(ec.A,{data:e});case"question":return(0,l.jsx)(ed,{block:e});case"collapsibleItems":{let{title:t,collapsed:a,collapsibleItems:i}=e;return(0,l.jsx)(k,{title:t,items:i.map(e=>({title:e.title,content:e.text})),defaultOpen:!1===a})}default:return console.warn(`Block type ${e.type} is not added`),null}}
1,em=({block:e,isLiveblog:t,isFirstBlock:a,articleData:i,initData:r})=>{if(!eu)return null;let n=t&&"intro"!==e.type,{title:s,text:o,created:c}=e,d=e;return n&&(d={...d,title:"",text:""}),(0,l.jsxs)("div",{className:(0,m.A)(n&&A().liveblog,n&&a&&A().firstLiveblogBlock),children:[n&&(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:A().dot}),(0,l.jsx)("div",{className:A().line})]}),(0,l.jsxs)("div",{className:A().wrapper,children:[n&&(0,l.jsxs)(l.Fragment,{children:[c&&(0,l.jsx)("p",{className:A().time,children:(0,eo.th)(c)}),(0,l.jsx)("h2",{className:A().titleBlog,children:s}),(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:o||""},className:A().text})]}),(0,l.jsx)(eu,{block:d,articleData:i,initData:r,isInLiveBlog:n})]})]})};a(96808);var ep=a(27866),e_=a.n(ep);function eh(e){return e_().unix(e).toISOString().replace(".000","")}var eg=a(24366),ex=a.n(eg);function ev(e){if(!Number.isFinite(e)||e<0)return"0:00";let t=Math.floor(e/60),a=Math.floor(e%60);return`${t}:${a.toString().padStart(2,"0")}`}let ef=({currentTime:e,duration:t,onSeekToRatio:a,onKeyboardSeek:i,onScrubbingChange:r})=>{let n=(0,s.useRef)(null),[o,c]=(0,s.useState)(!1),d=t>0?e/t*100:0,m=(0,s.useCallback)(e=>{let t=n.current;if(!t)return;let l=t.getBoundingClientRect();a(Math.min(1,Math.max(0,(e-l.left)/l.width)))},[a]);return(0,s.useEffect)(()=>{r(o)},[o,r]),(0,s.useEffect)(()=>{if(!o)return;let e=e=>{m(e.clientX)},t=e=>{m(e.clientX),c(!1)};return window.addEventListener("pointermove",e),window.addEventListener("pointerup",t),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t)}},[o,m]),(0,l.jsxs)("div",{className:ex().progressWrap,children:[(0,l.jsx)("span",{className:ex().time,"aria-hidden":!0,children:ev(e)}),(0,l.jsxs)("div",{ref:n,className:ex().progressTrack,role:"slider","aria-label":u.P.accessibility.audioProgress,"aria-valuemin":0,"aria-valuemax":t,"aria-valuenow":e,tabIndex:0,onPointerDown:e=>{m(e.clientX),c(!0)},onKeyDown:e=>{if(!Number.isFinite(t))return;let a="ArrowLeft"===e.key?-5:5*("ArrowRight"===e.key);0!==a&&(e.preventDefault(),i(a))},children:[(0,l.jsx)("div",{className:ex().progressFill,style:{width:`${d}%`}}),(0,l.jsx)("div",{className:ex().progressThumb,style:{left:`${d}%`}})]}),(0,l.jsx)("span",{className:ex().time,"aria-hidden":!0,children:ev(t)})]})};var eb=a(71235);let ey=e=>`${Number.isInteger(e)?e:e.toLocaleString("nl-NL")}\xd7`,ej=({rate:e,options:t,onChange:a,disabled:i})=>{let n=(0,s.useRef)(null),[o,c]=(0,s.useState)(!1),d=(0,s.useCallback)(()=>c(!1),[]);return(0,eb.A)(n,d),(0,s.useEffect)(()=>{if(!o)return;let e=e=>{"Escape"===e.key&&(e.preventDefault(),d())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[d,o]),(0,l.jsxs)("div",{ref:n,className:ex().speedWrap,children:[o&&(0,l.jsx)("ul",{className:ex().speedMenu,role:"menu","aria-label":u.P.accessibility.playbackSpeed,children:t.map(t=>{let i=t===e;return(0,l.jsx)("li",{role:"none",children:(0,l.jsx)("button",{type:"button",role:"menuitemradio","aria-checked":i,className:(0,m.A)(ex().speedOption,i&&ex().speedOptionActive),onClick:()=>{a(t),d()},children:ey(t)})},t)})}),(0,l.jsxs)("button",{type:"button",className:(0,m.A)(ex().speedButton,o&&ex().speedButtonOpen),"aria-label":u.P.accessibility.playbackSpeed,"aria-haspopup":"menu","aria-expanded":o,disabled:i,onClick:()=>c(e=>!e),children:[(0,l.jsx)("span",{className:ex().speedValue,children:ey(e)}),(0,l.jsx)("span",{"aria-hidden":!0,className:ex().speedChevron,children:(0,l.jsx)(r.I,{name:"dropdown"})})]})]})},ek=[1,1.25,1.5,2],ew=({source:e,article:t,title:a,setVisible:i})=>{let n=(0,s.useRef)(null),o=(0,s.useRef)(!1),c=(0,s.useRef)(!1),{avEvent:d}=(0,g.s)(),[m,p]=(0,s.useState)(!1),[_,h]=(0,s.useState)(0),[x,v]=(0,s.useState)(0),[f,b]=(0,s.useState)(!1),[y,j]=(0,s.useState)(1),k=a??t.title,w=(0,s.useCallback)(()=>({av_content_id:t.externalId,av_content:k,av_content_type:"texttospeech",av_content_duration:x>0?Math.round(x):void 0,av_publication_date:eh(t.created),av_player_id:"tts-player"}),[t.created,t.externalId,k,x]),N=(0,s.useCallback)(()=>{i?.(!1)},[i]),A=(0,s.useCallback)(()=>{let e=n.current;e&&!f&&(e.play().catch(()=>b(!0)),d({event:"av.play",...w()}))},[d,w,f]),I=(0,s.useCallback)(()=>{let e=n.current;e&&!f&&(e.pause(),d({event:"av.pause",...w()}))},[d,w,f]);(0,s.useEffect)(()=>{let e=n.current;e&&e.play().catch(()=>{b(!0)})},[e]),(0,s.useEffect)(()=>{let e=n.current;e&&(e.playbackRate=y)},[y,e]),(0,s.useEffect)(()=>
1{if(!f)return;let e=window.setTimeout(()=>{N()},5e3);return()=>window.clearTimeout(e)},[f,N]);let C=(0,s.useCallback)(e=>{let t=n.current;t&&Number.isFinite(t.duration)&&(t.currentTime=e*t.duration,h(t.currentTime))},[]),L=(0,s.useCallback)(e=>{c.current=e},[]),S=(0,s.useCallback)(e=>{let t=n.current;t&&Number.isFinite(t.duration)&&(t.currentTime=Math.min(t.duration,Math.max(0,t.currentTime+e)),h(t.currentTime))},[]);return(0,l.jsxs)("div",{className:ex().root,role:"region","aria-label":u.P.settings.listenAloud,children:[(0,l.jsx)("audio",{ref:n,src:e,preload:"metadata",onTimeUpdate:()=>{let e=n.current;e&&!c.current&&h(e.currentTime)},onLoadedMetadata:()=>{let e=n.current;e&&(e.playbackRate=y,v(e.duration))},onPlaying:()=>{p(!0),o.current||(o.current=!0,d({event:"av.start",...w()}))},onPause:()=>{p(!1)},onEnded:()=>{d({event:"av.stop",...w()}),N()},onError:()=>{b(!0),p(!1)},children:(0,l.jsx)("track",{kind:"captions"})}),(0,l.jsx)("button",{type:"button",className:ex().playButton,"aria-label":m?u.P.accessibility.pauseAudio:u.P.accessibility.playAudio,disabled:f,onClick:()=>{let e=n.current;e&&!f&&(e.paused?A():I())},children:(0,l.jsx)(r.I,{name:m?"pause":"play"})}),(0,l.jsx)("div",{className:ex().content,children:f?(0,l.jsx)("p",{className:ex().error,role:"alert",children:u.P.settings.audioPlaybackError}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:ex().title,children:k}),(0,l.jsx)(ef,{currentTime:_,duration:x,onSeekToRatio:C,onKeyboardSeek:S,onScrubbingChange:L})]})}),!f&&(0,l.jsx)(ej,{rate:y,options:ek,onChange:j}),(0,l.jsx)("button",{type:"button",className:ex().closeButton,"aria-label":u.P.actions.close_dialog,onClick:N,children:(0,l.jsx)(r.I,{name:"close"})})]})};var eN=a(61716),eA=a(40933),eI=a(76160),eC=a(73321),eL=a(65596);let eS=({pageType:e="regular"})=>{let{theme:t}=s.useContext(eI.D),{isAllowed:a,consentChecked:i}=(0,ea.t)("https://jsc.native.azerion.com"),r=(0,s.useRef)(null),o=(0,eC.usePathname)(),c="dark"===t?"1752512":"1753367";return((0,s.useEffect)(()=>{if(!n.Pe||!i||!a||"regular"!==e&&"gam"!==e&&"instant-articles"!==e)return;let t=()=>{document.querySelectorAll(`[id^="mgw${c}_"]`).forEach(e=>{let t=e.style.height;t&&"auto"!==t&&e.style.setProperty("height","auto","important")})};t();let l=new MutationObserver(()=>{t()}),s=r.current||document.body;l.observe(s,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","id"]});let o=setInterval(()=>{t()},200),d=setTimeout(()=>{t()},100);return()=>{l.disconnect(),clearInterval(o),clearTimeout(d)}},[c,e,i,a,o]),n.Pe&&i&&a)?"amp"===e?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eL.default,{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),(0,l.jsx)(eL.default,{async:!0,src:"https://cdn.ampproject.org/v0.js"}),(0,l.jsx)("amp-embed",{width:"600",height:"600",layout:"responsive",type:"mgid","data-website":"1018923","data-widget":c,"data-block-on-consent":"_till_responded"})]}):"instant-articles"===e?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eL.default,{async:!0,src:"https://jsc.native.azerion.com/site/1018923.js"}),(0,l.jsx)("div",{ref:r,children:(0,l.jsx)("div",{"data-type":"_mgwidget","data-widget-id":c})}),(0,l.jsx)(eL.default,{id:`mgid-fbia-${c}`,dangerouslySetInnerHTML:{__html:`var isFBIA${c} = true;`}}),(0,l.jsx)(eL.default,{id:`mgid-load-fbia-${c}`,dangerouslySetInnerHTML:{__html:'(function(w,q){w[q]=w[q]||[];w[q].push(["_mgc.load"])})(window,"_mgq");'}})]}):"gam"===e?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eL.default,{async:!0,src:"https://jsc.native.azerion.com/site/1018923.js"}),(0,l.jsx)("div",{ref:r,children:(0,l.jsx)("div",{"data-type":"_mgwidget","data-widget-id":c})}),(0,l.jsx)(eL.default,{id:`mgid-load-gam-${c}`,dangerouslySetInnerHTML:{__html:'(function(w,q){w[q]=w[q]||[];w[q].push(["_mgc.load"])})(window,"_mgq");'}})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{ref:r,children:(0,l.jsx)("div",{"data-type":"_mgwidget","data-widget-id":c})}),(0,l.jsx)(eL.default,{id:`mgid-load-${c}`,dangerouslySetInnerHTML:{__html:'(function(w,q){w[q]=w[q]||[];w[q].push(["_mgc.load"])})(window,"_mgq");'}})]}):null},eB=({permalink:e})=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eL.default,{src:"https://widgets.outbrain.com/outbrain.js",strategy:"lazyOnload"}),(0,l.jsx)("div",{className:"OUTBRAIN","data-src":e,"data-widget-id":"AR_1"})]});var eE=a(60339),eT=a(90514),eM=a(49438),eP=a(88462);function eR(e){return e?.length?e.map(e=>
1e.name).filter(Boolean):[]}function eH(e){let t=e.authors?.map(e=>e.name).filter(Boolean);return t&&t.length>0?t.join(", "):e.author??""}let e$=e=>({title:e.title,media:e.media,video:e.video,externalId:e.externalId,appUrl:e.appUrl,label:e.label,region:e.region,slug:e.slug,containsVideo:e.containsVideo,displayType:e.displayType,url:e.url,color:e.color,type:e.type}),eq=e=>{if(!e||!/^\d+$/.test(e))return;let t=Number(e);return t>0?t:void 0},eD=e=>{let t=(e=>{switch(e.type){case"intro":return{type:"intro",text:e.text,created:!1};case"text":return{type:"text",text:e.text,title:e.title,created:e.created};case"image":return(e=>{let{image:t}=e;if(!t)return null;let a=t.crop||t.imageHigh;return a?{type:"image",created:e.created,title:e.title,text:e.text,image:{title:t.title,url:a,alt_text:t.alt_text,author:t.author},caption:t.caption,ratio:e.ratio}:null})(e);case"oembed":return{type:"oembed",content:e.html,created:e.created,text:e.text,title:e.title,url:e.url,...(e=>{let t=e?.match(/<iframe\b[^>]*>/i)?.[0];if(!t)return{};let a=eq(t.match(/\bwidth="(\d+)"/i)?.[1]),l=eq(t.match(/\bheight="(\d+)"/i)?.[1]);return a&&l?{width:a,height:l}:{}})(e.html)};case"video":return{type:"video",title:e.title,text:e.text,created:e.created,video:e.video,videos:e.videos,images:e.images,id:e.id};case"article":return{type:"articles",created:e.created,title:e.title,text:""!==e.text?e.text:void 0,articles:e.articles?e.articles.map(e$):[]};case"info":return{type:"info",title:e.title,text:e.text,backgroundColor:e.color,created:e.created};case"quote":return{type:"quote",title:e.title,text:e.text,created:e.created,name:e.name};case"headerSpecial":return{type:"headerSpecial",created:e.created,image:e.image};case"headerRichA":return{type:"headerRichA",created:e.created,image:e.image};case"headerRichB":return{type:"headerRichB",created:e.created,image:e.image};case"headerVideo":return{type:"headerVideo",video:e.video,videos:e.videos};case"headerAnimated":return{type:"headerAnimated",video:e.video,gif:e.gif};case"map":return{type:"map",latitude:e.latitude,longitude:e.longitude,zoomLevel:e.zoomLevel,annotations:e.annotations,text:e.text,title:e.title};case"carousel":return{type:"carousel",created:e.created,items:e.items,text:e.text,title:e.title};case"authors":case"headerNews":default:return null;case"iframe":case"question":case"collapsibleItems":return e}})(e);return t?!0!==e.is_pinned?t:{...t,isPinned:!0,pinnedAt:"number"==typeof e.pinned_at?e.pinned_at:void 0}:null},eF=new Set(["N'kop & Texel","W-Friesland","Znstr-W'terland"]);async function eO(e,t){let a="";t&&"nl"!==t&&(a=`/${t}`);let l=await (0,et.QJ)(`/api/article/${e}${a}`,{cache:"no-store"});if(l.article){var i,r;let e;return i=l.article,r=l.meta,e=(0,eP._u)(i.blocks?i.blocks.map(eD):[]),{meta:r,...i,ttsUrl:i.ttsUrl??i.voice_url,categoryNames:(i.categoryNames??[]).filter(e=>!eF.has(e)),tags:function(e){if(!e||!Array.isArray(e))return null;let t=e.map(e=>{if(e&&"object"==typeof e){let t=e.attributes?.name??e.name;if(t&&"string"==typeof t)return{type:"tag",id:String(e.id??""),name:t}}return"string"==typeof e&&e?{type:"tag",id:"",name:e}:null}).filter(e=>null!==e);return t.length>0?t:null}(i.tags),isLiveBlog:"liveblog"===i.displayType,hasSimplified:i.hasSimplified??!1,blocks:e,isNos:"nos"===i.sourceType}}return null}var ez=a(70753);let eU=e=>({...(0,ez.fs)(e),text:e.text}),eW=async(e={})=>{let{excludeIds:t=[],limit:a=10}=e;try{let e=await (0,et.QJ)("/api/page/v2/mostviewed",{next:{revalidate:300}}),l=[];if(e&&e.articles)for(let i=0;i<e.articles.length;i+=1){let r=e.articles[i];if(!t.includes(r.externalId.toString())&&(r.author&&("redactie"===r.author.toLowerCase()||"at5/nh amsterdam"===r.author.toLowerCase())||l.push(r),l.length>=a))break}return{articles:l.map(eU)}}catch(e){return console.error("Failed to fetch popular articles:",e),{articles:[]}}};var eV=a(12298);let eG=`${n.oO.site}_read_articles`,eJ=[],eX=eJ,eK="";function eY(){let e=function(){try{let e=sessionStorage.getItem(eG);if(!e)return eJ;let{ids:t,timestamp:a}=JSON.parse(e),l=Date.now();if(a&&l-a<144e5)return t??eJ;sessionStorage.removeItem(eG)}catch(e){console.error("Failed to read session storage:",e)}return eJ}(),t=JSON.stringify(e);return t===eK?eX:(eK=t,eX=e)}function eZ(){return eJ}let eQ=new Set;function e0(e){return eQ.add(e),()=>eQ.delete(e)}var e1=a(8700);let e5=(e,t=150,a,l=!1)=>
1{if(!e)return"";let i=e.replace(/<[^>]*>/g,"").trim();if(!i)return"";let r=l&&a?a:t;return i.length>r?`${i.substring(0,r)}...`:i};var e2=a(98500),e3=a.n(e2),e4=a(74143),e7=a.n(e4);let e8=({currentArticleId:e})=>{let t,a,i,{clickEvent:r,genericEvent:o}=(0,g.s)(),{isMobile:c}=(0,eI.w)(),{readArticleIds:d,addReadArticle:m}=(t=(0,s.useSyncExternalStore)(e0,eY,eZ),a=(0,s.useCallback)(e=>{try{let t=eY(),a=t.includes(e)?t:[...t,e];sessionStorage.setItem(eG,JSON.stringify({ids:a,timestamp:Date.now()})),eQ.forEach(e=>e())}catch(e){console.error("Failed to write to session storage:",e)}},[]),i=(0,s.useCallback)(()=>t,[t]),{readArticleIds:t,addReadArticle:a,getReadArticleIds:i}),{popularArticlesEnabled:p}=(0,eV.J)(),[_,h]=(0,s.useState)([]),[x,v]=(0,s.useState)(!0),[f,b]=(0,s.useState)(!1),[y,j]=(0,s.useState)(!1);if((0,s.useEffect)(()=>{if(!p)return;let t=setTimeout(async()=>{try{v(!0),b(!1);let t=[...d,e],a=new Promise((e,t)=>{setTimeout(()=>t(Error("API timeout")),3e3)}),l=await Promise.race([eW({excludeIds:t,limit:10,timeframe:"24h"}),a]);if(l.articles&&l.articles.length>0){let e=l.articles.slice(0,2),t=await Promise.all(e.map(async e=>{try{let t=await eO(e.externalId),a=t?.blocks.find(e=>"intro"===e.type),l=a&&"text"in a?a.text:"";return{...e,introText:l}}catch(t){return console.error(`Failed to fetch article ${e.externalId}:`,t),{...e,introText:""}}}));h(t)}else h([])}catch(e){e instanceof Error&&"API timeout"===e.message?console.warn("Popular articles: API timeout after 3 seconds"):console.error("Failed to load popular articles:",e),b(!0),h([])}finally{v(!1)}},100);return()=>clearTimeout(t)},[e,p]),(0,s.useEffect)(()=>{e&&m(e)},[e,m]),(0,s.useEffect)(()=>{!p||x||f||0===_.length||y||(o("block.impression",{block_type:"popular_articles",block_position:"article_mid",articles_count:_.length,article_ids:_.map(e=>e.externalId)}),j(!0))},[_,x,f,p,y,o]),!p||x||f||0===_.length)return null;let k=n.Pe?"nieuws":"artikelen";return(0,l.jsxs)("section",{className:e7().container,children:[(0,l.jsx)("h3",{className:e7().header,children:u.P.popular_articles.title}),(0,l.jsx)("div",{className:e7().articles,children:_.map((e,t)=>{let a=`/${k}/${e.externalId}/${e.slug}`,i=e5(e.introText||"",125,50,c),n=e.video||e.containsVideo,s=e.media?.[0]?.image,d=(0,e1.n)(s);return(0,l.jsx)(e3(),{href:a,className:e7().articleLink,prefetch:!1,onClick:()=>{m(e.externalId),r({event:"click.navigation",click:"article_click",click_chapter1:"popular_articles",article_position:t+1}),o("block.click",{block_type:"popular_articles",click_type:"article",article_id:e.externalId,article_position:t+1,article_title:e.title})},children:(0,l.jsxs)("article",{className:e7().article,children:[(0,l.jsxs)("div",{className:e7().thumbnail,children:["liveblog"===e.type&&(0,l.jsx)(eM.b,{type:"list"}),e.media&&e.media[0]&&e.media[0].image?d?(0,l.jsx)("img",{src:(0,e1.J)(e.media[0].image),alt:e.title,className:e7().gifImage,decoding:"async",fetchPriority:"low",loading:"lazy"}):(0,l.jsx)(K.A,{src:e.media[0].image,alt:e.title,maxWidth:400,ratio:"16:9"}):(0,l.jsx)("div",{className:e7().placeholder}),n&&!d&&(0,l.jsx)(eE.u,{size:"small",className:e7().videoIcon}),e.label&&(0,l.jsx)("div",{className:e7().labelWrapper,children:(0,l.jsx)(eT.J,{label:e.label,color:e.color,className:e7().label})})]}),(0,l.jsxs)("div",{className:e7().content,children:[(0,l.jsx)("h3",{className:e7().title,children:e.title}),i&&(0,l.jsx)("p",{className:e7().preview,children:i})]})]})},e.externalId)})})]})};var e6=a(12104);let e9=()=>
1{let e=(0,s.useRef)(null),[t,a]=(0,s.useState)(!1),[i,r]=(0,s.useState)(!1),{theme:o}=s.useContext(eI.D);return((0,s.useEffect)(()=>{if(n.nu)a(!0);else{let e=(0,e6.p2)();a((e?.enabledVendorIds||[]).includes("lumiq-strossle"))}},[]),(0,s.useEffect)(()=>{if(!e.current||!t)return;let a=n.Pe?"widget-5625fb7ec483d":"widget-5a1bca0f11013";"dark"===o&&(a=n.Pe?"8acf9f0c-111c-4486-874d-809a8db017c3":"158e5e85-cf84-4dc0-b419-9da2c286ba67"),e.current.setAttribute("data-spklw-url",location.href),e.current.setAttribute("data-spklw-widget",a),r(!0)},[e,o,t]),t)?(0,l.jsxs)(l.Fragment,{children:[i&&(0,l.jsx)(eL.default,{src:"https://widgets.sprinklecontent.com/v2/sprinkle.js",strategy:"lazyOnload"}),(0,l.jsx)("div",{"data-spklw-automatic-initialization":!0,className:"container",children:(0,l.jsx)("div",{ref:e})})]}):null};var te=a(28283),tt=a(8708),ta=a.n(tt);let tl=({article:e,initData:t})=>{let{displayLocationInArticle:a}=(0,eV.J)(),{title:i}=e,o=(0,te.Q7)(e),c=n.Pe&&null!==o&&(0,te.a5)(o.slug,t.regionSlugs),d=(0,s.useCallback)(async()=>{if(void 0===navigator.share)return void await navigator.clipboard.writeText(window.location.href);try{await navigator.share({title:i,url:window.location.href})}catch{}},[i]);if(!a||!c||!o)return null;let{label:u,slug:m}=o;return(0,l.jsxs)("div",{className:ta().locationLinkContainer,children:[(0,l.jsx)(e3(),{href:`https://www.nhnieuws.nl/${m}`,className:ta().locationLink,prefetch:!1,children:u}),(0,l.jsx)("button",{type:"button",className:ta().shareButton,"aria-label":"Deel",onClick:d,children:(0,l.jsx)(r.I,{name:"share"})})]})};var ti=a(93847),tr=a(83686),tn=a(25923),ts=a(67939),to=a(11163),tc=a(49413),td=a(65103),tu=a(4625),tm=a(99576),tp=a.n(tm);let t_=e=>Array.from(e.querySelectorAll('button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], [tabindex]:not([tabindex="-1"])')).filter(e=>!e.hasAttribute("aria-hidden")&&(null!==e.offsetParent||"fixed"===getComputedStyle(e).position)),th=e=>e instanceof HTMLInputElement||e instanceof HTMLButtonElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement,tg=({hasSimplified:e,color:t,ttsUrl:a,onListen:i})=>{let o,c=(0,s.useRef)(null),d=(0,s.useRef)(null),p=(0,s.useRef)(null),{isMobile:_}=(0,eI.w)(),[h,x]=(0,s.useState)(!1),v=(0,s.useId)(),f=(0,s.useId)(),b=(0,s.useId)(),y=(0,s.useId)(),j=(0,s.useId)(),{currentLanguage:k,availableLanguages:w}=s.useContext(td.sM),{changeLanguage:N}=s.useContext(td.kX),{updateFontSize:A}=s.useContext(tc.y),{fontSize:I}=s.useContext(tc.s),{dyslexieFontEnabled:C,updateDyslexieFont:L}=(0,to.d)(),{userSettings:S}=(0,eV.J)(),{dyslexiaFont:B}=S,{genericEvent:E,clickEvent:T}=(0,g.s)(),M=(0,s.useCallback)(()=>{x(e=>(e&&d.current?.focus({preventScroll:!0}),!1))},[]);(0,eb.A)(c,M),(0,s.useEffect)(()=>{if(!h)return;let e=e=>{"Escape"===e.key&&(e.preventDefault(),M())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[M,h]),(0,s.useEffect)(()=>{if(!h)return;let e=requestAnimationFrame(()=>{let e=p.current;if(!e)return;let t=t_(e),a=t.find(e=>th(e)&&e instanceof HTMLInputElement&&"range"===e.type)??t.find(e=>th(e)&&e instanceof HTMLInputElement&&("checkbox"===e.type||"switch"===e.getAttribute("role")))??t.find(e=>th(e)&&e instanceof HTMLInputElement&&"radio"===e.type)??t[0];a?a.focus():e.focus()});return()=>{cancelAnimationFrame(e)}},[h]),(0,s.useEffect)(()=>{if(!h||!_||!c.current)return;let e=e=>{if("Tab"!==e.key||!c.current)return;let t=t_(c.current);if(0===t.length)return;let a=t[0],l=t[t.length-1],i=document.activeElement;e.shiftKey&&i===a?(e.preventDefault(),l.focus()):e.shiftKey||i!==l||(e.preventDefault(),a.focus())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[_,h]);let P="simplified"===k.locale,R=w.filter(e=>"simplified"!==e.locale),H=R.length>0,$=!n.nu;return(0,l.jsxs)("div",{ref:c,className:tp().root,children:[(0,l.jsxs)("button",{ref:d,type:"button",className:(0,m.A)(tp().trigger,h&&tp().triggerOpen),"aria-expanded":h,"aria-haspopup":"dialog","aria-controls":h?f:void 0,onClick:()=>{h?M():x(!0)}
1,children:[(0,l.jsx)("span",{"aria-hidden":!0,className:tp().triggerIcon,style:t?{backgroundColor:t}:void 0,children:(0,l.jsx)(r.I,{name:"accessibility"})}),(0,l.jsx)("span",{className:tp().triggerLabel,children:u.P.settings.readingHelp})]}),h&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{type:"button",className:tp().backdrop,"aria-label":u.P.actions.close_dialog,onClick:M}),(0,l.jsxs)("div",{ref:p,id:f,className:tp().panel,role:"dialog","aria-modal":_,"aria-labelledby":v,tabIndex:-1,children:[(0,l.jsxs)("div",{className:tp().panelHeader,children:[(0,l.jsx)("h2",{id:v,className:tp().panelTitle,children:u.P.settings.readingHelp}),(0,l.jsx)("button",{type:"button",className:tp().closeButton,"aria-label":u.P.actions.close_dialog,onClick:M,children:(0,l.jsx)("span",{"aria-hidden":!0,children:(0,l.jsx)(r.I,{name:"close"})})})]}),(0,l.jsxs)("div",{className:tp().menuRows,children:[$&&(0,l.jsxs)("button",{type:"button",className:(0,m.A)(tp().listenButton,!a&&tp().listenButtonDisabled),disabled:!a,"aria-disabled":!a,onClick:()=>{a&&(i?.(),M())},children:[(0,l.jsx)("span",{"aria-hidden":!0,children:(0,l.jsx)(r.I,{name:"podcast"})}),(0,l.jsx)("span",{children:u.P.settings.listenAloud})]}),e&&(0,l.jsx)("div",{className:tp().simpleTextToggleWrap,children:(0,l.jsx)(tu.l,{active:P,handleSelect:e=>N(e?{locale:"simplified",friendlyName:"Simpele tekst"}:{locale:"nl",friendlyName:"Nederlands"}),label:(0,l.jsx)("span",{className:tp().simpleTextLabel,children:u.P.settings.simpleText})})}),B&&(0,l.jsx)("div",{className:tp().simpleTextToggleWrap,children:(0,l.jsx)(tu.l,{active:C,handleSelect:()=>{L()},label:(0,l.jsx)("span",{className:tp().simpleTextLabel,children:u.P.settings.dyslexiaFont})})}),(0,l.jsxs)("div",{className:tp().fontSection,children:[(0,l.jsx)("p",{id:y,className:tp().languageHeading,children:u.P.settings.fontSize}),(0,l.jsxs)("div",{className:tp().fontBlock,children:[(0,l.jsx)("div",{"aria-hidden":!0,className:tp().fontLabelSmall,children:"A"}),(0,l.jsx)("div",{className:tp().fontRangeWrap,children:(0,l.jsx)("input",{id:b,className:tp().fontRange,type:"range",min:0,max:40,step:10,value:I.value,"aria-labelledby":y,"aria-valuetext":(o=I.size,`${Math.round(100*o)}%`),onChange:e=>{E("settings.modify",{domain:n.Pe?"nhnieuws.nl":"at5.nl",platform:"web",font_size:e.target.value}),A(e.target.value)}})}),(0,l.jsx)("div",{"aria-hidden":!0,className:tp().fontLabelLarge,children:"A"})]})]}),H&&(0,l.jsxs)("div",{className:tp().languageBlock,role:"radiogroup","aria-labelledby":j,"aria-disabled":P||void 0,children:[(0,l.jsx)("p",{id:j,className:tp().languageHeading,children:u.P.settings.language}),(0,l.jsx)("div",{className:tp().languageList,children:R.map(e=>{let t=`reading-help-lang-${e.locale}`,a=e.locale===k.locale;return(0,l.jsxs)("label",{htmlFor:t,lang:e.locale,className:(0,m.A)(tp().languageItem,tp().languageItemInner),children:[(0,l.jsx)("input",{id:t,className:tp().languageRadioInput,checked:a,type:"radio",name:"reading-help-lang",value:e.locale,disabled:P,onChange:()=>{N(e),T({event:"settings.modify",click:e.friendlyName,click_chapter1:"language"})}}),(0,l.jsx)("span",{"aria-hidden":!0,className:(0,m.A)(tp().languageRadio,a&&tp().languageRadioActive)}),e.friendlyName]},e.locale)})})]})]})]})]})]})};var tx=a(38309);let tv=({block:e,isApp:t=!1,ttsUrl:a,onListen:i})=>{let n=e.blocks[0]?.type==="headerAnimated"?e.blocks[0]:null,o=(0,s.useRef)(null),c=(0,s.useRef)(null),[d,p]=(0,s.use
1State)(!0),[_,h]=(0,s.useState)(!1),g=(0,s.useId)(),{created:x,updated:v,title:f}=e,b=eH(e),y=(0,eo.yW)(x),j=v-x>600?`\xb7 ${u.P.article.changed} ${(0,eo.yW)(v)} `:"",k="";b&&(k+=` \xb7 ${u.P.article.authorBy} ${b}`);let w=`${y} ${j}${k}`,N=n?.video,I=n?.gif,C=!!I?.url,L=N?.stream?.stream_url,S=N?.images?.[0],B=S?.crop||S?.imageHigh||void 0,E=(C?I?.title:S?.alt_text)||f;(0,s.useEffect)(()=>{if(C)return;let e=o.current;if(!e||!L)return;let t=()=>p(e.paused),a=()=>{window.matchMedia("(prefers-reduced-motion: reduce)").matches?t():e.play().catch(()=>{p(!0)})};if(tx.Ay.isSupported()){let t=new tx.Ay({enableWorker:!0,startLevel:-1});c.current=t,t.loadSource(L),t.attachMedia(e),t.on(tx.Ay.Events.MANIFEST_PARSED,a)}else e.canPlayType("application/vnd.apple.mpegurl")&&(e.src=L,e.addEventListener("loadedmetadata",a,{once:!0}));let l=()=>h(!0);return e.addEventListener("canplay",l),e.addEventListener("play",t),e.addEventListener("pause",t),queueMicrotask(()=>{e.readyState>=3&&h(!0),t()}),()=>{e.removeEventListener("canplay",l),e.removeEventListener("play",t),e.removeEventListener("pause",t),e.removeEventListener("loadedmetadata",a),c.current&&(c.current.destroy(),c.current=null)}},[L,C]);let T=(0,s.useCallback)(()=>{let e=o.current;e&&(e.paused?e.play().catch(()=>{p(!0)}):e.pause())},[]);return n?(0,l.jsxs)("header",{className:A().videoLoopHeader,children:[(0,l.jsxs)("div",{className:A().videoLoopContainer,children:[C&&I?(0,l.jsx)("img",{src:I.url,alt:E,className:A().videoLoopMedia,decoding:"async",fetchPriority:"high"}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("video",{ref:o,loop:!0,muted:!0,playsInline:!0,id:g,className:(0,m.A)(A().videoLoopMedia,!_&&A().videoLoopLoading),poster:B,"aria-label":E,preload:"metadata"}),(0,l.jsx)("button",{type:"button",className:A().videoLoopToggle,"aria-label":d?"Video afspelen":"Video pauzeren","aria-controls":g,onClick:T,children:(0,l.jsx)(r.I,{name:d?"play":"pause"})})]}),(0,l.jsx)("div",{className:A().videoLoopOverlay})]}),(0,l.jsx)("div",{className:A().videoLoopContent,children:(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:A().labels,children:[e.label&&(0,l.jsx)(eT.J,{size:"medium",label:e.label,color:e.color}),(0,l.jsx)("div",{className:A().settings,children:!t&&(0,l.jsx)(tg,{hasSimplified:e.hasSimplified,color:e.color,ttsUrl:a,onListen:i})})]}),(0,l.jsxs)("section",{children:[(0,l.jsx)("h1",{className:A().videoLoopTitle,children:f}),(0,l.jsx)("p",{className:A().videoLoopMeta,children:w})]})]})})]}):null};var tf=a(86979),tb=a(80348);let ty=({block:e,label:t,color:a,isApp:i=!1,initData:r,ttsUrl:n,onListen:s})=>{let{created:o,updated:c,media:d}=e,m=eH(e),{isMobile:p}=(0,eI.w)(),_=e.blocks[0];if(!_||void 0===_||"headerSpecial"!==_.type&&"headerRichA"!==_.type&&"headerRichB"!==_.type)return null;let h=_.image,g=(0,eo.yW)(o),x=c-o>600?`\xb7 ${u.P.article.changed} ${(0,eo.yW)(c)}`:"",v=`${g} ${x}`,f=`${u.P.article.authorBy} ${m} \xb7 ${u.P.article.photoBy} ${h?.author||""}`,b=d?.[0]?.image,y="string"==typeof b?b:b?.url,j=h?.crop||y,k=null;return j&&"string"==typeof j&&(k=(0,tb.D)(p?1e3:2e3,p?"4:3":"3:1",j)),(0,l.jsxs)("header",{className:A().specialHeader,children:[(0,l.jsxs)("div",{className:A().specialImage,children:[(0,l.jsx)(tf.A,{alt:h?.alt_text??"",images:k}),(0,l.jsx)("div",{className:A().specialOverlay})]}),(0,l.jsx)("div",{className:A().specialContent,children:(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:A().labels,children:t&&(0,l.jsx)(eT.J,{size:"medium",label:t,color:a})}),(0,l.jsxs)("section",{className:A().specialTitle,children:[(0,l.jsx)("h1",{className:A().articleTitle,children:h?.title==="headerSpecial"?h.title:e.title}),("headerRichA"===_.type||"headerRichB"===_.type)&&(0,l.jsxs)("p",{className:A().meta,children:[v,(0,l.jsx)("br",{}),f]}),(0,l.jsx)(tl,{article:e,initData:r})]})]})}),!i&&(0,l.jsx)("div",{className:A().settings,children:(0,l.jsx)(tg,{hasSimplified:e.hasSimplified,color:a,ttsUrl:n,onListen:s})})]})};var tj=a(47630),tk=a(5772);function tw(e,t){return e&&(e.url||e.stream?.stream_url||e.streams?.[0]?.m3u8)||t}let tN=({block:e,initData:t})=>{let a=e.blocks[0]?.type==="headerVideo"?e.blocks[0]:null,i=(0,s.useRef)(null),[n,o]=(0,s.use
1State)(()=>{let e;return a?(e=[a.video,...a.videos??[]]).find(e=>!!tw(e))??e.find(Boolean):void 0}),c=(0,s.useMemo)(()=>{let t=e.media?.find(e=>"video"===e.type);if(t)return t.url||t.externalId},[e.media]);if(!a)return null;let{video:d,videos:u}=a,m=tw(n,c),p=n??(m?{id:d?.id??"",title:d?.title??e.title}:void 0);return(0,l.jsxs)("header",{className:A().videoHeader,children:[(0,l.jsx)("div",{ref:i,className:A().video,children:m&&p&&(0,l.jsx)(C.A,{enablePiPMode:!0,isHome:!1,video:p,url:m,autoplay:!0===e.isLiveBlog,showAds:!0!==e.isLiveBlog,created:t.timestamp},p.url||p.id||m)}),u&&u.length>1&&(0,l.jsx)("div",{className:A().videosContainer,children:(0,l.jsxs)("div",{className:A().relatedVideos,children:[(0,l.jsx)("p",{className:A().subtitle,children:"Gerelateerde videos"}),(0,l.jsx)("div",{className:A().videos,children:u.map((e,t)=>(0,l.jsxs)("button",{type:"button",className:A().videoButton,"aria-label":"video",onClick:()=>{tw(e)?o(e):console.error("Invalid video object structure:",e)},children:[e.images&&e.images[0]?.crop&&(0,l.jsx)(tk.default,{priority:!0,src:e.images[0]?.crop,alt:e.images[0]?.alt_text,width:1e3,height:1e3,className:A().image,loader:tj.m}),(0,l.jsx)("div",{className:A().icon,children:(0,l.jsx)(r.I,{name:"play"})})]},e.id||t))})]})})]})};var tA=a(32449),tI=a.n(tA);let tC=({article:e,initData:t,onListen:a})=>{let{updated:i,created:r,title:s,isNos:o,image:c,displayType:d,blocks:p}=e,_=eH(e),{isMobile:h}=(0,eI.w)(),g=i-r>600?`\xb7 ${u.P.article.changed} ${(0,eo.yW)(i)} `:"",x=(0,eo.yW)(r),v="";_&&(v+=` \xb7 ${u.P.article.authorBy} ${_}`);let f="",b="";p[0]?.type==="image"&&p[0].image?(v+=` \xb7 ${u.P.article.photoBy} ${p[0].image.author}`,b=p[0].image.url??"",f=p[0].image.title||""):c?.url&&(b=c.url,f=c.title);let y=`${x} ${g||""}${v}`,j=(0,eC.usePathname)().includes("/app/"),k=p[0]?.type==="headerAnimated"?p[0]:null,w=!!(k&&(k.gif?.url||k.video?.stream?.stream_url));return(0,l.jsxs)(l.Fragment,{children:[("special"===d&&(p[0]?.type==="headerRichA"||p[0]?.type==="headerRichB"||p[0]?.type==="headerSpecial")||"liveblog"===d&&(p[0]?.type==="headerRichA"||p[0]?.type==="headerRichB")||"news"===d&&(p[0]?.type==="headerRichA"||p[0]?.type==="headerRichB"||p[0]?.type==="headerSpecial"))&&(0,l.jsx)(tn.t,{name:"HeaderSpecial",children:(0,l.jsx)(ty,{block:e,label:e.label,color:e.color,isApp:j,initData:t,ttsUrl:e.ttsUrl,onListen:a})}),p[0]?.type==="headerVideo"&&(0,l.jsx)(tn.t,{name:"HeaderVideo",children:(0,l.jsx)(tN,{block:e,initData:t})}),w&&k&&(0,l.jsx)(tn.t,{name:"HeaderAnimated",children:(0,l.jsx)(tv,{block:e,isApp:j,ttsUrl:e.ttsUrl,onListen:a})}),("news"===d||"liveblog"===d||"dailyUpdate"===d)&&(p[0]?.type!=="headerAnimated"||!w)&&(0,l.jsxs)("header",{className:(0,m.A)(o&&tI().nosHeader,"liveblog"===d&&tI().liveblogHeader,(("news"===d||"liveblog"===d)&&p[0]?.type!=="headerRichA"&&p[0]?.type!=="headerRichB"&&p[0]?.type!=="headerSpecial"&&!o||!o&&"dailyUpdate"===d)&&tI().header),children:[o&&b&&(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:tI().image,children:(0,l.jsx)(K.A,{priority:!0,src:b,alt:f,maxWidth:h?1e3:2e3,ratio:h?"1:1":"3:1"})}),(0,l.jsxs)("div",{className:tI().headerContent,children:[(0,l.jsx)(ts.k,{type:"nos"}),(0,l.jsx)("h1",{className:tI().title,children:s}),(0,l.jsx)("p",{className:tI().meta,children:y}),(0,l.jsx)(tl,{article:e,initData:t})]})]}),!o&&("news"===d||"dailyUpdate"===d||"liveblog"===d)&&p[0]?.type!=="headerRichA"&&p[0]?.type!=="headerRichB"&&p[0]?.type!=="headerSpecial"&&(0,l.jsxs)("div",{children:[(n.nu||n.Pe)&&ti.UU[3]&&(0,l.jsx)("div",{className:tI().adContainer,children:(0,l.jsx)("div",{className:n.nu?tI().adWrapper:"",children:(0,l.jsx)(tr.A,{type:"tile",ad:ti.UU[3]})})}),(0,l.jsx)("div",{className:tI().labels,children:(0,l.jsx)(eT.J,{color:e.color,size:"medium",label:e.label})}),(0,l.jsxs)("section",{children:[(0,l.jsx)("h1",{className:tI().title,children:s}),(0,l.jsx)("p",{className:tI().meta,children:y}),(0,l.jsx)(tl,{article:e,initData:t})]}),!j&&(0,l.jsx)("div",{className:tI().settings,children:(0,l.jsx)(tg,{hasSimplified:e.hasSimplified,color:e.color,ttsUrl:e.ttsUrl,onListen:a})})]})]})]})},tL={" ":" ","&":"&","<":"<",">":">",""":'"',"'":"'","€":"â¬"},tS=e=>e.replace(/<[^>]*>/g," ").replace(/&(?:nbsp|amp|lt|gt|quot|#39|euro);/g,e=>tL[e]??e).replace(/\s+/g," ").trim(),tB=e=>"created"in e&&"number"==typeof e.created?e.created:void 0,tE=e=>"number"==typeof e.pinnedAt?e.pinnedAt:tB(e);var tT=a(19260),tM=a(10603),tP=a(55668);let tR="article_read_tracking";var tH=a(57356),t$=a(80450);let tq=({article:e,initData:t,categories:a,isIndividualArticle:p=!0})=>{let{isLiveBlog:_,isNos:x}=e,{currentLanguage:v}=s.useContext(td.sM),{isLarge:f}
1=(0,eI.w)(),[y,j]=(0,s.useState)(_?10:e.blocks.length),{isMobile:k}=(0,eI.w)(),w=(0,eC.usePathname)(),N=(0,s.useMemo)(()=>w.includes("/app/"),[w]),[A,I]=(0,s.useState)(e),[C,L]=(0,s.useState)(e.ttsUrl||""),[S,B]=(0,s.useState)(!1),E=(0,s.useRef)(0),{clickEvent:T,articleReadEvent:M,pageViewEvent:P}=(0,g.s)(),{popularArticlesEnabled:R}=(0,eV.J)(),[H,$]=(0,s.useState)(!1),q=a?(0,t$.Y)(a,"headerBreaking"):null;(0,s.useEffect)(()=>{H||A.language!==v.locale||$(!0)},[A,v.locale,H]),s.useEffect(()=>{let e,t,a;t=(e=window.location.pathname.split("/")).some(e=>"nieuws"===e||"artikelen"===e),(a=e.find(Number))&&t&&(0,et.LS)("/api/event/readarticle",{method:"POST",body:JSON.stringify({externalId:a,udid:function(){let e=localStorage.getItem("udid");if(e)return e;let t=`WEB-${(0,tT.A)()}`;return localStorage.setItem("udid",t),t}()})})},[]),(0,s.useEffect)(()=>{if(e){let t=e.blocks&&e.blocks.some(e=>"headerVideo"===e.type||"headerAnimated"===e.type);document.dispatchEvent(new CustomEvent("load-ads",{detail:{queue:["div-gpt-ad-at5-ros-header","div-gpt-ad-at5-ros-side","div-gpt-ad-at5-ros-outstream"],page:t?"video":"article",nsc:!!e.inappropriateContent,noAds:!1,isApp:N}}))}},[e,N]);let D=(0,s.useRef)(!0);(0,s.useEffect)(()=>{if(D.current){D.current=!1;return}!async function(){try{let t=await eO(e.externalId,v.locale);I(t||e)}catch(e){console.error("Failed to fetch article data:",e)}}()},[v.locale,e.externalId,e]),(0,s.useEffect)(()=>{A.ttsUrl&&L(A.ttsUrl)},[A.ttsUrl]);let F=(0,s.useCallback)(()=>{A.ttsUrl&&(L(A.ttsUrl),B(!0))},[A.ttsUrl]);(0,s.useEffect)(()=>{S&&P({chapter1:"nos"===A.sourceType?"nos":"nieuws",chapter2:"ttsPlayer",page:A.title,articleId:A.externalId,publicationDate:eh(A.created),authors:A.authors.map(e=>e.name)})},[S,A.authors,A.created,A.externalId,A.sourceType,A.title,P]);let O=!1,z=s.useMemo(()=>{let e=0;return A&&A.blocks&&A.blocks.forEach(t=>{if("text"===t.type){let{text:a}=t;if(void 0===a)return;let l=a.trim().split(/\s+/).filter(Boolean);e+=l.length}}),e},[A]),U=s.useMemo(()=>{if(!R||_||x)return -1;let e=A.blocks.length;if(e<3)return -1;return Math.max(2,Math.min(z<300?Math.min(3,Math.floor(.4*e)):z>600?Math.floor(.5*e):Math.floor(.45*e),e-1))},[A.blocks.length,z,R,_,x]),W=(0,s.useMemo)(()=>{var e;return _?(!Array.isArray(e=A.blocks)?[]:e.map((e,t)=>({block:e,index:t})).filter(({block:e})=>!0===e.isPinned).sort((e,t)=>{let a=tE(e.block),l=tE(t.block);return void 0===a&&void 0===l?e.index-t.index:void 0===a?1:void 0===l?-1:a===l?e.index-t.index:l-a}).map(({block:e})=>e)).map((e,t)=>{let a;return{id:`pinned-${e.type}-${e.pinnedAt??tB(e)??t}`,text:e5((a="title"in e&&"string"==typeof e.title?e.title:"").trim()?tS(a):tS("text"in e&&"string"==typeof e.text?e.text:""),240),created:tB(e)}}).filter(e=>""!==e.text):[]},[_,A.blocks]),V=(0,s.useMemo)(()=>_&&0!==W.length?A.blocks.findIndex((e,t)=>t>0&&"intro"!==e.type):-1,[_,W.length,A.blocks]),G=(0,s.useMemo)(()=>{for(let e of A.blocks)if("video"===e.type)return e.video?.id},[A.blocks]),J=H&&A.language===v.locale&&(0,l.jsx)(tM.default,{articleId:A.externalId,chapter1:"nos"===A.sourceType?"nos":"nieuws",chapter2:A.mainCategory?.name?.trim()?A.mainCategory.name:void 0,page:A.title,language:v.locale,publicationDate:eh(A.created),authors:A.authors.map(e=>e.name)??[],wordCount:z,regionPlacename:[A.location.name],article_subcategories:A.categoryNames,article_tags:eR(A.tags),video_id:G}),X=(0,s.useCallback)(()=>{A.externalId&&M({page:A.title,page_chapter1:"nos"===A.sourceType?"nos":"nieuws",page_chapter2:A.mainCategory.name,page_chapter3:A.location.name,article_id:A.externalId,publication_date:eh(A.created),article_tag:eR(A.tags),article_categories:A.mainCategory.name?[A.mainCategory.name]:[],article_subcategories:A.categoryNames||[],article_length1:z,content_type_2:"artikel",content_authors:A.authors.map(e=>e.name)||[],language:(0,tH.l)(v.locale)})},[A,z,v.locale,M]),K=!!A.externalId&&H&&A.language===v.locale;(({articleId:e,onArticleRead:t,enabled:a})=>{let l=(0,s.useRef)(null),i=(0,s.useRef)(0),r=(0,s.useRef)(null),n=(0,s.useRef)(!1),o=(0,s.useRef)(!1),c=(0,s.useRef)(!0),d=(0,s.useRef)(t),u=(0,s.useRef)(e),m=(0,s.useRef)(void 0);(0,s.useEffect)(()=>{d.current=t},[t]),(0,s.useEffect)(()=>{u.current=e},[e]),(0,s.useEffect)(()=>
1{if(!a||!e)return;m.current!==e&&(m.current=e,o.current=!1,i.current=0,l.current=null,n.current=!1);let t=`${tR}_${e}`;if("true"===sessionStorage.getItem(t)){o.current=!0;return}if(o.current)return;let s=!1,p=null,_=()=>{let t=u.current||e;if(!t)return!0;let a=`${tR}_${t}`;return"true"===sessionStorage.getItem(a)},h=()=>{if(!o.current&&!s){if(_()){o.current=!0,p&&clearTimeout(p);return}s=!0,l.current=Date.now(),c.current="visible"===document.visibilityState}},g=t=>{t.detail?.articleId!==e||o.current||s||_()||h()};document.addEventListener("page.display.sent",g),p=setTimeout(()=>{o.current||s||_()||h()},100);let x=()=>{let e="visible"===document.visibilityState;if(c.current=e,e)null===l.current&&(l.current=Date.now());else if(null!==l.current){let e=Date.now()-l.current;i.current+=e,l.current=null}},v=(0,tP.s)(()=>{n.current||(n.current=!0)},100),f=()=>v(),b=()=>v(),y=()=>v(),j=()=>v();return document.addEventListener("visibilitychange",x),window.addEventListener("scroll",f,{passive:!0}),window.addEventListener("mousemove",b,{passive:!0}),window.addEventListener("click",y,{passive:!0}),window.addEventListener("touchmove",j,{passive:!0}),r.current=setInterval(()=>{if(o.current)return;let e=Date.now(),t=i.current;if(c.current&&null!==l.current&&(t+=e-l.current),t/1e3>=10&&n.current&&c.current){let e=u.current;if(e){let t=`${tR}_${e}`;sessionStorage.setItem(t,"true")}o.current=!0,d.current()}},500),()=>{p&&clearTimeout(p),document.removeEventListener("page.display.sent",g),document.removeEventListener("visibilitychange",x),window.removeEventListener("scroll",f),window.removeEventListener("mousemove",b),window.removeEventListener("click",y),window.removeEventListener("touchmove",j),r.current&&(clearInterval(r.current),r.current=null)}},[a,e]),(0,s.useEffect)(()=>()=>{r.current&&clearInterval(r.current)},[])})({articleId:A.externalId,onArticleRead:X,enabled:K});let Y=(0,s.useCallback)(()=>{let t=window._ain;if(!t?.track)return;let a=eR(e.tags);t.url=window.location.href,t.title=e.title,t.pubdate=new Date(1e3*e.created).toISOString(),t.maincontent="",t.postid=e.externalId,t.authors=eH(e),t.sections="NOS"===e.sourceType?"nos":`${e.mainCategory?.name??""}${e.location?.name?`>${e.location.name}`:""}`,t.tags=a.join(","),t.access_level="free",t.reader_type="anonymous",t.article_type="article",t.maincontent="h1, #articleContent",t.track()},[e]),Q=(0,s.useCallback)(()=>{void 0===window._ain?.track?E.current<5?setTimeout(()=>{E.current+=1,Q()},1e3):console.error("Failed to load _ain"):Y()},[Y]);return(0,s.useEffect)(()=>(Q(),()=>{window._ain?.stop?.()}),[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o,{article:A}),(0,l.jsxs)("article",{className:(0,m.A)(tI().article,e.displayType,"special"===e.displayType&&tI().special,"article"),children:[q&&(0,l.jsx)(c.l,{breakingNews:q}),(0,l.jsxs)("div",{className:"article-content-wrapper",children:[(0,l.jsx)(tC,{article:A,initData:t,onListen:F}),(0,l.jsxs)("div",{className:tI().grid,children:[!e.children||0===e.children.length&&(0,l.jsx)("div",{className:tI().share,children:(0,l.jsx)(b,{title:e.title,url:e.url})}),(0,l.jsxs)("div",{className:tI().content,id:"articleContent",children:["nl"!==v.locale&&"simplified"!==v.locale&&(0,l.jsx)(Z,{block:{type:"info",text:"* The original article was created in Dutch (NL) by our editorial staff. This article is automatically translated by an algorithm and might contain errors due to this.",backgroundColor:"#b1eec066",created:void 0},className:tI().info}),A.blocks.slice(0,y).map((e,a)=>{if(x&&"image"===e.type&&!O)return O=!0,null;let i=R&&A.showMostRead&&!_&&!x&&U>=0&&a===U;return(0,l.jsxs)(s.Fragment,{children:[a===V&&(0,l.jsx)(h,{updates:W}),(0,l.jsx)(tn.t,{name:`article-block-${e.type}`,children:(0,l.jsx)(em,{isLiveblog:_,isFirstBlock:0===a,block:e,articleData:A,initData:t})}),i&&(0,l.jsx)(s.Suspense,{fallback:null,children:(0,l.jsx)(e8,{currentArticleId:A.externalId})})]},`${e.type}-${a}`)}),x&&(0,l.jsx)(d.V,{inArticle:!0}),_&&!(y>=A.blocks.length)&&(0,l.jsxs)(i.$,{variant:"primary",onClick:()=>{j(e=>e+10),T({event:"click.action",click:"Action",click_chapter1:u.P.common.loadMore})},children:[(0,l.jsx)("div",{className:tI().refreshIcon,children:(0,l.jsx)(r.I,{name:"refresh"})}),(0,l.jsx)("span",{children:u.P.common.loadMore})]}),!_&&!x&&"simplified"===v.locale&&(0,l.jsx)(Z,{block:{type:"info",text:`Dit artikel is automatisch herschreven met kunstmatige intelligentie (AI). NH Nieuws werkt hiervoor samen met <a href='https://tolkie.nl' target='_blank'>Tolkie</a>. Wil je meer weten over hoe het werkt? Klik dan <a href='${n.oO.canonicalUrl}/tolkie'>hier</a> voor uitleg.`,backgroundColor:"#b1eec066",created:void 0},className:tI().info}),p&&(0,l.jsx)("div",{id:"end_of_article"})]}),f&&(!e.children||0===e.children.length)&&(0,l.jsx)("div",{className:tI().rightAd,children:e.showAds&&ti.UU[0]&&(0,l.jsx)(tr.A,{type:"detailBanner",ad:ti.UU[0],className:tI().rightBanner})})]}),e.children&&e.children.length>0&&(0,l.jsx)("section",{className:tI().gridContainer,children:(0,l.jsx)("div",{className:tI().childrenGrid,children:(0,l.jsxs)(eN.x,{scrollOnMobile:!0,children:[e.children[0]&&(0,l.jsx)(eA.E,{article:e.children[0],size:6,sizeSmall:12,type:"tile"},e.children[0].externalId),e.children[1]&&(0,l.jsx)(eA.E,{article:e.children[1],size:6,sizeSmall:12,type:"tile"},e.children[1].externalId),e.children[2]&&(0,l.jsx)(eA.E,{article:e.children[2],size:4,sizeSmall:12,type:"tile"},e.children[2].externalId),e.children[3]&&(0,l.jsx)(eA.E,{article:e.children[3],size:4,sizeSmall:12,type:"tile"},e.children[3].externalId),e.children[4]&&(0,l.jsx)(eA.E,{article:e.children[4],size:4,sizeSmall:12,type:"tile"},e.children[4].externalId)]})})}),(0,l.jsx)("div",{className:tI().childrenGrid,children:(0,l.jsx)(eN.x,{children:e.children&&e.children.slice(5,e.children.length).map((e,t)=>(t%2==1||t!==e.children?.length-1)&&(0,l.jsx)(eA.E,{size:k?12:6,type:"list",article:e},e.externalId))})})]}),(0,l.jsx)("div",{className:tI().bottomAd,children:e.showAds&&ti.UU[1]&&(0,l.jsx)(tr.A,{type:"mainBanner",ad:ti.UU[1],className:tI().bottomAd})}),(0,l.jsxs)("div",{className:tI().readAlso,children:[n.Pe&&(0,l.jsx)("div",{className:tI().mgidContainer,children:(0,l.jsx)(eS,{})}),!n.Pe&&n.KV&&(0,l.jsx)(e9,{}),!n.Pe&&!n.KV&&(0,l.jsx)(eB,{permalink:e.url})]}),J]}),S&&(0,l.jsx)(ew,{source:C,article:A,title:A.title,setVisible:B})]})}},16775:e=>{e.exports={list:"pinned-updates_list__3qxvc",item:"pinned-updates_item__8e_Bd",icon:"pinned-updates_icon__iOW_r",text:"pinned-updates_text__j7EED",status:"pinned-updates_status__SHyM2",BlinkAnimation:"pinned-updates_BlinkAnimation__ugCh1"}},17044:e=>{e.exports={text:"article-block_text__NuH9G",intro:"article-block_intro__zhDM5",image:"article-block_image__tfB88",innerImage:"article-block_innerImage__AGzSS",description:"article-block_description__43x9g",time:"article-block_time__E1DGr",wrapper:"article-block_
1wrapper__F_ZYK",liveblog:"article-block_liveblog__wkh5K",firstLiveblogBlock:"article-block_firstLiveblogBlock__Wrs7r",dot:"article-block_dot__SKljl",line:"article-block_line__YMuCW",videoCaption:"article-block_videoCaption__nCM3E",video:"article-block_video__SL8yj",oembed:"article-block_oembed__NbI8r",title:"article-block_title__bvY4a",consent:"article-block_consent__wCDKv",loading:"article-block_loading__trSaz",spinner:"article-block_spinner__j9tn7",spin:"article-block_spin__ClE9D",poll:"article-block_poll__gFVE5",container:"article-block_container__gnBMp",inner:"article-block_inner__K4TIT",isInLiveBlog:"article-block_isInLiveBlog__2ElR_",info:"article-block_info__QG6Lg",articles:"article-block_articles__mWeeP",expandButton:"article-block_expandButton__0nure",quote:"article-block_quote__liFHN",quoteBody:"article-block_quoteBody__03zYF",quoteIcon:"article-block_quoteIcon__4BAMu",icon:"article-block_icon__MYHsq",quoteText:"article-block_quoteText__CkV9T",quoteAuthor:"article-block_quoteAuthor__Q4Myc",titleBlog:"article-block_titleBlog__LcCAx",specialHeader:"article-block_specialHeader__jzKrs",specialImage:"article-block_specialImage__MCa_C",specialOverlay:"article-block_specialOverlay__phYSP",specialContent:"article-block_specialContent__conE0",specialTitle:"article-block_specialTitle__Z3HyD",articleTitle:"article-block_articleTitle__u9WZw",labels:"article-block_labels__uJEE9",settings:"article-block_settings__zDjQb",meta:"article-block_meta__DELBp",videoHeader:"article-block_videoHeader__zXIKv",videos:"article-block_videos__ia3C9",videoButton:"article-block_videoButton__tsry8",videosContainer:"article-block_videosContainer__SaIJl",relatedVideos:"article-block_relatedVideos__WQXyQ",subtitle:"article-block_subtitle__7q_mE",videoLoopHeader:"article-block_videoLoopHeader__YUV8N",videoLoopContainer:"article-block_videoLoopContainer__jyb0J",videoLoopMedia:"article-block_videoLoopMedia__IDcPT",videoLoopLoading:"article-block_videoLoopLoading__VePu5",videoLoopOverlay:"article-block_videoLoopOverlay__OeWmQ",videoLoopToggle:"article-block_videoLoopToggle__rzn00",videoLoopContent:"article-block_videoLoopContent__U7ADU",videoLoopTitle:"article-block_videoLoopTitle__QZXr6",videoLoopMeta:"article-block_videoLoopMeta__DT_fi",fullHeight:"article-block_fullHeight__4LxJh",fullWidth:"article-block_fullWidth__SW8a_",iframe:"article-block_iframe__SwNzm",youtube:"article-block_youtube__3asi1",youtubeVertical:"article-block_youtubeVertical__N_xjh",blockMap:"article-block_blockMap__T9Y0_",questionAuthor:"article-block_questionAuthor__Ie2l3",question:"article-block_question__ae5WW",questionAnswer:"article-block_questionAnswer__ds7qD",BlinkAnimation:"article-block_BlinkAnimation__8bidJ"}},24366:e=>{e.exports={root:"AudioBar_root__gUjXL",playButton:"AudioBar_playButton__ReYgU",closeButton:"AudioBar_closeButton__nzazq",content:"AudioBar_content__Mb3si",title:"AudioBar_title__ypwXR",progressWrap:"AudioBar_progressWrap__e59fS",time:"AudioBar_time__bFv4v",progressTrack:"AudioBar_progressTrack__sByFS",progressFill:"AudioBar_progressFill__8rWMI",progressThumb:"AudioBar_progressThumb__93oAE",error:"AudioBar_error__9sL7Y",speedWrap:"AudioBar_speedWrap__f18NT",speedButton:"AudioBar_speedButton__qpl_B",speedButtonOpen:"AudioBar_speedButtonOpen__Du_7U",speedChevron:"AudioBar_speedChevron__5S4Dl",speedValue:"AudioBar_speedValue__s3ShM",speedMenu:"AudioBar_speedMenu__x8C_y",speedOption:"AudioBar_speedOption__ROdGN",speedOptionActive:"AudioBar_speedOptionActive__hmahx",BlinkAnimation:"AudioBar_BlinkAnimation__tkN4o"}},28283:(e,t,a)=>{"use strict";a.d(t,{Q7:()=>r,RC:()=>i,a5:()=>n});let l=new Set(["Regio","Actueel"]);function i(e){if(!e?.length)return[];let t=e.filter(e=>l.has(e.name));if(!t.length)return[];let a=new Set;for(let e of t)e.categories?.length&&function e(t,a){for(let l of t){l.slug&&!l.slug.startsWith("http")&&function(e,t){let a=t.trim();if(!a||a.startsWith("http"))return;let l=a.replace(/^\/+|\/+$/g,"").toLowerCase();e.add(l),l.split("/").forEach(t=>{t&&e.add(t)})}(a,l.slug);let t=l.categories;t?.length&&e(t,a)}}(e.categories,a);return Array.from(a)}function r(e){let t=e.location?.name?.trim()??"";if(t)return{label:t,slug:t.toLowerCase().trim().replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"")};let a=e.mainCategory?.slug?.trim().toLowerCase()??"",l=e.mainCategory?.name?.trim()??"";if(a){let e=a.replace(/^\/+|\/+$/g,"");return{label:l||e,slug:e}}return null}function n(e,t){return!!e&&t.includes(e)}},32449:e=>{e.exports={article:"article_article__utLGK",special:"article_special__7QC1t",grid:"article_grid__wykR_",info:"article_info__5TNJw",adWrapper:"article_adWrapper__fB
1pR5",adContainer:"article_adContainer__rmw_P",rightAd:"article_rightAd__FuN7G",share:"article_share__iX76c",content:"article_content__szmXt",liveblogMetaContent:"article_liveblogMetaContent__V4_0c",title:"article_title__GfquO",meta:"article_meta__fCTXb",header:"article_header__DqKsB",liveblogHeader:"article_liveblogHeader__ZTh_A",nosHeader:"article_nosHeader__x9DFJ",image:"article_image__WisEX",label:"article_label__Eumwr",labels:"article_labels__9Dt0R",settings:"article_settings__MCsqX",headerContent:"article_headerContent__R2jTM",refreshIcon:"article_refreshIcon__1tCnq",liveblogTitle:"article_liveblogTitle__rIjLH",gridContainer:"article_gridContainer___stxd",childrenGrid:"article_childrenGrid__XfAXf",readAlso:"article_readAlso__C1lLE",mgidContainer:"article_mgidContainer__gio_Q",BlinkAnimation:"article_BlinkAnimation__xk11H"}},49413:(e,t,a)=>{"use strict";a.d(t,{FontSizeProvider:()=>m,s:()=>d,y:()=>u});var l,i=a(95155),r=a(12115);let n=[{value:0,size:1},{value:10,size:1.2},{value:20,size:1.5},{value:30,size:1.6},{value:40,size:1.8}],s={fontSize:n[0]||{value:0,size:1},defaultSizes:n};var o=((l=o||{})[l.UPDATE_FONT_SIZE=0]="UPDATE_FONT_SIZE",l);let c=(e,t)=>0===t.type?{...e,fontSize:t.payload}:{...e},d=(0,r.createContext)(s),u=(0,r.createContext)({updateFontSize:()=>{}}),m=({children:e})=>{let[{defaultSizes:t,fontSize:a},l]=(0,r.useReducer)(c,s),n="fontSize",o=(0,r.useMemo)(()=>({updateFontSize:e=>{let a=t.find(t=>t.value.toString()===e);a&&(l({type:0,payload:a}),localStorage.setItem(n,`${a.value}`))}}),[t]);return(0,r.useEffect)(()=>{let e=localStorage.getItem(n),a=t.find(t=>t.value.toString()===e);a&&l({type:0,payload:a})},[t]),(0,r.useEffect)(()=>{let e=document.querySelector("body");e&&e.setAttribute("data-font-size",`${a.size}`)},[a]),(0,i.jsx)(d.Provider,{value:{fontSize:a,defaultSizes:t},children:(0,i.jsx)(u.Provider,{value:o,children:e})})}},55668:(e,t,a)=>{"use strict";a.d(t,{s:()=>l});let l=(e,t=250)=>{let a,l=0;return(...i)=>{clearTimeout(a);let r=Date.now();r-l>t?(l=r,e({args:i})):a=setTimeout(()=>{l=r,e({args:i})},t)}}},58338:(e,t,a)=>{"use strict";a.d(t,{J:()=>m});var l=a(95155),i=a(22512),r=a(39457),n=a(45322),s=a(15025),o=a(12115),c=a(89079),d=a(17044),u=a.n(d);let m=({block:e,isInLiveBlog:t})=>{let{title:a,content:d,url:m,width:p,height:_}=e,h=(0,r.t)(m),{isAllowed:g,blockedVendorId:x,consentChecked:v,handleConsentChange:f}=n.nu?{isAllowed:!0,blockedVendorId:null,consentChecked:!0,handleConsentChange:()=>{}}:h,b=d.replace("&","&"),y=b.includes("nh_poll_widget"),j=b.includes("nh_player_widget"),k=b.includes('"nh_before-after-image_widget'),w=b.includes('"nh_radioplayer_widget'),N=b.includes('"nh_newsletter_widget'),A=b.includes("youtube"),I=A&&!!p&&!!_&&_>p;return((0,o.useEffect)(()=>{if(y){let e=()=>{window.nhwidget&&window.nhwidget.poll&&window.nhwidget.poll.init?window.nhwidget.poll.init():setTimeout(()=>{e()},200)};e()}if(k){let e=()=>{window.nhwidget&&window.nhwidget.beforeAfterImage&&window.nhwidget.beforeAfterImage.init?window.nhwidget.beforeAfterImage.init():setTimeout(()=>{e()},200)};e()}if(j){let e=()=>{window.nhwidget&&window.nhwidget.player&&window.nhwidget.player.init?window.nhwidget.player.init():setTimeout(()=>{e()},200)};e()}if(w){let e=()=>{window.nhwidget&&window.nhwidget.radioPlayer&&window.nhwidget.radioPlayer.init?window.nhwidget.radioPlayer.init():setTimeout(()=>{e()},200)};e()}if(N){let e=()=>{window.nhwidget&&window.nhwidget.newsletter&&window.nhwidget.newsletter.init?window.nhwidget.newsletter.init():setTimeout(()=>{e()},200)};e()}}),m)?v?(0,l.jsxs)("div",{className:(0,s.A)(y&&u().poll,u().oembed,t&&u().isInLiveBlog),style:{position:"relative"},children:[a&&(0,l.jsx)("h2",{className:u().title,children:a}),(0,l.jsx)("div",{className:(0,s.A)(u().container,y&&u().pollContainer),children:g?(0,l.jsx)(c.A,{markup:b,className:u().embed,children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:b},className:(0,s.A)(u().inner,A&&u().youtube,I&&u().youtubeVertical),style:I?{"--embed-aspect-ratio":p/_}:void 0})}):x&&(0,l.jsx)(i.A,{vendorId:x,onConsentChange:f})})]}):(0,l.jsxs)("div",{className:(0,s.A)(y&&u().poll,u().oembed,t&&u().isInLiveBlog),children:[a&&(0,l.jsx)("h2",{className:u().title,children:a}),(0,l.jsx)("div",{className:(0,s.A)(u().container,y&&u().pollContainer),children:(0,l.jsx)("div",{className:u().loading,children:(0,l.jsx)("div",{className:u().spinner})})})]}):null}},62714:(e,t,a)=>{Promise.resolve().then(a.bind(a,49413)),Promise.resolve().then(a.bind(a,65103)),Promise.resolve().then(a.bind(a,12155))},65103:(e,t,a)=>{"use strict";a.d(t,{LanguageProvider:()=>m,kX:()=>u,sM:()=>d});var l,i=a(95155),r=a(12115);let n=[{locale:"nl",friendlyName:"Nederlands"},{locale:"de",friendlyName:"Deutsche"},{locale:"en",friendlyName:"English"},{locale:"es",friendlyName:"Espa\xf1ol"},{locale:"fr",friendlyName:"Fran\xe7ais"},{locale:"pl",friendlyName:"Polskie"},{locale:"tr",friendlyName:"Tűrkce"},{locale:"uk",friendlyName:"ÑкÑаÑнеÑÑ"},{locale:"ar",friendlyName:"عربÙ"},{locale:"simplified",friendlyName:"Simpele tekst"}],s={currentLanguage:n[0]||{locale:"",friendlyName:""},availableLanguages:n};var o=((l=o||{})[l.CHANGE_LANGUAGE=0]="CHANGE_LANGUAGE",l[l.UPDATE_AVAILABLE_LANGUAGES=1]="UPDATE_AVAILABLE_LANGUAGES",l);let c=(e,t)=>0===t.type?(localStorage.setItem("language",t.payload.locale),{...e,currentLanguage:t.payload}):1===t.type?{...e,availableLanguages:t.payload}:{...e},d=(0,r.createContext)(s),u=(0,r.createContext)({changeLanguage:()=>{},updateAvailableLanguages:()=>{}}),m=({children:e})=>{let[{currentLanguage:t,availableLanguages:a},l]=(0,r.useReducer)(c,s),o=(0,r.useMemo)(()=>({changeLanguage:e=>{l({type:0,payload:e}),localStorage.setItem("language",e.locale)},updateAvailableLanguages:e=>{l({type:1,payload:e})}}),[]);return(0,r.useEffect)(()=>{let e=window.appLanguage||localStorage.getItem("language"),t=n.find(t=>t.locale===e);t&&o.changeLanguage(t)},[o]),(0,i.jsx)(d.Provider,{value:{currentLanguage:t,availableLanguages:a},children:(0,i.jsx)(u.Provider,{value:o,children:e})})}},65581:e=>{e.exports={gallery:"Carousel_gallery__t0TrD",openButton:"Carousel_openButton__f4cE4",container:"Carousel_container__Lk623",galleryControl
1sButton:"Carousel_galleryControlsButton__cXK_K",left:"Carousel_left__mRKG2",right:"Carousel_right__RAJOr","button-icon":"Carousel_button-icon__IAgHm",galleryListContainer:"Carousel_galleryListContainer__ve3PZ","prevent-overflow":"Carousel_prevent-overflow__HeoFg",galleryControls:"Carousel_galleryControls__sjBx7",prevSlide:"Carousel_prevSlide__dtxGc",nextSlide:"Carousel_nextSlide__ZJvN2",author:"Carousel_author__cIlfF",slideInfo:"Carousel_slideInfo__ibgZz",galleryList:"Carousel_galleryList__2TUFr","play-button":"Carousel_play-button__hYUFv","is-playing":"Carousel_is-playing__n1u4M",video:"Carousel_video__PqqLN",videoContainer:"Carousel_videoContainer__cov0h",videoSlideInfo:"Carousel_videoSlideInfo__TJiNA",isPlaying:"Carousel_isPlaying__VNtt7",dots:"Carousel_dots__vh9dO",dotsInLightbox:"Carousel_dotsInLightbox__0eIjh",dot:"Carousel_dot__80PSZ",dotActive:"Carousel_dotActive__fkbxJ",BlinkAnimation:"Carousel_BlinkAnimation___Wgto"}},71235:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var l=a(12115);function i(e,t,a){let i=(0,l.useRef)(t);(0,l.useEffect)(()=>{i.current=t},[t]),(0,l.useEffect)(()=>{function t(t){!(!e.current||e.current.contains(t.target))&&(!a||a(t))&&i.current()}return document.addEventListener("mousedown",t),document.addEventListener("touchstart",t),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)}},[e,a])}},74143:e=>{e.exports={container:"popular-articles_container__13bUN",header:"popular-articles_header__mCoLY",articles:"popular-articles_articles__g3XaE",articleLink:"popular-articles_articleLink__nEFJn",article:"popular-articles_article__5HPV_",thumbnail:"popular-articles_thumbnail__Z37MY",gifImage:"popular-articles_gifImage__q4O7P",placeholder:"popular-articles_placeholder__hkHqb",videoIcon:"popular-articles_videoIcon__PRPr2",labelWrapper:"popular-articles_labelWrapper__ZD3XT",label:"popular-articles_label__OtG0D",content:"popular-articles_content__GG6Fd",title:"popular-articles_title__8tctE",preview:"popular-articles_preview__7iJZ2",BlinkAnimation:"popular-articles_BlinkAnimation__X1Uf1"}},74742:e=>{e.exports={modalBackground:"ExpandedImageModal_modalBackground__5OwSb",modalContent:"ExpandedImageModal_modalContent__a_Qx5",image:"ExpandedImageModal_image__GF3xX",closeButton:"ExpandedImageModal_closeButton__ce6IH",BlinkAnimation:"ExpandedImageModal_BlinkAnimation__WGOJH"}},75294:e=>{e.exports={container:"Share_container__DppNq",shareIcon:"Share_shareIcon__MyuYp",BlinkAnimation:"Share_BlinkAnimation__UNdhL"}},76198:e=>{e.exports={container:"Lightbox_container__AAMer","lightbox-fade-in":"Lightbox_lightbox-fade-in__Ga_wJ",background:"Lightbox_background__qijhM",modal:"Lightbox_modal__fACl4",closeButton:"Lightbox_closeButton__r0iv4",openButton:"Lightbox_openButton__ZflQx",closeIcon:"Lightbox_closeIcon__BFeRs",BlinkAnimation:"Lightbox_BlinkAnimation__ywmIC"}},85238:e=>{e.exports={container:"accordion_container__n5Tal",accordionTitle:"accordion_accordionTitle__M_pXY",items:"accordion_items__9i9G7",item:"accordion_item__3c7xS",itemHeader:"accordion_itemHeader__6wpdq",indicator:"accordion_indicator__kUrtY",indicatorOpen:"accordion_indicatorOpen__WS1H8",itemContent:"accordion_itemContent__tz59M",contentOpen:"accordion_contentOpen__FtshT",contentInner:"accordion_contentInner__TAzk8",BlinkAnimation:"accordion_BlinkAnimation__En3Lf"}},88462:(e,t,a)=>{"use strict";a.d(t,{_u:()=>l});let l=e=>e.filter(e=>null!=e)},99576:e=>{e.exports={root:"ArticleReadingHelpMenu_root__3ctoN",trigger:"ArticleReadingHelpMenu_trigger__vvcoY",triggerOpen:"ArticleReadingHelpMenu_triggerOpen__cOxgT",triggerIcon:"ArticleReadingHelpMenu_triggerIcon__O6ZXd",triggerLabel:"ArticleReadingHelpMenu_triggerLabel__zBQf6",backdrop:"ArticleReadingHelpMenu_backdrop__eBfrl",panel:"ArticleReadingHelpMenu_panel__N0P7x",panelTitle:"ArticleReadingHelpMenu_panelTitle__GFUTl",panelHeader:"ArticleReadingHelpMenu_panelHeader__4Rax_",closeButton:"ArticleReadingHelpMenu_closeButton__zPNSI",menuRows:"ArticleReadingHelpMenu_menuRows__p0KHo",simpleTextToggleWrap:"ArticleReadingHelpMenu_simpleTextToggleWrap___JMhr",simpleTextLabel:"ArticleReadingHelpMenu_simpleTextLabel__IcK4e",simpleTextIcon:"ArticleReadingHelpMenu_simpleTextIcon__WcsBe",fontSection:"ArticleReadingHelpMenu_fontSection__5u1qu",fontBlock:"ArticleReadingHelpMenu_fontBlock__EjuX_",fontLabelSmall:"ArticleReadingHelpMenu_fontLabelSmall__RNYGV",fontLabelLarge:"ArticleReadingHelpMenu_fontLabelLarge__m0jZr",fontRangeWrap:"ArticleReadingHelpMenu_fontRangeWrap__DjlcD",fontRange:"ArticleReadingHelpMenu_fontRange__nTqiR",languageBlock:"ArticleReadingHelpMenu_languageBlock__OPZJ8",languageItem:"ArticleReadingHelpMenu_languageItem__Gjqdj",languageHeading:"ArticleReadingHelpMenu_languageHeading__5ChUq",languageList:"ArticleReadingHelpMenu_languageList__Qy6jk",languageItemDisabled:"ArticleReadingHelpMenu_languageItemDisabled__Tsh0i",languageRadioInput:"ArticleReadingHelpMenu_languageRadioInput__Vkhat",languageRadio:"ArticleReadingHelpMenu_languageRadio__w6L67",languageItemInner:"ArticleReadingHelpMenu_languageItemInner__QHCj7",languageRadioActive:"ArticleReadingHelpMenu_languageRadioActive__YNv9u",listenButton:"ArticleReadingHelpMenu_listenButton__vAWSZ",listenButtonDisabled:"ArticleReadingHelpMenu_listenButtonDisabled__jVHD7",BlinkAnimation:"ArticleReadingHelpMenu_BlinkAnimation__tTxF5"}}}]);
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.