(()=>{"use strict";var t={1682:(t,e,r)=>{r.p="localhost"===window.location.hostname?"/assets/":`${window.guardian.app.data.CAPI.config.frontendAssetsFullURL}assets/`}},e={};function r(a){var s=e[a];if(void 0!==s)return s.exports;var n=e[a]={exports:{}};return t[a](n,n.exports,r),n.exports}r.p="",(()=>{r(1682);((t,e,r)=>{const a=()=>{((t,e)=>{const{start:r,end:a}=(t=>{const e=window.performance,r=`${t}-start`,a=`${t}-end`;return e?{start:()=>{e.mark(r)},end:()=>{e.mark(a),e.measure(t,r,a),console.log(JSON.stringify(e.getEntriesByName(t)));const s=e.getEntriesByName(t,"measure"),n=s&&s[0]&&s[0].duration||0;return Math.round(n)},clear:()=>{e.clearMarks(r)}}:{start:()=>{},end:()=>0,clear:()=>{}}})(t);r(),e().then((()=>{a()})).catch((()=>{a()}))})("atomIframe",r.bind(null,null))};window.guardian.mustardCut||window.guardian.polyfilled?a():window.guardian.queue.push(a)})(0,0,(()=>(t=>{const e=[].slice.call(document.querySelectorAll(".atom__iframe"));return window.addEventListener("message",(t=>{const r=e.find((e=>{try{return e.name===t.source.name}catch(t){return!1}}));if(r)try{const e=JSON.parse(t.data);switch(e.type){case"set-height":r.height=e.value}}catch(t){}})),e.forEach((t=>{const e=(t.getAttribute("srcdoc")||"").replace(/<gu-script>/g,"<script>").replace(/<\/gu-script>/g,"<\/script>");t.setAttribute("srcdoc",e)})),Promise.resolve()})()))})()})();
//# sourceMappingURL=atomIframe.93ee0e1cdf91e7aba883.js.map