iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://www.huffpost.com/static-assets/cambria/app/news.b7adeebb8dbfc6235174.js
/*! For license information please see news.b7adeebb8dbfc6235174.js.LICENSE.txt */ (()=>{var e,t,n={84853:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(91203),o=n(73182);class a{constructor({cookieName:e,daysExpiry:t,env:n,namespace:a,sourceOfTruthDomain:i,throttleTimer:u=null,secureOnly:l=!0,localDomain:s=(0,o.O)()}){n="live"===n?"prod":n,this.xDomainCookies=new r.A({sourceOfTruthDomain:i||(0,o.M)(n),namespace:a,localDomain:s,env:n}),this.cookieName=e,this.daysExpiry=t,this.secureOnly=l,this.throttleTimer=u,this.inMemoryValue=null}get(){return this.throttle?Promise.resolve(this.inMemoryValue):this.xDomainCookies.get(this.cookieName).then((e=>(this.inMemoryValue=e,this.resetThrottle(),e)))}set(e){return this.inMemoryValue=e,this.xDomainCookies.set({name:this.cookieName,value:e,days:this.daysExpiry,secureOnly:this.secureOnly})}resetThrottle(){this.throttleTimer&&(this.throttle=setTimeout((()=>{this.throttle=null}),this.throttleTimer))}}},73182:(e,t,n)=>{"use strict";n.d(t,{M:()=>o,O:()=>r});const r=function(e=window){var t=e.location.hostname;const n=t.split(".")[0];return n&&"stage"!==n&&-1===["buzzfeed","buzzfeednews","tasty","huffpost","huffingtonpost"].indexOf(n)&&t.split(".").length>=3&&(t=t.substring(n.length+1)),t},o=function(e="dev"){return"dev"===e?"dev.buzzfeed.io":"prod"===e||"app-west"===e?"buzzfeed.com":"stage.buzzfeed.com"}},91203:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(42519);const o="destination-sync-init",a="destination-sync-read",i=function(e){return e.match(/^stage\./)?`https://${e}`:`https://www.${e}`};class u{constructor({sourceOfTruthDomain:e,localDomain:t,namespace:n,env:r="dev",updateInterval:o=3e5,iframeTimeout:a=3e3}){this.sourceOfTruthDomain=e,this.localDomain=t,this.env=r,this.namespace=n,this.iframeTimeout=a,this.cookies={},e!==t&&this.initIframe().then((()=>{setInterval(this.updateFromIframe.bind(this),o)})).catch((()=>{}))}get(e){return this.sourceOfTruthDomain===this.localDomain?Promise.resolve(r.A.get(e)):this.initIframe().then((()=>this.cookies[e]||r.A.get(e))).catch((()=>r.A.get(e)))}set({name:e,value:t,days:n,secureOnly:o=!0}){r.A.set({name:e,value:t,days:n,domain:this.localDomain}),this.sourceOfTruthDomain!==this.localDomain&&this.initIframe().then((()=>{var r={namespace:this.namespace,msgType:"destination-sync-write",cookieName:e,cookieVal:t,expiresDays:n,secureOnly:o};const a=i(this.sourceOfTruthDomain);this.iframe.contentWindow.postMessage(JSON.stringify(r),a)})).catch((()=>r.A.set({name:e,value:t,days:n,domain:this.localDomain})))}cleanup(){if(this.boundOnMessage&&window.removeEventListener("message",this.boundOnMessage),this.iframe){const e=new ErrorEvent({message:"XDomainCookies were cleaned up before ready"});this.iframe.dispatchEvent(e),this.iframe.remove()}this.iframeReady=null}initIframe(){if(this.iframeReady)return this.iframeReady;let e=new Promise(((e,t)=>{this.boundOnMessage=t=>{this.onMessage(t,e)},window.addEventListener("message",this.boundOnMessage),this.createIframe(t)}));var t;return this.iframeReady=Promise.race([(t=this.iframeTimeout,new Promise(((e,n)=>{const r={type:"timeout",msg:`${t}ms timeout exceeded`};setTimeout((()=>n(r)),t)}))),e]).catch((e=>{throw"prod"===this.env&&window.raven&&window.raven.captureException("timeout"===e.type?new Error(`Destination Sync: ${e.msg}`):e),console.error(e),e})),this.iframeReady}createIframe(e){const t=`xdomaincookies-${this.namespace}`,n=document.getElementById(t);if(n)return n.addEventListener("error",(t=>{e(t)})),this.iframe=n,void(this.iframe.dataset.loaded&&this.updateFromIframe());const r=JSON.stringify({namespace:this.namespace,windowOrigin:window.location.origin}),o=document.createElement("iframe");o.style.display="none",o.addEventListener("error",(t=>{e(t)})),o.id=t,o.src=function(e,t){return`${i(e)}/destination-sync.html#${encodeURIComponent(t)}`}(this.sourceOfTruthDomain,r),this.iframe=o,document.body.appendChild(o)}updateFromIframe(){const e={namespace:this.namespace,msgType:a},t=i(this.sourceOfTruthDomain);this.iframe.contentWindow.postMessage(JSON.stringify(e),t)}onMessage(e,t){let n={};try{n=JSON.parse(e.data)}catch(e){}n.namespace===this.namespace&&(n.msgType===o&&(this.iframe.dataset.loaded=!0),n.msgType!==o&&n.msgType!==a||(this.cookies=n.cookies),t())}}},42519:(e,t,n)=>{"use strict";function r(e,t){const n=e.match(t);return n&&n.length?n[0]:null}n.d(t,{A:()=>o});const o={getBuzzfeedSubdomainOrWildcard:e=>r(e,"(dev|stage|www).(buzzfeed|buzzfeednews).(com|io)$")||r(e,".?[a-z]+.[a-z]+$"),get(e,t=null){const n=`${e}=`;if("undefined"==typeof document)return t;const r=document.cookie.split(";");for(let e=0;e{"use strict";function r(e){return(e+="").indexOf("#")>-1?e.substr(0,e.indexOf("#")):e}function o(e,t="?"){let n=[];return Object.keys(e).forEach((t=>{n.push(`${t}=${encodeURIComponent(e[t])}`)})),(t||"")+n.join("&")}function a(e){const t=function(e){let t="";return function(e){return e.indexOf("?")>-1}(e=r(e))&&(t=e.substr(e.indexOf("?"),e.length)),t}(e);return function(e){if(""===e||null==e)return{};e.indexOf("?")>-1&&(e=e.substr(e.indexOf("?")+1,e.length));const t=(e=r(e)).split("&"),n={};return t.forEach((e=>{let[t,r=null]=e.split("=");n[t]=r})),n}(t)}n.d(t,{Mz:()=>a,cX:()=>o})},95298:(e,t,n)=>{"use strict";n.d(t,{bs:()=>s}),n(84853);var r=n(42519),o=n(73182);function a(e,t,n){var r,o,a,i,u,l,s;for(this.version="1.0.1",this.minAlphabetLength=16,this.sepDiv=3.5,this.guardDiv=12,this.errorAlphabetLength="error: alphabet must contain at least X unique characters",this.errorAlphabetSpace="error: alphabet cannot contain spaces",this.alphabet="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",this.seps="cfhistuCFHISTU",this.minHashLength=parseInt(t,10)>0?t:0,this.salt="string"==typeof e?e:"","string"==typeof n&&(this.alphabet=n),r="",o=0,i=this.alphabet.length;o!==i;o++)-1===r.indexOf(this.alphabet[o])&&(r+=this.alphabet[o]);if(this.alphabet=r,this.alphabet.lengththis.sepDiv)&&(1===(u=Math.ceil(this.alphabet.length/this.sepDiv))&&u++,u>this.seps.length?(l=u-this.seps.length,this.seps+=this.alphabet.substr(0,l),this.alphabet=this.alphabet.substr(l)):this.seps=this.seps.substr(0,u)),this.alphabet=this.consistentShuffle(this.alphabet,this.salt),s=Math.ceil(this.alphabet.length/this.guardDiv),this.alphabet.length<3?(this.guards=this.seps.substr(0,s),this.seps=this.seps.substr(s)):(this.guards=this.alphabet.substr(0,s),this.alphabet=this.alphabet.substr(s))}a.prototype.encode=function(){var e,t,n=Array.prototype.slice.call(arguments);if(!n.length)return"";for(n[0]instanceof Array&&(n=n[0]),e=0,t=n.length;e!==t;e++)if("number"!=typeof n[e]||n[e]%1!=0||n[e]<0)return"";return this._encode(n)},a.prototype.decode=function(e){return e.length&&"string"==typeof e?this._decode(e,this.alphabet):[]},a.prototype.encodeHex=function(e){var t,n,r;if(e=e.toString(),!/^[0-9a-fA-F]+$/.test(e))return"";for(t=0,n=(r=e.match(/[\w\W]{1,12}/g)).length;t!==n;t++)r[t]=parseInt("1"+r[t],16);return this.encode.apply(this,r)},a.prototype.decodeHex=function(e){var t,n,r=[],o=this.decode(e);for(t=0,n=o.length;t!==n;t++)r+=o[t].toString(16).substr(1);return r},a.prototype._encode=function(e){var t,n,r,o,a,i,u,l,s,c,f,d=this.alphabet,p=e.length,m=0;for(r=0,o=e.length;r!==o;r++)m+=e[r]%(r+100);for(n=t=d[m%d.length],r=0,o=e.length;r!==o;r++)a=e[r],i=n+this.salt+d,d=this.consistentShuffle(d,i.substr(0,d.length)),t+=u=this.hash(a,d),r+10&&(t=t.substr(f/2,this.minHashLength));return t},a.prototype._decode=function(e,t){var n,r,o,a,i=[],u=0,l=new RegExp("["+this.guards+"]","g"),s=e.replace(l," "),c=s.split(" ");if(3!==c.length&&2!==c.length||(u=1),void 0!==(s=c[u])[0]){for(n=s[0],s=s.substr(1),l=new RegExp("["+this.seps+"]","g"),u=0,r=(c=(s=s.replace(l," ")).split(" ")).length;u!==r;u++)o=c[u],a=n+this.salt+t,t=this.consistentShuffle(t,a.substr(0,t.length)),i.push(this.unhash(o,t));this._encode(i)!==e&&(i=[])}return i},a.prototype.consistentShuffle=function(e,t){var n,r,o,a,i,u;if(!t.length)return e;for(a=e.length-1,i=0,u=0;a>0;a--,i++)u+=n=t[i%=t.length].charCodeAt(0),o=e[r=(n+i+u)%a],e=(e=e.substr(0,r)+e[a]+e.substr(r+1)).substr(0,a)+o+e.substr(a+1);return e},a.prototype.hash=function(e,t){var n="",r=t.length;do{n=t[e%r]+n,e=parseInt(e/r,10)}while(e);return n},a.prototype.unhash=function(e,t){var n,r=0;for(n=0;n(e^(()=>{try{return crypto.getRandomValues(new Uint8Array(1))[0]}catch(e){return 255*Math.random()}})()&15>>e/4).toString(16))),l=e=>{if(0!==e.indexOf(".")){const t=/[0-9A-Za-z]+/.exec(e);return null!==t&&t[0]===e&&parseInt(e,36)}const t=e.substr(1,2);return((e,{salt:t=null}={})=>new a(t).decode(e)[0])(e.substr(3),{salt:t})},s=({legacy:e=!1}={})=>{const t={name:"bf_visit",days:1e4,domain:(0,o.O)()},n=r.A.get(t.name),{legacyIdentifier:s,identifier:c}=(e=>{const{u:t,uuid:n}=decodeURIComponent(e).split("&").map((e=>e.split("="))).reduce(((e,[t,n])=>({...e,[t]:n})),{});return{legacyIdentifier:l(t||""),identifier:n}})(n),f=(e=>{const t=parseInt(25*Math.random()+10,10).toString(36)+parseInt(25*Math.random()+10,10).toString(36);return`.${t}${((e,{salt:t=null,length:n=32}={})=>new a(t,n).encode(e))(e,{salt:t,length:0})}`})(i);return e?s||(r.A.set({...t,value:encodeURIComponent(`u=${f}&uuid=${c||u}&v=2`)}),i):c||s?c||String(s):(r.A.set({...t,value:encodeURIComponent(`u=${f}&uuid=${u}&v=2`)}),u)}},96522:(e,t,n)=>{"use strict";n.d(t,{e:()=>L});var r=n(15448),o=n(11467),a=n(7506),i={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},u=Array.prototype.slice;function l(e){var t=e.length;return t?1===t?[e[0]]:2===t?[e[0],e[1]]:3===t?[e[0],e[1],e[2]]:u.call(e,0):[]}function s(e,t){return e===t||e!=e&&t!=t}function c(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}var f=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:l(this.keys),size:this.size,values:l(this.values)}},enumerable:!0,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,n=t.isMatchingKey,r=t.maxSize,o=this.keys,a=o.length;if(!a)return-1;if(n(o[0],e))return 0;if(r>1)for(var i=1;i1){for(var u=0;u1){for(var a=0;a=u&&(r.length=o.length=u)},e.prototype.updateAsyncCache=function(e){var t=this,n=this.options,r=n.onCacheChange,o=n.onCacheHit,a=this.keys[0],i=this.values[0];this.values[0]=i.then((function(n){return t.shouldUpdateOnHit&&o(t,t.options,e),t.shouldUpdateOnChange&&r(t,t.options,e),n}),(function(e){var n=t.getKeyIndex(a);throw-1!==n&&(t.keys.splice(n,1),t.values.splice(n,1)),e}))},e}();const d=function e(t,n){if(void 0===n&&(n={}),function(e){return"function"==typeof e&&e.isMemoized}(t))return e(t.fn,c(t.options,n));if("function"!=typeof t)throw new TypeError("You must pass a function to `memoize`.");var r=n.isEqual,o=void 0===r?s:r,a=n.isMatchingKey,u=n.isPromise,d=void 0!==u&&u,p=n.maxSize,m=void 0===p?1:p,h=n.onCacheAdd,v=n.onCacheChange,g=n.onCacheHit,y=n.transformKey,b=c({isEqual:o,isMatchingKey:a,isPromise:d,maxSize:m,onCacheAdd:h,onCacheChange:v,onCacheHit:g,transformKey:y},function(e){var t={};for(var n in e)i[n]||(t[n]=e[n]);return t}(n)),w=new f(b),_=w.keys,x=w.values,k=w.canTransformKey,S=w.shouldCloneArguments,E=w.shouldUpdateOnAdd,T=w.shouldUpdateOnChange,P=w.shouldUpdateOnHit,C=function e(){var n=S?l(arguments):arguments;k&&(n=y(n));var r=_.length?w.getKeyIndex(n):-1;if(-1!==r)P&&g(w,b,e),r&&(w.orderByLru(_[r],x[r],r),T&&v(w,b,e));else{var o=t.apply(this,arguments),a=S?n:l(arguments);w.orderByLru(a,o,_.length),d&&w.updateAsyncCache(e),E&&h(w,b,e),T&&v(w,b,e)}return x[0]};return C.cache=w,C.fn=t,C.isMemoized=!0,C.options=b,C};function p(e){return(e+="").indexOf("#")>-1?e.substr(0,e.indexOf("#")):e}function m(e){return e=function(e){if(!function(e){return e.indexOf("?")>-1}(e))return e;const t=function(e){return(e+="").indexOf("#")>-1?e.substr(e.indexOf("#"),e.length):""}(e);return(e=p(e)).substr(0,e.indexOf("?"))+t}(e=p(e)),e}const h=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).location.hostname;const t=e.split(".")[0];return t&&"stage"!==t&&-1===["buzzfeed","buzzfeednews","tasty","huffpost","huffingtonpost"].indexOf(t)&&e.split(".").length>=3&&(e=e.substring(t.length+1)),e};function v(e,t,n){var r,o,a,i,u,l,s;for(this.version="1.0.1",this.minAlphabetLength=16,this.sepDiv=3.5,this.guardDiv=12,this.errorAlphabetLength="error: alphabet must contain at least X unique characters",this.errorAlphabetSpace="error: alphabet cannot contain spaces",this.alphabet="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",this.seps="cfhistuCFHISTU",this.minHashLength=parseInt(t,10)>0?t:0,this.salt="string"==typeof e?e:"","string"==typeof n&&(this.alphabet=n),r="",o=0,i=this.alphabet.length;o!==i;o++)-1===r.indexOf(this.alphabet[o])&&(r+=this.alphabet[o]);if(this.alphabet=r,this.alphabet.lengththis.sepDiv)&&(1===(u=Math.ceil(this.alphabet.length/this.sepDiv))&&u++,u>this.seps.length?(l=u-this.seps.length,this.seps+=this.alphabet.substr(0,l),this.alphabet=this.alphabet.substr(l)):this.seps=this.seps.substr(0,u)),this.alphabet=this.consistentShuffle(this.alphabet,this.salt),s=Math.ceil(this.alphabet.length/this.guardDiv),this.alphabet.length<3?(this.guards=this.seps.substr(0,s),this.seps=this.seps.substr(s)):(this.guards=this.alphabet.substr(0,s),this.alphabet=this.alphabet.substr(s))}v.prototype.encode=function(){var e,t,n=Array.prototype.slice.call(arguments);if(!n.length)return"";for(n[0]instanceof Array&&(n=n[0]),e=0,t=n.length;e!==t;e++)if("number"!=typeof n[e]||n[e]%1!=0||n[e]<0)return"";return this._encode(n)},v.prototype.decode=function(e){return e.length&&"string"==typeof e?this._decode(e,this.alphabet):[]},v.prototype.encodeHex=function(e){var t,n,r;if(e=e.toString(),!/^[0-9a-fA-F]+$/.test(e))return"";for(t=0,n=(r=e.match(/[\w\W]{1,12}/g)).length;t!==n;t++)r[t]=parseInt("1"+r[t],16);return this.encode.apply(this,r)},v.prototype.decodeHex=function(e){var t,n,r=[],o=this.decode(e);for(t=0,n=o.length;t!==n;t++)r+=o[t].toString(16).substr(1);return r},v.prototype._encode=function(e){var t,n,r,o,a,i,u,l,s,c,f,d=this.alphabet,p=e.length,m=0;for(r=0,o=e.length;r!==o;r++)m+=e[r]%(r+100);for(n=t=d[m%d.length],r=0,o=e.length;r!==o;r++)a=e[r],i=n+this.salt+d,d=this.consistentShuffle(d,i.substr(0,d.length)),t+=u=this.hash(a,d),r+10&&(t=t.substr(f/2,this.minHashLength));return t},v.prototype._decode=function(e,t){var n,r,o,a,i=[],u=0,l=new RegExp("["+this.guards+"]","g"),s=e.replace(l," "),c=s.split(" ");if(3!==c.length&&2!==c.length||(u=1),void 0!==(s=c[u])[0]){for(n=s[0],s=s.substr(1),l=new RegExp("["+this.seps+"]","g"),u=0,r=(c=(s=s.replace(l," ")).split(" ")).length;u!==r;u++)o=c[u],a=n+this.salt+t,t=this.consistentShuffle(t,a.substr(0,t.length)),i.push(this.unhash(o,t));this._encode(i)!==e&&(i=[])}return i},v.prototype.consistentShuffle=function(e,t){var n,r,o,a,i,u;if(!t.length)return e;for(a=e.length-1,i=0,u=0;a>0;a--,i++)u+=n=t[i%=t.length].charCodeAt(0),o=e[r=(n+i+u)%a],e=(e=e.substr(0,r)+e[a]+e.substr(r+1)).substr(0,a)+o+e.substr(a+1);return e},v.prototype.hash=function(e,t){var n="",r=t.length;do{n=t[e%r]+n,e=parseInt(e/r,10)}while(e);return n},v.prototype.unhash=function(e,t){var n,r=0;for(n=0;n{if(0!==e.indexOf(".")){const t=/[0-9A-Za-z]+/.exec(e);return null!==t&&t[0]===e&&parseInt(e,36)}const t=e.substr(1,2);return function(e){let{salt:t=null}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new v(t).decode(e)[0]}(e.substr(3),{salt:t})},w=function(){let{legacy:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t={name:"bf_visit",days:1e4,domain:h()},n=r.A.get(t.name),{legacyIdentifier:o,identifier:a}=(e=>{const{u:t,uuid:n}=decodeURIComponent(e).split("&").map((e=>e.split("="))).reduce(((e,t)=>{let[n,r]=t;return{...e,[n]:r}}),{});return{legacyIdentifier:b(t||""),identifier:n}})(n),i=(e=>{const t=parseInt(25*Math.random()+10,10).toString(36)+parseInt(25*Math.random()+10,10).toString(36);return`.${t}${function(e){let{salt:t=null,length:n=32}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new v(t,n).encode(e)}(e,{salt:t,length:0})}`})(g);return e?o||(r.A.set({...t,value:encodeURIComponent(`u=${i}&uuid=${a||y}&v=2`)}),g):a||o?a||String(o):(r.A.set({...t,value:encodeURIComponent(`u=${i}&uuid=${y}&v=2`)}),y)};function _(e){return e+"|expiration"}const x=function(){try{return localStorage.setItem("ls_test",!0),localStorage.removeItem("ls_test"),!0}catch(e){return!1}}(),k={set(e){x&&void 0!==e&&(localStorage.setItem(e.key,e.value),e.expires&&localStorage.setItem(_(e.key),Date.now()+e.expires))},get(e){return x?function(e){var t=localStorage.getItem(_(e));return t&&t<=Date.now()}(e)?(this.remove(e),null):localStorage.getItem(e):null},sessionSet(e){x&&void 0!==e&&sessionStorage.setItem(e.key,e.value)},sessionGet:e=>x?sessionStorage.getItem(e):null,remove(e){x&&(localStorage.removeItem(_(e)),localStorage.removeItem(e))},clear(){x&&localStorage.clear()}},S={dev:{tracking_url:"https://nsq-api-public.dev.buzzfeed.io",debug:!0},test:{tracking_url:"https://nsq-api-public.dev.buzzfeed.io",debug:!0},stage:{tracking_url:"https://pixiedust-stage.buzzfeed.com",debug:!0},prod:{tracking_url:"https://pixiedust.buzzfeed.com",debug:!1},"app-west":{tracking_url:"https://pixiedust.buzzfeed.com",debug:!1}},E="CLIENT_EVENT_TRACKING",T=e=>{const t="pdv3-previous_page_session_id",n="cet-page_session_id";let r=k.get(n);if(window[E]=window[E]||{},window[E].current_page_session_url===e&&r)return{page_session_id:r,previous_page_session_id:k.get(t)||""};window[E].current_page_session_url=e,r=(0,a.A)()||"00000000-0000-0000-0000-000000000000";const o=k.get(n)||"";return k.set({key:n,value:r}),k.set({expires:18e5,key:t,value:o}),{page_session_id:r,previous_page_session_id:o}},P=d((e=>{let{url:t}=e;const n={name:"bf-xdomain-session-uuid",days:.5/24,domain:h()};return d((()=>{const e=String(w()),o=r.A.get(n.name,(0,a.A)());return r.A.set({...n,value:o}),{client_uuid:e,client_session_id:o,random_user_uuid:r.A.get("user_uuid","unauthenticated"),referrer_uri:document.referrer,...T(m(t))}}),{transformKey:JSON.stringify})}),{transformKey:e=>{let[t]=e;return m(t.url)}}),C=d((function(){let{track_amp:e=!1,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?d((()=>({amp_id:(0,o.ZA)(t)})),{transformKey:JSON.stringify}):{}}),{transformKey:JSON.stringify}),O=e=>{let{page_edition:t=(0,o.gx)("page_edition")}=e;return()=>({mode:window.matchMedia("screen and (max-width:51.9rem)").matches?"mobile":"desktop",page_edition:t,viewport_size:{width:Number(window.screen.width),height:Number(window.screen.height)}})},A=e=>{let{type:t=(0,o.gx)("type"),source:n=(0,o.gx)("source")}=e;return()=>({type:t,source:n})};function j(){const e="true"===r.A.get("is_bot");if(window.location.search.includes("e2e_test"))try{return{e2e_test:new URLSearchParams(window.location.search).get("e2e_test"),is_bot:!0}}catch{}return e?{is_bot:!0}:{}}const L=e=>{let{amp_options:t={},env:n,source:r}=e;if("undefined"==typeof window)return()=>{};const i=function(e){let{env:t="dev"}=e;const[n,r]=function(e){let t,{debug:n,tracking_url:r}=e,o=[];const a=()=>{if(!o.length||"undefined"==typeof window)return;const e=JSON.stringify(o),a=document.createEvent("CustomEvent");if(a.initCustomEvent("cet-event",!1,!1,o),dispatchEvent(a),n)window.fetch(`${r}/events`,{method:"POST",body:e,keepalive:!0}).then((e=>e.json())).then((e=>{e.errors&&e.debug&&(console.group("%c 🚨 Rejected client events 🚨","background-color: #250201; color: #ee8783; border: 1px solid #540b06"),e.debug.forEach((e=>console.table(e.validation))),console.groupEnd())})).catch((()=>{const t=JSON.parse(e);console.group("%cClient Event Tracking: %crun nsq_api_public to verify events","font-weight: bold;","color: gray; font-size: .5rem;"),t.forEach((e=>{console.groupCollapsed(`"%c${e.type}"`,"font-weight: bold; font-family: monospace;"),console.table(e),console.groupEnd()})),console.groupEnd()}));else{let t;if(navigator&&navigator.sendBeacon)t=navigator.sendBeacon(`${r}/events`,e);else{const n=new XMLHttpRequest;n.open("POST",`${r}/events`,!1),n.onerror=()=>{},n.setRequestHeader("Accept","*/*"),n.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),t=n.send(e)}!t&&window.raven&&Math.random()<.1&&window.raven.captureException("Client Event Tracking: sendBeacon could not process a queue.")}clearTimeout(t),t=null,o=[]};return[e=>{o.push(e),10===o.length&&a(),t||(t=setTimeout(a,200))},a]}(S[t]);return function(e){let{flush:a=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=(0,o.KO)(e,{debug:S[t].debug});n(i),a&&r()}}({env:n});return async function(e){let{flush:u=!1,required_layers:l=[],sample_rate:s=1,type:c}=e;for(var f=arguments.length,d=new Array(f>1?f-1:0),p=1;p({event_uri:document.URL,event_ts:Math.round(Date.now()/1e3),event_uuid:(0,a.A)()}),P({url:document.URL}),C(t),O({page_edition:m}),...d,...l.map((e=>e(h))),j()],g=await(0,o.Pv)({context:{env:n},layers:v});(window.location.search.includes("e2e_test")||Math.random()<=s)&&await i(g,{flush:u})}}},11467:(e,t,n)=>{"use strict";n.d(t,{HI:()=>a,K3:()=>i,KO:()=>p,P3:()=>u,Pv:()=>s,ZA:()=>c,_e:()=>l,gx:()=>d});var r=n(15448),o=n(7506);const a=e=>String(e).replace(/[^\w\s-_/]/g,"").replace(/\s+/g,"_").toLowerCase(),i=e=>e.map((e=>"undefined"===e?"":e)),u=e=>null===e||isNaN(Number(e))?null:Number(e),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&Array.isArray(e)?e:t},s=async e=>{let{context:t,layers:n=[]}=e,r={};for(let e=0;e0&&void 0!==arguments[0]?arguments[0]:{},n=r.A.get(e);if(!n){const a=window.location.hostname.split(".").splice(-2,2).join(".");n=`amp-${(0,o.A)()}`,r.A.set({name:e,value:n,days:t,domain:a})}return n};class f extends Error{constructor(e){super(e),this.name="ClientEventSchemaLayerError"}}const d=function(){return new f(`Missing required field: "${arguments.length>0&&void 0!==arguments[0]?arguments[0]:""}"`)},p=function(e){let{debug:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.entries(e).filter((e=>{let[,n]=e;return!(n instanceof f&&(t&&console.warn(n),1))})).reduce(((e,t)=>{let[n,r]=t;return e[n]=r,e}),{})}},15448:(e,t,n)=>{"use strict";function r(e,t){const n=e.match(t);return n&&n.length?n[0]:null}n.d(t,{A:()=>o});const o={getBuzzfeedSubdomainOrWildcard:e=>r(e,"(dev|stage|www).(buzzfeed|buzzfeednews).(com|io)$")||r(e,".?[a-z]+.[a-z]+$"),get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=`${e}=`;if("undefined"==typeof document)return t;const r=document.cookie.split(";");for(let e=0;e{"use strict";n.d(t,{A:()=>r});const r=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^(()=>{try{return crypto.getRandomValues(new Uint8Array(1))[0]}catch(e){return 255*Math.random()}})()&15>>e/4).toString(16)))}},87577:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._=function(e){return e},t.defineMessages=function(e){return e}},18832:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.findEditionIdFromHostname=t.ClientSafeConfig=void 0;const o=r(n(13911));t.ClientSafeConfig=o.default;const a=n(46005);Object.defineProperty(t,"findEditionIdFromHostname",{enumerable:!0,get:function(){return a.findEditionIdFromHostname}})},73436:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={}},43748:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.com.au"}},92718:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffpostbrasil.com"}},69034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.ca"}},13911:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ClientSafeEditionMap=void 0;const o=r(n(73436)),a=r(n(43748)),i=r(n(92718)),u=r(n(69034)),l=r(n(59306)),s=r(n(78354)),c=r(n(11251)),f=r(n(67957)),d=r(n(46927)),p=r(n(55816)),m=r(n(73511)),h=r(n(49622)),v=r(n(15046)),g=r(n(20360)),y=r(n(50002)),b=r(n(23962));t.ClientSafeEditionMap={au:a.default,br:i.default,ca:u.default,es:l.default,fr:s.default,gr:c.default,in:f.default,it:d.default,jp:p.default,kr:m.default,mg:h.default,qc:v.default,spoilsuk:g.default,uk:y.default,us:b.default};const w=Object.keys(t.ClientSafeEditionMap),_=Object.entries(t.ClientSafeEditionMap).reduce(((e,[t,n])=>{const r={...o.default,...n};return Object.assign(e,{[t]:r})}),{});t.default={isEditionId:function(e){return w.includes(e)},byEdition:_}},59306:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.es"}},78354:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.fr"}},11251:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.gr"}},67957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.in"}},46927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.it"}},55816:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.jp"}},73511:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.kr"}},49622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffpostmaghreb.com"}},15046:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"quebec.huffingtonpost.ca"}},20360:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"thespoils.huffpost.co.uk"}},50002:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.co.uk"}},23962:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffpost.com",additional_hostnames:["huffingtonpost.com","buzzfeed.io","huffpost.net"]}},46005:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.findEditionIdFromHostname=void 0;const o=r(n(13911)),a=Object.entries(o.default.byEdition).reduce(((e,[t,n])=>{const r=[n.hostname,...Array.isArray(n.additional_hostnames)?n.additional_hostnames:[]].map((e=>[t,e]));return e.concat(r)}),[]).sort((([e],[t])=>t.split("").reverse().join().localeCompare(e.split("").reverse().join())));t.findEditionIdFromHostname=function(e){const[t=null]=a.find((([,t])=>e.endsWith(t)))||[];return t}},63658:(e,t,n)=>{"use strict";n.r(t),n.d(t,{carmotProviderEnabled:()=>M,primeOrder:()=>F});var r=n(41705),o=n(18832),a=n(2211),i=n.n(a),u=n(21671),l=n.n(u),s=n(78071),c=n.n(s),f=n(18187),d=n.n(f),p=n(35383),m=n.n(p),h=n(5761),v=n.n(h),g=n(95285),y=n.n(g),b=n(59985),w=n.n(b),_=n(32155),x=n.n(_),k=n(88321),S=n.n(k),E=n(26819),T=n.n(E),P=n(41563),C=n.n(P),O=n(51691),A=n.n(O),j=n(55851);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t-1}},60125:()=>{var e=["H1","H2","H3","H4","H5","H6"];window.addEventListener("hydration-complete",(function(){(function(){var t=document.querySelectorAll(".entry #newsletter-bottom"),n=document.querySelector(".js-entry-content"),r=document.querySelector("#js-newsletter-placeholder");if(n&&t.length){var o,a,i=t[0];o=r||function(e){return Array.prototype.slice.call(e.children).reduce((function(e,t){return t.classList.contains("cli-listicle")?e.concat(Array.prototype.slice.call(t.children)):(e.push(t),e)}),[])}(n).find((function(t,r){return a=n.children[r-1],t.offsetTop>=1e3&&function(t,n){return!(!t||t.lastChild&&e.includes(t.lastChild.nodeName)||[t,n].some((function(e){return e.classList.contains("js-no-inject")})))}(a,t)})),o&&o.parentElement.insertBefore(i,o)}})(),function(){var e=document.querySelectorAll(".a-page__content #newsletter-bottom .newsletter"),t=document.querySelector("#zone-twilight .zone__content");if(t&&1===e.length){var n=e[0],r=t.children[4]||null;t.insertBefore(n,r)}}(),function(){var e=document.querySelectorAll(".feature .newsletter"),t=document.querySelector(".js-entry-content"),n=document.querySelector("#js-newsletter-placeholder");if(t&&1===e.length){var r=e[0],o=n;o&&o.parentElement.insertBefore(r,o)}}()}))},39487:(e,t,n)=>{"use strict";n.d(t,{Jo:()=>a,dJ:()=>l,fO:()=>o,oM:()=>c,v3:()=>s});var r=n(63658);function o(e){if(!e)return null;var t=Array.from(e.attributes).filter((function(e){return e.name.match(/^data-vars-/)&&e.value}));if(0===t.length)return null;var n=t.map((function(e){return[e.name.match(/^data-vars-(.*)/)[1].replace(/-/g,"_"),e.value]}));return Object.fromEntries(n)}function a(e){if(!e)return null;var t=e.closest(".o2-cvs-carousel-tile");if(!t)return null;var n,r=[].slice.call(t.parentElement.children).indexOf(t),o=t.querySelector(".o2-cvs-video-thumbnail");if(o&&o.hasAttribute("style")){var a=o.getAttribute("style").match(/url\(['"](.+?)['"]\)/);a&&(n=a[1].split("/").slice(-2,-1)[0])}return{item_name:n,item_type:"card",position_in_subunit:r,target_content_id:n,target_content_type:"video",type:"web_internal_link"}}function i(e){var t=!0;return"function"==typeof window.matchMedia&&(t=window.matchMedia("(min-width: 1024px)").matches),t&&!!e.closest(".js-right-container")}function u(e,t){var n="";return t.forEach((function(t,r,o){n+="".concat(e," ").concat(t),r!==o.length-1&&(n+=", ")})),n}function l(e,t,n,r){var o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],l=0,s="",c=a.length>0?a:[".js-card[data-vars-type]","a[data-vars-type]:not(.js-card[data-vars-type] a)","button[data-vars-type]",".js-cet-item",".js-cet-subbuzz"],f=e.closest(".js-cet-subunit");if(!f)return null;if("buzz"===t)s="sidebar"===n?"left"===r?".js-cet-unit-left":".js-cet-unit-right":"site_header"===r||"nav_bar"===n?".js-cet-unit-site-header":"top_ad"===r?".js-cet-unit-top-ad":".js-cet-unit-".concat(n);else if(i(f)||"sidebar"===n)s=".js-cet-unit-right";else if(o=!1,"function"==typeof window.matchMedia&&(o=!window.matchMedia("(min-width: 1024px)").matches),o)s=".js-cet-unit-main";else if("site_header"===r||"nav_bar"===n)s=".js-cet-unit-site-header";else if("top_ad"===r)s=".js-cet-unit-top-ad";else{var d=u(".js-cet-unit-main",c),p=u(".js-cet-unit-right",c),m=Array.from(document.querySelectorAll(d)),h=new Set(Array.from(document.querySelectorAll(p)));if((l=m.filter((function(e){return!h.has(e)})).indexOf(e))>=0)return l}return(l=Array.from(document.querySelectorAll(u(s,c))).indexOf(e))>=0?l:null}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t&&t.unit_name?t.unit_name:"main",r=t&&t.unit_type?t.unit_type:"feed";return i(e)?{unit_name:"right",unit_type:"sidebar"}:{unit_name:n,unit_type:r}}function c(e){var t,n=e&&"native"===e.type,o=e&&"linkout"===e.type&&e.url&&(e.url.startsWith("/")||r.primeOrder.some((function(t){return e.url.startsWith(t.link)}))),a=n||o,i=a?"web_internal_link":"web_external_link",u=null;a&&(u=e.url.includes("/entry/")?"buzz":"feed");try{t=a?e.url.includes("/entry/")?e.entry_id:new URL(e.url).pathname:e.url}catch(e){}return{contentType:u,contentId:t,type:i}}},61332:()=>{!function(){if(window.location.search.includes("display-consent")&&["us","uk"].includes(window.HP.params.edition)){console.log("forcing display consent");var e=setInterval((function(){window.OneTrust&&document.getElementsByClassName("onetrust-pc-dark-filter").length>0&&(window.OneTrust.ToggleInfoDisplay(),clearInterval(e))}),500)}}()},95284:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=function(){try{return new CustomEvent("test"),!0}catch(e){return!1}}();const o=function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,n=function(e,t){if(!r){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}return new CustomEvent(e,{detail:t})}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return t.dispatchEvent(n)}},93067:()=>{if(window.HP.params.isFrontFlex){var e=document.querySelectorAll(".front-page-content .js-can-badge, .front-page-top .js-can-badge"),t="js-has-trending-card",n=window.HP.params.trendingEntryIDs,r={trending:0},o=function(e,t){var n=e.closest(".card[data-vars-item-type]");if(n){var r=n.getAttribute("data-vars-item-type"),o="card"===r?"card_".concat(r,"=").concat(t):"".concat(r,"&badge=").concat(t);n.setAttribute("data-vars-item-type",o)}};e.forEach((function(e){var a,i=e.dataset,u=i.liveblogEndTime,l=i.timestamp,s=i.varsItemName;try{a=JSON.parse(e.dataset.badge)}catch(e){a={}}var c,f,d=a,p=d.start_time,m=d.end_time,h=d.value,v=!!h,g=e.closest(".zone"),y=e.querySelector(".card__text__top"),b=Date.now();p&&(c=new Date(p).getTime()),m&&(f=new Date(m).getTime());var w=!1;if(v&&b>=c&&(!f||bb&&!w){w=!0;var k=document.createElement("div");k.className="card__badge card__badge--liveblog",k.innerHTML="LIVE",y.classList.add("card__text__top--has-badge"),o(e,"liveblog"),y.appendChild(k)}var S=b-l;if(S<36e5){if(!w){e.classList.add("js-new"),w=!0;var E=document.createElement("div");E.className="card__new",E.innerHTML="NEW",o(e,"new"),y.appendChild(E)}var T=Math.floor(S/6e4);e.classList.add("js-timestamp");var P=document.createElement("div");P.className="card__timestamp",P.innerHTML=T<1?"a few sec ago":"".concat(T," min ago"),y.classList.add("card__text__top--has-badge"),y.appendChild(P)}if(!w&&r.trending<2&&!g.classList.contains(t)&&n.includes(s)){w=!0,e.classList.add("js-trending"),g.classList.add(t),r.trending+=1;var C=document.createElement("div");C.className="card__badge card__badge--trending",C.innerHTML="TRENDING",y.classList.add("card__text__top--has-badge"),o(e,"trending"),y.appendChild(C)}})),window.doImpressions("badgeCards")}},159:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(41705),o=n(45841),a=n(40694),i=n(48183),u=n(92099),l=n(65810),s=n(74572),c=n(50171),f=n(91576);function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function p(e){var t="function"==typeof Map?new Map:void 0;return p=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(d())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,f.A)(o,n.prototype),o}(e,arguments,(0,s.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,f.A)(n,e)},p(e)}var m=n(61790),h=n.n(m),v=n(93714);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t1&&void 0!==g[1]?g[1]:{},o=(r=g.length>2&&void 0!==g[2]?g[2]:{}).method,a=void 0===o?"POST":o,i=r.anonymous,u=void 0===i?"disallow":i,l=!document.cookie.includes("hp-auth-session=")&&!document.cookie.includes("hp-authd="),s=document.cookie.includes("fp.auth"),"allow"===u||!l){e.next=9;break}return console.warn("Warning: mapi request with path ".concat(t," not being sent")),s&&(document.cookie="fp.auth= ; expires = Thu, 01 Jan 1970 00:00:00 GMT"),e.abrupt("return",null);case 9:return t=0===t.indexOf("/")?t.slice(1):t,c=n.edition?n.edition:"us",f={credentials:"include",headers:{Accept:"application/json"}},n.body&&(f.method=a,f.headers["Content-Type"]="application/json",f.body=JSON.stringify(n.body)),d=(0,v.A)(y({device:"desktop"},n.queryParams)),e.next=16,fetch("https://".concat(x,"/mapi/v4/").concat(c,"/").concat(t,"?").concat(d),f);case 16:if(!(p=e.sent).ok){e.next=19;break}return e.abrupt("return",p.json());case 19:return e.prev=19,e.next=22,p.json();case 22:m=e.sent,e.next=27;break;case 25:e.prev=25,e.t0=e.catch(19);case 27:throw new _(p,m);case 28:case"end":return e.stop()}}),e,null,[[19,25]])}))),S.apply(this,arguments)}},80446:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r,o=n(159);function a(){return r||(r=(0,o.A)("user/profile").then((function(e){return e.profile})).catch((function(){return null}))),r}},72812:()=>{var e=document.querySelector(".js-site-header-fixed"),t=document.querySelector(".right-rail-sticky"),n=t&&t.closest(".rail"),r=document.body.classList.contains("entry")?30:0,o=document.querySelector(".js-main-content-list"),a=document.querySelector(".js-zone-twilight"),i=HP&&HP.params&&HP.params.features&&HP.params.features.rightRailSticky&&"us"!==HP.params.edition;t&&n&&i&&(document.addEventListener("scroll",(function(){var i,u,l=n.getBoundingClientRect();if(o){var s=o.getBoundingClientRect();i=s.bottom,u=l.height-s.height}else a&&(i=a.getBoundingClientRect().bottom,u=0);var c=78;if(e){var f=e.getBoundingClientRect();c=f.top+f.height}var d=l.top<=c+r,p=i<=t.offsetHeight+c+r;t.classList.toggle("sticky",d&&!p),t.classList.toggle("sticky-bottom",p),t.style.top=p?"":"".concat(c+r,"px"),t.style.width="".concat(n.offsetWidth,"px"),t.style.bottom=p&&u?"".concat(u,"px"):""})),document.addEventListener("see-more",(function(){if(window.adsReloadAd){var e=t.querySelector(".ad-right_rail_flex")||t.querySelector(".ad-right_rail_300x250_lower");e&&window.adsReloadAd(e)}})))},24462:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=function(){try{var e="test";return window.sessionStorage.setItem(e,"1"),window.sessionStorage.removeItem(e),window.sessionStorage}catch(e){return null}}(),o=!!r;function a(){}var i=a,u=a,l=a,s=a,c=function(){return!1};o&&(u=function(e,t){try{r.setItem(e,(n=t,JSON.stringify(n)))}catch(e){}var n},l=function(e){r.removeItem(e)},s=function(){r.clear()},c=function(e){return!!r.getItem(e)},(i=function(e){return function(e){if("string"==typeof e)try{return JSON.parse(e)}catch(t){return e||void 0}}(r.getItem(e))})("lastPurge")<=1430758101108&&(s(),u("lastPurge",Date.now())));const f={enabled:o,get:i,set:u,remove:l,clear:s,has:c}},74608:()=>{document.querySelector("body.entry")&&document.querySelector(".rail--left")&&document.addEventListener("scroll",(function(){var e=document.querySelector(".rail--left"),t=e.querySelector(".share-bar--side"),n=document.querySelector(".advertisement.ad-leaderboard-flex.treated"),r=document.querySelector(".entry-head-container"),o=document.body.classList.contains("video"),a=o?document.querySelector(".js-video-entry-content"):document.querySelector(".js-main-content-list");if(e&&t){var i=n?n.offsetHeight:0,u=o?0:.5*(i+r.offsetHeight),l=t.getBoundingClientRect(),s=a.getBoundingClientRect();window.scrollY>=u&&l.bottom{window.__SPOTIM_SPOTLIGHT_GO_TO_COMMENTS__=function(){window.document.dispatchEvent(new Event("open-comments"))}},80466:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=function(){try{var e="test";return window.localStorage.setItem(e,"1"),window.localStorage.removeItem(e),window.localStorage}catch(e){return null}}(),o=!!r;function a(){}var i=a,u=a,l=a,s=a,c=function(){return!1};o&&(i=function(e){return function(e){if("string"==typeof e)try{return JSON.parse(e)}catch(t){return e||void 0}}(r.getItem(e))},u=function(e,t){try{r.setItem(e,(n=t,JSON.stringify(n)))}catch(e){}var n},l=function(e){r.removeItem(e)},s=function(){r.clear()},c=function(e){return void 0!==r.getItem(e)});const f={enabled:o,get:i,set:u,remove:l,clear:s,has:c}},93714:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return Object.keys(e).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&")}},81750:(e,t,n)=>{"use strict";var r,o=n(40694);e=n.hmd(e),r=function(){var e=void 0;try{new EventTarget,e=!1}catch(t){e=!1}var t="function"==typeof Symbol&&"symbol"==(0,o.A)(Symbol.iterator)?function(e){return(0,o.A)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,o.A)(e)},n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r=function(){function e(e,t){for(var n=0;n-1&&n.splice(r,1)}},{key:"dispatchEvent",value:function(e){return e.target=this,Object.freeze(e),this._getRegistry(e.type).forEach((function(t){return t(e)})),!0}},{key:"_getRegistry",value:function(e){return this._registry[e]=this._registry[e]||[]}}]),e}(),l=e?EventTarget:u,s=e?Event:function e(t){n(this,e),this.type=t},c=function(e){function t(e,r){n(this,t);var o=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.newState=r.newState,o.oldState=r.oldState,o.originalEvent=r.originalEvent,o}return a(t,s),t}(),f="active",d="passive",p="hidden",m="frozen",h="terminated",v="object"===("undefined"==typeof safari?"undefined":t(safari))&&safari.pushNotification,g=["focus","blur","visibilitychange","freeze","resume","pageshow","onpageshow"in self?"pagehide":"unload"],y=function(e){return e.preventDefault(),e.returnValue="Are you sure?"},b=[[f,d,p,h],[f,d,p,m],[p,d,f],[m,p],[m,f],[m,d]].map((function(e){return e.reduce((function(e,t,n){return e[t]=n,e}),{})})),w=function(){return document.visibilityState===p?p:document.hasFocus()?f:d};return new(function(e){function t(){n(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),r=w();return e._state=r,e._unsavedChanges=[],e._handleEvents=e._handleEvents.bind(e),g.forEach((function(t){return addEventListener(t,e._handleEvents,!0)})),v&&addEventListener("beforeunload",(function(t){e._safariBeforeUnloadTimeout=setTimeout((function(){t.defaultPrevented||t.returnValue.length>0||e._dispatchChangesIfNeeded(t,p)}),0)})),e}return a(t,l),r(t,[{key:"addUnsavedChanges",value:function(e){!this._unsavedChanges.indexOf(e)>-1&&(0===this._unsavedChanges.length&&addEventListener("beforeunload",y),this._unsavedChanges.push(e))}},{key:"removeUnsavedChanges",value:function(e){var t=this._unsavedChanges.indexOf(e);t>-1&&(this._unsavedChanges.splice(t,1),0===this._unsavedChanges.length&&removeEventListener("beforeunload",y))}},{key:"_dispatchChangesIfNeeded",value:function(e,t){if(t!==this._state)for(var n=function(e,t){for(var n,r=0;n=b[r];++r){var o=n[e],a=n[t];if(o>=0&&a>=0&&a>o)return Object.keys(n).slice(o,a+1)}return[]}(this._state,t),r=0;r{window.HUFFPOST.YouTubeIframeAPIReady=new Promise((function(e){window.onYouTubeIframeAPIReady=function(){return e()}}))},58486:(e,t,n)=>{"use strict";var r=n(84271),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?i:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=p(n);o&&o!==m&&e(t,o,r)}var i=c(n);f&&(i=i.concat(f(n)));for(var u=l(t),h=l(n),v=0;v{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(e,t){return void 0===t&&(t={}),function(){for(var n,r=[],o=0;o{"use strict";function r(e,t){if("undefined"==typeof Intl)return!1;if(!e)throw new Error("locales must be supplied.");Array.isArray(e)||(e=[e]);var n=t||[Intl.DateTimeFormat,Intl.NumberFormat,Intl.PluralRules];return!(0===(n=n.filter(Boolean)).length||t&&n.length!==t.length)&&n.every((function(t){return t.supportedLocalesOf(e).length===e.length}))}n.r(t),n.d(t,{default:()=>r})},77725:(e,t,n)=>{"use strict";var r;function o(e){return e.type===r.literal}function a(e){return e.type===r.argument}function i(e){return e.type===r.number}function u(e){return e.type===r.date}function l(e){return e.type===r.time}function s(e){return e.type===r.select}function c(e){return e.type===r.plural}function f(e){return!(!e||"object"!=typeof e||0!==e.type)}function d(e){return!(!e||"object"!=typeof e||1!==e.type)}n.r(t),n.d(t,{IntlMessageFormat:()=>Z,createDefaultFormatters:()=>J,default:()=>Y,formatHTMLMessage:()=>G,formatToParts:()=>R,formatToString:()=>H}),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural"}(r||(r={}));var p,m=(p=function(e,t){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},p(e,t)},function(e,t){function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){for(t=1,n=1;tKe&&(Ke=Be,Ge=[]),Ge.push(e))}function at(){return it()}function it(){var e,t;for(e=[],t=ut();t!==u;)e.push(t),t=ut();return e}function ut(){var t;return(t=function(){var e,t;return e=Be,(t=lt())!==u&&(We=e,t=f(t)),e=t}())===u&&(t=function(){var t,n,r,o;return Qe++,t=Be,123===e.charCodeAt(Be)?(n=p,Be++):(n=u,0===Qe&&ot(m)),n!==u&&yt()!==u&&(r=kt())!==u&&yt()!==u?(125===e.charCodeAt(Be)?(o=g,Be++):(o=u,0===Qe&&ot(y)),o!==u?(We=t,t=n=b(r)):(Be=t,t=u)):(Be=t,t=u),Qe--,t===u&&(n=u,0===Qe&&ot(d)),t}())===u&&(t=function(){var t;return(t=function(){var t,n,r,o,a,i,l,s,c;return t=Be,123===e.charCodeAt(Be)?(n=p,Be++):(n=u,0===Qe&&ot(m)),n!==u&&yt()!==u&&(r=kt())!==u&&yt()!==u?(44===e.charCodeAt(Be)?(o=M,Be++):(o=u,0===Qe&&ot(N)),o!==u&&yt()!==u?(e.substr(Be,6)===D?(a=D,Be+=6):(a=u,0===Qe&&ot(R)),a!==u&&yt()!==u?(i=Be,44===e.charCodeAt(Be)?(l=M,Be++):(l=u,0===Qe&&ot(N)),l!==u&&(s=yt())!==u?(c=function(){var t,n,r;return t=Be,e.substr(Be,2)===j?(n=j,Be+=2):(n=u,0===Qe&&ot(L)),n!==u?(r=function(){var e,t,n;if(e=Be,t=[],(n=ft())!==u)for(;n!==u;)t.push(n),n=ft();else t=u;return t!==u&&(We=e,t=A(t)),e=t}(),r!==u?(We=t,t=n=I(r)):(Be=t,t=u)):(Be=t,t=u),t===u&&(t=Be,(n=lt())!==u&&(We=t,n=F(n)),t=n),t}(),c!==u?i=l=[l,s,c]:(Be=i,i=u)):(Be=i,i=u),i===u&&(i=null),i!==u&&(l=yt())!==u?(125===e.charCodeAt(Be)?(s=g,Be++):(s=u,0===Qe&&ot(y)),s!==u?(We=t,t=n=H(r,a,i)):(Be=t,t=u)):(Be=t,t=u)):(Be=t,t=u)):(Be=t,t=u)):(Be=t,t=u),t}())===u&&(t=function(){var t,n,r,o,a,i,l,s,c;return t=Be,123===e.charCodeAt(Be)?(n=p,Be++):(n=u,0===Qe&&ot(m)),n!==u&&yt()!==u&&(r=kt())!==u&&yt()!==u?(44===e.charCodeAt(Be)?(o=M,Be++):(o=u,0===Qe&&ot(N)),o!==u&&yt()!==u?(e.substr(Be,4)===Q?(a=Q,Be+=4):(a=u,0===Qe&&ot(J)),a===u&&(e.substr(Be,4)===Z?(a=Z,Be+=4):(a=u,0===Qe&&ot(Y))),a!==u&&yt()!==u?(i=Be,44===e.charCodeAt(Be)?(l=M,Be++):(l=u,0===Qe&&ot(N)),l!==u&&(s=yt())!==u?(c=function(){var t,n,r;return t=Be,e.substr(Be,2)===j?(n=j,Be+=2):(n=u,0===Qe&&ot(L)),n!==u?(r=function(){var t,n,r,o;if(t=Be,n=Be,r=[],(o=dt())===u&&(o=pt()),o!==u)for(;o!==u;)r.push(o),(o=dt())===u&&(o=pt());else r=u;return(n=r!==u?e.substring(n,Be):r)!==u&&(We=t,n=G(n)),t=n}(),r!==u?(We=t,t=n=I(r)):(Be=t,t=u)):(Be=t,t=u),t===u&&(t=Be,(n=lt())!==u&&(We=t,n=F(n)),t=n),t}(),c!==u?i=l=[l,s,c]:(Be=i,i=u)):(Be=i,i=u),i===u&&(i=null),i!==u&&(l=yt())!==u?(125===e.charCodeAt(Be)?(s=g,Be++):(s=u,0===Qe&&ot(y)),s!==u?(We=t,t=n=H(r,a,i)):(Be=t,t=u)):(Be=t,t=u)):(Be=t,t=u)):(Be=t,t=u)):(Be=t,t=u),t}()),t}())===u&&(t=function(){var t,n,r,o,a,i,l,s,c,f,d;if(t=Be,123===e.charCodeAt(Be)?(n=p,Be++):(n=u,0===Qe&&ot(m)),n!==u)if(yt()!==u)if((r=kt())!==u)if(yt()!==u)if(44===e.charCodeAt(Be)?(o=M,Be++):(o=u,0===Qe&&ot(N)),o!==u)if(yt()!==u)if(e.substr(Be,6)===X?(a=X,Be+=6):(a=u,0===Qe&&ot(ee)),a===u&&(e.substr(Be,13)===te?(a=te,Be+=13):(a=u,0===Qe&&ot(ne))),a!==u)if(yt()!==u)if(44===e.charCodeAt(Be)?(i=M,Be++):(i=u,0===Qe&&ot(N)),i!==u)if(yt()!==u)if(l=Be,e.substr(Be,7)===re?(s=re,Be+=7):(s=u,0===Qe&&ot(oe)),s!==u&&(c=yt())!==u&&(f=bt())!==u?l=s=[s,c,f]:(Be=l,l=u),l===u&&(l=null),l!==u)if((s=yt())!==u){if(c=[],(f=ht())!==u)for(;f!==u;)c.push(f),f=ht();else c=u;c!==u&&(f=yt())!==u?(125===e.charCodeAt(Be)?(d=g,Be++):(d=u,0===Qe&&ot(y)),d!==u?(We=t,t=n=ae(r,a,l,c)):(Be=t,t=u)):(Be=t,t=u)}else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;return t}())===u&&(t=function(){var t,n,r,o,a,i,l,s,c;if(t=Be,123===e.charCodeAt(Be)?(n=p,Be++):(n=u,0===Qe&&ot(m)),n!==u)if(yt()!==u)if((r=kt())!==u)if(yt()!==u)if(44===e.charCodeAt(Be)?(o=M,Be++):(o=u,0===Qe&&ot(N)),o!==u)if(yt()!==u)if(e.substr(Be,6)===ie?(a=ie,Be+=6):(a=u,0===Qe&&ot(ue)),a!==u)if(yt()!==u)if(44===e.charCodeAt(Be)?(i=M,Be++):(i=u,0===Qe&&ot(N)),i!==u)if(yt()!==u){if(l=[],(s=mt())!==u)for(;s!==u;)l.push(s),s=mt();else l=u;l!==u&&(s=yt())!==u?(125===e.charCodeAt(Be)?(c=g,Be++):(c=u,0===Qe&&ot(y)),c!==u?(We=t,t=n=le(r,l)):(Be=t,t=u)):(Be=t,t=u)}else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;else Be=t,t=u;return t}()),t}function lt(){var e,t,n;if(e=Be,t=[],(n=wt())===u&&(n=_t())===u&&(n=xt()),n!==u)for(;n!==u;)t.push(n),(n=wt())===u&&(n=_t())===u&&(n=xt());else t=u;return t!==u&&(We=e,t=c(t)),t}function st(){var t,n,r,o,a;if(Qe++,t=Be,n=[],r=Be,o=Be,Qe++,(a=vt())===u&&(_.test(e.charAt(Be))?(a=e.charAt(Be),Be++):(a=u,0===Qe&&ot(x))),Qe--,a===u?o=void 0:(Be=o,o=u),o!==u?(e.length>Be?(a=e.charAt(Be),Be++):(a=u,0===Qe&&ot(k)),a!==u?r=o=[o,a]:(Be=r,r=u)):(Be=r,r=u),r!==u)for(;r!==u;)n.push(r),r=Be,o=Be,Qe++,(a=vt())===u&&(_.test(e.charAt(Be))?(a=e.charAt(Be),Be++):(a=u,0===Qe&&ot(x))),Qe--,a===u?o=void 0:(Be=o,o=u),o!==u?(e.length>Be?(a=e.charAt(Be),Be++):(a=u,0===Qe&&ot(k)),a!==u?r=o=[o,a]:(Be=r,r=u)):(Be=r,r=u);else n=u;return t=n!==u?e.substring(t,Be):n,Qe--,t===u&&(n=u,0===Qe&&ot(w)),t}function ct(){var t,n,r;return Qe++,t=Be,47===e.charCodeAt(Be)?(n=E,Be++):(n=u,0===Qe&&ot(T)),n!==u&&(r=st())!==u?(We=t,t=n=P(r)):(Be=t,t=u),Qe--,t===u&&(n=u,0===Qe&&ot(S)),t}function ft(){var e,t,n,r;if(Qe++,e=Be,yt()!==u)if((t=st())!==u){for(n=[],r=ct();r!==u;)n.push(r),r=ct();n!==u?(We=e,e=O(t,n)):(Be=e,e=u)}else Be=e,e=u;else Be=e,e=u;return Qe--,e===u&&0===Qe&&ot(C),e}function dt(){var t,n,r,o;if(t=Be,39===e.charCodeAt(Be)?(n=z,Be++):(n=u,0===Qe&&ot(U)),n!==u){if(r=[],(o=wt())===u&&(q.test(e.charAt(Be))?(o=e.charAt(Be),Be++):(o=u,0===Qe&&ot($))),o!==u)for(;o!==u;)r.push(o),(o=wt())===u&&(q.test(e.charAt(Be))?(o=e.charAt(Be),Be++):(o=u,0===Qe&&ot($)));else r=u;r!==u?(39===e.charCodeAt(Be)?(o=z,Be++):(o=u,0===Qe&&ot(U)),o!==u?t=n=[n,r,o]:(Be=t,t=u)):(Be=t,t=u)}else Be=t,t=u;if(t===u)if(t=[],(n=wt())===u&&(B.test(e.charAt(Be))?(n=e.charAt(Be),Be++):(n=u,0===Qe&&ot(W))),n!==u)for(;n!==u;)t.push(n),(n=wt())===u&&(B.test(e.charAt(Be))?(n=e.charAt(Be),Be++):(n=u,0===Qe&&ot(W)));else t=u;return t}function pt(){var t,n;if(t=[],V.test(e.charAt(Be))?(n=e.charAt(Be),Be++):(n=u,0===Qe&&ot(K)),n!==u)for(;n!==u;)t.push(n),V.test(e.charAt(Be))?(n=e.charAt(Be),Be++):(n=u,0===Qe&&ot(K));else t=u;return t}function mt(){var t,n,r,o,a;return t=Be,yt()!==u&&(n=Et())!==u&&yt()!==u?(123===e.charCodeAt(Be)?(r=p,Be++):(r=u,0===Qe&&ot(m)),r!==u&&(o=it())!==u?(125===e.charCodeAt(Be)?(a=g,Be++):(a=u,0===Qe&&ot(y)),a!==u?(We=t,t=fe(n,o)):(Be=t,t=u)):(Be=t,t=u)):(Be=t,t=u),t}function ht(){var t,n,r,o,a;return t=Be,yt()!==u?(n=function(){var t,n,r,o;return t=Be,n=Be,61===e.charCodeAt(Be)?(r=se,Be++):(r=u,0===Qe&&ot(ce)),r!==u&&(o=bt())!==u?n=r=[r,o]:(Be=n,n=u),(t=n!==u?e.substring(t,Be):n)===u&&(t=Et()),t}(),n!==u&&yt()!==u?(123===e.charCodeAt(Be)?(r=p,Be++):(r=u,0===Qe&&ot(m)),r!==u&&(o=it())!==u?(125===e.charCodeAt(Be)?(a=g,Be++):(a=u,0===Qe&&ot(y)),a!==u?(We=t,t=de(n,o)):(Be=t,t=u)):(Be=t,t=u)):(Be=t,t=u)):(Be=t,t=u),t}function vt(){var t;return Qe++,me.test(e.charAt(Be))?(t=e.charAt(Be),Be++):(t=u,0===Qe&&ot(he)),Qe--,t===u&&0===Qe&&ot(pe),t}function gt(){var t;return Qe++,ge.test(e.charAt(Be))?(t=e.charAt(Be),Be++):(t=u,0===Qe&&ot(ye)),Qe--,t===u&&0===Qe&&ot(ve),t}function yt(){var t,n,r;for(Qe++,t=Be,n=[],r=vt();r!==u;)n.push(r),r=vt();return t=n!==u?e.substring(t,Be):n,Qe--,t===u&&(n=u,0===Qe&&ot(be)),t}function bt(){var t,n,r;return Qe++,t=Be,45===e.charCodeAt(Be)?(n=_e,Be++):(n=u,0===Qe&&ot(xe)),n===u&&(n=null),n!==u&&(r=St())!==u?(We=t,t=n=ke(n,r)):(Be=t,t=u),Qe--,t===u&&(n=u,0===Qe&&ot(we)),t}function wt(){var t,n;return Qe++,t=Be,e.substr(Be,2)===Ee?(n=Ee,Be+=2):(n=u,0===Qe&&ot(Te)),n!==u&&(We=t,n=Pe()),Qe--,(t=n)===u&&(n=u,0===Qe&&ot(Se)),t}function _t(){var t,n,r,o,a,i;if(t=Be,39===e.charCodeAt(Be)?(n=z,Be++):(n=u,0===Qe&&ot(U)),n!==u)if(Ce.test(e.charAt(Be))?(r=e.charAt(Be),Be++):(r=u,0===Qe&&ot(Oe)),r!==u){for(o=Be,a=[],e.substr(Be,2)===Ee?(i=Ee,Be+=2):(i=u,0===Qe&&ot(Te)),i===u&&(q.test(e.charAt(Be))?(i=e.charAt(Be),Be++):(i=u,0===Qe&&ot($)));i!==u;)a.push(i),e.substr(Be,2)===Ee?(i=Ee,Be+=2):(i=u,0===Qe&&ot(Te)),i===u&&(q.test(e.charAt(Be))?(i=e.charAt(Be),Be++):(i=u,0===Qe&&ot($)));(o=a!==u?e.substring(o,Be):a)!==u?(39===e.charCodeAt(Be)?(a=z,Be++):(a=u,0===Qe&&ot(U)),a!==u?(We=t,t=n=Ae(r,o)):(Be=t,t=u)):(Be=t,t=u)}else Be=t,t=u;else Be=t,t=u;return t}function xt(){var t,n;return t=Be,je.test(e.charAt(Be))?(n=e.charAt(Be),Be++):(n=u,0===Qe&&ot(Le)),n!==u?e.substring(t,Be):n}function kt(){var t,n;return Qe++,t=Be,(n=St())===u&&(n=Et()),t=n!==u?e.substring(t,Be):n,Qe--,t===u&&(n=u,0===Qe&&ot(Ie)),t}function St(){var t,n,r,o,a;if(Qe++,t=Be,48===e.charCodeAt(Be)?(n=Me,Be++):(n=u,0===Qe&&ot(Ne)),n!==u&&(We=t,n=De()),(t=n)===u){if(t=Be,n=Be,Re.test(e.charAt(Be))?(r=e.charAt(Be),Be++):(r=u,0===Qe&&ot(He)),r!==u){for(o=[],ze.test(e.charAt(Be))?(a=e.charAt(Be),Be++):(a=u,0===Qe&&ot(Ue));a!==u;)o.push(a),ze.test(e.charAt(Be))?(a=e.charAt(Be),Be++):(a=u,0===Qe&&ot(Ue));o!==u?n=r=[r,o]:(Be=n,n=u)}else Be=n,n=u;n!==u&&(We=t,n=qe(n)),t=n}return Qe--,t===u&&(n=u,0===Qe&&ot(Fe)),t}function Et(){var t,n,r,o,a;if(Qe++,t=Be,n=[],r=Be,o=Be,Qe++,(a=vt())===u&&(a=gt()),Qe--,a===u?o=void 0:(Be=o,o=u),o!==u?(e.length>Be?(a=e.charAt(Be),Be++):(a=u,0===Qe&&ot(k)),a!==u?r=o=[o,a]:(Be=r,r=u)):(Be=r,r=u),r!==u)for(;r!==u;)n.push(r),r=Be,o=Be,Qe++,(a=vt())===u&&(a=gt()),Qe--,a===u?o=void 0:(Be=o,o=u),o!==u?(e.length>Be?(a=e.charAt(Be),Be++):(a=u,0===Qe&&ot(k)),a!==u?r=o=[o,a]:(Be=r,r=u)):(Be=r,r=u);else n=u;return t=n!==u?e.substring(t,Be):n,Qe--,t===u&&(n=u,0===Qe&&ot($e)),t}function Tt(){return t&&t.captureLocation?{location:Ze()}:{}}if((n=s())!==u&&Be===e.length)return n;throw n!==u&&Be1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(T,(function(e,n,r){return"."===e?t.maximumFractionDigits=0:"+"===r?t.minimumFractionDigits=r.length:"#"===n[0]?t.maximumFractionDigits=n.length:(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+("string"==typeof r?r.length:0)),""})),o.options.length&&(t=k(k({},t),C(o.options[0])))}else if(P.test(o.stem))t=k(k({},t),C(o.stem));else{var a=O(o.stem);a&&(t=k(k({},t),a))}}return t}var L,I=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),F=function(){for(var e=0,t=0,n=arguments.length;t(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,W=Date.now()+"@@",V=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function K(e,t,n){var r=e.tagName,o=e.outerHTML,a=e.textContent,i=e.childNodes;if(!r)return $(a||"",t);r=r.toLowerCase();var u=~V.indexOf(r),l=n[r];if(l&&u)throw new D(r+" is a self-closing tag and can not be used, please use another tag name.");if(!i.length)return[o];var s=Array.prototype.slice.call(i).reduce((function(e,r){return e.concat(K(r,t,n))}),[]);return l?"function"==typeof l?[l.apply(void 0,s)]:[l]:F(["<"+r+">"],s,[""])}function G(e,t,n,r,o,a){var i=R(e,t,n,r,o,void 0,a),u={},l=i.reduce((function(e,t){if(0===t.type)return e+t.value;var n=Date.now()+"_"+ ++q;return u[n]=t.value,e+""+z+n+z}),"");if(!B.test(l))return $(l,u);if(!o)throw new D("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new D("Cannot format XML message without DOMParser");L||(L=new DOMParser);var s=L.parseFromString(''+l+"","text/html").getElementById(W);if(!s)throw new D("Malformed HTML message "+l);var c=Object.keys(o).filter((function(e){return!!s.getElementsByTagName(e).length}));if(!c.length)return $(l,u);var f=c.filter((function(e){return e!==e.toLowerCase()}));if(f.length)throw new D("HTML tag must be lowercased but the following tags are not: "+f.join(", "));return Array.prototype.slice.call(s.childNodes).reduce((function(e,t){return e.concat(K(t,u,o))}),[])}var Q=function(){return Q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";e.exports=function(e,t,n,r,o,a,i,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,a,i,u],c=0;(l=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},2211:e=>{const t=[{id:"au",name:"Australia",active:!1,isHuffPostMainSite:!0,locale:"en_AU",link:"https://www.huffingtonpost.com.au"}];e.exports=t.length<=1?t[0]:t},21671:e=>{const t=[{id:"br",name:"Brazil",active:!1,isHuffPostMainSite:!0,locale:"pt_BR",link:"https://www.huffpostbrasil.com"}];e.exports=t.length<=1?t[0]:t},78071:e=>{const t=[{id:"ca",name:"Canada",active:!1,isHuffPostMainSite:!0,locale:"en_CA",link:"https://www.huffingtonpost.ca"}];e.exports=t.length<=1?t[0]:t},18187:e=>{const t=[{id:"es",name:"España",active:!0,isHuffPostMainSite:!0,locale:"es_ES",link:"https://www.huffingtonpost.es"}];e.exports=t.length<=1?t[0]:t},35383:e=>{const t=[{id:"fr",name:"France",active:!0,isHuffPostMainSite:!0,locale:"fr_FR",link:"https://www.huffingtonpost.fr"}];e.exports=t.length<=1?t[0]:t},5761:e=>{const t=[{id:"gr",name:"Ελλάδα (Greece)",active:!0,isHuffPostMainSite:!0,locale:"el_GR",link:"https://www.huffingtonpost.gr"}];e.exports=t.length<=1?t[0]:t},95285:e=>{const t=[{id:"in",name:"India",active:!1,isHuffPostMainSite:!0,locale:"en_IN",link:"https://www.huffingtonpost.in"}];e.exports=t.length<=1?t[0]:t},59985:e=>{const t=[{id:"it",name:"Italia",active:!0,isHuffPostMainSite:!0,locale:"it_IT",link:"https://www.huffingtonpost.it"}];e.exports=t.length<=1?t[0]:t},32155:e=>{const t=[{id:"jp",name:"日本 (Japan)",active:!0,isHuffPostMainSite:!0,locale:"ja_JP",link:"https://www.huffingtonpost.jp"}];e.exports=t.length<=1?t[0]:t},88321:e=>{const t=[{id:"kr",name:"한국 (Korea)",active:!0,isHuffPostMainSite:!0,locale:"ko_KR",link:"https://www.huffingtonpost.kr"}];e.exports=t.length<=1?t[0]:t},26819:e=>{const t=[{id:"qc",name:"Québec",active:!1,isHuffPostMainSite:!0,locale:"fr_CA",link:"https://quebec.huffingtonpost.ca"}];e.exports=t.length<=1?t[0]:t},41563:e=>{const t=[{id:"spoilsuk",name:"The Spoils U.K.",active:!0,locale:"en_GB",link:"https://thespoils.huffpost.co.uk",excludeFromNav:!0}];e.exports=t.length<=1?t[0]:t},51691:e=>{const t=[{id:"uk",name:"U.K.",active:!0,isHuffPostMainSite:!0,locale:"en_GB",link:"https://www.huffingtonpost.co.uk"}];e.exports=t.length<=1?t[0]:t},55851:e=>{const t=[{id:"us",name:"U.S.",active:!0,isHuffPostMainSite:!0,locale:"en_US",link:"https://www.huffpost.com"}];e.exports=t.length<=1?t[0]:t},21664:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,i,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l{"use strict";var r=n(63696),o=n(21664),a=n(91434);function i(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rthis.eventPool.length&&this.eventPool.push(e)}function de(e){e.eventPool=[],e.getPooled=ce,e.release=fe}o(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ue)},persist:function(){this.isPersistent=ue},isPersistent:le,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=le,this._dispatchInstances=this._dispatchListeners=null}}),se.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},se.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var a=new t;return o(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,de(n),n},de(se);var pe=se.extend({data:null}),me=se.extend({data:null}),he=[9,13,27,32],ve=V&&"CompositionEvent"in window,ge=null;V&&"documentMode"in document&&(ge=document.documentMode);var ye=V&&"TextEvent"in window&&!ge,be=V&&(!ve||ge&&8=ge),we=String.fromCharCode(32),_e={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},xe=!1;function ke(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Se(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ee=!1,Te={eventTypes:_e,extractEvents:function(e,t,n,r){var o=void 0,a=void 0;if(ve)e:{switch(e){case"compositionstart":o=_e.compositionStart;break e;case"compositionend":o=_e.compositionEnd;break e;case"compositionupdate":o=_e.compositionUpdate;break e}o=void 0}else Ee?ke(e,n)&&(o=_e.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=_e.compositionStart);return o?(be&&"ko"!==n.locale&&(Ee||o!==_e.compositionStart?o===_e.compositionEnd&&Ee&&(a=ie()):(oe="value"in(re=r)?re.value:re.textContent,Ee=!0)),o=pe.getPooled(o,t,n,r),(a||null!==(a=Se(n)))&&(o.data=a),W(o),a=o):a=null,(e=ye?function(e,t){switch(e){case"compositionend":return Se(t);case"keypress":return 32!==t.which?null:(xe=!0,we);case"textInput":return(e=t.data)===we&&xe?null:e;default:return null}}(e,n):function(e,t){if(Ee)return"compositionend"===e||!ve&&ke(e,t)?(e=ie(),ae=oe=re=null,Ee=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1