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