=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&&gusu);)Fu(lu,su,gu>su),Cu(),xu(),yu=gu;else for(;null!==lu&&0!==su&&e=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){"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:" 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=M-r){if(!(-1!==n&&nt&&(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=0;--n){var r=this.tryEntries[n];if(r.tryLoc=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",4367:"MemberStatus",5037:"ChangeEmail",5432:"SpoilsNav",5569:"NotificationCenter",5850:"YouTube",5875:"SeeMore",5897:"Connatix",6086:"HighlineNavControls",6289:"HuffPal",6510:"Contribute",6709:"CookieConsent",7566:"Image",7708:"Twitter",7742:"VotingToaster",8082:"FrontSupportHuffpost",8117:"GameExpandButton",8362:"Modal",8403:"NewsletterHub",8840:"PrivacyLinks",9105:"SocialButtons",9186:"FeedbackToaster",9397:"Comments",9601:"GameIframe",9812:"LeftNavTop",9937:"AlertBanner",9945:"LatestInZone"}[e]+"."+{799:"844d59cfb1ee9d6ea151",939:"f33f121e3ee6cfa3ae00",1054:"cc78e0cf0cb1a38fd2bf",1362:"d454365186a0472bb2f1",1419:"9199da892594a555996b",2022:"af750d412f417484a5de",2037:"10d28ad175ee2ec4b5cd",2148:"716c1e13c744d2f42562",2383:"8392b44beb35aa385e5b",2685:"8aba4a2dea7cfae77118",2790:"9f9c752aa0f5eb6ee8db",2952:"2abbc05c402a9066a001",2981:"a2f0b9723dd6002fb3fb",3008:"638b1942e02e2a2ec8cc",4367:"ba9461617871bebc6743",5037:"69ad7cdc86df7f685419",5432:"3a258b0d5ca9605c979d",5569:"02e9f52fa5c95ff33609",5850:"a2fbed17e448d9d85107",5875:"48178b83fb619abbcf7c",5897:"fcd4099f09b25da2eaed",6086:"56f1df834d157ee321ab",6289:"bbe9949131102aafa239",6510:"e741daeaedfb6cdc88de",6709:"f852a1c56c49528f5119",7566:"ef40cea803d775b622e8",7708:"74c272597b8fbe0eb698",7742:"1cdaa59f69e5c7e25cf9",8082:"974090f2a901c4e69edb",8117:"ec4808b00acac37f24c5",8362:"c923a9fc3555763c87b3",8403:"3df0b71a862edb3c5463",8840:"9d5352d98c1334c9b30d",9105:"8eb68c0da605b67d716c",9186:"b8b74b91ecc6e5aef78a",9397:"1344be1f8252e8871521",9601:"4aa3fa040c4aba4fb0e4",9812:"89e1381a9a3a708026d8",9937:"23872d75c34633509436",9945:"72a7d66e90415dec2621"}[e]+".js"),o.miniCssF=e=>{},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=6180,o.p="https://action.news/static-assets/cambria/app/",(()=>{var e={6180:0,6946: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,70964))},MemberStatus:function(){return o.e(4367).then(o.bind(o,41809))},SeeMore:function(){return o.e(5875).then(o.bind(o,29586))},NewsletterHub:function(){return o.e(8403).then(o.bind(o,36273))},Newsletter:function(){return o.e(1054).then(o.bind(o,11986))},PrivacyLinks:function(){return o.e(8840).then(o.bind(o,98456))},CookieConsent:function(){return o.e(6709).then(o.bind(o,54135))},LatestInZone:function(){return o.e(9945).then(o.bind(o,86))},Image:function(){return o.e(7566).then(o.bind(o,93461))},SubNav:function(){return o.e(2790).then(o.bind(o,15976))},LeftNavTop:function(){return o.e(9812).then(o.bind(o,16590))},Modal:function(){return o.e(8362).then(o.bind(o,24528))},SocialButtons:function(){return o.e(9105).then(o.bind(o,52352))},FeedbackToaster:function(){return o.e(9186).then(o.bind(o,42440))},VotingToaster:function(){return o.e(7742).then(o.bind(o,59272))},TimeAgo:function(){return o.e(799).then(o.bind(o,43091))},UpdatedTimestamp:function(){return o.e(3008).then(o.bind(o,74632))},Comments:function(){return o.e(9397).then(o.bind(o,7397))},Bookmark:function(){return o.e(1419).then(o.bind(o,79597))},YouTube:function(){return o.e(5850).then(o.bind(o,65903))},Vidible:function(){return o.e(2148).then(o.bind(o,88877))},Connatix:function(){return o.e(5897).then(o.bind(o,24044))},Looper:function(){return o.e(2952).then(o.bind(o,69145))},Twitter:function(){return o.e(7708).then(o.bind(o,25580))},Corrections:function(){return o.e(1362).then(o.bind(o,47500))},HighlineNavControls:function(){return o.e(6086).then(o.bind(o,22438))},SpoilsNav:function(){return o.e(5432).then(o.bind(o,29099))},ChangeEmail:function(){return o.e(5037).then(o.bind(o,30272))},EditProfile:function(){return o.e(2022).then(o.bind(o,68832))},EditionsMenu:function(){return o.e(939).then(o.bind(o,44761))},Banner:function(){return o.e(2685).then(o.bind(o,30102))},Liveblog:function(){return o.e(2037).then(o.bind(o,12114))},Zone:function(){return o.e(2981).then(o.bind(o,32043))},FrontSupportHuffpost:function(){return o.e(8082).then(o.bind(o,80878))},Contribute:function(){return o.e(6510).then(o.bind(o,18710))},AlertBanner:function(){return o.e(9937).then(o.bind(o,30593))},NotificationCenter:function(){return o.e(5569).then(o.bind(o,25479))},HuffPal:function(){return o.e(6289).then(o.bind(o,22003))},GameIframe:function(){return o.e(9601).then(o.bind(o,53957))},GameExpandButton:function(){return o.e(8117).then(o.bind(o,98265))}};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(12319);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(12442);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 eer.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.value0&&(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]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(4113),He=o(46171);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]")}},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], .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=te(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&&u0?(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.topt),xt.classList.toggle("sticky-bottom",e.tope.clientHeight?(e.querySelector(".js-open").addEventListener("click",Nt,{capture:!0,once:!0}),e.addEventListener("see-more-button",Dt,{capture:!0,once:!0})):e.classList.add("open")})),o(5228);var Rt=o(19095),Ht=Math.round((new Date).valueOf()/864e5);function zt(){return Rt.A.get("cohort_lists")||{}}function Ut(){return Object.keys(zt())}function qt(e){return Rt.A.get("cohort-".concat(e))||{}}function $t(e,t){var n=zt();n[e]=!0,Rt.A.set("cohort_lists",n),Rt.A.set("cohort-".concat(e),t)}function Bt(e,t){var n=qt(e);return n[Ht]=(n[Ht]||0)+t,$t(e,n),n[Ht]}function Wt(e){return parseInt(e,10)}function Vt(e){return Ht-31>=e}function Kt(){return Rt.A.get("cohort_start")||Math.min.apply(Math,(0,m.A)(Object.keys(qt("pv"))))||Ht}Rt.A.get("cohort_start")||Rt.A.set("cohort_start",Kt()),Ut().forEach((function(e){!function(e){var t=qt(e);Object.keys(t).map(Wt).filter(Vt).forEach((function(e){delete t[e]})),$t(e,t)}(e)}));const Gt={increment:function(e){Bt(e,1)},add:Bt,total:function(e){var t=qt(e),n=0;return Object.keys(t).forEach((function(e){n+=t[e]})),n},cohorts:Ut,raw:qt,allRaw:function(){return Ut().reduce((function(e,t){return e[t]=qt(t),e}),{})},age:function(){return Ht-Kt()}};if(Rt.A.enabled){var Qt=Math.round((new Date).valueOf()/864e5);(Rt.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=Xt(Xt({},e),n);window.HP.params.abOutbrainTest.doNotPublishEvent&&delete r.hp_outbrain_test,window.HP.params.abReaderRevenueCTATest.doNotPublishEvent&&delete r.hp_reader_revenue_cta,window.HP.params.abGamesTest.doNotPublishEvent&&delete r.hp_games;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)}));en||console.log("ABEAGLE:",o),(0,Ke.A)("abeagleEvent",{experiment_id:o})},on=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,g,y;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=nn(),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=!1,m=l.get("game_version"),window.location.href.includes("games/daily-crossword")&&m&&(s="hp_games",f="arkadium"!==m?"control":"arkadium",p=o&&o.hp_games),h={},!s||!f){e.next=19;break}return h[s]={id:c||0,version:2,resolved:!0,is_feature_flag:!1,value:"".concat(f),variant_id:d||0,payload:null},p||Re.A.set("abeagleExperiments",h),rn(h,a),console.log("ABeagle override set for test: ".concat(s," with variant: ").concat(f)),e.abrupt("return");case 19:if(!u||!o){e.next=22;break}return rn(o),e.abrupt("return");case 22:if(!o){e.next=25;break}return rn(o),e.abrupt("return");case 25:if(!u||i){e.next=28;break}return rn(),e.abrupt("return");case 28:if(u||i){e.next=30;break}return e.abrupt("return");case 30:return v=new URLSearchParams({user_id:a,source:"huffpost_web",experiment_names:window.HP.params.abeagle.join(";")}),e.next=33,fetch("".concat(tn,"?").concat(v),{method:"GET"});case 33:if(!(g=e.sent).ok){e.next=42;break}return e.next=37,g.json();case 37:y=e.sent,Re.A.set("abeagleExperiments",y),rn(y,a),e.next=43;break;case 42:console.error("ABeagle fetch of ".concat(tn,"?").concat(v," failed:"),g.status,g.statusText);case 43:case"end":return e.stop()}}),e)})));return function(){return t.apply(this,arguments)}}(),an="us"===window.HP.params.edition,un="uk"===window.HP.params.edition;window.waitForGlobal((function(){return window.HP.cetEnabled&&window.HP.params&&window.HP.params.clientUUID&&window.HP.params.theme&&(!(an||un)||!window.HP.params.isEntry&&!window.HP.params.isFront||window.HP.params.abOutbrainTest.ready)&&(!an||!window.HP.params.isEntry||"mobile"!==window.HP.params.device||"politics"!==window.HP.entry.sectionSlug&&"entertainment"!==window.HP.entry.sectionSlug||window.HP.params.abStickyVideoTest.ready)&&(!an||!window.HP.params.isEntry||window.HP.entry.hasLiveblog||window.HP.params.abReaderRevenueCTATest.ready)&&(!an||!window.HP.params.isGame||window.HP.params.abGamesTest.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:on();case 1:case"end":return e.stop()}}),e)}))));const ln=nn,sn=function(e){var t=function(e){var t=nn()[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 cn(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",cn)})),window.HP.params.isEntry&&window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&document.addEventListener("abeagleEvent",(function(){var e=ln(),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 fn=o(95298),dn="object"===("undefined"==typeof window?"undefined":(0,Zt.A)(window))&&window.HP&&"production"===window.HP.env;if(window.HUFFPOST.params.clientUUID=window.HUFFPOST.cetEnabled?(0,fn.bs)({env:dn?"prod":"stage",legacy:!1}):" ",!document.cookie.match(/_lr_env=/)&&document.cookie.match(/hem=/)){var pn=atob(decodeURIComponent(h.A.get("hem").replace(/"/g,"")));window.addEventListener("envelopeModuleReady",(function(){atsenvelopemodule.setAdditionalData({type:"emailHashes",id:[pn]})}))}var mn="hp_outbrain_test";if(window.HP.params.isEntry||window.HP.params.isFront){var hn=window.HP.params.isEntry&&(window.HP.entry.modulousTags.includes("@nooutbrain")||window.HP.entry.modulousTags.includes("@notaboola"));hn&&(window.HP.params.abOutbrainTest.doNotPublishEvent=!0),window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&window.HP.params.abeagle.includes(mn)&&(document.addEventListener("abeagleEvent",(function(){var e=sn(mn),t=document.querySelectorAll(".outbrain-module");t.length&&"outbrain_placement_hidden"!==e&&!hn&&t.forEach((function(e){return e.classList.add("show")}))}),{once:!0}),window.HP.params.abOutbrainTest.ready=!0)}var vn="hp_sticky_video";"us"===window.HP.params.edition&&"mobile"===window.HP.params.device&&("politics"===window.HP.entry.sectionSlug||"entertainment"===window.HP.entry.sectionSlug)&&window.HP.params.isEntry&&!window.HP.entry.hasLiveblog&&window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&window.HP.params.abeagle.includes(vn)&&(document.addEventListener("abeagleEvent",(function(){var e=sn(vn);window.HP.params.abStickyVideoTest.variant=e}),{once:!0}),window.HP.params.abStickyVideoTest.ready=!0);var gn="hp_reader_revenue_cta";"us"===window.HP.params.edition&&window.HP.params.isEntry&&!window.HP.entry.hasLiveblog&&window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&window.HP.params.abeagle.includes(gn)&&(document.addEventListener("abeagleEvent",(function(){var e=sn(gn);window.HP.params.abReaderRevenueCTATest.variant=e,document.body.classList.add("ab-reader-revenue-".concat(e))}),{once:!0}),window.HP.params.abReaderRevenueCTATest.ready=!0);var yn,bn="hp_games";function wn(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 _n(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(An){On&&document.body.addEventListener("fpMemberCenterAction",Fn);var Rn=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"!==Rn&&!Cn&&!On){e.next=19;break}return e.prev=4,e.next=7,Ln(t);case 7:if(a=e.sent,i=a.data.createdAt,On){e.next=13;break}return e.next=12,Dn(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(!jn.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 Rt.A.has("hp-contributor")&&Rt.A.remove("hp-contributor"),document.body.classList.add("is-contributor"),document.body.classList.add(r),e.abrupt("break",36);case 29:return Nn(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 Nn(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(37381),o(1921),document.addEventListener("abeagleEvent",(function(){if("on"===sn("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=video.29eb22adb4d8a0a6141b.js.map