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 v(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-f>=u}function y(){var e=r();if(v(e))return _(e);m=setTimeout(y,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=v(e);if(c=arguments,l=this,p=e,n){if(void 0===m)return function(e){return f=e,m=setTimeout(y,t),b?h(e):d}(p);if(g)return clearTimeout(m),m=setTimeout(y,t),h(p)}return void 0===m&&(m=setTimeout(y,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),v=(e={})=>w("load_more_comments",e);const y=(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})})})},O=e=>{const t=_(100);e.appendChild(t),E(t,()=>
1{w("article_complete")})},x=()=>{const e=document.getElementById("main");var t,n;[(null===(t=window.JSGlobals.article)||void 0===t?void 0:t.isNews)&&"true"===y("feat__article_complete_tracking_news"),(null===(n=window.JSGlobals.article)||void 0===n?void 0:n.isCommercial)&&"true"===y("feat__article_complete_tracking_commercial")].some(Boolean)&&e&&((e=>{"static"===window.getComputedStyle(e).position&&(e.style.position="relative")})(e),S(e),O(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";const F="ssr-auth-state",N="/internal-api",B=`${N}/comments/nickname/verify`,U=`${N}/comments/nickname/submit`,H="/login",J="ANONYMOUS",G="AUTHENTICATED",q=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])},W="returnPath",V={foreground:31,background:41,light:"#AA0000",dark:"#ed4e4c"},z={foreground:33,background:43,light:"#AA5500",dark:"#d2c057"},Y="light",Q="dark",K=e=>e===s?"":`[${e.replace(/^_+|_+$/g,"")}]`,Z=e=>`color: ${e};`,X=e=>("undefined"==typeof window||"function"!=typeof window.matchMedia?Y:window.matchMedia("(prefers-color-scheme: dark)").matches?Q:Y)===Q?e.dark:e.light,ee=new Map,te=e=>{if("undefined"==typeof window)return"prod"!=={NODE_ENV:"production",npm_config_domain:""}.SERVER;if(!ee.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);ee.set(e,n.has(e))}return ee.get(e)||"true"===y(e)};function ne(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 oe;let re=0;const ie=()=>{return"undefined"!=typeof window&&(void 0===oe&&(oe=!0===(null===(e=window.JSGlobals)||void 0===e||null===(e=e.featureFlags)||void 0===e?void 0:e.feat__sentry)),oe);var e},ae=(e,t)=>{const n=()=>te(s)||te(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?ne(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({text:r?(i=e,`%c${i}`):e},r?{style:Z(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(...re>0?e:o(e))},info:(...e)=>{n()&&console.info(...re>0?e:o(e))},group:(...e)=>{n()&&(console.group(...o(e)),re+=1)},groupCollapsed:(...e)=>{n()&&(console.groupCollapsed(...o(e)),re+=1)},groupEnd:(...e)=>{n()&&(re=Math.max(0,re-1),console.groupEnd(...e))},table:(...e)=>{n()&&console.table(...e)},warn:(...e)=>{var t;n()&&console.warn(...o(e,X(z))),ie()&&(null===(t=window.Sentry)||void 0===t||t.captureException(...e))},error:(...e)=>{var t;n()&&console.error(...o(e,X(V))),ie()&&(null===(t=window.Sentry)||void 0===t||t.captureException(...e))},extend:(n,o)=>ae(e,[...t,{tag:n,color:o}]),logDate:e=>e.toLocaleString("en-GB",{timeZone:"UTC"})}},se=(({flagName:e,tagSegment:t={}})=>{const{tag:n,color:o}=t;return ae(e,[{tag:null!=n?n:K(e),color:o}])})({flagName:s}),{log:ce,info:le,warn:ue,error:de,group:me,groupEnd:pe,logDate:fe}=se;let be;function ge(e=document){if(void 0===e)return null;if(void 0!==be)return be;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){ce(e)}finally{var r;null===(r=document.getElementById(F))||void 0===r||r.remove()}return be=o,o}function we(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 he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?we(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(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=he(he({},t),e),n.forEach(e=>e(t))},subscribe:e=>(n.add(e),()=>n.delete(e))}}const ye=e=>{try{const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(t));return JSON.parse(n)}catch(e){return null}};function _e(){if(void 0===globalThis.window)return null;const e=(()=>{var e;const t=null!==(e=y("esi_auth"))&&void 0!==e?e:"";return ye(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 Ee(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 Se(){var e;const t=Math.random().toString(36).slice(2),n={status:J,loading:!1,__id__:t},o=ve(null!==(e="undefined"!=typeof window?ge(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(H,window.location.origin);e&&t.searchParams.set(W,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=_e();e?o.patch(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({status:G},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 xe(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 je(){var e;const t=Math.random().toString(36).slice(2),n={status:J,loading:!0,__id__:t},o=ve(null!==(e="undefined"!=typeof window?ge(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(H,window.location.origin);e&&t.searchParams.set(W,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(xe(xe({},n),{},{loading:!1}))}catch(e){throw de("[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 Pe="__indyAuthStore";function ke(){if("undefined"==typeof window)return Se();const e=window;if(e[Pe])return e[Pe];const t=q(c),n=t?je():Se();var o,r;t||(null===(o=(r=n.actions).loadProfile)||void 0===o||o.call(r));return e[Pe]=n,n}const Ce={get __id__(){return ke().__id__},get:()=>ke().get(),subscribe:e=>ke().subscribe(e),actions:{set:e=>ke().actions.set(e),patch:e=>ke().actions.patch(e),login:e=>ke().actions.login(e),logout:()=>ke().actions.logout(),loadProfile:()=>{var e,t;return null===(e=(t=ke().actions).loadProfile)||void 0===e?void 0:e.call(t)}}},Ae=(e,t=null)=>{const n=`; ${document.cookie}`.split(`; ${e}=`);
1return 2===n.length?decodeURIComponent(n.pop().split(";").shift()):t};const $e=e=>new Intl.NumberFormat("en",{notation:"compact",compactDisplay:"short",maximumFractionDigits:0,roundingMode:"floor"}).format(e).replace("K","k");const De=(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=De);const Te=(e,{id:t,async:n=!0,defer:o=document.location.search.includes("___FORCE_DEFER___"),parent:r=document.body,attributes:i}={})=>{window.JSGlobals=window.JSGlobals||{};const a=window.JSGlobals.loadedJS=[];return new Promise((s,c)=>{const l=(e instanceof Array?e:[e]).map(e=>a.includes(e)?Promise.resolve():new Promise((s,c)=>{const l=((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,{id:t,async:n,defer:o,ok:s,error:c,attributes:i});r.appendChild(l),a.push(e)}));return Promise.all(l).then(s,c)})},Ie="Thanks for your vote",Le="We'll share the results once the poll has closed. In the meantime, join the debate in the comments below.",Me="indyPollCopyObserver",Re="indy-standalone-poll-styles",Fe=[0,50,150,500],Ne=[e,"the-independent.com"],Be="polls.vote.vote_recorded",Ue="polls.vote.register_see_vote";let He=!1,Je=!1,Ge=!1,qe=!1;const We=[],Ve=()=>[...document.querySelectorAll("vf-poll, vf-widget")].filter(e=>!e.closest("vf-conversation-starter")),ze=()=>Ve().length>0,Ye=()=>(()=>{var e;const{domain:t}=null!==(e=window.JSGlobals)&&void 0!==e?e:{};return Ne.includes(t)})()&&ze(),Qe=e=>{var t,n,o;null!=e&&e.translations&&(e.translations[Be]=Ie,e.translations[Ue]=Le,null===(t=e.formatters)||void 0===t||delete t[Be],null===(n=e.formatters)||void 0===n||delete n[Ue],null===(o=e.beginIdle)||void 0===o||o.call(e,{[Be]:Ie,[Ue]:Le}))},Ke=e=>{const t=e.querySelector(".polls-authentication-prompt__title"),n=e.querySelector(".polls-authentication-prompt__subtitle");t instanceof HTMLElement&&n instanceof HTMLElement&&(t.textContent===Ie&&n.textContent===Le||(t.textContent=Ie,n.textContent=Le))}
1,Ze=e=>{Fe.forEach(t=>{window.setTimeout(()=>{Ke(e)},t)})},Xe=e=>{if("true"===e.dataset[Me])return;e.dataset[Me]="true";const t=new MutationObserver(()=>{Ke(e),Ze(e)});t.observe(e,{childList:!0,subtree:!0,characterData:!0}),We.push(t),Ze(e)},et=()=>{Ve().forEach(Xe)},tt=()=>{var e,t,n;Ye()&&((()=>{if(document.getElementById(Re))return;const e=document.createElement("style");e.id=Re,e.textContent=`\n [data-${Me}="true"] .vf-poll-content-wrapper__show-all-btn {\n display: none !important;\n }\n [data-${Me}="true"] .polls-authentication-prompt__action-button {\n display: inline-flex !important;\n }\n `,document.head.appendChild(e)})(),Qe(null===(e=window.vf)||void 0===e?void 0:e.language),!Je&&null!==(t=window.vf)&&void 0!==t&&t.$prepublish&&(Je=!0,window.vf.$prepublish((e,t,...n)=>("language"===e&&"load"===t&&Qe(n[0]),{channel:e,event:t,args:n}))),et(),(()=>{if(qe)return;qe=!0;const e=new MutationObserver(()=>{document.body.isConnected&&et()});e.observe(document.body,{childList:!0,subtree:!0}),We.push(e)})(),!Ge&&null!==(n=window.vf)&&void 0!==n&&n.$subscribe&&(Ge=!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)&&(Qe(null===(t=window.vf)||void 0===t?void 0:t.language),et(),Ve().forEach(Ze))})))};let nt=0,ot=!1;const rt=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})},it=e=>{var t;if(null===(t=window.vf)||void 0===t||!t.session)return;const n=y(i);if(n)return nt++,ce(`Commenting: Reauthenticating, attempt ${nt}`),window.vf.session.logout().catch(()=>{}).then(()=>window.vf.session.login.cookie(n)).catch(e=>{de("Commenting: Viafoura cookie login failed",e)}).then(()=>{e&&setTimeout(e,500)});de("Commenting: no esi_puid available, skipping Viafoura login.")},at=async(e,t)=>{const n=await(async e=>{const t=await rt(`${B}?__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 commenting 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(!q(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})},st=(e,t)=>{q(c)?at(e,t):((e,t)=>{rt(`${U}?__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)},ct=()=>{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;
1(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=>{st(o,({success:o,errorMessage:r})=>{o?(e.removeChild(n),t instanceof HTMLDivElement&&(t.style.display="block"),it()):alert(r)})});e.appendChild(n)},lt=()=>{window.vf.context.get("user").then(e=>{e&&("guest"===e.user_privilege||y(i)!==e.social_login_id?it(()=>{nt<10&<()}):"anonymous"===e.name.toLowerCase()&&(ce("Commenting: User has not set nickname, initialising nickname form"),ct()))})},ut=()=>{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")&&v())})},dt=()=>(()=>{const{status:e}=Ce.get();return e===G})(),mt=async()=>{try{await Ce.actions.logout(),e=`${window.location.pathname}${window.location.search}`,location.href=e}catch(e){de("Commenting: logout failed â visitor remains signed in.",e)}var e},pt=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")})},ft=()=>{ut(),tt(),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),v()};null==e||e.addEventListener("click",n)}})()}catch(e){de("Commenting: Error in initViafora()->limitCommentingHeight()",e)}dt()?lt():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 De("Commenting",null!==(i=e.sourcePath)&&void 0!==i?i:""),!1}return{channel:e,event:t,args:n}}),window.vf.$subscribe("login","failure",(...e)=>{de("Commenting: Viafoura rejected the cookie login",...e)}),window.vf.$subscribe("authentication","logout",()=>{((e={})=>{w("logout_success",e)})(),mt()}),window.vf.$subscribe("comment-reply","posted",()=>{h({commentType:"reply"})})},bt=()=>{if(!dt())return null;const e=Ce.get();return e.status===G&&e.uid?(y(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},gt=async()=>{(document.getElementById("comments")||ze()||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?$e(t):t.toString()}catch(e){console.error(e)}return(0).toString()})().then(pt),await(async()=>{bt()})(),(()=>{if(ot)return;ot=!0;let e=Ce.get().status;Ce.subscribe(t=>{var n;const o=e===G;e=t.status,t.status===G&&(bt(),!o&&null!==(n=window.vf)&&void 0!==n&&n.session&&(nt=0,it(()=>{nt<10&<()})))})})(),(()=>{if(!Ye()||He)return;He=!0;const e=window.vfAsyncInit;window.vfAsyncInit=()=>{var t;"function"==typeof e&&e(),!Je&&null!==(t=window.vf)&&void 0!==t&&t.$prepublish&&(Je=!0,window.vf.$prepublish((e,t,...n)=>("language"===e&&"load"===t&&Qe(n[0]),{channel:e,event:t,args:n})))}})(),window.vfQ=window.vfQ||[],window.vfQ.push(ft),Te("//cdn.viafoura.net/entry/index.js"))},wt=async()=>{document.getElementsByClassName("fb-post").length>0&&await Te("https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v11.0")},ht=()=>{var e;const{url:t}=(null===(e=window.JSGlobals)||void 0===e?void 0:e.heyFlow)||{};t?t&&Te(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 Te("https://www.instagram.com/embed.js")},yt=async()=>{const e=y(a)||"";
1[t,o].includes(e)||await Te("https://sdk.k-words.io/script.js",{attributes:[["data-kwords-site-id","9614266d-5149-4180-848d-69cb140f6022"]]})},_t=()=>{const e=document.querySelectorAll("[data-parallax]");e.length&&window.addEventListener("scroll",function(){e.forEach(e=>{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 Et=n(49852);let St=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}({});St.ALL_ACCESS,St.PAID_MEMBERSHIP,St.STANDARD,St.NEWSLETTER_MEMBER,St.AD_FREE,St.SUPPORTER,St.REGISTERED,St.ANONYMOUS;const Ot=[St.PAID_MEMBERSHIP,St.ALL_ACCESS],xt=(St.PAID_MEMBERSHIP,St.ALL_ACCESS,St.STANDARD,[St.AD_FREE,St.PAID_MEMBERSHIP,St.ALL_ACCESS]),jt=[St.STANDARD],Pt=()=>{if("undefined"==typeof window)return!1;if(q(c)){const e=Ce.get();return e.status===G&&Ot.includes(e.userStatus)}return"true"===y("subscriber")};var kt=n(64015);function Ct(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 At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var $t=Object.defineProperty,Dt=(e,t)=>
1$t(e,"name",{value:t,configurable:!0});function Tt(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}Dt(Tt,"upperFirst");const It=Dt((e,t)=>{throw new Error(`Value for ${e} must be greater or equal to ${t}`)},"handleError");function Lt(e){return e<1&&It("minWidth",1),`(min-width: ${e}px)`}function Mt(e){return e<2&&It("maxWidth",2),`(max-width: ${e-1}px)`}function Rt(e){return Object.entries(e).sort(([,e],[,t])=>e>t?1:-1)}function Ft(e){return Rt(e).reduce((e,[t,n],o,r)=>{const i=r[o+1],a=Lt(n),s=i&&Mt(i[1]),c=Mt(n);if(i&&n===i[1])throw new Error(`Duplicate width value of ${n} detected for ${t} and ${i[0]}`);return e=At(At({},e),{},{[t]:a,[`max${Tt(t)}`]:c,[`only${Tt(t)}`]:i?`${a} and ${s}`:a})},{})}Dt(Lt,"minWidth"),Dt(Mt,"maxWidth"),Dt(Rt,"sortSizesAscending"),Dt(Ft,"generateMediaQueryRules");const Nt=Ft({mobile:360,tablet:768,laptop:1e3,desktop:1250}),{mobile:Bt,maxMobile:Ut,onlyMobile:Ht,tablet:Jt,maxTablet:Gt,onlyTablet:qt,laptop:Wt,maxLaptop:Vt,onlyLaptop:zt,desktop:Yt,maxDesktop:Qt,onlyDesktop:Kt}=Nt;Symbol.toStringTag;let Zt=!1;const Xt=async()=>{window.matchMedia(Wt).matches&&!Zt&&(await Te(["https://cdn.mediavoice.com/nativeads/script/esi/esi-rr-collection.js"]),Zt=!0)},en=async()=>{document.getElementsByClassName("reddit-embed-bq").length>0&&await Te("https://embed.reddit.com/widgets.js")},tn="taboola-below-article-1",nn="taboola-carousel-thumbnails",on="taboola-mid-article-thumbnails",rn="taboola-mid-article-thumbnails-us-premium",an={[St.ALL_ACCESS]:"Member | Full Access",[St.STANDARD]:"Member | Standard Access",[St.NEWSLETTER_MEMBER]:"Member | Inside Football"};const sn=new Set(Object.values(St)),cn=e=>sn.has(e),ln=()=>{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;return cn(e)?e:Object.keys(an).find(t=>an[t]===e)})(t);return{isSubscriber:!!e&&Ot.includes(e),isAdFreeUser:!!e&&xt.includes(e),isAdLiteUser:!!e&&jt.includes(e)}}const n=Boolean(window.mosCanBookmark),o=Boolean(window.mosAdFree);return n||o?{isSubscriber:n,isAdFreeUser:o,isAdLiteUser:!1}:void 0},un=()=>{if("undefined"==typeof window)return!1;if(q(c)){const e=ln();if(e)return e.isAdFreeUser}return Pt()||(()=>{const e=Ce.get();return e.status===G&&e.isAdFreeUser})()},dn=()=>{var e;return!(null===(e=window.JSGlobals)||void 0===e||!e.isBulletin)};function mn(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 pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mn(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const fn="homepage",bn="category",gn=[{mode:"thumbnails-d1",container:tn,placement:"Below Article Thumbnails",target_type:"mix"},{mode:"alternating-thumbnails-d1",container:nn,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 Thumbn
1ails Crime",target_type:"mix"}],wn=[{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"}],hn=[{mode:"alternating-thumbnails-stream-1x4",container:`${on}-ii`,placement:"Mid Article Thumbnails II",target_type:"mix"},{mode:"alternating-thumbnails-stream-1x4-a",container:`${on}-iii`,placement:"Mid Article Thumbnails III",target_type:"mix"},{mode:"alternating-thumbnails-stream-1x4",container:`${rn}-ii`,placement:"Mid Article Thumbnails Premium Articles",target_type:"mix"},{mode:"alternating-thumbnails-stream-1x4-a",container:`${rn}-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[pn(pn({},e),{},{container:"taboola-bulletin-mid-article-thumbnails"}),pn(pn({},e),{},{container:"taboola-bulletin-mid-article-thumbnails-two"}),{mode:"thumbnails-rr-2x3",container:"taboola-more-bulletins",placement:"More bulletins",target_type:"mix"}]},yn=()=>{const{host:e,pathname:t}=window.location;return`//${e}${t}`},_n=()=>{window._taboola=window._taboola||[];const{article:e,section:t,sectionName:n}=window.JSGlobals,o=!!e,r=!!t,i=[],a=dn(),{sectionUnits:s=[],pageType:c}=window.JSGlobals.taboola||{};if(e&&c){const t=a?"photo":c;JSGlobals.isLiveBlog||window._taboola.push({[t]:"auto",url:yn()});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?fn:bn;window._taboola.push({[e]:"auto"}
1),s.forEach(t=>{delete t.category,(e===fn&&t.pageType===fn||e===bn&&t.pageType===bn)&&i.push(t)}),i.push(...wn)}if(o){const e=[tn,nn,`${on}-ii`];[...hn,...gn].forEach(t=>{e.includes(t.container)&&"true"===y("feat__use_light_ad_rules")&&"true"===y("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})},En=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 Te([`//cdn.taboola.com/libtrc/${n}/loader.js`])}catch{await Te([`//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")},Sn=async()=>{if(!window.JSGlobals.taboola||un())return;const{sectionUnits:e=[]}=window.JSGlobals.taboola;[...gn,...hn,...wn,...e,...dn()?vn():[]].some(e=>e.container&&document.getElementById(e.container))&&((()=>{const e=yn();localStorage.setItem("subscription-cause",e)})(),await(async()=>{await En(),_n()})())},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"))},xn=document.documentElement;let jn=!1;const Pn=()=>xn.classList.contains("indy-ready"),kn=e=>{jn||(jn=!0,e())},Cn=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})})(xn,()=>{Pn()&&kn(e)})};var An={maxInProgress:5,failFast:!1,nextCheck:function(e,t){return Promise.resolve(e.amountStarted<t.length)},ignoreIsFunctionCheck:!1};function $n(e,t){return new Promise(function(n,o){(function(e,t){return new Promise(function(n,o){var r=Object.assign({},An,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 Dn(e,t){return $n(e,Object.assign({},{failFast:!0},t))}const Tn={};let In;const Ln=()=>Date.now()-In,Mn=e=>{const t=Ln();ce(`finished ${e} load @ ${t}, duration ${t-Tn[e]}`),delete Tn[e]},Rn=e=>Object.keys(e).map(t=>async()=>{const n=e[t];if(n){(e=>{const t=Ln();Tn[e]=t,ce(`starting ${e} load @ ${t}`)})(t);try{if("function"==typeof n)await n(),Mn(t);else if(await n.method(),Mn(t),n.dependents){me(`${t} deps`),await Dn(Rn(n.dependents)),pe()}}catch(e){console.warn(`Error caught in ${t}()`),console.error(e)}}}),Fn=async e=>{for(let t=0;t<e.length;t++){me(`group ${t+1}`),await Dn(Rn(e[t])),pe()}};let Nn=!1;const Bn=()=>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&&(Nn=!0),t.gdprApplies){if(ce("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 ce('Consent Or Pay: tcData.publisher?.consents?.["1"] ---\x3e',t),void e(!0);e(!1)}else e(!0);else ce("Consent Or Pay: !['useractioncomplete', 'tcloaded'].includes(tcData.eventStatus) ---\x3e",{tcData:t,eventStatus:t.eventStatus})})});var Un;const Hn=window.JSGlobals,Jn=Hn.domain,Gn=Jn===e,qn="independentespanol.com"===Jn,Wn=dn(),Vn=Hn.hasTaboola&&!un(),zn="undefined"!=typeof document&&null!==document.querySelector("#articleContent heyflow-wrapper"),Yn=Ae(a),Qn=null!=Yn?Yn:t;let Kn;const Zn=[{consent:{method:async()=>{Kn=![t,r].includes(Qn)||await Bn()},dependents:{taboola:!!Vn&&(async()=>{Kn&&await Sn()})}}},{initComments:Hn.userComments&&!Wn&>},{polar:!qn&&(()=>{Xt(),window.addEventListener("resize",kt(Xt,500))}),parallax:_t,redditEmbed:en,instagramEmbed:vt,twitterWidgets:On,persistentPlayer:async()=>{q(c)&&await((e=5e3)=>{const t=Ce.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(Ce.get(),!1),e);n=Ce.subscribe(e=>{e.loading||o(e,!0)})}):Promise.resolve({state:t,isSettled:!0})})();const e=Pt(),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",Et(t,100)),t()}else(()=>{const e=document.querySelector(".video-top-container.video");if(!e)return;const t=document.querySelector(".video-hero-wrapper"),n=document.querySelector("#video-popout-close");let o=2e4;(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<620&&(o=1e4);const r="sticky",i=new IntersectionObserver(e=>{e.forEach(e=>{e.intersectionRatio<.5&&e.boundingClientRect.top<0?(t.style.height=`${t.clientHeight}px`,e.target.classList.add(r)):(t.style.height=null,e.target.classList.remove(r))})},{threshold:.5});i.observe(e),n&&(n.addEventListener("click",()=>{e.classList.add("closed")}),n.classList.contains("sensitive")?n.classList.add("shown"):setTimeout(()=>{n.classList.add("shown")},o))})()},facebookSDK:wt},{heyFlow:Gn&&(Boolean(null===(Un=Hn.article)||void 0===Un?void 0:Un.hasHeyflowForm)||zn)&&ht},{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:yt,trackArticleComplete:x}];var Xn;Xn=async()=>await Fn(Zn),Pn()?Xn():(Cn(Xn),(e=>{setTimeout(()=>kn(e),3e3)})(Xn))})()})();
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.