MSN | Nieuws van de Dag

=1&&(t.measure(n,i,r),f&&(o=t.getEntriesByName(n),o.length>=1&&(u[n]=Math.round(o[0].duration)))))}function e(){require([“c.onload”],function(){i(“TimeFordomComplete”,”domLoading”,”domComplete”);i(“TimeFordomInteractive”,”domLoading”,”domInteractive”);i(“TimeFordomContentLoaded”,”domContentLoadedEventStart”,”domContentLoadedEventEnd”);i(“TimeForloadEvent”,”loadEventStart”,”loadEventEnd”)})}function i(n,i,r){try{t.measure(n,i,r)}catch(u){console&&console.error(“Error while measuring native marker: “+n+”, error: “+u)}}var u=n._pageTimings||(n._pageTimings={}),t=n.performance;return typeof t==”object”&&typeof t.measure==”function”&&typeof t.getEntriesByName==”function”?(e(),n._perfMeasure=r,r):f});require([“window”,”document”],function(n,t){function h(){(n._pageTimings[i]===undefined||n._pageTimings[i]===-1)&&c({errId:1513,errMsg:”TTVR’s was not sent for this page within the timeout period.”})}function c(n){require([“track”],function(t){var i={errId:n.errId,errMsg:n.errMsg,reportingType:1};t.trackAppErrorEvent(i)})}function l(){var t,r,i;if(n.PerformanceObserver&&(t=n.PerformanceObserver.supportedEntryTypes,t))for(r=t.length,i=0;ir&&(r=t),r}function v(){var i=t.getElementsByTagName(“head”)[0],n=i.getAttribute(“data-required-ttvr”);return n?JSON.parse(n):null}function y(){return p()&&!u(i)}function p(){if(r&&r.length>0){for(var n=0;n]*href=”([^”]*)”[^>]*/>/ig,o.forceServerDpi===!0)t.dpi=t.ddpi;else if(o.server!=o.screen){for(y=o.screen,s=0;s“};return{url:r,urlPart:u,html:f}});define(“classList”,function(){function i(n){return t[n]||(t[n]=new RegExp(“(\s|^)”+n+”(\s|$)”))}function n(n,t){return n?n.classList?n.classList.contains(t):n.className?n.className.match(i(t)):!1:!1}function r(t,i){t&&(t.classList?t.classList.add(i):n(t,i)||(t.className+=” “+i))}function f(t,i){t&&(t.classList?t.classList.toggle(i):n(t,i)?u(t,i):r(t,i))}function u(t,r){t&&(t.classList?t.classList.remove(r):n(t,r)&&(t.className=t.className?t.className.replace(i(r),” “):!1))}var t=[];return{add:r,remove:u,toggle:f,contains:n}});define(“viewport”,[“mediator”,”requestAnimationFrame”,”window”,”document”],function(n,t,i,r){function kt(){l=at();a=lt();(l!=s||a!=f)&&(u=!0,e=!0)}function g(){return{left:s,right:et,top:f,bottom:ot,width:h,height:c}}function ht(){u&&(s=l||at(),f=a||lt(),l=a=null,!nt&&f>yt&&(nt=!0,setTimeout(function(){define(“c.scrolled”,1)},ft)));o&&(h=i.innerWidth||r.documentElement.clientWidth,c=i.innerHeight||r.documentElement.clientHeight);(u||o)&&(et=s+h,ot=f+c);u=o=!1}function w(){if(e){pt=new Date;e=!1;var i=o,r=u,l=h,a=c,v=s,y=f;ht();i=i&&(a!=c||l!=h);r=r&&(v!=s||y!=f);i||r?(b||(b=setTimeout(function(){b=0;var t=g();n.pub(tt,t);r&&n.pub(it,t);i&&n.pub(rt,t)},ft)),dt(),setTimeout(w,ut)):t(w)}else t(w)}function dt(){v&&(st=+new Date,y||(y=setTimeout(function t(){y=v=!1;var i=new Date-st;i>d?n.pub(bt,k):y=setTimeout(t,d-i)},d)))}function ct(){u=!0;o=!0;e=!0}function lt(){if(typeof pageYOffset!=”undefined”)return pageYOffset;var t=r.body,n=r.documentElement;return n=n.clientHeight?n:t,n.scrollTop}function at(){if(typeof i.pageXOffset!=”undefined”)return i.pageXOffset;var t=r.body,n=r.documentElement;return n=n.clientWidth?n:t,n.scrollLeft}function gt(n){for(var i=null,t;n&&n.nodeName!=”BODY”&&n.nodeName!=”HTML”;){if(t=n.getAttribute(wt),t){t=t.split(“;”);i={x:parseInt(t[0])||0,y:parseInt(t[1])||0};break}n=n.parentNode}return i}function ni(n,t,i,r){var u=n.getBoundingClientRect();if(!u.top&&!u.right&&!u.bottom&&!u.left)return 0;r||(r=g());var o=r.width*(t||0),s=r.height*(i||0),h={left:-o,right:r.width+o,top:0-s,bottom:r.bottom+s},f={left:u.left,right:u.right,top:u.top,bottom:u.bottom},e=gt(n.parentNode);return e&&(f.left+=e.x,f.right+=e.x,f.top+=e.y,f.bottom+=e.y),ti(h,f)}function ti(n,t){return!(t.left>n.right||t.rightn.bottom||t.bottomyt()||i>pt())&&(yt=function(){return n.width/4},pt=function(){return n.height/4},w=n,k())})}function yi(){b=[]}function pi(n,t){var i=n.getAttribute(t);if(i)try{return r(i)}catch(u){l.error(“[imgSrc] error evaluating the ‘”+t+”‘ attribute: ‘”+i+”‘”,u)}}function wi(n,t){var u=!1,i=ct(n),r;return i&&i.src&&t&&typeof t.find==”function”&&typeof t.filter==”function”&&(r=t.find(“img[data-src]”).filter(function(){return this.imgSrcObj&&this.imgSrcObj.loadedSrc==i.src}),r.length&&(i.loadingSrc=i.src,n.imgSrcObj=i,ii(n,i,r[0]),u=!0)),u}function ct(n,t){var i=pi(n,li),f,r,u;if(i){if(f=i.dpi||1,i=i[v]!==t?i[v]:i[y]!==t?i[y]:i[“default”],r=typeof i,r==”string”)i={src:i};else if(r!=”object”||!i)return null;return i.dpi=f,i.src?(u=i.src.indexOf(“//”),u>0&&(i.src=i.src.substring(u)),i.src=gi(i.src,ei)):i.src=kt,i}return null}function gt(n,t){var i,r;return dt?(n.onload=null,i=ct(n),i&&(r=bi(n,i,t),r&&d(n,i,!0)),r):!1}function bi(n,t,i){return dt==2?!0:t.load==”wait”||t.load==”defer”?!1:e.contains(n,”wait”)?!1:e.contains(n,”defer”)?!1:n.getAttribute(ut)?!1:ni(n)?lt(n,t)?(i||f.isInViewport(n,0,0))?!0:!1:!1:!1}function ki(t){var i=tt&&tt!=t;tt=t;switch(t){case n.views.SIZE1ROWSIZE1COLUMN:v=”size1rowsize1column”;y=”size1column”;break;case n.views.SIZE2ROWSIZE1COLUMN:v=”size2rowsize1column”;y=”size1column”;break;case n.views.SIZE1ROWSIZE2COLUMN:v=”size1rowsize2column”;y=”size2column”;break;case n.views.SIZE2ROWSIZE2COLUMN:v=”size2rowsize2column”;y=”size2column”;break;case n.views.SIZE1ROWSIZE3COLUMN:v=”size1rowsize3column”;y=”size3column”;break;case n.views.SIZE2ROWSIZE3COLUMN:v=”size2rowsize3column”;y=”size3column”;break;case n.views.SIZE1ROWSIZE4COLUMN:v=”size1rowsize4column”;y=”size4column”;break;default:v=”size2rowsize4column”;y=”size4column”}i&&k()}function di(n){return(n||s).getElementsByTagName(“img”)}function k(n){var c,u,i;if(ht){var s=”TimeToLoadDeferredImagesStart”+g,h=”TimeToLoadDeferredImagesEnd”+g,l=”TimeForLoadDeferredImages”+g;for(g++,o._perfMarker&&o._perfMarker(s),c=0,u=di(n),i=0;i1&&(n.width=r.width*i.sizeMultiplier+.5|0),n.removeAttribute(“height”),u=n.getAttribute(“data-elementtiming”),u&&n.setAttribute(“elementtiming”,u),n.src=r.src,n.getAttribute(“data-record-deferred-loadtime”)===”true”&&n.setAttribute(“data-load-time”,a.now()),t.lowq&&r.loadingSrc==t.lowq?(t.lowqLoaded=!0,e.remove(n,vt),d(n,t)):(e.add(n,st),e.remove(n,et),e.remove(n,ot)))}function lt(n,t){if(!t||!t.src)return!1;var i=nt(n);return i.loadedSrc!=t.src&&t.src!=i.loadingSrc}function ri(n,t){if(!n)return null;if(t)t.src||(t={src:t});else{if(t=ct(n),!t)return null;var r=t.dpi||1;r!=i.client&&(t.src=nr(t.src,i.client/r))}return t}function ui(n,t){n&&(t=ri(n,t),lt(n,t)&&d(n,t))}function nt(n){var t=n.imgSrcObj;return t||n.nodeName!=”IMG”||(t={img:n,id:b.length},n.imgSrcObj=t,b[n.imgSrcObj.id]=t),t}function d(n,t){var r=nt(n,t),u,i;r.isInViewport===undefined&&(r.isInViewport=!0);r.loadingSrc=t.src;t.w&&t.h?n.setAttribute(ft,”width:”+t.w+”rem;height:”+t.h+”rem;”):n.hasAttribute(ft)&&n.removeAttribute(ft);e.add(n,ot);e.remove(n,st);e.remove(n,et);u=(t.lowqLoaded?null:t.lowq)||t.src;i=new h;i.onload=function(){i.onload=null;i.onerror=null;ti(n,function(){ii(n,t,i)},t)};i.onerror=function(){i.onload=null;i.onerror=null;ti(n,function(){tr(n,t,i)},t)};i.src=i.loadingSrc=u}var tt,v,y,it=(c.clientSettings||{}).imgsrc||{},ei=it.quality_high||60,ir=it.quality_low||5,oi=it.order_timeout||1e3,si=1,hi=1,ci=!1,rt,g=0,at=100*i.client,ut=”data-noupdate”,li=”data-src”,ft=”style”,et=”err”,ot=”loading”,st=”loaded”,vt=”lowq”,yt=function(){return 10},pt=function(){return 10},b=[],p=2,wt=/([?&]w=|_w)(d+)/,bt=/([?&]h=|_h)(d+)/,ai=/([?&]q=|_q)(d+)/,kt=”data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAIBTAA7″,dt={all:0,auto:1,none:2}[(location.search.match(/[?&]llibf=([^&#]+)/i)||[])[1]]||1,w,ht;return o._llic=gt,w=f.getDimensions(),n.listen(ki),ht=!1,require([“c.deferred”],function(){ht=!0;vi();k()}),o.loadDeferredImages=k,{go:ui,reset:ui,noUpdate:ut,data:kt,checkLoad:gt,isInViewport:f.isInViewport,loadInViewport:k,dataOffsetAttr:”data-offset”,force:wi,clearImages:yi}});define(“imageLoad”,[“imgSrc”,”classList”,”document”,”window”],function(n,t,i,r){function a(){s();n.isInViewport?y():f(i.querySelectorAll(“main img[data-src]”),c)}function s(n){u(“.ip .swipenav>li:first-child+li img,.carousel .slides li+li img”,”defer”,n);u(“.sip .swipenav>li:first-child+li img,.carousel .slides li+li img”,”defer”,n);u(“.ip .swipenav>li+li+li img”,”wait”,n);u(“.sip .swipenav>li+li+li img”,”wait”,n);u(“.todaystripe .pipedheadlinelistwithimage img”,”defer”,n)}function v(n,t){typeof n==”string”&&(n=i.querySelector(n));s(n);o(n,t)}function y(){e=!1;h(i.getElementById(“precontent”));f((i.getElementById(“main”)||{}).childNodes,p);h(i.getElementById(“aside”))}function p(i){var r=!1,u;return!t.contains(i,”mestripeouter”)&&i.querySelector(“img[data-src]”)&&(u=n.isInViewport(i,0,0),u?(e=!0,o(i)):e&&(r=!0)),r}function h(t){var i=!1;return t&&t.querySelector(“img[data-src]”)&&n.isInViewport(t,0,0)&&(i=!0,o(t)),i}function o(n,t){f(n.querySelectorAll(“img[data-src]”),function(n){c(n,t)})}function c(n){var i;return n&&(!n.src||!t.contains(n,”loaded”)&&!t.contains(n,”loading”))&&l(n,i)?!0:!1}function f(n,t){var i,r;if(n&&n.length)for(i=0;r=n[i];++i)if(r.nodeType==1&&t(r))break}function u(n,r,u){f((u||i).querySelectorAll(n),function(n){t.add(n,r)})}var l=n.checkLoad||r._llic,e;return{cleanup:a,module:v}});define(“autoSizeFlex”,[“jquery”,”jqBehavior”,”mediator”,”pixelToRem”,”dir.tokens”],function(n,t,i,r,u){function f(n){function e(){var i;(t=n.children(“:visible”).last(),f.length&&t.length)&&(i=u.ltr?t.offset().left-n.offset().left+t.outerWidth():f.offset().left-t.offset().left+f.outerWidth(!0),i!==n.width()&&n.width(r(i)+”rem”))}var t,f=n.children().first();return i.sub(“tabChanged”,e),{setup:e,update:e}}return t(f)});require([“binding”,”c.dom”],function(n){n(“autoSizeFlex”,”.autosizeflex”).all()});define(“allPageBindings”,function(){return function(n){var t=function(t){t(n)};require([“pageBindings”],t);require([“pageBindings.pc”],t);require([“pageBindings.pc-!ms.ie10plus”],t)}});require([“allPageBindings”],function(n){n(“html”)});define(“navigation”,[“escape”,”location”,”document”],function(n,t,i){function o(t,i,r){var u=t[i],e,f;if(!u||u.length===0)return””;for(e=””,f=0;f=0&&(t=h),t==h)?”warn”:t==y?”info”:(c&&(s.push({m:e.urlPart(n),t:t,d:f()}),g()),t==y?”info”:t==h?”warn”:”error”)}function a(n,t,i){if(r.console){if(!i&&n==”info”)return;if(!i&&n==”warn”)return;var u=console[n];u&&typeof u==”function”?console[n](t):console.log&&console.log(t)}}function v(n){var r=[],t,i;if(n)for(t=0;t