this.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,[""+r+">"])}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&&1t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!ft.call(pt,e)||!ft.call(dt,e)&&(ct.test(e)?pt[e]=!0:(dt[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function bt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function wt(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function _t(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=bt(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function xt(e,t){null!=(t=t.checked)&&yt(e,"checked",t,!1)}function kt(e,t){xt(e,t);var n=bt(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Et(e,t.type,n):t.hasOwnProperty("defaultValue")&&Et(e,t.type,bt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function St(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Et(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(vt,gt);ht[t]=new mt(t,1,!1,e,null)})),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(vt,gt);ht[t]=new mt(t,1,!1,e,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(vt,gt);ht[t]=new mt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")})),["tabIndex","crossOrigin"].forEach((function(e){ht[e]=new mt(e,1,!1,e.toLowerCase(),null)}));var Tt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Pt(e,t,n){return(e=se.getPooled(Tt.change,e,t,n)).type="change",je(n),W(e),e}var Ct=null,Ot=null;function At(e){L(e)}function jt(e){if(Be(R(e)))return e}function Lt(e,t){if("change"===e)return t}var It=!1;function Ft(){Ct&&(Ct.detachEvent("onpropertychange",Mt),Ot=Ct=null)}function Mt(e){"value"===e.propertyName&&jt(Ot)&&De(At,e=Pt(Ot,e,ze(e)))}function Nt(e,t,n){"focus"===e?(Ft(),Ot=n,(Ct=t).attachEvent("onpropertychange",Mt)):"blur"===e&&Ft()}function Dt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return jt(Ot)}function Rt(e,t){if("click"===e)return jt(t)}function Ht(e,t){if("input"===e||"change"===e)return jt(t)}V&&(It=Ue("input")&&(!document.documentMode||9kn.length&&kn.push(e)}}}var An={},jn=0,Ln="_reactListenersID"+(""+Math.random()).slice(2);function In(e){return Object.prototype.hasOwnProperty.call(e,Ln)||(e[Ln]=jn++,An[e[Ln]]={}),An[e[Ln]]}function Fn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Mn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nn(e,t){var n,r=Mn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Mn(r)}}function Dn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Dn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Rn(){for(var e=window,t=Fn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Fn((e=t.contentWindow).document)}return t}function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function zn(e){var t=Rn(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Dn(n.ownerDocument.documentElement,n)){if(null!==r&&Hn(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=Nn(n,a);var i=Nn(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,qn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},$n=null,Bn=null,Wn=null,Vn=!1;function Kn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Vn||null==$n||$n!==Fn(n)?null:(n="selectionStart"in(n=$n)&&Hn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Wn&&tn(Wn,n)?null:(Wn=n,(e=se.getPooled(qn.select,Bn,e,t)).type="select",e.target=$n,W(e),e))}var Gn={eventTypes:qn,extractEvents:function(e,t,n,r){var o,a=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!a)){e:{a=In(a),o=_.onSelect;for(var i=0;i=t.length||i("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:bt(n)}}function Xn(e,t){var n=bt(t.value),r=bt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function er(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}A.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x=H,k=D,S=R,A.injectEventPluginsByName({SimpleEventPlugin:_n,EnterLeaveEventPlugin:Yt,ChangeEventPlugin:zt,SelectEventPlugin:Gn,BeforeInputEventPlugin:Te});var tr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function nr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function rr(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?nr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var or,ar=void 0,ir=(or=function(e,t){if(e.namespaceURI!==tr.svg||"innerHTML"in e)e.innerHTML=t;else{for((ar=ar||document.createElement("div")).innerHTML="",t=ar.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return or(e,t)}))}:or);function ur(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var lr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sr=["Webkit","ms","Moz","O"];function cr(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||lr.hasOwnProperty(e)&&lr[e]?(""+t).trim():t+"px"}function fr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=cr(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(lr).forEach((function(e){sr.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lr[t]=lr[e]}))}));var dr=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function pr(e,t){t&&(dr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&i("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&i("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||i("61")),null!=t.style&&"object"!=typeof t.style&&i("62",""))}function mr(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function hr(e,t){var n=In(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=_[t];for(var r=0;rCr||(e.current=Pr[Cr],Pr[Cr]=null,Cr--)}function Ar(e,t){Cr++,Pr[Cr]=e.current,e.current=t}var jr={},Lr={current:jr},Ir={current:!1},Fr=jr;function Mr(e,t){var n=e.type.contextTypes;if(!n)return jr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Nr(e){return null!=e.childContextTypes}function Dr(e){Or(Ir),Or(Lr)}function Rr(e){Or(Ir),Or(Lr)}function Hr(e,t,n){Lr.current!==jr&&i("168"),Ar(Lr,t),Ar(Ir,n)}function zr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())a in e||i("108",lt(t)||"Unknown",a);return o({},n,r)}function Ur(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||jr,Fr=Lr.current,Ar(Lr,t),Ar(Ir,Ir.current),!0}function qr(e,t,n){var r=e.stateNode;r||i("169"),n?(t=zr(e,t,Fr),r.__reactInternalMemoizedMergedChildContext=t,Or(Ir),Or(Lr),Ar(Lr,t)):Or(Ir),Ar(Ir,n)}var $r=null,Br=null;function Wr(e){return function(t){try{return e(t)}catch(e){}}}function Vr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Kr(e,t,n,r){return new Vr(e,t,n,r)}function Gr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Qr(e,t){var n=e.alternate;return null===n?((n=Kr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Jr(e,t,n,r,o,a){var u=2;if(r=e,"function"==typeof e)Gr(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case Je:return Zr(n.children,o,a,t);case tt:return Yr(n,3|o,a,t);case Ze:return Yr(n,2|o,a,t);case Ye:return(e=Kr(12,n,t,4|o)).elementType=Ye,e.type=Ye,e.expirationTime=a,e;case rt:return(e=Kr(13,n,t,o)).elementType=rt,e.type=rt,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Xe:u=10;break e;case et:u=9;break e;case nt:u=11;break e;case ot:u=14;break e;case at:u=16,r=null;break e}i("130",null==e?e:typeof e,"")}return(t=Kr(u,n,t,o)).elementType=e,t.type=r,t.expirationTime=a,t}function Zr(e,t,n,r){return(e=Kr(7,e,r,t)).expirationTime=n,e}function Yr(e,t,n,r){return e=Kr(8,e,r,t),t=1&t?tt:Ze,e.elementType=t,e.type=t,e.expirationTime=n,e}function Xr(e,t,n){return(e=Kr(6,e,null,t)).expirationTime=n,e}function eo(e,t,n){return(t=Kr(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function to(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),oo(t,e)}function no(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),oo(t,e)}function ro(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function oo(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,a=t.latestPingedTime;0===(o=0!==o?o:a)&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}function ao(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var io=(new r.Component).refs;function uo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var lo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===nn(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Tu(),o=Za(r=Zi(r,e));o.payload=t,null!=n&&(o.callback=n),Wi(),Xa(e,o),tu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Tu(),o=Za(r=Zi(r,e));o.tag=Wa,o.payload=t,null!=n&&(o.callback=n),Wi(),Xa(e,o),tu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Tu(),r=Za(n=Zi(n,e));r.tag=Va,null!=t&&(r.callback=t),Wi(),Xa(e,r),tu(e,n)}};function so(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&tn(n,r)&&tn(o,a))}function co(e,t,n){var r=!1,o=jr,a=t.contextType;return"object"==typeof a&&null!==a?a=$a(a):(o=Nr(t)?Fr:Lr.current,a=(r=null!=(r=t.contextTypes))?Mr(e,o):jr),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=lo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function fo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&lo.enqueueReplaceState(t,t.state,null)}function po(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=io;var a=t.contextType;"object"==typeof a&&null!==a?o.context=$a(a):(a=Nr(t)?Fr:Lr.current,o.context=Mr(e,a)),null!==(a=e.updateQueue)&&(ri(e,a,n,o,r),o.state=e.memoizedState),"function"==typeof(a=t.getDerivedStateFromProps)&&(uo(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&lo.enqueueReplaceState(o,o.state,null),null!==(a=e.updateQueue)&&(ri(e,a,n,o,r),o.state=e.memoizedState)),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var mo=Array.isArray;function ho(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&i("309"),r=n.stateNode),r||i("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===io&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}"string"!=typeof e&&i("284"),n._owner||i("290",e)}return e}function vo(e,t){"textarea"!==e.type&&i("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function go(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return(e=Qr(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)h?(v=f,f=null):v=f.sibling;var g=p(o,f,u[h],l);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(o,f),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g,f=v}if(h===u.length)return n(o,f),s;if(null===f){for(;hv?(g=h,h=null):g=h.sibling;var b=p(o,h,y.value,s);if(null===b){h||(h=g);break}e&&h&&null===b.alternate&&t(o,h),u=a(b,u,v),null===f?c=b:f.sibling=b,f=b,h=g}if(y.done)return n(o,h),c;if(null===h){for(;!y.done;v++,y=l.next())null!==(y=d(o,y.value,s))&&(u=a(y,u,v),null===f?c=y:f.sibling=y,f=y);return c}for(h=r(o,h);!y.done;v++,y=l.next())null!==(y=m(h,o,v,y.value,s))&&(e&&null!==y.alternate&&h.delete(null===y.key?v:y.key),u=a(y,u,v),null===f?c=y:f.sibling=y,f=y);return e&&h.forEach((function(e){return t(o,e)})),c}return function(e,r,a,l){var s="object"==typeof a&&null!==a&&a.type===Je&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case Ge:e:{for(c=a.key,s=r;null!==s;){if(s.key===c){if(7===s.tag?a.type===Je:s.elementType===a.type){n(e,s.sibling),(r=o(s,a.type===Je?a.props.children:a.props)).ref=ho(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===Je?((r=Zr(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Jr(a.type,a.key,a.props,null,e.mode,l)).ref=ho(e,r,a),l.return=e,e=l)}return u(e);case Qe:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=eo(a,e.mode,l)).return=e,e=r}return u(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Xr(a,e.mode,l)).return=e,e=r),u(e);if(mo(a))return h(e,r,a,l);if(ut(a))return v(e,r,a,l);if(c&&vo(e,a),void 0===a&&!s)switch(e.tag){case 1:case 0:i("152",(l=e.type).displayName||l.name||"Component")}return n(e,r)}}var yo=go(!0),bo=go(!1),wo={},_o={current:wo},xo={current:wo},ko={current:wo};function So(e){return e===wo&&i("174"),e}function Eo(e,t){Ar(ko,t),Ar(xo,e),Ar(_o,wo);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:rr(null,"");break;default:t=rr(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}Or(_o),Ar(_o,t)}function To(e){Or(_o),Or(xo),Or(ko)}function Po(e){So(ko.current);var t=So(_o.current),n=rr(t,e.type);t!==n&&(Ar(xo,e),Ar(_o,n))}function Co(e){xo.current===e&&(Or(_o),Or(xo))}var Oo=0,Ao=2,jo=4,Lo=8,Io=16,Fo=32,Mo=64,No=128,Do=We.ReactCurrentDispatcher,Ro=0,Ho=null,zo=null,Uo=null,qo=null,$o=null,Bo=null,Wo=0,Vo=null,Ko=0,Go=!1,Qo=null,Jo=0;function Zo(){i("321")}function Yo(e,t){if(null===t)return!1;for(var n=0;nWo&&(Wo=f)):a=s.eagerReducer===e?s.eagerState:e(a,s.action),u=s,s=s.next}while(null!==s&&s!==r);c||(l=u,o=a),Xt(a,t.memoizedState)||(Sa=!0),t.memoizedState=a,t.baseUpdate=l,t.baseState=o,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function aa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Vo?(Vo={lastEffect:null}).lastEffect=e.next=e:null===(t=Vo.lastEffect)?Vo.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Vo.lastEffect=e),e}function ia(e,t,n,r){var o=ta();Ko|=e,o.memoizedState=aa(t,n,void 0,void 0===r?null:r)}function ua(e,t,n,r){var o=na();r=void 0===r?null:r;var a=void 0;if(null!==zo){var i=zo.memoizedState;if(a=i.destroy,null!==r&&Yo(r,i.deps))return void aa(Oo,n,a,r)}Ko|=e,o.memoizedState=aa(t,n,a,r)}function la(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function sa(){}function ca(e,t,n){25>Jo||i("301");var r=e.alternate;if(e===Ho||null!==r&&r===Ho)if(Go=!0,e={expirationTime:Ro,action:n,eagerReducer:null,eagerState:null,next:null},null===Qo&&(Qo=new Map),void 0===(n=Qo.get(t)))Qo.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{Wi();var o=Tu(),a={expirationTime:o=Zi(o,e),action:n,eagerReducer:null,eagerState:null,next:null},u=t.last;if(null===u)a.next=a;else{var l=u.next;null!==l&&(a.next=l),u.next=a}if(t.last=a,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var s=t.lastRenderedState,c=r(s,n);if(a.eagerReducer=r,a.eagerState=c,Xt(c,s))return}catch(e){}tu(e,o)}}var fa={readContext:$a,useCallback:Zo,useContext:Zo,useEffect:Zo,useImperativeHandle:Zo,useLayoutEffect:Zo,useMemo:Zo,useReducer:Zo,useRef:Zo,useState:Zo,useDebugValue:Zo},da={readContext:$a,useCallback:function(e,t){return ta().memoizedState=[e,void 0===t?null:t],e},useContext:$a,useEffect:function(e,t){return ia(516,No|Mo,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ia(4,jo|Fo,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ia(4,jo|Fo,e,t)},useMemo:function(e,t){var n=ta();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ta();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ca.bind(null,Ho,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ta().memoizedState=e},useState:function(e){var t=ta();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:ra,lastRenderedState:e}).dispatch=ca.bind(null,Ho,e),[t.memoizedState,e]},useDebugValue:sa},pa={readContext:$a,useCallback:function(e,t){var n=na();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Yo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:$a,useEffect:function(e,t){return ua(516,No|Mo,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ua(4,jo|Fo,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ua(4,jo|Fo,e,t)},useMemo:function(e,t){var n=na();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Yo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:oa,useRef:function(){return na().memoizedState},useState:function(e){return oa(ra)},useDebugValue:sa},ma=null,ha=null,va=!1;function ga(e,t){var n=Kr(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function ya(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function ba(e){if(va){var t=ha;if(t){var n=t;if(!ya(e,t)){if(!(t=Er(n))||!ya(e,t))return e.effectTag|=2,va=!1,void(ma=e);ga(ma,n)}ma=e,ha=Tr(t)}else e.effectTag|=2,va=!1,ma=e}}function wa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;ma=e}function _a(e){if(e!==ma)return!1;if(!va)return wa(e),va=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!wr(t,e.memoizedProps))for(t=ha;t;)ga(e,t),t=Er(t);return wa(e),ha=ma?Er(e.stateNode):null,!0}function xa(){ha=ma=null,va=!1}var ka=We.ReactCurrentOwner,Sa=!1;function Ea(e,t,n,r){t.child=null===e?bo(t,null,n,r):yo(t,e.child,n,r)}function Ta(e,t,n,r,o){n=n.render;var a=t.ref;return qa(t,o),r=Xo(e,t,n,r,a,o),null===e||Sa?(t.effectTag|=1,Ea(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ma(e,t,o))}function Pa(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Gr(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Jr(n.type,null,r,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ca(e,t,i,r,o,a))}return i=e.child,o=t&&(Sa=!0),e.contextDependencies=null}function $a(e,t){return Ha!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(Ha=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ra?(null===Da&&i("308"),Ra=t,Da.contextDependencies={first:t,expirationTime:0}):Ra=Ra.next=t),e._currentValue}var Ba=0,Wa=1,Va=2,Ka=3,Ga=!1;function Qa(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ja(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Za(e){return{expirationTime:e,tag:Ba,payload:null,callback:null,next:null,nextEffect:null}}function Ya(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Xa(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=Qa(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=Qa(e.memoizedState),o=n.updateQueue=Qa(n.memoizedState)):r=e.updateQueue=Ja(o):null===o&&(o=n.updateQueue=Ja(r));null===o||r===o?Ya(r,t):null===r.lastUpdate||null===o.lastUpdate?(Ya(r,t),Ya(o,t)):(Ya(r,t),o.lastUpdate=t)}function ei(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=Qa(e.memoizedState):ti(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function ti(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Ja(t)),t}function ni(e,t,n,r,a,i){switch(n.tag){case Wa:return"function"==typeof(e=n.payload)?e.call(i,r,a):e;case Ka:e.effectTag=-2049&e.effectTag|64;case Ba:if(null==(a="function"==typeof(e=n.payload)?e.call(i,r,a):e))break;return o({},r,a);case Va:Ga=!0}return r}function ri(e,t,n,r,o){Ga=!1;for(var a=(t=ti(e,t)).baseState,i=null,u=0,l=t.firstUpdate,s=a;null!==l;){var c=l.expirationTime;ct?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),0===(n=e.earliestSuspendedTime)?to(e,t):tn&&to(e,t)}oo(0,e)}(e,o>r?o:r),Ti.current=null,r=void 0,1n?t:n)&&(Hi=null),function(e,t){e.expirationTime=t,e.finishedWork=null}(e,t)}function Ki(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(1024&e.effectTag){if(null!==(e=Si(e)))return e.effectTag&=1023,e;null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=1024)}else{Oi=e;e:{var a=t,u=ji,l=(t=e).pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 18:break;case 1:case 17:Nr(t.type)&&Dr();break;case 3:To(),Rr(),(l=t.stateNode).pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==a&&null!==a.child||(_a(t),t.effectTag&=-3),si(t);break;case 5:Co(t);var s=So(ko.current);if(u=t.type,null!==a&&null!=t.stateNode)ci(a,t,u,l,s),a.ref!==t.ref&&(t.effectTag|=128);else if(l){var c=So(_o.current);if(_a(t)){a=(l=t).stateNode;var f=l.type,d=l.memoizedProps,p=s;switch(a[F]=l,a[M]=d,u=void 0,s=f){case"iframe":case"object":Tn("load",a);break;case"video":case"audio":for(f=0;f<\/script>",f=a.removeChild(a.firstChild)):"string"==typeof a.is?f=f.createElement(p,{is:a.is}):(f=f.createElement(p),"select"===p&&(p=f,a.multiple?p.multiple=!0:a.size&&(p.size=a.size))):f=f.createElementNS(c,p),(a=f)[F]=d,a[M]=l,li(a,t,!1,!1),p=a;var m=s,h=mr(f=u,d=l);switch(f){case"iframe":case"object":Tn("load",p),s=d;break;case"video":case"audio":for(s=0;sl&&(l=a),(s=u.childExpirationTime)>l&&(l=s),u=u.sibling;t.childExpirationTime=l}if(null!==Oi)return Oi;null!==n&&!(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1=n?Fa(e,t,n):null!==(t=Ma(e,t,n))?t.sibling:null}return Ma(e,t,n)}}else Sa=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var o=Mr(t,Lr.current);if(qa(t,n),o=Xo(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,ea(),Nr(r)){var a=!0;Ur(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null;var u=r.getDerivedStateFromProps;"function"==typeof u&&uo(t,r,u,e),o.updater=lo,t.stateNode=o,o._reactInternalFiber=t,po(t,r,e,n),t=La(null,t,r,!0,a,n)}else t.tag=0,Ea(null,t,o,n),t=t.child;return t;case 16:switch(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),a=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)})),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(o),t.type=e,o=t.tag=function(e){if("function"==typeof e)return Gr(e)?1:0;if(null!=e){if((e=e.$$typeof)===nt)return 11;if(e===ot)return 14}return 2}(e),a=ao(e,a),u=void 0,o){case 0:u=Aa(null,t,e,a,n);break;case 1:u=ja(null,t,e,a,n);break;case 11:u=Ta(null,t,e,a,n);break;case 14:u=Pa(null,t,e,ao(e.type,a),r,n);break;default:i("306",e,"")}return u;case 0:return r=t.type,o=t.pendingProps,Aa(e,t,r,o=t.elementType===r?o:ao(r,o),n);case 1:return r=t.type,o=t.pendingProps,ja(e,t,r,o=t.elementType===r?o:ao(r,o),n);case 3:return Ia(t),null===(r=t.updateQueue)&&i("282"),o=null!==(o=t.memoizedState)?o.element:null,ri(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===o?(xa(),t=Ma(e,t,n)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(ha=Tr(t.stateNode.containerInfo),ma=t,o=va=!0),o?(t.effectTag|=2,t.child=bo(t,null,r,n)):(Ea(e,t,r,n),xa()),t=t.child),t;case 5:return Po(t),null===e&&ba(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,u=o.children,wr(r,o)?u=null:null!==a&&wr(r,a)&&(t.effectTag|=16),Oa(e,t),1!==n&&1&t.mode&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ea(e,t,u,n),t=t.child),t;case 6:return null===e&&ba(t),null;case 13:return Fa(e,t,n);case 4:return Eo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=yo(t,null,r,n):Ea(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ta(e,t,r,o=t.elementType===r?o:ao(r,o),n);case 7:return Ea(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ea(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,u=t.memoizedProps,za(t,a=o.value),null!==u){var l=u.value;if(0==(a=Xt(l,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(u.children===o.children&&!Ir.current){t=Ma(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.contextDependencies;if(null!==s){u=l.child;for(var c=s.first;null!==c;){if(c.context===r&&c.observedBits&a){1===l.tag&&((c=Za(n)).tag=Va,Xa(l,c)),l.expirationTime=h?p=0:(-1===p||h component higher in the tree to provide a loading indicator or placeholder to display."+st(c))}Ii=!0,f=ii(f,c),l=s;do{switch(l.tag){case 3:l.effectTag|=2048,l.expirationTime=u,ei(l,u=xi(l,f,u));break e;case 1:if(p=f,m=l.type,c=l.stateNode,!(64&l.effectTag||"function"!=typeof m.getDerivedStateFromError&&(null===c||"function"!=typeof c.componentDidCatch||null!==Hi&&Hi.has(c)))){l.effectTag|=2048,l.expirationTime=u,ei(l,u=ki(l,p,u));break e}}l=l.return}while(null!==l)}Oi=Ki(a);continue}o=!0,Nu(t)}}break}if(Ci=!1,Ei.current=n,Ha=Ra=Da=null,ea(),o)Ai=null,e.finishedWork=null;else if(null!==Oi)e.finishedWork=null;else{if(null===(n=e.current.alternate)&&i("281"),Ai=null,Ii){if(o=e.latestPendingTime,a=e.latestSuspendedTime,u=e.latestPingedTime,0!==o&&ot?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function Ji(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Hi||!Hi.has(r)))return Xa(n,e=ki(n,e=ii(t,e),1073741823)),void tu(n,1073741823);break;case 3:return Xa(n,e=xi(n,e=ii(t,e),1073741823)),void tu(n,1073741823)}n=n.return}3===e.tag&&(Xa(e,n=xi(e,n=ii(t,e),1073741823)),tu(e,1073741823))}function Zi(e,t){var n=a.unstable_getCurrentPriorityLevel(),r=void 0;if(1&t.mode)if(Ci&&!Mi)r=ji;else{switch(n){case a.unstable_ImmediatePriority:r=1073741823;break;case a.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case a.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case a.unstable_LowPriority:case a.unstable_IdlePriority:r=1;break;default:i("313")}null!==Ai&&r===ji&&--r}else r=1073741823;return n===a.unstable_UserBlockingPriority&&(0===cu||r=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),oo(n,e),0!==(n=e.expirationTime)&&Pu(e,n)))}function Xi(e,t){var n=e.stateNode;null!==n&&n.delete(t),null!==(e=eu(e,t=Zi(t=Tu(),e)))&&(to(e,t),0!==(t=e.expirationTime)&&Pu(e,t))}function eu(e,t){e.expirationTimeji&&zi(),to(e,t),Ci&&!Mi&&Ai===e||Pu(e,e.expirationTime),wu>bu&&(wu=0,i("185")))}function nu(e,t,n,r,o){return a.unstable_runWithPriority(a.unstable_ImmediatePriority,(function(){return e(t,n,r,o)}))}var ru=null,ou=null,au=0,iu=void 0,uu=!1,lu=null,su=0,cu=0,fu=!1,du=null,pu=!1,mu=!1,hu=null,vu=a.unstable_now(),gu=1073741822-(vu/10|0),yu=gu,bu=50,wu=0,_u=null;function xu(){gu=1073741822-((a.unstable_now()-vu)/10|0)}function ku(e,t){if(0!==au){if(te.expirationTime&&(e.expirationTime=t),uu||(pu?mu&&(lu=e,su=1073741823,Fu(e,1073741823,!1)):1073741823===t?Lu(1073741823,!1):ku(e,t))}function Cu(){var e=0,t=null;if(null!==ou)for(var n=ou,r=ru;null!==r;){var o=r.expirationTime;if(0===o){if((null===n||null===ou)&&i("244"),r===r.nextScheduledRoot){ru=ou=r.nextScheduledRoot=null;break}if(r===ru)ru=o=r.nextScheduledRoot,ou.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===ou){(ou=n).nextScheduledRoot=ru,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(o>e&&(e=o,t=r),r===ou)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}lu=t,su=e}var Ou=!1;function Au(){return!!Ou||!!a.unstable_shouldYield()&&(Ou=!0)}function ju(){try{if(!Au()&&null!==ru){xu();var e=ru;do{var t=e.expirationTime;0!==t&&gu<=t&&(e.nextExpirationTimeToWorkOn=gu),e=e.nextScheduledRoot}while(e!==ru)}Lu(0,!0)}finally{Ou=!1}}function Lu(e,t){if(Cu(),t)for(xu(),yu=gu;null!==lu&&0!==su&&e<=su&&!(Ou&&gu>su);)Fu(lu,su,gu>su),Cu(),xu(),yu=gu;else for(;null!==lu&&0!==su&&e<=su;)Fu(lu,su,!1),Cu();if(t&&(au=0,iu=null),0!==su&&ku(lu,su),wu=0,_u=null,null!==hu)for(e=hu,hu=null,t=0;t=n&&(null===hu?hu=[r]:hu.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===_u?wu++:(_u=e,wu=0),a.unstable_runWithPriority(a.unstable_ImmediatePriority,(function(){Vi(e,t)}))}function Nu(e){null===lu&&i("246"),lu.expirationTime=0,fu||(fu=!0,du=e)}function Du(e,t){var n=pu;pu=!0;try{return e(t)}finally{(pu=n)||uu||Lu(1073741823,!1)}}function Ru(e,t){if(pu&&!mu){mu=!0;try{return e(t)}finally{mu=!1}}return e(t)}function Hu(e,t,n){pu||uu||0===cu||(Lu(cu,!1),cu=0);var r=pu;pu=!0;try{return a.unstable_runWithPriority(a.unstable_UserBlockingPriority,(function(){return e(t,n)}))}finally{(pu=r)||uu||Lu(1073741823,!1)}}function zu(e,t,n,r,o){var a=t.current;e:if(n){t:{2===nn(n=n._reactInternalFiber)&&1===n.tag||i("170");var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Nr(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);i("171"),u=void 0}if(1===n.tag){var l=n.type;if(Nr(l)){n=zr(n,l,u);break e}}n=u}else n=jr;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=Za(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Wi(),Xa(a,o),tu(a,r),r}function Uu(e,t,n,r){var o=t.current;return zu(e,t,n,o=Zi(Tu(),o),r)}function qu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $u(e){var t=1073741822-25*(1+((1073741822-Tu()+500)/25|0));t>=Pi&&(t=Pi-1),this._expirationTime=Pi=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Bu(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Wu(e,t,n){e={current:t=Kr(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function Vu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ku(e,t,n,r,o){var a=n._reactRootContainer;if(a){if("function"==typeof o){var i=o;o=function(){var e=qu(a._internalRoot);i.call(e)}}null!=e?a.legacy_renderSubtreeIntoContainer(e,t,o):a.render(t,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Wu(e,!1,t)}(n,r),"function"==typeof o){var u=o;o=function(){var e=qu(a._internalRoot);u.call(e)}}Ru((function(){null!=e?a.legacy_renderSubtreeIntoContainer(e,t,o):a.render(t,o)}))}return qu(a._internalRoot)}function Gu(e,t){var n=2=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Ie=Du,Fe=Hu,Me=function(){uu||0===cu||(Lu(cu,!1),cu=0)};var Qu={createPortal:Gu,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?i("188"):i("268",Object.keys(e))),null===(e=on(t))?null:e.stateNode},hydrate:function(e,t,n){return Vu(t)||i("200"),Ku(null,e,t,!0,n)},render:function(e,t,n){return Vu(t)||i("200"),Ku(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return Vu(n)||i("200"),(null==e||void 0===e._reactInternalFiber)&&i("38"),Ku(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Vu(e)||i("40"),!!e._reactRootContainer&&(Ru((function(){Ku(null,null,e,!1,(function(){e._reactRootContainer=null}))})),!0)},unstable_createPortal:function(){return Gu.apply(void 0,arguments)},unstable_batchedUpdates:Du,unstable_interactiveUpdates:Hu,flushSync:function(e,t){uu&&i("187");var n=pu;pu=!0;try{return nu(e,t)}finally{pu=n,Lu(1073741823,!1)}},unstable_createRoot:function(e,t){return Vu(e)||i("299","unstable_createRoot"),new Wu(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=pu;pu=!0;try{nu(e)}finally{(pu=t)||uu||Lu(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[D,R,H,A.injectEventPluginsByName,b,W,function(e){P(e,B)},je,Le,On,L]}};!function(e){var t=e.findFiberByHostInstance;!function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);$r=Wr((function(e){return t.onCommitFiberRoot(n,e)})),Br=Wr((function(e){return t.onCommitFiberUnmount(n,e)}))}catch(e){}}(o({},e,{overrideProps:null,currentDispatcherRef:We.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=on(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:N,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"});var Ju={default:Qu},Zu=Ju&&Qu||Ju;e.exports=Zu.default||Zu},78325:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(76067)},7759:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(63696),o=n(78030),a=function(e){var t=e.value,n=e.other,o=e.children,a=e.intl,i=a.formatPlural,u=a.textComponent,l=e[i(t,e)]||n;return"function"==typeof o?o(l):u?r.createElement(u,null,l):l};a.defaultProps={type:"cardinal"},a.displayName="FormattedPlural",t.default=o.default(a)},57881:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=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])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=a?s-l:s,f=Math.abs(c-a);this._updateTimer=setTimeout((function(){return n.setState({currentValueInSeconds:c})}),1e3*f)}}},t.prototype.componentDidMount=function(){this.scheduleNextUpdate(this.props,this.state)},t.prototype.componentDidUpdate=function(){this.scheduleNextUpdate(this.props,this.state)},t.prototype.componentWillUnmount=function(){clearTimeout(this._updateTimer),this._updateTimer=null},t.getDerivedStateFromProps=function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:v(e.unit)?m(e.value,e.unit):0}:null},t.prototype.render=function(){var e=this;return i.createElement(u.Context.Consumer,null,(function(t){l.invariantIntlContext(t);var n=t.formatRelativeTime,r=t.textComponent,o=e.props,u=o.children,s=o.value,c=o.unit,f=o.updateIntervalInSeconds,m=e.state.currentValueInSeconds,h=s||0,g=c;if(v(c)&&"number"==typeof m&&f){var y=p(g=d(m));h=Math.round(m/y)}var b=n(h,g,a({},e.props));return"function"==typeof u?u(b):r?i.createElement(r,null,b):b}))},t.displayName="FormattedRelativeTime",t.defaultProps={value:0,unit:"second"},t}(i.PureComponent);t.FormattedRelativeTime=g,t.default=g},48874:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(63696),o=n(78030),a=n(77976);t.default=function(){var e=r.useContext(o.Context);return a.invariantIntlContext(e),e}},82684:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(77976),o=["localeMatcher","type","style"],a=Date.now();t.formatList=function(e,t,n,i){var u=e.locale,l=e.onError;void 0===i&&(i={}),Intl.ListFormat||l(r.createError('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n'));var s=r.filterProps(i,o);try{var c={},f=n.map((function(e,t){if("object"==typeof e){var n=function(e){return a+"_"+e+"_"+a}(t);return c[n]=e,n}return String(e)}));return Object.keys(c).length?t(u,s).formatToParts(f).reduce((function(e,t){var n=t.value;return c[n]?e.push(c[n]):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]):t(u,s).format(f)}catch(e){l(r.createError("Error formatting list.",e))}return n}},37562:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(77976),o=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function a(e,t,n){var a=e.locale,i=e.formats,u=e.onError;void 0===n&&(n={});var l=n.format,s=l&&r.getNamedFormat(i,"number",l,u)||{};return t(a,r.filterProps(n,o,s))}t.getFormatter=a,t.formatNumber=function(e,t,n,o){void 0===o&&(o={});try{return a(e,t,o).format(n)}catch(t){e.onError(r.createError("Error formatting number.",t))}return String(n)},t.formatNumberToParts=function(e,t,n,o){void 0===o&&(o={});try{return a(e,t,o).formatToParts(n)}catch(t){e.onError(r.createError("Error formatting number.",t))}return[]}},18235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(77976),o=["localeMatcher","type"];t.formatPlural=function(e,t,n,a){var i=e.locale,u=e.onError;void 0===a&&(a={}),Intl.PluralRules||u(r.createError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n'));var l=r.filterProps(a,o);try{return t(i,l).select(n)}catch(e){u(r.createError("Error formatting plural.",e))}return"other"}},38824:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(77976),o=["numeric","style"];t.formatRelativeTime=function(e,t,n,a,i){void 0===i&&(i={}),a||(a="second"),Intl.RelativeTimeFormat||e.onError(r.createError('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n'));try{return function(e,t,n){var a=e.locale,i=e.formats,u=e.onError;void 0===n&&(n={});var l=n.format,s=!!l&&r.getNamedFormat(i,"relative",l,u)||{};return t(a,r.filterProps(n,o,s))}(e,t,i).format(n,a)}catch(t){e.onError(r.createError("Error formatting relative time.",t))}return String(n)}},41485:(e,t,n)=>{"use strict";var r=n(87577);t.defineMessages=r.defineMessages;var o=n(7759),a=n(78030);t.injectIntl=a.default,t.RawIntlProvider=a.Provider,a.Context,n(48874).default;var i=n(57881);i.default,t.createIntl=i.createIntl,o.createFormattedComponent("formatDate"),o.createFormattedComponent("formatTime"),o.createFormattedComponent("formatNumber"),o.createFormattedComponent("formatList"),o.createFormattedDateTimePartsComponent("formatDate"),o.createFormattedDateTimePartsComponent("formatTime"),n(7759).FormattedNumberParts,n(12036).default,n(16774).default;var u=n(64881);t.FormattedMessage=u.default,n(11539).default,n(77976).createIntlCache},77976:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(63696),o=n(77725),a=n(37613),i=n(32091),u=i.default||i,l={38:"&",62:">",60:"<",34:""",39:"'"},s=/[&><"']/g;function c(e,t){return"[React Intl] "+e+(t?"\n"+t.stack:"")}function f(e){}t.escape=function(e){return(""+e).replace(s,(function(e){return l[e.charCodeAt(0)]}))},t.filterProps=function(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})},t.invariantIntlContext=function(e){u(e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")},t.createError=c,t.defaultErrorHandler=f,t.DEFAULT_INTL_CONFIG={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:f},t.createIntlCache=function(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{}}},t.createFormatters=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat;return{getDateTimeFormat:a.default(Intl.DateTimeFormat,e.dateTime),getNumberFormat:a.default(Intl.NumberFormat,e.number),getMessageFormat:a.default(o.default,e.message),getRelativeTimeFormat:a.default(t,e.relativeTime),getPluralRules:a.default(Intl.PluralRules,e.pluralRules),getListFormat:a.default(n,e.list)}},t.getNamedFormat=function(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(c("No "+t+" format named: "+n))}},38299:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case a:case u:case i:case p:return e;default:switch(e=e&&e.$$typeof){case s:case d:case v:case h:case l:return e;default:return t}}case o:return t}}}function x(e){return _(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=v,t.Memo=h,t.Portal=o,t.Profiler=u,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||_(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return _(e)===s},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===d},t.isFragment=function(e){return _(e)===a},t.isLazy=function(e){return _(e)===v},t.isMemo=function(e){return _(e)===h},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===u},t.isStrictMode=function(e){return _(e)===i},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===u||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===l||e.$$typeof===s||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=_},84271:(e,t,n)=>{"use strict";e.exports=n(38299)},14403:(e,t,n)=>{"use strict";var r=n(21664),o="function"==typeof Symbol&&Symbol.for,a=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.concurrent_mode"):60111,p=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,v=o?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rL.length&&L.push(e)}function M(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var u=!1;if(null===e)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case a:case i:u=!0}}if(u)return n(r,e,""===t?"."+D(e,0):t),1;if(u=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l{"use strict";e.exports=n(14403)},77699:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=null,o=!1,a=3,i=-1,u=-1,l=!1,s=!1;function c(){if(!l){var e=r.expirationTime;s?S():s=!0,k(p,e)}}function f(){var e=r,t=r.next;if(r===t)r=null;else{var n=r.previous;r=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var o=a,i=u;a=e,u=t;try{var l=n()}finally{a=o,u=i}if("function"==typeof l)if(l={callback:l,priorityLevel:e,expirationTime:t,next:null,previous:null},null===r)r=l.next=l.previous=l;else{n=null,e=r;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=l,c()),(t=n.previous).next=n.previous=l,l.next=n,l.previous=t}}function d(){if(-1===i&&null!==r&&1===r.priorityLevel){l=!0;try{do{f()}while(null!==r&&1===r.priorityLevel)}finally{l=!1,null!==r?c():s=!1}}}function p(e){l=!0;var n=o;o=e;try{if(e)for(;null!==r;){var a=t.unstable_now();if(!(r.expirationTime<=a))break;do{f()}while(null!==r&&r.expirationTime<=a)}else if(null!==r)do{f()}while(null!==r&&!E())}finally{l=!1,o=n,null!==r?c():s=!1,d()}}var m,h,v=Date,g="function"==typeof setTimeout?setTimeout:void 0,y="function"==typeof clearTimeout?clearTimeout:void 0,b="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,w="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function _(e){m=b((function(t){y(h),e(t)})),h=g((function(){w(m),e(t.unstable_now())}),100)}if("object"==typeof performance&&"function"==typeof performance.now){var x=performance;t.unstable_now=function(){return x.now()}}else t.unstable_now=function(){return v.now()};var k,S,E,T=null;if("undefined"!=typeof window?T=window:void 0!==n.g&&(T=n.g),T&&T._schedMock){var P=T._schedMock;k=P[0],S=P[1],E=P[2],t.unstable_now=P[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var C=null,O=function(e){if(null!==C)try{C(e)}finally{C=null}};k=function(e){null!==C?setTimeout(k,0,e):(C=e,setTimeout(O,0,!1))},S=function(){C=null},E=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof b&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof w&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var A=null,j=!1,L=-1,I=!1,F=!1,M=0,N=33,D=33;E=function(){return M<=t.unstable_now()};var R=new MessageChannel,H=R.port2;R.port1.onmessage=function(){j=!1;var e=A,n=L;A=null,L=-1;var r=t.unstable_now(),o=!1;if(0>=M-r){if(!(-1!==n&&n<=r))return I||(I=!0,_(z)),A=e,void(L=n);o=!0}if(null!==e){F=!0;try{e(o)}finally{F=!1}}};var z=function(e){if(null!==A){_(z);var t=e-M+D;tt&&(t=8),D=tt?H.postMessage(void 0):I||(I=!0,_(z))},S=function(){A=null,j=!1,L=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=a,o=i;a=e,i=t.unstable_now();try{return n()}finally{a=r,i=o,d()}},t.unstable_next=function(e){switch(a){case 1:case 2:case 3:var n=3;break;default:n=a}var r=a,o=i;a=n,i=t.unstable_now();try{return e()}finally{a=r,i=o,d()}},t.unstable_scheduleCallback=function(e,n){var o=-1!==i?i:t.unstable_now();if("object"==typeof n&&null!==n&&"number"==typeof n.timeout)n=o+n.timeout;else switch(a){case 1:n=o+-1;break;case 2:n=o+250;break;case 5:n=o+1073741823;break;case 4:n=o+1e4;break;default:n=o+5e3}if(e={callback:e,priorityLevel:a,expirationTime:n,next:null,previous:null},null===r)r=e.next=e.previous=e,c();else{o=null;var u=r;do{if(u.expirationTime>n){o=u;break}u=u.next}while(u!==r);null===o?o=r:o===r&&(r=e,c()),(n=o.previous).next=o.previous=e,e.next=o,e.previous=n}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=a;return function(){var r=a,o=i;a=n,i=t.unstable_now();try{return e.apply(this,arguments)}finally{a=r,i=o,d()}}},t.unstable_getCurrentPriorityLevel=function(){return a},t.unstable_shouldYield=function(){return!o&&(null!==r&&r.expirationTime{"use strict";e.exports=n(77699)},40797:e=>{"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var a=0;a{var r=n(10564).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},a=Object.prototype,i=a.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},s=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",f=l.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof w?t:w,a=Object.create(o.prototype),i=new I(r||[]);return u(a,"_invoke",{value:O(e,n,i)}),a}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var h="suspendedStart",v="suspendedYield",g="executing",y="completed",b={};function w(){}function _(){}function x(){}var k={};d(k,s,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(F([])));E&&E!==a&&i.call(E,s)&&(k=E);var T=x.prototype=w.prototype=Object.create(k);function P(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(o,a,u,l){var s=m(e[o],e,a);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==r(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,l)}),(function(e){n("throw",e,u,l)})):t.resolve(f).then((function(e){c.value=e,u(c)}),(function(e){return n("throw",e,u,l)}))}l(s.arg)}var o;u(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}})}function O(e,n,r){var o=h;return function(a,i){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(r.method=a,r.arg=i;;){var u=r.delegate;if(u){var l=A(u,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var s=m(e,n,r);if("normal"===s.type){if(o=r.done?y:v,s.arg===b)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function A(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var a=m(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,b;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function F(e){if(e||""===e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(l&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:F(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},10564:e=>{function t(n){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},61790:(e,t,n)=>{var r=n(53051)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},17451:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nr})},5249:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(17451);function o(e){if(Array.isArray(e))return(0,r.A)(e)}},45841:(e,t,n)=>{"use strict";function r(e,t,n,r,o,a,i){try{var u=e[a](i),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function u(e){r(i,o,a,u,l,"next",e)}function l(e){r(i,o,a,u,l,"throw",e)}u(void 0)}))}}n.d(t,{A:()=>o})},92099:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},48183:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(92162);function o(e,t){for(var n=0;n{"use strict";n.d(t,{A:()=>o});var r=n(92162);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},74572:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},50171:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(91576);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.A)(e,t)}},12863:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},71833:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},65810:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(40694);function o(e,t){if(t&&("object"===(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}},91576:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},82480:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(5249),o=n(12863),a=n(16438),i=n(71833);function u(e){return(0,r.A)(e)||(0,o.A)(e)||(0,a.A)(e)||(0,i.A)()}},92162:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(40694);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},40694:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}n.d(t,{A:()=>r})},16438:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(17451);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=n,o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[])),o.u=e=>({799:"TimeAgo",939:"EditionsMenu",1054:"Newsletter",1362:"Corrections",1419:"Bookmark",2022:"EditProfile",2037:"Liveblog",2148:"Vidible",2383:"OfferModule",2685:"Banner",2790:"SubNav",2952:"Looper",2981:"Zone",3008:"UpdatedTimestamp",3967:"ContentSubNav",4367:"MemberStatus",5037:"ChangeEmail",5432:"SpoilsNav",5569:"NotificationCenter",5850:"YouTube",5875:"SeeMore",5897:"Connatix",6086:"HighlineNavControls",6289:"HuffPal",6510:"Contribute",6675:"Discussion",6709:"CookieConsent",6861:"WidgetCard",7566:"Image",7708:"Twitter",7742:"VotingToaster",8082:"FrontSupportHuffpost",8117:"GameExpandButton",8362:"Modal",8403:"NewsletterHub",8840:"PrivacyLinks",9105:"SocialButtons",9186:"FeedbackToaster",9397:"Comments",9601:"GameIframe",9751:"TrendingComment",9812:"LeftNavTop",9937:"AlertBanner",9945:"LatestInZone"}[e]+"."+{799:"ca804b331b8ee25bb1d3",939:"260317deec01bfb7e449",1054:"95a7f9c2832c70e3ec9f",1362:"fb167585b14de5a3c702",1419:"527e471a400b0de1fbb4",2022:"d87ed30c590ee97a02ec",2037:"7d4e7c5d0499af6a9c59",2148:"0c45e64a651088e57cdb",2383:"8d5aa8e8eec82912dfd7",2685:"5e68b28c34764024ebaf",2790:"1ac67aa0706a334be1c9",2952:"01bcf12cbec0a1eccbb5",2981:"afcd331bd1edc865f7d2",3008:"cd2fa33c1e4ff7522fce",3967:"d504c2dfdf72c73bb8df",4367:"7176b9538db9d722e9b3",5037:"6cf787c7b8a86ea23859",5432:"a15911eb698bdd870a0f",5569:"225039f9596f8eb1bc52",5850:"79819f2bd19b6aeb0bd6",5875:"22af0cbca2f723d15fe2",5897:"99867a5774e99b2a5f05",6086:"07cb77298bec831cecfb",6289:"ebb62ea5efaf532617cc",6510:"1c287c2770a9d8eab42a",6675:"42118af2b7b6874cc4e1",6709:"80d83d47d78391cae999",6861:"2ab0582c5d8a63696e7b",7566:"d3abb0a40e69a5465ae7",7708:"6b3e2ce151d5215c6ffe",7742:"3a95b29f600456f85742",8082:"e434864a1a77eb0cf9c9",8117:"3048bb957fd60ae9941c",8362:"f1f3f157280cc74c5fe3",8403:"5e7d6f2f6bcdb0c7f0b7",8840:"dc800fbb94b488d7c58c",9105:"e5e1a70570a79bbce413",9186:"fb5ec7ed8cb92eb71aeb",9397:"2f642fc01fd2bdbcc8ae",9601:"0f309c0109971cf8f852",9751:"c7dfd23683cbb3c40839",9812:"c3b31479109916235d51",9937:"bba2a80a632c6d7a7591",9945:"eb34d79e4fca28bd0594"}[e]+".js"),o.miniCssF=e=>({2037:"Liveblog",2981:"Zone",5875:"SeeMore",6675:"Discussion",6861:"WidgetCard",9945:"LatestInZone"}[e]+"."+{2037:"6f5b7fd1806fd43d0c1c",2981:"6f5b7fd1806fd43d0c1c",5875:"6f5b7fd1806fd43d0c1c",6675:"ea9560bef194eb3c0c77",6861:"6f5b7fd1806fd43d0c1c",9945:"6f5b7fd1806fd43d0c1c"}[e]+".css"),o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="cambria:",o.l=(n,r,a,i)=>{if(e[n])e[n].push(r);else{var u,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),c=0;c{u.onerror=u.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((e=>e(r))),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=d.bind(null,u.onerror),u.onload=d.bind(null,u.onload),l&&document.head.appendChild(u)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.j=6946,o.p="/static-assets/cambria/app/",(()=>{if("undefined"!=typeof document){var e={6946:0,6180:0,4644:0,6587:0,2960:0};o.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{2037:1,2981:1,5875:1,6675:1,6861:1,9945:1}[t]&&n.push(e[t]=(e=>new Promise(((t,n)=>{var r=o.miniCssF(e),a=o.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",o.nc&&(i.nonce=o.nc),i.onerror=i.onload=n=>{if(i.onerror=i.onload=null,"load"===n.type)r();else{var o=n&&n.type,u=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+u+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=o,l.request=u,i.parentNode&&i.parentNode.removeChild(i),a(l)}},i.href=t,document.head.appendChild(i)})(e,a,0,t,n)})))(t).then((()=>{e[t]=0}),(n=>{throw delete e[t],n})))}}})(),(()=>{var e={6946:0,6180:0,4644:0,6587:0,2960:0};o.f.j=(t,n)=>{var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=a);var i=o.p+o.u(t),u=new Error;o.l(i,(n=>{if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;u.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",u.name="ChunkLoadError",u.type=a,u.request=i,r[1](u)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,a,[i,u,l]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in u)o.o(u,r)&&(o.m[r]=u[r]);l&&l(o)}for(t&&t(n);s{"use strict";var e=o(45841),t=o(61790),n=o.n(t),r=o(63696),a=o.n(r),i=o(78325),u=o.n(i),l=o(41485);const s={OfferModule:function(){return o.e(2383).then(o.bind(o,71972))},MemberStatus:function(){return o.e(4367).then(o.bind(o,31510))},SeeMore:function(){return o.e(5875).then(o.bind(o,66395))},NewsletterHub:function(){return o.e(8403).then(o.bind(o,75270))},Newsletter:function(){return o.e(1054).then(o.bind(o,48817))},PrivacyLinks:function(){return o.e(8840).then(o.bind(o,55061))},CookieConsent:function(){return o.e(6709).then(o.bind(o,79580))},LatestInZone:function(){return o.e(9945).then(o.bind(o,89033))},Image:function(){return o.e(7566).then(o.bind(o,74696))},SubNav:function(){return o.e(2790).then(o.bind(o,97747))},LeftNavTop:function(){return o.e(9812).then(o.bind(o,75949))},ContentSubNav:function(){return o.e(3967).then(o.bind(o,83478))},Modal:function(){return o.e(8362).then(o.bind(o,35931))},SocialButtons:function(){return o.e(9105).then(o.bind(o,38374))},FeedbackToaster:function(){return o.e(9186).then(o.bind(o,69779))},VotingToaster:function(){return o.e(7742).then(o.bind(o,15439))},TimeAgo:function(){return o.e(799).then(o.bind(o,46374))},UpdatedTimestamp:function(){return o.e(3008).then(o.bind(o,79481))},Comments:function(){return o.e(9397).then(o.bind(o,25858))},Bookmark:function(){return o.e(1419).then(o.bind(o,29760))},YouTube:function(){return o.e(5850).then(o.bind(o,25958))},Vidible:function(){return o.e(2148).then(o.bind(o,33272))},Connatix:function(){return o.e(5897).then(o.bind(o,25231))},Looper:function(){return o.e(2952).then(o.bind(o,69950))},Twitter:function(){return o.e(7708).then(o.bind(o,24971))},Corrections:function(){return o.e(1362).then(o.bind(o,42071))},HighlineNavControls:function(){return o.e(6086).then(o.bind(o,5827))},SpoilsNav:function(){return o.e(5432).then(o.bind(o,72570))},ChangeEmail:function(){return o.e(5037).then(o.bind(o,41079))},EditProfile:function(){return o.e(2022).then(o.bind(o,80679))},EditionsMenu:function(){return o.e(939).then(o.bind(o,38746))},Banner:function(){return o.e(2685).then(o.bind(o,48871))},Liveblog:function(){return o.e(2037).then(o.bind(o,85836))},Zone:function(){return o.e(2981).then(o.bind(o,33232))},FrontSupportHuffpost:function(){return o.e(8082).then(o.bind(o,99051))},Contribute:function(){return o.e(6510).then(o.bind(o,64863))},AlertBanner:function(){return o.e(9937).then(o.bind(o,46436))},NotificationCenter:function(){return o.e(5569).then(o.bind(o,19124))},HuffPal:function(){return o.e(6289).then(o.bind(o,88576))},GameIframe:function(){return o.e(9601).then(o.bind(o,67832))},GameExpandButton:function(){return o.e(8117).then(o.bind(o,46988))},WidgetCard:function(){return o.e(6861).then(o.bind(o,65513))},TrendingComment:function(){return o.e(9751).then(o.bind(o,34790))},Discussion:function(){return o.e(6675).then(o.bind(o,94678))}};var c=function(e){try{return JSON.parse(e)}catch(e){return null}};function f(e){var t=Array.prototype.map.call(e,(function(e){return{reactWrapper:e,componentProps:c(e.getAttribute("data-component-props")),componentName:e.getAttribute("data-component-name"),componentId:e.getAttribute("data-component-id")}})),n=t.map((function(e){return e.componentName})).reduce((function(e,t){return-1===e.indexOf(t)&&e.push(t),e}),[]);return console.info("Hydrating ".concat(t.length," components: ").concat(n.join(", "))),t.map((function(e){return s[e.componentName]().then((function(t){return Object.assign(e,{Component:t.default})})).catch((function(t){return console.error(t),e}))}))}function d(){var e=document.getElementById("intl-messages"),t=JSON.parse(e.text);return(0,l.createIntl)(t)}document.addEventListener("DOMContentLoaded",(0,e.A)(n().mark((function t(){var r,o,i,s;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=d(),o=f(document.querySelectorAll(".js-react-hydrator")),t.next=4,Promise.all(o);case 4:i=t.sent,s=i.map(function(){var t=(0,e.A)(n().mark((function e(t){var o,i,s,c,f;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.reactWrapper,i=t.componentProps,s=t.componentName,c=t.componentId,f=t.Component,c){e.next=4;break}return console.error("Unable to hydrate react component, no id found."),e.abrupt("return",null);case 4:if(!f||!i){e.next=6;break}return e.abrupt("return",new Promise((function(e,t){try{var n=a().createElement(l.RawIntlProvider,{value:r},a().createElement(f,i));u().hydrate(n,o,(function(){var t=o.firstChild;o.parentElement.replaceChild(t,o),e()}))}catch(t){console.error('Error while hydrating "'.concat(s,'" with id (').concat(c,")"),t),e()}})));case 6:return console.error('Unable to hydrate "'.concat(s,'" with id (').concat(c,")"),i),e.abrupt("return",null);case 8:case"end":return e.stop()}}),e)})));return function(e){return t.apply(this,arguments)}}()),Promise.all(s).then((function(){return window.dispatchEvent(new Event("hydration-complete"))}));case 7:case"end":return t.stop()}}),t)})))),o(82106);var p=o(41705),m=o(82480),h=o(42519),v=o(96522),g=o(11467);const y=e=>{let{context_page_id:t=(0,g.gx)("context_page_id"),context_page_type:n=(0,g.gx)("context_page_type"),destination:r=(0,g.gx)("destination")}=e;return()=>({context_page_id:String(t),context_page_type:n,destination:r})},b=e=>{let{item_name:t=(0,g.gx)("item_name"),item_type:n=(0,g.gx)("item_type"),position_in_subunit:r,position_in_unit:o}=e;return()=>({item_name:String(t),item_type:n,position_in_subunit:(0,g.P3)(r),position_in_unit:(0,g.P3)(o)})},w=e=>{let{subunit_name:t="",subunit_type:n=""}=e;return()=>({subunit_name:(0,g.HI)(t.toString()),subunit_type:n})},_=e=>{let{unit_name:t=(0,g.gx)("unit_name"),unit_type:n=(0,g.gx)("unit_type")}=e;return()=>({unit_type:n,unit_name:(0,g.HI)(t)})},x={flush:!0,required_layers:[e=>{let{action_type:t=(0,g.gx)("action_type"),action_value:n=(0,g.gx)("action_value")}=e;return()=>({action_type:t,action_value:n.toString()})},y,b,w,_],type:"web_content_action"},k=e=>{let{data_source_algorithm:t,data_source_algorithm_version:n,data_source_name:r=""}=e;return()=>({data_source_algorithm:(0,g.K3)((0,g._e)(t)),data_source_algorithm_version:(0,g.K3)((0,g._e)(n)),data_source_name:decodeURIComponent(r)})},S=e=>{let{item_name:t=(0,g.gx)("item_name"),target_content_id:n=t,target_content_type:r=(0,g.gx)("target_content_type")}=e;return()=>({target_content_id:String(n),target_content_type:r})},E={flush:!0,required_layers:[y,k,S,b,w,_],type:"web_internal_link"},T={required_layers:[y,k,S,b,w,_],type:"web_impression"},P={required_layers:[y,b,w,_],type:"web_subbuzz_impression"},C={flush:!0,required_layers:[y,e=>{let{target_content_url:t=(0,g.gx)("target_content_url")}=e;return()=>({target_content_url:t})},b,w,_],type:"web_external_link"},O={required_layers:[y,e=>{let{total_duration:t=(0,g.gx)("total_duration"),active_duration:n=(0,g.gx)("active_duration")}=e;return()=>({total_duration:t,active_duration:n})}],type:"web_time_spent"},A={required_layers:[y],type:"web_pageview"},j={required_layers:[y],type:"web_addressability"},L={required_layers:[y,e=>{let{experiment_id:t=(0,g.gx)("experiment_id")}=e;return{experiment_id:(0,g._e)(t)}}],type:"web_ab_test"},I=function(e){let{threshold:t=.5,visibility_time:n=1e3}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"==typeof window)return()=>{};const r=new Map,o=new Map,a=new IntersectionObserver(((e,a)=>{e.forEach((e=>{if(!r.has(e.target))return;if(!e.isIntersecting)return clearTimeout(o.get(e.target)),void o.delete(e.target);if(o.has(e.target)||e.intersectionRatio{r.get(e.target).call(null),a.unobserve(e.target),o.delete(e.target)}),n);o.set(e.target,i)}))}),{threshold:[0,t,1]});return function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),u=1;u1?n-1:0),u=1;ue(...i))),a.observe(t)),()=>{r.delete(t),a.unobserve(t),o.has(t)&&(clearTimeout(o.get(t)),o.delete(t))}}(t,...i)}},F=e=>function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o{e({event:t,layers:[{click_type:"left"}]},...r)},i=t=>{e({event:t,layers:[{click_type:"right"}]},...r)};return t.addEventListener("click",a),t.addEventListener("contextmenu",i),()=>{t.removeEventListener("click",a),t.removeEventListener("contextmenu",i)}};var M=o(39487);const N=()=>{const e="undefined"!=typeof navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection);return e?e.effectiveType:""},D=()=>()=>({connection_type:N()}),R=(e,{flush:t=!1,layers:n=[],sample_rate:r=.1,type:o})=>async(...a)=>{await e({flush:t,required_layers:[y,D],sample_rate:r,type:o},...n,...a)};var H,z,U,q,$,B=-1,W=function(e){addEventListener("pageshow",(function(t){t.persisted&&(B=t.timeStamp,e(t))}),!0)},V=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},K=function(){var e=V();return e&&e.activationStart||0},G=function(e,t){var n=V(),r="navigate";return B>=0?r="back-forward-cache":n&&(document.prerendering||K()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},Q=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},J=function(e,t,n,r){var o,a;return function(i){t.value>=0&&(i||r)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},Z=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},Y=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},X=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},ee=-1,te=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},ne=function(e){"hidden"===document.visibilityState&&ee>-1&&(ee="visibilitychange"===e.type?e.timeStamp:0,oe())},re=function(){addEventListener("visibilitychange",ne,!0),addEventListener("prerenderingchange",ne,!0)},oe=function(){removeEventListener("visibilitychange",ne,!0),removeEventListener("prerenderingchange",ne,!0)},ae=function(){return ee<0&&(ee=te(),re(),W((function(){setTimeout((function(){ee=te(),re()}),0)}))),{get firstHiddenTime(){return ee}}},ie=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},ue=[1800,3e3],le=function(e,t){t=t||{},ie((function(){var n,r=ae(),o=G("FCP"),a=Q("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(a.disconnect(),e.startTimer.value&&(r.value=o,r.entries=a,n())},u=Q("layout-shift",i);u&&(n=J(e,r,se,t.reportAllChanges),Y((function(){i(u.takeRecords()),n(!0)})),W((function(){o=0,r=G("CLS",0),n=J(e,r,se,t.reportAllChanges),Z((function(){return n()}))})),setTimeout(n,0))})))},fe={passive:!0,capture:!0},de=new Date,pe=function(e,t){H||(H=t,z=e,U=new Date,ve(removeEventListener),me())},me=function(){if(z>=0&&z1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){pe(e,t),o()},r=function(){o()},o=function(){removeEventListener("pointerup",n,fe),removeEventListener("pointercancel",r,fe)};addEventListener("pointerup",n,fe),addEventListener("pointercancel",r,fe)}(t,e):pe(t,e)}},ve=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,he,fe)}))},ge=[100,300],ye=function(e,t){t=t||{},ie((function(){var n,r=ae(),o=G("FID"),a=function(e){e.startTimet.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};Oe[r.id]=r,Ce.push(r)}Ce.sort((function(e,t){return t.latency-e.latency})),Ce.splice(10).forEach((function(e){delete Oe[e.id]}))}},je=[2500,4e3],Le={};const Ie=(e,t=250)=>{let n="";try{for(;e&&9!==e.nodeType;){const r=e.id?`#${e.id}`:e.nodeName.toLowerCase()+(e.className&&e.className.length?`.${Array.from(e.classList.values()).join(".")}`:"");if(n.length+r.length>t-1)return n||r;if(n=n?`${r} > ${n}`:r,e.id)break;e=e.parentNode}}catch(e){}return n},Fe=(e,{layers:t=[],profiling:n={},sample_rate:r=.1}={})=>{const o={layers:t,sample_rate:r,type:"web_performance_metric"},a=R(e,{...o,flush:!0}),i=R(e,o),u=R(e,{...o,sample_rate:1});"__trackAbandons"in window&&document.removeEventListener("visibilitychange",window.__trackAbandons),(e=>{!function(e,t){t=t||{},ie((function(){Se();var n,r=G("INP"),o=function(e){e.forEach((function(e){e.interactionId&&Ae(e),"first-input"===e.entryType&&!Ce.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&Ae(e)}));var t,o=(t=Math.min(Ce.length-1,Math.floor(Pe()/50)),Ce[t]);o&&o.latency!==r.value&&(r.value=o.latency,r.entries=o.entries,n())},a=Q("event",o,{durationThreshold:t.durationThreshold||40});n=J(e,r,Ee,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),Y((function(){o(a.takeRecords()),r.value<0&&Pe()>0&&(r.value=0,r.entries=[]),n(!0)})),W((function(){Ce=[],Te=ke(),r=G("INP"),n=J(e,r,Ee,t.reportAllChanges)})))}))}((t=>{e({metric_name:"interaction-to-next-paint",metric_type:"custom",metric_value:t.value})}))})(i),(e=>{ce((({entries:t})=>{if(t.length)try{const n=[...t];n.sort(((e,t)=>e&&e.value>t.value?-1:1)),n.slice(0,3).forEach(((t,n)=>{if(t&&t.sources&&t.sources.length){const r=t.sources.reduce(((e,t)=>!!e.node&&(e.previousRect.width*e.previousRect.height>t.previousRect.width*t.previousRect.height?e:t)));e({metric_name:`largest-layout-shift-node-${n}`,metric_type:"custom",metric_value:t.value,metric_metadata_type:"css-selector",metric_metadata_value:Ie(r.node)||""})}}))}catch(e){}}))})(a),(e=>{ye((function(){if("PerformanceLongTaskTiming"in window){const t=new PerformanceObserver((n=>{const r=n.getEntries(),o=r.length,a=r.reduce(((e,{duration:t})=>e+t-50),0);o&&(e({metric_name:"cumulative-longtask-count",metric_type:"custom",metric_value:o}),e({metric_name:"cumulative-blocking-time",metric_type:"custom",metric_value:a})),t.disconnect()}));t.observe({type:"longtask",buffered:!0})}}))})(i),((e,{ignore_pattern:t,limit:n=10}={})=>{ye((function(){"__jsProfiler"in window&&window.scheduler.postTask((async()=>{performance.mark("__jsProfiler_start");const r=await window.__jsProfiler.stop();performance.measure("__jsProfiler","__jsProfiler_start");const o=new PerformanceObserver((async function(a){o.disconnect();const i=((e,t,{ignore_pattern:n="chunks/(?:framework|main|webpack)"}={})=>{performance.mark("getLongestRunningFrames_start");const r=[],o=[],a=new RegExp(n),i=t.samples.entries();for(const n of e){const e={};for(const[,r]of i)if(r.stackId&&r.timestamp>=n.startTime){if(r.timestamp>n.startTime+n.duration)break;let o=t.stacks[r.stackId];for(;"parentId"in o;)e[o.frameId]=(e[o.frameId]||0)+1,o=t.stacks[o.parentId]}Object.keys(e).length&&o.push([n,e])}o.sort(((e,t)=>t[0].duration-e[0].duration));const u=(e,n)=>{if(n[1]<5)return e;if(e[1]>n[1])return e;const r=t.frames[n[0]];if(!("resourceId"in r))return e;const o=t.resources[r.resourceId];return a&&a.test(o)?e:n};for(const[e,n]of o){const[o]=Object.entries(n).reduce(u,[]);if(o){const n=t.frames[o],a=t.resources[n.resourceId];r.push([e,n,a])}}return performance.measure("getLongestRunningFrames","getLongestRunningFrames_start"),r})(a.getEntries(),r,{ignore_pattern:t});for(const[t,r,o]of i){if(! --n)break;e({metric_name:"longtask-longest-frame",metric_type:"custom",metric_value:t.duration,metric_metadata_type:"stacktrace",metric_metadata_value:`${o}:${r.line}:${r.column}`})}}));o.observe({type:"longtask",buffered:!0})}),{priority:"background"})}))})(u,n),(e=>{ce((function(){if(!performance.memory)return;const t=performance.memory,n={jsHeapSizeLimit:t.jsHeapSizeLimit,totalJSHeapSize:t.totalJSHeapSize,usedJSHeapSize:t.usedJSHeapSize};e({metric_name:"memory",metric_type:"custom",metric_value:0,metric_metadata_type:"json",metric_metadata_value:JSON.stringify(n)})}))})(a)},Me=(e,{layers:t=[],sample_rate:n=.1}={})=>{const r={layers:t,sample_rate:n,type:"web_performance_metric"},o=R(e,r),a=R(e,{...r,flush:!0});(e=>{ce((t=>{e({metric_name:"cumulative-layout-shift",metric_type:"web-vital",metric_value:t.value})}))})(a),(e=>{le((t=>{e({metric_name:"first-contentful-paint",metric_type:"web-vital",metric_value:t.value})}))})(o),(e=>{ye((({entries:t,value:n})=>{const{startTime:r,target:o}=t[t.length-1],a={css:Ie(o),timeStamp:r};e({metric_name:"first-input-delay",metric_type:"web-vital",metric_value:n,metric_metadata_type:"json",metric_metadata_value:JSON.stringify(a)})}))})(a),(e=>{!function(e,t){t=t||{},ie((function(){var n,r=ae(),o=G("LCP"),a=function(e){var t=e[e.length-1];t&&t.startTime{const{element:r,size:o,url:a=""}=t[t.length-1],i={css:Ie(r),size:o,url:a};e({metric_name:"largest-contentful-paint",metric_type:"web-vital",metric_value:n,metric_metadata_type:"json",metric_metadata_value:JSON.stringify(i)})}))})(a)},Ne=(e,{layers:t=[],sample_rate:n=.1}={})=>{(e=>{if("PerformanceNavigationTiming"in window){const t=()=>{const[t]=performance.getEntriesByType("navigation");e({timing_duration:t.duration,timing_name:t.name,timing_start_time:t.startTime,timing_type:t.entryType,resource_connect_end:t.connectEnd,resource_connect_start:t.connectStart,resource_decoded_body_size:void 0===t.decodedBodySize?null:t.decodedBodySize,resource_domain_lookup_end:t.domainLookupEnd,resource_domain_lookup_start:t.domainLookupStart,resource_encoded_body_size:void 0===t.encodedBodySize?null:t.encodedBodySize,resource_fetch_start:t.fetchStart,resource_initiator_type:t.initiatorType,resource_next_hop_protocol:void 0===t.nextHopProtocol?null:t.nextHopProtocol,resource_redirect_end:t.redirectEnd,resource_redirect_start:t.redirectStart,resource_request_start:t.requestStart,resource_response_end:t.responseEnd,resource_response_start:t.responseStart,resource_secure_connection_start:void 0===t.secureConnectionStart?null:t.secureConnectionStart,resource_transfer_size:void 0===t.transferSize?null:t.transferSize,resource_worker_start:void 0===t.workerStart?null:t.workerStart,navigation_dom_complete:t.domComplete,navigation_dom_content_loaded_event_end:t.domContentLoadedEventEnd,navigation_dom_content_loaded_event_start:t.domContentLoadedEventStart,navigation_dom_interactive:t.domInteractive,navigation_load_event_end:t.loadEventEnd,navigation_load_event_start:t.loadEventStart,navigation_redirect_count:t.redirectCount,navigation_type:t.type,navigation_unload_event_end:t.unloadEventEnd,navigation_unload_event_start:t.unloadEventStart})};"complete"===document.readyState?t():window.addEventListener("load",(()=>requestAnimationFrame(t)))}})(R(e,{layers:t,sample_rate:n,type:"web_performance_navigation_timing"}))};var De=o(30054),Re=o(24462),He=o(80446);function ze(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 Ue(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"default",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};$e&&0===Object.keys(a).length&&window.HPApp&&"liveblog"===r&&(a={client_uuid:null===(e=window.HPApp)||void 0===e?void 0:e.clientId,client_session_id:null===(t=window.HPApp)||void 0===t?void 0:t.sessionId,referrer_uri:null===(n=window.HPApp)||void 0===n?void 0:n.referrerUri});var i={default:{impressionSelector:".js-card[data-vars-type], .js-entry-link[data-vars-type], .js-button[data-vars-type]",subbuzzImpressionSelector:".js-cet-subbuzz"},liveblog:{impressionSelector:".liveblog .js-card[data-vars-type], .liveblog .js-entry-link[data-vars-type], .liveblog button[data-vars-type].liveblog-load-more",subbuzzImpressionSelector:".liveblog .js-cet-subbuzz"},liveblogExtraContent:{impressionSelector:".liveblog ".concat(o," .js-card[data-vars-type], .liveblog ").concat(o," .js-entry-link[data-vars-type]"),subbuzzImpressionSelector:"".concat(o," .js-cet-subbuzz")},recirc:{impressionSelector:"".concat(o," .js-card[data-vars-type], ").concat(o," .js-entry-link[data-vars-type]")},alertBanner:{impressionSelector:".alert-banner a[data-vars-type]"},notificationCenter:{impressionSelector:".notification-center .js-card[data-vars-type]"},huffPal:{impressionSelector:"".concat(o," .js-cet-impression[data-vars-type]")},badgeCards:{impressionSelector:".js-card[data-vars-type].js-can-badge"}},u=i[r]?i[r].impressionSelector:i.default.impressionSelector,l=i[r]?i[r].subbuzzImpressionSelector:i.default.subbuzzImpressionSelector,s=window.HUFFPOST.tracking&&window.HUFFPOST.tracking.context_page_id||"",c=window.HUFFPOST.tracking&&window.HUFFPOST.tracking.context_page_type||"",f=!document.body.classList.contains("cet-events-disabled")&&s&&c,d=".js-card[data-vars-type]:not(.js-can-badge), .js-entry-link[data-vars-type], .js-cet-subbuzz, button[data-vars-type], a[data-vars-type]:not(.js-card[data-vars-type] a), .js-button[data-vars-type]";if(f){var p=I((function(e){var t=e;"support-huffpost"===t.item_name_overwritable&&(t.item_name=document.body.classList.contains("contributor_canceled")?"Support HuffPost (Canceled)":document.body.classList.contains("contributor_once")?"Support HuffPost (Once)":"Support HuffPost",delete t.item_name_overwritable),t=Object.assign(t,a),Be(T,t)}));if(document.querySelectorAll(u).forEach((function(e){var t=(0,M.fO)(e);t&&(t.position_in_unit=(0,M.dJ)(e,c,t.unit_type,t.unit_name,d.split(",")),Object.assign(t,(0,M.v3)(e,t),window.HUFFPOST.tracking,{type:"web_impression"},a)),p(e,t)})),"recirc"!==r){var m=I((function(e){Object.assign(e,a),Be(P,e)}));document.querySelectorAll(l).forEach((function(e){var t=(0,M.fO)(e);t&&(t.position_in_unit=(0,M.dJ)(e,c,t.unit_type,t.unit_name,d.split(",")),Object.assign(t,(0,M.v3)(e,t),window.HUFFPOST.tracking,{type:"web_subbuzz_impression"},a)),m(e,t)}))}}};var We=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=window.HUFFPOST.tracking&&window.HUFFPOST.tracking.context_page_id||"",n=window.HUFFPOST.tracking&&window.HUFFPOST.tracking.context_page_type||"",r=window.HUFFPOST.tracking&&window.HUFFPOST.tracking.page_edition||"",o={context_page_id:t,context_page_type:n,destination:"huffpost",page_edition:r};if(!document.body.classList.contains("cet-events-disabled")&&t&&n){var a=F((function(t){var r=t.event.target.closest('a[data-vars-type], button[data-vars-type], div[role="button"][data-vars-type], .js-cet-click[data-vars-type]'),o=r?r.closest(".js-card[data-vars-type]"):null;r=o||r;var a=(0,M.fO)(r);if(a){var i;switch(a.position_in_unit=(0,M.dJ)(r,n,a.unit_type,a.unit_name),Object.assign(a,(0,M.v3)(r,a),window.HUFFPOST.tracking,e),a.type){case"web_content_action":i=x;break;case"web_internal_link":default:i=E;break;case"web_external_link":i=C}Be(i,a)}})),i=F((function(t){var r=t.event,o=r.target.closest(".vdb_player");if(!o)return null;var a=Object.assign((0,M.fO)(o),window.HUFFPOST.tracking),i=(0,M.Jo)(r.target);return i?(Object.assign(i,a,e),i.position_in_unit=(0,M.dJ)(o,n,a.unit_type,a.unit_name),Be(E,i)):null}));a(document.body);var u=document.getElementById("zone-video");u&&i(u),window.doImpressions("default",e),window.HUFFPOST.pvDisabled||function(){for(var t=arguments.length,n=new Array(t),r=0;r{const o={layers:t,sample_rate:n};Me(e,o),Ne(e,o),Fe(e,{...o,profiling:r})})(Be,{layers:[].concat(n,[e]),sample_rate:1})}(o)}var l,s=(l=O,function(){for(var t=arguments.length,n=new Array(t),r=0;r{if("undefined"==typeof window)return()=>{};const t=["web_internal_link","web_external_link"];let n=Date.now(),r=n,o=0,a=Date.now(),i=1,u=!1;return function(){return function(){for(var l=arguments.length,s=new Array(l),c=0;c0&&void 0!==arguments[0]?arguments[0]:{};const o=Date.now(),a={active_duration:o-r,total_duration:o-n};a.total_duration>0&&e({layers:[a,t]},...s),n=Date.now(),r=Date.now()},p=()=>{"hidden"===document.visibilityState?(u=!0,d({time_spent_event_type:"page_visibility"}),cancelAnimationFrame(f)):"visible"===document.visibilityState&&(r=Date.now(),setTimeout((()=>u=!1),2e3),h(a,i))},m=e=>{let o=e.detail;if(o.find((e=>t.includes(e.type)))){const e=o[0];r=n;const t={...e};delete t.event_ts,delete t.event_uuid,delete t.type,delete t.source,t.time_spent_event_type="link_click",d(t)}},h=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;a=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:null)||Date.now(),function e(t){let n=Date.now()-a;Math.floor(n/1e3)>=t&&!u&&(u=!0,d({time_spent_event_type:"heartbeat"}),setTimeout((()=>u=!1),1e3),a=Date.now(),t=t<5?t+2:10*Math.pow(2,Math.floor((o-3)/2)),i=t,o++),cancelAnimationFrame(f),f=requestAnimationFrame((()=>e(t)))}(e)};return h(),document.addEventListener("visibilitychange",p),window.addEventListener("cet-event",m),()=>{cancelAnimationFrame(f),document.removeEventListener("visibilitychange",p),window.removeEventListener("cet-event",m)}}(...arguments)}})((function(e){for(var t=e.layers,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o0?it.classList.add("transparent"):it.classList.remove("transparent")},ft=function(){lt&&!ut&&"showRecirc"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown")&&(window.removeEventListener("scroll",ct),it.classList.remove("transparent"),it.addEventListener("transitionend",st)),setTimeout((function(){(0,Ke.A)("unstick-leaderboard")}),5e3)},dt=function(){if(et){var e=document.querySelector(".ad-leaderboard-flex.temp-sticky");if(lt){it.classList.remove("sticking");var t=it.offsetHeight;it.style.top="-".concat(t,"px")}else if(e){var n=e.offsetHeight;e.classList.add("unstick"),e.style.top="-".concat(n,"px")}}},pt=function(){document.body.classList.remove("hamburger-open"),Qe.classList.add("transition-active")},mt=function(){document.body.addEventListener("click",(function(e){document.body.classList.contains("hamburger-open")?e.target.closest(".left-nav")&&!e.target.closest(".left-nav__close")||(pt(),Je&&Je.removeAttribute("aria-hidden")):e.target.closest(".hamburger")&&(document.body.classList.add("hamburger-open"),Je&&Je.setAttribute("aria-hidden",!0))})),tt&&tt.addEventListener("keydown",(function(e){e.target===nt&&"Tab"===e.key&&e.shiftKey?(e.preventDefault(),rt.focus()):e.target!==rt||"Tab"!==e.key||e.shiftKey||(e.preventDefault(),nt.focus()),"Escape"===e.key&&document.body.classList.contains("hamburger-open")&&pt()})),document.body.addEventListener("transitionend",(function(e){document.body.classList.contains("hamburger-open")&&Ze.focus(),"left"===e.propertyName&&Qe.classList.contains("transition-active")&&(Qe.classList.remove("transition-active"),Ge.focus())}))};if(et&&at&<)ut||(window.addEventListener("scroll",ct),document.addEventListener("unstick-leaderboard",dt,{once:!0})),function(){var e=document.querySelector(".top-ad-recirc");if(e){var t,n=e.querySelector(".ad-leaderboard-flex #ad_leaderboard_flex");e.querySelector(".zone--ad-recirc").classList.add("js-cet-subunit");var r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.didExpire,o=void 0!==r&&r,a=t.showFull,i=void 0!==a&&a;o&&console.debug("leaderboardAd monitor expired"),i&&console.debug("forcing full recirc!!!!");var u=i?0:null==n?void 0:n.offsetHeight;if(u>=251)e.classList.remove("recirc--half-display","recirc--no-display","recirc--full-display"),e.classList.add("recirc--flex-display");else if(u>120&&u<251){var l=document.querySelector(".recirc-ad-module");null==l||l.remove(),e.classList.remove("recirc--full-display","recirc--half-display"),e.classList.add("recirc--no-display")}else u<=120&&u>0?(e.classList.remove("recirc--full-display","recirc--no-display"),e.classList.add("recirc--half-display")):(e.classList.remove("recirc--half-display","recirc--no-display"),e.classList.add("recirc--full-display"));e.classList.remove("ad-fetching"),ft("showRecirc")},o=new ResizeObserver((function(e){e.forEach((function(){clearTimeout(t);var e=n.querySelector("iframe");(null==e?void 0:e.offsetHeight)>85&&r(),t=setTimeout((function(){return r({didExpire:!0})}),5e3)}))}));n?o.observe(n):r({didExpire:!0,showFull:!0})}}();else if(et&&at&&!lt)if(ot.classList.contains("js-always-sticky")){var ht=document.querySelector(".ad-leaderboard-flex__dismiss");window.addEventListener("scroll",(function(){window.scrollY>=40?ht.classList.add("show"):(ht.classList.remove("show"),ot.classList.remove("sticky-dismissed"))})),ht.addEventListener("click",(function(){ot.classList.add("sticky-dismissed")}))}else document.addEventListener("unstick-leaderboard",dt),document.addEventListener("leaderboard-treated",(function(){return ft("else")}));var vt="MutationObserver"in window&&"ResizeObserver"in window,gt=document.querySelector(".ad-bottom-right-sticky__close"),yt=document.querySelector(".bottom-right-sticky-container"),bt=!1,wt=function(e){var t,n=e.parentNode.classList.contains("advertisement-sticky-wrapper")?e.parentNode.parentNode:e.parentNode,r=e.classList.contains("ad-leaderboard-flex"),o=r&&e.classList.contains("temp-sticky"),a="desktop"===(null===(t=window.HUFFPOST)||void 0===t||null===(t=t.params)||void 0===t?void 0:t.device),i=r?a?85:40:0,u=Math.max(e.height||e.offsetHeight)>i;if(o){if(bt)return;!function(e){bt=!0;var t=e.offsetHeight,n=setInterval((function(){var r=e.querySelector("iframe");r&&t===r.offsetHeight&&t>=40?(e.classList.add("treated"),(0,Ke.A)("leaderboard-treated"),clearInterval(n)):t=(null==r?void 0:r.offsetHeight)||e.offsetHeight}),1e3)}(e)}else e.classList.toggle("treated",u);n&&n.classList.contains("advertisement-holder")&&n.classList.toggle("loaded",u)};if(vt){var _t=new ResizeObserver((function(e){e.forEach((function(e){var t=e.target;wt(t)}))}));document.querySelectorAll(".advertisement").forEach((function(e){wt(e),_t.observe(e)})),document.addEventListener("ad-injected",(function(e){wt(e.detail.ad),_t.observe(e.detail.ad)}))}else setInterval((function(){document.querySelectorAll(".advertisement").forEach((function(e){wt(e)}))}),50);var xt=document.querySelector(".zone--more-in-life");xt&&document.addEventListener("scroll",(function(){var e=xt.getBoundingClientRect(),t=parseInt(window.getComputedStyle(xt,":after").height,10);xt.classList.toggle("sticky",e.top<0&&e.bottom>t),xt.classList.toggle("sticky-bottom",e.top<0&&e.bottom<=t)})),yt&>&>.addEventListener("click",(function(){yt.classList.add("slide-out")})),o(72812);var kt="us"===window.HP.params.edition,St=window.HP.params,Et=St.isEntry,Tt=St.isFront,Pt=St.isPreview,Ct=St.isApageFlex,Ot=Et||Tt||Ct,At=document.querySelector(".right-rail-sticky");if(kt&&Ot&&At&&!Pt){var jt=At.querySelector(".ad-right-rail-lower.sticky.last"),Lt=document.getElementById("sticky-ad-template"),It=document.querySelector(".entry__content-list-container"),Ft=document.querySelector(".js-content-for-sticky-ads"),Mt=document.getElementById("sticky-marker"),Nt=Tt||Ct?Ft:It;setTimeout((function(){var e=Mt?Mt.offsetTop:0,t=Nt.getBoundingClientRect().height,n=Math.floor((t-e-600)/1250);(Tt||Ct)&&(At.style.height="".concat(t,"px"));for(var r=0;re.clientHeight?(e.querySelector(".js-open").addEventListener("click",Dt,{capture:!0,once:!0}),e.addEventListener("see-more-button",Rt,{capture:!0,once:!0})):e.classList.add("open")})),o(60125);var Ht=o(80466),zt=Math.round((new Date).valueOf()/864e5);function Ut(){return Ht.A.get("cohort_lists")||{}}function qt(){return Object.keys(Ut())}function $t(e){return Ht.A.get("cohort-".concat(e))||{}}function Bt(e,t){var n=Ut();n[e]=!0,Ht.A.set("cohort_lists",n),Ht.A.set("cohort-".concat(e),t)}function Wt(e,t){var n=$t(e);return n[zt]=(n[zt]||0)+t,Bt(e,n),n[zt]}function Vt(e){return parseInt(e,10)}function Kt(e){return zt-31>=e}function Gt(){return Ht.A.get("cohort_start")||Math.min.apply(Math,(0,m.A)(Object.keys($t("pv"))))||zt}Ht.A.get("cohort_start")||Ht.A.set("cohort_start",Gt()),qt().forEach((function(e){!function(e){var t=$t(e);Object.keys(t).map(Vt).filter(Kt).forEach((function(e){delete t[e]})),Bt(e,t)}(e)}));const Qt={increment:function(e){Wt(e,1)},add:Wt,total:function(e){var t=$t(e),n=0;return Object.keys(t).forEach((function(e){n+=t[e]})),n},cohorts:qt,raw:$t,allRaw:function(){return qt().reduce((function(e,t){return e[t]=$t(t),e}),{})},age:function(){return zt-Gt()}};if(Ht.A.enabled){var Jt=Math.round((new Date).valueOf()/864e5);(Ht.A.get("lastCohortPhoneHome")||0)0&&void 0!==arguments[0]?arguments[0]:{},t=document.getElementById("server-experiment-data"),n={};t&&(n=JSON.parse(t.innerHTML),Object.keys(n).forEach((function(e){n[e].id=0,n[e].variant_id=0,n[e].version=0})));var r=en(en({},e),n);window.HP.params.abOutbrainTest.doNotPublishEvent&&delete r.hp_outbrain_test;var o=Object.keys(r).map((function(e){return"".concat(e,"|").concat(r[e].id,"|").concat(r[e].version,"|").concat(r[e].value,"|").concat(r[e].variant_id)}));tn||console.log("ABEAGLE:",o),(0,Ke.A)("abeagleEvent",{experiment_id:o})},an=function(){var t=(0,e.A)(n().mark((function e(){var t,r,o,a,i,u,l,s,c,f,d,p,m,h,v;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=rn(),a=window.HUFFPOST.params.clientUUID,i=null===(t=window.HP.params.abeagle)||void 0===t?void 0:t.length,u=null===(r=window.HP.params.serverAbeagle)||void 0===r?void 0:r.length,l=new URLSearchParams(window.location.search),s=l.get("test"),c=l.get("test_id"),f=l.get("v"),d=l.get("v_id"),p={},!s||!f){e.next=16;break}return p[s]={id:c||0,version:2,resolved:!0,is_feature_flag:!1,value:"".concat(f),variant_id:d||0,payload:null},Re.A.set("abeagleExperiments",p),on(p,a),console.log("ABeagle override set for test: ".concat(s," with variant: ").concat(f)),e.abrupt("return");case 16:if(!u||!o){e.next=19;break}return on(o),e.abrupt("return");case 19:if(!o){e.next=22;break}return on(o),e.abrupt("return");case 22:if(!u||i){e.next=25;break}return on(),e.abrupt("return");case 25:if(u||i){e.next=27;break}return e.abrupt("return");case 27:return m=new URLSearchParams({user_id:a,source:"huffpost_web",experiment_names:window.HP.params.abeagle.join(";")}),e.next=30,fetch("".concat(nn,"?").concat(m),{method:"GET"});case 30:if(!(h=e.sent).ok){e.next=39;break}return e.next=34,h.json();case 34:v=e.sent,Re.A.set("abeagleExperiments",v),on(v,a),e.next=40;break;case 39:console.error("ABeagle fetch of ".concat(nn,"?").concat(m," failed:"),h.status,h.statusText);case 40:case"end":return e.stop()}}),e)})));return function(){return t.apply(this,arguments)}}(),un="us"===window.HP.params.edition,ln="uk"===window.HP.params.edition;window.waitForGlobal((function(){return window.HP.cetEnabled&&window.HP.params&&window.HP.params.clientUUID&&window.HP.params.theme&&(!(un||ln)||!window.HP.params.isEntry&&!window.HP.params.isFront||window.HP.params.abOutbrainTest.ready)&&(!un||!window.HP.params.isEntry||"mobile"!==window.HP.params.device||"politics"!==window.HP.entry.sectionSlug&&"entertainment"!==window.HP.entry.sectionSlug||window.HP.entry.hasLiveblog||window.HP.params.abStickyVideoTest.ready)&&window.HP.params.abCrashMonitorFlag.ready}),(0,e.A)(n().mark((function e(){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:an();case 1:case"end":return e.stop()}}),e)}))));const sn=rn,cn=function(e){var t=function(e){var t=rn()[e]||void 0;if(t)return t;console.error("ERROR: No ABeagle Experiment found with name:",e)}(e);return null==t?void 0:t.value};function fn(e){try{var t=Re.A.get("hp-amzn-origin")||0;if(0!==t){e.preventDefault();var n=e.currentTarget,r=decodeURIComponent(n.attributes.href.textContent).replace("hp-fil-am=0","hp-fil-am=".concat(t));Re.A.remove("hp-amzn-origin");var o=new URL(r);o.search=new URLSearchParams(o.search).toString();var a=o.toString();window.location=a}}catch(e){console.error(e)}}document.addEventListener("click",(function(e){var t;if(null!=e&&null!==(t=e.target)&&void 0!==t&&t.parentElement&&e.target.parentElement.dataset.amznSrc){e.preventDefault();var n=e.target.parentElement.dataset.amznSrc;Re.A.set("hp-amzn-origin",n),window.location.href=e.target.parentElement.href}})),document.querySelector("body.entry")&&document.querySelectorAll("a[data-amazon-link]").forEach((function(e){return e.addEventListener("click",fn)})),window.HP.params.isEntry&&window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&document.addEventListener("abeagleEvent",(function(){var e=sn(),t=[];e&&Object.keys(e).length>0&&Object.keys(e).forEach((function(n){var r=e[n].id,o=e[n].variant_id,a=o?"".concat(r,":").concat(o):"0:0";t.push(a)}));var n=t.join(";");document.querySelector("body.entry")&&t.length&&document.querySelectorAll("a[data-amazon-link]").forEach((function(e){var t=decodeURIComponent(e.attributes.href.textContent),r=new URL(t),o=r.searchParams.get("ascsubtag").replace(",0:0,",",".concat(n,","));r.searchParams.set("ascsubtag",o),r.search=new URLSearchParams(r.search).toString();var a=r.toString(),i=a.split("&ascsubtag");i.length>1&&(i[1]=encodeURIComponent(i[1])),a=i.join("%26ascsubtag"),e.attributes.href.textContent=a}))}),{once:!0});var dn=o(95298),pn="object"===("undefined"==typeof window?"undefined":(0,Yt.A)(window))&&window.HP&&"production"===window.HP.env;if(window.HUFFPOST.params.clientUUID=window.HUFFPOST.cetEnabled?(0,dn.bs)({env:pn?"prod":"stage",legacy:!1}):" ",!document.cookie.match(/_lr_env=/)&&document.cookie.match(/hem=/)){var mn=atob(decodeURIComponent(h.A.get("hem").replace(/"/g,"")));window.addEventListener("envelopeModuleReady",(function(){atsenvelopemodule.setAdditionalData({type:"emailHashes",id:[mn]})}))}var hn="hp_outbrain_test";if(window.HP.params.isEntry||window.HP.params.isFront){var vn=window.HP.params.isEntry&&(window.HP.entry.modulousTags.includes("@nooutbrain")||window.HP.entry.modulousTags.includes("@notaboola"));vn&&(window.HP.params.abOutbrainTest.doNotPublishEvent=!0),window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&window.HP.params.abeagle.includes(hn)&&(document.addEventListener("abeagleEvent",(function(){var e=cn(hn),t=document.querySelectorAll(".outbrain-module");t.length&&"outbrain_placement_hidden"!==e&&!vn&&t.forEach((function(e){return e.classList.add("show")}))}),{once:!0}),window.HP.params.abOutbrainTest.ready=!0)}var gn,yn="hp_sticky_video";function bn(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 wn(e){for(var t=1;t=n}(o.roleCreatedAt,n)?document.body.classList.add(e):document.body.classList.add("is-contributor"),r=o.expires,new Date(r)1?o[1]:null);case 19:return e.abrupt("return",o.length>1?o[1]:null);case 20:return console.error("Error updating subscriber data, could not get fpUserData"),e.abrupt("return",o.length>1?o[1]:null);case 22:case"end":return e.stop()}}),e,null,[[9,15]])})));return function(e,n){return t.apply(this,arguments)}}();if(On){Cn&&document.body.addEventListener("fpMemberCenterAction",In);var Dn=new URLSearchParams(window.location.search).get("hp_auth_done");(0,He.A)().then(function(){var t=(0,e.A)(n().mark((function e(t){var r,o,a,i,u,l,s;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t&&(n=t.email,n&&"string"==typeof n&&n.includes("@")))){e.next=39;break}if(r=t.roles.length>1?t.roles[1]:null,o=new Date,"1"!==Dn&&!Pn&&!Cn){e.next=19;break}return e.prev=4,e.next=7,jn(t);case 7:if(a=e.sent,i=a.data.createdAt,Cn){e.next=13;break}return e.next=12,Nn(a,t);case 12:r=e.sent;case 13:o=i,e.next=19;break;case 16:e.prev=16,e.t0=e.catch(4),console.error("Error trying to get flip pay user access token",e.t0);case 19:if(!An.includes(r)){e.next=38;break}u=document.querySelector(".front-support-huffpost__support-button, .cli-support-huffpost__support-button"),e.t1=r,e.next="contributor_monthly"===e.t1||"contributor_annually"===e.t1?25:"contributor_once"===e.t1?29:"contributor_canceled"===e.t1?32:35;break;case 25:return Ht.A.has("hp-contributor")&&Ht.A.remove("hp-contributor"),document.body.classList.add("is-contributor"),document.body.classList.add(r),e.abrupt("break",36);case 29:return Mn(r,o,2),u&&(l=u.getAttribute("data-vars-item-name"),u.setAttribute("data-vars-item-name","".concat(l," (Once)")),u.removeAttribute("data-vars-item-name-overwritable")),e.abrupt("break",36);case 32:return Mn(r,o,1),u&&(s=u.getAttribute("data-vars-item-name"),u.setAttribute("data-vars-item-name","".concat(s," (Canceled)")),u.removeAttribute("data-vars-item-name-overwritable")),e.abrupt("break",36);case 35:document.body.classList.add("non-contributor");case 36:e.next=39;break;case 38:document.body.classList.add("non-contributor");case 39:case"end":return e.stop()}var n}),e,null,[[4,16]])})));return function(e){return t.apply(this,arguments)}}())}o(93067),o(81750),document.addEventListener("abeagleEvent",(function(){if("on"===cn("hp_client_crash_monitor")){var e=!0;window.lifecycle.addEventListener("statechange",(function(t){e=!!["active","passive"].includes(t.newState)})),window.waitForGlobal((function(){return!!window.HP}),(function(){var t,n;if(((n=navigator.userAgent).indexOf("Chrome")>-1&&-1===n.indexOf("Edge")&&-1===n.indexOf("OPR")&&-1===n.indexOf("Edg")||n.indexOf("CriOS")>-1)&&window.Worker&&(null===(t=window.HP)||void 0===t||null===(t=t.params)||void 0===t||!t.isPreview)&&window.HP.params.resourceType){console.log("Starting heartbeat worker");var r=new Worker("/heartbeatWorker.js"),o=window.HP.params,a=o.device,i=o.edition,u=o.theme,l=o.resourceType,s=o.isFront?"front":l;setInterval((function(){return r.postMessage({type:"heartbeat",time:Date.now(),shouldPoll:e,device:a,edition:i,theme:u,pageType:s})}),1e3)}}))}}),{once:!0}),window.HP.params.abCrashMonitorFlag.ready=!0,"loading"!==document.readyState?mt():document.addEventListener("DOMContentLoaded",mt,{once:!0}),window.getProfile=He.A})()})();
//# sourceMappingURL=news.b7adeebb8dbfc6235174.js.map