vendor: 4,379 bytes, line 1
1(()=>{var e={91238(e,t,n){var o=n(27650).Symbol;e.exports=o},84847(e,t,n){var o=n(91238),r=n(31034),i=n(56713),a=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?r(e):i(e)}},77687(e,t,n){var o=n(41725),r=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(r,""):e}},20683(e,t,n){var o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=o},31034(e,t,n){var o=n(91238),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,s=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var r=a.call(e);return o&&(t?e[s]=n:delete e[s]),r}},56713(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},27650(e,t,n){var o=n(20683),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},41725(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},49852(e,t,n){var o=n(80320),r=n(3819),i=n(67167),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,l,u,d,m,p,f=0,b=!1,g=!1,w=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=c,o=l;return c=l=void 0,f=t,d=e.apply(o,n)}function y(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-f>=u}function v(){var e=r();if(y(e))return _(e);m=setTimeout(v,function(e){var n=t-(e-p);return g?s(n,u-(e-f)):n}(e))}function _(e){return m=void 0,w&&c?h(e):(c=l=void 0,d)}function E(){var e=r(),n=y(e);if(c=arguments,l=this,p=e,n){if(void 0===m)return function(e){return f=e,m=setTimeout(v,t),b?h(e):d}(p);if(g)return clearTimeout(m),m=setTimeout(v,t),h(p)}return void 0===m&&(m=setTimeout(v,t)),d}return t=i(t)||0,o(n)&&(b=!!n.leading,u=(g="maxWait"in n)?a(i(n.maxWait)||0,t):u,w="trailing"in n?!!n.trailing:w),E.cancel=function(){void 0!==m&&clearTimeout(m),f=0,c=p=l=m=void 0},E.flush=function(){return void 0===m?d:_(r())},E}},80320(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},26487(e){e.exports=function(e){return null!=e&&"object"==typeof e}},74151(e,t,n){var o=n(84847),r=n(26487);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==o(e)}},3819(e,t,n){var o=n(27650);e.exports=function(){return o.Date.now()}},64015(e,t,n){var o=n(49852),r=n(80320);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return r(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),o(e,t,{leading:i,maxWait:t,trailing:a})}},67167(e,t,n){var o=n(77687),r=n(80320),i=n(74151),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),(()=>{"use strict";const e="independent.co.uk",t="uk",o="us",r="eu",i="esi_puid",a="subscriber_origin",s="__DEBUG__",c="feat__mos_migration";function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}function d(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m="indy",p=`${m}:spError`;function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?f(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const g=(e,t={})=>(((e,t={})=>{const n=JSON.stringify(t,null,2),o=n.split("\n").reduce((e,t)=>t.length>=e?t.length:e,0),r=e.length,i=Math.max(r,o),a=` ${e.padEnd(i)} `,s=n.split("\n").map(e=>` ${e.padEnd(i)} `),c=s.length>1?`%c${s.slice(0,1)}\n%c${s.slice(1,-1).join("\n")}\n%c${s.slice(-1)}\n`:`%c${s[0]}\n`,l=s.length>1?["font-family:monospace; background: #333; color: #eee; padding-top: 5px;","font-family:monospace; background: #333; color: #eee;","font-family:monospace; background: #333; color: #eee; padding-bottom: 10px; border-radius: 0 0 6px 6px"]:["font-family:monospace; background: #333; color: #eee; padding-top: 5px; padding-bottom: 10px; border-radius: 0 0 6px 6px"];console.log(`%c${a}\n${c}`,"font-family:monospace; background: #333; color: #eee; border-bottom: 1px solid #666; padding: 5px 0; border-radius: 6px 6px 0 0",...l)})(`CustomEvent: ${e}`,t),new CustomEvent("analytics-trigger",{detail:{data:b({},t),eventName:e}})),w=(e,t)=>{return n=g(e,t),void document.body.dispatchEvent(n);var n};const h=(e={})=>w("comment",e),y=(e={})=>w("load_more_comments",e);const v=(e,t=null)=>{var n,o;const r=`; ${document.cookie}`.split(`; ${e}=`);return 2===r.length?decodeURIComponent(null!==(n=null===(o=r.pop())||void 0===o?void 0:o.split(";").shift())&&void 0!==n?n:""):t},_=e=>{const t=document.createElement("div");return t.style.cssText=`position: absolute; top: ${e}%; left: 0; width: 0; height: 1px; pointer-events: none;`,t.dataset.scrollDepth=`${e}`,t},E=(e,t)=>{const n=new IntersectionObserver(o=>{var r;null!==(r=o[0])&&void 0!==r&&r.isIntersecting&&(t(),n.disconnect(),e.remove())},{threshold:0});n.observe(e)},S=e=>{[25,50,75].forEach(t=>{const n=_(t);e.appendChild(n),E(n,()=>{((e={})=>{w("article_scroll_depth",e)})({article_percent_scrolled:t})})})},x=e=>{const t=_(100);e.appendChild(t),E(t,()=>
1{w("article_complete")})},O=()=>{const e=document.getElementById("main");var t,n;[(null===(t=window.JSGlobals.article)||void 0===t?void 0:t.isNews)&&"true"===v("feat__article_complete_tracking_news"),(null===(n=window.JSGlobals.article)||void 0===n?void 0:n.isCommercial)&&"true"===v("feat__article_complete_tracking_commercial")].some(Boolean)&&e&&((e=>{"static"===window.getComputedStyle(e).position&&(e.style.position="relative")})(e),S(e),x(e))},j="indy_affiliate_user_id",P=()=>{const e=(()=>{try{const e=localStorage.getItem(j);if(!e)return null;const t=JSON.parse(e);if(t.expiresAt>Date.now())return t.id}catch(e){}return null})();if(e)return e;const t="undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});return(e=>{try{const t={id:e,expiresAt:Date.now()+63072e6};localStorage.setItem(j,JSON.stringify(t))}catch(e){}})(t),t},k=["ascsubtag","subtag","subid","sub_id","clickref","click_ref","pubref","aff_sub","affsub","aff_sub2","aff_sub3","aff_sub4","aff_sub5","urclick","awc","awclickref","sid","u1","afftrack","subId","subId1","subId2","subId3","sharedid","sharedId","tduid","publisher_sub_name","epire","clickId","clickid","customid","customId","xcust","fobs","rfsn","af_sub1","af_sub2","af_sub3","af_sub4","af_sub5"],C=["u","q","url","link","redirect","destination","plainlink","dest","target","goto","forward","outbound","r","DL","ued","murl","UL","urllink","urltarget","urldest"],A=["cuid"],$=/(^|\.)((prf\.hn)|(pxf\.io)|(sjv\.io))$/i,D=/\/pubref:([^/]+)/,T=(e,t)=>{const n=`_${t}`;return e.endsWith(n)?e:`${e}${n}`},I=(e,t)=>{const n=`|uid:${t}`;return e.includes(n)?e:`${e}${n}`},L=(e,t,n=0)=>
1{if(n>6)return e;try{const o=new URL(e);let r=!1;return r||=((e,t)=>{let n=!1;for(const o of k){const r=e.searchParams.get(o);r&&(e.searchParams.set(o,T(r,t)),n=!0)}return n})(o,t),r||=((e,t)=>{if(!$.test(e.hostname))return!1;const n=`_${t}`;if(e.pathname.includes(n))return!0;const o=e.pathname.replace(D,(e,n)=>`/pubref:${T(n,t)}`);return o!==e.pathname&&(e.pathname=o,!0)})(o,t),r||=((e,t,n)=>{for(const o of C){const r=e.searchParams.get(o);if(!r)continue;const i=L(r,t,n+1);if(i!==r)return e.searchParams.set(o,i),!0}return!1})(o,t,n),r||=((e,t)=>{let n=!1;for(const o of A){const r=e.searchParams.get(o);r&&(e.searchParams.set(o,I(r,t)),n=!0)}return n})(o,t),r?o.toString():e}catch(t){return e}},M="js-comment",R="js-comment-count",N=["Registration is a free and easy way to support our truly independent journalism"];const F="ssr-auth-state",B="/internal-api",U=`${B}/comments/nickname/verify`,H=`${B}/comments/nickname/submit`,J="/login",G="ANONYMOUS",q="AUTHENTICATED",W=e=>{var t;return"undefined"!=typeof window&&Boolean(null===(t=window.JSGlobals)||void 0===t||null===(t=t.featureFlags)||void 0===t?void 0:t[e])},V="returnPath",z={foreground:31,background:41,light:"#AA0000",dark:"#ed4e4c"},Y={foreground:33,background:43,light:"#AA5500",dark:"#d2c057"},Q="light",K="dark",Z=e=>e===s?"":`[${e.replace(/^_+|_+$/g,"")}]`,X=e=>`color: ${e};`,ee=e=>("undefined"==typeof window||"function"!=typeof window.matchMedia?Q:window.matchMedia("(prefers-color-scheme: dark)").matches?K:Q)===K?e.dark:e.light,te=new Map,ne=e=>{if("undefined"==typeof window)return"prod"!=={NODE_ENV:"production",npm_config_domain:""}.SERVER;if(!te.has(e)){var t;const n=new URLSearchParams(null===(t=window)||void 0===t||null===(t=t.location)||void 0===t?void 0:t.search);te.set(e,n.has(e))}return te.get(e)||"true"===v(e)};function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}let re;let ie=0;const ae=()=>{return"undefined"!=typeof window&&(void 0===re&&(re=!0===(null===(e=window.JSGlobals)||void 0===e||null===(e=e.featureFlags)||void 0===e?void 0:e.feat__sentry)),re);var e},se=(e,t)=>{const n=()=>ne(s)||ne(e),o=(e,n)=>{const o=t.filter(({tag:e})=>""!==e);if(0===o.length)return e;const r=o.map(({tag:e,color:t})=>{const o=null!=n?n:t,r=void 0!==o;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({text:r?(i=e,`%c${i}`):e},r?{style:X(o)}:{});var i}),[i,a,...s]=e,c=r.reduce((e,{text:t})=>e+t,""),l=r.filter(e=>"style"in e).map(({style:e})=>e);if("string"==typeof i){return"string"==typeof a&&a.includes("color")&&i.startsWith("%c")?[`${c} ${i}`,...l.concat(a),...s]:[c,...l,i,...e.slice(1)]}return[c,...l,...e]};return{log:(...e)=>{n()&&console.log(...ie>0?e:o(e))},info:(...e)=>{n()&&console.info(...ie>0?e:o(e))},group:(...e)=>{n()&&(console.group(...o(e)),ie+=1)},groupCollapsed:(...e)=>{n()&&(console.groupCollapsed(...o(e)),ie+=1)},groupEnd:(...e)=>{n()&&(ie=Math.max(0,ie-1),console.groupEnd(...e))},table:(...e)=>{n()&&console.table(...e)},warn:(...e)=>{var t;n()&&console.warn(...o(e,ee(Y))),ae()&&(null===(t=window.Sentry)||void 0===t||t.captureException(...e))},error:(...e)=>{var t;n()&&console.error(...o(e,ee(z))),ae()&&(null===(t=window.Sentry)||void 0===t||t.captureException(...e))},extend:(n,o)=>se(e,[...t,{tag:n,color:o}]),logDate:e=>e.toLocaleString("en-GB",{timeZone:"UTC"})}},ce=(({flagName:e,tagSegment:t={}})=>{const{tag:n,color:o}=t;return se(e,[{tag:null!=n?n:Z(e),color:o}])})({flagName:s}),{log:le,info:ue,warn:de,error:me,group:pe,groupEnd:fe,logDate:be}=ce;let ge;function we(e=document){if(void 0===e)return null;if(void 0!==ge)return ge;const t=e.getElementById(F),n=null==t?void 0:t.textContent;let o=null;try{if(!n)throw new Error("No auth snapshot found in DOM");o=JSON.parse(atob(n))}catch(e){le(e)}finally{var r;null===(r=document.getElementById(F))||void 0===r||r.remove()}return ge=o,o}function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?he(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ve(e){let t=e;const n=new Set;return{get:()=>t,set:e=>{t=e,n.forEach(e=>e(t))},patch:e=>{t=ye(ye({},t),e),n.forEach(e=>e(t))},subscribe:e=>(n.add(e),()=>n.delete(e))}}const _e=e=>{try{const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(t));return JSON.parse(n)}catch(e){return null}};function Ee(){if(void 0===globalThis.window)return null;const e=(()=>{var e;const t=null!==(e=v("esi_auth"))&&void 0!==e?e:"";return _e(t)})();if(!e)return null;const{email:t,given_name:n,family_name:o,userStatus:r,pUid:i,exp:a,isAdFreeUser:s,isActiveRecurringDonator:c,adFreeExpiryTimestamp:l,recurringDonatorExpiryTimestamp:u,permutiveId:d}=e;return{email:t,givenName:n,familyName:o,userStatus:r,uid:i,exp:a,isAdFreeUser:s,isActiveRecurringDonator:c,adFreeExpiryTimestamp:l,recurringDonatorExpiryTimestamp:u,permutiveId:d}}function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function xe(){var e;const t=Math.random().toString(36).slice(2),n={status:G,loading:!1,__id__:t},o=ve(null!==(e="undefined"!=typeof window?we(document):void 0)&&void 0!==e?e:n);return{__id__:t,get:o.get,subscribe:o.subscribe,actions:{set:o.set,patch:o.patch,login:e=>{o.patch({loading:!0});const t=new URL(J,window.location.origin);e&&t.searchParams.set(V,e),window.location.href=t.toString()},logout:async()=>{o.patch({loading:!0});try{await fetch("/user/logout",{credentials:"include"})}finally{o.set(n)}},loadProfile:()=>{const e=Ee();e?o.patch(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({status:q},e)):o.set(n)}}}}function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Pe(){var e;const t=Math.random().toString(36).slice(2),n={status:G,loading:!0,__id__:t},o=ve(null!==(e="undefined"!=typeof window?we(document):null)&&void 0!==e?e:n);return{__id__:t,get:o.get,subscribe:o.subscribe,actions:{set:o.set,patch:o.patch,login:e=>{o.patch({loading:!0});const t=new URL(J,window.location.origin);e&&t.searchParams.set(V,e),window.location.href=t.toString()},logout:async()=>{o.patch({loading:!0});try{await async function(){const e=window.__indyFirebaseLogout;if(!e)throw new Error("[Firebase Auth] Firebase logout is not available. Ensure init-firebase.js loaded before invoking logout.");await e()}(),o.set(je(je({},n),{},{loading:!1}))}catch(e){throw me("[Firebase Auth] Logout failed â user remains signed in.",e),o.patch({loading:!1}),e}},loadProfile:()=>{var e,t;null===(e=(t=window).__indyFirebaseRefreshUserProfile)||void 0===e||e.call(t)}}}}const ke="__indyAuthStore";function Ce(){if("undefined"==typeof window)return xe();const e=window;if(e[ke])return e[ke];const t=W(c),n=t?Pe():xe();var o,r;t||(null===(o=(r=n.actions).loadProfile)||void 0===o||o.call(r));return e[ke]=n,n}const Ae={get __id__(){return Ce().__id__},get:()=>Ce().get(),subscribe:e=>Ce().subscribe(e),actions:{set:e=>Ce().actions.set(e),patch:e=>Ce().actions.patch(e),login:e=>Ce().actions.login(e),logout:()=>Ce().actions.logout(),loadProfile:()=>{var e,t;return null===(e=(t=Ce().actions).loadProfile)||void 0===e?void 0:e.call(t)}}},$e=(e,t=null)=>{const n=`; ${document.cookie}`.split(`; ${e}=`);
1return 2===n.length?decodeURIComponent(n.pop().split(";").shift()):t};const De=e=>new Intl.NumberFormat("en",{notation:"compact",compactDisplay:"short",maximumFractionDigits:0,roundingMode:"floor"}).format(e).replace("K","k");const Te=(e,t)=>{const n=document.getElementById("loginButton"),o=document.getElementById("registerLink");o&&o.setAttribute("href",function(e,t){if(!e&&!t)return"/register";const n=new URLSearchParams;return e&&n.append("regSourceMethod",e),t&&n.append("regSourceSection",t),`/register?${n.toString()}`}(e,t)),localStorage.setItem("returnUrl",window.location.href),localStorage.setItem("regSourceMethod",e),localStorage.setItem("regSourceSection",t),n&&n.click()};"undefined"!=typeof window&&(window.__indyOpenLoginDrawer=Te);const Ie=(e,{async:t=!0,defer:n=document.location.search.includes("___FORCE_DEFER___"),parent:o=document.body,attributes:r}={})=>{window.JSGlobals=window.JSGlobals||{};const i=window.JSGlobals.loadedJS=[];return new Promise((a,s)=>{const c=(e instanceof Array?e:[e]).map(e=>i.includes(e)?Promise.resolve():new Promise((a,s)=>{const c=((e,{id:t,async:n,defer:o,ok:r,error:i,attributes:a})=>{const s=document.createElement("script");return s.onload=r,s.onerror=i,t&&"undefined"!==t&&(s.id=t),n&&!o&&s.setAttribute("async",""),o&&s.setAttribute("defer",""),a&&a.forEach(([e,t])=>{s.setAttribute(e,t)}),s.src=e,s})(e,{async:t,defer:n,ok:a,error:s,attributes:r});o.appendChild(c),i.push(e)}));return Promise.all(c).then(a,s)})},Le="Thanks for your vote",Me="We'll share the results once the poll has closed. In the meantime, join the debate in the comments below.",Re="indyPollCopyObserver",Ne="indy-standalone-poll-styles",Fe=[0,50,150,500],Be=[e,"the-independent.com"],Ue="polls.vote.vote_recorded",He="polls.vote.register_see_vote";let Je=!1,Ge=!1,qe=!1,We=!1;const Ve=[],ze=()=>[...document.querySelectorAll("vf-poll, vf-widget")].filter(e=>!e.closest("vf-conversation-starter")),Ye=()=>ze().length>0,Qe=()=>(()=>{var e;const{domain:t}=null!==(e=window.JSGlobals)&&void 0!==e?e:{};return Be.includes(t)})()&&Ye(),Ke=e=>{var t,n,o;null!=e&&e.translations&&(e.translations[Ue]=Le,e.translations[He]=Me,null===(t=e.formatters)||void 0===t||delete t[Ue],null===(n=e.formatters)||void 0===n||delete n[He],null===(o=e.beginIdle)||void 0===o||o.call(e,{[Ue]:Le,[He]:Me}))},Ze=e=>{const t=e.querySelector(".polls-authentication-prompt__title"),n=e.querySelector(".polls-authentication-prompt__subtitle");t instanceof HTMLElement&&n instanceof HTMLElement&&(t.textContent===Le&&n.textContent===Me||(t.textContent=Le,n.textContent=Me))},Xe=e=>{Fe.forEach(t=>{window.setTimeout(()=>{Ze(e)},t)})},et=e=>{if("true"===e.dataset[Re])return;e.dataset[Re]="true";const t=new MutationObserver(()=>{Ze(e),Xe(e)});t.observe(e,{childList:!0,subtree:!0,characterData:!0}),Ve.push(t),Xe(e)},tt=()=>{ze().forEach(et)},nt=()=>{var e,t,n;Qe()&&((()=>{if(document.getElementById(Ne))return;const e=document.createElement("style");e.id=Ne,e.textContent=`\n [data-${Re}="true"] .vf-poll-content-wrapper__show-all-btn {\n display: none !important;\n }\n [data-${Re}="true"] .polls-authentication-prompt__action-button {\n display: inline-flex !important;\n }\n `,document.head.appendChild(e)})(),Ke(null===(e=window.vf)||void 0===e?void 0:e.language),!Ge&&null!==(t=window.vf)&&void 0!==t&&t.$prepublish&&(Ge=!0,window.vf.$prepublish((e,t,...n)=>("language"===e&&"load"===t&&Ke(n[0]),{channel:e,event:t,args:n}))),tt(),(()=>{if(We)return;We=!0;const e=new MutationObserver(()=>{document.body.isConnected&&tt()});e.observe(document.body,{childList:!0,subtree:!0}),Ve.push(e)})(),!qe&&null!==(n=window.vf)&&void 0!==n&&n.$subscribe&&(qe=!0,window.vf.$subscribe("analytics","interaction",e=>{var t;(e=>"object"==typeof e&&null!==e&&"widget_subtype"in e&&"label"in e&&"poll"===e.widget_subtype&&"vote"===e.label)(e)&&(Ke(null===(t=window.vf)||void 0===t?void 0:t.language),tt(),ze().forEach(Xe))})))};let ot=0,rt=!1;const it=async(e,t)=>{const n=new FormData;Object.keys(t).forEach(e=>{n.append(e,t[e])});return await fetch(e,{method:"POST",mode:"same-origin",cache:"no-cache",credentials:"same-origin",body:n})},at=e=>{var t;if(null===(t=window.vf)||void 0===t||!t.session)return;const n=v(i);if(n)return ot++,le(`Commenting: Reauthenticating, attempt ${ot}`),window.vf.session.logout().catch(()=>{}).then(()=>window.vf.session.login.cookie(n)).catch(e=>{me("Commenting: Viafoura cookie login failed",e)}).then(()=>{e&&setTimeout(e,500)});me("Commenting: no esi_puid available, skipping Viafoura login.")},st=async(e,t)=>{const n=await(async e=>{const t=await it(`${U}?__amp_source_origin=${window.location.origin}`,{nickname:e});if(200!==t.status)try{var n;const e=await t.json();return(null==e||null===(n=e.verifyErrors)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.message)||(null==e?void 0:e.message)||"Please choose a different c
1ommenting name"}catch{return"Please choose a different commenting name"}})(e);if(n)return void t({success:!1,errorMessage:n});const o=await async function(e){if(!W(c))return{success:!1,errorMessage:"Commenting name update is not available."};try{var t,n;window.__firebaseAuthReady&&await window.__firebaseAuthReady;const o=window.__indyFirebaseUpdateCommentingNickname;if(!o)throw new Error("[Firebase Profile] Commenting nickname update is not available. Ensure init-firebase.js loaded before commenting.");return await o(e),await(null===(t=(n=window).__indyFirebaseRefreshUserProfile)||void 0===t?void 0:t.call(n)),{success:!0}}catch(e){return{success:!1,errorMessage:e instanceof Error?e.message:"Commenting name update failed"}}}(e);o.success?t({success:!0}):t({success:!1,errorMessage:o.errorMessage})},ct=(e,t)=>{W(c)?st(e,t):((e,t)=>{it(`${H}?__amp_source_origin=${window.location.origin}`,{nickname:e}).then(e=>{if(200!==e.status)return e.json().then(({message:e})=>{t({success:!1,errorMessage:e})});t({success:!0})}).catch(e=>{t({success:!1,errorMessage:e.message})})})(e,t)},lt=()=>{const[e]=document.getElementsByClassName("vf-post-form"),t=e.firstElementChild;t instanceof HTMLDivElement&&(t.style.display="none");const n=(e=>{const t=document.createElement("div"),n=document.createElement("h2"),o=document.createElement("p"),r=document.createElement("div"),i=document.createElement("input"),a=document.createElement("button");return t.id="add-nickname-form",n.innerHTML="We have noticed you don't have a commenting name yet.",o.innerHTML="Your commenting name is what people will see when you make any comments across Independent articles. Please don't use anything rude or anything that could identify you.",i.setAttribute("placeholder","Commenting name"),i.setAttribute("pattern","^[A-Za-z0-9]{3,40}$"),i.required=!0,a.innerHTML="SUBMIT",a.disabled=!0,t.appendChild(n),t.appendChild(o),t.appendChild(r),r.appendChild(i),r.appendChild(a),a.addEventListener("click",({target:t})=>{if(t instanceof HTMLInputElement&&t.disabled)return!1;e(i.value.trim())}),i.addEventListener("keypress",e=>{var t;(t=e.key.charCodeAt(0))>64&&t<91||t>96&&t<123||8===t||t>=48&&t<=57||e.preventDefault()}),i.addEventListener("input",e=>{a.disabled=e.target instanceof HTMLInputElement&&!e.target.checkValidity()}),t})(o=>{ct(o,({success:o,errorMessage:r})=>{o?(e.removeChild(n),t instanceof HTMLDivElement&&(t.style.display="block"),at()):alert(r)})});e.appendChild(n)},ut=()=>{window.vf.context.get("user").then(e=>{e&&("guest"===e.user_privilege||v(i)!==e.social_login_id?at(()=>{ot<10&&ut()}):"anonymous"===e.name.toLowerCase()&&(le("Commenting: User has not set nickname, initialising nickname form"),lt()))})},dt=()=>{var e;null===(e=document.getElementById("comments"))||void 0===e||e.addEventListener("click",({target:e})=>{var t;e instanceof HTMLElement&&(e.className.split(" ").some(e=>e.startsWith("vf-content-actions__like")||e.startsWith("vf-content-actions__dislike"))?((e={})=>{w("vote_comment_click",e)})({}):["Flag","Flagged"].includes(null===(t=e.innerText)||void 0===t?void 0:t.trim())?((e={})=>{w("flag_comment_click",e)})({}):e.closest(".vf-load-more__button")&&y())})},mt=()=>(()=>{const{status:e}=Ae.get();return e===q})(),pt=async()=>{try{await Ae.actions.logout(),e=`${window.location.pathname}${window.location.search}`,location.href=e}catch(e){me("Commenting: logout failed â visitor remains signed in.",e)}var e},ft=e=>{const t=document.getElementsByClassName(M),n=document.querySelectorAll('a[href="#comments-area"]');[...t].forEach(t=>{if(t instanceof HTMLElement){const n=t.querySelector(`.${R}`);t.dataset.count=e.toString()||"0",n&&(n.innerHTML=e.toString()||"")}}),[...document.getElementsByClassName(M)].forEach(e=>{if(e instanceof HTMLElement){var t;const n=e.querySelector(`.${R}`),o=e.querySelector(".js-comment-plural"),r=null!==(t=e.dataset.count)&&void 0!==t?t:"",i=parseInt(null!=r?r:"");if(!n||!o)return;o.innerHTML=1===i?"Comment":"Comments",n.innerHTML=i>0?r:'<span class="comments-empty"></span>'}}),[...n].forEach(e=>{e.classList.remove("is-disabled"),e.setAttribute("aria-disabled","false"),e.setAttribute("tabindex","0")})}
1,bt=()=>{dt(),nt(),window.vf.$prepublish((e,t,...n)=>{if(console.log(`Commenting: channel = ${e}; event = ${t};`),"commenting"===e&&"loaded"===t){try{(()=>{const e=document.getElementById("comments"),t=(null==e?void 0:e.offsetHeight)||0,n=new URLSearchParams(document.location.search).get("__vfz");if(t>600&&!n){null==e||e.classList.add("height-limited");const t=document.createElement("button");t.className="show-more",t.innerHTML="See more comments",null==e||e.appendChild(t);const n=()=>{null==e||e.removeChild(t),null==e||e.classList.remove("height-limited"),null==e||e.removeEventListener("click",n),y()};null==e||e.addEventListener("click",n)}})()}catch(e){me("Commenting: Error in initViafora()->limitCommentingHeight()",e)}mt()?ut():null===(o=window.vf)||void 0===o||null===(o=o.context)||void 0===o||o.get("user").then(e=>{var t;0!==e.id&&(null===(t=window.viafoura)||void 0===t||t.session.logout())})}var o;if("comment"===e&&"created"===t&&h({commentType:"first comment"}),"authentication"===e&&("required"===t||"needed"===t)){var r,i;const[e]=null!==(r=window.JSGlobals.sections)&&void 0!==r?r:[];return Te("Commenting",null!==(i=e.sourcePath)&&void 0!==i?i:""),!1}return{channel:e,event:t,args:n}}),window.vf.$subscribe("login","failure",(...e)=>{me("Commenting: Viafoura rejected the cookie login",...e)}),window.vf.$subscribe("authentication","logout",()=>{((e={})=>{w("logout_success",e)})(),pt()}),window.vf.$subscribe("comment-reply","posted",()=>{h({commentType:"reply"})})},gt=()=>{if(!mt())return null;const e=Ae.get();return e.status===q&&e.uid?(v(i)!==e.uid&&((e,t,n)=>{const o=new Date;if(n&&(n.days||n.hours)){const e=n.days?24*n.days*60*60*1e3:60*n.hours*60*1e3;o.setTime(o.getTime()+e)}const r=[];r.push(`${e}=${encodeURIComponent(t)}`),r.push("path=/"),r.push("secure"),n&&r.push(`expires=${o.toUTCString()}`),document.cookie=r.join(";")})(i,e.uid,{days:365}),e.uid):null},wt=async()=>{(document.getElementById("comments")||Ye()||document.querySelector("vf-livequestions"))&&((async()=>{var e,t;const{endpoint:n,section_uuid:o}=null!==(e=null===(t=window.JSGlobals)||void 0===t?void 0:t.viafoura)&&void 0!==e?e:{},r="article_original_source_id"in window.digitalData?null===(i=window.digitalData.article_original_source_id)||void 0===i?void 0:i.replace("b",""):"article_id_root"in window.digitalData?window.digitalData.article_id_root:"";var i;const a={method:"POST",headers:{accept:"application/json","content-type":"application/json"},body:JSON.stringify([r])};try{var s;const e=await fetch(`${n}/v4/livecomments/${o}/content-containers/comment-count-and-status/by-container-ids`,a),t=(null===(s=(await e.json())[0])||void 0===s?void 0:s.commentCount)||0;return t>=1e4?De(t):t.toString()}catch(e){console.error(e)}return(0).toString()})().then(ft),await(async()=>{gt()})(),(()=>{if(rt)return;rt=!0;let e=Ae.get().status;Ae.subscribe(t=>{var n;const o=e===q;e=t.status,t.status===q&&(gt(),!o&&null!==(n=window.vf)&&void 0!==n&&n.session&&(ot=0,at(()=>{ot<10&&ut()})))})})(),(()=>{if(!Qe()||Je)return;Je=!0;const e=window.vfAsyncInit;window.vfAsyncInit=()=>{var t;"function"==typeof e&&e(),!Ge&&null!==(t=window.vf)&&void 0!==t&&t.$prepublish&&(Ge=!0,window.vf.$prepublish((e,t,...n)=>("language"===e&&"load"===t&&Ke(n[0]),{channel:e,event:t,args:n})))}})(),window.vfQ=window.vfQ||[],window.vfQ.push(bt),Ie("//cdn.viafoura.net/entry/index.js"))},ht=async()=>{document.getElementsByClassName("fb-post").length>0&&await Ie("https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v11.0")},yt=()=>{var e;const{url:t}=(null===(e=window.JSGlobals)||void 0===e?void 0:e.heyFlow)||{};t?t&&Ie(t):console.error("No heyFlow URL is found",{cause:window.JSGlobals?"heyFlow object is missing or does not contain a URL":"JSGlobals is undefined"})},vt=async()=>{document.getElementsByClassName("instagram-media").length>0&&await Ie("https://www.instagram.com/embed.js")},_t=async()=>{const e=v(a)||"";[t,o].includes(e)||await Ie("https://sdk.k-words.io/script.js",{attributes:[["data-kwords-site-id","9614266d-5149-4180-848d-69cb140f6022"]]})},Et=()=>{const e=document.querySelectorAll("[data-parallax]");e.length&&window.addEventListener("scroll",function(){e.forEach(e
1=>{var t;const n=e.getBoundingClientRect().top;if(!n||n>window.innerHeight)return;const o=null!==(t=e.dataset.parallax)&&void 0!==t?t:"",r=(e=>{const t=window.innerHeight;let n=0;for(let t=e;t;t=t.offsetParent)n+=t.offsetTop;return n<t?n:t})(e),i=(r-n)*-(parseFloat(o)-1);e.style.transform=`translateY(${i.toFixed(0)}px)`})})};var St=n(49852);let xt=function(e){return e.ALL_ACCESS="all-access",e.PAID_MEMBERSHIP="premium",e.STANDARD="standard",e.NEWSLETTER_MEMBER="member",e.AD_FREE="ad-free",e.SUPPORTER="supporter",e.REGISTERED="registered",e.ANONYMOUS="anonymous",e}({});xt.ALL_ACCESS,xt.PAID_MEMBERSHIP,xt.STANDARD,xt.NEWSLETTER_MEMBER,xt.AD_FREE,xt.SUPPORTER,xt.REGISTERED,xt.ANONYMOUS;const Ot=[xt.PAID_MEMBERSHIP,xt.ALL_ACCESS],jt=(xt.PAID_MEMBERSHIP,xt.ALL_ACCESS,xt.STANDARD,[xt.AD_FREE,xt.PAID_MEMBERSHIP,xt.ALL_ACCESS]),Pt=[xt.STANDARD],kt=()=>{if("undefined"==typeof window)return!1;if(W(c)){const e=Ae.get();return e.status===q&&Ot.includes(e.userStatus)}return"true"===v("subscriber")};var Ct=n(64015);function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function $t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?At(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Dt=Object.defineProperty,Tt=(e,t)=>Dt(e,"name",{value:t,configurable:!0});function It(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}Tt(It,"upperFirst");const Lt=Tt((e,t)=>{throw new Error(`Value for ${e} must be greater or equal to ${t}`)},"handleError");function Mt(e){return e<1&&Lt("minWidth",1),`(min-width: ${e}px)`}function Rt(e){return e<2&&Lt("maxWidth",2),`(max-width: ${e-1}px)`}function Nt(e){return Object.entries(e).sort(([,e],[,t])=>e>t?1:-1)}function Ft(e){return Nt(e).reduce((e,[t,n],o,r)=>{const i=r[o+1],a=Mt(n),s=i&&Rt(i[1]),c=Rt(n);if(i&&n===i[1])throw new Error(`Duplicate width value of ${n} detected for ${t} and ${i[0]}`);return e=$t($t({},e),{},{[t]:a,[`max${It(t)}`]:c,[`only${It(t)}`]:i?`${a} and ${s}`:a})},{})}Tt(Mt,"minWidth"),Tt(Rt,"maxWidth"),Tt(Nt,"sortSizesAscending"),Tt(Ft,"generateMediaQueryRules");const Bt=Ft({mobile:360,tablet:768,laptop:1e3,desktop:1250}),{mobile:Ut,maxMobile:Ht,onlyMobile:Jt,tablet:Gt,maxTablet:qt,onlyTablet:Wt,laptop:Vt,maxLaptop:zt,onlyLaptop:Yt,desktop:Qt,maxDesktop:Kt,onlyDesktop:Zt}=Bt;Symbol.toStringTag;let Xt=!1;const en=async()=>{window.matchMedia(Vt).matches&&!Xt&&(await Ie(["https://cdn.mediavoice.com/nativeads/script/esi/esi-rr-collection.js"]),Xt=!0)},tn=async()=>{document.getElementsByClassName("reddit-embed-bq").length>0&&await Ie("https://embed.reddit.com/widgets.js")},nn="taboola-below-article-1",on="taboola-carousel-thumbnails",rn="taboola-mid-article-thumbnails",an="taboola-mid-article-thumbnails-us-premium";const sn=new Set(Object.values(xt)),cn=e=>sn.has(e),ln={"Member | Full Access":xt.ALL_ACCESS,"Member | Standard Access":xt.STANDARD,"Member | Inside Football":xt.NEWSLETTER_MEMBER},un=()=>{if("undefined"==typeof window)return;const e=(()=>{if("undefined"==typeof window||!Array.isArray(window.dataLayerMOS))return;const e=window.dataLayerMOS.filter(e=>"mos_data_sync"===e.event);return e[e.length-1]})();if(!e)return;const{user_status:t}=e;if(t){const e=(e=>{if(e)return cn(e)?e:ln[e]})(t);return{isSubscriber:!!e&&Ot.includes(e),isAdFreeUser:!!e&&jt.includes(e),isAdLiteUser:!!e&&Pt.includes(e)}}const n=Boolean(window.mosCanBookmark),o=Boolean(window.mosAdFree);return n||o?{isSubscriber:n,isAdFreeUser:o,isAdLiteUser:!1}:void 0},dn=()=>{if("undefined"==typeof window)return!1;if(W(c)){const e=un();if(e)return e.isAdFreeUser}return kt()||(()=>{const e=Ae.get();return e.status===q&&e.isAdFreeUser})()},mn=()=>{var e;return!(null===(e=window.JSGlobals)||void 0===e||!e.isBulletin)};function pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function fn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?pn(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const bn="homepage",gn="category",wn=[{mode:"thumbnails-d1",container:nn,placement:"Below Article Thumbnails",target_type:"mix"},{mode:"alternating-thumbnails-d1",container:on,placement:"Mid Article Thumbnails",target_type:"mix"},{mode:"thumbnails-k1",container:"taboola-right-rail",placement:"Right Rail Thumbnails",target_type:"mix"},{mode:"organic-thumbs-feed-01",container:"taboola-below-indy-best-feed",placement:"Below Indy Best Feed",target_type:"mix"},{mode:"thumbs-feed-01-c-rd",container:"taboola-below-article-thumbnails",placement:"Below Article Thumbnails",target_type:"mix"},{mode:"rbox-tracking",container:"taboola-newsroom",placement:"Newsroom"},{mode:"thumbs-feed-hero-1sc-6sc-esi-inde",container:"taboola-ms-hero",placement:"MS Hero",target_type:"mix"},{mode:"thumbnails-mid-a",container:"taboola-mid-article-thumbnails-live-blogs",placement:"Mid Article Thumbnails Live Blogs",target_type:"mix"},{mode:"thumbnails-stream-1x4-a_sc",container:"taboola-mid-article-thumbnails-crime",placement:"Mid Article Thumbnails Crime",target_type:"mix"},{mode:"thumbnails-a-sc",container:"taboola-below-article-thumbnails-crime",placement:"Below Article Thumbnails Crime",target_type:"mix"},{mode:"thumbnails-rr-sc",container:"taboola-right-rail-thumbnails-crime",placement:"Right Rail Thumbnails Crime",target_type:"mix"}],hn=[{mode:"thumbs-feed-01",container:"taboola-below-section-front-feed",placement:"Below Section Front Feed",target_type:"mix"},{mode:"thumbs-feed-01",container:"taboola-mobile-below-section-front-feed",placement:"Mobile Below Section Front Feed",target_type:"mix"},{mode:"thumbs-feed-01",container:"taboola-trigger-deeper-dive",placement:"Trigger Deeper Dive"}],yn=[{mode:"alternating-thumbnails-stream-1x4",container:`${rn}-ii`,placement:"Mid Article Thumbnails II",target_type:"mix"},{mode:"alternating-thumbnails-stream-1x4-a",container:`${rn}-iii`,placement:"Mid Article Thumbnails III",target_type:"mix"},{mode:"alternating-thumbnails-stream-1x4",container:`${an}-ii`,placement:"Mid Article Thumbnails Premium Articles",target_type:"mix"},{mode:"alternating-thumbnails-stream-1x4-a",container:`${an}-iii`,placement:"Mid Article Thumbnails Premium Articles II",target_type:"mix"}],vn=()=>{const e={mode:"thumbnails-mid-b",placement:"Bulletin Article Feed",target_type:"mix"};return[fn(fn({},e),{},{container:"taboola-bulletin-mid-article-thumbnails"}),fn(fn({},e),{},{container:"taboola-bulletin-mid-article-thumbnails-two"}),{mode:"thumbnails-rr-2x3",container:"taboola-more-bulletins",placement:"More bulletins",target_type:"mix"}]},_n=()=>{const{host:e,pathname:t}=window.location;return`//${e}${t}`},En=()=>{window._taboola=window._taboola||[];const{article:e,section:t,sectionName:n}=window.JSGlobals,o=!!e,r=!!t,i=[],a=mn(),{sectionUnits:s=[],pageType:c}=window.JSGlobals.taboola||{};if(e&&c){const t=a?"photo":c;JSGlobals.isLiveBlog||window._taboola.push({[t]:"auto",url:_n()});const n=document.getElementById("stickyFooterContainer");window._taboola.push({listenTo:"visible",handler:e=>{e.detail.placement.includes("Below Article Thumbnails | Card 19")&&n&&(n.style.display="none")}}),(e=>{var t;const{user_status:n,uid:o}=window.digitalData;var r;window._taboola.push({unified_id:o,user_type:(r=n,{premium:"subscriber",registered:"registered",anonymous:"guest"}[r]||"other"),paywall:null!==(t=e.premium)&&void 0!==t&&t&&"premium"!==n})})(e),e.premium&&window._taboola.push({premium:!0})}if(r){const e="News"===n?bn:gn;window._taboola.push({[e]:"auto"}
1),s.forEach(t=>{delete t.category,(e===bn&&t.pageType===bn||e===gn&&t.pageType===gn)&&i.push(t)}),i.push(...hn)}if(o){const e=[nn,on,`${rn}-ii`];[...yn,...wn].forEach(t=>{e.includes(t.container)&&"true"===v("feat__use_light_ad_rules")&&"true"===v("is_mobile_or_tablet")&&(t.placement+=" lal test"),i.push(t)}),a&&i.push(...vn())}i.forEach(e=>(e=>{if(e.container){const t=document.getElementById(e.container);t&&"none"!==window.getComputedStyle(t).getPropertyValue("display")&&window._taboola.push(e)}})(e)),window._taboola.push({flush:!0})},Sn=async()=>{var e,t;const n=(()=>{var e;const{publisherId:t,publisherIdIndyBest:n}=window.JSGlobals.taboola||{};return null!==(e=window.location.pathname)&&void 0!==e&&e.includes("indybest")?n:t})();try{await Ie([`//cdn.taboola.com/libtrc/${n}/loader.js`])}catch{await Ie([`//static.tblcontent.com/libtrc/${n}/loader.privacy.js`])}null===(e=window)||void 0===e||null===(e=e.performance)||void 0===e||null===(t=e.mark)||void 0===t||t.call(e,"tbl_ic")},xn=async()=>{if(!window.JSGlobals.taboola||dn())return;const{sectionUnits:e=[]}=window.JSGlobals.taboola;[...wn,...yn,...hn,...e,...mn()?vn():[]].some(e=>e.container&&document.getElementById(e.container))&&((()=>{const e=_n();localStorage.setItem("subscription-cause",e)})(),await(async()=>{await Sn(),En()})())},On=()=>{document.getElementsByClassName("twitter-post").length>0&&(window.twttr=function(e,t,n){let o,r=e.getElementsByTagName(t)[0],i=window.twttr||{};return e.getElementById(n)||(o=e.createElement(t),o.id=n,o.src="https://platform.twitter.com/widgets.js",r.parentNode.insertBefore(o,r),i._e=[],i.ready=function(e){i._e.push(e)}),i}(document,"script","twitter-wjs"))},jn=document.documentElement;let Pn=!1;const kn=()=>jn.classList.contains("indy-ready"),Cn=e=>{Pn||(Pn=!0,e())},An=e=>{((e,t)=>{if(!e)return;let n=e.classList.toString();const o=new MutationObserver(r=>{for(const i of r)if("class"===i.attributeName){const r=e.classList.toString();if(r!==n){t(o),n=r;break}}});o.observe(e,{attributes:!0})})(jn,()=>{kn()&&Cn(e)})};var $n={maxInProgress:5,failFast:!1,nextCheck:function(e,t){return Promise.resolve(e.amountStarted<t.length)},ignoreIsFunctionCheck:!1};function Dn(e,t){return new Promise(function(n,o){(function(e,t){return new Promise(function(n,o){var r=Object.assign({},$n,t),i={lastCompletedIndex:-1,amountDone:0,amountStarted:0,amountResolved:0,amountRejected:0,amountNextCheckFalsey:0,rejectedIndexes:[],resolvedIndexes:[],nextCheckFalseyIndexes:[],taskResults:[]};if(0===e.length)return n(i);for(var a=!1,s=0,c=function(e,t){if(i.taskResults[t]=e,i.rejectedIndexes.push(t),i.amountRejected++,!0===r.failFast)return i.lastCompletedIndex=t,a=!0,o(i);l(t)},l=function(t){if(!0!==a){if(i.amountDone++,i.lastCompletedIndex=t,"function"==typeof r.progressCallback&&r.progressCallback(i),i.amountDone===e.length)return n(i);s<e.length&&u(s++)}},u=function(t){r.nextCheck(i,e).then(function(n){!0===n?function(t){if(i.amountStarted++,"function"==typeof e[t])try{e[t]().then(function(e){i.taskResults[t]=e,i.resolvedIndexes.push(t),i.amountResolved++,l(t)},function(e){c(e,t)})}catch(e){c(e,t)}else{if(!0!==r.ignoreIsFunctionCheck)return a=!0,o(new Error("tasks["+t+"]: "+e[t]+", is supposed to be of type function"));i.taskResults[t]=e[t],i.resolvedIndexes.push(t),i.amountResolved++,l(t)}}(t):(i.amountNextCheckFalsey++,i.nextCheckFalseyIndexes.push(t),l(t))},o)},d=0;d<Math.min(r.maxInProgress,e.length);d++)u(s++)})})(e,t).then(function(e){n(e.taskResults)},function(e){e instanceof Error?o(e):o(e.taskResults[e.rejectedIndexes[0]])})})}function Tn(e,t){return Dn(e,Object.assign({},{failFast:!0},t))}const In={};let Ln;const Mn=()=>Date.now()-Ln,Rn=e=>{const t=Mn();le(`finished ${e} load @ ${t}, duration ${t-In[e]}`),delete In[e]},Nn=e=>Object.keys(e).map(t=>async()=>{const n=e[t];if(n){(e=>{const t=Mn();In[e]=t,le(`starting ${e} load @ ${t}`)})(t);try{if("function"==typeof n)await n(),Rn(t);else if(await n.method(),Rn(t),n.dependents){pe(`${t} deps`),await Tn(Nn(n.dependents)),fe()}}catch(e){console.warn(`Error caught in ${t}()`),console.error(e)}}}),Fn=async e=>{for(let t=0;t<e.length;t++){pe(`group ${t+1}`),await Tn(Nn(e[t])),fe()}};let Bn=!1;const Un=()=>new Promise(e=>{var t;if(null===(t=window.JSGlobals)||void 0===t||null===(t=t.cmp)||void 0===t||!t.enabled)return void e(!0);const n=document.getElementById("sp-script");
1if(n instanceof HTMLScriptElement&&n.error)return void e(!1);window.addEventListener(p,()=>{e(!1)});window.__tcfapi("addEventListener",2,(t,n)=>{var o;if(n)if(["useractioncomplete","tcloaded"].includes(t.eventStatus))if(window.__tcfapi("removeEventListener",2,()=>{},t.listenerId),"useractioncomplete"===t.eventStatus&&(Bn=!0),t.gdprApplies){if(le("Consent Or Pay: valid GDPR tcData ---\x3e",t),null!==(o=t.publisher)&&void 0!==o&&null!==(o=o.consents)&&void 0!==o&&o[1])return le('Consent Or Pay: tcData.publisher?.consents?.["1"] ---\x3e',t),void e(!0);e(!1)}else e(!0);else le("Consent Or Pay: !['useractioncomplete', 'tcloaded'].includes(tcData.eventStatus) ---\x3e",{tcData:t,eventStatus:t.eventStatus})})});var Hn;const Jn=window.JSGlobals,Gn=Jn.domain,qn=Gn===e,Wn="independentespanol.com"===Gn,Vn=mn(),zn=Jn.hasTaboola&&!dn(),Yn="undefined"!=typeof document&&null!==document.querySelector("#articleContent heyflow-wrapper"),Qn=$e(a),Kn=null!=Qn?Qn:t;let Zn;const Xn=[{consent:{method:async()=>{Zn=![t,r].includes(Kn)||await Un()},dependents:{taboola:!!zn&&(async()=>{Zn&&await xn()})}}},{initComments:Jn.userComments&&!Vn&&wt},{polar:!Wn&&(()=>{en(),window.addEventListener("resize",Ct(en,500))}),parallax:Et,redditEmbed:tn,instagramEmbed:vt,twitterWidgets:On,persistentPlayer:async()=>{W(c)&&await((e=5e3)=>{const t=Ae.get();return t.loading?new Promise(t=>{let n;const o=(e,o)=>{var i;clearTimeout(r),null===(i=n)||void 0===i||i(),t({state:e,isSettled:o})},r=setTimeout(()=>o(Ae.get(),!1),e);n=Ae.subscribe(e=>{e.loading||o(e,!0)})}):Promise.resolve({state:t,isSettled:!0})})();const e=kt(),t=document.querySelector(".article-liveblog");if(e&&t){let e;const t=function(){window.matchMedia("(min-width: 1000px)").matches?e=(()=>{const e=document.querySelector(".video-hero-wrapper"),t="sticky-video";let n;const o=()=>{window.matchMedia("(min-width: 930px)").matches&&(n=new IntersectionObserver(e=>{e.forEach(e=>{e.intersectionRatio<.5&&e.boundingClientRect.top<0?e.target.classList.add(t):e.target.classList.remove(t)})},{threshold:.5}),n.observe(e))};return window.addEventListener("orientationchange",o),{dispose(){n&&n.unobserve(e),window.removeEventListener("orientationchange",o)}}})():e&&e.dispose()};window.addEventListener("orientationchange",t),window.addEventListener("resize",St(t,100)),t()}else(()=>{var e;const t=document.querySelector(".video-top-container.video");if(!t)return;const n=document.querySelector(".video-hero-wrapper"),o=document.querySelector("#video-popout-close"),r=null===(e=document.getElementById("video_holder"))||void 0===e||null===(e=e.firstElementChild)||void 0===e||null===(e=e.firstElementChild)||void 0===e?void 0:e.id;let i=2e4;(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<620&&(i=1e4);const a="sticky",s=new IntersectionObserver(e=>{e.forEach(e=>{e.intersectionRatio<.5&&e.boundingClientRect.top<0?(n.style.height=`${n.clientHeight}px`,e.target.classList.add(a)):(n.style.height=null,e.target.classList.remove(a))})},{threshold:.5});s.observe(t),o&&(o.addEventListener("click",()=>{t.classList.add("closed")}),o.classList.contains("sensitive")?o.classList.add("shown"):setTimeout(()=>{o.classList.add("shown")},i)),"undefined"!=typeof jwplayer&&r&&(jwplayer(r).on("autostartNotAllowed",({error:e,reason:t,type:n})=>{le("jwplayer autostartNotAllowed",e,t,n)}),jwplayer(r).on("error",({code:e,message:t,sourceError:n,type:o})=>{le("jwplayer error",e,t,n,o)}),jwplayer(r).on("warning",({code:e,message:t,sourceError:n,type:o})=>{le("jwplayer warning",e,t,n,o)}))})()},facebookSDK:ht},{heyFlow:qn&&(Boolean(null===(Hn=Jn.article)||void 0===Hn?void 0:Hn.hasHeyflowForm)||Yn)&&yt},{geniuslinkAffiliateLinks:()=>{document.addEventListener("mousedown",e=>{const t=e.target.closest('a[data-ml="true"], a[data-affiliate="true"]');if(!t)return;const n=t.getAttribute("href");if(!n)return;const o=P();t.setAttribute("href",L(n,o))},{capture:!0})},kwords:_t,trackArticleComplete:O}];var eo;eo=async()=>await Fn(Xn),kn()?eo():(An(eo),(e=>{setTimeout(()=>Cn(e),3e3)})(eo))})()})();
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.