1/*! For license information please see Connatix.1fc6e47f9919d15d1bfc.js.LICENSE.txt */ 2(self.webpackChunkcambria=self.webpackChunkcambria||[]).push([[5897],{1543(e,t,n){"use strict";n.d(t,{A:()=>y});var i=n(89960),r=n.n(i),a=n(42963),o=n.n(a),s=n(64820),c=n.n(s);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u=n(18750),p=n(46393).CAPI_ENV,f=n(64305),h=function(e){var t=e.split("?"),n=c()(t,2),i=n[0],r=n[1];return[i,u.parse(r)]},g=function(e){return e.locator?e.locator:e.url?e.url:e.name&&e.ext?"".concat(e.name,".").concat(e.ext):e.fileName},v=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).useStagingHector;return"".concat("production"!==p&&t?"https://img.staging.huffingtonpost.com/asset/":"https://img.huffingtonpost.com/asset/").concat(e)},m=function(e,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{type:e,url:t,queryParams:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},width:n.width,height:n.height,credit:n.credit,creditUrl:n.creditUrl,ops:n.ops}};const y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return null;if("object"===o()(e)&&e.url&&"string"==typeof e.url&&(e.url.includes("img.huffingtonpost.com/asset/")||e.url.includes("img.staging.huffingtonpost.com/asset/")))return d(d({},e),{},{type:e.type||"hector"});if("string"==typeof e){var n=h(e),i=c()(n,2),r=i[0],a=i[1];return m("hector",v(r,t),a)}var s=g(e),l=h("string"==typeof s?s:g(s)),u=c()(l,2),p=u[0],y=u[1],b="object"===o()(s)&&"externalUrl"===s.type?"static":"hector";if("static"===b){var w=0===p.indexOf("//")?"https:":"",A=new URL(w+p);return A.protocol="https",f(A)?m(b,A.toString(),y,e):function(e){return m("hector",v("default-entry.jpg",e))}(t)}return m(b,v(p,t),y,e)}},4452(e,t){var n;!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=o(t,n));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},14573(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},t.apply(this,arguments)}e.exports=t},18750(e,t,n){"use strict";t.decode=t.parse=n(68866),t.encode=t.stringify=n(43942)},23611(e,t,n){"use strict";var i=n(88538);function r(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function a(e,t){for(var n,i="",r=0,a=-1,o=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===o);else if(a!==s-1&&2===o){if(i.length<2||2!==r||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var c=i.lastIndexOf("/");if(c!==i.length-1){-1===c?(i="",r=0):r=(i=i.slice(0,c)).length-1-i.lastIndexOf("/"),a=s,o=0;continue}}else if(2===i.length||1===i.length){i="",r=0,a=s,o=0;continue}t&&(i.length>0?i+="/..":i="..",r=2)}else i.length>0?i+="/"+e.slice(a+1,s):i=e.slice(a+1,s),r=s-a-1;a=s,o=0}else 46===n&&-1!==o?++o:o=-1}return i}var o={resolve:function(){for(var e,t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var s;o>=0?s=arguments[o]:(void 0===e&&(e=i.cwd()),s=e),r(s),0!==s.length&&(t=s+"/"+t,n=47===s.charCodeAt(0))}return t=a(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(r(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=a(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return r(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];r(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":o.normalize(e)},relative:function(e,t){if(r(e),r(t),e===t)return"";if((e=o.resolve(e))===(t=o.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var i=e.length,a=i-n,s=1;s<t.length&&47===t.charCodeAt(s);++s);for(var c=t.length-s,l=a<c?a:c,d=-1,u=0;u<=l;++u){if(u===l){if(c>l){if(47===t.charCodeAt(s+u))return t.slice(s+u+1);if(0===u)return t.slice(s+u)}else a>l&&(47===e.charCodeAt(n+u)?d=u:0===u&&(d=0));break}var p=e.charCodeAt(n+u);if(p!==t.charCodeAt(s+u))break;47===p&&(d=u)}var f="";for(u=n+d+1;u<=i;++u)u!==i&&47!==e.charCodeAt(u)||(0===f.length?f+="..":f+="/..");return f.length>0?f+t.slice(s+d):(s+=d,47===t.charCodeAt(s)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(r(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,i=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!a){i=o;break}}else a=!1;
2return-1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');r(e);var n,i=0,a=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,c=-1;for(n=e.length-1;n>=0;--n){var l=e.charCodeAt(n);if(47===l){if(!o){i=n+1;break}}else-1===c&&(o=!1,c=n+1),s>=0&&(l===t.charCodeAt(s)?-1===--s&&(a=n):(s=-1,a=c))}return i===a?a=c:-1===a&&(a=e.length),e.slice(i,a)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!o){i=n+1;break}}else-1===a&&(o=!1,a=n+1);return-1===a?"":e.slice(i,a)},extname:function(e){r(e);for(var t=-1,n=0,i=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===i&&(a=!1,i=s+1),46===c?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!a){n=s+1;break}}return-1===t||-1===i||0===o||1===o&&t===i-1&&t===n+1?"":e.slice(t,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+"/"+i:i}(0,e)},parse:function(e){r(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,i=e.charCodeAt(0),a=47===i;a?(t.root="/",n=1):n=0;for(var o=-1,s=0,c=-1,l=!0,d=e.length-1,u=0;d>=n;--d)if(47!==(i=e.charCodeAt(d)))-1===c&&(l=!1,c=d+1),46===i?-1===o?o=d:1!==u&&(u=1):-1!==o&&(u=-1);else if(!l){s=d+1;break}return-1===o||-1===c||0===u||1===u&&o===c-1&&o===s+1?-1!==c&&(t.base=t.name=0===s&&a?e.slice(1,c):e.slice(s,c)):(0===s&&a?(t.name=e.slice(1,o),t.base=e.slice(1,c)):(t.name=e.slice(s,o),t.base=e.slice(s,c)),t.ext=e.slice(o,c)),s>0?t.dir=e.slice(0,s-1):a&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,e.exports=o},25231(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>_});var i=n(14573),r=n.n(i),a=n(6606),o=n.n(a),s=n(49784),c=n.n(s),l=n(68263),d=n.n(l),u=n(11917),p=n.n(u),f=n(24454),h=n.n(f),g=n(63696),v=n(62688),m=n.n(v),y=n(45363);function b(e,t,n){return t=p()(t),d()(e,w()?Reflect.construct(t,n||[],p()(e).constructor):t.apply(e,n))}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w=function(){return!!e})()}var A=function(e){function t(e){var n,i,r,a,s,c;o()(this,t),c=b(this,t,[e]);var l=e.meta,d=e.options,u=e.cetDataVars,p=e.defer,f=e.title,h=e.isPreRoll;return c.isInject=!!d.isInject,c.isDeferred=p&&!c.isInject,c.isAmp=!!d.isAmp,c.isLiveblogEmbed=!!d.isLiveblogEmbed,c.isLiveblogSlidePage=!!d.isLiveblogSlidePage,c.isVideoEntry=!!d.isVideoEntry,c.isBackfillVideo=!!d.isBackfillVideo,c.isPreview=!!d.isPreview,c.device=d.device,c.isMobile="mobile"===c.device,c.isWebview=d.isMapi,c.isMapiSmall="androidphone"===c.device||"iphone"===c.device,c.meta=l||{},c.options=d,c.cetDataVars=u,c.title=f,c.connatixRef=g.createRef(),c.buzzfeedTracking=d.buzzfeedTracking,c.connatixConfigValues=d.connatixConfigValues,c.topConnatixThumnbailSrc=d.topConnatixThumnbailSrc,c.noVideoAds=!!d.noVideoAds,c.floatDisabled=!!d.disableFloat||(null===(n=d.connatixCountsHelper)||void 0===n?void 0:n.count)>0,c.renderScript=!c.isInject&&!c.isLiveblogEmbed,c.canHaveStickyVideo=d.isEntry&&(c.isMobile||c.isWebview)&&"us"===(null===(i=d.editionInfo)||void 0===i?void 0:i.id)&&!c.noVideoAds,c.isAdLightPlayer=null!==(r=null===(a=d.entryTagsList)||void 0===a?void 0:a.split(",").includes("@video-ad-light"))&&void 0!==r&&r,c.isPreRoll=h,c.connatixElPrefix=c.isPreRoll?"cnx":"cnxel",c.connatixContentUrl=c.isPreRoll?"https://capi.connatix.com/tr/si":"https://tr.thecontentserver.com/tr/si",d.connatixCountsHelper&&(d.connatixCountsHelper.count+=1),c.isLife="lifestyle"===d.deptSlug,c.canHaveStickyVideoDesktop=(d.isEntry||d.isFront)&&!c.isMobile&&!c.isWebview&&"us"===(null===(s=d.editionInfo)||void 0===s?void 0:s.id)&&!c.noVideoAds,c}return h()(t,e),c()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.isWebview?this.scriptInnerWebview:this.scriptInner;if(this.renderScript)this.connatixRef.current.setAttribute("data-ready",!0);else if(this.isDeferred){var n=!1;"function"==typeof IntersectionObserver&&(this.intersectionObserver=new IntersectionObserver(function(i){!n&&i.length>
20&&i.forEach(function(i){if(i.isIntersecting){n=!0,e.connatixRef.current.setAttribute("data-ready",!0);var r=document.createElement("script");r.innerHTML=t,r.type="text/javascript",r.setAttribute("id",e.renderId),e.connatixRef.current.appendChild(r)}})},{rootMargin:"".concat(window.innerHeight,"px")}),this.intersectionObserver.observe(this.connatixRef.current))}else{this.connatixRef.current.setAttribute("data-ready",!0);var i=document.createElement("script");i.innerHTML=t,i.type="text/javascript",i.setAttribute("id",this.renderId),this.connatixRef.current.appendChild(i)}}},{key:"renderId",get:function(){return this.meta.renderId}},{key:"playlistId",get:function(){var e;return null!==(e=this.connatixConfigValues)&&void 0!==e&&e.defaultPlaylist&&!this.meta.playlistId?this.connatixConfigValues.defaultPlaylist:this.meta.playlistId?this.meta.playlistId:void 0}},{key:"floatingGutterY",get:function(){return this.isMobile?void 0:58}},{key:"playerId",get:function(){return this.connatixConfigValues?this.isAdLightPlayer&&this.connatixConfigValues.adLightMobilePlayer&&this.connatixConfigValues.adLightDesktopPlayer?this.isMobile?this.connatixConfigValues.adLightMobilePlayer:this.connatixConfigValues.adLightDesktopPlayer:this.isVideoEntry&&this.connatixConfigValues.videoPagePlayer?this.connatixConfigValues.videoPagePlayer:this.meta.playerId===this.connatixConfigValues.clickToPlayPlayer?this.connatixConfigValues.clickToPlayPlayer:this.meta.playerId===this.connatixConfigValues.verticalPlayer?this.connatixConfigValues.verticalPlayer:this.canHaveStickyVideo&&this.connatixConfigValues.stickyPlayer&&!this.isAmp&&!this.isBackfillVideo?this.connatixConfigValues.stickyPlayer:this.isBackfillVideo&&this.connatixConfigValues.lifePagePlayer&&this.connatixConfigValues.nonLifePagePlayer&&!this.isWebview?this.isLife?this.connatixConfigValues.lifePagePlayer:this.connatixConfigValues.nonLifePagePlayer:this.connatixConfigValues.defaultPlayer?this.connatixConfigValues.defaultPlayer:this.meta.playerId:this.meta.playerId}},{key:"mediaId",get:function(){return this.meta.mediaId}},{key:"keywords",get:function(){return this.meta.keywords||""}},{key:"playbackMode",get:function(){return this.isLiveblogEmbed||this.noVideoAds?2:this.isVideoEntry?0:void 0}},{key:"contextPageId",get:function(){var e;return this.options.contextPageId||(null===(e=this.buzzfeedTracking)||void 0===e?void 0:e.context_page_id)}},{key:"floatMode",get:function(){if(!this.isBackfillVideo)return this.floatDisabled||this.isMobile||this.isLiveblogEmbed||this.isPreview||this.noVideoAds||this.isWebview?0:void 0}},{key:"scriptInner",get:function(){var e=this.mediaId?'mediaId: "'.concat(this.mediaId,'",'):"",t="ctx-wait-".concat(this.renderId),n="label_".concat(this.renderId.replace(/-/g,"_")),i="defer_".concat(this.renderId.replace(/-/g,"_")),r="playerId_".concat(this.renderId.replace(/-/g,"_")),a="window.".concat(this.connatixElPrefix," && window.HP && window.HP.params && window.HP.params.clientUUID && window.localStorage");return this.isWebview||(a+=" && ".concat(i," && ").concat(i,'.parentElement.dataset.ready === "true"')),this.canHaveStickyVideoDesktop&&!this.isWebview&&(a+=' && window.HP.params.abConnatixStickyDesktop?.ready === true && typeof window.HP.params.abConnatixStickyDesktop?.variant !== "undefined"'),"\n var currentScript = document.currentScript;\n\n function pollConsentAndRun() {\n var pollInterval = 100;\n var poller = setInterval(function() {\n if (window.HP && typeof window.HP.sp_consent !== 'undefined') {\n clearInterval(poller);\n runConnatixWithSSAI({ hasConsent: window.HP.sp_consent});\n // If undefined, keep polling\n }\n }, pollInterval);\n }\n\n function runConnatixWithSSAI({ hasConsent }) {\n var webviewOverrides = window.connatixWebviewOverrides?.['".concat(this.renderId,"'];\n var disableAdsWebview = typeof webviewOverrides?.disableAds !== 'undefined' ? webviewOverrides.disableAds : null;\n var disableAds = (disableAdsWebview ?? ").concat(!!this.noVideoAds,") || !hasConsent;\n var isVideoEntry = ").concat(this.isVideoEntry,';\n if (!disableAds && isVideoEntry) {\n SSAIWrapper();\n } else {\n runConnatix({ disableAds });\n }\n }\n\n function SSAIWrapper() {\n (async () => {\n let response;\n try {\n response = await fetch("https://ssl.p.jwpcdn.com/player/v/8.40.2/googima.js", {\n method: "HEAD"\n });\n } catch(e) {\n return true;\n }\n if (response.status < 400 && response.status >= 200) {\n return false;\n }\n return true;\n })().then((isAdBlocked) =>
2 {\n if (!isAdBlocked) {\n //RUN CONNATIX SCRIPT AS IS CURRENTLY\n runConnatix({ disableAds: false });\n } else {\n const element = document.getElementById("').concat(this.renderId,'");\n const wrapper = element ? element.closest(".connatix-wrapper") : null;\n const playerConfig = {\n playlist: \'https://cdn.jwplayer.com/v2/site/aFnzj9YE/media/ext:').concat(this.mediaId,"',\n advertising: {\n client: 'ssai',\n siteId: 'aFnzj9YE',\n adConfigId: 't1HqZa9l',\n stitchMode: 'ssai'\n },\n hlsjsConfig:{\n enableWorker: false\n }\n };\n if (!wrapper) {\n runConnatix({ disableAds: false });\n return;\n }\n const jwPlayer = jwplayer(wrapper);\n if (jwPlayer && typeof jwPlayer.setup === 'function') {\n jwPlayer.setup(playerConfig);\n } else {\n console.error('JW Player setup is unavailable, falling back to Connatix standard mode');\n runConnatix({ disableAds: false });\n }\n }\n });\n }\n\n function runConnatix({ disableAds }) {\n var ").concat(n,' = "').concat(t,'";\n var ').concat(i," = currentScript;\n var webviewOverrides = window.connatixWebviewOverrides?.['").concat(this.renderId,"'];\n var floatingModeWebview = typeof webviewOverrides?.floatingMode !== 'undefined' ? webviewOverrides.floatingMode : null;\n var floatMode = floatingModeWebview ?? ").concat(this.floatMode,";\n var playbackModeWebview = typeof webviewOverrides?.playbackMode !== 'undefined' ? webviewOverrides.playbackMode : null;\n var playbackMode = playbackModeWebview ?? ").concat(this.playbackMode,";\n var playerIdWebview = typeof webviewOverrides?.playerId !== 'undefined' ? webviewOverrides.playerId : null;\n const ").concat(r," = playerIdWebview ?? '").concat(this.playerId,"';\n console.time(").concat(n,");\n window.waitForGlobal(\n () => ").concat(a,",\n () => {\n const playerConfig = {\n ").concat(e,"\n playerId: ").concat(r,",\n playlistId: '").concat(this.playlistId,'\',\n customParam1: window.localStorage.getItem("cet-page_session_id"),\n customParam2: "').concat(this.contextPageId,'",\n customParam3: ').concat(JSON.stringify(this.keywords),',\n customParam4: "').concat(this.device,'",\n customParam5: window.HUFFPOST.params.clientUUID,\n settings: {\n playbackMode: playbackMode,\n disableAdvertising: disableAds,\n customization: {\n floating: {\n mode: floatMode,\n floatingGutterY: ').concat(this.floatingGutterY,",\n }\n }\n }\n };\n\n if (!").concat(this.isLiveblogEmbed," && !").concat(this.isPreview," && !").concat(this.noVideoAds," && !").concat(this.isWebview,"\n && window.HP?.params?.abConnatixStickyDesktop?.variant === 'on') {\n playerConfig.settings.customization.floating.mode = 2; // enable floating for sticky desktop AB test variant AfterInView\n playerConfig.settings.customization.floating.closeButton = 1; // Always On\n playerConfig.settings.customization.floating.floatingGutterY = 68; // height of bottom sticky ad + 10px close button\n }\n\n\n console.timeEnd(").concat(n,");\n (new Image()).src = '").concat(this.connatixContentUrl,"?token=' + ").concat(r," + '&cid=1bf35e8b-3d55-48a6-aef8-0ebfdd277df7';\n ").concat(this.connatixElPrefix,".cmd.push(function() {\n ").concat(this.connatixElPrefix,'(playerConfig).render("').concat(this.renderId,'", (renderError, playerApi) => {\n const wrapper = document.getElementById("').concat(this.renderId,'").closest(".connatix-wrapper");\n const loadingEl = wrapper !== null ? wrapper.querySelector(".loading-message") : null;\n if (renderError) {\n // An error occured while rendering the player\n if(loadingEl !== null) {\n loadingEl.classList.add("error");\n }\n ').concat(this.isPreRoll?'const event = new Event("connatix-preroll-ended"); document.dispatchEvent(event);':"",';\n return;\n } else {\n // player is ready and rendered\n if(loadingEl !== null) {\n loadingEl.classList.add("loaded");\n }\n ').concat(this.webviewSetFloatingPlayerSettings,"\n ").concat(this.liveblogSlidePageEnableFloatScript,"\n ").concat(this.preRollScriptInnerFunctions,"\n }\n });\n })\n }\n );\n }
2\n\n (function() {\n if (typeof window._sp_ !== 'undefined') {\n pollConsentAndRun();\n } else {\n runConnatixWithSSAI({ hasConsent: true });\n }\n })();\n ")}},{key:"liveblogSlidePageEnableFloatScript",get:function(){return this.isLiveblogSlidePage&&this.isMobile&&!this.isLiveblogEmbed?"\n playerApi.enableFloatingMode();\n ":""}},{key:"webviewSetFloatingPlayerSettings",get:function(){return this.isWebview&&this.canHaveStickyVideo&&!this.isLiveblogEmbed?"\n playerApi.setFloatingSettings({\n floatingGutterY: 0,\n });\n ":""}},{key:"preRollScriptInnerFunctions",get:function(){return this.isPreRoll?'\n const preRollEvent = new Event("connatix-preroll-ended");\n const preRollBreak = setTimeout(function() {\n document.dispatchEvent(preRollEvent);\n playerApi.destroy();\n }, 7000);\n\n playerApi.once(\'adImpression\', ()=>{\n clearTimeout(preRollBreak);\n });\n playerApi.once("adSkipped", function() {\n console.log("this is the adSkipped event");\n document.dispatchEvent(preRollEvent);\n });\n playerApi.once("adCompleted100", function() {\n console.log("this is the adCompleted100 event");\n document.dispatchEvent(preRollEvent);\n });\n ':""}},{key:"scriptInnerWebview",get:function(){var e,t="loadConnatix_".concat(this.renderId.replace(/-/g,"_")),n="\n window.connatixWebviewOverrides = window.connatixWebviewOverrides || {};\n window.connatixWebviewOverrides['".concat(this.renderId,"'] = {\n disableAds: ").concat(!!this.noVideoAds,",\n playbackMode: ").concat(this.playbackMode,",\n floatingMode: ").concat(this.floatMode,",\n playerId: '").concat(this.playerId,"',\n };\n const ").concat(t," = () => {\n ").concat(this.scriptInner,"\n };\n window.waitForGlobalCambria(\n () => window.getAppInfo,\n () => {\n window.getAppInfo().then((info) => {\n window.connatixWebviewOverrides['").concat(this.renderId,"'] = {\n ...window.connatixWebviewOverrides['").concat(this.renderId,"'],\n disableAds: info.adsFree ? true : window.connatixWebviewOverrides['").concat(this.renderId,"'].disableAds,\n playbackMode: info.adsFree ? 2 : window.connatixWebviewOverrides['").concat(this.renderId,"'].playbackMode,\n floatingMode: info.adsFree ? 0 : window.connatixWebviewOverrides['").concat(this.renderId,"'].floatingMode,\n playerId: info.adsFree ? '").concat((null===(e=this.connatixConfigValues)||void 0===e?void 0:e.clickToPlayPlayer)||this.playerId,"' : window.connatixWebviewOverrides['").concat(this.renderId,"'].playerId,\n };\n ").concat(t,"();\n });\n },\n 50, // poll every 50ms\n { fallback: 12000, caller: 'getAppInfo', fallbackCb: () => {").concat(t,"();} }, // suspend wait after 12 seconds\n );\n ");return this.isWebview?n:""}},{key:"defaultPlayer",value:function(){var e=g.createElement("svg",{className:"loading-spinner",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.createElement("path",{d:"M13 6C8.94289 7.30412 6 11.1832 6 15.7657C6 21.418 10.4772 26 16 26C21.5228 26 26 21.418 26 15.7657C26 11.1832 23.0571 7.30412 19 6",stroke:"#626262",strokeWidth:"4",strokeLinecap:"round"})),t=g.createElement("div",{className:"loading-message"},g.createElement("span",{className:"loading-message__loading"},"LOADING"),g.createElement("span",{className:"loading-message__error"},"ERROR LOADING"),e),n=this.isWebview?this.scriptInnerWebview:this.scriptInner,i=this.renderScript?g.createElement("script",{id:this.renderId,dangerouslySetInnerHTML:{__html:n}}):null,a=this.props.addPlaceholder?g.createElement("img",{fetchpriority:"high",className:"connatix-thumbnail","aria-hidden":!0,alt:"",src:this.topConnatixThumnbailSrc,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"auto",aspectRatio:"16/9"}}):null,o=g.createElement("div",r()({"data-ready":!this.isDeferred,ref:this.connatixRef,className:"connatix-player",style:this.props.addPlaceholder?{position:"absolute",top:"0",width:"100%",height:"100%"}:{}},this.cetDataVars),a,this.renderScript&&i);return this.props.addPlaceholder?g.createElement("div",{className:"connatix-wrapper",style:{width:"100%",height:"auto",display:"block",position:"relative"}}
2,g.createElement("div",{className:"connatix-placeholder ".concat(this.isMobile||this.isVideoEntry&&this.isMapiSmall?"connatix-placeholder-mobile":""),style:{left:"0",width:"100%",height:this.isVideoEntry?"0":"auto",position:"relative",aspectRatio:"16/9"}}),t,o):o}},{key:"ampPlayer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.playerId){var t,n,i,a,o=this.isVideoEntry?"345":"211",s=e?null===(t=this.connatixConfigValues)||void 0===t?void 0:t.noAdsPlayer:this.playerId,c=null!==(n=this.connatixConfigValues)&&void 0!==n&&n.noAdsPlayer?{"amp-access":"NOT profile.adsFreeWeb","amp-access-hide":"profile.adsFreeWeb"}:{};return g.createElement(g.Fragment,null,g.createElement("amp-connatix-player",r()({"data-player-id":s,"data-media-id":this.mediaId,"data-param-custom-param2":this.contextPageId,"data-param-custom-param3":this.keywords,"data-param-custom-param4":this.device,width:"375",height:o,layout:"responsive"},c)),(null===(i=this.connatixConfigValues)||void 0===i?void 0:i.noAdsPlayer)&&g.createElement("amp-connatix-player",{"data-player-id":null===(a=this.connatixConfigValues)||void 0===a?void 0:a.noAdsPlayer,"data-media-id":this.mediaId,"data-param-custom-param2":this.contextPageId,"data-param-custom-param3":this.keywords,"data-param-custom-param4":this.device,width:"375",height:o,layout:"responsive","amp-access":"profile.adsFreeWeb","amp-access-hide":"NOT profile.adsFreeWeb"}))}return""}},{key:"render",value:function(){return g.createElement(g.Fragment,null,this.title&&g.createElement(y.A,{text:this.title}),this.isAmp?this.ampPlayer():this.defaultPlayer())}}])}(g.Component);A.propTypes={meta:m().shape({}),options:m().shape({isAmp:m().bool,device:m().string}),defer:m().bool,addPlaceholder:m().bool,cetDataVars:m().shape({}),title:m().string,isPreRoll:m().bool},A.defaultProps={meta:{},options:{},addPlaceholder:!1,defer:!1,cetDataVars:{},title:null,isPreRoll:!1};const _=A},28710(e,t,n){"use strict";n.d(t,{A:()=>o});var i=n(63696),r=n(77132),a=n(92986);function o(){var e=i.useContext(a.ob);return(0,r.HM)(e),e}},40362(e,t,n){"use strict";var i=n(56441);function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,o){if(o!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n,n}},43942(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,i,r){return n=n||"&",i=i||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(r){var a=encodeURIComponent(t(r))+i;return Array.isArray(e[r])?e[r].map(function(e){return a+encodeURIComponent(t(e))}).join(n):a+encodeURIComponent(t(e[r]))}).join(n):r?encodeURIComponent(t(r))+i+encodeURIComponent(t(e)):""}},44495(e,t,n){"use strict";n.d(t,{defineMessages:()=>u});var i,r,a=n(34629),o=n(63696),s=n(28710);!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(i||(i={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(r||(r={}));var c=function(e){var t=(0,s.A)(),n=e.value,i=e.children,r=(0,a.Tt)(e,["value","children"]);return i(t.formatNumberToParts(n,r))};function l(e){var t=function(t){var n=(0,s.A)(),i=t.value,r=t.children,o=(0,a.Tt)(t,["value","children"]),c="string"==typeof i?new Date(i||0):i;return r("formatDate"===e?n.formatDateToParts(c,o):n.formatTimeToParts(c,o))};return t.displayName=r[e],t}function d(e){var t=function(t){var n=(0,s.A)(),i=t.value,r=t.children,c=(0,a.Tt)(t,["value","children"]),l=n[e](i,c);if("function"==typeof r)return r(l);var d=n.textComponent||o.Fragment;return o.createElement(d,null,l)};return t.displayName=i[e],t}function u(e){return e}c.displayName="FormattedNumberParts",c.displayName="FormattedNumberParts",d("formatDate"),d("formatTime"),d("formatNumber"),d("formatList"),d("formatDisplayName"),l("formatDate"),l("formatTime")},45363(e,t,n){"use strict";n.d(t,{A:()=>E});var i=n(6606),r=n.n(i),a=n(49784),o=n.n(a),s=n(68263),c=n.n(s),l=n(11917),d=n.n(l),u=n(24454),p=n.n(u),f=n(63696),h=n(62688),g=n.n(h),v=n(70270),m=n(1543),y=n(46093),b=n(78943);
2function w(e,t,n){return t=d()(t),c()(e,A()?Reflect.construct(t,n||[],d()(e).constructor):t.apply(e,n))}function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A=function(){return!!e})()}var _=function(e){function t(){return r()(this,t),w(this,t,arguments)}return p()(t,e),o()(t,[{key:"render",value:function(){var e=this.props,t=e.text,n=e.modifiers,i=e.image,r=e.href,a=e.id,o=f.createElement(this.props.tag,{className:"zone__title",dangerouslySetInnerHTML:{__html:t}}),s={id:a,className:(0,y.Zt)("zone__title__container",n)};return f.createElement("div",s,f.createElement(v.A,{href:r,"aria-label":t,role:"button"},i&&f.createElement("div",{className:"zone__title__image"},i.overlay&&f.createElement("div",{className:"zone__title__image__overlay"}),f.createElement(b.Ay,{className:"zone__title__image__src",noWrapper:!0,image:(0,m.A)(i,{useStagingHector:i.useStagingHector}),ops:i.ops,role:"none presentation"}),o),!i&&o))}}])}(f.PureComponent);_.propTypes={text:g().string.isRequired,id:g().string,tag:g().string,modifiers:g().arrayOf(g().string),image:g().shape({type:g().oneOf(["image"]).isRequired,locator:g().string.isRequired,ops:g().arrayOf(g().string).isRequired,overlay:g().bool}),href:g().string},_.defaultProps={modifiers:[],image:void 0,tag:"h2",href:null,id:null};const E=_},46093(e,t,n){"use strict";n.d(t,{Zt:()=>o,g8:()=>s,j9:()=>c});var i=n(14573),r=n.n(i),a=n(63696);(0,n(44495).defineMessages)({COPYRIGHT:{id:"COPYRIGHT",defaultMessage:"Part of {comscoreFooterText}. ©{year} BuzzFeed, Inc. All rights reserved."}});var o=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).filter(function(e){return e}).map(function(t){return"".concat(e,"--").concat(t)});return t.unshift(e),t.join(" ")},s=function(e,t,n,i){return t?a.createElement("a",r()({href:e},n),i):i},c=function(e){var t=e.condition,n=e.wrap,i=e.children,r=e.wrapElse;return t?n(i):r?r(i):i}},46393(e,t,n){var i,r=n(23611),a=n(63943).settings,o=function(e){try{return a.get(e)}catch(e){return!1}},s=function(e){return o("CLUSTER")?a.get(e):o(e)};i={NODE_ENV:s("NODE_ENV")||"production",MAPI_ENV:s("MAPI_ENV")||"production",MAPI_HOST:s("MAPI_HOST")||"mapi.huffpost.com",ASSETS_URL:s("ASSETS_URL")||"/static-assets/cambria/app/",IS_TESTING:o("IS_TESTING"),CAMBRIA_ENV:s("CAMBRIA_ENV"),WEBPACK_TARGETS:s("WEBPACK_TARGETS"),BUNDLE_ANALYZER:s("BUNDLE_ANALYZER"),REDIS_HOST:s("REDIS_HOST"),REDIS_DB:s("REDIS_DB"),REDIS_PROTOCOL:s("REDIS_PROTOCOL"),REDIS_READ_HOST:s("REDIS_READ_HOST"),API_GATEWAY_HOST:s("API_GATEWAY_HOST"),API_GATEWAY_TOKEN:s("API_GATEWAY_TOKEN"),SPOT_ENGAGEMENT_TOKEN:s("SPOT_ENGAGEMENT_TOKEN"),STAGE_BASIC_AUTH_USER:s("STAGE_BASIC_AUTH_USER"),STAGE_BASIC_AUTH_PASS:s("STAGE_BASIC_AUTH_PASS"),SIA_KEY_PATH:s("SIA_KEY_PATH"),SIA_CERT_PATH:s("SIA_CERT_PATH"),SIA_CERT_BUNDLE_PATH:s("SIA_CERT_BUNDLE_PATH"),CHECK_OUT_URL:s("CHECK_OUT_URL"),GIT_COMMIT:!1,STATSD_HOST:s("STATSD_HOST"),CAMBRIA_S3_ASSET_BUCKET:!1,JWT_SECRET_KEY:s("JWT_SECRET_KEY"),CARD_PREVIEW_SECRET:s("CARD_PREVIEW_SECRET"),CAPI_ENV:s("CAPI_ENV"),DIST_DIR:"/dist",ROOT_DIR:r.resolve("/",".."),NO_OPINARY_TRAIT_SLUG:"noOpinary",SIGN_IN_URL:s("AUTH0_SIGN_IN_URL"),SIGN_UP_URL:s("AUTH0_SIGN_UP_URL"),LOG_OUT_URL:s("AUTH0_LOG_OUT_URL"),AUTHORIZATION_URL:s("MAPI_AUTHORIZATION_URL"),CHANGE_PASSWORD_URL:s("AUTH0_CHANGE_PASSWORD_URL"),LISTENING_PORT:s("PORT"),CAPI_CONSUMER:s("CAPI_CONSUMER")||"cambria",DATADOG_NAMESPACE:"huffpost_cambria",FLIP_PAY_AUTH:s("FLIP_PAY_AUTH"),STRIPE_SECRET_KEY:s("STRIPE_SECRET_KEY"),STRIPE_PUBLISHABLE_KEY:s("STRIPE_PUBLISHABLE_KEY"),STRIPE_BILLING_PORTAL_LOGIN_URL:s("STRIPE_BILLING_PORTAL_LOGIN_URL"),S3_ACCESS_KEY_ID:s("S3_ACCESS_KEY_ID"),S3_SECRET_ACCESS_KEY:s("S3_SECRET_ACCESS_KEY"),RECAPTCHA:s("RECAPTCHA")},e.exports=i},56441(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},62688(e,t,n){e.exports=n(40362)()},63943(e,t,n){const i=n(68610);e.exports={settings:i}},64305(e){var t=["huffpost.com","huffingtonpost.com","giphy.com"];e.exports=function(e){return t.some(function(t){return e.hostname===t||e.hostname.match("\\.".concat(t,"$"))})}},68610(e,t,n){var i=n(88538);e.exports={get:function(e){const t=e.toUpperCase();if(!(t in i.env))throw new Error(`key ${e} as ${t} not found in environment`);try{return JSON.parse(i.env[t])}catch(e){return i.env[t]}}}},68866(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,i,r){n=n||"&",i=i||"=";var a={};if("string"!=typeof e||0===e.length)return a;var o=/\+/g;e=e.split(n);var s=1e3;r&&"number"==typeof r.maxKeys&&(s=r.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var l=0;l<c;++l){var d,u,p,f,h=e[l].replace(o,"%20"),g=h.indexOf(i);g>=0?(d=h.substr(0,g),u=h.substr(g+1)):(d=h,u=""),p=decodeURIComponent(d),f=decodeURIComponent(u),t(a,p)?Array.isArray(a[p])?a[p].push(f):a[p]=[a[p],f]:a[p]=f}return a}},70270(e,t,n){"use strict";n.d(t,{A:()=>s});var i=n(63696),r=n(62688),a=n.n(r),o=function(e){var t=e.href,n=e.children;return t?i.createElement("a",e):n};o.defaultProps={href:null},o.propTypes={href:a().string,children:a().node.isRequired};const s=o},78943(e,t,n){"use strict";n.d(t,{Ay:()=>U,Ev:()=>R,Pk:()=>x,pG:()=>N});var i=n(6606),r=n.n(i),a=n(49784),o=n.n(a),s=n(68263),c=n.n(s),l=n(11917),d=n.n(l),u=n(24454),p=n.n(u),f=n(14573),h=n.n(f),g=n(899
260),v=n.n(g),m=n(64820),y=n.n(m),b=n(63696),w=n(62688),A=n.n(w),_=n(4452),E=n.n(_),I=n(92152);function P(e,t,n){return t=d()(t),c()(e,C()?Reflect.construct(t,n||[],d()(e).constructor):t.apply(e,n))}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C=function(){return!!e})()}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach(function(t){v()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var O=b.createContext(!1),x=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r="featured"===e,a="opinion"===e,o="voices"===e;return i.includes("ce-screenWidth--full")?"auto":n?500:r?1280:t||i.includes("ce-screenWidth--wide")?970:a?740:o?736:720},R=function(e,t,n){var i=e;return 0===t&&("opinion"===n?i=["736_510","quality_75"]:"voices"===n&&(i=["544_544","quality_75"])),i},k={crop:{predicate:function(e){return e.startsWith("crop")},calc:function(e,t){var n=t.split("_").reverse(),i=y()(n,2),r=i[0],a=i[1];return{width:parseInt(a,10),height:parseInt(r,10)}}},resize:{predicate:function(e){return e.startsWith("resize")},calc:function(e,t){var n=t.split("_"),i=y()(n,3),r=i[1],a=i[2];return{width:parseInt(r,10),height:parseInt(a,10)}}},scaleFit:{predicate:function(e){return e.toLowerCase().startsWith("scalefit")},calc:function(e,t){var n=t.split("_"),i=y()(n,4),r=i[1],a=i[2],o=i[3],s=parseInt(r,10),c=parseInt(a,10),l=c||s;if("noupscale"===(c?o:a)&&s>e.width&&l>e.height)return e;var d=Math.min(s,l),u=d/(d===s?e.width:e.height);return{width:Math.floor(e.width*u),height:Math.floor(e.height*u)}}},numbersOnly:{predicate:function(e){return e.match(/^\d+_\d+$/)},calc:function(e,t){var n=t.split("_"),i=y()(n,2),r=i[0],a=i[1];return{width:parseInt(r,10),height:parseInt(a,10)}}}},N=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).reduce(function(e,t){var n=Object.values(k).find(function(e){return e.predicate(t)});return n?n.calc(e,t):e},{width:e.width,height:e.height})},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"==typeof e)return e;var i=e.url,r=function(e){var t=e.queryParams,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return T(T({},t),{},{ops:n.join(",")})}(e,t),a=Object.keys(r).reduce(function(e,t){var n=r[t];return n&&e.push("".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(n))),e},[]);return n&&a.push("format=webp"),a=a.join("&"),"".concat(i).concat(a?"?".concat(a):"")},D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"==typeof e)return e;var i=L(e,t,n),r=t.map(function(e){if(e.toLowerCase().startsWith("scalefit")){var t=e.split("_");if(t.length>=2){var n=parseInt(t[1],10),i=t.length>=3?parseInt(t[2],10):n,r=t.length>=4?t[3]:void 0;if(!Number.isNaN(n)){var a=2*n,o=Number.isNaN(i)?a:2*i;return[t[0],a,o!==a?o:void 0,r].filter(Boolean).join("_")}}}return e}),a=L(e,r,n);return"".concat(i," 1x, ").concat(a," 2x")},V=function(e){function t(){return r()(this,t),P(this,t,arguments)}return p()(t,e),o()(t,[{key:"render",value:function(){var e=this.props,t=e.image,n=e.className,i=e.layout,r=e.alt,a=e.noWrapper,o=e.isAmp,s=e.role,c=e.ampLayout,l=e.lazy,d=e.fetchpriority,u=e.index,p=e.style,f=void 0===p?{}:p,g=e.keepOriginalQuality,m=l?"lazy":void 0;if(!t)return b.createElement("img",{className:E()(["img",n]),src:"https://img.huffingtonpost.com/asset/default-entry.jpg?ops=500_281",alt:r,loading:m,fetchpriority:d,style:f});if("static"===t.type&&!o)return b.createElement("img",{className:E()(["img",n]),src:"string"==typeof t?t:L(t,[],!1),alt:r,loading:m,fetchpriority:d,style:f});var y=function(e){var t=e.ops,n=void 0===t?[]:t,i=(Array.isArray(n)?n:n.split(",")).filter(function(e){return e&&-1===e.indexOf("NaN")}
2),r=function(e){var t=e.width,n=e.height,i=e.operation,r=e.upscale,a=void 0!==r&&r,o=e.progressive,s=void 0!==o&&o,c=e.quality,l=e.ops,d=void 0===l?[]:l,u=e.keepOriginalQuality?100:c,p=[s&&"prog",u&&"quality_".concat(u)].filter(function(e){return e});if(!t&&!n)return p;var f=(Array.isArray(d)?d:d.split(",")).filter(function(e){return e&&-1===e.indexOf("NaN")}).join(",");return[[i||-1===f.indexOf("crop_")?i:"resize",t,"scaleFit"===i&&t===n?void 0:n,a||"scaleFit"!==i?void 0:"noupscale"].filter(function(e){return e}).join("_").toLowerCase()].concat(p)}(e);return 0!==r.length?i.concat(r):i}(this.props),w=N(t,y),A=w.width,_=w.height,I=!(!A||!_),P=A>_?"landscape":"portrait",C=o||!I||a;if(o&&!I&&"entry-wirepartner__logo"===n)return b.createElement("span",{className:"amp-wirepartner-text"},r.replace(" logo",""));var S=!g,O=L(t,y,!1),x=-1===O.indexOf(".gif")&&L(t,y,S),R=E()(v()(v()(v()(v()(v()(v()({},n,n&&C),"img",C),"img--responsive","responsive"===i&&C),"img--inline","inline"===i&&C),"img-sized__img",!C),P,I)),k={alt:r,width:I?A:void 0,height:I?_:void 0},V=T({class:R,layout:c,role:"button",tabindex:"0"},k),U=T({style:f,className:R,role:s||void 0,loading:m,fetchpriority:d},k),M=o?function(e,t,n,i,r){var a,o,s,c,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],d={};o=(a=n).layout,s=a.width,c=a.height,"responsive"!==o||s||c||(n.class.includes("landscape")||e.includes("scalefit_960_noupscale")?(d.width=1.33,d.height=1):e.includes("scalefit_686_noupscale")?(d.width=1.5,d.height=1):(d.width=1,d.height=1),d.height=1);var u=i<=2?{"data-hero":!0}:{},p="string"==typeof r?void 0:D(r,l,!1),f="string"==typeof r?void 0:t&&D(r,l,!0);return t?b.createElement("amp-img",h()({},n,d,u,{src:t,srcset:f||t}),b.createElement("amp-img",h()({},n,d,{src:e,srcset:p,fallback:""})),b.createElement("span",{className:"sr-only"},"Open Image Modal")):b.createElement(b.Fragment,null,b.createElement("amp-img",h()({},n,d,u,{src:e,srcset:p,fallback:""})),b.createElement("span",{className:"sr-only"},"Open Image Modal"))}(O,x,V,u,t,y):function(e,t,n,i,r){var a="string"==typeof r?e:D(r,i,!1),o="string"==typeof r?t:t&&D(r,i,!0);return b.createElement("picture",null,t&&b.createElement("source",{type:"image/webp",srcSet:o||t}),b.createElement("img",h()({},n,{src:e,srcSet:a})))}(O,x,U,y,t);if(C)return M;var W="max-width"===i?{width:A}:void 0;return b.createElement("div",{className:E()(n,{"img-sized":!0,"img-sized--responsive":"responsive"===i,"img-sized--inline":"inline"===i})},b.createElement("div",{className:"img-sized__placeholder",style:W},b.createElement("div",{style:{paddingTop:"".concat(_/A*100,"%")}})),M)}}])}(b.PureComponent);V.contextType=O,V.propTypes={image:A().oneOfType([I.A,A().shape({url:A().oneOfType([A().string,A().shape({fileName:A().string.isRequired})]).isRequired}),A().string]).isRequired,index:A().number,layout:A().oneOf(["max-width","responsive","inline"]),alt:A().string,className:A().string,noWrapper:A().bool,keepOriginalQuality:A().bool,isAmp:A().bool,ampLayout:A().string,role:A().string,lazy:A().bool,fetchpriority:A().string,style:A().shape({width:A().number,height:A().number})},V.defaultProps={className:void 0,index:void 0,layout:"responsive",alt:"",keepOriginalQuality:!1,noWrapper:!1,isAmp:!1,role:void 0,ampLayout:"responsive",fetchpriority:"auto",lazy:!1,style:{}};const U=V},88538(e){var t,n,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(e){t=r}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,c=[],l=!1,d=-1;function u(){l&&s&&(l=!1,s.length?c=s.concat(c):d=-1,c.length&&p())}function p(){if(!l){var e=o(u);l=!0;for(var t=c.length;t;){for(s=c,c=[];++d<t;)s&&s[d].run();d=-1,t=c.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||l||o(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},92152(e,t,n){"use strict";n.d(t,{A:()=>a});var i=n(62688),r=n.n(i);const a=r().shape({type:r().oneOf(["hector","static"]).isRequired,url:r().str
2ing.isRequired,queryParams:r().object.isRequired,width:r().number,height:r().number,credit:r().string,creditUrl:r().string})}}]); 3//# sourceMappingURL=Connatix.1fc6e47f9919d15d1bfc.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.