PageSourceSearch

https://www.inquirer.com/pf/dist/components/combinations/light-front.js?d=1514&mxId=00000000

js inquirer.com collected 2026-09-24 08:25:38 UTC 865,933 bytes, 2 lines download raw bytes

1/*! For license information please see light-front.js.LICENSE.txt */
2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("fusion:prop-types"),require("prop-types"),require("react"),require("react-dom"),require("fusion:jsx:consumer"),require("fusion:jsx:content"),require("fusion:jsx:context"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:environment"),require("fusion:unpack")):"function"==typeof define&&define.amd?define([,,,,,,,,,,],t):"object"==typeof exports?exports.Fusion=t(require("fusion:prop-types"),require("prop-types"),require("react"),require("react-dom"),require("fusion:jsx:consumer"),require("fusion:jsx:content"),require("fusion:jsx:context"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:environment"),require("fusion:unpack")):(e.Fusion=e.Fusion||{},e.Fusion.components=t(e.PropTypes,e.PropTypes,e.React,e.ReactDOM,e.Fusion.Consumer,e.Fusion.Content,e.Fusion.Context,e.Fusion.Layout,e.Fusion.Quarantine,e.Fusion.environment,e.Fusion.unpack))}(this,function(e,t,n,r,i,o,a,s,l,c,u){return function(){var d,f,p={70997:function(e,t,n){const r=n(92986),i=n(71592),o=n(1534),a={};a.chains=a.chains||{},a.features=a.features||{},a.layouts=a.layouts||{},a.chains["flexible-chain"]=i(o(n(79440))),a.chains["food-front-chain"]=i(o(n(5407))),a.chains["game-central-70-30-chain"]=i(o(n(67151))),a.chains["right-rail-300-chain"]=i(o(n(23498))),a.chains["sports-front-chain-ab-test"]=i(o(n(89963))),a.chains["sports-front-chain"]=i(o(n(76398))),a.features["vertical-player/light-front"]=n(3174)(null,null,()=>n.e(1073).then(n.bind(n,8216))),a.features["article/ArticleAd"]=i(o(n(44542))),a.features["author/topper"]=n(3174)(null,null,()=>n.e(9514).then(n.bind(n,59514))),a.features["game-day/Branding"]=n(3174)(null,null,()=>n.e(5147).then(n.bind(n,55147))),a.features["game-day/Content"]=n(3174)(null,null,()=>Promise.all([n.e(5412),n.e(2278),n.e(283),n.e(2752)]).then(n.bind(n,10209))),a.features["game-day/GamedayTop"]=i(o(n(10335))),a.features["game-day/LiveStream"]=i(o(n(5932))),a.features["game-day/ScoreBoard"]=n(3174)(null,null,()=>Promise.all([n.e(8657),n.e(2524)]).then(n.bind(n,12524))),a.features["global/AdUnit"]=i(o(n(88609))),a.features["global/AppBar"]=i(o(n(19451))),a.features["global/BigTop"]=n(3174)(null,null,()=>n.e(6839).then(n.bind(n,96839))),a.features["global/BreakingNewsToast"]=i(o(n(45411))),a.features["global/Footer"]=i(o(n(23485))),a.features["global/FooterLinks"]=i(o(n(66812))),a.features["global/HeadlineListV2"]=i(o(n(82203))),a.features["global/HTMLBox"]=i(o(n(71357))),a.features["global/LoginLoading"]=i(o(n(79349))),a.features["global/MoreStoriesButton"]=i(o(n(19210))),a.features["global/OurWriters"]=i(o(n(86690))),a.features["global/RegionalBanner"]=i(o(n(36917))),a.features["global/RestaurantFinderWidget"]=n(3174)(null,null,()=>n.e(4178).then(n.bind(n,44178))),a.features["global/SignInToast"]=i(o(n(69587))),a.features["global/SiteMap"]=n(3174)(null,null,()=>n.e(7133).then(n.bind(n,67133))),a.features["global/SocialWidget"]=i(o(n(32445))),a.features["global/StoryCardV2"]=i(o(n(27701))),a.features["global/SwipeableStoryCard"]=n(3174)(null,null,()=>Promise.all([n.e(2817),n.e(2059)]).then(n.bind(n,2059))),a.features["global/TopicHeader"]=n(3174)(null,null,()=>n.e(6594).then(n.bind(n,86594))),a.features["global/VideoCard"]=n(3174)(null,null,()=>n.e(2419).then(n.bind(n,82419))),a.features["newsletter/NewsletterSignup"]=n(3174)(null,null,()=>n.e(7671).then(n.bind(n,87671))),a.features["newsletter/NewslettersV3"]=n(3174)(null,null,()=>n.e(4126).then(n.bind(n,64126))),a.features["newsletter/SectionNewsletters"]=n(3174)(null,null,()=>Promise.resolve().then(n.bind(n,62079))),a.features["packages/Carou
2selPackage"]=i(o(n(40980))),a.features["packages/FirstEditorial"]=n(3174)(null,null,()=>Promise.all([n.e(2817),n.e(8059)]).then(n.bind(n,58059))),a.features["packages/PersonalizationPackage"]=i(o(n(88338))),a.features["packages/podcastList"]=i(o(n(77991))),a.features["packages/RegionalPackage"]=i(o(n(86471))),a.features["packages/ScoreBoardRibbon"]=n(3174)(null,null,()=>n.e(4616).then(n.bind(n,24616))),a.features["packages/SecondEditorial"]=n(3174)(null,null,()=>Promise.all([n.e(2817),n.e(129)]).then(n.bind(n,70129))),a.features["packages/StoriesArchive"]=i(o(n(22897))),a.features["packages/StoryCardList"]=i(o(n(56877))),a.features["packages/VerticalPlayerCarousel"]=i(o(n(99069))),a.features["packages/WeekendPackage"]=i(o(n(51311))),a.features["pillars-game/GameEntry"]=i(o(n(79797))),a.features["pillars-game/GameOptions"]=i(o(n(93195))),a.features["pillars-game/light-front"]=n(3174)(null,null,()=>Promise.all([n.e(5102),n.e(3149)]).then(n.bind(n,93149))),a.features["pillars-game/PillarsPromo"]=i(o(n(96325))),a.features["pillars-game/RevealConfirm"]=i(o(n(21278))),a.features["regional/Header"]=n(3174)(null,null,()=>n.e(5800).then(n.bind(n,55800))),a.features["regional/Package"]=i(o(n(48288))),a.features["section/header"]=n(3174)(null,null,()=>n.e(9456).then(n.bind(n,39456))),a.features["section/NewsletterWidget"]=n(3174)(null,null,()=>n.e(7958).then(n.bind(n,77958))),a.features["section/Scoreboard"]=n(3174)(null,null,()=>Promise.all([n.e(8657),n.e(3230)]).then(n.bind(n,93230))),a.features["section/TrendingNav"]=i(o(n(81186))),a.features["vertical-video/default"]=n(3174)(null,null,()=>n.e(318).then(n.bind(n,20318))),a.layouts.CenteredUI=r(o(n(74974))),e.exports=a},22210:function(e,t,n){"use strict";n.d(t,{NN:function(){return at},iX:function(){return ft},KH:function(){return ct},Br:function(){return ut},mf:function(){return dt}});var r=/^[a-zA-Z:_][a-zA-Z0-9:_.-]*$/,i={revert:function(){}},o=new Map,a=new Set;function s(e){var t=o.get(e);return t||(t={element:e,attributes:{}},o.set(e,t)),t}function l(e,t,n,r,i){var o=n(e),a={isDirty:!1,originalValue:o,virtualValue:o,mutations:[],el:e,_positionTimeout:null,observer:new MutationObserver(function(){if("position"!==t||!a._positionTimeout){"position"===t&&(a._positionTimeout=setTimeout(function(){a._positionTimeout=null},1e3));var r=n(e);"position"===t&&r.parentNode===a.virtualValue.parentNode&&r.insertBeforeNode===a.virtualValue.insertBeforeNode||r!==a.virtualValue&&(a.originalValue=r,i(a))}}),mutationRunner:i,setValue:r,getCurrentValue:n};return"position"===t&&e.parentNode?a.observer.observe(e.parentNode,{childList:!0,subtree:!0,attributes:!1,characterData:!1}):a.observer.observe(e,function(e){return"html"===e?{childList:!0,subtree:!0,attributes:!0,characterData:!0}:{childList:!1,subtree:!1,attributes:!0,attributeFilter:[e]}}(t)),a}function c(e,t){var n=t.getCurrentValue(t.el);t.virtualValue=e,e&&"string"!=typeof e?n&&e.parentNode===n.parentNode&&e.insertBeforeNode===n.insertBeforeNode||(t.isDirty=!0,E()):e!==n&&(t.isDirty=!0,E())}function u(e){var t=e.originalValue;e.mutations.forEach(function(e){return t=e.mutate(t)}),c(function(e){C||(C=document.createElement("div"));return C.innerHTML=e,C.innerHTML}(t),e)}function d(e){var t=new Set(e.originalValue.split(/\s+/).filter(Boolean));e.mutations.forEach(function(e){return e.mutate(t)}),c(Array.from(t).filter(Boolean).join(" "),e)}function f(e){var t=e.originalValue;e.mutations.forEach(function(e){return t=e.mutate(t)}),c(t,e)}function p(e){var t=e.originalValue;e.mutations.forEach(function(e){var n=function(e){var t=e.parentSelector,n=e.insertBeforeSelector,r=document.querySelector(t);if(!r)return null;var i=n?document.querySelector(n):null;return n&&!i?null:{parentNode:r,insertBeforeNode:i}}(e.mutate());t=n||t}),c(t,e)}var m=function(e){return e.innerHTML},h=function(e,t){return e.innerHTML=t};function g(e){var t=s(e);return t.html||(t.html=l(e,"html",m,h,u)),t.html}var v=function(e){return{parentNode:e.parentElement,insertBeforeNode:e.nextElementSibling}},b=function(e,t){t.insertBeforeNode&&!t.parentNode.contains(t.insertBeforeNode)||t.parentNode.insertBefore(e,t.insertBeforeNode)};function y(e){var t=s(e);return t.position||(t.position=l(e,"position",v,b,p)),t.position}var w=function(e,t){return t?e.className=t:e.removeAttribute("class")},x=function(e){return e.className};function _(e){var t=s(e);return t.classes||(t.classes=l(e,"class",x,w,d)),t.classes}var C,j;function S(e,t){var n,r=s(e);return r.attributes[t]||(r.attributes[t]=l(e,t,(n=t,function(e){var t;return null!=(t=e.getAttribute(n))?t:null}),function(e){return function(t,n){return null!==n?t.setAttribute(e,n):t.removeAttribute(e)}}(t),f)),r.attributes[t]}function O(e,t,n){if(n.isDirty){n.isDirty=!1;var r=n.virtualValue;n.mutations.length||function(e,t){var n,r,i=o.get(e);if(i)if("html"===t)null==(n=i.html)||null==(r=n.observer)||r.disconnect(),delete i.html;else if("class"===t){var a,s;null==(a=i.classes)||null==(s=a.observer)||s.disconnect(),delete i.classes}else if("position"===t){var l,c;null==(l=i.position)||null==(c=l.observer)||c.disconnect(),delete i.position}else{var u,d,f;null==(u=i.attributes)||null==(d=u[t])||null==(f=d.observer)||f.disconnect(),delete i.attributes[t]}}(e,t),n.setValue(e,r)}}function k(e,t){e.html&&O(t,"html",e.html),e.classes&&O(t,"class",e.classes),e.position&&O(t,"position",e.position),Object.keys(e.attributes).forEac
2h(function(n){O(t,n,e.attributes[n])})}function E(){o.forEach(k)}function L(e){if("position"!==e.kind||1!==e.elements.size){var t=new Set(e.elements);document.querySelectorAll(e.selector).forEach(function(n){t.has(n)||(e.elements.add(n),function(e,t){var n=null;"html"===e.kind?n=g(t):"class"===e.kind?n=_(t):"attribute"===e.kind?n=S(t,e.attribute):"position"===e.kind&&(n=y(t)),n&&(n.mutations.push(e),n.mutationRunner(n))}(e,n))})}}function P(e){e.elements.forEach(function(t){return function(e,t){var n=null;if("html"===e.kind?n=g(t):"class"===e.kind?n=_(t):"attribute"===e.kind?n=S(t,e.attribute):"position"===e.kind&&(n=y(t)),n){var r=n.mutations.indexOf(e);-1!==r&&n.mutations.splice(r,1),n.mutationRunner(n)}}(e,t)}),e.elements.clear(),a.delete(e)}function N(){a.forEach(L)}function A(e){return"undefined"==typeof document?i:(a.add(e),L(e),{revert:function(){P(e)}})}function I(e,t){return A({kind:"html",elements:new Set,mutate:t,selector:e})}function T(e,t){return A({kind:"position",elements:new Set,mutate:t,selector:e})}function M(e,t){return A({kind:"class",elements:new Set,mutate:t,selector:e})}function R(e,t,n){return r.test(t)?"class"===t||"className"===t?M(e,function(e){var t=n(Array.from(e).join(" "));e.clear(),t&&t.split(/\s+/g).filter(Boolean).forEach(function(t){return e.add(t)})}):A({kind:"attribute",attribute:t,elements:new Set,mutate:n,selector:e}):i}"undefined"!=typeof document&&(j||(j=new MutationObserver(function(){N()})),N(),j.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!1,characterData:!1}));var D={html:I,classes:M,attribute:R,position:T,declarative:function(e){var t=e.selector,n=e.action,r=e.value,o=e.attribute,a=e.parentSelector,s=e.insertBeforeSelector;if("html"===o){if("append"===n)return I(t,function(e){return e+(null!=r?r:"")});if("set"===n)return I(t,function(){return null!=r?r:""})}else if("class"===o){if("append"===n)return M(t,function(e){r&&e.add(r)});if("remove"===n)return M(t,function(e){r&&e.delete(r)});if("set"===n)return M(t,function(e){e.clear(),r&&e.add(r)})}else if("position"===o){if("set"===n&&a)return T(t,function(){return{insertBeforeSelector:s,parentSelector:a}})}else{if("append"===n)return R(t,o,function(e){return null!==e?e+(null!=r?r:""):null!=r?r:""});if("set"===n)return R(t,o,function(){return null!=r?r:""});if("remove"===n)return R(t,o,function(){return null})}return i}};const F={fetch:globalThis.fetch?globalThis.fetch.bind(globalThis):void 0,SubtleCrypto:globalThis.crypto?globalThis.crypto.subtle:void 0,EventSource:globalThis.EventSource};function B(e){let t=2166136261;const n=e.length;for(let r=0;r<n;r++)t^=e.charCodeAt(r),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return t>>>0}function V(e,t,n){return 2===n?B(B(e+t)+"")%1e4/1e4:1===n?B(t+e)%1e3/1e3:null}function H(e,t){return e>=t[0]&&e<t[1]}function q(e){try{const t=e.replace(/([^\\])\//g,"$1\\/");return new RegExp(t)}catch(e){return void console.error(e)}}function U(e,t){if(!t.length)return!1;let n=!1,r=!1;for(let i=0;i<t.length;i++){const o=z(e,t[i].type,t[i].pattern);if(!1===t[i].include){if(o)return!1}else n=!0,o&&(r=!0)}return r||!n}function $(e,t){try{const n=new URL(t.replace(/^([^:/?]*)\./i,"https://$1.").replace(/\*/g,"_____"),"https://_____"),r=[[e.host,n.host,!1],[e.pathname,n.pathname,!0]];return n.hash&&r.push([e.hash,n.hash,!1]),n.searchParams.forEach((t,n)=>{r.push([e.searchParams.get(n)||"",t,!1])}),!r.some(e=>!function(e,t,n){try{let r=t.replace(/[*.+?^${}()|[\]\\]/g,"\\$&").replace(/_____/g,".*");return n&&(r="\\/?"+r.replace(/(^\/|\/$)/g,"")+"\\/?"),new RegExp("^"+r+"$","i").test(e)}catch(e){return!1}}(e[0],e[1],e[2]))}catch(e){return!1}}function z(e,t,n){try{const r=new URL(e,"https://_");if("regex"===t){const e=q(n);return!!e&&(e.test(r.href)||e.test(r.href.substring(r.origin.length)))}return"simple"===t&&$(r,n)}catch(e){return!1}}function G(e,t,n){(t=void 0===t?1:t)<0?t=0:t>1&&(t=1);const r=(i=e)<=0?[]:new Array(i).fill(1/i);var i;(n=n||r).length!==e&&(n=r);const o=n.reduce((e,t)=>t+e,0);(o<.99||o>1.01)&&(n=r);let a=0;return n.map(e=>{const n=a;return a+=e,[n,n+t*e]})}const K=e=>Uint8Array.from(atob(e),e=>e.charCodeAt(0));async function Y(e,t,n){if(t=t||"",!(n=n||globalThis.crypto&&globalThis.crypto.subtle||F.SubtleCrypto))throw new Error("No SubtleCrypto implementation found");try{const r=await n.importKey("raw",K(t),{name:"AES-CBC",length:128},!0,["encrypt","decrypt"]),[i,o]=e.split("."),a=await n.decrypt({
2name:"AES-CBC",iv:K(i)},r,K(o));return(new TextDecoder).decode(a)}catch(e){throw new Error("Failed to decrypt")}}function W(e){return"string"==typeof e?e:JSON.stringify(e)}function Z(e){"number"==typeof e&&(e+=""),e&&"string"==typeof e||(e="0");const t=e.replace(/(^v|\+.*$)/g,"").split(/[-.]/);return 3===t.length&&t.push("~"),t.map(e=>e.match(/^[0-9]+$/)?e.padStart(5," "):e).join("-")}function J(e){return"object"==typeof e&&null!==e}function X(e){return e.urlPatterns&&e.variations.some(e=>J(e)&&"urlRedirect"in e)?"redirect":e.variations.some(e=>J(e)&&(e.domMutations||"js"in e||"css"in e))?"visual":"unknown"}async function Q(e,t){return new Promise(n=>{let r,i=!1;const o=e=>{i||(i=!0,r&&clearTimeout(r),n(e||null))};t&&(r=setTimeout(()=>o(),t)),e.then(e=>o(e)).catch(()=>o())})}function ee(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 te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach(function(t){ne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ne(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const re={staleTTL:6e4,maxAge:144e5,cacheKey:"gbFeaturesCache",backgroundSync:!0,maxEntries:10,disableIdleStreams:!1,idleStreamInterval:2e4,disableCache:!1},ie=F,oe={fetchFeaturesCall:e=>{let{host:t,clientKey:n,headers:r}=e;return ie.fetch(`${t}/api/features/${n}`,{headers:r})},fetchRemoteEvalCall:e=>{let{host:t,clientKey:n,payload:r,headers:i}=e;const o={method:"POST",headers:te({"Content-Type":"application/json"},i),body:JSON.stringify(r)};return ie.fetch(`${t}/api/eval/${n}`,o)},eventSourceCall:e=>{let{host:t,clientKey:n,headers:r}=e;return r?new ie.EventSource(`${t}/sub/${n}`,{headers:r}):new ie.EventSource(`${t}/sub/${n}`)},startIdleListener:()=>{let e;if(!("undefined"!=typeof window&&"undefined"!=typeof document))return;const t=()=>{"visible"===document.visibilityState?(window.clearTimeout(e),ue.forEach(e=>{e&&"idle"===e.state&&Ce(e)})):"hidden"===document.visibilityState&&(e=window.setTimeout(pe,re.idleStreamInterval))};return document.addEventListener("visibilitychange",t),()=>document.removeEventListener("visibilitychange",t)},stopIdleListener:()=>{}};try{globalThis.localStorage&&(ie.localStorage=globalThis.localStorage)}catch(e){}const ae=new Map;let se=!1;const le=new Map,ce=new Map,ue=new Map,de=new Set;async function fe(e){let{instance:t,timeout:n,skipCache:r,allowStale:i,backgroundSync:o}=e;return o||(re.backgroundSync=!1),async function(e){let{instance:t,allowStale:n,timeout:r,skipCache:i}=e;const o=he(t),a=ge(t),s=new Date,l=new Date(s.getTime()-re.maxAge+re.staleTTL);await async function(){if(se)return;se=!0;try{if(ie.localStorage){const e=await ie.localStorage.getItem(re.cacheKey);if(!re.disableCache&&e){const t=JSON.parse(e);t&&Array.isArray(t)&&t.forEach(e=>{let[t,n]=e;le.set(t,te(te({},n),{},{staleAt:new Date(n.staleAt)}))}),ve()}}}catch(e){}if(!re.disableIdleStreams){const e=oe.startIdleListener();e&&(oe.stopIdleListener=e)}}();const c=re.disableCache||i?void 0:le.get(a);if(c&&(n||c.staleAt>s)&&c.staleAt>l)return c.sse&&de.add(o),c.staleAt<s?ye(t):we(t),{data:c.data,success:!0,source:"cache"};return await Q(ye(t),r)||{data:null,success:!1,source:"timeout",error:new Error("Timeout")}}({instance:t,allowStale:i,timeout:n,skipCache:r})}function pe(){ue.forEach(e=>{e&&(e.state="idle",_e(e))})}async function me(){try{if(!ie.localStorage)return;await ie.localStorage.setItem(re.cacheKey,JSON.stringify(Array.from(le.entries())))}catch(e){}}function he(e){const[t,n]=e.getApiInfo();return`${t}||${n}`}function ge(e){const t=he(e);if(!("isRemoteEval"in e)||!e.isRemoteEval())return t;const n=e.getAttributes(),r=e.getCacheKeyAttributes()||Object.keys(e.getAttributes()),i={};
2r.forEach(e=>{i[e]=n[e]});const o=e.getForcedVariations(),a=e.getUrl();return`${t}||${JSON.stringify({ca:i,fv:o,url:a})}`}function ve(){const e=Array.from(le.entries()).map(e=>{let[t,n]=e;return{key:t,staleAt:n.staleAt.getTime()}}).sort((e,t)=>e.staleAt-t.staleAt),t=Math.min(Math.max(0,le.size-re.maxEntries),le.size);for(let n=0;n<t;n++)le.delete(e[n].key)}function be(e,t,n){const r=n.dateUpdated||"",i=new Date(Date.now()+re.staleTTL),o=re.disableCache?void 0:le.get(t);if(o&&r&&o.version===r)return o.staleAt=i,void me();re.disableCache||(le.set(t,{data:n,version:r,staleAt:i,sse:de.has(e)}),ve()),me();const a=ae.get(e);a&&a.forEach(e=>async function(e,t){await e.setPayload(t||e.getPayload())}(e,n))}async function ye(e){const{apiHost:t,apiRequestHeaders:n}=e.getApiHosts(),r=e.getClientKey(),i="isRemoteEval"in e&&e.isRemoteEval(),o=he(e),a=ge(e);let s=ce.get(a);if(!s){s=(i?oe.fetchRemoteEvalCall({host:t,clientKey:r,payload:{attributes:e.getAttributes(),forcedVariations:e.getForcedVariations(),forcedFeatures:Array.from(e.getForcedFeatures().entries()),url:e.getUrl()},headers:n}):oe.fetchFeaturesCall({host:t,clientKey:r,headers:n})).then(e=>{if(!e.ok)throw new Error(`HTTP error: ${e.status}`);return"enabled"===e.headers.get("x-sse-support")&&de.add(o),e.json()}).then(t=>(be(o,a,t),we(e),ce.delete(a),{data:t,success:!0,source:"network"})).catch(e=>(ce.delete(a),{data:null,source:"error",success:!1,error:e})),ce.set(a,s)}return s}function we(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=he(e),r=ge(e),{streamingHost:i,streamingHostRequestHeaders:o}=e.getApiHosts(),a=e.getClientKey();if(t&&de.add(n),re.backgroundSync&&de.has(n)&&ie.EventSource){if(ue.has(n))return;const e={src:null,host:i,clientKey:a,headers:o,cb:t=>{try{if("features-updated"===t.type){const e=ae.get(n);e&&e.forEach(e=>{ye(e)})}else if("features"===t.type){const e=JSON.parse(t.data);be(n,r,e)}e.errors=0}catch(t){xe(e)}},errors:0,state:"active"};ue.set(n,e),Ce(e)}}function xe(e){if("idle"!==e.state&&(e.errors++,e.errors>3||e.src&&2===e.src.readyState)){const t=Math.pow(3,e.errors-3)*(1e3+1e3*Math.random());_e(e),setTimeout(()=>{["idle","active"].includes(e.state)||Ce(e)},Math.min(t,3e5))}}function _e(e){e.src&&(e.src.onopen=null,e.src.onerror=null,e.src.close(),e.src=null,"active"===e.state&&(e.state="disabled"))}function Ce(e){e.src=oe.eventSourceCall({host:e.host,clientKey:e.clientKey,headers:e.headers}),e.state="active",e.src.addEventListener("features",e.cb),e.src.addEventListener("features-updated",e.cb),e.src.onerror=()=>xe(e),e.src.onopen=()=>{e.errors=0}}function je(e,t){_e(e),ue.delete(t)}function Se(){de.clear(),ue.forEach(je),ae.clear(),oe.stopIdleListener()}function Oe(e,t){if(t.streaming){if(!e.getClientKey())throw new Error("Mu
2st specify clientKey to enable streaming");t.payload&&we(e,!0),function(e){const t=he(e),n=ae.get(t)||new Set;n.add(e),ae.set(t,n)}(e)}}const ke={};function Ee(e,t,n){n=n||{};for(const[r,i]of Object.entries(t))switch(r){case"$or":if(!Te(e,i,n))return!1;break;case"$nor":if(Te(e,i,n))return!1;break;case"$and":if(!Me(e,i,n))return!1;break;case"$not":if(Ee(e,i,n))return!1;break;default:if(!Pe(i,Le(e,r),n))return!1}return!0}function Le(e,t){const n=t.split(".");let r=e;for(let e=0;e<n.length;e++){if(!r||"object"!=typeof r||!(n[e]in r))return null;r=r[n[e]]}return r}function Pe(e,t,n){if("string"==typeof e)return t+""===e;if("number"==typeof e)return 1*t===e;if("boolean"==typeof e)return null!==t&&!!t===e;if(null===e)return null===t;if(Array.isArray(e)||!Ne(e))return JSON.stringify(t)===JSON.stringify(e);for(const r in e)if(!Ie(r,t,e[r],n))return!1;return!0}function Ne(e){const t=Object.keys(e);return t.length>0&&t.filter(e=>"$"===e[0]).length===t.length}function Ae(e,t){return Array.isArray(e)?e.some(e=>t.includes(e)):t.includes(e)}function Ie(e,t,n,r){switch(e){case"$veq":return Z(t)===Z(n);case"$vne":return Z(t)!==Z(n);case"$vgt":return Z(t)>Z(n);case"$vgte":return Z(t)>=Z(n);case"$vlt":return Z(t)<Z(n);case"$vlte":return Z(t)<=Z(n);case"$eq":return t===n;case"$ne":return t!==n;case"$lt":return t<n;case"$lte":return t<=n;case"$gt":return t>n;case"$gte":return t>=n;case"$exists":return n?null!=t:null==t;case"$in":return!!Array.isArray(n)&&Ae(t,n);case"$inGroup":return Ae(t,r[n]||[]);case"$notInGroup":return!Ae(t,r[n]||[]);case"$nin":return!!Array.isArray(n)&&!Ae(t,n);case"$not":return!Pe(n,t,r);case"$size":return!!Array.isArray(t)&&Pe(n,t.length,r);case"$elemMatch":return function(e,t,n){if(!Array.isArray(e))return!1;const r=Ne(t)?e=>Pe(t,e,n):e=>Ee(e,t,n);for(let t=0;t<e.length;t++)if(e[t]&&r(e[t]))return!0;return!1}(t,n,r);case"$all":if(!Array.isArray(t))return!1;for(let e=0;e<n.length;e++){let i=!1;for(let o=0;o<t.length;o++)if(Pe(n[e],t[o],r)){i=!0;break}if(!i)return!1}return!0;case"$regex":try{return(i=n,ke[i]||(ke[i]=new RegExp(i.replace(/([^\\])\//g,"$1\\/"))),ke[i]).test(t)}catch(e){return!1}case"$type":return function(e){if(null===e)return"null";if(Array.isArray(e))return"array";const t=typeof e;return["string","number","boolean","object","undefined"].includes(t)?t:"unknown"}(t)===n;default:return console.error("Unknown operator: "+e),!1}var i}function Te(e,t,n){if(!t.length)return!0;for(let r=0;r<t.length;r++)if(Ee(e,t[r],n))return!0;return!1}function Me(e,t,n){for(let r=0;r<t.length;r++)if(!Ee(e,t[r],n))return!1;return!0}function Re(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 De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach(function(t){Fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}async function Be(e){try{await e()}catch(e){}}function Ve(e,t,n){if(e.user.trackedExperiments){const r=Qe(t,n);if(e.user.trackedExperiments.has(r))return[];e.user.trackedExperiments.add(r)}e.user.enableDevMode&&e.user.devLogs&&e.user.devLogs.push({experiment:t,result:n,timestamp:Date.now().toString(),logType:"experiment"});const r=[];if(e.global.trackingCallback){const i=e.global.trackingCallback;r.push(Be(()=>i(t,n,e.user)))}if(e.user.trackingCallback){const i=e.user.trackingCallback;r.push(Be(()=>i(t,n)))}if(e.global.eventLogger){const i=e.global.eventLogger;r.push(Be(()=>i("Experiment Viewed",{experimentId:t.key,variationId:n.key,hashAttribute:n.hashAttribute,hashValue:n.hashValue},e.user)))}return r}function He(e,t){if(t.stack.evaluatedFeatures.has(e))return Ue(t,e,null,"cyclicPrerequisite");t.stack.evaluatedFeatures.add(e),t.stack.id=e;const n=function(e){const t=new Map;return e.global.forcedFeatureValues&&e.global.forcedFeatureValues.forEac
2h((e,n)=>t.set(n,e)),e.user.forcedFeatureValues&&e.user.forcedFeatureValues.forEach((e,n)=>t.set(n,e)),t}(t);if(n.has(e))return Ue(t,e,n.get(e),"override");if(!t.global.features||!t.global.features[e])return Ue(t,e,null,"unknownFeature");const r=t.global.features[e];if(r.rules){const n=new Set(t.stack.evaluatedFeatures);e:for(const i of r.rules){if(i.parentConditions)for(const r of i.parentConditions){t.stack.evaluatedFeatures=new Set(n);const i=He(r.id,t);if("cyclicPrerequisite"===i.source)return Ue(t,e,null,"cyclicPrerequisite");if(!Ee({value:i.value},r.condition||{})){if(r.gate)return Ue(t,e,null,"prerequisite");continue e}}if(i.filters&&Ge(i.filters,t))continue;if("force"in i){if(i.condition&&!ze(i.condition,t))continue;if(!Ke(t,i.seed||e,i.hashAttribute,t.user.saveStickyBucketAssignmentDoc&&!i.disableStickyBucketing?i.fallbackAttribute:void 0,i.range,i.coverage,i.hashVersion))continue;return i.tracks&&i.tracks.forEach(e=>{!Ve(t,e.experiment,e.result).length&&t.global.saveDeferredTrack&&t.global.saveDeferredTrack({experiment:e.experiment,result:e.result})}),Ue(t,e,i.force,"force",i.id)}if(!i.variations)continue;const r={variations:i.variations,key:i.key||e};"coverage"in i&&(r.coverage=i.coverage),i.weights&&(r.weights=i.weights),i.hashAttribute&&(r.hashAttribute=i.hashAttribute),i.fallbackAttribute&&(r.fallbackAttribute=i.fallbackAttribute),i.disableStickyBucketing&&(r.disableStickyBucketing=i.disableStickyBucketing),void 0!==i.bucketVersion&&(r.bucketVersion=i.bucketVersion),void 0!==i.minBucketVersion&&(r.minBucketVersion=i.minBucketVersion),i.namespace&&(r.namespace=i.namespace),i.meta&&(r.meta=i.meta),i.ranges&&(r.ranges=i.ranges),i.name&&(r.name=i.name),i.phase&&(r.phase=i.phase),i.seed&&(r.seed=i.seed),i.hashVersion&&(r.hashVersion=i.hashVersion),i.filters&&(r.filters=i.filters),i.condition&&(r.condition=i.condition);const{result:o}=qe(r,e,t);if(t.global.onExperimentEval&&t.global.onExperimentEval(r,o),o.inExperiment&&!o.passthrough)return Ue(t,e,o.value,"experiment",i.id,r,o)}}return Ue(t,e,void 0===r.defaultValue?null:r.defaultValue,"defaultValue")}function qe(e,t,n){const r=e.key,i=e.variations.length;if(i<2)return{result:Ye(n,e,-1,!1,t)};if(!1===n.global.enabled||!1===n.user.enabled)return{result:Ye(n,e,-1,!1,t)};if(e=function(e,t){const n=e.key,r=t.global.overrides;r&&r[n]&&"string"==typeof(e=Object.assign({},e,r[n])).url&&(e.url=q(e.url));return e}(e,n),e.urlPatterns&&!U(n.user.url||"",e.urlPatterns))return{result:Ye(n,e,-1,!1,t)};const o=function(e,t,n){if(!t)return null;const r=t.split("?")[1];if(!r)return null;const i=r.replace(/#.*/,"").split("&").map(e=>e.split("=",2)).filter(t=>{let[n]=t;return n===e}).map(e=>{let[,t]=e;return parseInt(t)});return i.length>0&&i[0]>=0&&i[0]<n?i[0]:null}(r,n.user.url||"",i);if(null!==o)return{result:Ye(n,e,o,!1,t)};const a=function(e){return e.global.forcedVariations&&e.user.forcedVariations?De(De({},e.global.forcedVariations),e.user.forcedVariations):e.global.forcedVariations?e.global.forcedVariations:e.user.forcedVariations?e.user.forcedVariations:{}}(n);if(r in a){return{result:Ye(n,e,a[r],!1,t)}}if("draft"===e.status||!1===e.active)return{result:Ye(n,e,-1,!1,t)};const{hashAttribute:s,hashValue:l}=We(n,e.hashAttribute,n.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing?e.fallbackAttribute:void 0);if(!l)return{result:Ye(n,e,-1,!1,t)};let c=-1,u=!1,d=!1;if(n.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing){const{variation:t,versionIsBlocked:r}=function(e){let{ctx:t,expKey:n,expBucketVersion:r,expHashAttribute:i,expFallbackAttribute:o,expMinBucketVersion:a,expMeta:s}=e;r=r||0,a=a||0,i=i||"id",s=s||[];const l=Ze(n,r),c=function(e,t,n){if(!e.user.stickyBucketAssignmentDocs)return{};const{hashAttribute:r,hashValue:i}=We(e,t),o=Je(r,W(i)),{hashAttribute:a,hashValue:s}=We(e,n),l=s?Je(a,W(s)):null,c={};l&&e.user.stickyBucketAssignmentDocs[l]&&Object.assign(c,e.user.stickyBucketAssignmentDocs[l].assignments||{});e.user.stickyBucketAssignmentDocs[o]&&Object.assign(c,e.user.stickyBucketAssignmentDocs[o].assignments||{});return c}(t,i,o);if(a>0)for(let e=0;e<=a;e++){if(void 0!==c[Ze(n,e)])return{variation:-1,versionIsBlocked:!0}}const u=c[l];if(void 0===u)return{variation:-1};const d=s.findIndex(e=>e.key===u);return d<0?{variation:-1}:{variation:d}}({ctx:n,expKey:e.key,expBucketVersion:e.bucketVersion,expHashAttribute:e.hashAttribute,expFallbackAttribute:e.fallbackAttribute,expMinBucketVersion:e.minBucketVersion,expMeta:e.meta});u=t>=0,c=t,d=!!r}if(!u){if(e.filters){if(Ge(e.filters,n))return{result:Ye(n,e,-1,!1,t)}}else if(e.namespace&&!function(e,t){const n=V("__"+t[0],e,1);return null!==n&&n>=t[1]&&n<t[2]}(l,e.namespace))return{result:Ye(n,e,-1,!1,t)};if(e.include&&!function(e){try{return e()}catch(e){return console.error(e),!1}}(e.include))return{result:Ye(n,e,-1,!1,t)};if(e.condition&&!ze(e.condition,n))return{result:Ye(n,e,-1,!1,t)};if(e.parentConditions){const r=new Set(n.stack.evaluatedFeatures);for(const i of e.parentConditions){n.stack.evaluatedFeatures=new Set(r);const o=He(i.id,n);if("cyclicPrerequisite"===o.source)return{result:Ye(n,e,-1,!1,t)};if(!Ee({value:o.value},i.condition||{}))return{result:Ye(n,e,-1,!1,t)}}}if(e.groups&&!function(e,t){const n=t.global.groups||{};for(let t=0;t<e.length;t++)if(n[e[t]])return!0;return!1}(e.groups,n))return{result:Ye(n,e,-1,!1,t)}}if(e.url&&!function(e,t){const n=t.user.url;if(!n)return!1;const r=n.replace(/^https?:\/\//,"").replace(/^[^/]*\//,"/");return!!e.test(n)||!!e.test(r)}(e.url,n))return{result:Ye(n,e,-1,!1,t)};const f=V(e.seed||r,l,e.hashVersion||1);if(null===f)return{result:Ye(n,e,-1,!1,t)};if(!u){c=function(e,t){for(let n=0;n<t.length;n++)if(H(e,t[n]))return n;return-1}(f,e.ranges||G(i,void 0===e.coverage?1:e.coverage,e.weights))}if(d)return{result:Ye(n,e,-1,!1,t,void 0,!0)};if(c<0)return{result:Ye(n,e,-1,!1,t)};if("force"in e)return{result:Ye(n,e,void 0===e.force?-1:e.force,!1,t)};if(n.global.qaMode||n.user.qaMode)return{result:Ye(n,e,-1,!1,t)};if("stopped"===e.status)return{result:Ye(n,e,-1,!1,t)};const p=Ye(n,e,c,!0,t,f,u);if(n.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing){const{changed:t,key:r,doc:i}=function(e,t,n,r){const i=Je(t,n),o=e.user.stickyBucketAssignmentDocs&&e.user.stickyBucketAssignmentDocs[i]&&e.user.stickyBucketAssignmentDocs[i].assignments||{},a=De(De({},o),r),s=JSON.stringify(o)!==JSON.stringify(a);return{key:i,doc:{attributeName:t,attributeValue:n,assignments:a},changed:s}}(n,s,W(l),{[Ze(e.key,e.bucketVersion)]:p.key});t&&(n.user.stickyBucketAssignmentDocs=n.user.stickyBucketAssignmentDocs||{},n.user.stickyBucketAssignmentDocs[r]=i,n.user.saveStickyBucketAssignmentDoc(i))}const m=Ve(n,e,p);0===m.length&&n.global.saveDeferredTrack&&n.global.saveDeferredTrack({experiment:e,result:p});const h=m.length?1===m.length?m[0]:Promise.all(m).then(()=>{}):void 0;return"changeId"in e&&e.changeId&&n.global.recordChangeId&&n.global.recordChangeId(e.changeId),{result:p,trackingCall:h}}function Ue(e,t,n,r,i,o,a){const s={value:n,on:!!n,off:!n,source:r,ruleId:i||""};return o&&(s.experiment=o),a&&(s.experimentResult=a),"override"!==r&&function(e,t,n){if(e.user.trackedFeatureUsage){const r=JSON.stringify(n.value);if(e.user.trackedFeatureUsage[t]===r)return;e.user.trackedFeatureUsage[t]=r,e.user.enableDevMode&&e.user.devLogs&&e.user.devLogs.push({featureKey:t,result:n,timestamp:Date.now().toString(),logType:"feature"})}if(e.global.onFeatureUsage){const r=e.global.onFeatureUsage;Be(()=>r(t,n,e.user))}if(e.user.onFeatureUsage){const r=e.user.onFeatureUsage;Be(()=>r(t,n))}if(e.global.eventLogger){const r=e.global.eventLogger;Be(()=>r("Feature Evaluated",{feature:t,source:n.source,value:n.value,ruleId:"defaultValue"===n.source?"$default":n.ruleId||"",variationId:n.experimentResult?n.experimentResult.key:""},e.user))}}(e,t,s),s}function $e(e){return De(De({},e.user.attributes),e.user.attributeOverrides)}function ze(e,t){return Ee($e(t),e,t.global.savedGroups||{})}function Ge(e,t){return e.some(e=>{const{hashValue:n}=We(t,e.attribute);if(!n)return!0;const r=V(e.seed,n,e.hashVersion||2);return null===r||!e.ranges.some(e=>H(r,e))})}function Ke(e,t,n,r,i,o,a){if(!i&&void 0===o)return!0;
2if(!i&&0===o)return!1;const{hashValue:s}=We(e,n,r);if(!s)return!1;const l=V(t,s,a||1);return null!==l&&(i?H(l,i):void 0===o||l<=o)}function Ye(e,t,n,r,i,o,a){let s=!0;(n<0||n>=t.variations.length)&&(n=0,s=!1);const{hashAttribute:l,hashValue:c}=We(e,t.hashAttribute,e.user.saveStickyBucketAssignmentDoc&&!t.disableStickyBucketing?t.fallbackAttribute:void 0),u=t.meta?t.meta[n]:{},d={key:u.key||""+n,featureId:i,inExperiment:s,hashUsed:r,variationId:n,value:t.variations[n],hashAttribute:l,hashValue:c,stickyBucketUsed:!!a};return u.name&&(d.name=u.name),void 0!==o&&(d.bucket=o),u.passthrough&&(d.passthrough=u.passthrough),d}function We(e,t,n){let r=t||"id",i="";const o=$e(e);return o[r]&&(i=o[r]),!i&&n&&(o[n]&&(i=o[n]),i&&(r=n)),{hashAttribute:r,hashValue:i}}function Ze(e,t){return`${e}__${t=t||0}`}function Je(e,t){return`${e}||${t}`}function Xe(e,t){const n={},r=function(e,t){const n=new Set,r=t&&t.features?t.features:e.global.features||{},i=t&&t.experiments?t.experiments:e.global.experiments||[];return Object.keys(r).forEach(e=>{const t=r[e];if(t.rules)for(const e of t.rules)e.variations&&(n.add(e.hashAttribute||"id"),e.fallbackAttribute&&n.add(e.fallbackAttribute))}),i.map(e=>{n.add(e.hashAttribute||"id"),e.fallbackAttribute&&n.add(e.fallbackAttribute)}),Array.from(n)}(e,t);return r.forEach(t=>{const{hashValue:r}=We(e,t);n[t]=W(r)}),n}function Qe(e,t){return t.hashAttribute+t.hashValue+e.key+t.variationId}const et=["data"];function tt(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 nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(n),!0).forEach(function(t){rt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const it="undefined"!=typeof window&&"undefined"!=typeof document,ot=function(){let e;try{e="1.5.1"}catch(t){e=""}return e}();class at{constructor(e){if(e=e||{},this.version=ot,this._options=this.context=e,this._renderer=e.renderer||null,this._trackedExperiments=new Set,this._completedChangeIds=new Set,this._trackedFeatures={},this.debug=!!e.debug,this._subscriptions=new Set,this.ready=!1,this._assigned=new Map,this._activeAutoExperiments=new Map,this._triggeredExpKeys=new Set,this._initialized=!1,this._redirectedUrl="",this._deferredTrackingCalls=new Map,this._autoExperimentsAllowed=!e.disableExperimentsOnLoad,this._destroyCallbacks=[],this.logs=[],this.log=this.log.bind(this),this._saveDeferredTrack=this._saveDeferredTrack.bind(this),this._fireSubscriptions=this._fireSubscriptions.bind(this),this._recordChangedId=this._recordChangedId.bind(this),e.remoteEval){if(e.decryptionKey)throw new Error("Encryption is not available for remoteEval");if(!e.clientKey)throw new Error("Missing clientKey");let t=!1;try{t=!!new URL(e.apiHost||"").hostname.match(/growthbook\.io$/i)}catch(e){}if(t)throw new Error("Cannot use remoteEval on GrowthBook Cloud")}else if(e.cacheKeyAttributes)throw new Error("cacheKeyAttributes are only used for remoteEval");if(e.stickyBucketService){const t=e.stickyBucketService;this._saveStickyBucketAssignmentDoc=e=>t.saveAssignments(e)}if(e.plugins)for(const t of e.plugins)t(this);if(e.features&&(this.ready=!0),it&&e.enableDevMode&&(window._growthbook=this,document.dispatchEvent(new Event("gbloaded"))),e.experiments&&(this.ready=!0,this._updateAllAutoExperiments()),this._options.stickyBucketService&&this._options.stickyBucketAssignmentDocs)for(const e in this._options.stickyBucketAssignmentDocs){const t=this._options.stickyBucketAssignmentDocs[e];
2t&&this._options.stickyBucketService.saveAssignments(t).catch(()=>{})}this.ready&&this.refreshStickyBuckets(this.getPayload())}async setPayload(e){this._payload=e;const t=await async function(e,t,n){if((e=De({},e)).encryptedFeatures){try{e.features=JSON.parse(await Y(e.encryptedFeatures,t,n))}catch(e){console.error(e)}delete e.encryptedFeatures}if(e.encryptedExperiments){try{e.experiments=JSON.parse(await Y(e.encryptedExperiments,t,n))}catch(e){console.error(e)}delete e.encryptedExperiments}if(e.encryptedSavedGroups){try{e.savedGroups=JSON.parse(await Y(e.encryptedSavedGroups,t,n))}catch(e){console.error(e)}delete e.encryptedSavedGroups}return e}(e,this._options.decryptionKey);this._decryptedPayload=t,await this.refreshStickyBuckets(t),t.features&&(this._options.features=t.features),t.savedGroups&&(this._options.savedGroups=t.savedGroups),t.experiments&&(this._options.experiments=t.experiments,this._updateAllAutoExperiments()),this.ready=!0,this._render()}initSync(e){this._initialized=!0;const t=e.payload;if(t.encryptedExperiments||t.encryptedFeatures)throw new Error("initSync does not support encrypted payloads");return this._options.stickyBucketService&&!this._options.stickyBucketAssignmentDocs&&(this._options.stickyBucketAssignmentDocs=this.generateStickyBucketAssignmentDocsSync(this._options.stickyBucketService,t)),this._payload=t,this._decryptedPayload=t,t.features&&(this._options.features=t.features),t.experiments&&(this._options.experiments=t.experiments,this._updateAllAutoExperiments()),this.ready=!0,Oe(this,e),this}async init(e){var t;if(this._initialized=!0,(e=e||{}).cacheSettings&&(t=e.cacheSettings,Object.assign(re,t),re.backgroundSync||Se()),e.payload)return await this.setPayload(e.payload),Oe(this,e),{success:!0,source:"init"};{const t=await this._refresh(nt(nt({},e),{},{allowStale:!0})),{data:n}=t,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,et);return Oe(this,e),await this.setPayload(n||{}),r}}async loadFeatures(e){e=e||{},await this.init({skipCache:e.skipCache,timeout:e.timeout,streaming:(this._options.backgroundSync??!0)&&(e.autoRefresh||this._options.subscribeToChanges)})}async refreshFeatures(e){const t=await this._refresh(nt(nt({},e||{}),{},{allowStale:!1}));t.data&&await this.setPayload(t.data)}getApiInfo(){return[this.getApiHosts().apiHost,this.getClientKey()]}getApiHosts(){return function(e){const t=e.apiHost||"https://cdn.growthbook.io";return{apiHost:t.replace(/\/*$/,""),streamingHost:(e.streamingHost||t).replace(/\/*$/,""),apiRequestHeaders:e.apiHostRequestHeaders,streamingHostRequestHeaders:e.streamingHostRequestHeaders}}(this._options)}getClientKey(){return this._options.clientKey||""}getPayload(){return this._payload||{features:this.getFeatures(),experiments:this.getExperiments()}}getDecryptedPayload(){return this._decryptedPayload||this.getPayload()}isRemoteEval(){return this._options.remoteEval||!1}getCacheKeyAttributes(){return this._options.cacheKeyAttributes}async _refresh(e){let{timeout:t,skipCache:n,allowStale:r,streaming:i}=e;if(!this._options.clientKey)throw new Error("Missing clientKey");return fe({instance:this,timeout:t,skipCache:n||this._options.disableCache,allowStale:r,backgroundSync:i??this._options.backgroundSync??!0})}_render(){if(this._renderer)try{this._renderer()}catch(e){console.error("Failed to render",e)}}setFeatures(e){this._options.features=e,this.ready=!0,this._render()}async setEncryptedFeatures(e,t,n){const r=await Y(e,t||this._options.decryptionKey,n);this.setFeatures(JSON.parse(r))}setExperiments(e){this._options.experiments=e,this.ready=!0,this._updateAllAutoExperiments()}async setEncryptedExperiments(e,t,n){const r=await Y(e,t||this._options.decryptionKey,n);this.setExperiments(JSON.parse(r))}async setAttributes(e){this._options.attributes=e,this._options.stickyBucketService&&await this.refreshStickyBuckets(),this._options.remoteEval?await this._refreshForRemoteEval():(this._render(),this._updateAllAutoExperiments())}async updateAttributes(e){return this.setAttributes(nt(nt({},this._options.attributes),e))}async setAttributeOverrides(e){this._options.attributeOverrides=e,this._options.stickyBucketService&&await this.refreshStickyBuckets(),this._options.remoteEval?await this._refreshForRemoteEval():(this._render(),this._updateAllAutoExperiments())}async setForcedVariations(e){this._options.forcedVariations=e||{},this._options.remoteEval?await this._refreshForRemoteEval():(this._render(),this._updateAllAutoExperiments())}setForcedFeatures(e){this._options.forcedFeatureValues=e,this._render()}async setURL(e){if(e!==this._options.url){if(this._options.url=e,this._redirectedUrl="",this._options.remoteEval)return await this._refreshForRemoteEval(),void this._updateAllAutoExperiments(!0);this._updateAllAutoExperiments(!0)}}getAttributes(){return nt(nt({},this._options.attributes),this._options.attributeOverrides)}getForcedVariations(){return this._options.forcedVariations||{}}getForcedFeatures(){return this._options.forcedFeatureValues||new Map}getStickyBucketAssignmentDocs(){return this._options.stickyBucketAssignmentDocs||{}}getUrl(){return this._options.url||""}getFeatures(){return this._options.features||{}}getExperiments(){return this._options.experiments||[]}getCompletedChangeIds(){return Array.from(this._completedChangeIds)}subscribe(e){return this._subscriptions.add(e),()=>{this._subscriptions.delete(e)}}async _refreshForRemoteEval(){if(!this._options.remoteEval)return;if(!this._initialized)return;const e=await this._refresh({allowStale:!1});e.data&&await this.setPayload(e.data)}getAllResults(){return new Map(this._assigned)}onDestroy(e){this._destroyCallbacks.push(e)}isDestroyed(){return!!this._destroyed}destroy(){var e;
2this._destroyed=!0,this._destroyCallbacks.forEach(e=>{try{e()}catch(e){console.error(e)}}),this._subscriptions.clear(),this._assigned.clear(),this._trackedExperiments.clear(),this._completedChangeIds.clear(),this._deferredTrackingCalls.clear(),this._trackedFeatures={},this._destroyCallbacks=[],this._payload=void 0,this._saveStickyBucketAssignmentDoc=void 0,e=this,ae.forEach(t=>t.delete(e)),this.logs=[],it&&window._growthbook===this&&delete window._growthbook,this._activeAutoExperiments.forEach(e=>{e.undo()}),this._activeAutoExperiments.clear(),this._triggeredExpKeys.clear()}setRenderer(e){this._renderer=e}forceVariation(e,t){this._options.forcedVariations=this._options.forcedVariations||{},this._options.forcedVariations[e]=t,this._options.remoteEval?this._refreshForRemoteEval():(this._updateAllAutoExperiments(),this._render())}run(e){const{result:t}=qe(e,null,this._getEvalContext());return this._fireSubscriptions(e,t),t}triggerExperiment(e){if(this._triggeredExpKeys.add(e),!this._options.experiments)return null;return this._options.experiments.filter(t=>t.key===e).map(e=>this._runAutoExperiment(e)).filter(e=>null!==e)}triggerAutoExperiments(){this._autoExperimentsAllowed=!0,this._updateAllAutoExperiments(!0)}_getEvalContext(){return{user:this._getUserContext(),global:this._getGlobalContext(),stack:{evaluatedFeatures:new Set}}}_getUserContext(){return{attributes:this._options.user?nt(nt({},this._options.user),this._options.attributes):this._options.attributes,enableDevMode:this._options.enableDevMode,blockedChangeIds:this._options.blockedChangeIds,stickyBucketAssignmentDocs:this._options.stickyBucketAssignmentDocs,url:this._getContextUrl(),forcedVariations:this._options.forcedVariations,forcedFeatureValues:this._options.forcedFeatureValues,attributeOverrides:this._options.attributeOverrides,saveStickyBucketAssignmentDoc:this._saveStickyBucketAssignmentDoc,trackingCallback:this._options.trackingCallback,onFeatureUsage:this._options.onFeatureUsage,devLogs:this.logs,trackedExperiments:this._trackedExperiments,trackedFeatureUsage:this._trackedFeatures}}_getGlobalContext(){return{features:this._options.features,experiments:this._options.experiments,log:this.log,enabled:this._options.enabled,qaMode:this._options.qaMode,savedGroups:this._options.savedGroups,groups:this._options.groups,overrides:this._options.overrides,onExperimentEval:this._subscriptions.size>0?this._fireSubscriptions:void 0,recordChangeId:this._recordChangedId,saveDeferredTrack:this._saveDeferredTrack,eventLogger:this._options.eventLogger}}_runAutoExperiment(e,t){const n=this._activeAutoExperiments.get(e);if(e.manual&&!this._triggeredExpKeys.has(e.key)&&!n)return null;const r=this._isAutoExperimentBlockedByContext(e);let i,o;r?i=Ye(this._getEvalContext(),e,-1,!1,""):(({result:i,trackingCall:o}=qe(e,null,this._getEvalContext())),this._fireSubscriptions(e,i));const a=JSON.stringify(i.value);if(!t&&i.inExperiment&&n&&n.valueHash===a)return i;if(n&&this._undoActiveAutoExperiment(e),i.inExperiment){const t=X(e);if("redirect"===t&&i.value.urlRedirect&&e.urlPatterns){const t=e.persistQueryString?function(e,t){let n,r;try{n=new URL(e),r=new URL(t)}catch(e){return console.error(`Unable to merge query strings: ${e}`),t}return n.searchParams.forEach((e,t)=>{r.searchParams.has(t)||r.searchParams.set(t,e)}),r.toString()}(this._getContextUrl(),i.value.urlRedirect):i.value.urlRedirect;if(U(t,e.urlPatterns))return this.log("Skipping redirect because original URL matches redirect URL",{id:e.key}),i;this._redirectedUrl=t;const{navigate:n,delay:r}=this._getNavigateFunction();if(n)if(it)Promise.all([...o?[Q(o,this._options.maxNavigateDelay??1e3)]:[],new Promise(e=>window.setTimeout(e,this._options.navigateDelay??r))]).then(()=>{try{n(t)}catch(e){console.error(e)}});else try{n(t)}catch(e){console.error(e)}}else if("visual"===t){const t=this._options.applyDomChangesCallback?this._options.applyDomChangesCallback(i.value):this._applyDOMChanges(i.value);t&&this._activeAutoExperiments.set(e,{undo:t,valueHash:a})}}return i}_undoActiveAutoExperiment(e){const t=this._activeAutoExperiments.get(e);t&&(t.undo(),this._activeAutoExperiments.delete(e))}_updateAllAutoExperiments(e){if(!this._autoExperimentsAllowed)return;const t=this._options.experiments||[],n=new Set(t);
2this._activeAutoExperiments.forEach((e,t)=>{n.has(t)||(e.undo(),this._activeAutoExperiments.delete(t))});for(const n of t){const t=this._runAutoExperiment(n,e);if(null!=t&&t.inExperiment&&"redirect"===X(n))break}}_fireSubscriptions(e,t){const n=e.key,r=this._assigned.get(n);r&&r.result.inExperiment===t.inExperiment&&r.result.variationId===t.variationId||(this._assigned.set(n,{experiment:e,result:t}),this._subscriptions.forEach(n=>{try{n(e,t)}catch(e){console.error(e)}}))}_recordChangedId(e){this._completedChangeIds.add(e)}isOn(e){return this.evalFeature(e).on}isOff(e){return this.evalFeature(e).off}getFeatureValue(e,t){const n=this.evalFeature(e).value;return null===n?t:n}feature(e){return this.evalFeature(e)}evalFeature(e){return He(e,this._getEvalContext())}log(e,t){this.debug&&(this._options.log?this._options.log(e,t):console.log(e,t))}getDeferredTrackingCalls(){return Array.from(this._deferredTrackingCalls.values())}setDeferredTrackingCalls(e){this._deferredTrackingCalls=new Map(e.filter(e=>e&&e.experiment&&e.result).map(e=>[Qe(e.experiment,e.result),e]))}async fireDeferredTrackingCalls(){if(!this._options.trackingCallback)return;const e=[];this._deferredTrackingCalls.forEach(t=>{t&&t.experiment&&t.result?e.push(this._options.trackingCallback(t.experiment,t.result)):console.error("Invalid deferred tracking call",{call:t})}),this._deferredTrackingCalls.clear(),await Promise.all(e)}setTrackingCallback(e){this._options.trackingCallback=e,this.fireDeferredTrackingCalls()}setEventLogger(e){this._options.eventLogger=e}async logEvent(e,t){if(this._destroyed)console.error("Cannot log event to destroyed GrowthBook instance");else if(this._options.enableDevMode&&this.logs.push({eventName:e,properties:t,timestamp:Date.now().toString(),logType:"event"}),this._options.eventLogger)try{await this._options.eventLogger(e,t||{},this._getUserContext())}catch(e){console.error(e)}else console.error("No event logger configured")}_saveDeferredTrack(e){this._deferredTrackingCalls.set(Qe(e.experiment,e.result),e)}_getContextUrl(){return this._options.url||(it?window.location.href:"")}_isAutoExperimentBlockedByContext(e){const t=X(e);if("visual"===t){if(this._options.disableVisualExperiments)return!0;if(this._options.disableJsInjection&&e.variations.some(e=>e.js))return!0}else{if("redirect"!==t)return!0;if(this._options.disableUrlRedirectExperiments)return!0;try{const t=new URL(this._getContextUrl());for(const n of e.variations){if(!n||!n.urlRedirect)continue;const e=new URL(n.urlRedirect);if(this._options.disableCrossOriginUrlRedirectExperiments){if(e.protocol!==t.protocol)return!0;if(e.host!==t.host)return!0}}}catch(t){return this.log("Error parsing current or redirect URL",{id:e.key,error:t}),!0}}return!(!e.changeId||!(this._options.blockedChangeIds||[]).includes(e.changeId))}getRedirectUrl(){return this._redirectedUrl}_getNavigateFunction(){return this._options.navigate?{navigate:this._options.navigate,delay:0}:it?{navigate:e=>{window.location.replace(e)},delay:100}:{navigate:null,delay:0}}_applyDOMChanges(e){if(!it)return;const t=[];if(e.css){const n=document.createElement("style");n.innerHTML=e.css,document.head.appendChild(n),t.push(()=>n.remove())}if(e.js){const n=document.createElement("script");n.innerHTML=e.js,this._options.jsInjectionNonce&&(n.nonce=this._options.jsInjectionNonce),document.head.appendChild(n),t.push(()=>n.remove())}return e.domMutations&&e.domMutations.forEach(e=>{t.push(D.declarative(e).revert)}),()=>{t.forEach(e=>e())}}async refreshStickyBuckets(e){if(this._options.stickyBucketService){const t=this._getEvalContext(),n=await async function(e,t,n){const r=Xe(e,n);return t.getAllAssignments(r)}(t,this._options.stickyBucketService,e);this._options.stickyBucketAssignmentDocs=n}}generateStickyBucketAssignmentDocsSync(e,t){if(!("getAllAssignmentsSync"in e))return void console.error("generating StickyBucketAssignmentDocs docs requires StickyBucketServiceSync");const n=Xe(this._getEvalContext(),t);return e.getAllAssignmentsSync(n)}inDevMode(){return!!this._options.enableDevMode}}var st=n(40809);const lt=st.createContext({});function ct(e){return dt().isOn(e)}function ut(e,t){return dt().getFeatureValue(e,t)}function dt(){const{growthbook:e}=st.useContext(lt);if(!e)throw new Error("Missing or invalid GrowthBookProvider");return e}const ft=({children:e,growthbook:t})=>{const[n,r]=st.useState(0);return st.useEffect(()=>{if(t&&t.setRenderer)return t.setRenderer(()=>{r(e=>e+1)}),()=>{t.setRenderer(()=>{})}},[t]),st.createElement(lt.Provider,{value:{growthbook:t}},e)}},46984:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.ActionSheet=void 0;var r=n(34766),i=n(40809),o=n(67334);t.ActionSheet=function(e){var t=e.isOpen,n=e.setIsOpen,a=e.children,s=(0,i.useCallback)(function(){n(!1)},[]);return(0,r.jsxs)("div",{className:"relative z-[103] ".concat(t?"block":"hidden"),children:[(0,r.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50",onClick:s}),(0,r.jsxs)("div",{className:"fixed bottom-0 left-0 right-0 bg-white rounded-t-xl shadow-lg",children:[(0,r.jsx)("button",{type:"button","aria-label":"Close",className:"absolute top-0 right-0 p-2 rounded-full focus:outline-none bg-transparent cursor-pointer",onClick:s,children:(0,r.jsx)(o.CloseIcon,{size:"none",width:"16",height:"16"})}),(0,r.jsx)("div",{className:"flex flex-col gap-2",children:a})]})]})}},15639:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});var s=n(34766),l=a(n(40809));t.default=l.default.memo(function(e){var t=e.src,n=e.onPlayCallback,r=e.onEndCallback,i=e.onPauseCallback,o=e.autoPlay,a=void 0!==o&&o,c=e.customClass,u=void 0===c?"":c,d=(0,l.useCallback)(function(){i&&i()},[i]),f=(0,l.useCallback)(function(){n&&n()},[n]),p=(0,l.useCallback)(function(){r&&r()},[r]);return t?(0,s.jsxs)("audio",{controls:!0,className:u,autoPlay:a,onPlay:function(){return f()},onPause:function(){return d()},onEnded:function(){return p()},children:[(0,s.jsx)("track",{kind:"captions",className:"hidden"}),(0,s.jsx)("source",{src:t})]}):null})},7066:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809)),a=n(67334);t.default=o.default.memo(function(e){var t=e.bnLabel,n=e.bnURL,r=e.bnText,o=e.onClose;return(0,i.jsx)("div",{className:"inq-toast--standard inq-toast--show bg-primary\n      text-white text-3.5 fixed z-banner w-full left-0\n      right-0 items-center text-left h-auto\n      font-ringside-regular flex flex-col justify-around","data-article-element-name":"breaking-news-alert-bar",children:(0,i.jsxs)("div",{className:"wrapper grid items-center justify-start text-left w-full my-0 mx-auto",children:[(0,i.jsx)("div",{role:"status","aria-live":"polite",children:(0,i.jsxs)("div",{className:"text-left flex p-2 pr-0 justify-items-center",children:[(0,i.jsx)("div",{className:"red-circle inline-block"}),(0,i.jsxs)("div",{className:"cursor-pointer leading-normal",children:[(0,i.jsx)("b",{className:"toast--text text-3.5 mr-2",children:t}),n?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("a",{className:"toast--feedback no-underline leading-snug pr-5\n                  bg-more-white bg-no-repeat bg-right-center","data-link-type":"breaking-news-alert-bar",target:"_self",href:n,children:r})}):(0,i.jsx)("span",{className:"toast--feedback no-underline leading-snug pr-5 bg-no-repeat\n                bg-right-center","data-link-type":"breaking-news-alert-bar",children:r})]})]})}),(0,i.jsx)("button",{className:"inq-toast__close cursor-pointer absolute top-0 right-0 bg-transparent box-border",onClick:o,"aria-label":"Close",children:(0,i.jsx)(a.CloseIcon,{size:"small",customClass:"w-4 h-4 p-0.5 fill-white box-border"})})]})})})},76560:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
2dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CarouselVerticalVideoCard=void 0;var i=n(34766),o=n(40809),a=n(58375),s=r(n(25194)),l=n(84967),c=new Map;t.CarouselVerticalVideoCard=function(e){var t,n,r,u=e.story,d=e.dataEnv,f=e.videoOptions,p=e.showPromoImage,m=void 0===p||p,h=e.firstVisibleVideoId,g=e.handleVideoClick,v=(0,o.useRef)(null),b=(0,o.useRef)(""),y=(0,o.useRef)(new Map),w=(0,o.useState)(!1),x=w[0],_=w[1],C=(0,o.useMemo)(function(){var e;return(null===(e=null==u?void 0:u.promo_items)||void 0===e?void 0:e.video)||{}},[u]),j=(0,o.useMemo)(function(){return(0,a.isVideoLoopAndAutoplay)(u)},[u]);(0,o.useEffect)(function(){if(null==C?void 0:C._id){var e="powa-".concat(C._id);return c.set(e,j),function(){c.delete(e)}}},[null==C?void 0:C._id,j]),(0,o.useEffect)(function(){"undefined"==typeof window||(m||!u)&&window.PoWaSettings||((0,a.loadScript)("/pf/resources/vendor/goldfish-video.js",[],function(){(0,a.loadScript)("https://pmn.video-player.arcpublishing.com/vv/powaBoot.js",[],function(){})}),window.powaBoot&&window.powaBoot(),(0,a.loadScript)("/pf/resources/vendor/video-tracking.js",[],function(){}),(0,a.loadScript)("/pf/resources/vendor/video-watch-time.js",[],function(){}),window.addEventListener("powaRender",function(e){var t,n,r,i,o=(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.powa)||null,s=(null===(n=null==e?void 0:e.detail)||void 0===n?void 0:n.id)||null,l=(null===(r=null==e?void 0:e.detail)||void 0===r?void 0:r.element)||null;null===(i=null==y?void 0:y.current)||void 0===i||i.set(s,o),s!==h||x||_(!0),c.get(s)||(o.on("play",function(e){var t=null==e?void 0:e.id;if((null==b?void 0:b.current)!==t){var n=S(null==b?void 0:b.current);(null==n?void 0:n.paused)||null==n||n.pause(),b.current=t}}),o.on("notViewable",function(){null==o||o.pause()},{threshold:.2}),(0,a.checkIsDesktop)()&&(null==l||l.addEventListener("mouseenter",function(e){var t,n=S(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.id);if(n&&(null==n?void 0:n.paused)){var r=S(null==b?void 0:b.current);r&&!(null==r?void 0:r.paused)||null==o||o.play()}}),null==l||l.addEventListener("mouseleave",function(e){var t,n=S(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.id);(null==n?void 0:n.played)&&(null==n?void 0:n.muted)&&(null==o||o.pause())})))}))},[m,u,h,null==b?void 0:b.current]),(0,o.useEffect)(function(){"undefined"!=typeof window&&window.powaBoot&&window.powaBoot()},[u]),(0,o.useEffect)(function(){var e;if(!(0,a.checkIsDesktop)()&&h&&x&&!c.get(h)){var t=null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.get(h),n=null==t?void 0:t.getRootElement(),r=null==t?void 0:t.getVideoElement(),i=new IntersectionObserver(function(e){e[0].isIntersecting&&(null==r?void 0:r.paused)&&(null==t||t.play())},{threshold:.2});if(n)return i.observe(n),function(){i.disconnect()}}},[h,x]);var S=(0,o.useCallback)(function(e){var t,n;if(!e)return null;var r=null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.get(e);return null!==(n=null==r?void 0:r.getVideoElement())&&void 0!==n?n:null},[]);return(0,i.jsx)("div",{className:"w-full inq-vertical-video-card-wrapper max-w-xs bp-xxs:max-w-lg my-0 mx-auto video-wrapper goldfish-player aspect-[9/16] cursor-pointer",onClick:function(){g&&g(u)},children:m?(0,i.jsx)("div",{className:"w-full flex bg-black cursor-pointer relative rounded-lg",children:(0,i.jsx)("div",{className:"w-full self-center",children:(0,i.jsx)(s.default,{storyImage:null===(t=null==u?void 0:u.promo_items)||void 0===t?void 0:t.video,shouldRedirectToPage:!1,customImage:null===(r=null===(n=null==u?void 0:u.promo_items)||void 0===n?void 0:n.video)||void 0===r?void 0:r.url,isVideoCard:!0,imgBorderRadius:"8px",imageRatio:"9x16"})})}):(null==C?void 0:C._id)&&(0,i.jsx)("div",{ref:v,className:"m-auto clear-both w-full",children:(0,i.jsx)("div",{className:"goldfish-player-vertical","data-page-on":"1","data-producer":!0,children:(0,i.jsx)("div",{className:"powa rounded-lg ".concat(j?l.POWA_NO_PLAYER_CONTROLS_CLASS:""),id:"powa-"+C._id,"data-org":"pmn","data-uuid":C._id,"data-autoinit":!0,"data-loop-with-controls":j,"data-muted":(null==f?void 0:f.muted)||!1,"data-autoplay":j,"data-stream":0,"data-aspect-ratio":"1.7
2778","data-env":d,"data-auto":null==f?void 0:f.autoplay})})})})}},60205:function(e,t,n){"use strict";t.HeadlineListCard=function(e){var t=e.headlines,n=e.title,o=void 0===n?"Latest Headlines":n,a=e.mapIndex,s=e.dataCardType,l=void 0===s?"headline-list-card":s,c=e.dataLinkType,u=e.hasIcons,d=void 0!==u&&u,f=e.hasPadding,p=e.hasBoxShadow,m=e.feedLength,h=e.feedProvenance,g=e.hasLessThan3HoursFormatTimestamp,v=e.dataCardLocation,b=void 0===v?"feed":v,y=e.hasTimestamps,w=e.customBackgroundColor,x=void 0===w?"":w,_=e.lastListElement,C=e.noBorder,j=void 0!==C&&C;return(0,r.jsx)("article",{className:"inq-card inq-card--latest-headlines".concat(!1!==p?"":" no-shadow").concat(!1!==f?"":" inq-card-no-padding").concat(x),"data-card-type":l,"data-headline-list-title":o,"data-card-index":a,"data-feed-length":m,"data-feed-provenance":h,"data-card-location":b,children:(0,r.jsx)(i.HeadlineList,{headlines:t,title:o,mapIndex:a,feedLength:m,feedProvenance:h,dataCardType:l,dataLinkType:c,hasIcons:d,hasLessThan3HoursFormatTimestamp:g,hasTimestamps:y,lastListElement:_,noBorder:j})})};var r=n(34766),i=n(82373)},66507:function(e,t,n){"use strict";t.LoadingCard=void 0;var r=n(34766);t.LoadingCard=function(e){var t=e.customHeigth,n=void 0===t?"":t,i=e.hasFullWidth,o=e.noMargin;return(0,r.jsxs)("article",{className:"inq-card loading-card".concat(n).concat(i?" max-w-none":"").concat(o?" m-0":""),children:[(0,r.jsx)("div",{className:"placeholder-content placeholder-content--image"}),(0,r.jsxs)("div",{className:"loading-card--content",children:[(0,r.jsx)("div",{className:"placeholder-content placeholder-content--eyebrow"}),(0,r.jsxs)("div",{className:"loading-card--headline",children:[(0,r.jsx)("div",{className:"placeholder-content"}),(0,r.jsx)("div",{className:"placeholder-content"})]})]})]})}},3428:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(34766),i=n(40809),o=n(72541),a=n(78090),s=n(96892);t.default=function(e){var t=e.onClickBtn,n=e.isSubscribed,l=e.isInInboxQueue,c=e.subscribedText,u=e.disabledBtn,d=void 0!==u&&u,f=e.isLoading,p=void 0!==f&&f,m=e.className,h=void 0===m?"":m,g=e.loadingClassName,v=void 0===g?"":g,b=(0,i.useMemo)(function(){return n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:c}),(0,r.jsx)(a.RemoveIcon,{color:"white"})]}):l?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:"Remove from inbox"}),(0,r.jsx)(a.RemoveIcon,{color:"black"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:"Add to inbox"}),(0,r.jsx)(o.AddIcon,{color:"black"})]})},[n,l,c]);return p?(0,r.jsx)("div",{className:"py-2 ".concat(v),children:(0,r.jsx)(s.Spinner,{dark:!0})}):(0,r.jsx)("button",{className:"p-2 flex-shrink-0 flex-grow-0 border border-solid border-black flex flex-row gap-2 rounded cursor-pointer text-sm leading-4 font-grot10 font-bold ".concat(n?"bg-black text-white":"bg-white text-black"," ").concat(h),disabled:d,onClick:t,children:b})}},35575:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=a(n(40809)),u=s(n(3428));t.default=c.default.memo(function(e){var t,n,r=e.onClickBtn,i=e.isSubscribed,o=e.newsletterUrl,a=e.newsletterTitle,s=e.newsletterPromoText,d=e.imageUrl,f=e.isInInboxQueue,p=e.disabledBtn,m=void 0!==p&&p,h=e.isLoading,g=void 0!==h&&h,v=e.hasBorder,b=void 0===v||v,y=e.imageStyle,w=void 0===y?"square":y,x=e.layout,_=void 0===x?"universal":x,C=(0,c.useMemo)(function(){return a.toLowerCase().split(" ").join("-")},[a]),j="w-full aspect-[3/2] object-cover".concat("rounded"===w?" rounded-lg":""),S="flex bg-white rounded-lg".concat(b?" border border-solid border-neutral-light-charcoal-gray":""),O=(0,l.jsx)("div",{className:"font-inquirer-text-web font-medium text-secondary text-4 leading-5",dangerouslySetInnerHTML:{__html:s}});return"minimal"===_?(0,l.jsxs)("div",{className:"".concat(S," flex-col gap-3 p-4"),children:[(0,l.jsxs)("div",{className:"flex flex-row items-start gap-4",children:[o?(0,l.jsx)("a",{className:"w-30 flex-none","data-link-type":C,href:o,children:(0,l.jsx)("img",{className:j,src:d,alt:"newsletter-thumbnail"})}):(0,l.jsx)("div",{className:"w-30 flex-none","data-link-type":C,children:(0,l.jsx)("img",{className:j,src:d,alt:"newsletter-thumbnail"})}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-2 flex-1",children:[o?(0,l.jsx)("a",{className:"font-inquirer-headline font-semibold text-black no-underline text-6 leading-6",href:o,"data-link-type":C,children:a}):(0,l.jsx)("span",{className:"font-inquirer-headline font-semibold text-black text-6 leading-6","data-link-type":C,children:a}),(t="w-fit justify-center",n="flex w-full justify-center sm:justify-start",(0,l.jsx)(u.default,{onClickBtn:r,isSubscribed:i,isInInboxQueue:f,subscribedText:"Added",disabledBtn:m,isLoading:g,className:t,loadingClassName:n}))]})]}),O]}):(0,l.jsxs)("div",{className:"".concat(S," flex-col sm:flex-row items-start gap-4 p-5 sm:p-4"),children:[o?(0,l.jsx)("a",{className:"w-full sm:w-2/5 lg:w-1/2 sm:flex-none","data-link-type":C,href:o,children:(0,l.jsx)("img",{className:j,src:d,alt:"newsletter-thumbnail"})}):(0,l.jsx)("div",{className:"w-full sm:w-2/5 lg:w-1/2 sm:flex-none","data-link-type":C,children:(0,l.jsx)("img",{className:j,src:d,alt:"newsletter-thumbnail"})}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-3 w-full sm:flex-1",children:[o?(0,l.jsx)("a",{className:"font-inquirer-headline font-semibold text-black no-underline order-1 text-6 leading-6 sm:text-5 sm:leading-5 lg:text-6 lg:leading-6",href:o,"data-link-type":C,children:a}):(0,l.jsx)("span",{className:"font-inquirer-headline font-semibold text-black order-1 text-6 leading-6 sm:text-5 sm:leading-5 lg:text-6 lg:leading-6","data-link-type":C,children:a}),(0,l.jsx)("div",{className:"font-inquirer-text-web font-medium text-secondary text-4 leading-5 order-2 lg:order-3",dangerouslySetInnerHTML:{__html:s}}),(0,l.jsx)(u.default,{onClickBtn:r,isSubscribed:i,isInInboxQueue:f,subscribedText:"Added",disabledBtn:m,isLoading:g,className:"w-full sm:w-fit justify-center order-3 lg:order-2",loadingClassName:"order-3 lg:order-2 flex w-full sm:w-auto justify-center sm:justify-start"})]})]})})},21286: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)}
2,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(34766),a=i(n(40809)),s=i(n(52765)),l=i(n(69991)),c=n(23791);t.default=a.default.memo(function(e){var t,n,i,a,u,d,f=e.category,p=e.dataCardType,m=e.dataLinkType,h=e.mapIndex,g=e.feedLength,v=e.feedProvenance,b=e.wrapperCustomClass,y=e.showCategoryIcon,w=void 0!==y&&y,x=e.textColor,_=e.customEyebrowText,C=e.customEyebrowLink,j=e.isPhillyFirstCard,S=(0,c.useClickableAttributes)();return(0,o.jsx)(l.default,{elementType:C||(null==f?void 0:f._id)?"a":"",additionalProps:r({href:C||(null==f?void 0:f._id),title:null==f?void 0:f.name,className:"no-underline","data-card-type":p,"data-link-type":m,"data-card-index":h,"data-feed-length":g,"data-feed-provenance":v},S),children:j?(0,o.jsxs)("div",{className:"flex items-center gap-x-1 lg:py-1",children:[(0,o.jsx)("img",{className:"w-3 sm:w-3.5 lg:w-4 h-3 sm:h-3.5 lg:h-4 m-0",src:(null===(i=null===(n=null===(t=null==f?void 0:f.additional_properties)||void 0===t?void 0:t.original)||void 0===n?void 0:n.site)||void 0===i?void 0:i.section_icon)||"https://media.inquirer.com/assets/philly-first/phillyfirst-arrow.svg",alt:null==f?void 0:f.name}),(0,o.jsx)("p",{className:"font-grot10 font-normal text-xs leading-3 text-neutral-text-color sm:text-sm sm:leading-3.5 lg:text-md lg:leading-4",children:_||((null===(d=null===(u=null===(a=null==f?void 0:f.additional_properties)||void 0===a?void 0:a.original)||void 0===u?void 0:u.site)||void 0===d?void 0:d.site_description)||"Partner Content")})]}):(0,o.jsx)(s.default,{categoryIcon:(null==f?void 0:f.icon)||"",categoryName:_||(null==f?void 0:f.name)||"",categoryType:(null==f?void 0:f.type)||"",showCategoryIcon:w,wrapperCustomClass:b,textColor:x})})})},52765:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=a(n(40809)),u=s(n(69991)),d=s(n(21050));t.default=c.default.memo(function(e){var t=e.showCategoryIcon,n=e.categoryIcon,r=e.categoryName,i=e.categoryType,o=e.wrapperCustomClass,a=e.textColor,s=(0,c.useMemo)(function(){var e,t;return"custom"===i&&r?null===(t=null===(e=r.split("-")[1])||void 0===e?void 0:e.split("logo:")[1])||void 0===t?void 0:t.replace("}",""):""},[r,i]);return(0,l.jsx)(u.default,{elementType:t?"div":"",additionalProps:{className:o},children:(0,l.jsxs)(l.Fragment,{children:[n&&(0,l.jsx)(d.default,{iconSrc:n,iconAlt:r}),s?(0,l.jsx)(d.default,{iconSrc:s,iconAlt:r,iconClassname:"h-5 ml-1"}):(0,l.jsx)("span",{className:a||"text-black",children:r})]})})})},21050:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809));t.default=o.default.memo(function(e){var t=e.iconSrc,n=e.iconAlt,r=e.iconClassname;return(0,i.jsx)("img",{src:t,alt:n,height:16,style:r?void 0:{height:16,width:"auto"},className:r||"w-auto h-4 max-h-4"})})},91089:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809)),a=r(n(21050));t.default=o.default.memo(function(e){var t=e.isLiveBlogEnd,n=e.categoryIcon,r=e.categoryName;return(0,i.jsxs)("div",{className:"flex items-center gap-2 font-bold ".concat(t?"text-black":"text-secondary-red"),children:[n&&(0,i.jsx)(a.default,{iconSrc:n,iconAlt:r}),t?(0,i.jsxs)("div",{children:["As It Happened",(0,i.jsx)("span",{children:" · "}),r]}):(0,i.jsxs)("div",{className:"flex items-center justify-center gap-x-1",children:[(0,i.jsx)("span",{className:"animate-live-rec h-2 w-2 rounded-full bg-red-destroy"}),(0,i.jsx)("span",{children:"Live Updates"})]})]})})},95548:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
2i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t}),l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=n(34766),u=s(n(40809)),d=l(n(21286)),f=l(n(91089)),p=n(58375);t.default=u.default.memo(function(e){var t=e.subtype,n=e.label,r=e.taxonomy,o=e.isLiveBlogCard,a=e.dataCardType,s=e.dataLinkType,l=e.mapIndex,m=e.feedLength,h=e.feedProvenance,g=e.isCompactCard,v=void 0!==g&&g,b=e.customEyebrowText,y=e.customEyebrowLink,w=e.cardEyeBrowCustomClass,x=(0,u.useMemo)(function(){return r},[r]),_=x.sections,C=x.tags,j=(0,u.useMemo)(function(){return(0,p.isSpecialCard)(_||[],C||[])},[_]),S=(0,u.useMemo)(function(){return(0,p.isWhereToEatCard)(C||[])},[C]),O=(0,u.useMemo)(function(){return(0,p.isPhillyFirstCard)(_||[],t||"")},[_,t]),k=(0,u.useMemo)(function(){var e;return!(0,p.isEmpty)(null===(e=null==r?void 0:r.tags)||void 0===e?void 0:e.filter(function(e){return"endliveblog"===e.text}))},[null==r?void 0:r.tags]),E=(0,u.useMemo)(function(){return"".concat(s,"-eyebrow")},[s]),L=(0,u.useMemo)(function(){var e,a,s,l,c,u,d;if(!r)return null;var f=r.primary_site,p=r.primary_section,m=r.sections,h=(f||{}).icon,g=(null==n?void 0:n.eyebrows)&&"subtype-partner-sports-betting"!==t,b=g?(null===(e=n.eyebrows)||void 0===e?void 0:e.text)||"":(null===(l=null===(s=null===(a=null==p?void 0:p.additional_properties)||void 0===a?void 0:a.original)||void 0===s?void 0:s.site)||void 0===l?void 0:l.site_title)||(null==p?void 0:p.name)||"",y=g?(null===(c=n.eyebrows)||void 0===c?void 0:c.url)||"":o?"":(null==f?void 0:f._id)||"",w=g?"custom":null==f?void 0:f.type;return O?null===(u=m||[])||void 0===u?void 0:u.find(function(e){return"/philly-first"===e._id}):j?S?{name:"Where to eat",_id:"/topic/restaurant-maps/",type:w}:{name:"Opinion",_id:"/opinion",type:w}:v?null:p?i(i({},p),{name:b,icon:h,_id:y,type:w}):(null==m?void 0:m.length)?i(i({},m[0]),{name:b||(null===(d=m[0])||void 0===d?void 0:d.name)||"",type:w}):null},[r,_,n,t,j,o,v,O]);return L?(0,c.jsx)("div",{className:"inq-eyebrow-container ".concat(w),children:(0,c.jsx)("div",{className:"flex items-center font-grot12-condensed uppercase text-5 leading-none font-semibold",children:!j&&o?(0,c.jsx)(f.default,{categoryIcon:(null==L?void 0:L.icon)||"",categoryName:null==L?void 0:L.name,isLiveBlogEnd:k}):(0,c.jsx)(d.default,{category:L,showCategoryIcon:!0,dataCardType:a,dataLinkType:E,feedLength:m,mapIndex:l,feedProvenance:h,wrapperCustomClass:j?"text-4 inq-eyebrow--text inline-flex".concat(S?" yellow-line":""):"flex items-center gap-2 text-primary",textColor:!o||k||v?"":"text-secondary-red",customEyebrowText:b,customEyebrowLink:y,isPhillyFirstCard:O})})}):null})},65119:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809));t.default=o.default.memo(function(e){var t=e.menuOptions,n=e.open;return(0,i.jsx)("div",{className:"popup-menu absolute right-0 pl-0 z-9 bg-white shadow-share-popup".concat(n?"":" hidden"),children:t.map(function(e,t){return(0,i.jsxs)("button",{onClick:e.onClick,onMouseDown:function(e){return e.preventDefault()},className:"popup-menu__option relative z-1 w-full bg-white group\n          border-l-2 border-solid border-l-transparent hover:border-l-primary-blue\n          text-primary box-border flex flex-row justify-start border-b px-4\n          border-b-silversand h-auto m-0 overflow-hidden text-ellipsis whitespace-nowrap\n          transition-border-left duration-300 cursor-pointer items-center gap-4.5","aria-label":e.ariaLabel?e.ariaLabel:e.name,children:[e.icon,(0,i.jsxs)("span",{className:"type-author xs:leading-5 font-medium h-[54px] flex justify-center flex-col mr-6",children:[e.lead," ",e.name]})]},"menu_option_".concat(t))})})})},70121:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
2i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=a(n(40809)),u=s(n(65119)),d=s(n(70825)),f=n(40438),p=n(83914),m=n(57729),h=n(63906),g=n(6860),v=n(65965),b=function(e){return"https://www.inquirer.com".concat(e||"")},y=function(e,t){return encodeURIComponent("".concat(b(e||"")).concat(t))},w=function(e,t,n){window.open(e,"",t?"toolbar=0,status=0,scrollbars=1,width=626,height=436":void 0),n()},x=function(e){var t=e.articleTitle,n=e.articleCanonicalUrl,r=e.userInteraction,i=e.setOpenMenu,o=e.setOpenToast,a=encodeURIComponent(t),s="https://www.facebook.com/sharer/sharer.php?u=".concat(y(n,"?utm_source=facebook.com&utm_campaign=edit_social_share_facebook_traffic&utm_medium=social&utm_content=&utm_term=&int_promo=")),c="https://twitter.com/intent/tweet?via=phillyinquirer&text=".concat(a,"%20").concat(y(n,"?utm_source=t.co&utm_campaign=edit_social_share_twitter_traffic&utm_medium=social&utm_content=&utm_term=&int_promo=")),u="mailto:?subject=".concat(a,"&body=").concat(y(n,"?utm_source=email&utm_campaign=edit_social_share_email_traffic&utm_medium=email&utm_content=&utm_term=&int_promo=")),d=function(e,t){i(!1),o(t),function(e,t){(null===window||void 0===window?void 0:window.PMNdataLayer)&&window.PMNdataLayer.push({event:"ga-generic-event",userInteraction:t,interactionType:"click",interactionDetail:e})}(e,r)};return[{name:"link",onClick:function(){return function(e,t){var n=document.createElement("textarea");n.setAttribute("style","height:1px;"),n.value=b(e),document.body.append(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),t()}(n,function(){return d("link",!0)})},icon:(0,l.jsx)(p.LinkIcon,{size:"none",height:"22",width:"22",customClass:" group-hover:text-primary-blue"}),lead:"Copy",ariaLabel:"Copy Link"},{name:"Facebook",onClick:function(){return w(s,!0,function(){return d("facebook",!1)})},icon:(0,l.jsx)(f.FacebookIcon,{size:"none",height:"22",width:"22",customClass:" group-hover:text-primary-blue"}),lead:"Share on",ariaLabel:"Share on Facebook"},{name:"X",onClick:function(){return w(c,!0,function(){return d("twitter",!1)})},icon:(0,l.jsx)(m.TwitterIcon,{size:"none",height:"22",width:"22",customClass:" group-hover:text-primary-blue"}),lead:"Share on",ariaLabel:"Share on X"},{name:"Email",onClick:function(){return w(u,!1,function(){return d("email",!1)})},icon:(0,l.jsx)(h.EmailIcon,{size:"none",height:"22",width:"22",customClass:" group-hover:text-primary-blue"}),lead:"Share via",ariaLabel:"Share via email"}]};t.default=c.default.memo(function(e){var t,n=e.articleTitle,r=e.articleCanonicalUrl,i=e.userInteraction,o=void 0===i?"":i,a=e.isAppWebView,s=void 0!==a&&a,f=e.onShareClick,p=(0,c.useRef)(null),m=(0,c.useState)(!1),h=m[0],b=m[1],y=(0,c.useState)(!1),w=y[0],_=y[1],C=(0,c.useMemo)(function(){return x({articleTitle:n,articleCanonicalUrl:r,userInteraction:o,setOpenMenu:b,setOpenToast:_})},[n,r,o]),j=(0,c.useCallback)(function(e){var t=null==e?void 0:e.relatedTarget;t&&t.className.indexOf("popup-menu__option")>-1||b(!1)},[]),S=(0,c.useCallback)(function(e){e.preventDefault(),!h&&p.current&&p.current.focus()},[h,p.current]),O=(0,c.useCallback)(function(e){e.preventDefault(),b(!h)},[h]);if(s&&f){var k="undefined"!=typeof window?null===(t=new URLSearchParams(window.location.search).get("utm_source"))||void 0===t?void 0:t.toLowerCase():void 0;return(0,l.jsx)("button",{onClick:f,className:"bg-transparent cursor-pointer p-1 outline-none text-primary [-webkit-tap-highlight-color:transparent]","aria-label":"Share this story",children:"android"===k?(0,l.jsx)(v.ShareIcon,{size:"none"}):(0,l.jsx)(g.NativeShareIcon,{})})}return(0,l.jsxs)("div",{className:"my-0 mx-auto relative w-fit",children:[(0,l.jsx)("div",{className:"flex flex-row justify-content",children:(0,l.jsx)("button",{className:"bg-transparent cursor-pointer h-[30px] w-[30px] p-1 outline-none",onBlur:j,onMouseDown:S,onMouseUp:O,ref:p,"aria-label":"Share this story","aria-haspopup":"true","aria-expanded":h,children:(0,l.jsx)("div",{className:"relative w-full flex justify-around items-center",children:Array.from(new Array(3)).map(function(e,t){return(0,l.jsx)("div",{className:"bg-primary bg-opacity-25 rounded-full w-1 h-1"},"dot_".concat(t))})})})}),h&&(0,l.jsx)(u.default,{menuOptions:C,open:h}),(0,l.jsx)(d.default,{message:"Link copied to clipboard",show:w,timedClose:!0,closeToast:function(){return _(!1)}})]})})},38630:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
2i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=a(n(40809)),u=n(10348),d=s(n(61487));t.default=c.default.memo(function(e){var t=e.isLiveBlogCard,n=e.timestamp,r=e.displayDate,i=e.isOnCardFeature,o=e.hasLessThan3HoursFormatTimestamp,a=(0,c.useMemo)(function(){return i&&t&&Boolean(r)||!1},[t,r]),s=(0,c.useMemo)(function(){var e=(0,d.default)(r);if((0,d.default)().diff(e,"minute")>180)return"";var t="Updated";return t&&(t="".concat(t,"&nbsp;")),t},[r]);return(0,l.jsx)(l.Fragment,{children:a?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"inline-block type-article-details",dangerouslySetInnerHTML:{__html:s}}),(0,l.jsx)("div",{className:"inline-block type-article-details",children:r||""})]}):(0,l.jsx)(u.PublishDate,{date:n,hasLessThan3HoursFormatTimestamp:o})})})},70825:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});var s=n(34766),l=a(n(40809));t.default=l.default.memo(function(e){var t=e.show,n=void 0!==t&&t,r=e.message,i=void 0===r?"":r,o=e.timedClose,a=void 0!==o&&o,c=e.closeToast,u=void 0===c?function(){}:c;return(0,l.useEffect)(function(){setTimeout(function(){n&&a&&u()},3e3)},[n,a,u]),(0,s.jsx)("div",{className:"toast antialiased rounded shadow-toast\n        flex flex-col font-ringside-regular h-[58px] justify-around\n        fixed text-center transition-all duration-300 ease-out\n        left-1 right-1 bg-primary text-white z-1 text-[15px] ".concat(n?"bottom-1 visible top-auto":"-bottom-[60px]"),"aria-hidden":!n,children:(0,s.jsx)("div",{role:"alert",children:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:i}})})})})},32606:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)}
2,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t}),l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=n(34766),u=s(n(40809)),d=l(n(69991)),f=l(n(70121)),p=n(58375),m=l(n(38630)),h=n(75705);t.default=u.default.memo(function(e){var t=e.authors,n=e.organization,r=e.canonicalUrl,o=e.headline,a=e.userInteraction,s=e.isLiveBlogCard,l=e.section,g=e.hasShareTools,v=void 0===g||g,b=e.cardFooterCustomClass,y=e.timestamp,w=e.hideTimestamp,x=void 0===w||w,_=e.displayDate,C=e.isOnCardFeature,j=e.hasLessThan3HoursFormatTimestamp,S=e.isRelatedStory,O=void 0!==S&&S,k=e.isAppWebView,E=void 0!==k&&k,L=e.onShareClick,P=(0,h.useModifiedClickableAttributes)(O,!0),N=(0,u.useMemo)(function(){return t.filter(function(e){var t=(0,p.getAuthorName)(e);return t&&"No Author"!==t})},[t]),A=(0,u.useMemo)(function(){return n?"".concat((null==N?void 0:N.length)>0?",":""," ").concat(n):""},[n,N]),I=(0,u.useMemo)(function(){return l?" | ".concat(l):""},[l]);return(0,c.jsxs)("div",{className:b,children:[(0,c.jsxs)("div",{className:"overflow-hidden ".concat(v?"max-w-[80%] inline-grid grid-cols-[auto_auto]":"w-full grid grid-cols-[fit-content(100vw)_auto]"),children:[(0,c.jsx)("span",{className:"antialiased w-full box-border float-left\n          overflow-hidden pr-1 whitespace-nowrap text-ellipsis\n          text-primary font-normal font-grot10 text-4 leading-4.5",children:!(s&&C)&&(0,c.jsxs)(c.Fragment,{children:[N.map(function(e,n){return(0,c.jsxs)(u.Fragment,{children:[0!==n&&(null==t?void 0:t.length)>1&&(0,p.buildComma)(n,null==t?void 0:t.length),(0,c.jsx)(d.default,{elementType:Boolean(null==e?void 0:e.url)?"a":"",additionalProps:i({className:"no-underline text-primary",href:null==e?void 0:e.url,"data-card-author":(0,p.getAuthorName)(e)},P),children:(0,c.jsx)(c.Fragment,{children:(0,p.getAuthorName)(e)})},"author_".concat(n))]},"author_list_".concat(n))}),I,A]})}),!x&&(0,c.jsxs)("span",{children:[" ",(0,c.jsx)(m.default,{timestamp:y||"",displayDate:_,isLiveBlogCard:s,isOnCardFeature:C,hasLessThan3HoursFormatTimestamp:j})]})]}),v&&(0,c.jsx)("div",{className:"ml-auto",children:(0,c.jsx)(f.default,{articleCanonicalUrl:r,articleTitle:o,userInteraction:a,isAppWebView:E,onShareClick:L})})]})})},16113: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(34766),a=i(n(40809)),s=n(75705);t.default=a.default.memo(function(e){var t=e.headline,n=e.canonicalUrl,i=e.dataCardType,a=e.dataLinkType,l=e.mapIndex,c=e.feedLength,u=e.feedProvenance,d=e.cardHeadlineCustomClass,f=e.textHeadlineCustomSize,p=e.isRelatedStory,m=void 0!==p&&p,h=(0,s.useModifiedClickableAttributes)(m,!1);return(0,o.jsx)("div",{className:d,children:(0,o.jsx)("a",r({href:n,className:"text-primary no-underline","data-card-type":i,"data-link-type":a,"data-card-index":l,"data-feed-length":c,"data-feed-provenance":u},h,{children:(0,o.jsx)("h4",{className:"antialiased font-inquirer-headline\n        font-semibold hover:text-primary-blue transition-all duration-300 ease-out ".concat(f),children:t})}))})})},25194:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)}
2,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t}),l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=n(34766),u=s(n(40809)),d=l(n(69991)),f=n(75705);t.default=u.default.memo(function(e){var t=e.storyImage,n=e.canonicalUrl,r=e.isVideoCard,o=e.shouldRedirectToPage,a=void 0===o||o,s=e.onClickImagePromo,l=e.imageRatio,p=void 0===l?"3x2":l,m=e.customImage,h=e.customImageSrcset,g=e.isVerticalVideo,v=void 0!==g&&g,b=e.isFoodStyle,y=e.imgBorderRadius,w=e.isInCarousel,x=e.isRelatedStory,_=void 0!==x&&x,C=(0,f.useModifiedClickableAttributes)(_,!1),j=(0,u.useMemo)(function(){return b?"aspect-[2/3] sm:aspect-[3/2]":{"16x9":"aspect-video","1x1":"aspect-square","3x2":"aspect-[3/2]","2x3":"aspect-[2/3]","9x16":"aspect-[9/16]"}[p]||""},[p,b]),S=(0,u.useMemo)(function(){return v?h:m?"":null==t?void 0:t.image_srcset},[v,m,h,null==t?void 0:t.image_srcset]);return(0,c.jsx)(d.default,{elementType:a&&n?"a":"",additionalProps:i({href:n},C),children:(0,c.jsxs)("div",{className:"relative w-full h-full ".concat(n?"cursor-pointer":""),children:[m||(null==t?void 0:t.src)||(null==t?void 0:t.url)?(0,c.jsx)("img",i({className:"w-full h-full object-cover ".concat(v?"aspect-[9/16]":j),alt:(null==t?void 0:t.alt)||"",src:m||(null==t?void 0:t.src)||(null==t?void 0:t.url),srcSet:S},w&&{draggable:!1},{style:{borderRadius:y}})):r&&(0,c.jsx)("div",{className:"w-full h-full bg-black ".concat(j)}),(r||v)&&(0,c.jsx)("span",{className:"absolute inset-0 flex items-center justify-center",onClick:s,children:(0,c.jsx)("i",{className:"w-[50px] h-[50px] bg-center bg-no-repeat bg-contain bg-play-icon","data-selected":"true","data-label-id":"0"})})]})})})},48374:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});var s=n(34766),l=a(n(40809));t.default=l.default.memo(function(e){var t=e.trackingVideo,n=e.youtubeURL,r=(0,l.useMemo)(function(){return(n.split("v=")[1]||n.split("youtu.be/")[1]||"").split("&")[0]},[n]);return(0,s.jsx)("div",{className:"w-full aspect-video",children:(0,s.jsx)("iframe",{allowFullScreen:!0,title:r,width:"100%",height:"100%",src:"https://www.youtube.com/embed/".concat(r),"data-location":(null==t?void 0:t.videoLocation)||"","data-category":(null==t?void 0:t.videoCategory)||""})})})},27760:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809)),a=r(n(25194)),s=r(n(48374)),l=n(58375),c=n(70686),u=n(84967);t.default=o.default.memo(function(e){var t=e.storyImage,n=e.youtubeVideo,r=e.canonicalUrl,o=e.isVideoCard,d=e.dataCardType,f=e.dataLinkType,p=e.mapIndex,m=e.feedLength,h=e.feedProvenance,g=e.trackingVideo,v=e.cardPromoCustomClass,b=e.imageRatio,y=e.customImage,w=e.isVideoCardFeature,x=e.videoOptions,_=e.story,C=e.dataEnv,j=e.isFoodStyle,S=e.imgBorderRadius,O=e.isInCarousel,k=e.isRelatedStory;return(0,i.jsx)("div",{className:v,children:(0,i.jsx)("div",{"data-card-type":d,"data-link-type":f,"data-card-index":p,"data-feed-length":m,"data-feed-provenance":h,children:w&&_&&(null==_?void 0:_.subtype)!==u.PODCAST?(0,i.jsx)(c.VideoContent,{story:_,videoOptions:x,trackingVideo:g,dataEnv:C,imageRatio:b,isVideoCardFeature:!0}):(0,l.isEmpty)(null==n?void 0:n.content)||y?(0,i.jsx)(a.default,{storyImage:t,canonicalUrl:r,isVideoCard:o,imageRatio:b,customImage:y,shouldRedirectToPage:!w,isFoodStyle:j,imgBorderRadius:S,isInCarousel:O,isRelatedStory:k}):(0,i.jsx)(s.default,{youtubeURL:(null==n?void 0:n.content)||"",trackingVideo:g},null==n?void 0:n._id)})})})},45145: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)}
2,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(34766),a=i(n(40809)),s=n(64290),l=n(75705);t.default=a.default.memo(function(e){var t=e.relatedLinks,n=e.relatedLinksNo,i=e.dataCardType,a=e.dataLinkType,c=e.isInFeed,u=(0,l.useModifiedClickableAttributes)(!0,!0);return(0,o.jsx)("article",{className:"standard-card-v2-related-links mb-3 px-4 ".concat(c?"bp-xs:px-5":"bp-xs:px-0"),children:(0,o.jsx)("ul",{className:"container-wrapper",children:(t||[]).slice(0,n).map(function(e,t){return(0,o.jsxs)("li",{className:"flex font-normal py-1.5 relative transition-colors",children:[(0,o.jsx)(s.BulletIcon,{size:"small",customClass:"mt-0.5 fill-blue-mid"}),(0,o.jsx)("a",r({href:e.link,"data-link-type":a,"data-card-type":i,className:"inq-headline-list-title type-headline-items ml-4 text-neutral-text-color align-middle no-underline hover:text-blue-mid xs:font-normal"},u,{children:e.title}))]},t)})})})})},66287:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t}),l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=n(34766),u=s(n(40809)),d=n(58375),f=l(n(27760)),p=l(n(16113)),m=l(n(32606)),h=n(84967);t.default=u.default.memo(function(e){var t=e.story,n=e.dataLinkType,r=e.trackingVideo,o=e.isRelatedStory,a=void 0!==o&&o,s=(0,u.useState)((0,d.checkIsMobile)()),l=s[0],g=s[1],v=t.canonical_url,b=t.headlines,y=t.bylines,w=t.credits,x=t.subtype,_=t.promo_items,C=(0,u.useMemo)(function(){return x===h.PODCAST},[x]),j=(0,u.useMemo)(function(){return(0,d.isVideoCard)(_||{})&&!C},[_,C]),S=(0,u.useMemo)(function(){var e,t,n,r;if(!_)return null;var o=null;return j&&(null===(e=_.video)||void 0===e?void 0:e.url)&&(o=i({},_.video)),(null===(t=_.promo)||void 0===t?void 0:t.url)&&(o=i({},_.promo)),(null===(n=_.lead_art)||void 0===n?void 0:n.url)&&(o=i({},_.lead_art)),(null===(r=_.basic)||void 0===r?void 0:r.url)&&(o=i({},_.basic)),l&&null!==o&&(o=function(e,t){if(e){var n=new URL(e);if(n.searchParams.has("auth")){n.searchParams.delete("width"),n.searchParams.delete("height");var r=n.toString(),i="".concat(r,"&height=100&width=100"),o="".concat(i," 100w, ").concat(r,"&height=50&width=50 50w");t.image_srcset=o,"image"===t.type&&(t.src=i,t.imageWebUrl=i,t.imgSrcSet=o),"video"===t.type&&(t.url=i)}}return t}(o.src||o.imageWebUrl||o.url,o)),o},[_,j,l]),O=(0,u.useMemo)(function(){if(j&&(null==_?void 0:_.youtube))return _.youtube},[_,j]),k=(0,u.useCallback)(function(){g((0,d.checkIsMobile)())},[]);return(0,u.useEffect)(function(){return null===window||void 0===window||window.addEventListener("resize",k),function(){null===window||void 0===window||window.removeEventListener("resize",k)}},[k]),(0,c.jsxs)("article",{className:"compact-card-v2 flex gap-4 my-4 w-full bg-white transition-all duration-300 ease-out",children:[(0,c.jsx)(f.default,{storyImage:S,youtubeVideo:O,canonicalUrl:v||"",isVideoCard:j,dataCardType:"",dataLinkType:n,trackingVideo:r,imageRatio:l?"1x1":"3x2",cardPromoCustomClass:"w-20 sm:w-[200px] lg:w-2/5 min-w-[80px]",isRelatedStory:a}),(0,c.jsxs)("div",{className:"flex flex-col w-full gap-2 overflow-x-hidden",children:[(0,c.jsx)(p.default,{headline:(null==b?void 0:b.basic)||"",canonicalUrl:v||"",dataCardType:"",dataLinkType:n,textHeadlineCustomSize:" text-5 leading-5 sm:text-6 sm:leading-6",isRelatedStory:a}),(0,c.jsx)(m.default,{authors:(null==y?void 0:y.authors)||(null==w?void 0:w.by)||[],organization:(null==y?void 0:y.organization)||"",canonicalUrl:v||"",headline:(null==b?void 0:b.basic)||"",isLiveBlogCard:!1,section:(null==y?void 0:y.section)||"",hasShareTools:!1,isRelatedStory:a})]})]})})},83713:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
2dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809)),a=r(n(66287));t.default=o.default.memo(function(e){var t=e.relatedStories,n=e.dataLinkTypeRelatedStories;return(0,i.jsx)("div",{className:"sm:mx-5 mx-4",children:null==t?void 0:t.map(function(e,t){return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"border-b border-solid border-neutral-light-charcoal-gray mb-4".concat(0===t?"":" mt-4")}),(0,i.jsx)(a.default,{isRelatedStory:!0,story:e,dataLinkType:n})]},null==e?void 0:e._id)})})})},2209: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(34766),a=i(n(40809)),s=n(23791);t.default=a.default.memo(function(e){var t=e.description,n=e.canonicalUrl,i=e.cardTeaseCustomClass,a=e.customDescriptionClasses,l=void 0===a?"text-3.5 leading-4.5 text-neutral-light-text bp-sm:text-4 bp-sm:leading-5":a,c=(0,s.useClickableAttributes)();return(0,o.jsx)("div",{className:i,children:(0,o.jsx)("a",r({href:n,className:"no-underline"},c,{children:(0,o.jsx)("p",{className:l,children:t})}))})})},9299:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=s(n(40809)),u=n(64290),d=n(5185),f=n(23791);t.default=c.default.memo(function(e){var t=e.timelines,n=e.maxNumberOfHeaders,r=void 0===n?5:n,o=e.timelinesNo,a=e.onItemClick,s=e.dataCardType,p=e.dataLinkType,m=e.mapIndex,h=e.feedLength,g=e.feedProvenance,v=e.isInFeed,b=e.showMoreButton,y=(0,f.useClickableAttributes)(),w=(0,c.useState)(!1),x=w[0],_=w[1],C=(0,c.useMemo)(function(){var e=t.filter(function(e,t){return t<=r&&e.header});return 3===e.length?e.slice(-2):e},[t,r]),j=(0,c.useMemo)(function(){return Number.isInteger(o)?o:3},[o]),S=(0,c.useMemo)(function(){return x?C:C.slice(0,j)},[C,x,o]);return(0,l.jsx)("div",{className:"pb-5 pt-0 ".concat(v?"px-5":"px-4 bp-xs:px-0"),children:(0,l.jsxs)("div",{className:"relative grid grid-cols-2 ".concat(x?"":"mb-2.5"),children:[C.length>0&&(0,l.jsx)("ol",{className:"col-span-2 row-span-2 list-none mt-2.5 mr-1",children:null==S?void 0:S.map(function(e,t,n){return(0,l.jsxs)("li",{className:"relative flex items-start !mb-0",children:[(0,l.jsx)("div",{className:"absolute left-[7px] border-r border-r-black border-solid ".concat(0===t?"top-3":"top-0"," ").concat(t===n.length-1?"h-1":"h-full")}),(0,l.jsxs)("div",{className:"flex gap-2.5",children:[(0,l.jsx)("div",{className:"bullet shrink-0",children:(0,l.jsx)(u.BulletIcon,{size:"small"})}),(0,l.jsx)("div",{className:t===n.length-1?"":"mb-5",children:(0,l.jsx)("a",i({href:null==e?void 0:e.url,"data-card-type":s,"data-link-type":p,"data-card-index":m,"data-feed-length":h,"data-feed-provenance":g,onClick:function(){return null==a?void 0:a(t)}
2,className:"text-primary-blue font-grot10 text-4 leading-5 no-underline"},y,{children:null==e?void 0:e.header}))})]})]},t)})}),b&&!x&&C.length>3&&!Number.isInteger(o)&&(0,l.jsxs)("button",{className:"flex items-end rounded-none bottom-0 cursor-pointer bg-transparent outline-none\n            h-[30px] justify-center absolute w-full z-2",onClick:function(){return _(!x)},children:[(0,l.jsx)("div",{className:"w-full absolute h-[30px] content-none bg-gradient-timelines"}),(0,l.jsx)("div",{className:"relative top-3",children:(0,l.jsx)(d.ChevronDownIcon,{size:"medium"})})]})]})})})},58580:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(38549));t.default=function(e){var t=e.dataChipTags,n=void 0===t?[]:t;return(0,i.jsx)("div",{className:"flex-wrap flex-row -mt-2 flex mb-2 max-sm:absolute max-sm:top-0 max-sm:left-0",children:n.map(function(e,t){return(0,i.jsx)("div",{className:"mt-2 mr-2",children:(0,i.jsx)(o.default,{size:"sm",href:null==e?void 0:e.url,chipName:null==e?void 0:e.text,dataLinkType:null==e?void 0:e.dataLink})},t)})})}},22077:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=a(n(40809)),u=s(n(27760)),d=s(n(95548)),f=s(n(16113)),p=s(n(2209)),m=s(n(32606)),h=s(n(58580));t.default=c.default.memo(function(e){var t,n,r,i=e.story,o=e.storyImage,a=e.storyVideo,s=e.hasPromoItem,g=e.isVideoCard,v=e.isLiveBlogCard,b=e.dataCardType,y=e.dataLinkType,w=e.trackingVideo,x=e.imageRatio,_=e.isImageAlignRight,C=e.hasBlurb,j=e.hasEyebrow,S=e.customBlurb,O=e.useWebHeadline,k=e.customHeadline,E=e.customImage,L=e.hasShareTools,P=e.customDescriptionClasses,N=e.customHeadlineClasses,A=void 0===N?"text-5 leading-5 lg:text-6 lg:leading-6":N,I=e.hideTimestamp,T=e.isOnCardFeature,M=e.showAuthor,R=e.isFoodStyle,D=e.cardBackground,F=e.cardBorderRadius,B=e.imgBorderRadius,V=e.hideBlurOnMobile,H=e.hasLessThan3HoursFormatTimestamp,q=e.dataChipTags,U=i.subtype,$=i.label,z=i.taxonomy,G=i.canonical_url,K=i.headlines,Y=i.description,W=i.bylines,Z=i.credits,J=i.display_date,X=(0,c.useMemo)(function(){return k||(O&&(null==K?void 0:K.web)?K.web:(null==K?void 0:K.basic)||"")},[k,O,null==K?void 0:K.web,null==K?void 0:K.basic]),Q=(0,c.useMemo)(function(){return q&&q.length>0},[q]);return(0,l.jsxs)("article",{style:{backgroundColor:D||"white",borderRadius:F},className:"compact-card-v2 flex gap-5 my-4 w-full bg-white transition-all duration-300 ease-out".concat(_?" flex-row-reverse":""," ").concat(Q?"max-sm:relative max-sm:pt-11":""),children:[s&&(0,l.jsx)(u.default,{storyImage:o,youtubeVideo:a,canonicalUrl:G||"",isVideoCard:g,dataCardType:b,dataLinkType:y,trackingVideo:w,cardPromoCustomClass:"w-2/5 min-w-[80px] sm:min-w-auto",imageRatio:x,customImage:E,isFoodStyle:R,imgBorderRadius:B}),(0,l.jsxs)("div",{className:"flex flex-col w-full gap-2 overflow-hidden",children:[Q&&(0,l.jsx)(h.default,{dataChipTags:q}),j&&(0,l.jsx)(d.default,{label:$||{},taxonomy:z||{},subtype:U||"",isLiveBlogCard:v,dataCardType:b,dataLinkType:y,isCompactCard:!0,cardEyeBrowCustomClass:"pb-1"}),(0,l.jsx)(f.default,{headline:X,canonicalUrl:G||"",dataCardType:b,dataLinkType:y,textHeadlineCustomSize:A}),C&&(0,l.jsx)(p.default,{description:S||(null==Y?void 0:Y.basic)||"",canonicalUrl:G||"",customDescriptionClasses:P,cardTeaseCustomClass:V?"hidden sm:block":""}),M&&(0,l.jsx)(m.default,{authors:(null==W?void 0:W.authors)||(null==Z?void 0:Z.by)||[],organization:(null==W?void 0:W.organization)||"",canonicalUrl:G||"",headline:(null==K?void 0:K.basic)||"",isLiveBlogCard:v,section:(null==W?void 0:W.section)||"",hasShareTools:L,timestamp:(null==W?void 0:W.timestamp)?(null===(t=null==W?void 0:W.timestamp)||void 0===t?void 0:t.isUpdated)?null===(n=null==W?void 0:W.timestamp)||void 0===n?void 0:n.updatedTime:null===(r=null==W?void 0:W.timestamp)||void 0===r?void 0:r.time:J,hideTimestamp:I,displayDate:J,isOnCardFeature:T,cardFooterCustomClass:"flex items-center",hasLessThan3HoursFormatTimestamp:H})]})]})})},96143:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
2i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=a(n(40809)),u=n(83732),d=s(n(27760)),f=s(n(95548)),p=s(n(16113)),m=s(n(2209)),h=s(n(32606)),g=s(n(9299)),v=s(n(83713)),b=s(n(45145)),y=n(58375);t.default=c.default.memo(function(e){var t,n,r,i,o,a=e.story,s=e.storyImage,w=e.storyVideo,x=e.hasPromoItem,_=e.isVideoCard,C=e.isLiveBlogCard,j=e.dataLinkType,S=e.userInteraction,O=e.timelines,k=e.timelinesNo,E=e.dataCardType,L=e.mapIndex,P=e.feedLength,N=e.feedProvenance,A=e.trackingVideo,I=e.customMaxWidth,T=e.hasBlurb,M=e.useWebHeadline,R=e.isShowRelatedStories,D=e.relatedStoriesVersion,F=void 0===D?u.RelatedStoriesVersion.Version1:D,B=e.dataLinkTypeRelatedStories,V=void 0===B?"":B,H=e.imageRatio,q=e.showEyebrowBelow,U=e.isImagePrioritized,$=e.relatedLinksNo,z=void 0===$?3:$,G=e.hasEyebrow,K=e.customBlurb,Y=e.customImage,W=e.customHeadline,Z=e.customRelatedLinks,J=e.customHeadlineFontSize,X=e.hasShareTools,Q=e.isInFeed,ee=e.showMoreButton,te=e.hideTimestamp,ne=e.hasBoxShadow,re=e.customDescriptionClasses,ie=e.isVideoCardFeature,oe=e.videoOptions,ae=e.dataEnv,se=e.customHeadlineClasses,le=e.hasPadding,ce=e.isOnCardFeature,ue=e.cardBackground,de=e.cardBorderRadius,fe=e.showAuthor,pe=e.isFoodStyle,me=e.imgBorderRadius,he=e.isInCarousel,ge=e.isInTailFeed,ve=e.hasLessThan3HoursFormatTimestamp,be=e.isAppWebView,ye=e.onShareClick,we=a.subtype,xe=a.label,_e=a.taxonomy,Ce=a.canonical_url,je=a.headlines,Se=a.description,Oe=a.bylines,ke=a.credits,Ee=a.relatedLinks,Le=a.display_date,Pe=(0,c.useMemo)(function(){return W||(M&&(null==je?void 0:je.web)?je.web:(null==je?void 0:je.basic)||"")},[W,M,null==je?void 0:je.web,null==je?void 0:je.basic]),Ne=(0,c.useMemo)(function(){return(0,y.isEmpty)(Z)?(Ee||[]).filter(function(e){return(null==e?void 0:e.link)&&(null==e?void 0:e.title)}):Z},[Ee,Z]),Ae=(0,c.useMemo)(function(){return q?{eyeBrow:"order-2",promo:"order-1",headline:"order-3"}:{eyeBrow:"order-1",promo:U?"order-2":"order-3",headline:U?"order-3":"order-2"}},[q,U]),Ie=(0,c.useMemo)(function(){var e;return!(!C||R)&&(!Q||(null!==(e=null==O?void 0:O.length)&&void 0!==e?e:0)>=3)},[C,Q,null==O?void 0:O.length,R]),Te=(0,c.useMemo)(function(){var e;return!!R&&(((null===(e=null==a?void 0:a.related_content)||void 0===e?void 0:e.basic)||[]).length>0||(Ee||[]).length>0||(Z||[]).length>0)},[R,Ee,null===(t=null==a?void 0:a.related_content)||void 0===t?void 0:t.basic]),Me=(0,c.useMemo)(function(){return le?"px-4 ".concat(Q?"bp-xs:px-5":ue?"":"bp-xs:px-0"):""},[le,Q,ue]);return(0,l.jsxs)("article",{style:{backgroundColor:ue||"white",borderRadius:de},className:"standard-card-v2 flex flex-col w-full mx-auto transition-all duration-300 ease-out ".concat(ne?"shadow-card":""," ").concat(I||"max-w-[540px]"," ").concat(Q?"my-3":""),children:[x&&(0,l.jsx)("div",{className:Ae.promo,children:(0,l.jsx)(d.default,{storyImage:s,youtubeVideo:w,canonicalUrl:Ce||"",isVideoCard:_,dataCardType:E,dataLinkType:ge&&C?"liveblog-card-headline":j,mapIndex:L,feedLength:P,feedProvenance:N,trackingVideo:A,cardPromoCustomClass:q?"":"mb-4 bp-xs:mb-5",imageRatio:H,customImage:Y,story:a,isVideoCardFeature:ie,videoOptions:oe,dataEnv:ae,isFoodStyle:pe,imgBorderRadius:me,isInCarousel:he})}),G&&(0,l.jsx)("div",{className:"".concat(Ae.eyeBrow).concat(Q&&!x?" mb-5":""),children:(0,l.jsx)(f.default,{label:xe||{},taxonomy:_e||{},subtype:we||"",isLiveBlogCard:C,dataCardType:E,dataLinkType:j,mapIndex:L,feedLength:P,feedProvenance:N,cardEyeBrowCustomClass:"".concat(Q?"px-5":ue?"px-4":le?"px-4 bp-xs:px-0":""," ").concat(Q||x&&U?"py-3":"pb-3")})}),(0,l.jsx)("div",{className:Ae.headline,children:(0,l.jsx)(p.default,{headline:Pe,canonicalUrl:Ce||"",dataCardType:E,dataLinkType:ge&&C?"liveblog-card-headline":j,mapIndex:L,feedLength:P,cardHeadlineCustomClass:"mb-3 ".concat(Me," ").concat(x||G||!Q?"":"mt-3"),textHeadlineCustomSize:se||(J?"leading-none ".concat(J):"text-8 leading-8")})}),T&&(0,l.jsx)("div",{className:"order-4",children:(0,l.jsx)(m.default,{description:K||(null==Se?void 0:Se.basic)||"",canonicalUrl:Ce||"",cardTeaseCustomClass:"mb-4 cursor-pointer ".concat(Me),customDescriptionClasses:re})}),fe&&(0,l.jsx)("div",{className:"order-5",children:(0,l.jsx)(h.default,{authors:(null==Oe?void 0:Oe.authors)||(null==ke?void 0:ke.by)||[],organization:(null==Oe?void 0:Oe.organization)||"",canonicalUrl:Ce||"",headline:(null==je?void 0:je.basic)||"",userInteraction:S,isLiveBlogCard:C,section:(null==Oe?void 0:Oe.section)||"",cardFooterCustomClass:"flex items-center ".concat(Me," ").concat(Ie?"":" mb-4"),hasShareTools:X,isAppWebView:be,onShareClick:ye,timestamp:(null==Oe?void 0:Oe.timestamp)?(null===(n=null==Oe?void 0:Oe.timestamp)||void 0===n?void 0:n.isUpdated)?null===(r=null==Oe?void 0:Oe.timestamp)||void 0===r?void 0:r.updatedTime:null===(i=null==Oe?void 0:Oe.timestamp)||void 0===i?void 0:i.time:Le,hideTimestamp:te,displayDate:Le,isOnCardFeature:ce,hasLessThan3HoursFormatTimestamp:ve})}),Ie&&(0,l.jsx)("div",{className:"order-6",children:(0,l.jsx)(g.default,{timelines:O||[],timelinesNo:k,dataCardType:E,dataLinkType:"liveblog-card-timeline",mapIndex:L,feedLength:P,feedProvenance:N,isInFeed:Q,showMoreButton:ee})}),Te&&(0,l.jsx)("div",{className:"order-6",children:F===u.RelatedStoriesVersion.Version2?(0,l.jsx)(v.default,{relatedStories:(null===(o=null==a?void 0:a.related_content)||void 0===o?void 0:o.basic)||[],dataLinkTypeRelatedStories:V}):(0,l.jsx)(b.default,{relatedLinks:Ne,relatedLinksNo:z,dataCardType:E,dataLinkType:j,isInFeed:Q})})]})})},23791:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.ClickableAttributesProvider=t.useClickableAttributes=void 0;var r=n(34766),i=n(40809),o=(0,i.createContext)(void 0);t.useClickableAttributes=function(){return(0,i.useContext)(o)||void 0};t.ClickableAttributesProvider=function(e){var t=e.clickableAttributes,n=e.children;return(0,r.jsx)(o.Provider,{value:t,children:n})}},75705: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.useModifiedClickableAttributes=void 0;var i=n(23791);t.useModifiedClickableAttributes=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=(0,i.useClickableAttributes)(),o=(null==n?void 0:n["data-link-type"])||"";return e&&o?r(r({},n),{"data-link-type":"".concat(t&&o.includes("/")?o.slice(0,o.lastIndexOf("-")):o,"-related-links")}):n}},46610:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t}),l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=n(34766),u=s(n(40809)),d=n(58375),f=l(n(22077)),p=l(n(96143)),m=n(84967),h=n(23791);t.default=u.default.memo(function(e){var t=e.story,n=e.userInteraction,r=e.timelines,o=e.timelinesNo,a=e.dataCardType,s=void 0===a?"story-card":a,l=e.dataLinkType,g=void 0===l?"":l,v=e.mapIndex,b=e.feedLength,y=e.feedProvenance,w=e.trackingVideo,x=e.customMaxWidth,_=e.hasBlurb,C=void 0===_||_,j=e.isCompactCard,S=void 0!==j&&j,O=e.useWebHeadline,k=void 0!==O&&O,E=e.isShowRelatedStories,L=void 0!==E&&E,P=e.relatedStoriesVersion,N=void 0===P?1:P,A=e.dataLinkTypeRelatedStories,I=e.imageRatio,T=e.imageAlignment,M=e.eyebrowPosition,R=e.isImagePrioritized,D=void 0===R||R,F=e.relatedLinksNo,B=e.hasEyebrow,V=void 0===B||B,H=e.hasImage,q=void 0===H||H,U=e.customBlurb,$=e.customImage,z=e.customHeadline,G=e.customRelatedLinks,K=e.customHeadlineFontSize,Y=e.hasShareTools,W=void 0===Y||Y,Z=e.isInFeed,J=void 0===Z||Z,X=e.showMoreButton,Q=void 0===X||X,ee=e.hideTimestamp,te=void 0===ee||ee,ne=e.hasBoxShadow,re=void 0===ne||ne,ie=e.customDescriptionClasses,oe=e.isVideoCardFeature,ae=void 0!==oe&&oe,se=e.videoOptions,le=e.dataEnv,ce=e.customHeadlineClasses,ue=e.hasPadding,de=void 0===ue||ue,fe=e.isOnCardFeature,pe=void 0!==fe&&fe,me=e.cardBackground,he=void 0===me?"":me,ge=e.cardBorderRadius,ve=void 0===ge?"":ge,be=e.showAuthor,ye=void 0===be||be,we=e.isFoodStyle,xe=void 0!==we&&we,_e=e.imgBorderRadius,Ce=void 0===_e?"":_e,je=e.isInCarousel,Se=void 0!==je&&je,Oe=e.hideBlurOnMobile,ke=void 0!==Oe&&Oe,Ee=e.isVerticalImage,Le=void 0!==Ee&&Ee,Pe=e.clickableAttributes,Ne=void 0===Pe?void 0:Pe,Ae=e.isInTailFeed,Ie=void 0!==Ae&&Ae,Te=e.showAsLiveBlogCard,Me=void 0===Te||Te,Re
2=e.hasLessThan3HoursFormatTimestamp,De=void 0===Re||Re,Fe=e.dataChipTags,Be=void 0===Fe?[]:Fe,Ve=e.isAppWebView,He=void 0!==Ve&&Ve,qe=e.onShareClick,Ue=t.subtype,$e=t.promo_items,ze=(0,u.useMemo)(function(){return Me&&Ue===m.LIVEBLOG},[Me,Ue]),Ge=(0,u.useMemo)(function(){return Ue===m.PODCAST},[Ue]),Ke=(0,u.useMemo)(function(){return(0,d.isVideoCard)($e||{})&&!Ge},[$e,Ge]),Ye=(0,u.useMemo)(function(){return g||(ze?"liveblog-card":s)},[g,ze,s]),We=(0,u.useMemo)(function(){var e,t,n,r,i,o,a;return $e?(Le||xe)&&(null===(e=null==$e?void 0:$e.vertical)||void 0===e?void 0:e.url)?$e.vertical:Ke&&(null===(r=null===(n=null===(t=$e.video)||void 0===t?void 0:t.promo_items)||void 0===n?void 0:n.basic)||void 0===r?void 0:r.url)?$e.video.promo_items.basic:(null===(i=$e.promo)||void 0===i?void 0:i.url)?$e.promo:(null===(o=$e.lead_art)||void 0===o?void 0:o.url)?$e.lead_art:(null===(a=$e.basic)||void 0===a?void 0:a.url)?$e.basic:null:null},[$e,Ke,Le,xe]),Ze=(0,u.useMemo)(function(){if(Ke&&(null==$e?void 0:$e.youtube))return $e.youtube},[$e,Ke]),Je=(0,u.useMemo)(function(){return q&&(!!$||!(0,d.isEmpty)(We)||!(0,d.isEmpty)(Ze)||Ke)},[q,We,Ze,$,Ke]),Xe=(0,u.useMemo)(function(){return"right"===T||!1},[T]),Qe=(0,u.useMemo)(function(){return V&&"below"===M||!1},[V,M]),et=(0,u.useMemo)(function(){return{story:t,storyImage:We,storyVideo:Ze,hasPromoItem:Je,isLiveBlogCard:ze,isVideoCard:Ke,dataCardType:s,dataLinkType:Ye,trackingVideo:w,hasBlurb:C,useWebHeadline:k,isShowRelatedStories:L,relatedStoriesVersion:N,dataLinkTypeRelatedStories:A,imageRatio:I,hasEyebrow:V,customBlurb:U,customImage:$,customHeadline:z,customHeadlineFontSize:K,hasShareTools:W,customDescriptionClasses:ie,customHeadlineClasses:ce,hideTimestamp:te,isOnCardFeature:pe,showAuthor:ye,isFoodStyle:xe,cardBackground:he,cardBorderRadius:ve,imgBorderRadius:Ce,isVerticalImage:Le,hasLessThan3HoursFormatTimestamp:De}},[t,We,Ze,Je,ze,Ke,s,Ye,w,C,k,L,N,A,I,V,U,$,z,K,W,ie,ce,te,pe,ye,xe,he,ve,Ce,Le,De]);return S?(0,c.jsx)(h.ClickableAttributesProvider,{clickableAttributes:Ne,children:(0,c.jsx)(f.default,i({},et,{isImageAlignRight:Xe,hideBlurOnMobile:ke,dataChipTags:Be}))}):(0,c.jsx)(h.ClickableAttributesProvider,{clickableAttributes:Ne,children:(0,c.jsx)(p.default,i({},et,{feedLength:b,feedProvenance:y,mapIndex:v,timelines:r,timelinesNo:o,userInteraction:n,customMaxWidth:x,showEyebrowBelow:Qe,isImagePrioritized:D,relatedLinksNo:F,customRelatedLinks:G,showMoreButton:Q,hasBoxShadow:re,isInFeed:J,isVideoCardFeature:ae,videoOptions:se,dataEnv:le,hasPadding:de,isInCarousel:Se,isInTailFeed:Ie,isAppWebView:He,onShareClick:qe}))})})},70686:function(e,t,n){"use strict";var r,i=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VideoContent=t.PowaVideo=void 0;var s=n(34766),l=a(n(40809)),c=a(n(62678)),u=n(96892),d=n(58375),f=n(84967),p=a(n(25194)),m=function(e){function t(t){var n,r,i,o,a=e.call(this,t)||this;return a.durationClassName="font-ringside-regular font-bold text-3.5 text-neutral-white absolute rounded bg-[#222222bf] leading-[30px] px-2 py-0 left-3.5 bottom-3.5 z-2 hidden",a.fusionEnv=a.props.dataEnv||("prod"===(0,d.getFusionEnv)()?"prod":"sandbox"),a.isAutoplayVideo=null!==(i=null===(r=null===(n=null==a?void 0:a.props)||void 0===n?void 0:n.videoOptions)||void 0===r?void 0:r.autoplay)&&void 0!==i?i:null===(o=null==a?void 0:a.props)||void 0===o?void 0:o.isLoopAndAutoplay,a.powaRef=l.default.createRef(),a.state={spinnerKey:""},a}return i(t,e),t.prototype.componentDidUpdate=function(e){e.noContent===this.props.noContent||this.props.noContent||window.powaBoot&&window.powaBoot()},t.prototype.componentDidMount=function(){var e,t,n=this;(0,d.loadScript)("/pf/resources/vendor/goldfish-video.js",[],function(){(0,d.loadScript)("https://pmn.video-player.arcpublishing.com/vv/powaBoot.js",[],function(){})}),window.powaBoot&&window.powaBoot(),(null===(e=document.querySelector(".powa"))||void 0===e?void 0:e.classList.contains("powa-leaf"))&&document.querySelector("#header-content")&&(null===(t=null===document||void 0===document?void 0:document.querySelector("#header-content"))||void 0===t||t.addEventListener("keydown",function(e){"Space"!==e.code&&"Enter"!==e.code&&"Tab"!==e.code||(document.querySelector(".powa").focus(),e.preventDefault())})),(0,d.loadScript)("/pf/resources/vendor/video-tracking.js",[],function(){}),(0,d.loadScript)("/pf/resources/vendor/video-watch-time.js",[],function(){}),window.addEventListener("powaRender",function(e){var t,r,i,o,a,s,l,c,u,d,f,p,m,h,g=(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.element.childNodes[2])||null,v=g&&g.querySelector(".powa-shot-play-btn"),b=window.innerWidth<=1023,y=null,w=null,x=null,_=(null==e?void 0:e.detail.powa)||null,C="powa-".concat((null===(a=null===(o=null===(i=null===(r=n.props)||void 0===r?void 0:r.story)||void 0===i?void 0:i.promo_items)||void 0===o?void 0:o.video)||void 0===a?void 0:a._id)||""),j=n.powaRef.current||(null===(c=null===(l=null===(s=null==e?void 0:e.detail)||void 0===s?void 0:s.element)||void 0===l?void 0:l.parentElement)||void 0===c?void 0:c.parentElement),S=null==j?void 0:j.offsetWidth,O=(null===(d=null===(u=null==n?void 0:n.props)||void 0===u?void 0:u.videoOptions)||void 0===d?void 0:d.playFullScreen)||!0;if(_.on("promoPlay",function(){var t;v&&v.classList.contains("powa-shot-play-btn")&&(v.style.display="none"),n.setState({spinnerKey:(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.id)||""})}),_.on("play",function(t){var r,i,o,a;n.setState({spinnerKey:""}),S=(null===(r=null==t?void 0:t.element)||void 0===r?void 0:r.offsetWidth)||0;var s=(null===(i=null==t?void 0:t.element)||void 0===i?void 0:i.lastChild)||null;y=s&&s.querySelector(".powa-bar-time-and-scrubbers"),w=y&&y.querySelector(".powa-bar-time"),x=y&&y.querySelector(".powa-bar-duration"),w&&x&&S<190&&(w.style.display="none",x.style.display="none"),O&&b&&!n.isAutoplayVideo&&((null===(o=null==e?void 0:e.detail)||void 0===o?void 0:o.id)||"")===C&&!1===((null==t?void 0:t.fullscreen)||!1)&&(null===(a=(null==t?void 0:t.powa)||_)||void 0===a||a.fullscreen())}),S<190&&_.on("fullscreenClick",function(e){w&&x&&"block"===w.style.display&&"block"===x.style.display&&!0===(null==e?void 0:e.fullscreen)?(w.style.display="none",x.style.display="none"):w&&x&&!1===(null==e?void 0:e.fullscreen)&&(w.style.display="block",x.style.display="block")}),O&&b&&n.isAutoplayVideo&&((null===(f=null==e?void 0:e.detail)||void 0===f?void 0:f.id)||"")===C&&(null==j||j.addEventListener("click",function(){var e=null==j?void 0:j.querySelector("video");(null==e?void 0:e.paused)||null==_||_.fullscreen()})),_.on("end",function(){v&&v.classList.contains("powa-shot-play-btn")&&(v.style.display="block")}),(null==j?void 0:j.offsetWidth)>
2190){if(((null===(p=null==e?void 0:e.detail)||void 0===p?void 0:p.id)||"")===C){var k=(null===(h=null===(m=null==e?void 0:e.detail)||void 0===m?void 0:m.element)||void 0===h?void 0:h.childNodes[0])||null;k&&k.className===n.durationClassName&&(k.style.display="block")}_.on("play",function(e){var t,r=(null===(t=null==e?void 0:e.element)||void 0===t?void 0:t.childNodes[0])||null;r&&r.className===n.durationClassName&&(r.style.display="none")}),_.on("end",function(e){var t,r=(null===(t=null==e?void 0:e.element)||void 0===t?void 0:t.childNodes[0])||null;r&&r.className===n.durationClassName&&(r.style.display="block")})}})},t.prototype.componentWillUnmount=function(){window.removeEventListener("powaRender",null)},t.prototype.render=function(){var e,t,n,r,i,o,a,l,c,p,m,h,g,v,b,y,w,x,_,C,j,S,O,k=(null===(n=null===(t=null===(e=null==this?void 0:this.props)||void 0===e?void 0:e.story)||void 0===t?void 0:t.promo_items)||void 0===n?void 0:n.video)||{},E=(null===(a=null===(o=null===(i=null===(r=null==this?void 0:this.props)||void 0===r?void 0:r.story)||void 0===i?void 0:i.promo_items)||void 0===o?void 0:o.video)||void 0===a?void 0:a.duration)||"";if(!0===this.props.noContent)return(0,s.jsx)("div",{className:"powa hidden","data-org":"pmn","data-uuid":"","data-env":this.fusionEnv});var L=this.props.isVideoLeafPage&&(null===(c=null===(l=this.props.story)||void 0===l?void 0:l.additional_properties)||void 0===c?void 0:c.vertical)||!1,P=this.props.allowVerticalVideo&&(null===(m=null===(p=this.props.story)||void 0===p?void 0:p.additional_properties)||void 0===m?void 0:m.vertical)||!1,N=L||P,A=this.props.isDarkMode?f.DARK_MODE_CLASS:"text-primary",I=!(!(null===(h=null==this?void 0:this.props)||void 0===h?void 0:h.isLoopAndAutoplay)||(null===(g=null==this?void 0:this.props)||void 0===g?void 0:g.isVideoCardFeature)&&!(null===(b=null===(v=null==this?void 0:this.props)||void 0===v?void 0:v.videoOptions)||void 0===b?void 0:b.autoplay));return(0,s.jsx)("div",{className:"inq-video-card-wrapper video-wrapper ".concat(L?"px-5 bp-sm:aspect-video bp-sm:px-0":""," ").concat(A),children:(0,s.jsxs)("div",{ref:this.powaRef,className:"m-auto clear-both bg-black rounded ".concat(L?"h-full aspect-[9/16]":"w-full"),children:[(0,s.jsx)("div",{className:"absolute","data-script-path":"dzyf5jtgd0sxp","data-environment":this.fusionEnv}),(0,s.jsx)("div",{className:"goldfish-player","data-page-on":"1","data-producer":!0,children:(0,s.jsxs)("div",{className:"powa rounded ".concat(I?f.POWA_NO_PLAYER_CONTROLS_CLASS:""),id:"powa-"+k._id,"data-org":"pmn","data-uuid":k._id,"data-playthrough":"true","data-loop-with-controls":null!==(x=null===(w=null===(y=null==this?void 0:this.props)||void 0===y?void 0:y.videoOptions)||void 0===w?void 0:w.videoLoop)&&void 0!==x?x:null===(_=null==this?void 0:this.props)||void 0===_?void 0:_.isLoopAndAutoplay,"data-muted":I||null!==(S=null===(j=null===(C=null==this?void 0:this.props)||void 0===C?void 0:C.videoOptions)||void 0===j?void 0:j.muted)&&void 0!==S&&S,"data-autoplay":(null===(O=null==this?void 0:this.props)||void 0===O?void 0:O.showPromoImage)||this.isAutoplayVideo,"data-stream":0,"data-autoinit":!0,"data-debug":"false","data-aspect-ratio":N?"1.7778":this.props.imageRatio&&"16x9"===this.props.imageRatio?"0.5625":"0.6667","data-env":this.fusionEnv,children:[E&&(0,s.jsx)("span",{className:this.durationClassName,children:(0,s.jsx)("b",{children:(0,d.getTime)(E)})}),this.state.spinnerKey==="powa-".concat(k._id)&&(0,s.jsx)("div",{className:"powa-spinner h-[50px] w-[50px] m-auto top-1/2 left-1/2 absolute -translate-x-1/2 -translate-y-1/2 bg-contain z-10",children:(0,s.jsx)(u.Spinner,{})})]})})]})})},t}(l.default.Component);t.PowaVideo=m;var h=function(e){var t=l.default.useMemo(function(){return e.trackingVideo||null},[e.trackingVideo]),n=(null==t?void 0:t.withYouTubeTracking)||void 0,r=c.default;void 0!==n&&(r=n(c.default));var i=window.innerWidth<=1023,o=l.default.useMemo(function(){return{width:"100%",playerVars:{autoplay:e.videoOptions&&e.videoOptions.autoplay?1:0,mute:e.videoOptions&&e.videoOptions.muted?1:0,playsinline:i&&(0,d.iOS)()&&!(0,d.iPad)()?0:1}}},[e.videoOptions,i]),a="";return e.youtubeURL.split("v=")[1]&&(a=e.youtubeURL.split("v=")[1]),e.youtubeURL.split("youtu.be/")[1]&&(a=e.youtubeURL.split("youtu.be/")[1]),(0,s.jsx)("div",{className:"inq
2-video-card-wrapper",children:(0,s.jsx)("div",{className:"inq-youtube-card ".concat("16x9"===e.ratio?"youtube-16x9":"youtube-3x2"),children:(0,s.jsx)(r,{videoId:a.split("&")[0],opts:o,videoCategory:(null==t?void 0:t.videoCategory)||"",videoLocation:(null==t?void 0:t.videoLocation)||""})})})},g=function(e){function t(t){var n=e.call(this,t)||this;return n.timer=null,n.setPowaActive=function(e){n.setState({powaActive:e})},n.renderVideo=function(){var e,t,r,i,a,l,c,u=n.props,g=u.story,v=u.imageRatio,b=void 0===v?"16x9":v,y=u.videoOptions,w=u.showPromoImage,x=u.hideCaption,_=u.videoCredit,C=u.videoDesc,j=u.videoDescClass,S=u.isDarkMode,O=u.customVideoClass,k=u.allowVerticalVideo,E=u.dataEnv,L=u.noContent,P=u.isVideoLeafPage,N=u.isLongformV2FullWidth,A=u.isVideoCardFeature,I=(null===(t=null===(e=null==g?void 0:g.promo_items)||void 0===e?void 0:e.youtube)||void 0===t?void 0:t.content)||"",T=(null===(r=null==g?void 0:g.additional_properties)||void 0===r?void 0:r.storyStyle)||"standard",M=(null===(a=null===(i=null==g?void 0:g.promo_items)||void 0===i?void 0:i.video)||void 0===a?void 0:a._id)||"",R=S?f.DARK_MODE_CLASS:"text-primary",D=k&&(null===(l=null==g?void 0:g.additional_properties)||void 0===l?void 0:l.vertical)||!1,F=N&&!D||!1;return I&&"loud"!==T?(0,s.jsx)(h,o({},n.props,{ratio:b,youtubeURL:I})):M?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:L?"":"3x2"===b?"aspect-[3/2]":"".concat(D?"aspect-[9/16] mx-auto px-4 bp-xxs:px-0 bp-xxs:max-w-xs lg:max-w-[405px]":"aspect-video"),children:n.state.powaActive||!w?(0,s.jsx)(m,{story:g,videoOptions:y,imageRatio:b,hideCaption:x,videoCredit:_,videoDesc:C,videoDescClass:j,noContent:L,dataEnv:E,customVideoClass:O,allowVerticalVideo:k,isDarkMode:S,showPromoImage:w,isVideoLeafPage:P,isLoopAndAutoplay:(0,d.isVideoLoopAndAutoplay)(g),isVideoCardFeature:A}):(0,s.jsx)(p.default,{storyImage:null===(c=null==g?void 0:g.promo_items)||void 0===c?void 0:c.video,isVerticalVideo:D,imageRatio:b,isVideoCard:!((null==y?void 0:y.autoplay)||(0,d.isVideoLoopAndAutoplay)(g)),shouldRedirectToPage:!1,onClickImagePromo:function(){return n.setPowaActive(!0)}})}),!x&&(_||C)&&(0,s.jsx)("div",{className:"gallery-footer my-2 ".concat(F?"md:mx-auto":"mx-auto"," ").concat(D?"px-4 bp-xxs:px-0 bp-xxs:max-w-xs lg:max-w-[405px]":""),children:(0,s.jsxs)("figcaption",{className:"my-2 ".concat(F?"sm:max-w-lf-body mx-4 md:mx-auto":"mx-auto"),children:[(0,s.jsx)("div",{className:"video-credit type-author text-sm mt-2 ".concat(R),children:_||""}),(0,s.jsx)("div",{className:"type-caption mt-1 mb-4 mx-0 ".concat(j||"video-description bp-md:pb-0"," ").concat(R),dangerouslySetInnerHTML:{__html:C||""}})]})})]}):(0,s.jsx)(s.Fragment,{})},n.state={powaActive:!1},n}return i(t,e),t.prototype.componentDidMount=function(){var e,t,n,r,i=this;(null===(e=this.props)||void 0===e?void 0:e.showPromoImage)&&!(null===(n=null===(t=this.props)||void 0===t?void 0:t.videoOptions)||void 0===n?void 0:n.autoplay)&&!(0,d.isVideoLoopAndAutoplay)(null===(r=this.props)||void 0===r?void 0:r.story)||!1||(this.timer=setTimeout(function(){i.setState({powaActive:!0})},500))},t.prototype.componentWillUnmount=function(){this.timer&&clearTimeout(this.timer)},t.prototype.render=function(){return this.renderVideo()},t}(l.default.Component);t.VideoContent=l.default.memo(g)},29573:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809));t.default=o.default.memo(function(e){var t=e.carouselLabel,n=e.showArrows,r=void 0===n||n,o=e.onNextClick,a=e.onBackClick,s=e.customLabelClasses,l=void 0===s?"font-grot12-condensed text-6 sm:text-8 leading-none uppercase font-semibold text-black":s;return(0,i.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,i.jsx)("span",{className:l,children:t}),r&&(0,i.jsxs)("div",{className:"flex gap-1",children:[(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",onClick:a,className:"cursor-pointer",children:[(0,i.jsx)("rect",{x:"0.5",y:"0.499756",width:"23",height:"23",rx:"11.5",stroke:"#84858B"}),(0,i.jsx)("path",{d:"M11.1815 11.9998L15 15.8888L13.9092 16.9998L9 11.9998L13.9092 6.99976L15 8.11069L11.1815 11.9998Z",fill:"#222222"})]}),(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"cursor-pointer",onClick:o,children:[(0,i.jsx)("rect",{x:"0.5",y:"0.499756",width:"23",height:"23",rx:"11.5",stroke:"#84858B"}),(0,i.jsx)("path",{d:"M12.8185 11.9998L9 8.11069L10.0908 6.99976L15 11.9998L10.0908 16.9998L9 15.8888L12.8185 11.9998Z",fill:"#222222"})]})]})]})})},39464:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
2i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=a(n(40809)),u=s(n(29573)),d=n(58375);t.default=c.default.memo(function(e){var t=e.carouselLabel,n=e.children,r=e.cardWidth,i=void 0===r?235:r,o=e.showArrows,a=void 0===o||o,s=e.handleLoadMoreVideos,f=e.setFirstVisibleVideoId,p=e.customPackageLabelClasses,m=(0,c.useRef)(null),h=(0,c.useRef)(null),g=(0,c.useState)(0),v=g[0],b=g[1],y=(0,c.useState)(0),w=y[0],x=y[1],_=(0,c.useState)(0),C=_[0],j=_[1],S=(0,c.useState)(0),O=S[0],k=S[1],E=(0,c.useState)(0),L=E[0],P=E[1],N=(0,c.useState)(0),A=N[0],I=N[1],T=(0,c.useState)(0),M=T[0],R=T[1],D=(0,c.useState)(!1),F=D[0],B=D[1],V=(0,c.useMemo)(function(){return Math.floor((v+16)/(i+16))},[v,i]),H=(0,c.useMemo)(function(){var e=w/(V*(i+16));return e>Math.floor(e)?Math.ceil(e):Math.floor(e)},[w,V,i]),q=(0,c.useMemo)(function(){return a&&H>1},[a,H]),U=(0,c.useCallback)(function(){var e,t;b((null===(e=null==m?void 0:m.current)||void 0===e?void 0:e.clientWidth)||0),x((null===(t=null==h?void 0:h.current)||void 0===t?void 0:t.scrollWidth)||0)},[]),$=(0,c.useCallback)(function(){(null===window||void 0===window?void 0:window.PMNdataLayer)&&window.PMNdataLayer.push({event:"ga-generic-event",interactionType:"click",interactionDetail:(0,d.snakeCase)(t),userInteraction:"arrow_scroll"})},[t]),z=(0,c.useCallback)(function(){j(function(e){return e+1>=H?0:e+1}),$(),C<H-1&&s&&s()},[C,H]),G=(0,c.useCallback)(function(){j(function(e){return e-1<0?H-1:e-1}),$()},[H]),K=(0,c.useMemo)(function(){return C===H-1?Math.round(w-v):C*(V*(i+16))},[C,H,V,i,w,v]),Y=(0,c.useCallback)(function(e){var t,n,r=(null==e?void 0:e.touches)?null===(t=null==e?void 0:e.touches)||void 0===t?void 0:t[0].clientX:null==e?void 0:e.clientX,i=(null==e?void 0:e.touches)?null===(n=null==e?void 0:e.touches)||void 0===n?void 0:n[0].clientY:null==e?void 0:e.clientY;k(r),I(i),B(!1)},[]),W=(0,c.useCallback)(function(e){var t,n,r=(null==e?void 0:e.touches)?null===(t=null==e?void 0:e.touches)||void 0===t?void 0:t[0].clientX:null==e?void 0:e.clientX,i=(null==e?void 0:e.touches)?null===(n=null==e?void 0:e.touches)||void 0===n?void 0:n[0].clientY:null==e?void 0:e.clientY;if(O){P(r),R(i);var o=Math.abs(O-r),a=Math.abs(A-i);(o>10||a>10)&&B(!0),o>a&&e.preventDefault()}},[O,A]),Z=(0,c.useCallback)(function(){F&&(O-L>40&&z(),O-L<-40&&G()),k(0),P(0),B(!1)},[F,O,L,z,G,A,M]);return(0,c.useEffect)(function(){var e=null==h?void 0:h.current;if(e)return e.addEventListener("mousedown",Y),e.addEventListener("mousemove",W),e.addEventListener("mouseup",Z),e.addEventListener("touchstart",Y),e.addEventListener("touchmove",W),e.addEventListener("touchend",Z),function(){e.removeEventListener("mousedown",Y),e.removeEventListener("mousemove",W),e.removeEventListener("mouseup",Z),e.removeEventListener("touchstart",Y),e.removeEventListener("touchmove",W),e.removeEventListener("touchend",Z)}},[Y,W,Z]),(0,c.useEffect)(function(){return U(),window.addEventListener("resize",U),function(){window.removeEventListener("resize",U)}},[]),(0,c.useEffect)(function(){if(f){var e=K/(i+16),t=C===H-1?Math.ceil(e):0===C?0:Math.round(e);f(t)}},[K,i,C,H]),(0,l.jsxs)("div",{ref:m,className:"flex flex-col items-center w-full gap-4",children:[(0,l.jsx)(u.default,{carouselLabel:t,showArrows:q,onNextClick:z,onBackClick:G,customLabelClasses:p}),(0,l.jsx)("div",{className:"relative w-full overflow-hidden flex",children:(0,l.jsx)("div",{ref:h,className:"flex gap-4 transition-transform duration-300 sm:duration-500 ease-in-out",style:{transform:"translateX(-".concat(K,"px)")},children:n})})]})})},38549:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(34766),i=n(40809);t.default=function(e){var t=e.bgColor,n=e.borderColor,o=e.hoverClasses,a=e.size,s=void 0===a?"sm":a,l=e.selected,c=e.id,u=e.href,d=e.dataLinkType,f=e.chipName,p=e.tabIndex,m=e.isDarkMode,h=void 0!==m&&m,g=e.customClasses,v=void 0===g?"":g,b=e.onClick,y=e.onKeyDown,w=(0,i.useMemo)(function(){var e=o?"".concat(o):"".concat(h?"hover:bg-secondary focus-visible:bg-secondary":"hover:bg-neutral-light-gray focus-visible:bg-neutral-light-gray"," "),r=l?"".concat(h?"text-primary":"text-white"," ").concat(t||(h?"bg-neutral-white":"bg-primary")):"".concat(h?"bg-neutral-mid-gray text-neutral-white":"bg-white text-primary"," ").concat(e),i="sm"===s?"text-3 leading-4 py-1 px-3":"text-4 leading-5 py-2.5 px-4";return"font-grot10 block no-underline font-bold inline-block rounded-full overflow-hidden border border-solid ".concat(n||(h?"border-neutral-white":"border-neutral-black")," ").concat(r," ").concat(i)},[l,t,s,n,o,h]);return(0,r.jsx)("a",{className:"".concat(w," ").concat(v),id:c,href:u,"data-link-type":d||"",role:"tab",tabIndex:p,"aria-selected":l,onClick:b||void 0,onKeyDown:y||void 0,children:f})}},59190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadlineItem=void 0;var r=n(34766),i=n(64290),o=n(10348),a=n(58375),s=n(83476);t.HeadlineItem=function(e){var t,n=e.headlineItem,l=e.mapIndex,c=e.feedLength,u=e.feedProvenance,d=e.dataCardType,f=e.dataLinkType,p=void 0===f?"headline-list-card":f,m=e.hasIcons,h=void 0===m||m,g=e.themeColor,v=e.hasLessThan3HoursFormatTimestamp,b=e.headlineItemCustomClasses,y=e.hasTimestamps,w=void 0===y||y,x=e.iconType,_=e.hasEyebrow,C=g||"";"bullet"===x&&(C+=" mt-0.5 fill-blue-mid");var j,S,O=void 0!==_&&_||(0,a.isSpecialCard)((null===(t=null==n?void 0:n.taxonomy)||void 0===t?void 0:t.sections)||[]);return(0,r.jsxs)("li",{className:"inq-headline-item block font-normal ".concat((0,a.isEmpty)(b)?"":b),children:[(h||n.logo)&&(n.logo?(0,r.jsx)("img",{className:"float-left h-4 w-4 mt-0.5 mr-3.5 mb-auto",src:n.logo,alt:(j=n.logo,S=j.substring(j.lastIndexOf("/")+1,j.length),S.substring(0,S.lastIndexOf(".")).replace(/[-_+]/g," "))}):(0,r.jsx)(i.BulletIcon,{size:"small",customClass:C})),O&&(0,r.jsx)(s.Eyebrow,{isInHeadlineItem:!0,onClick:null==n?void 0:n.onClick}),(0,r.jsx)("a",{href:n.link,"data-link-type":p,"data-card-index":l,"data-feed-length":c,"data-feed-provenance":u,"data-card-type":d,className:"inq-headline-list-title type-headline-items text-neutral-text-color align-middle".concat("bullet"===x?" xs:font-normal":""),onClick:null==n?void 0:n.onClick,children:n.title}),(n.byline||n.timestamp)&&(0,r.jsxs)("span",{className:"align-middle",children:[n.byline&&(0,r.jsxs)("span",{className:"inq-headline-list-byline type-article-details text-neutral-light-text",children:[n.byline," "]}),n.timestamp&&w&&(0,r.jsx)("span",{className:"inq-headline-list-byline type-article-details text-neutral-light-text",children:(0,r.jsx)(o.PublishDate,{date:n.timestamp,isLatestList:!0,hasLessThan3HoursFormatTimestamp:v})})]})]})}},82373: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.HeadlineList=void 0;var i=n(34766),o=n(59190),a=n(12798),s=n(83732),l=function(e){switch(e){case s.ThemeColor.Green:return"green";case s.ThemeColor.Orange:return"orange";case s.ThemeColor.Gray:return"gray";default:return"blue"}};t.HeadlineList=function(e){var t=e.headlines,n=e.title,s=void 0===n?"Latest Headlines":n,c=e.mapIndex,u=e.feedLength,d=e.feedProvenance,f=e.dataCardType,p=e.dataLinkType,m=void 0===p?"headline-list-card":p,h=e.hasIcons,g=void 0===h||h,v=e.themeColor,b=e.headlineItemCustomClasses,y=e.onClickHeader,w=e.collapsed,x=e.backgroundColor,_=e.hasLessThan3HoursFormatTimestamp,C=e.hasTimestamps,j=e.iconType,S=e.noBorder,O=e.lastListElement,k=void 0!==v,E=void 0!==y,L=void 0!==x&&x.toString().length>0;
2return(0,i.jsxs)("div",{className:"inq-headline-list ".concat(S?"no-border":""),children:[(0,i.jsx)("div",r({},!0===L&&{style:{backgroundColor:x}},!0===E&&{onClick:y},{className:"headline-header-wrapper type-section-header-3 ".concat(w?"collapsed":"expanded"," ").concat(E?"click-able":""),children:(0,i.jsxs)("div",{className:"inq-eyebrow ".concat(S?"sm:pb-5 md:pb-3 max-sm:text-6 max-sm:leading-6 big-tablet:text-10 big-tablet:leading-10 text-8 leading-8":"max-sm:text-6 max-sm:leading-6 big-tablet:text-10 big-tablet:leading-10 text-8 leading-8"," ").concat(k?l(v):""),children:[" ",(0,i.jsx)("span",{className:"headline-title-text text-black",children:s}),(0,i.jsx)("span",{className:"headline-toggle-icon",children:(0,i.jsx)(a.ToggleIcon,{color:v,isOpen:!1===w})})]})})),(0,i.jsxs)("ul",r({},!0===L&&{style:{background:"linear-gradient(to bottom, ".concat(x,", rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1))")}},{className:"container-wrapper ".concat(w?"collapsed":""),children:[t.map(function(e,t){return(0,i.jsx)(o.HeadlineItem,{headlineItem:e,hasIcons:g,dataLinkType:m,mapIndex:c,feedLength:u,feedProvenance:d,dataCardType:f,hasLessThan3HoursFormatTimestamp:_,headlineItemCustomClasses:b,hasTimestamps:C,iconType:j},t)}),O&&(0,i.jsx)("li",{className:"inq-headline-item block font-normal",children:O})]}))]})}},41476:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Caption=void 0;var r=n(34766),i=n(40809),o=n(84967);t.Caption=function(e){var t=e.caption,n=void 0===t?"":t,a=e.credit,s=void 0===a?"":a,l=e.captionId,c=void 0===l?"":l,u=e.creditClasses,d=void 0===u?"":u,f=e.captionClasses,p=void 0===f?"":f,m=e.readMoreClasses,h=void 0===m?"":m,g=e.isDarkMode,v=(0,i.useRef)(null),b=(0,i.useState)(!0),y=b[0],w=b[1],x=(0,i.useState)(!1),_=x[0],C=x[1],j=(0,r.jsxs)("span",{className:"relative block type-caption ".concat(p),children:[(0,r.jsx)("span",{ref:v,className:"inq-fig--caption type-caption ".concat(y?"truncated":""," ").concat(g?o.DARK_MODE_CLASS:"text-primary"),children:n}),y&&(0,r.jsx)("a",{className:"inq-fig--expend-btn font-bold absolute bottom-0 right-0 cursor-pointer ".concat(_?"":" hidden-read-more"," ").concat(g?o.DARK_MODE_CLASS:"text-primary bg-white"," ").concat(h),role:"button",onClick:function(){return w(!1)},"data-click-event":"expand-caption",children:"Read more"})]}),S=(0,r.jsx)("span",{className:"inq-fig--credit block type-author text-sm mt-1 ".concat(g?o.DARK_MODE_CLASS:"text-primary"," ").concat(d," "),children:s}),O=(0,i.useCallback)(function(){if(v.current){var e=v.current.firstChild;if(!e||!document.createRange)return C(!1);var t=document.createRange();t.selectNodeContents(e);var n=0;if(t.getBoundingClientRect){var r=t.getBoundingClientRect().height;n=parseInt(String(r-4))}var i=v.current.getBoundingClientRect().height;C(n>i)}},[]);return(0,i.useEffect)(function(){return window.addEventListener("resize",O),function(){return window.removeEventListener("resize",O)}},[O]),(0,i.useEffect)(function(){O()},[n,O]),(0,i.useEffect)(function(){return window.addEventListener("load",O),function(){return window.removeEventListener("load",O)}},[]),(0,r.jsxs)("figcaption",{id:c,className:"inq-image__caption",children:[n&&j,s&&S]})}},61582: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;var i=n(34766),o=n(40809),a=n(41476),s=["3x2","16x9","1x1"],l=["card","topper"];t.Image=function(e){var t,n,f=e.showPlayButton,p=void 0!==f&&f,m=e.duration,h=void 0===m?"unset":m,g=e.linkEmbedded,v=void 0===g?"":g,b=e.src,y=e.srcset,w=e.dataImg,x=void 0===w?{}:w,_=e.alt,C=void 0===_?"":_,j=e.type,S=void 0===j?"":j,O=e.caption,k=void 0===O?"":O,E=e.credit,L=void 0===E?"":E,P=e.imageRatio,N=void 0===P?"":P,A=e.imageAlignment,I=void 0===A?"":A,T=e.skeleton,M=void 0!==T&&T,R=e.sizes,D=void 0===R?null:R,F=e.captionClasses,B=void 0===F?"":F,V=e.hasLazyLoad,H=void 0!==V&&V,q=e.decodingImg,U=void 0===q?"async":q,$=e.imageWidth,z=e.imageHeight,G=e.creditClasses,K=void 0===G?"":G,Y=e.readMoreClasses,W=void 0===Y?"":Y,Z=e.isDarkMode,J=(0,o.useState)(b&&M||!1),X=J[0],Q=J[1],ee=(0,o.useState)(!1),te=ee[0],ne=ee[1],re=s.includes(N),ie=l.includes(S),oe=re&&ie?"inq-".concat(S,"__figure inq-").concat(S,"__figure-").concat(N):"",ae=(null===(n=null===(t=null==b?void 0:b.split("/"))||void 0===t?void 0:t.pop())||void 0===n?void 0:n.replace(/\./g,""))||"",se=["inq-image",X?"inq-image-placeholder inq-skeleton hidden-inq-image":"visible-inq-image","topper"===S?["inq-story__image",re?"inq-story__image-with-ratio":""]:"","card"===S?["inq-card__image",re?"inq-card__image-with-ratio":"","right"===I?"inq-card__image-align-right":""]:"","article"===S?["object-contain max-h-75vh h-full w-screen sm:w-full -mx-4 sm:mx-0"]:"","gallery"===S?["object-contain max-h-75vh h-full w-full mb-2"]:"","swipeable"===S?["h-full"]:""].flat().join(" ").trim(),le=(0,o.useMemo)(function(){var e=k.slice(0,20).replace(/ /g,"-").toLowerCase()+"-caption";return"inq-fig--figcaption-".concat(e||"generic-figcaption")},[k]),ce="card"!==S&&(k||L)||"card"===S&&!!v&&!re;return(0,o.useEffect)(function(){"objectFit"in document.documentElement.style==!1&&ne(!0)}
2,[]),(0,i.jsx)("div",{className:"inq-image--wrapper figure ".concat(Z?"bg-primary":""),children:(0,i.jsxs)("figure",{className:oe,role:"figure","aria-describedby":le,children:[(0,i.jsx)(c,{showPlayButton:p,duration:h}),(0,i.jsx)(u,{linkEmbedded:v,children:(0,i.jsx)(d,{useFallback:te,imageName:ae,imageClass:se,type:S,caption:k,validRatio:re,isLoading:X,imgProps:r(r(r(r(r({src:b,srcSet:y,alt:C,sizes:D,style:null},x),H&&{loading:"lazy"}),$&&{width:$}),z&&{height:z}),U&&{decoding:U}),onImageLoad:function(){return Q(!1)}})}),ce&&(0,i.jsx)(a.Caption,{caption:k,credit:L,captionClasses:B,captionId:le,creditClasses:K,readMoreClasses:W,isDarkMode:Z})]})})};var c=function(e){var t=e.showPlayButton,n=void 0!==t&&t,r=e.duration,o=void 0===r?"":r;return(0,i.jsxs)(i.Fragment,{children:[n&&(0,i.jsx)("span",{className:"absolute text-center w-full top-1/2",children:(0,i.jsx)("i",{className:"m-auto mt-[-25px] block w-13 h-13 bg-center bg-no-repeat bg-contain bg-play-icon"})}),"unset"!==o&&(0,i.jsx)("span",{className:"font-ringside-regular font-bold text-3.5 text-neutral-white absolute rounded bg-[#222222bf] leading-[30px] px-2 py-0 left-3.5 bottom-3.5 z-2 hidden",children:(0,i.jsx)("b",{children:o})})]})},u=function(e){var t=e.children,n=e.linkEmbedded,r=void 0===n?"":n;return r?(0,i.jsx)("a",{href:r,rel:"noopener noreferrer",className:"inq-image",children:t}):t},d=function(e){var t=e.imageClass,n=void 0===t?"":t,o=e.useFallback,a=void 0!==o&&o,s=e.type,l=void 0===s?"":s,c=e.caption,u=void 0===c?"":c,d=e.validRatio,f=void 0!==d&&d,p=e.isLoading,m=void 0!==p&&p,h=e.imgProps,g=void 0===h?{}:h,v=e.onImageLoad,b=void 0===v?function(){}:v,y=g.src,w=g.alt,x=g.srcSet,_="card"===l?u:"";if("inq-card__image"===n&&a){var C={background:"url('".concat(y,"') no-repeat 50%"),objectFit:"cover"};g.style=C,g.src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%'%3E%3C/svg%3E"}var j=(0,i.jsx)("img",r({className:n,onLoad:b},g,{src:g.src||null,alt:w||_,srcSet:x||null}));return y&&"topper"===l&&f?(0,i.jsx)("div",{className:"inq-image inq-image-topper-style",children:j}):(0,i.jsx)("div",{className:"inq-image ".concat(m?"inq-image-placeholder inq-skeleton":""),children:j})}},56436:function(e,t,n){"use strict";t.DividerColor=t.DividerType=void 0,t.Divider=function(e){var t=e.type,n=void 0===t?r.standard:t,a=e.color,s=void 0===a?i.standard:a,l=[n?"":"h-px",s?"":"bg-gray-light"].join(" ");return(0,o.jsx)("hr",{className:"".concat(l," w-full border-0 inq-divider inq-divider--").concat(n," inq-divider--").concat(s)})};var r,i,o=n(34766);!function(e){e.standard="standard",e.bold="bold",e.bolder="bolder"}(r||(t.DividerType=r={})),function(e){e.standard="",e.pink="pink",e.orange="orange",e.yellow="yellow",e.green="green",e["dark-green"]="dark-green",e.periwinkle="periwinkle",e.cyan="cyan",e.blue="blue",e["dark-blue"]="dark-blue",e.red="red",e.purple="purple",e.teal="teal",e.black="black",e["mid-gray"]="mid-gray",e.rainbow="rainbow",e["gradient-cyan"]="gradient-cyan",e["gradient-blue"]="gradient-blue",e["gradient-purple"]="gradient-purple",e["gradient-orange"]="gradient-orange",e["gradient-red"]="gradient-red"}(i||(t.DividerColor=i={}))},29063:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.teamColors=void 0,t.teamColors=[{id:354,lightMode:"#004C54",darkMode:"#FFFFFF"},{id:356,lightMode:"#000000",darkMode:"#A5ACAF"},{id:348,lightMode:"#002244",darkMode:"#A5ACAF"},{id:352,lightMode:"#125740",darkMode:"#FFFFFF"},{id:323,lightMode:"#A71930",darkMode:"#A5ACAF"},{id:359,lightMode:"#AA0000",darkMode:"#B3995D"},{id:331,lightMode:"#003594",darkMode:"#FFFFFF"},{id:339,lightMode:"#E31837",darkMode:"#FFB81C"},{id:364,lightMode:"#0085CA",darkMode:"#A5ACAF"},{id:362,lightMode:"#D50A0A",darkMode:"#A5ACAF"},{id:341,lightMode:"#000000",darkMode:"#A5ACAF"},{id:334,lightMode:"#0076B6",darkMode:"#A5ACAF"},{id:357,lightMode:"#0080C6",darkMode:"#FFC20E"},{id:332,lightMode:"#002244",darkMode:"#A5ACAF"},{id:350,lightMode:"#000000",darkMode:"#D3BC8D"},{id:351,lightMode:"#0B2265",darkMode:"#A5ACAF"},{id:363,lightMode:"#773141",darkMode:"#FFC20E"}]},29444:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
2i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.customFormatDateForGameday=void 0;var l=n(34766),c=a(n(40809)),u=s(n(65732)),d=n(58375);t.customFormatDateForGameday=function(e){var t=new Date(Date.UTC(e.year,e.month-1,e.date,e.hour,e.minute));return"".concat(new Intl.DateTimeFormat("en-US",{month:"long",day:"numeric",year:"numeric"}).format(t)," | ").concat(new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric"}).format(t))};var f=function(e,t){return null==e?void 0:e.find(function(e){var n=e.teamLocationType;return(null==n?void 0:n.name)===t})};t.default=c.default.memo(function(e){var n=e.startDate,r=void 0===n?[]:n,i=e.teams,o=void 0===i?[]:i,a=(0,c.useMemo)(function(){return{homeTeam:f(o,"home"),awayTeam:f(o,"away")}},[o]),s=a.homeTeam,p=a.awayTeam,m=(0,c.useMemo)(function(){var e=null==r?void 0:r.find(function(e){return"UTC"===e.dateType});return(0,t.customFormatDateForGameday)(e)},[r]);return(0,d.isEmpty)(r)||(0,d.isEmpty)(o)?null:(0,l.jsx)("div",{className:"inq-gameday-top",children:(0,l.jsxs)("div",{className:"uppercase",children:[(0,l.jsx)("div",{className:"start-day font-grot10 text-3 font-normal capitalize leading-4 text-neutral-light-text",children:m}),(0,l.jsxs)("div",{className:"teams mt-4",children:[(0,l.jsx)(u.default,{team:s}),(0,l.jsx)("div",{className:"-mt-[5px] xl:mt-0",children:(0,l.jsx)(u.default,{team:p})})]})]})})})},65732:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});var s=n(34766),l=a(n(40809)),c=n(29063);t.default=l.default.memo(function(e){var t=e.team,n=(0,l.useMemo)(function(){var e,n,r=(null==t?void 0:t.teamId)||0,i=(null==t?void 0:t.location)||"";return{isAwayTeamSelected:""!==i&&null!==i,color:(null===(e=c.teamColors.find(function(e){return e.id===r}))||void 0===e?void 0:e.lightMode)||"",displayName:"".concat((null==t?void 0:t.location)||""," ").concat((null==t?void 0:t.nickname)||""),logoSrc:null===(n=null==t?void 0:t.logos)||void 0===n?void 0:n[0]}},[t]),r=n.isAwayTeamSelected,i=void 0!==r&&r,o=n.color,a=void 0===o?"":o,u=n.displayName,d=void 0===u?"":u,f=n.logoSrc,p=void 0===f?"":f;return(0,s.jsxs)("div",{className:"info-detail flex items-center",children:[(0,s.jsx)("div",{className:"logo mr-2",children:i?(0,s.jsx)("img",{className:"img w-10",alt:"",src:p}):(0,s.jsx)("div",{className:"w-10"})}),i?(0,s.jsx)("div",{className:"uppercase font-inquirer-headline font-normal leading-[44px] md:text-6 lg:text-8 xl:text-11",style:{color:"".concat(a)},children:d}):"TBD"]})})},72541:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.AddIcon=void 0;var r=n(34766),i=n(83732);t.AddIcon=function(e){var t=e.color,n=void 0===t?i.ThemeColor.Blue:t,o=e.size,a=void 0===o?"small":o;return(0,r.jsx)("div",{className:"inq-icon inq-icon--add inq-icon--".concat(a),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:"block",children:(0,r.jsx)("path",{d:"M11 11V2H13V11H22V13H13V22H11V13H2V11H11Z",fill:n})})})}},40778: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowBackwardIcon=void 0;var i=n(34766);t.ArrowBackwardIcon=function(e){var t=e.size,n=e.color,o=e.wrapperClassName,a=void 0===o?"":o,s=e.customClass,l=void 0===s?"":s;return(0,i.jsx)("div",{className:"inq-icon inq-icon--arrow-forward inq-icon--".concat(t," ").concat(a),children:(0,i.jsx)("svg",r({width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l?{className:l}:{},{children:(0,i.jsx)("path",{d:"M3.828 8.99934L9.192 14.3633L7.778 15.7773L6.79974e-07\n               7.99934L7.778 0.221343L9.192 1.63534L3.828 6.99934L20 6.99934L20 8.99934L3.828 8.99934Z",fill:n||"black"})}))})}},43048: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowForwardIcon=void 0;var i=n(34766);t.ArrowForwardIcon=function(e){var t=e.size,n=e.color,o=e.wrapperClassName,a=void 0===o?"":o,s=e.customClass,l=void 0===s?"":s;return(0,i.jsx)("div",{className:"inq-icon inq-icon--arrow-forward inq-icon--".concat(t," ").concat(a),children:(0,i.jsx)("svg",r({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:n||"black"},l?{className:l}:{},{children:(0,i.jsx)("path",{d:"M18.172 11L12.808 5.63598L14.222 4.22198L22 12L14.222 19.778L12.808 18.364L18.172 13H2V11H18.172Z"})}))})}},79603:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlueskyIcon=void 0;var r=n(34766);t.BlueskyIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=e.width,a=void 0===o?"24":o,s=e.height,l=void 0===s?"24":s;return(0,r.jsx)("div",{className:"inq-icon inq-icon--bluesky inq-icon--".concat(n),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:l,viewBox:"0 0 40 40",fill:"currentColor",children:[(0,r.jsx)("title",{children:"Bluesky"}),(0,r.jsx)("path",{d:"M8.67062 2.67029C13.2563 6.54889 18.1894 14.412 20 18.6317V29.777C20 29.5398 19.9188 29.8078 19.7437 30.3854C18.7987 33.5124 15.1075 45.7166 6.66687 35.9601C2.2225 30.8233 4.28 25.6864 12.37 24.1356C7.74187 25.0226 2.53875 23.5566 1.11125 17.8092C0.7 16.1559 0 5.97204 0 4.5966C0 -2.29322 5.36188 -0.127606 8.67062 2.67029ZM31.3294 2.67029C26.7437 6.54889 21.8106 14.412 20 18.6317V29.777C20 29.5398 20.0812 29.8078 20.2563 30.3854C21.2013 33.5124 24.8925 45.7166 33.3331 35.9601C37.7775 30.8233 35.72 25.6864 27.63 24.1356C32.2581 25.0226 37.4613 23.5566 38.8887 17.8092C39.3 16.1559 40 5.97204 40 4.5966C40 -2.29322 34.6387 -0.127606 31.3294 2.67029Z",fill:i})]})})}},64290:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BulletIcon=void 0;var r=n(34766);t.BulletIcon=function(e){var t=e.size,n=e.customClass;
2return(0,r.jsx)("div",{className:"inq-icon inq-icon--bullet inq-icon--".concat(t),children:(0,r.jsx)("svg",{"aria-hidden":"true",viewBox:"0 0 32 32",focusable:"false",className:n,children:(0,r.jsx)("circle",{stroke:"none",cx:"16",cy:"16",r:"7.47"})})})}},5185: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronDownIcon=void 0;var i=n(34766);t.ChevronDownIcon=function(e){var t=e.size,n=e.customClass,o=e.wrapperClassName,a=void 0===o?"":o,s=e.color,l=void 0===s?"black":s;return(0,i.jsx)("div",{className:"inq-icon inq-icon--chevron-down inq-icon--".concat(t," ").concat(a),children:(0,i.jsx)("svg",r({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"black"},n?{className:n}:{},{children:(0,i.jsx)("path",{d:"M12 13.6369L19.7781 6L22 8.18154L12 18L2 8.18154L4.22187 6L12 13.6369Z",fill:l})}))})}},94764:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronLeftIcon=void 0;var r=n(34766);t.ChevronLeftIcon=function(e){var t=e.color,n=void 0===t?"black":t,i=e.size;return(0,r.jsx)("div",{className:"inq-icon inq-icon--chevron-left inq-icon--".concat(i),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 30",fill:"none",children:(0,r.jsx)("path",{d:"M17.2718 19.9998L30 32.9634L26.3641 36.6665L10 19.9998L26.3641 3.33317L30 7.03629L17.2718 19.9998Z",fill:n})})})}},89297:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronRightIcon=void 0;var r=n(34766);t.ChevronRightIcon=function(e){var t=e.size,n=e.customClass,i=void 0===n?"w-10 h-10 text-black":n;return(0,r.jsx)("div",{className:"inq-icon inq-icon--chevron-right inq-icon--".concat(t),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:i,viewBox:"0 0 40 40",fill:"currentColor",children:(0,r.jsx)("path",{d:"M22.7282 20.0002L10 7.03662L13.6359 3.3335L30 20.0002L13.6359 36.6668L10 32.9637L22.7282 20.0002Z"})})})}},65096: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronUpIcon=void 0;var i=n(34766);t.ChevronUpIcon=function(e){var t=e.size,n=e.customClass,o=e.color,a=void 0===o?"black":o;return(0,i.jsx)("div",{className:"inq-icon inq-icon--chevron-up inq-icon--".concat(t),children:(0,i.jsx)("svg",r({width:"11px",height:"7px",viewBox:"0 0 11 7",version:"1.1"},n?{className:n}:{},{children:(0,i.jsx)("path",{d:"M5.83008 2.37685L1.94101 6.19531L0.830078 5.10454L5.83008 0.195312L10.8301 5.10454L9.71914 6.19531L5.83008 2.37685Z",fill:a})}))})}},67334:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloseIcon=void 0;var r=n(34766);t.CloseIcon=function(e){var t=e.size,n=e.customClass,i=e.width,o=void 0===i?24:i,a=e.height,s=void 0===a?24:a;return(0,r.jsx)("div",{className:"inq-icon inq-icon--close inq-icon--".concat(t),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:s,viewBox:"0 0 24 24",className:n,children:[(0,r.jsx)("title",{children:"Close"}),(0,r.jsx)("path",{d:"M12 10.4618L20.4618 2L22 3.53822L13.5382 12L22 20.4618L20.4618 22L12 13.5382L3.53822 22L2 20.4618L10.4618 12L2 3.53822L3.53822 2L12 10.4618Z"})]})})}},63906:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmailIcon=void 0;var r=n(34766);t.EmailIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"currentColor":i,a=e.width,s=void 0===a?"24":a,l=e.height,c=void 0===l?"24":l,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--email inq-icon--".concat(n).concat(d),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:c,viewBox:"0 0 24 24",fill:o,children:[(0,r.jsx)("title",{children:"Email"}),(0,r.jsx)("path",{d:"M3 3H21C21.2652 3 21.5196 3.10536 21.7071 3.29289C21.8946 3.48043 22 3.73478 22 4V20C22 20.2652 21.8946 20.5196 21.7071 20.7071C21.5196 20.8946 21.2652 21 21 21H3C2.73478 21 2.48043 20.8946 2.29289 20.7071C2.10536 20.5196 2 20.2652 2 20V4C2 3.73478 2.10536 3.48043 2.29289 3.29289C2.48043 3.10536 2.73478 3 3 3ZM12.06 11.683L5.648 6.238L4.353 7.762L12.073 14.317L19.654 7.757L18.346 6.244L12.06 11.683Z"})]})})}},40438:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.FacebookIcon=void 0;var r=n(34766);t.FacebookIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"currentColor":i,a=e.width,s=void 0===a?"24":a,l=e.height,c=void 0===l?"24":l,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--facebook inq-icon--".concat(n).concat(d),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:c,viewBox:"0 0 24 24",fill:o,style:{width:"".concat(s,"px"),height:"".concat(c,"px")},children:[(0,r.jsx)("title",{children:"Facebook Logo"}),(0,r.jsx)("path",{d:"M14 13.5H16.5L17.5 9.5H14V7.5C14 6.47 14 5.5 16 5.5H17.5V2.14C17.174 2.097 15.943 2 14.643 2C11.928 2 10 3.657 10 6.7V9.5H7V13.5H10V22H14V13.5Z"})]})})}},24429:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GestureIcon=void 0;var r=n(34766);t.GestureIcon=function(e){var t=e.size,n=void 0===t?"none":t,i=e.animated,o=void 0!==i&&i,a=e.width,s=void 0===a?"24":a,l=e.height,c=void 0===l?"24":l;return(0,r.jsx)("div",{className:"inq-icon inq-icon--".concat(n),children:(0,r.jsx)("svg",{width:s,height:c,viewBox:"0 0 63 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o?{animation:"gestureBounce 1.5s ease-in-out infinite"}:{},children:(0,r.jsx)("path",{d:"M51.0814 45.3187C48.4361 48.7221 45.2807 50.8964 41.6154 51.8418C37.9583 52.8004 33.8541 52.5276 29.3029 51.0233L17.4851 47.1043C17.0727 46.9751 16.6529 46.8045 16.2256 46.5924C15.8033 46.3589 15.4398 46.1162 15.135 45.8644C14.0287 45.008 13.45 43.9786 13.3988 42.7762C13.3525 41.5522 13.7277 40.4425 14.5245 39.4472C15.043 38.7732 15.6898 38.3045 16.4649 38.0412C17.2533 37.7697 18.1278 37.7391 19.0884 37.9496L22.3404 38.8194C22.4563 38.8575 22.5325 38.8467 22.5689 38.7871C22.6369 38.6894 22.6244 38.5958 22.5317 38.5064L7.86009 27.057C6.60143 26.0748 5.88605 24.9004 5.71392 23.534C5.53352 22.1543 5.91872 20.8542 6.86952 19.6336C7.8021 18.4429 8.95325 17.7788 10.323 17.6415C11.6844 17.4909 13.0011 17.9026 14.273 18.8766L19.8152 23.2347C20.024 22.7726 20.2658 22.3636 20.5408 22.0075C21.1851 21.1811 21.9554 20.6445 22.8514 20.3978C23.7524 20.1296 24.6816 20.157 25.6389 20.4801C25.8791 19.8325 26.1971 19.2653 26.593 18.7784C27.2241 17.9603 27.962 17.4163 28.8067 17.1464C29.6515 16.8765 30.516 16.889 31.4004 17.1839C32.8266 15.4267 34.5525 14.5325 36.5781 14.5012C38.6169 14.4617 40.7253 15.2999 42.9031 17.016L47.3274 20.4697C50.3233 22.8169 52.4563 25.3901 53.7264 28.1892C54.9965 30.9884 55.4062 33.8554 54.9554 36.7903C54.5261 39.73 53.2348 42.5729 51.0814 45.3187ZM48.016 42.7571C49.7238 40.566 50.7434 38.3351 51.0749 36.0645C51.398 33.7805 51.0281 31.552 49.965 29.3789C48.9068 27.1843 47.1423 25.1271 44.6714 23.2072L40.7439 20.1064C39.4206 19.1092 38.2497 18.5327 37.2311 18.3769C36.2125 18.2211 35.4192 18.5142 34.851 19.2562L36.7067 20.7221C37.0793 21.0236 37.2913 21.407 37.3426 21.8724C37.3856 22.3246 37.2696 22.7287 36.9947 23.0848C36.7064 23.4491 36.3313 23.6743 35.8692 23.7604C35.4071 23.8465 34.9856 23.7322 34.6047 23.4175L31.6932 21.1465C31.2692 20.8218 30.8378 20.6768 30.3989 20.7116C29.96 20.7463 29.5807 20.9649 29.261 21.3674C29.0075 21.7284 28.8228 22.111 28.7069 22.5151L32.0878 25.1836C32.4654 25.4636 32.6691 25.8337 32.6989 26.2942C32.7419 26.7463 32.6235 27.1612 32.3435 27.5388C32.0735 27.8734 31.7075 28.0837 31.2454 28.1697C30.775 28.2426 30.3535 28.1283 29.9808 27.8268L25.6261 24.4402C25.1938 24.1023 24.7624 23.9573 24.3317 24.0053C23.8928 24.04 23.5243 24.2611 23.2261 24.6685C23.0787 24.8159 22.9561 25.003 22.8584 25.2299C22.7656 25.4353 22.6861 25.6324 22.6198 25.8212L27.4516 29.5731C27.8159 29.8613 28.0238 30.2381 28.0751 30.7035C28.1264 31.1689 28.0038 31.5772 27.7073 31.9283C27.4406 32.2976 27.0762 32.5253 26.6141 32.6114C26.1569 32.6759 25.7288 32.5657 25.3297 32.2808L11.771 21.6837C11.4199 21.3872 11.0506 21.2679 10.663 21.3259C10.2804 21.3623 9.9541 21.5477 9.6841 21.8823C9.42238 22.23 9.31386 22.6019 9.35855 22.9977C9.41648 23.3853 9.61934 23.7099 9.96712 23.9716L29.2469 39.0362C29.7553 39.4371 30.0451 39.9008 30.1163 40.4275C30.1875 40.9542 30.0541 41.4337 29.7162 41.8659C29.4412 42.222 29.0909 42.487 28.6652 42.6608C28.2445 42.8132 27.7112 42.8148 27.0653 42.6657L19.3738 40.8389C18.6037 40.6384 18.0315 40.7841 17.6571 41.276C17.3871 41.6105 17.2728 41.9583 17.3142 42.3194C17.3688 42.6722 17.5402 42.9612 17.8284 43.1865C18.0784 43.3803 18.3691 43.5211 18.7003 43.6089L30.4635 47.3962C34.4532 48.6802 37.8659 48.8784 40.7015 47.9909C43.5454 47.1167 45.9835 45.3721 48.016 42.7
2571Z",fill:"white"})})})}},28336:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GiftIcon=void 0;var r=n(34766);t.GiftIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.isDarkMode,o=void 0!==i&&i,a=e.width,s=void 0===a?"24":a,l=e.height,c=void 0===l?"24":l,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--gift-icon inq-icon--".concat(n," ").concat(d),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:c,viewBox:"0 0 40 40",className:"block",children:(0,r.jsx)("path",{d:"M25.0082 3.33813C28.69 3.33813 31.6748 6.3229 31.6748 10.0048C31.6748 11.2199 31.3497 12.359 30.7818 13.34L38.3415 13.3381V16.6714H35.0082V33.3381C35.0082 34.2586 34.262 35.0048 33.3415 35.0048H6.6748C5.75434 35.0048 5.00814 34.2586 5.00814 33.3381V16.6714H1.6748V13.3381L9.23442 13.34C8.66654 12.359 8.34147 11.2199 8.34147 10.0048C8.34147 6.3229 11.3262 3.33813 15.0081 3.33813C17.0002 3.33813 18.7882 4.21182 20.0097 5.5969C21.2282 4.21182 23.0162 3.33813 25.0082 3.33813ZM18.3415 16.6714H8.34147V31.6714H18.3415V16.6714ZM31.6748 16.6714H21.6748V31.6714H31.6748V16.6714ZM15.0081 6.67147C13.1672 6.67147 11.6748 8.16385 11.6748 10.0048C11.6748 11.7621 13.0346 13.2017 14.7594 13.329L15.0081 13.3381H18.3415V10.0048C18.3415 8.3354 17.1143 6.95262 15.5128 6.70942L15.2569 6.68062L15.0081 6.67147ZM25.0082 6.67147C23.2508 6.67147 21.8112 8.03127 21.684 9.75604L21.6748 10.0048V13.3381H25.0082C26.7653 13.3381 28.205 11.9783 28.3323 10.2536L28.3415 10.0048C28.3415 8.16385 26.8492 6.67147 25.0082 6.67147Z",fill:o?"white":"black"})})})}},90249:function(e,t,n){"use strict";t.GoogleIcon=void 0;var r=n(34766);t.GoogleIcon=function(){return(0,r.jsxs)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",xmlnsXlink:"http://www.w3.org/1999/xlink",style:{display:"block"},children:[(0,r.jsx)("path",{fill:"#EA4335",d:"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"}),(0,r.jsx)("path",{fill:"#4285F4",d:"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"}),(0,r.jsx)("path",{fill:"#FBBC05",d:"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"}),(0,r.jsx)("path",{fill:"#34A853",d:"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"}),(0,r.jsx)("path",{fill:"none",d:"M0 0h48v48H0z"})]})}},46163:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809)),a=r(n(69991));t.default=o.default.memo(function(e){var t=e.customClassIPart,n=void 0===t?"h-8":t,r=e.customClassFoodPart,o=void 0===r?"h-8":r,s=e.urlIPart,l=e.urlFoodPart;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{elementType:s?"a":"",additionalProps:{href:s,"data-link-type":"global-nav","aria-label":"The Philadelphia Inquirer - Go to homepage link",role:"link"},children:(0,i.jsx)("svg",{className:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 47 56",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M12.819 44.4706L17.892 40.32C16.7061 39.3976 15.6849 38.3765 15.6849 36.8612V9.19059L17.1014 8.07059C17.7602 8.33412 18.4849 8.53176 19.2426 8.72941V41.5388C19.2426 42.8894 19.1108 44.3388 18.979 45.5247C16.772 44.8659 15.4543 44.6682 12.7861 44.4706M0.499023 11.7271L1.35549 12.2541C2.47549 9.38824 4.81432 6.52235 8.76726 6.52235C12.7202 6.52235 13.7743 7.04941 15.8826 7.77412L6.75785 14.4612L7.54843 15.3176L8.73432 14.4612C8.8002 14.4612 9.39314 14.9882 9.39314 21.1153V38.9035L6.79079 40.7812L7.58138 41.6376L8.56961 40.9129L12.819 44.5035C6.95549 44.5035 2.34373 50.5647 0.564906 55.5059L1.42138 56.0329C2.60726 53.1012 4.61667 50.2353 8.66843 50.2353C12.7202 50.2353 20.132 53.3647 24.3484 53.3647C28.5649 53.3647 33.6049 48.4565 35.3508 44.24L34.4943 43.7129C33.5061 46.1835 31.299 47.7318 28.5649 47.7318C25.8308 47.7318 26.4237 47.5341 25.0402 47.2706H24.8426C24.7108 47.2047 24.6449 47.2047 24.579 47.2047C25.4355 45.92 25.699 45.0635 25.9626 43.1859C26.3578 40.1224 26.3578 34.3247 26.3578 30.1412V9.25647C32.1555 7.93882 35.0214 1.25176 35.3508 0.527059L34.4943 0C33.4402 2.60235 31.2331 3.98588 28.3014 3.98588C23.4261 3.98588 18.0896 0.790588 13.5108 0.790588C6.69196 0.790588 2.44255 6.65412 0.499023 11.7271Z"}),(0,i.jsx)("path",{d:"M45.499 4H44.499V50H45.499V4Z"})]})})}),(0,i.jsx)(a.default,{elementType:l?"a":"",additionalProps:{href:l,"data-link-type":"global-nav","aria-label":"The Philadelphia Inquirer - Go to food page link",role:"link"},children:(0,i.jsxs)("svg",{viewBox:"50 0 127 57",xmlns:"http://www.w3.org/2000/svg",className:o,children:[(0,i.jsx)("path",{d:"M59.3894 42.5493H60.0415C62.0043 42.5493 62.854 41.5679 62.854 39.2164V15.4187C62.854 13.064 62.0043 12.0859 60.0415 12.0859H59.3894V4.43213H90.1163V16.5286H82.2715V15.8106C82.2715 12.9322 81.4877 12.0826 78.2833 12.0826H74.8846V24.7652H76.7157C79.2647 24.7652 79.7884 22.674 79.7884 21.0372V20.1875H85.8679V35.2249H79.7884V34.5069C79.7884 32.2181 79.2647 30.7789 76.7157 3
20.7789H74.8846V39.2131C74.8846 41.5679 75.9319 42.546 77.8914 42.546H78.5468V50.1964H59.3894V42.5493Z"}),(0,i.jsx)("path",{d:"M91.8288 45.8819C90.2612 43.2012 89.5399 39.4764 89.5399 33.4594C89.5399 27.4425 90.2579 23.7836 91.8288 21.1028C94.0518 17.3122 98.4978 15.8071 103.01 15.8071C107.522 15.8071 111.968 17.3122 114.191 21.1028C115.758 23.7836 116.479 27.4458 116.479 33.4594C116.479 39.4731 115.762 43.2012 114.191 45.8819C111.902 49.61 107.522 51.1118 103.01 51.1118C98.4978 51.1151 94.1177 49.61 91.8288 45.8819ZM103.01 43.3329C104.907 43.3329 106.082 42.2197 106.082 39.6048V27.3141C106.082 24.6992 104.907 23.586 103.01 23.586C101.113 23.586 99.937 24.6992 99.937 27.3141V39.6048C99.937 42.223 101.113 43.3329 103.01 43.3329Z"}),(0,i.jsx)("path",{d:"M120.817 45.8819C119.249 43.2012 118.528 39.4764 118.528 33.4594C118.528 27.4425 119.246 23.7836 120.817 21.1028C123.04 17.3122 127.486 15.8071 131.998 15.8071C136.51 15.8071 140.956 17.3122 143.179 21.1028C144.746 23.7836 145.468 27.4458 145.468 33.4594C145.468 39.4731 144.75 43.2012 143.179 45.8819C140.89 49.61 136.51 51.1118 131.998 51.1118C127.486 51.1151 123.106 49.61 120.817 45.8819ZM131.998 43.3329C133.895 43.3329 135.07 42.2197 135.07 39.6048V27.3141C135.07 24.6992 133.895 23.586 131.998 23.586C130.101 23.586 128.925 24.6992 128.925 27.3141V39.6048C128.925 42.223 130.101 43.3329 131.998 43.3329Z"}),(0,i.jsx)("path",{d:"M149.37 45.948C148.129 43.2014 147.671 39.5425 147.671 33.3938C147.671 27.1825 148.194 23.7179 149.37 21.0372C150.875 17.4408 154.01 15.8073 157.412 15.8073C159.635 15.8073 162.185 16.9205 164.081 19.5354V13.5876C164.081 11.7565 163.1 11.4305 162.119 11.4305H161.661V4.43213H174.083V41.0442C174.083 42.8753 174.933 43.2014 176.241 43.2014H176.501V50.1964H165.06V46.4684C163.426 49.6069 160.288 51.0461 157.409 51.0461C154.271 51.0494 150.938 49.5443 149.37 45.948ZM161.071 42.681C162.968 42.681 164.144 41.5712 164.144 38.8245V28.1014C164.144 25.4206 162.968 24.1131 161.071 24.1131C159.24 24.1131 158.065 25.4206 158.065 28.1014V38.8245C158.065 41.5679 159.24 42.681 161.071 42.681Z"})]})})]})})},72380:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809)),a=r(n(69991));t.default=o.default.memo(function(e){var t=e.customClassWrapper,n=void 0===t?"gap-2":t,r=e.customClassIPart,o=void 0===r?"h-8 gap-1":r,s=e.customClassPike,l=void 0===s?"w-px h-7":s,c=e.customClassSportsPart,u=void 0===c?"h-8":c,d=e.urlIPart,f=e.urlSportsPart;return(0,i.jsxs)("div",{className:"flex items-end ".concat(n),children:[(0,i.jsx)(a.default,{elementType:d?"a":"",additionalProps:{href:d,"data-link-type":"global-nav","aria-label":"The Philadelphia Inquirer - Go to homepage link",role:"link"},children:(0,i.jsxs)("span",{className:"flex items-center ".concat(o),children:[(0,i.jsx)("svg",{className:"h-full",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35 56",fill:"currentColor",children:(0,i.jsx)("path",{d:"M12.3724 44.4444L17.4669 40.2963C16.276 39.3745 15.2505 38.3539 15.2505 36.8395V9.18518L16.673 8.06584C17.3346 8.32922 18.0624 8.52675 18.8233 8.72428V41.5144C18.8233 42.8642 18.6909 44.3128 18.5586 45.4979C16.3422 44.8395 15.0189 44.642 12.3393 44.4444M0 11.7202L0.860113 12.2469C1.98488 9.38272 4.33365 6.51852 8.3034 6.51852C12.2732 6.51852 13.3318 7.04527 15.449 7.76955L6.28544 14.4527L7.07939 15.3086L8.27032 14.4527C8.33648 14.4527 8.93195 14.9794 8.93195 21.1029V38.8807L6.31853 40.7572L7.11248 41.6132L8.10491 40.8889L12.3724 44.4774C6.48393 44.4774 1.85255 50.535 0.0661626 55.4732L0.926276 56C2.1172 53.07 4.13516 50.2058 8.20416 50.2058C12.2732 50.2058 19.7164 53.3333 23.9508 53.3333C28.1853 53.3333 33.2467 48.428 35 44.214L34.1399 43.6872C33.1474 46.1564 30.931 47.7037 28.1853 47.7037C25.4395 47.7037 26.035 47.5062 24.6456 47.2428H24.4471C24.3147 47.177 24.2486 47.177 24.1824 47.177C25.0425 45.893 25.3072 45.037 25.5718 43.1605C25.9688 40.0988 25.9688 34.3045 25.9688 30.1235V9.25103C31.7911 7.93416 34.6692 1.25103 35 0.526749L34.1399 0C33.0813 2.60082 30.8648 3.98354 27.9206 3.98354C23.0246 3.98354 17.6654 0.790123 13.0671 0.790123C6.21928 0.790123 1.9518 6.65021 0 11.7202Z"})}),(0,i.jsx)("svg",{className:"shrink-0 ".concat(l),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1 24",fill:"
2currentColor",preserveAspectRatio:"none",children:(0,i.jsx)("path",{d:"M1 0H0V24H1V0Z"})})]})}),(0,i.jsx)(a.default,{elementType:f?"a":"",additionalProps:{href:f,"data-link-type":"global-nav","aria-label":"The Philadelphia Inquirer - Go to sports page link",role:"link"},children:(0,i.jsx)("svg",{className:"block ".concat(u),xmlns:"http://www.w3.org/2000/svg",viewBox:"58 0 144.278 56",fill:"currentColor",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M65.4079 40.8903L64.232 44.8H58.4703V31.0425H67.2304V33.7176C67.2304 36.0987 68.4651 37.7449 70.9638 37.7449C73.4625 37.7449 74.3444 36.569 74.3444 34.4819C74.3444 32.3947 71.9633 30.631 69.1412 29.0436L65.1727 26.8388C60.3223 24.1638 58 20.3129 58 14.463C58 8.61312 63.3795 3.32178 68.906 3.32178C74.4325 3.32178 75.1381 4.90918 76.9018 7.52545L78.0189 3.9685H83.6336V17.5496H75.0499V14.5218C75.0499 12.1407 73.9916 10.6709 71.8457 10.6709C69.6997 10.6709 68.7003 11.7879 68.7003 13.9339C68.7003 16.0798 70.1113 17.4908 72.61 18.843L78.2835 21.8709C81.8404 23.811 85.7501 26.78 85.7501 33.7176C85.7501 40.6551 80.6646 45.4467 74.4913 45.4467C70.0525 45.4467 67.2011 43.4478 65.4373 40.8903H65.4079Z"}),(0,i.jsx)("path",{d:"M86.1898 49.7682H86.4249C87.6008 49.7682 88.3357 49.4742 88.3357 47.828V22.9587C88.3357 21.3126 87.4538 21.0186 86.5719 21.0186H86.1604V14.7866H96.3021V18.1671C97.5955 15.4921 100.623 14.0811 103.181 14.0811C105.738 14.0811 108.737 15.4333 110.295 18.6963C111.471 21.1362 111.882 24.311 111.882 29.8375C111.882 35.364 111.471 38.5388 110.354 40.9199C108.943 44.1241 106.209 45.5939 103.181 45.5939C100.153 45.5939 98.3892 44.5944 97.1546 42.3897V47.828C97.1546 49.4742 98.0953 49.7682 99.2417 49.7682H100.065V56.0002H86.1016V49.7682H86.1898ZM99.9178 38.0979C101.623 38.0979 102.652 37.0984 102.652 34.6585V25.0753C102.652 22.6942 101.593 21.5183 99.9178 21.5183C98.2422 21.5183 97.2428 22.6942 97.2428 25.0753V34.6585C97.2428 37.0984 98.301 38.0979 99.9178 38.0979Z"}),(0,i.jsx)("path",{d:"M115.968 40.9492C114.557 38.5681 113.91 35.2463 113.91 29.8668C113.91 24.4873 114.557 21.2243 115.968 18.8432C117.967 15.4626 121.906 14.1104 125.963 14.1104C130.019 14.1104 133.958 15.4626 135.957 18.8432C137.368 21.2243 138.015 24.5167 138.015 29.8668C138.015 35.2169 137.368 38.5681 135.957 40.9492C133.9 44.271 130.019 45.6232 125.963 45.6232C121.935 45.6232 118.026 44.271 115.968 40.9492ZM125.933 38.6857C127.638 38.6857 128.667 37.6862 128.667 35.3639V24.3991C128.667 22.0768 127.609 21.0773 125.933 21.0773C124.258 21.0773 123.199 22.0768 123.199 24.3991V35.3639C123.199 37.6862 124.258 38.6857 125.933 38.6857Z"}),(0,i.jsx)("path",{d:"M139.518 38.5681H139.753C140.929 38.5681 141.664 38.2741 141.664 36.6279V22.988C141.664 21.3418 140.782 21.0479 139.9 21.0479H139.488V14.8159H150.1V18.0201C150.865 15.9623 152.775 14.1104 155.48 14.1104C158.184 14.1104 160.507 16.2563 160.507 19.6663C160.507 23.0762 158.126 25.0458 155.774 25.0458C153.422 25.0458 151.511 23.4584 151.511 21.2537C151.511 19.0489 151.511 20.6069 151.57 20.3718C150.512 21.7828 150.571 23.3408 150.571 26.0453V36.6573C150.571 38.3035 151.335 38.5975 153.069 38.5975H153.363V44.8295H139.488V38.5681H139.518Z"}),(0,i.jsx)("path",{d:"M171.469 45.3291C166.795 45.3291 164.179 42.8304 164.179 39.1559V21.0771H161.504V14.8451H163.033C165.414 14.8451 166.296 14.0808 167.236 11.6409L168.353 8.67188H173.086V14.8451H177.819V21.0771H173.086V38.127C173.086 38.8913 173.439 39.5968 174.379 39.5968C175.32 39.5968 175.732 38.8913 175.732 38.127V32.7475H178.76V38.6267C178.76 41.7133 177.29 45.3291 171.528 45.3291H171.469Z"}),(0,i.jsx)("path",{d:"M186.286 41.9488L185.581 44.8002H180.26V34.8643H187.55V36.5105C187.55 38.5388 188.785 39.7147 190.402 39.7147C192.019 39.7147 192.9 38.9503 192.9 37.2748C192.9 35.5992 191.254 34.8349 188.991 33.659L186.198 32.248C182.347 30.3078 180.172 27.6916 180.172 23.1351C180.172 18.5787 183.729 14.0811 189.05 14.0811C194.37 14.0811 194.488 15.5509 195.576 17.4616L196.281 14.7866H201.073V24.4286H194.076V23.1939C194.076 21.0774 193.077 19.8133 191.46 19.8133C189.843 19.8133 189.02 20.754 189.02 22.1944C189.02 23.6349 189.726 24.1934 191.401 25.0459L193.459 26.1042C198.486 28.6616 202.278 30.6606 202.278 36.3635C202.278 42.0664 197.957 45.4763 193.4 45.4763C189.784 45.4763 187.374 43.7713 186.286 41.9194V41.9488Z"})]})})})]})})},59742:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.InstagramIcon=void 0;var r=n(34766);t.InstagramIcon=function(e){var t=e.size,n=void 0===t?"small":t;return(0,r.jsx)("div",{className:"inq-icon inq-icon--instagram inq-icon--".concat(n),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,r.jsx)("title",{children:"Instagram"}),(0,r.jsx)("g",{clipPath:"url(#clip0_3721_35154)",children:(0,r.jsx)("path",{d:"M12 2C14.717 2 15.056 2.01 16.122 2.06C17.187 2.11 17.912 2.277 18.55 2.525C19.21 2.779 19.766 3.123 20.322 3.678C20.8305 4.1779 21.224 4.78259 21.475 5.45C21.722 6.087 21.89 6.813 21.94 7.878C21.987 8.944 22 9.283 22 12C22 14.717 21.99 15.056 21.94 16.122C21.89 17.187 21.722 17.912 21.475 18.55C21.2247 19.2178 20.8311 19.8226 20.322 20.322C19.822 20.8303 19.2173 21.2238 18.55 21.475C17.913 21.722 17.187 21.89 16.122 21.94C15.056 21.987 14.717 22 12 22C9.283 22 8.944 21.99 7.878 21.94C6.813 21.89 6.088 21.722 5.45 21.475C4.78233 21.2245 4.17753 20.8309 3.678 20.322C3.16941 19.8222 2.77593 19.2175 2.525 18.55C2.277 17.913 2.11 17.187 2.06 16.122C2.013 15.056 2 14.717 2 12C2 9.283 2.01 8.944 2.06 7.878C2.11 6.812 2.277 6.088 2.525 5.45C2.77524 4.78218 3.1688 4.17732 3.678 3.678C4.17767 3.16923 4.78243 2.77573 5.45 2.525C6.088 2.277 6.812 2.11 7.878 2.06C8.944 2.013 9.283 2 12 2ZM12 7C10.6739 7 9.40215 7.52678 8.46447 8.46447C7.52678 9.40215 7 10.6739 7 12C7 13.3261 7.52678 14.5979 8.46447 15.5355C9.40215 16.4732 10.6739 17 12 17C13.3261 17 14.5979 16.4732 15.5355 15.5355C16.4732 14.5979 17 13.3261 17 12C17 10.6739 16.4732 9.40215 15.5355 8.46447C14.5979 7.52678 13.3261 7 12 7ZM18.5 6.75C18.5 6.41848 18.3683 6.10054 18.1339 5.86612C17.8995 5.6317 17.5815 5.5 17.25 5.5C16.9185 5.5 16.6005 5.6317 16.3661 5.86612C16.1317 6.10054 16 6.41848 16 6.75C16 7.08152 16.1317 7.39946 16.3661 7.63388C16.6005 7.8683 16.9185 8 17.25 8C17.5815 8 17.8995 7.8683 18.1339 7.63388C18.3683 7.39946 18.5 7.08152 18.5 6.75ZM12 9C12.7956 9 13.5587 9.31607 14.1213 9.87868C14.6839 10.4413 15 11.2044 15 12C15 12.7956 14.6839 13.5587 14.1213 14.1213C13.5587 14.6839 12.7956 15 12 15C11.2044 15 10.4413 14.6839 9.87868 14.1213C9.31607 13.5587 9 12.7956 9 12C9 11.2044 9.31607 10.4413 9.87868 9.87868C10.4413 9.31607 11.2044 9 12 9Z"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_3721_35154",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})})}},83914:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkIcon=void 0;var r=n(34766);t.LinkIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"currentColor":i,a=e.width,s=void 0===a?"24":a,l=e.height,c=void 0===l?"24":l,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--link inq-icon--".concat(n).concat(d),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:c,viewBox:"0 0 24 24",fill:o,children:[(0,r.jsx)("title",{children:"Link Icon"}),(0,r.jsx)("path",{d:"M18.8083 13.8247L17.3696 12.3861L18.8083 10.9474C19.1862 10.5695 19.486 10.1208 19.6906 9.62703C19.8951 9.13324 20.0004 8.60401 20.0004 8.06954C20.0004 7.53507 19.8951 7.00584 19.6906 6.51206C19.486 6.01827 19.1862 5.56961 18.8083 5.19169C18.4304 4.81376 17.9817 4.51397 17.4879 4.30944C16.9942 4.10491 16.4649 3.99964 15.9305 3.99964C15.396 3.99964 14.8668 4.10491 14.373 4.30944C13.8792 4.51397 13.4305 4.81376 13.0526 5.19169L11.6139 6.63036L10.1753 5.19169L11.6139 3.75301C12.7619 2.62356 14.3097 1.99349 15.9202 2.00005C17.5306 2.00661 19.0732 2.64926 20.212 3.78802C21.3507 4.92679 21.9934 6.4694 21.9999 8.07984C22.0065 9.69028 21.3764 11.2381 20.247 12.3861L18.8083 13.8247ZM13.8951 18.738L12.4564 20.1767C11.8912 20.7511 11.2179 21.208 10.4753 21.5209C9.73264 21.8339 8.93541 21.9967 8.12955 21.9999C7.3237 22.0032 6.52516 21.8469 5.78002 21.5401C5.03487 21.2332 4.35786 20.7818 3.78802 20.212C3.21819 19.6421 2.76682 18.9651 2.45995 18.22C2.15307 17.4748 1.99677 16.6763 2.00005 15.8704C2.00333 15.0646 2.16613 14.2674 2.47907 13.5247C2.792 12.7821 3.24887 12.1088 3.82332 11.5436L5.26199 10.1049L6.70067 11.5436L5.26199 12.9823C4.88407 13.3602 4.58428 13.8089 4.37975 14.3027C4.17522 14.7964 4.06995 15.3257 4.06995 15.8602C4.06995 16.3946 4.17522 16.9239 4.37975 17.4176C4.58428 17.9114 4.88407 18.3601 5.26199 18.738C5.63992 19.1159 6.08858 19.4157 6.58236 19.6202C7.07615 19.8248 7.60538 19.9301 8.13985 19.9301C8.67432 19.9301 9.20355 19.8248 9.69733 19.6202C10.1911 19.4157 10.6398 19.1159 11.0177 18.738L12.4564 17.2993L13.8951 18.738ZM15.9299 6.63036L17.3696 8.07005L8.14036 17.2983L6.70067 15.8596L15.9299 6.63036Z"})]})})}},6860:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.NativeShareIcon=void 0;var r=n(34766);t.NativeShareIcon=function(e){var t=e.color,n=void 0===t?"currentColor":t,i=e.width,o=void 0===i?"16":i,a=e.height,s=void 0===a?"20":a,l=e.customClass,c=void 0===l?"":l;return(0,r.jsx)("div",{className:"inq-icon inq-icon--native-share".concat(c),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:s,viewBox:"0 0 16 20",fill:"none",children:[(0,r.jsx)("title",{children:"Share"}),(0,r.jsx)("path",{d:"M4.816 4.104a.64.64 0 0 1-.457-.175.6.6 0 0 1-.175-.44q0-.255.21-.466L7.287.23a.8.8 0 0 1 .255-.176.64.64 0 0 1 .51 0q.123.044.255.176l2.9 2.794a.66.66 0 0 1 .202.466.58.58 0 0 1-.184.44.64.64 0 0 1-.457.175.6.6 0 0 1-.475-.21l-1.354-1.45L7.796 1.23 6.662 2.443 5.3 3.893a.61.61 0 0 1-.484.211m2.98 8.754a.7.7 0 0 1-.492-.202.65.65 0 0 1-.202-.474V3.234L7.207.87a.63.63 0 0 1 .185-.413.54.54 0 0 1 .404-.176q.246 0 .413.176a.63.63 0 0 1 .185.413l.105 2.364v8.948q0 .272-.21.474a.67.67 0 0 1-.493.202M3.674 19.74q-1.767 0-2.725-.958Q0 17.832 0 16.066V9.3q0-1.776.95-2.725.957-.95 2.724-.949h1.775V7.04H3.674q-1.081 0-1.67.589-.59.58-.589 1.67v6.767q0 1.082.589 1.67.589.59 1.67.59h8.244q1.09 0 1.679-.59.588-.588.588-1.67V9.3q0-1.09-.588-1.67-.589-.59-1.679-.589h-1.775V5.625h1.775q1.776 0 2.725.95.957.948.958 2.724v6.767q0 1.767-.958 2.716-.95.958-2.725.958z",fill:n})]})})}},59900:function(e,t,n){"use strict";t.u=void 0;var r=n(34766);t.u=function(){return(0,r.jsx)("svg",{className:"absolute top-0 right-0 w-2 h-2 md:w-2.5 md:h-2.5 lg:w-3 lg:h-3",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 13",fill:"none",children:(0,r.jsx)("circle",{cx:"6",cy:"6.50977",r:"5.5",fill:"#E8915D",stroke:"#F4F4F4"})})}},78090:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveIcon=void 0;var r=n(34766),i=n(83732);t.RemoveIcon=function(e){var t=e.color,n=void 0===t?i.ThemeColor.Blue:t,o=e.size,a=void 0===o?"small":o;return(0,r.jsx)("div",{className:"inq-icon inq-icon--remove inq-icon--".concat(a),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"block",children:(0,r.jsx)("path",{d:"M2 11H22V13H2V11Z",fill:n})})})}},30514:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShareForwardIcon=void 0;var r=n(34766);t.ShareForwardIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"black":i,a=e.customClass,s=void 0===a?"":a,l=e.width,c=void 0===l?"12":l,u=e.height,d=void 0===u?"12":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--share-forward inq-icon--".concat(n).concat(s),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:c,height:d,viewBox:"0 0 12 12",fill:"none",children:(0,r.jsx)("path",{d:"M6.5 7H5.5C4.6798 6.99969 3.87512 7.22357 3.17294 7.64745C2.47076 8.07133 1.8978 8.67908 1.516 9.405C1.50527 9.27027 1.49993 9.13516 1.5 9C1.5 6.2385 3.7385 4 6.5 4V1.25L11.75 5.5L6.5 9.75V7ZM5.5 6H7.5V7.654L10.1605 5.5L7.5 3.346V5H6.5C5.92513 4.99935 5.3569 5.12291 4.8342 5.36221C4.31149 5.60151 3.84666 5.95091 3.4715 6.3865C4.11716 6.13061 4.80548 5.99946 5.5 6Z",fill:o})})})}},65965:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShareIcon=void 0;var r=n(34766);t.ShareIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.isDarkMode,o=void 0!==i&&i;return(0,r.jsx)("div",{className:"inq-icon inq-icon--share inq-icon--".concat(n),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[(0,r.jsx)("title",{children:"Share Icon"}),(0,r.jsx)("path",{d:"M13.576 17.271L8.46602 14.484C7.97551 14.9709 7.35183 15.3017 6.67361 15.4346C5.99538 15.5676 5.29298 15.4968 4.65494 15.2311C4.01691 14.9654 3.47181 14.5168 3.08837 13.9418C2.70492 13.3668 2.50031 12.6911 2.50031 12C2.50031 11.3089 2.70492 10.6332 3.08837 10.0582C3.47181 9.48317 4.01691 9.03455 4.65494 8.76889C5.29298 8.50322 5.99538 8.43241 6.67361 8.56536C7.35183 8.69832 7.97551 9.02909 8.46602 9.51599L13.576 6.72899C13.4008 5.90672 13.5273 5.04885 13.9326 4.31224C14.3379 3.57563 14.9948 3.00952 15.7831 2.71742C16.5715 2.42532 17.4386 2.42676 18.226 2.72147C19.0134 3.01619 19.6684 3.58448 20.0712 4.32243C20.4741 5.06037 20.5978 5.91866 20.4198 6.74034C20.2418 7.56202 19.774 8.29218 19.1019 8.79729C18.4298 9.3024 17.5984 9.54871 16.7596 9.49119C15.9209 9.43366 15.1308 9.07613 14.534 8.48399L9.42402 11.271C9.52595 11.7516 9.52595 12.2483 9.42402 12.729L14.534 15.516C15.1308 14.9238 15.9209 14.5663 16.7596 14.5088C17.5984 14.4513 18.4298 14.6976 19.1019 15.2027C19.774 15.7078 20.2418 16.438 20.4198 17.2596C20.5978 18.0813 20.4741 18.9396 20.0712 19.6776C19.6684 20.4155 19.0134 20.9838 18.226 21.2785C17.4386 21.5732 16.5715 21.5747 15.7831 21.2826C14.9948 20.9905 14.3379 20.4243 13.9326 19.6877C13.5273 18.9511 13.4008 18.0933 13.576 17.271Z",fill:o?"white":"black"})]})})}},8799:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(34766),i=n(40809),o=n(63906),a=n(40438),s=n(83914),l=n(57729),c=n(59742),u=n(28336),d=n(79603),f=n(76923);t.default=(0,i.memo)(function(e){var t=e.type,n=e.size,i=void 0===n?"small":n;switch(t){case"facebook":return(0,r.jsx)(a.FacebookIcon,{size:i});case"twitter":return(0,r.jsx)(l.TwitterIcon,{size:i});case"email":return(0,r.jsx)(o.EmailIcon,{size:i});case"link":return(0,r.jsx)(s.LinkIcon,{size:i});case"instagram":return(0,r.jsx)(c.InstagramIcon,{size:i});case"bluesky":return(0,r.jsx)(d.BlueskyIcon,{size:i});case"threads":return(0,r.jsx)(f.ThreadsIcon,{size:i});case"gift":return(0,r.jsx)(u.GiftIcon,{size:i});default:return null}})},13341:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809));t.default=o.default.memo(function(e){var t=e.logoColor,n=e.customClassDesktop,r=e.customClassMobile;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"absolute left-0 right-0 h-full flex items-center ".concat(t||"text-black"),children:(0,i.jsxs)("svg",{className:"transition-all duration-500 w-[140px] mx-auto opacity-100 sm:opacity-0 ".concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1124.32 253.93",fill:"currentColor",children:[(0,i.jsx)("path",{d:"M290.15,136.89V155.6s13.26,11.37,18.47,14.68l19.9-16.58,3.32,3.79-36.95,32.68H293l-33.63-26.29v-2.13s4.5-1.18,4.5-2.61V104.67c0-1.66-5-3.55-5-3.55V99l47.37-34.11h2.84l28.18,40.74v1.89ZM292.29,86l-2.13,1.66v43.82l23-14.92Z"}),(0,i.jsx)("path",{d:"M589.13,190.19h-1.42l-23.45-18.95v-2.13s3.08-1.18,3.08-3.55V99.72s-9-8.76-14.92-12.08l-10.66,9V163s5.92,5.45,8.76,5.45a6.3,6.3,0,0,0,4-1.18l1.42,2.61L537.26,190.2h-1.42l-25.11-19.42v-2.13s4.74-1.89,4.74-3.55V93.81s-5.21-5.21-8.53-5.21c-1.89,0-3.55,1.42-5.68,3.32l-2.37-3.08L519.73,66.1h1.42s18.71,12.79,23,22l23.68-22h1.42L592.9,86.71,601.66,78l3.08,3.32L593.61,92.16V162.5s4.74,5.68,9,5.68c2.13,0,4.74-2.61,6.87-4.5l2.61,2.84Z"}),(0,i.jsx)("path",{d:"M770.86,168.34,747.5,190.19h-1.42l-23.45-20.84-8,7.34-3.32-3.55,10.66-9.47V94.51s-6.64-5.68-8.54-5.68-2.61,1.18-4.74,3.08l-2.13-3.08,22-22.74H730l21.32,18v2.37s-3.08,1.42-3.08,3.79V157s8.53,9.24,14,12.32l10.89-9.24V94s-8.05-5.92-9.71-5.92c-1.42,0-2.84,1.18-3.79,1.89l-1.9-2.84L777.8,66.09h1.42l20.61,17.29,6.63-5.92L809.78,81,799.36,91v69.87s7.82,7.34,10.66,7.34c1.9,0,5.45-3.79,7.58-5.68l2.61,2.84-24.16,24.87h-1.42Z"}),(0,i.jsx)("path",{d:"M853.83,190.19h-1.42l-24.63-18.95v-2.13s4.26-1.18,4.26-3.55V97.82s-6.4-6.63-11.84-10.18l-3.79,3.55-2.84-3.08,21.79-22.26h1.42l20.84,18.71,8.76-8.76,3.08,3.32L858.33,90v72.47s5,5.45,9.47,5.45c1.9,0,5-3.08,7.11-5l2.37,3.08ZM845.78,52.1h-2.13s-9.47-10.66-17.76-17.05V32.92a83.15,83.15,0,0,0,17.05-17.76h2.13s8.76,10.42,17.76,17.53v2.13A107.19,107.19,0,0,0,845.78,52.1Z"}),(0,i.jsx)("path",{d:"M940.52,97.58c-6.63,0-12.55-2.37-18.47-8.29H918.5v73s9,6.63,11.6,6.63c1.9,0,10.66-7.58,12.79-9.47l3.08,3.08-30.79,27.71h-1.42l-25.34-19.42v-2.13s3.79-1.89,3.79-3.55V94.75s-6.16-5.45-9-6.39c-1.9,0-3.08,1.42-5.21,3.32l-2.84-2.84L896.48,66.1h1.66l20.37,18,15.63-18h2.13s7.1,8.76,15.87,8.76c5.21,0,10.42-1.18,14.21-7.11l2.84,1.42C964.67,78.87,951.65,97.58,940.52,97.58Z"}),(0,i.jsx)("path",{d:"M986.94,136.89V155.6s13.26,11.37,18.47,14.68l19.89-16.58,3.32,3.79-36.95,32.68h-1.89L956.15,163.9v-2.13s4.5-1.18,4.5-2.61V104.69c0-1.66-5-3.55-5-3.55V99l47.37-34.11h2.84l28.19,40.74v1.89ZM989.07,86l-2.13,1.66v43.82l23-14.92Z"}),(0,i.jsx)("path",{d:"M1095.65,97.58c-6.63,0-12.55-2.37-18.47-8.29h-3.55v73s9,6.63,11.6,6.63c1.9,0,10.66-7.58,12.79-9.47l3.08,3.08-30.79,27.71h-1.42l-25.34-19.42v-2.13s3.79-1.89,3.79-3.55V94.75s-6.16-5.45-9-6.39c-1.9,0-3.08,1.42-5.21,3.32l-2.84-2.84,21.32-22.74h1.66l20.37,18,15.63-18h2.13s7.1,8.76,15.87,8.76c5.21,0,10.42-1.18,14.21-7.11l2.84,1.42C1119.8,78.87,1106.78,97.58,1095.65,97.58Z"}),(0,i.jsx)("path",{d:"M185,26.52V90.23l.24.24,25.82-24.4h1.42l23.68,20.61,8.76-8.76L248,80.76,236.87,92.13v70.34s4.74,5.68,9,5.68c2.37,0,5.68-3.55,7.82-5.68l2.84,2.84-25.11,24.87H230l-22.5-18.71v-2.13s3.08-1.18,3.08-3.55V100s-7.82-8-14.21-12.08L185,97.82v63.71c.47,1.18,5,7.11,12.79,7.11l.47,2.61L179.55,190.2h-1.42l-23.92-18.95v-2.13s4.5-1.89,4.5-3.55V37.67c0-2.84-5.21-3.55-5.21-3.55V31.51c18.71-10.42,37.66-25.58,37.66-25.58h1.66s21.37,19.86,36.47-2.84L233.08,5C206.8,50.67,185,26.52,185,26.52Z"}),(0,i.jsx)("path",{d:"M699.79,227.44l-.26-137.62,10.7-10.44-3.06-3.31-10.69,9.67-28-20.62h-1.53l-52.7,34.37V101a17.82,17.82,0,0,1,4.85,2.36,2.34,2.34,0,0,1,.71.94s0,.05,0,.51v53.74a1.29,1.29,0,0,1-.37,1s-.92,1.22-4.72,2.22v1.53l32.08,27h1.53l22.4-25.46h.51l.26,2.68-.35,55.86,35.23,27.5h1.78s19.3-22.64,36.67,3.06l3-2S723,205.59,699.79,227.44Zm-28.52-69.75-9.42,9.67c-3.29-1.53-13.75-12-13.75-12V86.49l1-.76c4.43,2.37,22.15,17.06,22.15,17.06v54.9Z"}),(0,i.jsx)("path",{d:"M120.33,169.06V44.42C147,38.2,160.78,8.79,160.78,8.79l-4-2.16a27,27,0,0,1-7.5,9.79c-10.35,8-20.07,7.47-36,5a98.05,98.05,0,0,1-11.6-2.69c-5.19-1.4-8.12-2.28-8.12-2.28-17.1-5-24.74-5.63-24.74-5.63-8.67-1-13.82-1-16.8-.63a35.24,35.24,0,0,0-3.82.63c-12.87,3-22.62,10-30,17A76,76,0,0,0,0,54.82l3.77,2A59.7,59.7,0,0,1,7.06,51a44.79,44.79,0,0,1,9.18-10.64,29.7,29.7,0,0,1,8.1-4.87,24.9,24.9,0,0,1,8-1.94c6.88-.63,18,.67,27,2.3,8.15,1.48,14.56,3.27,14.56,3.27C-9.31,70.84,10.7,141.8,10.7,141.8a73.15,73.15,0,0,0,31.5,43.58A69.91,69.91,0,0,0,57,192.54,68.51,68.51,0,0,0,72.56,196a78.56,78.56,0,0,0,16-.
219A70.54,70.54,0,0,0,107.82,191a64.8,64.8,0,0,0,9.8-5,84.07,84.07,0,0,0,21.5-19.26,131.28,131.28,0,0,0,13.48-20.66L148.71,144C137,164.43,120.33,169.06,120.33,169.06ZM66.07,158.41l2.8,3,4-2.93L90,173.05a55.29,55.29,0,0,1-13.66-2.2,42.32,42.32,0,0,1-7.63-3,48.84,48.84,0,0,1-12.3-9.1,61.29,61.29,0,0,1-6.08-7.28,55.19,55.19,0,0,1-5.91-10.69,61.74,61.74,0,0,1-3-8.85,72.08,72.08,0,0,1-1.64-8.25,85.79,85.79,0,0,1-.77-12.64s0-4.37.52-9.47a80.83,80.83,0,0,1,1.68-10.51,79.34,79.34,0,0,1,4.58-14.3,76.39,76.39,0,0,1,9.63-16.32A71.79,71.79,0,0,1,79.79,40.74s9.52,2.31,18.06,4L66,68.6l2.79,3,5.63-4.22a2.44,2.44,0,0,1,.33.47,7.82,7.82,0,0,1,.74,1.85s.08.31.19.77a32.74,32.74,0,0,1,.59,3.69c.1,1.07.25,2.53.33,4,.06,1.23.06.82.15,3.73,0,.46.07,1.71.07,3.38,0,3,0,7.23-.08,10.85,0,3.85,0,4,0,4l0,18-.08,29.51v2.83l-10.65,8M102.81,45.7a44.78,44.78,0,0,0,13.53-.48V170.36a58.59,58.59,0,0,1-11.61,2.24c-2.23.28-7.26.48-7.26.48-2.57.18-7.44,0-7.44,0l18.24-16.55a18.12,18.12,0,0,1-6.72-8,11.19,11.19,0,0,1-.4-1.25,10.37,10.37,0,0,1-.26-1.67c0-.54,0-1.05,0-1.44v-.72l0-7.22,0-89"}),(0,i.jsx)("path",{d:"M517.57,180.94,514,178.78a26.53,26.53,0,0,1-6.64,9.79c-9.16,8-17.76,7.47-31.84,5-.69-.12-1.33-.25-2-.39.58-.9,1.15-1.9,1.72-3A35.91,35.91,0,0,0,479,177.89c.45-4.77.54-8.8.54-8.8l.88-32.3.24-39.63V38l1.08-.24c23.61-6.22,35.8-35.63,35.8-35.63L514,0a26.53,26.53,0,0,1-6.64,9.79c-9.16,8-17.76,7.47-31.84,5a78.31,78.31,0,0,1-10.26-2.69c-4.59-1.4-7.19-2.28-7.19-2.28-15.13-5-21.89-5.63-21.89-5.63-7.67-1-12.23-1-14.86-.63a28,28,0,0,0-3.38.63c-11.39,3-20,10-26.51,17a77.9,77.9,0,0,0-16.15,27l3.34,2a62.21,62.21,0,0,1,2.91-5.89,43.31,43.31,0,0,1,8.13-10.64,25.53,25.53,0,0,1,7.17-4.87,20,20,0,0,1,7.1-1.94c6.09-.63,15.9.67,23.85,2.3,4.26.87,8,1.85,10.3,2.51L400.85,59.38,404,62.67l4.79-3.49s3.06,1.31,2.81,27.13l-.1,72.87-1.17.8-9.47,6.9,3.13,3.3,4-2.92,17.51,14.86h0a28.34,28.34,0,0,0-4.1.22A28,28,0,0,0,418,183c-11.39,3-20,10-26.51,17a77.9,77.9,0,0,0-16.15,27l3.34,2a62.21,62.21,0,0,1,2.91-5.89,43.31,43.31,0,0,1,8.13-10.64,25.53,25.53,0,0,1,7.17-4.87,20,20,0,0,1,7.1-1.94c6.09-.63,15.9.67,23.85,2.3,7.21,1.48,12.88,3.27,12.88,3.27,19.31,5.72,30.36,10.41,47,3.24C507,206.12,517.57,180.94,517.57,180.94Zm-92.07,1.14L446.45,165l-4.78-4.31a14.69,14.69,0,0,1-4.21-9.94V37.58l5.69-4.37,2.76.87s2.52.69,6,1.6V170c.13,9.19-.67,14.19-1.14,16.33-10-2.91-14.59-3.36-14.59-3.36a91.37,91.37,0,0,0-10.47-.85Z"})]})}),(0,i.jsx)("div",{className:"absolute left-0 right-0 h-full flex items-center ".concat(t||"text-black"),children:(0,i.jsx)("svg",{className:"transition-all duration-500 sm:w-[325px] mx-auto opacity-0 sm:opacity-100 ".concat(n),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1249.3 142.76",fill:"currentColor",children:(0,i.jsx)("g",{children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M550.35,77V87.48s7.49,6.44,10.34,8.24l11.23-9.29,2,2.1L553.05,107h-1L533,92.12V90.93s2.55-.6,2.55-1.5V58.87c0-1-2.7-2.1-2.7-2.1v-1.2L559.49,36.4H561l15.87,22.92v1Zm1.2-28.77-1.2,1.05V73.85l12.88-8.39ZM594.39,107h-.9L579.86,96.32v-1.2s2.25-.75,2.25-2.1V18.13L582,18l-4.5,2.24-.89-2.09c9.43-5.7,23.66-16,23.66-16l1.35,1.79s-4.79,3.45-4.79,7V91.23s3.29,2.84,5.09,2.84c1,0,2.4-1.2,3.6-2.24l1.64,1.79Zm150,0h-.9L729.66,96.32v-1.2s2.39-.75,2.39-2.1V55a43.15,43.15,0,0,0-6.74-5.7l-2.09,1.95-1.5-1.8L733.85,37h.9l11.68,10.49,5-5,1.64,2-6.14,6.14V91.38s2.7,3,5.25,3c1,0,2.84-1.65,4-2.69l1.35,1.64Zm-4.5-77.74h-1.2a95.73,95.73,0,0,0-10-9.59v-1.2a45.23,45.23,0,0,0,9.58-10h1.2a74,74,0,0,0,10,9.89v1.19a60.87,60.87,0,0,0-9.59,9.74M948.21,107h-.75L934.28,96.32v-1.2s1.65-.75,1.65-2.1V56s-5.1-4.94-8.39-6.74l-6,4.95V91.68s3.29,3,4.94,3a4,4,0,0,0,2.25-.6l.74,1.35L919,107h-.75L904.17,96v-1.2s2.55-1,2.55-1.95V52.73s-2.85-3-4.8-3c-1,0-1.95.9-3.14,2l-1.35-1.8,11.68-12.73h.9s10.49,7.19,12.88,12.28l13.34-12.28H937l13.34,11.53,4.94-4.94,1.8,1.95-6.29,6.14V91.38s2.69,3.14,5.09,3.14c1.2,0,2.7-1.5,3.89-2.55l1.35,1.65Zm102.16-12.28-13,12.28h-.9l-13.18-11.68-4.5,4L1017,97.37l6-5.4V53s-3.75-3.15-4.8-3.15-1.49.75-2.69,1.8l-1.2-1.8,12.43-12.73h.75l12,10v1.34s-1.79.9-1.79,2.1v37.6s4.79,5.24,7.94,7l6.14-5.24V52.88s-4.5-3.45-5.54-3.45c-.75,0-1.5.75-2.1,1.2L1043,49l11.38-11.83h.75l11.54,9.74,3.74-3.45,2,2.1-5.84,5.54v39.4s4.34,4,6,4c1,0,3-2.1,4.19-3.14l1.5,1.49L1064.6,107h-.75ZM1097.11,107h-.75l-13.93-10.63v-1.2s2.39-.75,2.39-2.1V55a47.17,47.17,0,0,0-6.59-5.7l-2.1,1.95-1.64-1.8L1086.77,37h.75l11.68,10.49,5-5,1.79,2-6.29,6.14V91.38s2.85,3,5.4,3
2c1,0,2.69-1.65,3.89-2.69l1.35,1.64Zm-4.5-77.74h-1.2a95.73,95.73,0,0,0-10-9.59v-1.2a45.23,45.23,0,0,0,9.58-10h1.2a74,74,0,0,0,10,9.89v1.19a68.72,68.72,0,0,0-9.59,9.74m53.33,25.62a14.29,14.29,0,0,1-10.49-4.65h-1.94V91.23S1138.6,95,1140,95c1.2,0,6.14-4.34,7.34-5.39l1.65,1.8L1131.56,107h-.75L1116.58,96v-1.2s2.1-1,2.1-1.95V53.18s-3.45-3-5.1-3.6c-1,0-1.64.9-2.84,2l-1.65-1.65,12-12.73h.9l11.54,10,8.83-10h1.2s3.9,4.94,8.84,4.94c3,0,5.84-.75,8.09-4l1.5.75c-2.55,5.54-9.89,16-16,16M1172,77V87.48s7.49,6.44,10.34,8.24l11.24-9.29,1.79,2.1L1174.7,107h-1l-19-14.83V90.93s2.54-.6,2.54-1.5V58.87c0-1-2.69-2.1-2.69-2.1v-1.2L1181,36.4h1.65l15.88,22.92v1Zm1.2-28.77-1.2,1.05V73.85l12.89-8.39Zm59.92,6.6c-3.74,0-7-1.35-10.33-4.65h-2.1V91.23s5.09,3.74,6.59,3.74c1,0,6-4.34,7.19-5.39l1.8,1.8L1218.89,107h-.75L1203.91,96v-1.2s2.1-1,2.1-1.95V53.18s-3.45-3-5.09-3.6c-1.05,0-1.8.9-3,2l-1.5-1.65,12-12.73h.9l11.39,10,8.84-10h1.19s4,4.94,9,4.94c2.85,0,5.84-.75,7.94-4l1.65.75c-2.55,5.54-9.89,16-16.18,16m-573-2.55V86.73c0,1,2.7,1.8,2.7,1.8v1L638.28,107.1h-.75a29.51,29.51,0,0,0-6.44-3l-.15.15V126l.15.15,4.35-2.1,1,1.65c-13.18,8.69-23.51,16-23.51,16l-.9-1.35s3.14-2.7,3.14-5.09V101.41c-3.44.3-6.74.75-8.54,6.14l-1.34-.3c0-7.34,3.14-13.33,9.88-16.17V53.33s-3.44-3.75-5.54-3.75c-1.35,0-3.3,2.25-4.49,3.45l-1.5-1.5,14.08-15h.9s11.53,7.79,13.48,13.33L644.57,36.7h.75L659.7,49.43,664.94,44l1.65,1.8Zm-15.88,4.79s-5.39-5.09-8.83-7l-4.35,4.35v35.5c4.49,1.35,7.64,2,13,6.59l.15-.15Zm40.9-42.24s12.28,13.63,27-12.13L710,1.65c-8.54,12.73-20.52,1.65-20.52,1.65h-.9a178.85,178.85,0,0,1-21.12,14.38v1.49s2.85.3,2.85,1.95V93c0,1-2.55,2.1-2.55,2.1v1.2L681.27,107H682l10.64-10.63-.3-1.5a8.46,8.46,0,0,1-7.19-4V55l6.44-5.55a54.19,54.19,0,0,1,7.94,6.74v37c0,1.35-1.8,2.1-1.8,2.1v1.2L710.48,107h.75l14.08-14.08-1.5-1.49c-1.19,1.19-3.14,3.14-4.49,3.14-2.4,0-4.94-3.14-4.94-3.14V51.83l6.14-6.44-1.65-1.65-4.94,4.94L700.6,37.15h-.75L685.32,50.78l-.15-.15Zm325.35,113.1c13-12.29,27,13.78,27,13.78l-1.65,1c-9.74-14.38-20.67-1.65-20.67-1.65h-1l-19.77-15.58.15-31.31-.15-1.5h-.15L981.46,107h-.75L962.59,91.83v-.9a6.78,6.78,0,0,0,2.7-1.2.53.53,0,0,0,.15-.6V58.57c0-.3-.45-.45-.45-.45a8.56,8.56,0,0,0-2.7-1.35v-.9L992,36.55h.9l15.73,11.68,6-5.54,1.8,2-6,5.84ZM994.35,88.68V57.82s-9.89-8.39-12.44-9.59l-.6.3v38.8s6,5.84,7.79,6.74Zm-204-51.53c-15.28,15.43-20.07,0-20.07,0h-1.2l-8.84,12.73v.6c1.35,2.55,3.75,6.14,9.29,6.14,4.5,0,8.24-5.84,10.79-8.39l6.59,5.1v9.14c-14.53,1-27.71,9.28-27.71,24.41,0,10.49,6.59,17.53,15,20.07h1l11.54-10.48h.15L798.41,107h.75l13.63-13.18L811.45,92c-1.2,1-2.7,2.4-3.9,2.4-2.55,0-5.84-4-5.84-4V50.48l6-5.84-1.65-1.8-4.34,3.9-10.49-9.59Zm-3.44,28V93.32s-1.5,1.8-5.09,1.8c-4.35,0-7.79-5.84-7.79-14.53s4.34-13.78,12.88-15.43m41-38.2,2,1.2C832.42,21.57,837.81,15,847,15a62.32,62.32,0,0,1,16.32,2.85l-21,15.42,1.8,2,2.7-2c.15,0,1.5,1.2,1.5,15.28v40.9l-6,4.34,1.8,2,2.25-1.65,9.73,8.24c-13.48,0-24.11,13.93-28.16,25.32l2,1.19c2.7-6.74,7.34-13.33,16.63-13.33,12.28,0,26.36,7.19,36.1,7.19,11.53,0,21.27-11.23,25.31-21l-1.94-1.2a14.29,14.29,0,0,1-13.63,9.29,45.9,45.9,0,0,1-8.09-1h-.45a1.13,1.13,0,0,0-.6-.15c1.94-3,2.54-4.94,3.14-9.29.9-7,.9-20.37.9-29.95V21.27c13.33-3,19.92-18.42,20.67-20.07L906,0c-2.4,6-7.49,9.14-14.23,9.14-11.24,0-23.52-7.34-34-7.34-15.58,0-25.31,13.48-29.81,25.16m28.31,75.35,11.69-9.59c-2.7-2.09-5.09-4.49-5.09-7.94V21.12l3.29-2.55a39,39,0,0,0,4.94,1.5v75.5a85,85,0,0,1-.6,9.14,57.4,57.4,0,0,0-14.23-2.4M163.28,77l26.51-16.63v-1L173.91,36.4h-1.64L145.6,55.57v1.2s2.85,1,2.85,2.1V89.43c0,.9-2.55,1.5-2.55,1.5v1.19L164.78,107H166l20.68-18.42-1.8-2.1-11.24,9.29c-2.84-1.8-10.33-8.24-10.33-8.24Zm1.2-28.77,11.68,17.23-12.88,8.39V49.28ZM375.84,107,389,93.32l-1.35-1.64c-1.2,1-3,2.69-4,2.69-2.55,0-5.25-3-5.25-3V50.63l6.3-6.14-1.8-2-4.94,5L366.25,37h-.9L353.22,49.43l1.5,1.8L357,49.28a47.51,47.51,0,0,1,6.6,5.7V93c0,1.35-2.4,2.1-2.4,2.1v1.2L374.94,107Zm-4.5-77.74a60.87,60.87,0,0,1,9.59-9.74V18.28a73.67,73.67,0,0,1-10-9.89h-1.2a45.4,45.4,0,0,1-9.59,10v1.2a96.3,96.3,0,0,1,10,9.59ZM407.45,107h-.9L392.92,96.32v-1.2s2.24-.75,2.24-2.1V18.13L395,18l-4.34,2.24-1.05-2.09c9.44-5.7,23.67-16,23.67-16l1.5,1.79s-4.8,3.45-4.8,7V91.23s3.15,2.84,4.95,2.84c1,0,2.39-1.2,3.59-2.24l1.65,1.79ZM104.11,14.83v35.8l.15.15,14.53-13.63h.75l13.33,11.53,4.94-4.94,1.65,1.65-6.14,6.44V91.38s2.55,3.14,4.94,3.14c1.35,0,3.3-2,4.5-3.14l1.49,1.49L130.17,107h-.75L116.69,96.47v-1.2s1.8-.75,1.8-2.1v-37a54.19,54.19,0,0,0-7.94-6.74L104.11,55v35.8a8.46,8.46,0,0,0,7.19,4l.3,1.5L101,107h-.75L86.73,96.32v-1.2s2.55-1.05,2.55-2.1V21.12c0-1.65-2.85-1.95-2.85-1.95V17.68A178.85,178.85,0,0,0,107.55,3.3h.9s12,11.08,20.52-1.65l2.1,1.05c-14.68,25.76-27,12.13-27,12.13m212.56,0v35.8l.15.15,14.53-13.63h.75l13.33,11.53,4.94-4.94,1.8,1.65-6.29,6.44V91.38s2.55,3.14,5.09,3.14c1.2,0,3.15-2,4.35-3.14L357,92.87,342.73,107H342L329.25,96.32v-1.2s1.8-.6,1.8-2v-37a61.18,61.18,0,0,0-7.94-6.89L316.67,55v35.8a8.48,8.48,0,0,0,7.19,4l.3,1.5L313.52,107h-.75L299.29,96.32v-1.2s2.55-1.2,2.55-2.1V21.12c0-1.65-2.85-1.95-2.85-1.95V17.68A178.85,178.85,0,0,0,320.11,3.3h.9s12.14,11.08,20.53-1.65l2.09,1.05c-14.68,25.76-27,12.13-27,12.13M452.83,37.15c-15.28,15.43-20.07,0-20.07,0h-1.2l-9,12.73v.6c1.5,2.55,3.9,6.14,9.29,6.14,4.65,0,8.24-5.84,10.79-8.39l6.74,5.1v9.14c-14.68,1-27.71,9.28-27.71,24.41A20.22,20.22,0,0,0,436.51,107h1.19l11.39-10.48h.3L460.77,107h.9l13.48-13.18L473.81,92c-1.2,1-2.55,2.4-3.75,2.4-2.55,0-5.84-4-5.84-4V50.48l6-5.84-1.8-1.8-4.19,3.9-10.64-9.59Zm-3.44,28V93.32a7.25,7.25,0,0,1-5.24,1.8c-4.2,0-7.64-5.84-7.64-14.53s4.34-13.78,12.88-15.43m-192,42.39,4.49-2.54,1.2,2.09-31.6,21.28c-4.05-5.1-8.39-6.9-12.29-6.9-5.84,0-10.78,3.9-13.18,8.09-.6-.3-2.1-1-2.25-1.19.9-2.25,9.44-22,26.82-20.53V15.13a34.09,34.09,0,0,0-9.59-1.5c-12.88,0-18.13,12-18.58,13.48l-2.54-1.94C205.37,13.93,214.81.9,229.49.9c10.63,0,18.27,7.79,30,9.14l13
2-8.84h1c2.09,7.79,23.52,21.27,23.52,38.05,0,13.48-13.64,23.51-22.47,30-4.5,3.29-6.15,8.23-6.15,13.48a8.36,8.36,0,0,0,.3,2.39l-.89.6c-.9-.3-8.39-3.14-8.39-9.28,0-3.75,2.84-5.85,6.74-7V21.12c-1.95-2.84-3.15-4.64-4.8-7.49-1.34.45-2.84,2.4-3.29,5.39a92.7,92.7,0,0,0-.75,12.59Zm-24.57.9,8.69,2.4V19.62L232.78,16Zm49.89-59.17c0-9.28-8.84-18.57-14.24-25.76V68.76c10.19-3,14.24-9.44,14.24-19.48M67.71,95c.9-.3,9.43-2.55,16-14.08l2.09,1.2C77.29,99,64.11,110.4,43.89,110.4c-20.67,0-39.1-19.47-39.1-39.55,0-12.88,3.9-36.4,36.85-49-1.2-.3-12-3.15-21.42-3.15-8.69,0-14.38,5.7-18.12,13.19L0,30.71C5.39,17.38,17.83,5.54,33,5.54c13.18,0,25.76,7.34,38.94,7.34,7.94,0,13.33-2.84,16.33-9.28l2.25,1.34c-.6,1.35-7.79,16.18-22.77,19.93ZM37.15,89l6-4.35V47.93c0-1.49,0-8.38-1.2-10L38.8,40.15,37.15,38.5l18-13.33L44.94,22.92C29.51,30.26,22,46,22,62.17c0,19.92,11.23,35.05,28.61,35.05L41,89.13,38.8,90.78ZM57.82,25.62l-1,.89V81.34c0,3,1.95,5.09,4.2,6.59L50.63,97.22c2.25.15,2.7.15,3.75.15a40.45,40.45,0,0,0,11.08-1.65V25.32a19,19,0,0,1-4.49.44,21.56,21.56,0,0,1-3.15-.14m417.33-5.4L479.5,18l18.12,23.36L476.5,55.57v1.2c1.65,0,3,.6,3,2.1V86.73c0,.9-1.35,1.65-2.85,1.65v1.2l25.17,17.52h.75l24.56-17.52v-1.2c-1.2,0-2.69-1-2.69-1.95V52.88l6.89-7.19L529.68,44l-5.24,5.24-30-38.49c0-3.6,4.79-6.9,4.79-6.9l-1.5-1.79s-14.23,10.33-23.67,16Zm33.41,35.2v39l-13.18-9.29V46.59l4-3Z"})})})})})]})})},76923:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThreadsIcon=void 0;var r=n(34766);t.ThreadsIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"#1A6AFF":i,a=e.width,s=void 0===a?"24":a,l=e.height,c=void 0===l?"24":l;return(0,r.jsx)("div",{className:"inq-icon inq-icon--threads inq-icon--".concat(n),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:c,viewBox:"0 0 40 40",fill:"currentColor",children:[(0,r.jsx)("title",{children:"Threads"}),(0,r.jsx)("path",{id:"Vector",d:"M29.4869 18.5392C29.3146 18.4566 29.1396 18.3772 28.9623 18.3011C28.6535 12.6121 25.545 9.35521 20.3254 9.32187C20.3017 9.32173 20.2782 9.32173 20.2546 9.32173C17.1326 9.32173 14.536 10.6544 12.9379 13.0793L15.8085 15.0485C17.0024 13.2371 18.8761 12.851 20.2559 12.851C20.2719 12.851 20.2879 12.851 20.3036 12.8511C22.0223 12.8621 23.3191 13.3618 24.1585 14.3363C24.7694 15.0457 25.1779 16.026 25.3802 17.2633C23.8564 17.0043 22.2085 16.9247 20.4469 17.0257C15.4843 17.3115 12.294 20.2058 12.5082 24.2275C12.617 26.2675 13.6333 28.0225 15.3698 29.169C16.838 30.1381 18.7289 30.6121 20.6942 30.5048C23.2896 30.3625 25.3256 29.3723 26.746 27.5617C27.8248 26.1867 28.5071 24.4048 28.8083 22.1596C30.0452 22.906 30.9619 23.8883 31.4681 25.0692C32.3289 27.0765 32.3791 30.375 29.6877 33.0642C27.3296 35.42 24.495 36.4392 20.2111 36.4706C15.4592 36.4354 11.8654 34.9115 9.52875 31.941C7.34071 29.1596 6.20992 25.1421 6.16773 20C6.20992 14.8579 7.34071 10.8403 9.52875 8.0589C11.8654 5.08852 15.4591 3.56458 20.2111 3.52927C24.9975 3.56485 28.6539 5.09612 31.08 8.08083C32.2696 9.5445 33.1664 11.3852 33.7577 13.5313L37.1216 12.6338C36.405 9.99212 35.2773 7.71577 33.7427 5.82792C30.6325 2.00139 26.0837 0.0406558 20.2228 0H20.1993C14.3503 0.0405146 9.8525 2.00871 6.83088 5.84985C4.14204 9.268 2.75506 14.0241 2.70846 19.9859L2.70831 20L2.70846 20.0141C2.75506 25.9758 4.14204 30.7321 6.83088 34.1502C9.8525 37.9912 14.3503 39.9596 20.1993 40H20.2228C25.4229 39.964 29.0883 38.6025 32.1079 35.5856C36.0585 31.6388 35.9396 26.6915 34.6375 23.6544C33.7033 21.4765 31.9223 19.7075 29.4869 18.5392ZM20.5084 26.9806C18.3334 27.1031 16.0738 26.1269 15.9624 24.0358C15.8798 22.4854 17.0658 20.7554 20.6419 20.5493C21.0514 20.5257 21.4533 20.5142 21.8481 20.5142C23.1471 20.5142 24.3623 20.6404 25.4671 20.8819C25.055 26.0281 22.6379 26.8638 20.5084 26.9806Z",fill:o})]})})}},12798:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToggleIcon=void 0;var r=n(34766),i=n(83732),o=n(72541),a=n(78090);t.ToggleIcon=function(e){var t=e.color,n=void 0===t?i.ThemeColor.Blue:t,s=e.isOpen;return void 0!==s&&s?(0,r.jsx)(a.RemoveIcon,{color:n}):(0,r.jsx)(o.AddIcon,{color:n})}},96391:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
2dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809));t.default=o.default.memo(function(e){var t=e.direction,n=e.onClick;return(0,i.jsx)("div",{className:"absolute top-0 ".concat(t,"-0 z-10 cursor-pointer bg-neutral-white\n    flex w-4 h-full justify-center items-center\n    md:w-8 md:h-full lg:hidden"),onClick:n,children:(0,i.jsx)("div",{className:"flex w-3 h-3 md:w-4 md:h-4 justify-center items-center",children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:"right"===t?(0,i.jsx)("path",{d:"M12.1147 7.3333L8.53871 3.7573L9.48137 2.81464L14.6667 7.99997L9.48137 13.1853L8.53871\n            12.2426L12.1147 8.66664H1.33337V7.3333H12.1147Z",fill:"black"}):(0,i.jsx)("g",{transform:"scale(-1, 1) translate(-16, 0)",children:(0,i.jsx)("path",{d:"M12.1147 7.3333L8.53871 3.7573L9.48137 2.81464L14.6667 7.99997L9.48137 13.1853L8.53871\n              12.2426L12.1147 8.66664H1.33337V7.3333H12.1147Z",fill:"black"})})})})})})},57729:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TwitterIcon=void 0;var r=n(34766);t.TwitterIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"currentColor":i,a=e.width,s=void 0===a?"24":a,l=e.height,c=void 0===l?"24":l,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--twitter inq-icon--".concat(n).concat(d),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:c,viewBox:"0 0 24 24",fill:o,children:[(0,r.jsx)("title",{children:"X"}),(0,r.jsx)("path",{d:"M8 2H1L9.26086 13.0145L1.44995 21.9999H4.09998L10.4883 14.651L16 22H23L14.3917 10.5223L21.8001 2H19.1501L13.1643 8.88578L8 2ZM17 20L5 4H7L19 20H17Z"})]})})}},19864:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WhatsAppIcon=void 0;var r=n(34766);t.WhatsAppIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"currentColor":i,a=e.width,s=void 0===a?"24":a,l=e.height,c=void 0===l?"24":l,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--whatsapp inq-icon--".concat(n," ").concat(d),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:c,viewBox:"0 0 40 40",fill:o,children:[(0,r.jsx)("title",{children:"What's App"}),(0,r.jsx)("path",{d:"M29.596 22.9844L26.0849 21.3244C25.8686 21.2359 25.6385 21.1855 25.4049 21.1756C25.0116 21.1756 24.6805 21.3711 24.4227 21.7578C24.1316 22.1911 23.2494 23.2222 22.9783 23.5289C22.9427 23.5689 22.8938 23.6178 22.8649 23.6178C22.658 23.5428 22.4534 23.4613 22.2516 23.3733C19.1227 22.0133 16.7494 18.7467 16.4227 18.1956C16.376 18.1156 16.3738 18.08 16.3738 18.08C16.3849 18.0378 16.4894 17.9333 16.5449 17.8778C16.7049 17.72 16.876 17.5133 17.0427 17.3133L17.2783 17.0333C17.5205 16.7533 17.6272 16.5333 17.7516 16.2822L17.816 16.1511C18.1205 15.5467 17.8605 15.0356 17.776 14.8711C17.7072 14.7333 16.476 11.7622 16.3449 11.4489C16.0294 10.6956 15.6138 10.3444 15.036 10.3444L14.8116 10.3533C14.5383 10.3644 13.0472 10.5622 12.3872 10.9778C11.6872 11.4178 10.5049 12.8244 10.5049 15.2956C10.5049 17.52 11.916 19.62 12.5227 20.42L12.6049 20.54C14.9249 23.9289 17.8205 26.4422 20.7538 27.6133C23.5783 28.7422 24.916 28.8711 25.676 28.8711C25.996 28.8711 26.2516 28.8467 26.476 28.8244L26.6183 28.8111C27.5938 28.7244 29.7383 27.6133 30.2249 26.2578C30.6094 25.1911 30.7094 24.0244 30.456 23.6C30.2805 23.3111 29.9783 23.1667 29.5983 22.9844H29.596ZM20.356 0C9.52271 0 0.709375 8.74667 0.709375 19.5C0.707451 22.9686 1.63766 26.374 3.40271 29.36L0.0271525 39.3133C-0.0350697 39.5 0.011597 39.7044 0.147153 39.8444C0.247153 39.9467 0.380486 40 0.518264 40C0.571759 39.9995 0.6249 39.9913 0.676041 39.9756L11.056 36.6778C13.9191 38.2012 17.1129 38.9972 20.356 38.9956C31.1872 38.9956 40.0005 30.2489 40.0005 19.4978C40.0005 8.74667 31.1872 0 20.356 0ZM20.356 34.9356C17.2983 34.9356 14.3383 34.0533 11.7938 32.3822C11.7094 32.3267 11.6094 32.2978 11.5094 32.2978C11.456 32.2978 11.4027 32.3067 11.3516 32.3222L6.1516 33.9756L7.82938 29.0244C7.88493 28.8644 7.85604 28.6867 7.75604 28.5511C5.82643 25.9292 4.78822 22.7
2577 4.79382 19.5022C4.79382 10.9911 11.7738 4.06444 20.356 4.06444C28.9383 4.06444 35.916 10.9889 35.916 19.5022C35.916 28.0156 28.936 34.9378 20.356 34.9378V34.9356Z",fill:o})]})})}},67434:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteInquirerIcon=void 0;var r=n(34766);t.WhiteInquirerIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.width,o=void 0===i?"15":i,a=e.height,s=void 0===a?"24":a,l=e.wrapperClassName,c=void 0===l?"":l;return(0,r.jsx)("div",{className:"inq-icon inq-icon--white-inquirer inq-icon--".concat(n," ").concat(c),children:(0,r.jsxs)("svg",{width:o,height:s,viewBox:"0 0 15 24",version:"1.1",children:[(0,r.jsx)("title",{children:"i_logo"}),(0,r.jsx)("g",{id:"i_logo",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,r.jsx)("path",{d:"M5.15696428,18.6444335 L7.30897991,16.8932483 L6.81690316,16.451692 C6.36911333,16.0045774 6.38551589,15.4340363 6.38551589,15.4340363 L6.38551589,3.84992643 L6.96944695,3.40248488 L7.25321121,3.4919078 C7.25321121,3.4919078 7.51237163,3.56269413 7.87322791,3.65555011 L7.87322791,17.4046101 C7.88634996,18.3457577 7.80433716,18.8576099 7.75512949,19.0761811 C6.72668909,18.7779957 6.25593568,18.7320582 6.25593568,18.7320582 C5.79502379,18.6725519 5.44728956,18.648357 5.17992786,18.6454144 C5.16680582,18.644924 5.15696428,18.6444335 5.15696428,18.6444335 Z M14.6146793,18.5275462 L14.2505425,18.3061958 C13.965138,18.9844695 13.5681961,19.3081576 13.5681961,19.3081576 C12.6283295,20.1242439 11.7442316,20.073075 10.297526,19.8169037 C10.226995,19.8044793 10.1613848,19.7910741 10.0974148,19.7773418 C10.156464,19.6848128 10.2155132,19.5826385 10.2729222,19.4701651 C10.4664724,19.0956351 10.6157356,18.6289031 10.6551018,18.2146477 C10.7026692,17.7264999 10.7108705,17.3133889 10.7108705,17.3133889 L10.8010845,14.0065392 L10.8256884,9.94850417 L10.8273286,3.89390224 L10.9372258,3.86921694 C13.3631641,3.23181298 14.6146793,0.221350335 14.6146793,0.221350335 L14.2505425,1.77635684e-14 C13.965138,0.678273664 13.5681961,1.00179827 13.5681961,1.00179827 C12.6283295,1.81804806 11.7442316,1.76687919 10.297526,1.51070786 C9.87926077,1.43681543 9.58237447,1.33840118 9.24448177,1.23540951 C8.77208809,1.0918751 8.5047264,1.00179827 8.5047264,1.00179827 C6.95140414,0.49305215 6.25593568,0.425698872 6.25593568,0.425698872 C5.46861288,0.324178519 4.99949972,0.323524604 4.72951361,0.361288213 C4.49430093,0.394147458 4.38243548,0.425698872 4.38243548,0.425698872 C3.21227699,0.732875593 2.32637482,1.44842243 1.65895473,2.16495014 C0.450742298,3.46231813 2.4158453e-13,4.93379107 2.4158453e-13,4.93379107 L0.343141516,5.14124571 C0.438932456,4.92038581 0.538660009,4.72241295 0.641996126,4.53833579 C0.908045619,4.06375674 1.20591607,3.69772764 1.47672231,3.4494033 C1.87989719,3.07961419 2.21303314,2.95095635 2.21303314,2.95095635 C2.41101202,2.84829165 2.66082298,2.78110185 2.94196283,2.75216609 C3.56739237,2.68775544 4.57549359,2.82099068 5.39152086,2.98757561 C5.82946916,3.07683505 6.21000851,3.17704757 6.44948586,3.24440085 L2.62211294,6.07912375 L2.94261893,6.41572666 L3.43469568,6.05819846 C3.43469568,6.05819846 3.74929674,6.19257806 3.72370875,8.83619421 L3.71337514,16.2965506 L3.59347244,16.37829 L2.62047269,17.0841916 L2.9417988,17.4217754 L3.35415911,17.1226091 L5.15368377,18.6441066 C5.15368377,18.6441066 5.15204351,18.6447605 5.15040326,18.644924 C4.97489588,18.6439431 4.83547414,18.6526075 4.72951361,18.6674841 C4.49430093,18.7003433 4.38243548,18.7320582 4.38243548,18.7320582 C3.21227699,19.0390714 2.32637482,19.7544548 1.65895473,20.4709825 C0.450742298,21.768514 2.4158453e-13,23.2399869 2.4158453e-13,23.2399869 L0.343141516,23.4474416 C0.438932456,23.2265817 0.538660009,23.0287723 0.641996126,22.8445316 C0.908045619,22.3699526 1.20591607,22.00376 1.47672231,21.7555991 C1.87989719,21.3859735 2.21303314,21.2573157 2.21303314,21.2573157 C2.41101202,21.154651 2.66082298,21.0874612 2.94196283,21.0583619 C3.56739237,20.9939513 4.57549359,21.1271865 5.39152086,21.2937715 C6.13291649,21.4449894 6.7152073,21.6284126 6.7152073,21.6284126 C8.69827658,22.2144842 9.83333361,22.6946215 11.5408399,21.9604381 C13.5255494,21.1062612 14.6146793,18.5275462 14.6146793,18.5275462 L14.6146793,18.5275462 Z",id:"I",fill:"#FFFFFF"})})]})})}},47400:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
2dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressCircle=void 0;var i=n(34766),o=r(n(40809)).default.memo(function(e){var t=e.value,n=e.disabled,r=void 0!==n&&n,o=e.color,a=e.size,s=void 0===a?24:a,l=e.strokeWidth,c=void 0===l?2.5:l;if(void 0===t||t<=0)return null;var u=Math.min(100,Math.max(0,t)),d=s/2,f=d-c/2,p=2*Math.PI*f,m=null!=o?o:r?"#1A6AFF":"#ffffff";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("svg",{width:s,height:s,viewBox:"0 0 ".concat(s," ").concat(s),"aria-hidden":"true",style:{flexShrink:0},children:(0,i.jsx)("circle",{cx:d,cy:d,r:f,fill:"none",stroke:m,strokeWidth:c,strokeLinecap:"round",strokeDasharray:p,strokeDashoffset:p*(1-u/100),transform:"rotate(-90 ".concat(d," ").concat(d,")"),style:{transition:"stroke-dashoffset 0.4s ease"}})}),(0,i.jsx)("div",{className:"inline-block h-full w-2"})]})});t.ProgressCircle=o,t.default=o},98227: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=function(e){var t=e.children,n=e.type,i=void 0===n?"standard":n,c=e.mode,u=void 0===c?"primary":c,d=e.disabled,f=void 0!==d&&d,p=e.size,m=void 0===p?"large":p,h=e.onClick,g=e.ariaLabel,v=void 0===g?"":g,b=e.customClass,y=void 0===b?"":b,w=e.additionalAttrs,x=e.iconSide,_=e.fluid,C=void 0!==_&&_,j=e.link,S=void 0===j?"#":j,O=e.loadingSpinner,k=void 0!==O&&O,E=e.progress,L="inq-button-ds cursor-pointer font-grot10 !normal-case";L+="small"===m?" !text-sm !leading-4":"medium"===m?" !text-md !leading-5":" !text-lg !leading-6 ";if("link"===i)return L+=" inq-button-ds--link decoration-1 underline-offset-1",L+="primary"===u||"fill"===u?" text-blue-mid":" text-black",(0,o.jsx)("a",r({href:S,"aria-label":v,className:L+" "+y,onClick:h},w,{children:t}));L+="small"===m?" min-h-[32px] px-4 py-2":"medium"===m?" min-h-[40px] px-6 py-2.5":" min-h-[56px] px-10 py-4";L+=" !font-medium \n    text-white inline-flex \n    justify-center items-center text-center \n    not-italic rounded \n    box-border focus:ring-4 \n    transition-all duration-300 ease-out",C&&(L+=" w-full");"secondary"===u||"outline"===u?(L+=" inq-button-ds--secondary bg-transparent hover:bg-transparent !border !border-solid",L+="destroy"===i?" inq-button-ds--destroy !text-red-destroy border-red-destroy  \n      hover:!text-red-dark hover:border-red-dark\n      focus:!bg-white focus:ring-4 focus:ring-red-fade":" !text-black border-black hover:border-gray-mid-neutral\n      focus:!bg-white focus:ring-4 focus:ring-silversand\n      active:ring-0 active:!bg-gray-mid-neutral active:!text-white"):L+="destroy"===i?" inq-button-ds--destroy bg-red-destroy hover:bg-red-dark focus:ring-red-dark":" bg-blue-mid hover:bg-blue-dark focus:ring-blue-dark";f&&(L+=" inq-button-ds--disabled",L+="primary"===u||"fill"===u?" !bg-gray-light !text-secondary \n      !cursor-not-allowed hover:bg-gray-light ":" !bg-transparent !text-secondary shadow-none\n      !border-silversand !border-solid\t!border\n      !cursor-not-allowed hover:!border-silversand\n      hover:!bg-transparent hover:!text-secondary\n      active:!bg-transparent \n      active:!text-secondary\n       ");var P="black";"primary"!==u&&"fill"!==u||(P="white");f&&(P="gray");y&&(L+=" ".concat(y));var N=a.default.Children.toArray(t),A=N[1]&&a.default.isValidElement(N[1])?a.default.cloneElement(N[1],{className:P}):null;return(0,o.jsxs)("button",r({"aria-label":v,className:L,onClick:h,disabled:f},w,f&&{"aria-disabled":!0},{children:[k&&f&&(void 0===E||0===E)?(0,o.jsx)(s.Spinner,{lineThickness:3,dark:"secondary"===u||"outline"===u}):null,(0,o.jsx)(l.default,{value:E,disabled:f}),"left"===x&&(0,o.jsxs)(o.Fragment,{children:[A,t?(0,o.jsx)("div",{className:"inline-block h-full w-2"}):null]}),N.length>1?N[0]:t,"right"===x&&(0,o.jsxs)(o.Fragment,{children:[t?(0,o.jsx)("div",{className:"inline-block h-full w-2"}):null,A]})]}))};var o=n(34766),a=i(n(40809)),s=n(96892),l=i(n(47400))},83706:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(34766),i=n(40809),o=n(65096),a=n(98227);t.default=(0,i.memo)(function(e){var t,n=e.filterMenus,i=e.handleMenuToggle,s=e.openMenu,l=e.handleFilterSelect,c=e.getOptionsForType,u=e.getSelectedValues,d=e.customPriceValues,f=e.handleClearFilters,p=e.handleApplyFilters,m=e.customWrapperClass;return(0,r.jsxs)("div",{className:m,children:[(0,r.jsx)("div",{className:"sticky top-0 bg-white w-full z-[2] rounded-t-lg",children:(0,r.jsx)("div",{className:"flex gap-x-4 mx-5 py-2.5 border-b-2 border-solid border-black",children:null==n?void 0:n.map(function(e){return(0,r.jsxs)("button",{onClick:function(){return i(e)},className:"flex items-center bg-white font-grot10 text-4 leading-5 font-normal cursor-pointer ".concat(s===e?"text-primary":"text-neutral-mid-gray"),children:[(t=e,t[0].toUpperCase()+t.slice(1)),(0,r.jsx)("span",{className:"ml-1 mt-1",children:(0,r.jsx)(o.ChevronUpIcon,{size:"small",color:s===e?"#222222":"#84858B",customClass:"transition-transform duration-700".concat(s===e?" rotate-180":"")})})]},e);var t})})}),(0,r.jsx)("div",{className:"flex-1 overflow-y-auto p-3",children:(0,r.jsx)("div",{className:"sm:grid xl:block ".concat("price"===s?"sm:grid-cols-1":"sm:grid-cols-2"),children:null===(t=c(s))||void 0===t?void 0:t.map(function(e){var t;return(0,r.jsxs)("label",{className:"flex items-center m-2 cursor-pointer",children:[(0,r.jsx)("input",{type:"checkbox",name:s,value:e,checked:null===(t=u(s))||void 0===t?void 0:t.includes(e),onChange:function(){return l(s,e)},className:'relative shrink-0 h-4 w-4 border-2 border-solid rounded-sm border-neutral-light-text cursor-pointer appearance-none\n                checked:bg-secondary-yellow checked:border-secondary-yellow checked:after:content-[""] checked:after:absolute checked:after:left-[0.219rem]\n                checked:after:top-[0.031rem] checked:after:w-[0.188rem] checked:after:h-[0.438rem] checked:after:border-solid checked:after:border-primary\n                checked:after:border-r-2 checked:after:border-b-2 checked:after:border-t-0 checked:after:border-l-0 checked:after:rotate-45'}),(0,r.jsxs)("span",{className:"ml-2 font-grot10 text-4 leading-5 text-primary font-normal",children:[e,(null==e?void 0:e.includes("$"))&&d&&(0,r.jsx)("span",{className:"ml-1 text-neutral-mid-gray",children:d[e]})]})]},e)})})}),(0,r.jsxs)("div",{className:"shadow-[0_0_20px_0_rgba(0,_0,_0,_0.1)] sticky bottom-0 flex gap-x-4 justify-end items-center p-4 bg-white rounded-b-lg",children:[(0,r.jsx)("button",{onClick:f,className:"font-grot10 text-4 leading-5 font-medium text-primary bg-white cursor-pointer",children:"Clear filters"}),(0,r.jsx)(a.Button,{size:"medium",onClick:p,customClass:"bg-shades-yellow-70 !text-primary !font-medium hover:!bg-secondary-yellow focus!:ring-4 focus:!ring-secondary-yellow",children:"Apply"})]})]})})},30498:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(34766),i=n(40809),o=n(65096);t.default=(0,i.memo)(function(e){var t=e.title,n=e.isOpen,i=e.onToggle,a=e.selectedCount;return(0,r.jsxs)("button",{type:"button",onClick:i,className:"flex items-center justify-between w-full px-3 py-2 text-left bg-white\n          border border-solid border-neutral-light-charcoal-gray rounded-md cursor-pointer",children:[(0,r.jsxs)("span",{className:"flex items-center",children:[(0,r.jsx)("span",{className:"font-grot10 text-4 leading-5 font-normal capitalize text-neutral-text-color",children:t}),!!a&&a>=1&&(0,r.jsx)("div",{className:"ml-2 flex h-2 w-2 p-1.5 flex-col justify-center items-center rounded-[20px] bg-black",children:(0,r.jsx)("span",{className:"text-center text-white font-grot10 font-bold text-3",children:a})})]}),(0,r.jsx)(o.ChevronUpIcon,{size:"small",customClass:"transition-transform duration-300 ".concat(n?"":"rotate-180")})]})})},13303:function(e,t,n){"use strict";var r,i=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Prom
2ise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},s=this&&this.__generator||function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormInput=void 0;var c=n(34766),u=l(n(40809)),d=n(58375),f=function(e){function t(t){var n=e.call(this,t)||this;return n.debounce=(0,d.debounce)(function(e,t){n.getErrorMessages(e).then(function(r){var i=0===r.length;n.setState({errors:r}),n.props.onValueChange(e,i,t)})},500),n.state={errors:[],isBlur:!1,isPasswordVisible:!1,userHasEnteredData:!1},n.handleChange=n.handleChange.bind(n),n.togglePasswordVisibility=n.togglePasswordVisibility.bind(n),n.handleInputBlur=n.handleInputBlur.bind(n),n.handleInputFocus=n.handleInputFocus.bind(n),n}return i(t,e),t.prototype.componentDidMount=function(){this.props.value&&this.emitValueChange(this.props.value)},t.prototype.componentDidUpdate=function(e){this.state.userHasEnteredData||e.value||!this.props.value||this.emitValueChange(this.props.value)},t.prototype.handleChange=function(e){this.anyVisibleErrors()&&this.setState({errors:[]}),this.state.userHasEnteredData||this.setState({userHasEnteredData:!0}),this.emitValueChange(e.target.value,e)},t.prototype.emitValueChange=function(e,t){this.props.onValueChange(e,!1,t),this.debounce(e,t)},t.prototype.togglePasswordVisibility=function(){this.setState({isPasswordVisible:!this.state.isPasswordVisible})},t.prototype.handleInputBlur=function(){var e=this;(0,d.isEmpty)(this.props.value)&&this.getErrorMessages(this.props.value).then(function(t){e.setState({errors:t})}),this.setState({isBlur:!0,userHasEnteredData:!0})},t.prototype.handleInputFocus=function(e){this.setState({isBlur:!1}),this.props.value&&!this.state.userHasEnteredData&&e.target.select()},t.prototype.getErrorMessages=function(e){return a(this,void 0,void 0,function(){var t=this;return s(this,function(n){switch(n.label){case 0:return this.props.validators?[4,Promise.all(this.props.validators.map(function(n){return a(t,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return n.validFunc?[4,n.validFunc(e)]:[3,2];case 1:if(!0!==t.sent())return[2,n.errorMessage];t.label=2;case 2:return n.validRegex&&!n.validRegex.test(e)?[2,n.errorMessage]:[2,""]}})})}))]:[2,[]];case 1:return[2,n.sent().filter(Boolean)]}})})},t.prototype.anyVisibleErrors=function(){return!!this.state.errors.length&&this.state.isBlur},t.prototype.render=function(){var e=this.props.type,t="",n="font-grot10 text-4 font-normal leading-[1.25rem] py-3 px-[1.125rem] rounded-[3px] w-full text-primary",r=this.props.additionalAttrs,i="visibility-toggle";return"password"===e&&this.state.isPasswordVisible&&(e="text"),(this.props.icon||"password"===this.props.type)&&(t+="input-with-addon",n+=" pr-[57px] focus:pr-[57px] active:pr-[57px]"),this.props.label||(r=o(o({},r),{"aria-label":this.props.placeholder})),(this.props.onClickIconButton||"password"===this.props.type)&&(i+=" pointer"),r&&r.className&&(r.className+=" ".concat(n)),(0,c.jsxs)("div",{className:"font-grot10 inq-form-input text-3.5 leading-4 font-bold ".concat(this.anyVisibleErrors()?"invali
2d":""),children:[this.props.label&&(0,c.jsxs)("label",{htmlFor:this.props.id,className:this.props.labelCustomClass||"font-bold text-black",children:[this.props.label,!this.props.required&&(0,c.jsx)("span",{className:"optional",children:" (Optional)"})]}),(0,c.jsxs)("div",{className:t,children:[(0,c.jsx)("input",o({className:n,id:this.props.id,ref:this.props.inputRef,type:e,placeholder:this.props.placeholder,"aria-required":this.props.required,required:this.props.required,value:this.props.value,onFocus:this.handleInputFocus,onChange:this.handleChange,onBlur:this.handleInputBlur,disabled:this.props.disabled},r)),this.props.icon&&(0,c.jsx)("button",{className:i,onClick:this.props.onClickIconButton,children:this.props.children}),"password"===this.props.type&&(0,c.jsx)("img",{onClick:this.togglePasswordVisibility,className:i,alt:this.state.isPasswordVisible?"hidePassword":"showPassword",src:"data:image/svg+xml;base64, ".concat(this.state.isPasswordVisible?"PHN2ZyBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Im0wIDBoMjR2MjRoLTI0eiIvPjxnIGZpbGw9IiNkZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMikiPjxwYXRoIGQ9Im0xMSAyLjVjLTUgMC05LjI3IDMuMTEtMTEgNy41IDEuNzMgNC4zOSA2IDcuNSAxMSA3LjVzOS4yNy0zLjExIDExLTcuNWMtMS43My00LjM5LTYtNy41LTExLTcuNXptMCAxMi41Yy0yLjc2IDAtNS0yLjI0LTUtNXMyLjI0LTUgNS01IDUgMi4yNCA1IDUtMi4yNCA1LTUgNXptMC04Yy0xLjY2IDAtMyAxLjM0LTMgM3MxLjM0IDMgMyAzIDMtMS4zNCAzLTMtMS4zNC0zLTMtM3oiLz48cGF0aCBkPSJtOS41LTNoMnYyNmgtMnoiIHRyYW5zZm9ybT0ibWF0cml4KC43MDcxMDY3OCAuNzA3MTA2NzggLS43MDcxMDY3OCAuNzA3MTA2NzggMTAuMTQ2NDQ3IC00LjQ5NTY4OSkiLz48L2c+PC9nPjwvc3ZnPg==":"PHN2ZyBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Im0wIDBoMjR2MjRoLTI0eiIvPjxwYXRoIGQ9Im0xMiA0LjVjLTUgMC05LjI3IDMuMTEtMTEgNy41IDEuNzMgNC4zOSA2IDcuNSAxMSA3LjVzOS4yNy0zLjExIDExLTcuNWMtMS43My00LjM5LTYtNy41LTExLTcuNXptMCAxMi41Yy0yLjc2IDAtNS0yLjI0LTUtNXMyLjI0LTUgNS01IDUgMi4yNCA1IDUtMi4yNCA1LTUgNXptMC04Yy0xLjY2IDAtMyAxLjM0LTMgM3MxLjM0IDMgMyAzIDMtMS4zNCAzLTMtMS4zNC0zLTMtM3oiIGZpbGw9IiNkZGQiLz48L2c+PC9zdmc+")})]}),this.props.assistiveText&&(0,c.jsx)("div",{className:"assistive-text",children:this.props.assistiveText}),this.state.isBlur?this.state.errors.map(function(e,t){return(0,c.jsx)("div",{className:"input-error leading-4.5 font-normal",role:"alert","aria-atomic":"true",children:e},"input-error-".concat(t))}):null]})},t}(u.default.Component);t.FormInput=f},42061:function(e,t,n){"use strict";var r,i=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormSelect=void 0;var s=n(34766),l=a(n(40809)),c=n(5185),u=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n.handleChange=n.handleChange.bind(n),n.handleBlur=n.handleBlur.bind(n),n.handleFocus=n.handleFocus.bind(n),n}return i(t,e),t.prototype.handleChange=function(e){this.props.onValueChange(e.target.value)},t.prototype.handleBlur=function(){var e;"function"==typeof(null===(e=this.props)||void 0===e?void 0:e.onBlur)&&this.props.onBlur()},t.prototype.handleFocus=function(e){var t;"function"==typeof(null===(t=this.props)||void 0===t?void 0:t.onFocus)&&this.props.onFocus(e)},t.prototype.render=function(){var e=this;
2return(0,s.jsxs)("div",{className:"inq-form-select",children:[(0,s.jsxs)("label",{htmlFor:this.props.id,className:this.props.labelCustomClass||"font-normal pb-2 text-primary",children:[this.props.label,!this.props.required&&(0,s.jsx)("span",{className:"optional",children:" (Optional)"})]}),(0,s.jsxs)("select",o({id:this.props.id,"aria-required":this.props.required,required:this.props.required,value:this.props.value,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,disabled:this.props.disabled||!1,className:this.props.inputCustomClass||"rounded-[3px] border border-solid border-primary w-full relative"},this.props.additionalAttrs,{children:[(this.props.showBlankOption||this.props.placeholder)&&(0,s.jsx)("option",{value:"",disabled:!0,children:this.props.placeholder||""}),this.props.options.map(function(t){return(0,s.jsx)("option",{value:t.value,children:t.label},"".concat(e.props.id,"_").concat(t.value))})]})),(0,s.jsx)(c.ChevronDownIcon,{}),this.props.assistiveText&&(0,s.jsx)("div",{className:"assistive-text",children:this.props.assistiveText})]})},t}(l.default.Component);t.FormSelect=u},66327:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});var s=n(34766),l=a(n(40809));t.default=l.default.memo(function(e){var t=e.isActive,n=e.handleToggle,r=e.isLoading,i=void 0!==r&&r,o=(0,l.useState)(t),a=o[0],c=o[1],u=(0,l.useCallback)(function(){i||(c(function(e){return!e}),null==n||n())},[i,n]);return(0,l.useEffect)(function(){c(t)},[t]),(0,s.jsx)("button",{onClick:u,disabled:i,className:"relative w-9 h-5 flex items-center p-0.5 rounded-full transition-colors duration-300\n        ".concat(a&&!i?"bg-blue-mid":"","\n        ").concat(a||i?"":"bg-gray-mid","\n        ").concat(i?"bg-gray-light cursor-not-allowed":"cursor-pointer"),children:(0,s.jsx)("div",{className:"w-4 h-4 bg-white rounded-full transform transition-transform duration-300 ".concat(a?"translate-x-4":"translate-x-0")})})})},34446:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(98227),t),i(n(13303),t),i(n(42061),t),i(n(83706),t),i(n(30498),t),i(n(66327),t)},36671:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=r(n(40809)),a=n(67334);t.default=o.default.memo(function(e){var t=e.isShowModal,n=e.setIsShowModal,r=e.children;return(0,i.jsxs)("div",{style:{gridTemplateRows:"".concat(t?"1fr":"0fr")},className:"text-center box-border fixed grid grid-rows-1 transition-all duration-300\n      ease-in-out flex-col bg-black w-full bottom-0 text-white right-0 left-0 cursor-pointer gap-2.5 lg:gap-6 z-10 ".concat(t?"p-4":"p-0"),children:[(0,i.jsx)("div",{className:"absolute right-4 top-3.5 font-sans cursor-pointer text-white w-6 h-6",onClick:function(){return n(!1)},children:(0,i.jsx)(a.CloseIcon,{customClass:"fill-white"})}),r]})})},26453:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
2dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.loadScript=void 0;var i=n(34766),o=n(40809),a=n(58375),s=r(n(36671)),l=n(96892);t.loadScript=function(e,t){var n=document.createElement("script");n.src=e,n.async=!0,n.defer=!0,"function"==typeof t&&(n.onload=t),document.body.appendChild(n)};var c="Logged Out";t.default=(0,o.memo)(function(e){var n=e.newsletters,r=e.recaptchaSiteKey,u=e.userLoggedInfo,d=e.waitingSignupNewsletters,f=e.isShowModal,p=e.setIsShowModal,m=e.optInNewsletters,h=e.customErrorMessage,g=e.isNewslettersFoodFront,v=e.pushPMNDataLayerSignUp,b=e.isNewslettersV3,y=void 0!==b&&b,w=e.onSignInClick,x=e.onCreateAnAccount,_=(0,o.useRef)(null),C=(0,o.useState)(!1),j=C[0],S=C[1],O=(0,o.useState)(!1),k=O[0],E=O[1],L=(0,o.useState)(!1),P=L[0],N=L[1],A=(0,o.useState)(!1),I=A[0],T=A[1],M=(0,o.useState)(),R=M[0],D=M[1],F=(0,o.useRef)(null),B=(0,o.useRef)(!1),V=(0,o.useRef)(!1),H=(0,o.useRef)([]),q=(0,o.useRef)(null),U=(0,o.useRef)(!1),$=(0,o.useMemo)(function(){var e=[];return null==n||n.forEach(function(t){var n=null==d?void 0:d.indexOf((null==t?void 0:t.newsletter_sailthru_name)||"");-1!==n&&(e[n]=null==t?void 0:t.newsletter_title)}),e},[n,d]),z=(0,o.useMemo)(function(){var e=(null==d?void 0:d.length)||0;return j?y?"You’re signed up!":"Thank you! See you in your inbox! ;)":0===e?"Sign up for newsletter!":1===e?"Sign up for ".concat($[0],"!"):e>3?"Sign up for ".concat($.length," newsletters!"):"Sign up for  ".concat($.slice(0,-1).join(", ")," and ").concat($[e-1],"!")},[n,d,j]),G=(0,o.useCallback)(function(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())},[]),K=(0,o.useCallback)(function(){var e,t;_.current&&(null===window||void 0===window?void 0:window.onloadCallback)&&(null===window||void 0===window?void 0:window.grecaptcha)&&null!==F.current&&(null===(t=null===(e=null===window||void 0===window?void 0:window.grecaptcha)||void 0===e?void 0:e.enterprise)||void 0===t||t.reset(F.current))},[]),Y=(0,o.useCallback)(function(e){if(!B.current){E(!1);var t=null==_?void 0:_.current;t||(t=document.querySelector("#nl-form"));var n=null==t?void 0:t.querySelector("#nl-form input[type=email]");n&&(null==n?void 0:n.value)&&V.current?(B.current=!0,T(!0),H.current.forEach(function(e){return null==v?void 0:v(e,g)}),D(null==n?void 0:n.value),m({inputEmail:null==n?void 0:n.value,setHideForm:S,grecaptchaResponse:e}).catch(function(e){E(!0),console.error("Sign Up Error",e)}).finally(function(){B.current=!1,T(!1),K()})):(B.current=!1,T(!1))}},[m,v,g,K]),W=(0,o.useCallback)((0,a.debounce)(function(e){var t,n=(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)||"";k&&(E(!1),K()),N(G(n))},300),[k,K,G]);return U.current=!P||I,(0,o.useEffect)(function(){var e=q.current;if(e){var t=new MutationObserver(function(){U.current&&!e.disabled&&(e.disabled=!0)});return t.observe(e,{attributes:!0,attributeFilter:["disabled"]}),function(){return t.disconnect()}}},[]),(0,o.useEffect)(function(){V.current=P},[P]),(0,o.useEffect)(function(){H.current=$},[$]),(0,o.useEffect)(function(){var e;if("undefined"!=typeof window&&null===F.current){var n=function(){if(null===F.current&&document.getElementById("captcha-btn-container")){var e=window.grecaptcha.enterprise.render("captcha-btn-container",{sitekey:r,callback:function(e){Y(e)},"error-callback":function(){B.current=!1,T(!1),console.log("Error when rendering the captcha.\n              Please try again later.")},"expired-callback":function(){B.current=!1,T(!1),console.log("Captcha expired. Please complete the captcha again.")},action:"newsletter_modal_signup"});F.current=e}};if(null===(e=null===window||void 0===window?void 0:window.grecaptcha)||void 0===e?void 0:e.enterprise)window.grecaptcha.enterprise.ready(n);else window.onloadCallback=function(){window.grecaptcha.enterprise.ready(n)},document.querySelector('script[src*="'.concat("www.google.com/recaptcha/enterprise.js",'"]'))||(0,t.loadScript)("".concat("https://www.google.com/recaptcha/enterprise.js?onload=onloadCallback","&render=").concat(r))}},[r,Y]),(0,o.useEffect)(function(){0!==(null==d?void 0:d.length)||j||p(!1),0!==(null==d?void 0:d.length)&&S(!1)},[d,j,p]),(0,o.useEffect)(function(){(k||j)&&K()},[k,j,K]),u===c?(0,i.jsx)(s.default,{isShowModal:f,setIsShowModal:p,children:(0,i.jsxs)("div",{className:"overflow-hidden flex flex-col gap-0 sm:gap-3 lg:gap-14",children:[(0,i.jsxs)("div",{className:"w-full mx-auto mt-0 ".concat(f?"lg:mt-2.5":""," sm:w-4/6 md:w-3/5 ").concat(y?"lg:w-1/2":"lg:w-120"),children:[(0,i.jsxs)("div",{className:"flex flex-col gap-2.5 sm:gap-1.5",children:[(0,i.jsx)("div",{className:"text-5 leading-[30px] flex font-bold text-white\n           font-grot10 text-left sm:text-6 sm:w-full w-5/6 ".concat(j&&!y?"justify-center":""),children:z}),y&&j&&(0,i.jsxs)("span",{className:"font-grot10 text-left text-5 leading-[30px]",children:["To manage current newsletters for ",R,","," ",(0,i.jsx)("span",{className:"text-blue-mid underline",onClick:w,children:"sign in"})," ","or"," ",(0,i.jsx)("span",{className:"text-blue-mid underline",onClick:x,children:"create an account"}),"."]}),(0,i.jsx)("form",{ref:_,id:"nl-form",children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"".concat(j?"hidden":"flex"," flex-col sm:flex-row gap-2.5 sm:gap-7 "),children:[(0,i.jsx)("input",{placeholder:"Email",required:!0,type:"email",onChange:W,className:"px-3 w-full py-2.5 font-grot10 h-full text-4 font-normal rounded"}),(0,i.jsx)("button",{ref:q,id:"captcha-btn-container",type:"submit",onClick:function(){!P||I||B.current||T(!0)},"aria-busy":I,disabled:!P||I,className:"".concat(P?"cursor-pointer bg-blue-mid hover:bg-blue-mid/80":"bg-slate-500 cursor-default"," ").concat(I?"pointer-events-none opacity-80":""," mb-4 px-6 w-40 h-full text-white py-2.5 leading-5 font-grot10 text-4 font-bold rounded-sm sm:mb-0"),children:I?(0,i.jsx)(l.Spinner,{}):"Sign up"})]}),(0,i.jsx)("div",{className:"py-4 font-grot10 text-4 text-left font-normal text-red-600 ".concat(k?"block":"hidden"),children:h})]})})]}),(0,i.jsx)("div",{className:"pr-2  ".concat(y&&j?"hidden":"block sm:hidden"),children:(0,i.jsxs)("div",{className:"text-left border-t border-solid border-white py-4 text-sm leading-4\n         font-normal font-grot10 mx-auto text-white sm:pt-4 sm:text-center",children:["By providing your email address, you agree to re
2ceive emails and newsletters from us and agree to our",(0,i.jsx)("a",{className:"text-blue-mid pl-1 no-underline",href:"https://www.inquirer.com/about/terms_and_conditions/",target:"_blank",rel:"noreferrer",children:"Terms of Service"})," ","and",(0,i.jsx)("a",{className:"text-blue-mid pl-1 no-underline",href:"https://www.inquirer.com/privacy-policy/",target:"_blank",rel:"noreferrer",children:"Privacy Policy"}),"."]})})]}),(0,i.jsx)("div",{className:"text-left text-sm leading-4 font-normal font-grot10 mx-auto text-white hidden\n       sm:w-[90%] lg:w-full sm:text-center sm:py-4 lg:py-0 ".concat(y&&j?"hidden":"sm:block"),children:(0,i.jsxs)("div",{children:["By providing your email address, you agree to receive emails and newsletters from us and agree to our",(0,i.jsx)("a",{className:"text-blue-mid pl-1 no-underline",href:"https://www.inquirer.com/about/terms_and_conditions/",target:"_blank",rel:"noreferrer",children:"Terms of Service"})," ","and",(0,i.jsx)("a",{className:"text-blue-mid pl-1 no-underline",href:"https://www.inquirer.com/privacy-policy/",target:"_blank",rel:"noreferrer",children:"Privacy Policy"}),"."]})})]})}):null})},49823:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.DOTS=void 0;var i=n(34766),o=n(40809),a=n(34446),s=n(89297),l=n(94764);t.DOTS="...";var c=function(e,t){var n=t-e+1;return Array.from({length:n},function(t,n){return n+e})};t.default=function(e){var n=e.onPageChange,u=e.onCustomPrevBehavior,d=e.totalPageCount,f=void 0===d?1:d,p=e.currentPage,m=e.screenSize,h=void 0===m?"desktop":m,g=e.labels,v=void 0===g?{left
2Label:"Previous",rightLabel:"Next"}:g,b=function(e){var n=e.totalPageCount,i=e.currentPage,a=e.screenSize;return(0,o.useMemo)(function(){var e=Math.max(i-1,1),o=Math.min(i+1,n)<n-3,s=n;if(2>=n)return{paginationRange:c(1,n)};if("mobile"===a){var l=c(i,i+1),u=c(s-1,s);return{paginationRange:i===s?u:l}}if("tablet"===a){var d=c(i+1,s-1),f=i>=s-2;return u=c(s-2,s),{paginationRange:f?r([],u,!0):[i,t.DOTS,s],subMenuRange:d}}if(n<=6)return l=c(i,i+1),u=c(s-1,s),{paginationRange:i===s?u:l};if(!o)return{paginationRange:l=c(n-6+1,n)};if(o){var p=c(e,e+3);return d=c(e+4,s-1),{paginationRange:r(r([],p,!0),[t.DOTS,s],!1),subMenuRange:d}}},[n,i,a])}({currentPage:p,totalPageCount:f,screenSize:h}),y=b.paginationRange,w=b.subMenuRange,x=(0,o.useState)(!1),_=x[0],C=x[1],j=v.leftLabel,S=v.rightLabel,O=!!u,k=(0,o.useRef)(null);if((0,o.useEffect)(function(){var e=function(e){k.current&&!k.current.contains(e.target)&&C(!1)};return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}},[]),0===p||f<2)return null;var E=function(){C(!0)},L=function(e){(null===window||void 0===window?void 0:window.PMNdataLayer)&&window.PMNdataLayer.push({event:"ga-generic-event",interactionDetail:"pagination-click",userInteraction:null==e?void 0:e.toLowerCase()})},P=y[y.length-1];return(0,i.jsxs)("ul",{className:"pagination-component flex flex-row font-grot10 items-center list-none",children:[(0,i.jsxs)(a.Button,{mode:"outline",onClick:O&&1===p?u:function(){n(p-1),L(j)},size:"medium",type:"standard",disabled:!O&&1===p,customClass:"mr-2",iconSide:"left",children:["mobile"!==h&&j,(0,i.jsx)(l.ChevronLeftIcon,{size:"small"})]}),y.map(function(e){return e===t.DOTS?(0,i.jsxs)("div",{className:"relative",children:[_?(0,i.jsx)("div",{ref:k,className:"max-h-30 shadow-dropdown border border-solid border-black font-medium overflow-y-scroll !min-w-[44px] text-base leading-5 z-10 flex flex-col bg-white rounded absolute left-[3px] top-0",children:w.map(function(e){return(0,i.jsx)("div",{className:"hover:bg-neutral-light-gray w-full cursor-pointer",children:(0,i.jsx)("li",{className:"list-none font-grot10 text-center py-1",onClick:function(){return function(e){n(e),C(!1),L(null==e?void 0:e.toString())}(e)},children:e})},e)})}):null,(0,i.jsx)("li",{className:"mx-1 bg-white px-1 py-[10px] !min-w-[34px] border border-solid border-black text-center hover:bg-neutral-light-gray font-medium text-base leading-5 font-grot10 cursor-pointer rounded focus:ring-4 focus:ring-silversand",onClick:E,children:"…"},"DOTS")]},"container"):(0,i.jsx)("button",{className:"".concat(e===p?"bg-gray-mid-neutral text-white":"bg-white text-black hover:bg-neutral-light-gray"," mx-1 px-1 py-[10px] font-grot10 cursor-pointer text-base leading-5 !min-w-[44px] border border-solid border-black text-center font-medium rounded focus:ring-4 focus:ring-silversand"),onClick:function(){n(e),L(null==e?void 0:e.toString())},children:e},e)}),(0,i.jsxs)(a.Button,{mode:"outline",onClick:function(){n(p+1),L(S)},size:"medium",type:"standard",disabled:p===P,customClass:"ml-2",iconSide:"right",children:["mobile"!==h&&S,(0,i.jsx)(s.ChevronRightIcon,{size:"small"})]})]})}},72714:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Drive=t.formatYardline=t.getSubdescriptionText=void 0;var s=n(34766),l=a(n(40809)),c=n(48705),u=n(5115),d=n(58375),f=n(5185);t.getSubdescriptionText=function(e){var t,n,r,i,o=(null===(t=null==e?void 0:e.timeOfPosse
2ssion)||void 0===t?void 0:t.minutes)&&(null===(n=null==e?void 0:e.timeOfPossession)||void 0===n?void 0:n.seconds)?"".concat(null===(r=null==e?void 0:e.timeOfPossession)||void 0===r?void 0:r.minutes,":").concat(null===(i=null==e?void 0:e.timeOfPossession)||void 0===i?void 0:i.seconds):"",a=(null==e?void 0:e.plays)?"".concat(e.plays," PLAYS,"):"",s=(null==e?void 0:e.yards)?"".concat(e.yards," YARDS,"):"";return"".concat(a," ").concat(s," ").concat(o)};t.formatYardline=function(e){var t=null==e?void 0:e.match(/[a-zA-Z]+|[0-9]+/g);return t&&2===t.length?t.join(" "):e};var p=function(e,n,r,i,o){var a,l;return(0,s.jsxs)("div",{className:"flex items-center mb-2 px-0 pt-1\n      pb-2 border-b border-solid border-neutral-light-charcoal-gray cursor-pointer",children:[(0,s.jsx)(f.ChevronDownIcon,{wrapperClassName:"!flex items-center justify-center mr-2.5",customClass:"w-2.5 h-2.5 ".concat(o?"":"rotate-180")}),(null===(a=null==r?void 0:r.logos)||void 0===a?void 0:a[1])&&(null===(l=null==i?void 0:i.logos)||void 0===l?void 0:l[1])?(0,s.jsx)("img",{className:"mr-2.5 w-5 md:w-[30px]",src:(null==e?void 0:e.teamId)===(null==r?void 0:r.teamId)?r.logos[1]:i.logos[1],alt:(null==e?void 0:e.teamId)===(null==r?void 0:r.teamId)?"".concat(r.nickname," logo"):"".concat(i.nickname," logo")}):null,(0,s.jsxs)("div",{className:"font-semibold uppercase  text-left flex-1",children:[(0,s.jsx)("div",{className:"font-grot12-condensed md:text-lg md:leading-5 text-md leading-4",children:e.driveEnd&&e.driveEnd.driveChartPlayName||""}),(0,s.jsx)("div",{className:"mt-1.5 font-grot10 font-normal text-neutral-light-text md:text-md md:leading-5.5 text-xs leading-3",children:e.driveStats?(0,t.getSubdescriptionText)(e.driveStats):null})]}),(0,s.jsxs)("div",{className:"font-semibold flex font-grot12-condensed md:text-lg md:leading-5 text-xs leading-3",children:[(0,s.jsxs)("div",{className:"text-black flex flex-col items-center flex-1 ml-2.5",children:[(0,s.jsx)("p",{className:"text-neutral-light-text pb-0.5 uppercase",children:i.abbreviation}),n&&void 0!==n.awayScoreAfter?n.awayScoreAfter:""]}),(0,s.jsxs)("div",{className:"text-black flex flex-col items-center flex-1 ml-2.5",children:[(0,s.jsx)("p",{className:"text-neutral-light-text pb-0.5 uppercase",children:r.abbreviation}),n&&void 0!==n.homeScoreAfter?n.homeScoreAfter:""]})]})]})};t.Drive=function(e){var n=e.drive,r=e.drivePlays,i=void 0===r?[]:r,o=e.homeTeam,a=e.awayTeam,u=e.reverse,d=e.index,f=e.driveChartLength,m=(0,l.useState)(u?d===f-1:0===d),h=m[0],g=m[1],v=i[i.length-1];return(0,s.jsxs)("li",{className:"font-inquirer-headline",onClick:function(e){e.target.closest("button")||g(function(e){return!e})},children:[(0,s.jsx)("button",{type:"button",onClick:function(){g(!h)},className:"bg-transparent w-full","aria-expanded":h,onKeyDown:function(e){return(0,c.handleToggle)(e,function(){return g(!h)})},children:p(n,v,o,a,h)}),(0,s.jsx)("ol",{id:"drive-".concat(d,"-order-list"),className:"drive-plays".concat(u?" reverse flex-col-reverse":""," ").concat(h?"football-expanded max-h-[2000px] flex flex-col":"football-collapse max-h-0"," transition-[max-height] duration-450 ease-in-out overflow-hidden"),children:i?i.map(function(e){return(0,s.jsxs)("li",{className:"list-none mb-2 pb-2.5 border-b border-solid border-neutral-light-charcoal-gray","aria-hidden":!h,children:[(0,s.jsx)("div",{className:"mb-1 uppercase font-semibold font-grot12-condensed md:text-lg md:leading-5 text-xs leading-3",children:(null==e?void 0:e.down)&&(0,s.jsxs)(s.Fragment,{children:["".concat((0,c.getNumberWithOrdinal)(e.down)," & ").concat(null==e?void 0:e.distance," at "),(0,s.jsx)("span",{className:"uppercase",children:(null==e?void 0:e.yardLine)&&(null==e?void 0:e.playText)&&(null==e?void 0:e.endYardLine)?(0,t.formatYardline)(e.yardLine):""})]})}),(0,s.jsx)("div",{className:"play-description font-grot10 text-neutral-light-text md:text-md md:leading-5.5 text-xs leading-4",children:(null==e?void 0:e.yardLine)&&(null==e?void 0:e.playText)&&(null==e?void 0:e.endYardLine)?(0,c.parseYardlineText)(e.playText,e.yardLine,e.endYardLine):""})]},(null==e?void 0:e.playId)||"")}):null})]})};t.default=l.default.memo(function(e){var n=e.teams,r=e.pbp,i=e.driveChart,o=e.eventStatus,a=(0,l.useMemo)(function(){return(null==n?void 0:n[0])||u.defaultTeam},[n]),f=(0,l.useMemo)(function(){return(null==n?void 0:n[1])||u.defaultTeam},[n]),p=(0,l.useMemo)(function(){return(0,c.isEventInProgress)(o)},[o]),m=(0,l.useMemo)(function(){return(0,d.groupBy)(r,function(e){return e.driveId})},[r]);return n&&r&&i?(0,s.jsx)("ol",{className:"flex w-full ".concat(p?" reverse flex-col-reverse":"flex-col"),children:i&&i.map(function(e,n){return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(t.Drive,{index:n,driveChartLength:i.length,drive:e,drivePlays:m[e.driveId]||[],homeTeam:a,awayTeam:f,reverse:p},"drive".concat(n,"-").concat(Math.random()*Math.floor(1e3)))})})}):null})},5115:function(e,t){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTeam=t.baseballColorConfig=t.scoringPlaysConfig=void 0;var n="#e11b22",r="#1a6aff";t.scoringPlaysConfig={nfl:{minimumPeriods:4,periodBoxLabels:{1:1,2:2,3:3,4:4,5:"OT"},periodTitles:{1:"First Quarter",2:"Second Quarter",3:"Third Quarter",4:"Fourth Quarter",5:"Overtime"}}},t.baseballColorConfig={T:n,F:n,S:n,B:"#f0af13",H:r,I:r,Z:"#333333"},t.defaultTeam={logos:[],abbreviation:"",nickname:"",teamId:0,location:"",score:0,isWinner:!1,timeoutsLeft:0,teamLocationType:{teamLocationTypeId:0,name:""},record:{wins:0,losses:0,ties:0},linescores:[]}},48705:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEventInProgress=t.handleToggle=t.parseYardlineText=t.getPlayTypeAbbreviation=t.getNumberWithOrdinal=void 0;t.getNumberWithOrdinal=function(e,t,n){var r=["th","st","nd","rd"],i=e%100;if(n&&t){if("nhl"===t){if(4===e)return"OT";if(5===e)return"2 OT"}if("nba"===t){if(5===e)return"OT";if(6===e)return"2 OT"}}var o=e+(r[(i-20)%10]||r[i]||r[0]);if(t){if("nhl"===t)return o.toUpperCase()+" Period";if("nba"===t)return o.toUpperCase()+" Quarter"}return o};t.getPlayTypeAbbreviation=function(e){return e.includes("TD")?"TD":e.includes("Field Goal")?"FG":""};t.parseYardlineText=function(e,t,n){return e.replace(t,function(e){return e.toUpperCase()}).replace(n,function(e){return e.toUpperCase()}).replace(/([^\d\s%])(\d)/g,"$1 $2")};t.handleToggle=function(e,t){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t())};t.isEventInProgress=function(e){return"In-Progress"===(null==e?void 0:e.name)}},50320:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PopupMenu=function(e){var t=e.menuOptions,n=e.open,r="inq-popup-menu inq-popup-menu--open";void 0!==n&&n||(r+=" hidden");return(0,i.jsx)("div",{className:r,children:t.map(function(e,t){return function(e,t){return"string"==typeof e.name&&e.name.toLowerCase().includes("gift")?(0,i.jsxs)("div",{className:"flex p-4 items-center gap-2 self-stretch bg-whitesmoke text-neutral-black",children:[(0,i.jsx)(o.default,{type:null==e?void 0:e.icon,size:"medium"}),(0,i.jsx)("span",{className:"type-author font-normal leading-5.5 cursor-default not-italic",children:e.name})]},t):(0,i.jsxs)("button",{onClick:e.onClick,onMouseDown:function(e){return e.preventDefault()},className:"inq-popup-menu__option","aria-label":e.ariaLabel?e.ariaLabel:e.name,children:[(0,i.jsx)(o.default,{type:null==e?void 0:e.icon,size:"medium"}),(0,i.jsxs)("span",{className:"type-author xs:leading-5 font-medium",children:[e.lead," ",e.name]})]},t)}(e,t)})})};var i=n(34766),o=r(n(8799))},6815:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});var s=n(34766),l=a(n(40809));t.default=l.default.memo(function(e){var t=e.size,n=void 0===t?20:t,r=e.strokeWidth,i=void 0===r?4:r,o=e.duration,a=e.isActive,c=void 0!==a&&a,u=e.shouldPause,d=void 0!==u&&u,f=e.resetKey,p=void 0===f?0:f,m=(0,l.useMemo)(function(){return(n-i)/2},[n,i]),h=(0,l.useMemo)(function(){return 2*m*Math.PI},[m]);return(0,s.jsx)("div",{className:"relative inline-flex items-center justify-center",children:(0,s.jsx)("svg",{width:n,height:n,className:"transition-all duration-300 ease-out origin-center ".concat(c?"scale-100":"scale-[0.4]"),children:c?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("circle",{cx:n/2,cy:n/2,r:m,stroke:"currentColor",strokeWidth:i,fill:"none",className:"text-neutral-light-gray"}),(0,s.jsx)("circle",{cx:n/2,cy:n/2,r:m,stroke:"currentColor",strokeWidth:i,fill:"none",strokeDasharray:h,strokeDashoffset:h,strokeLinecap:"round",className:"text-[#9D61A7] animate-circular-progress",style:{"--circumference":h,"--progress-duration":"".concat(o,"ms"),animationPlayState:d?"paused":"running"}},"progress-".concat(p))]}):(0,s.jsx)("circle",{cx:n/2,cy:n/2,r:n/2,fill:"currentColor",className:"text-neutral-light-gray"})})})})},96977: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};
2Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameEmbed=void 0;var i=n(34766),o=n(40809);t.IFrameEmbed=function(e){var t=e.content,n=e.style,a=e.isThreads,s=(0,o.useRef)(null);return(0,o.useEffect)(function(){var e=s.current;if(e){e.onload=function(){e.height=e.contentWindow.document.body.scrollHeight+(a?5:25)};var n=e.contentDocument;n.open(),n.write(t),n.close()}},[t]),(0,i.jsx)("iframe",{title:"HTML Content",ref:s,width:"100%",height:500,style:r({},n)})}},73008:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0;var r=n(84967);t.config=function(e,t){switch(e){case r.TWITTER:return"<a class='twitter-timeline' data-width=\"350\" data-height='500' href='https://twitter.com/phillysport?ref_src=twsrc%5Etfw'>Tweets by phillysport</a>";case r.FACEBOOK:return"food"===t?"https://www.facebook.com/profile.php?id=61566581914634#":"https://www.facebook.com/phillysport/"}}},75532:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&i(t,e,n[a]);return o(t,e),t}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SocialWidget=function(e){var t=e.title,n=void 0===t?"":t,r=e.section,i=void 0===r?"food":r,o=e.socials,a=void 0===o?[p.INSTAGRAM,p.FACEBOOK,p.THREADS]:o,s=e.socialLinkAnalytic,h=e.titleSizeClasses,g=void 0===h?"text-xl leading-6":h,v=(0,c.useState)((null==a?void 0:a[0])||""),b=v[0],y=v[1],w=(0,c.useState)(""),x=w[0],_=w[1],C=(0,c.useState)(""),j=C[0],S=C[1],O=function(e,t){fetch("https://inq-mobile-apps.s3.us-east-1.amazonaws.com/".concat(e,"/").concat(i,"/@phillyinq").concat(i,".html")).then(function(e){return e.text()}).then(function(e){t(e)})};(0,c.useEffect)(function(){!x&&a.includes(p.INSTAGRAM)&&O(p.INSTAGRAM,_),!j&&a.includes(p.THREADS)&&O(p.THREADS,S)},[a,i]),(0,c.useEffect)(function(){if(a.includes(p.FACEBOOK)&&b===p.FACEBOOK){var e=(0,u.buildScriptTag)("https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v22.0&appId=552523021175555");return document.body.appendChild(e),function(){document.body.removeChild(e)}}},[i,b]),(0,c.useEffect)(function(){if(a.includes(p.TWITTER)){var e=(0,u.buildScriptTag)("https://platform.twitter.com/widgets.js");return document.body.appendChild(e),function(){document.body.removeChild(e)}}},[i]);var k=(0,c.useCallback)(function(e){e&&"function"==typeof s&&s(e),y(e)},[s]);return a&&(0,l.jsxs)("div",{className:"overflow-hidden inq-social-widget p-4 rounded-lg w-full",children:[(0,l.jsx)("div",{className:"border-t-3 border-black border-solid pt-2 pb-6",children:(0,l.jsx)("span",{className:"font-grot12-condensed ".concat(g," font-semibold uppercase"),children:n||"Follow our Socials"})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"bg-neutral-light-gray h-14 rounded-full flex items-center mb-4 md:mb-6 lg:mb-4",children:a.map(function(e,t){return(0,l.jsx)("label",{htmlFor:"tab-".concat(e),children:(0,l.jsxs)("div",{className:"justify-center flex w-14",children:[(0,l.jsx)("input",{className:"peer w-0 absolute h-0 opacity-0",type:"radio",id:"tab-".concat(e),name:"tab-".concat(e),value:"tab-".concat(e),onChange:function(){return k(e)},checked:b===e}),(0,l.jsx)("div",{className:"tabs \n                    tab-".concat(e," \n                    cursor-pointer \n                    justify-center bg-white \n                    items-center w-8 h-8\n                    border-solid border peer:border-gray-mid rounded-full \n                    inline-flex \n                    transition-all duration-150\n                  ").concat("food"===i&&b===e?"border-secondary-yellow":"","\n                  ").concat("sports"===i&&b===e?"border-secondary-orange":"","\n                  ").concat(b===e?"h-[42px] w-[42px] border-3":"","\n                "),children:(0,l.jsx)(d.default,{type:e,size:b!==e?"small":"none"})})]})},t)})}),(0,l.jsxs)("div",{className:"w-full",children:[a.map(function(e,t){return(0,l.jsx)(c.default.Fragment,{children:e!==p.FACEBOOK&&(0,l.jsxs)("div",{className:"list-".concat(e," list ").concat(b===e?"":"hidden","\n                  ").concat(e===p.INSTAGRAM?"overflow-hidden":"","\n                  ").concat(e===p.THREADS?"w-auto ml-[-8px] mr-[-8px] mt-[-8px] mb-[-8px]":"w-full","\n                }"),children:[b===p.INSTAGRAM?(0,l.jsx)(m.IFrameEmbed,{content:x,style:{marginBottom:"-33px"}}):null,b===p.THREADS?(0,l.jsx)(m.IFrameEmbed,{content:j,style:{marginBottom:"-4px"},isThreads:!0}):null]})},t)}),(0,l.jsxs)("div",{className:"w-full list-".concat(p.FACEBOOK," list ").concat(b===p.FACEBOOK?"block":"hidden"),children:[(0,l.jsx)("div",{id:"fb-root"}),(0,l.jsx)("div",{className:"fb-page","data-href":(0,f.config)(p.FACEBOOK,i),"data-tabs":"timeline","data-width":"500","data-height":"","data-small-header":"false","data-adapt-container-width":"true","data-hide-cover":"false","data-show-facepile":"true"})]})]})]})]})};var l=n(34766),c=a(n(40809)),u=n(58375),d=s(n(8799)),f=n(73008),p=n(84967),m=n(96977)},96892:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=function(e){var t,n=e.lineThickness,i=void 0===n?4:n,o=e.dark;3===i&&(t="border-3");5===i&&(t="border-5");void 0!==o&&o&&(t+=" dark");return(0,r.jsxs)("div",{className:"inq-spinner",role:"status","aria-live":"polite","aria-label":"Loading. Please wait.",children:[(0,r.jsx)("div",{className:t}),(0,r.jsx)("div",{className:t}),(0,r.jsx)("div",{className:t}),(0,r.jsx)("div",{className:t})]})};var r=n(34766)},49197:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=n(40809),a=r(n(64303));t.default=(0,o.memo)(function(e){var t,n=e.type,r=e.hasBio,o=e.showBio,s=e.addProps,l=e.hideAuthorContact,c=e.anchorClass,u=e.socialLinks,d=e.isDarkMode;return"expanded"===n&&r&&o?(0,i.jsxs)("div",{className:"inq-author-bio type-article-details mt-1 ".concat(d?"text-gray-light":"text-secondary"),children:[(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:null===(t=null==s?void 0:s.original)||void 0===t?void 0:t.bio}})," ",!l&&(0,i.jsx)(a.default,{type:n,anchorClass:c,socialLinks:u})]}):null})},64303:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(34766),i=n(40809);t.default=(0,i.memo)(function(e){var t=e.socialLinks,n=e.type,o=e.anchorClass,a=(0,i.useMemo)(function(){var e;if(null==t?void 0:t.length){var n=null==t?void 0:t.filter(function(e){return"email"===(null==e?void 0:e.site)});if(null==n?void 0:n.length)return null===(e=n[0])||void 0===e?void 0:e.url}return""},[t]);return"expanded"===n&&""!==a?(0,r.jsx)("a",{href:"mailto:".concat(a),target:"_blank",rel:"noopener noreferrer",className:"inq-author__email-link ".concat(o),children:a}):null})},70905:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(34766),i=n(40809),o=n(84967);t.default=(0,i.memo)(function(e){var t,n=e.socialLinks,a=e.type,s=e.hasRole,l=e.addProps,c=e.isDarkMode,u=(0,i.useMemo)(function(){var e;if(null==n?void 0:n.length){var t=n.filter(function(e){return"twitter"===(null==e?void 0:e.site)});if(null==t?void 0:t.length)return null===(e=t[0])||void 0===e?void 0:e.url}return""},[n]),d=(0,i.useMemo)(function(){return"http://www.twitter.com/".concat(u)},[u]);return"standard"===a&&s?(0,r.jsx)("div",{className:"inq-author-description ".concat(c?o.DARK_MODE_CLASS:"text-secondary"),children:null===(t=null==l?void 0:l.original)||void 0===t?void 0:t.role}):""===u||"expanded"!==a&&"promo"!==a?null:(0,r.jsx)("div",{className:"inq-author-description",children:(0,r.jsx)("a",{href:d,target:"_blank",rel:"noopener noreferrer",className:"inq-author__twitter-link no-underline ".concat(c?"text-blue-shades-50 hover:text-blue-shades-50":"text-primary-blue"),children:u})})})},83754:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(34766),i=n(40809),o=n(61582);t.default=(0,i.memo)(function(e){var t=e.authorName,n=e.authorUrl,a=(0,i.useMemo)(function(){var e=(t||"").split(" ");return e.length>0?e.map(function(e){return e[0]}).join("").substring(0,2):""},[t]);return n?(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"inq-author-image-container",children:(0,r.jsx)(o.Image,{src:n,alt:t})})}):(0,r.jsx)("div",{className:"inq-author-avatar",children:a})})},11700:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=n(40809),a=r(n(8799));t.default=(0,o.memo)(function(e){var t=e.socialLinks,n=e.isDarkMode;return(0,i.jsx)(i.Fragment,{children:(null==t?void 0:t.length)>0?t.map(function(e,t){return(0,i.jsx)("a",{href:null==e?void 0:e.url,className:"inq-author-social ".concat(n?"text-blue-shades-50":"text-primary-blue"),children:(0,i.jsx)(a.default,{type:null==e?void 0:e.site})},t)}):null})})},66242: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)}
2,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Author=void 0;var o=n(34766),a=n(40809),s=n(58375),l=n(84967),c=i(n(70905)),u=i(n(49197)),d=i(n(83754)),f=i(n(11700));t.Author=function(e){var t,n,i,p,m,h,g,v,b=e.author,y=e.type,w=void 0===y?"standard":y,x=e.showBio,_=void 0===x||x,C=e.isTweetUser,j=void 0!==C&&C,S=e.mapIndex,O=e.dataCardType,k=void 0===O?"":O,E=e.hasAuthorAvatar,L=void 0!==E&&E,P=e.isDarkMode,N=void 0!==P&&P,A=e.hasAuthorSocial,I=void 0===A||A,T=(0,a.useMemo)(function(){return(0,s.getAuthorName)(b)},[b]),M=(0,a.useMemo)(function(){var e,t;return 0===(null===(e=null==b?void 0:b.url)||void 0===e?void 0:e.indexOf("http://"))||0===(null===(t=null==b?void 0:b.url)||void 0===t?void 0:t.indexOf("https://"))},[null==b?void 0:b.url]),R=(0,a.useMemo)(function(){return(null==b?void 0:b.additional_properties)||null},[null==b?void 0:b.additional_properties]),D=(0,a.useMemo)(function(){var e;return Boolean(null===(e=null==R?void 0:R.original)||void 0===e?void 0:e.bio)},[null===(t=null==R?void 0:R.original)||void 0===t?void 0:t.bio]),F=(0,a.useMemo)(function(){var e;return Boolean(null===(e=null==R?void 0:R.original)||void 0===e?void 0:e.role)},[null===(n=null==R?void 0:R.original)||void 0===n?void 0:n.role]),B=(0,a.useMemo)(function(){return"inq-author--".concat(w).concat(D||j?"":" no-bio")},[D,j,w]),V=(0,a.useMemo)(function(){return"inq-author type-author ".concat(N?l.DARK_MODE_CLASS:"text-primary"," ").concat(B)},[N,B]),H=(0,a.useMemo)(function(){return"no-underline ".concat(N?"text-white hover:text-blue-shades-50 font-bold":"text-primary hover:text-primary-blue font-normal")},[N]),q=(0,a.useMemo)(function(){var e;return-1!==(null===(e=null==b?void 0:b.url)||void 0===e?void 0:e.indexOf("inquirer.com"))?"tweet-card-article-link":"tweet-card-click"},[null==b?void 0:b.url]),U=(0,a.useMemo)(function(){return new Set(["twitter","instagram","email","bluesky","threads"])},[]),$=(0,a.useMemo)(function(){var e,t;return(null===(t=null===(e=null==b?void 0:b.social_links)||void 0===e?void 0:e.filter(function(e){return U.has(null==e?void 0:e.site)}))||void 0===t?void 0:t.map(function(e){var t=null==e?void 0:e.site,n=null==e?void 0:e.url;return"email"!==t||n.includes("mailto:")?"instagram"!==t||n.includes("//www.instagram.com")?"twitter"!==t||n.includes("//www.twitter.com")||(n="//www.twitter.com/".concat(n)):n="//www.instagram.com/".concat(n):n="mailto:".concat(n),r(r({},e),{url:n})}))||[]},[null==b?void 0:b.social_links]);return b?j?(0,o.jsx)("div",{className:V,children:(0,o.jsxs)("div",{className:"inq-author-main",children:[(0,o.jsx)("a",{href:null==b?void 0:b.url,title:T,"data-link-type":q,"data-card-index":S,"data-card-author":T,"data-card-type":k,className:H,children:L&&(0,o.jsx)(d.default,{authorName:T,authorUrl:(null===(i=null==b?void 0:b.image)||void 0===i?void 0:i.url)||""})}),(0,o.jsx)("a",{href:b.url,title:T,"data-link-type":q,"data-card-index":S,"data-card-author":T,"data-card-type":k,className:H,children:(0,o.jsxs)("div",{className:"inq-author-info font-grot10 font-bold text-5 leading-7 pb-0.5","data-card-author":T,children:[T,(0,o.jsx)("div",{className:"inq-author__twitter-link font-grot10 text-4 leading-4.5 font-normal",children:b.username})]})})]})}):(null==b?void 0:b._id)&&"expanded"===w?(0,o.jsx)("div",{className:V,children:(0,o.jsxs)("div",{className:"inq-author-main",children:[M?(0,o.jsx)("a",{href:b.url,title:T,"aria-hidden":"true",className:H,children:L&&(0,o.jsx)(d.default,{authorName:T,authorUrl:(null===(p=null==b?void 0:b.image)||void 0===p?void 0:p.url)||""})}):L&&(0,o.jsx)(d.default,{authorName:T,authorUrl:(null===(m=null==b?void 0:b.image)||void 0===m?void 0:m.url)||""}),(0,o.jsxs)("div",{className:"inq-author-info",children:[(0,o.jsxs)("div",{className:"inq-author-contact ".concat(N?"font-bold":""),children:[M?(0,o.jsx)("a",{href:null==b?void 0:b.url,className:"inq-author-name ".concat(H),title:T,"aria-label":"".concat(T," link"),children:T}):T,I&&(0,o.jsx)(f.default,{socialLinks:$,isDarkMode:N})]}),(0,o.jsx)(u.default,{hideAuthorContact:!0,addProps:R,anchorClass:H,hasBio:D,isDarkMode:N,showBio:_,socialLinks:$,type:w})]})]})}):(null==b?void 0:b._id)&&"compact"!==w?(0,o.jsxs)("div",{className:V,children:[(0,o.jsxs)("div",{className:"inq
2-author-main",children:[M?(0,o.jsx)("a",{href:b.url,title:T,"aria-hidden":"true",className:H,children:L&&(0,o.jsx)(d.default,{authorName:T,authorUrl:(null===(h=null==b?void 0:b.image)||void 0===h?void 0:h.url)||""})}):L&&(0,o.jsx)(d.default,{authorName:T,authorUrl:(null===(g=null==b?void 0:b.image)||void 0===g?void 0:g.url)||""}),(0,o.jsxs)("div",{className:"inq-author-info",children:[M?(0,o.jsx)("a",{href:b.url,className:"inq-author-name ".concat(H),title:T,"aria-label":"".concat(T," link"),children:T}):T,(0,o.jsx)(c.default,{addProps:R,socialLinks:$,hasRole:F,type:w,isDarkMode:N})]})]}),(0,o.jsx)(u.default,{addProps:R,anchorClass:H,hasBio:D,isDarkMode:N,showBio:_,socialLinks:$,type:w})]}):(0,o.jsxs)("div",{className:V,children:[L&&(0,o.jsx)(d.default,{authorName:T,authorUrl:(null===(v=null==b?void 0:b.image)||void 0===v?void 0:v.url)||""}),(0,o.jsx)("div",{className:"inq-author-name ".concat(N?"font-bold":""),children:M?(0,o.jsx)("a",{href:null==b?void 0:b.url,title:T,className:H,children:T}):T}),(0,o.jsx)(c.default,{addProps:R,socialLinks:$,hasRole:F,type:w,isDarkMode:N}),(0,o.jsx)(u.default,{addProps:R,anchorClass:H,hasBio:D,isDarkMode:N,showBio:_,socialLinks:$,type:w})]}):null}},26123:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthorsList=void 0;var r=n(34766),i=n(40809),o=n(58375),a=n(84967),s=function(e){var t=e.split(" ");if(1===t.length)return e;for(var n="",r=0;r<=t.length-2;r++)n+="".concat(t[r].substring(0,1).toUpperCase(),". ");return n+="".concat(t[t.length-1])};t.AuthorsList=function(e){var t=e.authors,n=e.abbreviate,l=void 0===n||n,c=e.isDarkMode,u=(0,i.useMemo)(function(){return l?"":"inq-author--no-abbrev"},[l]),d=(0,i.useMemo)(function(){return"no-underline ".concat(c?"text-white hover:text-blue-shades-50 font-bold":"text-primary hover:text-primary-blue font-normal")},[c]),f=(0,i.useMemo)(function(){var e="";return t.forEach(function(n,r){var i=(0,o.getAuthorName)(n),a=null==n?void 0:n.url;!l||0!==(null==a?void 0:a.indexOf("http://"))&&0!==(null==a?void 0:a.indexOf("https://"))?l?e+="".concat(s(i)):0===(null==a?void 0:a.indexOf("http://"))||0===(null==a?void 0:a.indexOf("https://"))?e+='<a href="'.concat(a,'" class="').concat(d,'">').concat(i,"</a>"):e+="".concat(i):e+='<a href="'.concat(a,'" class="').concat(d,'">').concat(s(i),"</a>"),r<t.length-1&&(e+=", ")}),e},[t,l,d]);return(null==t?void 0:t.length)?(0,r.jsx)("div",{className:"inq-author inq-author--compact type-author ".concat(c?a.DARK_MODE_CLASS:"text-primary"," ").concat(u),children:(0,r.jsx)("div",{className:"inq-author-name",dangerouslySetInnerHTML:{__html:f}})}):null}},2399: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=n(40809);t.default=(0,o.memo)(function(e){var t=e.children,n=e.hasAnchor,o=e.additionalProps;return n?(0,i.jsx)("a",r({},o,{children:t})):t})},94914:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=n(40809),a=n(58375),s=r(n(2399));t.default=(0,o.memo)(function(e){var t=e.authors,n=e.type,r=e.isDarkMode,l=e.dataLinkType,c=e.mapIndex,u=e.dataCardType,d=e.isTopper,f=(0,o.useMemo)(function(){return t.filter(function(e){var t=(0,a.getAuthorName)(e);return t&&"No Author"!==t})},[t]);return Array.isArray(f)&&f.length>0?(0,i.jsxs)(i.Fragment,{children:[d?"by ":"",f.map(function(e,d){return(0,i.jsxs)(o.Fragment,{children:[0!==d&&(null==t?void 0:t.length)>1&&(0,a.buildComma)(d,null==t?void 0:t.length),(0,i.jsx)(s.default,{hasAnchor:Boolean(null==e?void 0:e.url),additionalProps:{className:"no-underline ".concat("compact"!==n?"author-compact":""," ").concat(r?"text-white hover:text-blue-shades-50 font-bold":"text-primary hover:text-blue-mid font-normal"),href:e.url,"data-link-type":l,"data-card-index":c,"data-card-author":(0,a.getAuthorName)(e),"data-card-type":u},children:(0,i.jsx)(i.Fragment,{children:(0,a.getAuthorName)(e)})},"author_".concat(d))]},"author_list_".concat(d))})]}):null})},56835: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)}
2,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Bylines=function(e){var t,n,i=(0,d.VersionWrapper)("Bylines",v,f.Bylines);return(0,o.jsx)(i,r({},e,{newProps:r(r({type:e.type,section:e.section,organization:e.organization,hasBreakline:!e.noBreakLine,hasAvatar:e.hasAuthorAvatar,authors:e.authors,customDateFormatTimestamp:e.customDateFormatTimestamp},e.newProps),{metadata:r({mapIndex:e.mapIndex,dataCardType:e.dataCardType,dataLinkType:e.dataLinkType},null===(t=e.newProps)||void 0===t?void 0:t.metadata),timestamp:r({time:e.timestamp,isUpdated:!!e.isUpdatedTimestamp,hasYear:e.timeStampWithYear,hasLessThan3HoursFormat:e.hasLessThan3HoursFormatTimestamp},null===(n=e.newProps)||void 0===n?void 0:n.timestamp)})}))};var o=n(34766),a=n(40809),s=i(n(61487)),l=n(10348),c=n(87743),u=n(61582),d=n(25763),f=n(58631),p=n(58375),m=n(84967),h=i(n(94914)),g=i(n(2399)),v=function(e){var t,n,r,i,d=e.authors,f=void 0===d?[]:d,v=e.section,b=e.organization,y=e.type,w=void 0===y?"standard":y,x=e.timestamp,_=e.noBreakLine,C=void 0!==_&&_,j=e.width,S=e.mapIndex,O=e.dataCardType,k=e.dataLinkType,E=e.isUpdatedTimestamp,L=void 0!==E&&E,P=e.timeStampWithYear,N=e.hasAuthorAvatar,A=void 0!==N&&N,I=e.hasLessThan3HoursFormatTimestamp,T=e.customDateFormatTimestamp,M=e.isDisplayUpdatedTimestamp,R=e.updatedTimestamp,D=e.customUpdatedDateFormatTimestamp,F=e.customAuthorClass,B=void 0===F?"":F,V=e.isDarkMode,H=void 0!==V&&V,q=(0,a.useMemo)(function(){return(null==f?void 0:f.length)>1},[null==f?void 0:f.length]),U=(0,a.useMemo)(function(){return["standard","podcast"].includes(w)},[w]),$=(0,a.useMemo)(function(){return"podcast"===w},[w]),z=(0,a.useMemo)(function(){if(x){var e=(0,s.default)(x),t=(0,s.default)();if(I&&t.diff(e,"minute")>180)return!0}return!1},[x,I]),G=(0,a.useMemo)(function(){return null==f?void 0:f.filter(function(e){var t=(0,p.getAuthorName)(e);return t&&"No Author"!==t})},[f]),K=(0,a.useMemo)(function(){return b?"".concat((null==G?void 0:G.length)>0?",":""," ").concat(b):""},[b,G]),Y=(0,a.useMemo)(function(){return v?" | ".concat(v):""},[v]),W=(0,a.useMemo)(function(){return A&&!q&&(null==G?void 0:G.length)>0},[A,q,null==G?void 0:G.length]),Z=(0,a.useMemo)(function(){var e,t;return(null===(t=null===(e=null==G?void 0:G[0])||void 0===e?void 0:e.image)||void 0===t?void 0:t.url)||""},[null===(n=null===(t=null==G?void 0:G[0])||void 0===t?void 0:t.image)||void 0===n?void 0:n.url]);return 0!==(null==f?void 0:f.length)||x?(0,o.jsx)("div",{className:"".concat($?"font-inquirer-text-web text-5 leading-8":"type-author"," inq-author inq-author--").concat(w," ").concat(H?m.DARK_MODE_CLASS:"text-primary"),children:(0,o.jsxs)("div",{className:"inq-author-main inq-byline",children:[W&&(0,o.jsx)(g.default,{hasAnchor:Boolean(null===(r=null==G?void 0:G[0])||void 0===r?void 0:r.url),additionalProps:{href:null===(i=null==G?void 0:G[0])||void 0===i?void 0:i.url,"data-link-type":k,"data-card-index":S,"data-card-author":(0,p.getAuthorName)(G[0]),"data-card-type":O},children:Z?(0,o.jsx)("div",{children:(0,o.jsx)("div",{className:"inq-author-image-container",children:(0,o.jsx)(u.Image,{src:Z,alt:(0,p.getAuthorName)(G[0])})})}):null}),(0,o.jsxs)("div",{className:"".concat(C?"inq-author--no-breakline":"").concat($?" flex flex-col-reverse":""),children:[(0,o.jsxs)("span",{style:{width:j||void 0},className:"".concat($?"text-black":H?"text-white font-bold":"text-primary font-normal"," ").concat(z?"no-timestamp":""," ").concat(B),children:[(0,o.jsx)(h.default,{authors:f,dataCardType:O,dataLinkType:k,isDarkMode:H,isTopper:U,mapIndex:S,type:w}),Y,K]}),!C&&" ",x&&(!U||$?(0,o.jsx)(l.PublishDate,{customDateFormatTimestamp:T||"",date:x,timeStampWithYear:P,hasLessThan3HoursFormatTimestamp:I,bylineType:w,isDarkMode:H}):(0,o.jsx)(c.Timestamp,{date:x,breakLine:!1,isUpdated:L,timeStampWithYear:P,customDateFormatTimestamp:T||"",hasLessThan3HoursFormatTimestamp:I,isDisplayUpdatedTimestamp:M,updatedDate:R,customUpdatedDateFormatTimestamp:D,isDarkMode:H}))]})]})}):null}},58631:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.Bylines=void 0;var r=n(34766);t.Bylines=function(e){var t=e.newProps;return(0,r.jsxs)("pre",{children:["newProps: ",JSON.stringify(t,null,4)]})}},82439:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryIcon=void 0;var r=n(34766);t.CategoryIcon=function(e){var t=e.category;return(null==t?void 0:t.icon)?(0,r.jsx)("img",{src:t.icon,alt:t.name,className:"inq-eyebrow-icon"}):null}},83476:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Eyebrow=function(e){var t,n,o,a,s,l,c,u,d=e.category,f=e.hasImage,p=void 0!==f&&f,m=e.mapIndex,h=e.feedLength,g=e.feedProvenance,v=e.isCompactCard,b=e.isLiveBlogCard,y=e.didLiveBlogEnd,w=e.isOpinion,x=e.isColumnist,_=e.isEditorial,C=e.isActionNetwork,j=e.isPhillyFirst,S=e.phillyFirstMeta,O=e.storyStyle,k=e.dataLinkType,E=void 0===k?"standard-story-card":k,L=e.dataCardAuthor,P=e.dataCardType,N=e.hasPadding,A=void 0===N||N,I=e.hasFeaturedImage,T=void 0===I||I,M=e.eyebrowClassName,R=e.isInHeadlineItem,D=void 0!==R&&R,F=e.isInPackage,B=e.wrapperClassName,V=void 0===B?"":B,H=e.customEyebrowText,q=void 0===H?"":H,U=e.customEyebrowLink,$=e.onClick;if(!D&&!d)return null;var z=C&&F;if(d){var G=(w||x||_||z)&&"standard"===O,K=z?" green-line":"",Y=["inq-eyebrow",(w||z)&&"type-opinion-eyebrow",!(w||z)&&"type-article-eyebrow",void 0!==P&&("site"===d.type||"custom"===d.type)&&"inq-eyebrow--site","Breaking"===d.name&&"inq-eyebrow--breaking","/feature"===d._id&&"inq-eyebrow--loud",G&&!v&&"inq-eyebrow--opinion",p&&!G&&"inq-eyebrow--image",!p&&G&&"inq-eyebrow-special-card--no-image",!p&&"inq-eyebrow--no-image",b&&!y&&"inq-eyebrow--live",y&&"inq-eyebrow--endliveblog",!A&&"inq-eyebrow--image-no-padding",!T&&G&&"eyebrow-no-padding-top"].filter(
2Boolean).join(" ");if(V&&(Y=V),E&&(E+="-eyebrow"),"sponsored"===d.type){var W="https://media.inquirer.com/sponsors".concat(d._id,".png");return(0,r.jsxs)("div",{className:"inq-eyebrow--sponsored ".concat(Y),children:[(0,r.jsxs)("div",{className:"inq-eyebrow--sponsored-label",children:["Sponsored by ",d.name]}),(0,r.jsx)("div",{className:"inq-eyebrow--sponsored-logo",children:(0,r.jsx)("img",{src:W,alt:d.name})})]})}if(j)return(0,r.jsx)("div",{className:"pt-4 sm:pt-3 lg:pt-4\n          pb-2 sm:pb-3 lg:pb-4",children:(0,r.jsx)("a",{"data-card-index":m,"data-feed-length":h,"data-feed-provenance":g,"data-link-type":E,"data-card-author":L,"data-card-type":P,href:U||(null==d?void 0:d._id),title:null==d?void 0:d.name,className:"no-underline font-grot10 uppercase text-neutral-text-color",children:(0,r.jsxs)("div",{className:"flex flex-row items-center gap-x-1",children:[(0,r.jsx)("img",{className:"w-3 sm:w-3.5 lg:w-4 h-3 sm:h-3.5 lg:h-4 m-0",src:(null===(o=null===(n=null===(t=null==S?void 0:S.additional_properties)||void 0===t?void 0:t.original)||void 0===n?void 0:n.site)||void 0===o?void 0:o.section_icon)||"https://media.inquirer.com/assets/philly-first/phillyfirst-arrow.svg",alt:null==d?void 0:d.name}),(0,r.jsx)("p",{className:"text-xs leading-3 sm:text-sm sm:leading-3.5 lg:text-md lg:leading-4",children:q||((null===(l=null===(s=null===(a=null==S?void 0:S.additional_properties)||void 0===a?void 0:a.original)||void 0===s?void 0:s.site)||void 0===l?void 0:l.site_description)||"Partner Content")})]})})});if(d._id&&["section","site"].includes(d.type)&&!G){var Z=U||("#"===d._id?"":"https://www.inquirer.com".concat(d._id));return(0,r.jsx)("div",{className:"\n            ".concat(Y,"\n            ").concat(Z?"":"no-pointer","\n          "),children:(0,r.jsxs)("a",{"data-card-index":m,"data-feed-length":h,"data-feed-provenance":g,"data-link-type":E,"data-card-author":L,"data-card-type":P,href:Z,title:d.name,className:M,children:[(null==d?void 0:d.icon)&&(0,r.jsx)(i.CategoryIcon,{category:d}),q||d.name]})})}if(d._id&&"custom"===d.type){var J=(null===(c=d.name)||void 0===c?void 0:c.split("-"))||[];return(0,r.jsx)("div",{className:Y,children:(0,r.jsxs)("a",{"data-card-index":m,"data-feed-length":h,"data-feed-provenance":g,"data-link-type":E,"data-card-author":L,"data-card-type":P,href:U||d._id,title:d.name,className:M,children:[(null==d?void 0:d.icon)&&(0,r.jsx)(i.CategoryIcon,{category:d}),J[1]?(0,r.jsx)("img",{src:null===(u=J[1].split("logo:")[1])||void 0===u?void 0:u.replace("}",""),alt:"".concat(J[0]," logo"),className:"h-5 ml-1"}):q||J[0]]})})}if(G&&!v){Z=U||"https://www.inquirer.com".concat(z?"/sports/betting":d._id);var X=z?"Action Network":d.name;return(0,r.jsx)("div",{className:Y,children:(0,r.jsx)("div",{className:"inq-eyebrow--text".concat(K),children:d._id?(0,r.jsx)("a",{"data-card-index":m,"data-feed-length":h,"data-feed-provenance":g,"data-link-type":E,"data-card-author":L,"data-card-type":P,href:Z,title:X,className:M,children:q||X}):q||X})})}if(G&&v){Z=U||"https://www.inquirer.com/".concat(z?"sports/betting":"opinion");var Q=z?"Action Network":"Opinion";return(0,r.jsx)("div",{className:Y,children:(0,r.jsx)("div",{className:"inq-eyebrow-compact-card",children:(0,r.jsx)("div",{className:"inq-eyebrow--text".concat(K),children:(0,r.jsx)("a",{"data-card-index":m,"data-feed-length":h,"data-feed-provenance":g,"data-link-type":E,"data-card-author":L,"data-card-type":P,href:Z,title:Q,className:M,children:q||Q})})})})}return b?(0,r.jsxs)("div",{className:Y,children:[(null==d?void 0:d.icon)&&(0,r.jsx)(i.CategoryIcon,{category:d}),y?(0,r.jsxs)("div",{children:["As It Happened",(0,r.jsx)("span",{children:" · "}),q||d.name]}):(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-1",children:[(0,r.jsx)("span",{className:"live-rec h-2 w-2 rounded-full bg-red-destroy"}),(0,r.jsx)("span",{children:"Live Updates"})]})]}):(0,r.jsxs)("div",{className:Y,children:[(null==d?void 0:d.icon)&&(0,r.jsx)(i.CategoryIcon,{category:d}),q||d.name]})}if(D)return(0,r.jsx)("div",{className:"inq-eyebrow-container type-opinion-eyebrow",children:(0,r.jsx)("div",{className:"inq
2-eyebrow--text",children:(0,r.jsx)("a",{"data-card-index":m,"data-feed-length":h,"data-feed-provenance":g,"data-link-type":"headline-list-card","data-card-type":P,href:U||"https://www.inquirer.com/opinion",title:"Opinion",className:"text-black",onClick:$,children:q||"Opinion"})})});return null};var r=n(34766),i=n(82439)},20859:function(e,t,n){"use strict";var r,i=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},s=this&&this.__generator||function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Gift=void 0;var c=n(34766),u=l(n(40809)),d=l(n(91565)),f=n(83914),p=n(28336),m=n(50320),h=n(81018),g=n(87794),v=n(84967),b=n(58375),y="?utm_source=social&utm_campaign=gift_link&utm_medium=referral",w="flex flex-row items-center justify-center rounded-full border border-primary outline-none bg-white hover:bg-gray-light active:bg-gray-light transition-all cursor-pointer",x=function(e){function t(t){var n=e.call(this,t)||this;return n.buttonRef=u.default.createRef(),n.handleKeywordKeyPress=function(e){var t=document.querySelector(".inq-popup-menu button:last-child");("Tab"===e.key&&document.activeElement&&t&&document.activeElement.getAttribute("aria-label")===t.getAttribute("aria-label")||"Escape"===e.key)&&n.state.menuOpen&&(e.preventDefault(),n.buttonRef.current.focus(),setTimeout(function(){return n.buttonRef.current.click()},1))},n.getArticleUrl=function(){return"https://www.inquirer.com".concat(n.props.articleCanonicalUrl||"")},n.copyLinkToClipboard=function(){return a(n,void 0,void 0,function(){var e,t,n;return s(this,function(r){switch(r.label){case 0:e=this.state.shareLink||"".concat(this.getArticleUrl()).concat(y),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,null===(n=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===n?void 0:n.writeText(e)];case 2:return r.sent(),[3,4];case 3:return r.sent(),(t=document.createElement("textarea")).setAttribute("style","height:1px;"),t.value=e,document.body.append(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),[3,4];case 4:return this.setState({menuOpen:!1,showToast:!0}),this.props.usePMNdataLayerEvent&&this.pushClickEventToDataLayer("link"),[2]}})})},n.encodeUTM=function(e){return encodeURIComponent("".concat(n.state.shareLink||n.getArticleUrl()).concat(e))},n.getEncodeUtmUrl=function(e){var t=encodeURIComponent(n.props.articleTitle),r=n.encodeUTM(y);switch(e){case"facebook":return"".concat((0,v.getSocialShareUrl)("facebook",{text:r}));case"twitter":return"".concat((0,v.getSocialShareUrl)("twitter",{text:t+"%20"+r}));case"email":return"".concat((0,v.getSocialShareUrl)("email",{subject:t,text:r}));case"bluesky":return"".concat((0,v.getSocialShareUrl)("bluesky",{text:r}));case"threads":return"".concat((0,v.getSocialShareUrl)("threads",{text:r}));case"whatsapp":return"".concat((0,v.getSocialShareUrl)("whatsapp",{text:r}));default:return""}},n.handleSocialClick=function(e){var t="email"!==e,r=n.getEncodeUtmUrl(e);window.open(r,"",t?"toolbar=0,status=0,scrollbars=1,width=626,height=436":void 0),n.setState({menuOpen:!1}),n.props.usePMNdataLayerEvent&&n.pushClickEventToDataLayer(e)},n.getShareOptions=function(){var e,t={copyLink:{name:"link",onClick:function(){return n.copyLinkToClipboard()},icon:"link",lead:"Copy gift",ariaLabel:"Copy gift link"},email:{name:"Email",onClick:function(){return n.handleSocialClick("email")},icon:"email",lead:"Gift via",ariaLabel:"Gift via email"},facebook:{name:"Facebook",onClick:function(){return n.handleSocialClick("facebook")},icon:"facebook",lead:"Gift via",ariaLabel:"Gift via Facebook"},twitter:{name:"X",onClick:function(){return n.handleSocialClick("twitter")},icon:"twitter",lead:"Gift via",ariaLabel:"Gift via X"},bluesky:{name:"Bluesky",icon:"bluesky",onClick:function(){return n.handleSocialClick("bluesky")},ariaLabel:"Gift via Bluesky"},threads:{name:"Threads",icon:"threads",onClick:function(){return n.handleSocialClick("threads")},ariaLabel:"Gift via Threads"},whatsapp:{name:"WhatsApp",icon:"whatsapp",onClick:function(){return n.handleSocialClick("whatsapp")},ariaLabel:"Gift via WhatsApp"}};return(null===(e=n.props)||void 0===e?void 0:e.isV2)?[o(o({},t.copyLink),{name:"Copy Link"}),t.email,t.facebook,t.twitter,t.bluesky,t.threads,t.whatsapp]:[{name:"Gift this article!",ariaLabel:"Gift this article!"},t.copyLink,t.facebook,t.twitter,t.email]},n.handleMouseDown=function(e){e.preventDefault(),n.state.menuOpen||n.buttonRef.current.focus()},n.handleMouseUp=function(e){return a(n,void 0,void 0,function(){var t;return s(this,function(n){switch(n.label){case 0:return e.preventDefault(),!this.state.menuOpen&&this.pushClickEventToDataLayer("open",this.props.userInteractionInOpenEvent||"gift_pop_up_icon"),this.setState({menuOpen:!this.state.menuOpen}),this.state.shareLink||this.state.menuOpen?[3,2]:(this.setState({isLoading:!0}),[4,this.props.getGiftShareLink()]);case 1:t=n.sent(),this.setState({shareLink:t,isLoading:!1}),n.label=2;case 2:return[2]}})})},n.handleBlur=function(e){var t=e.relatedTarget;t&&t.className.indexOf("inq-popup-menu__option")>-1||n.setState({menuOpen:!1})},n.state={menuOpen:!1,showToast:!1,isLoading:!1,shareLink:""},n}return i(t,e),t.prototype.componentDidMount=function(){window.addEventListener("keydown",this.handleKeywordKeyPress.bind(this))},t.prototype.componentWillUnmount=function(){window.removeEventListener("keydown",this.handleKeywordKeyPress)},t.prototype.pushClickEventToDataLayer=function(e,t){window.PMNdataLayer&&window.PMNdataLayer.push({event:this.props.eventName||"ga-generic-event",userInteraction:t||this.props.userInteraction,interactionType:"click",interactionDetail:e})},t.prototype.render=function(){var e,t,n,r,i,o,a,s,l,u,v,y,x=this;return this.props.useDots?(v="inq-card-footer--controls",this.state.menuOpen&&
2(v+=" inq-card-footer--controls-open")):v=this.props.customClass||"inq-share__option inq-share__option--share",(null===(e=null==this?void 0:this.props)||void 0===e?void 0:e.isAppWebView)&&(null===(t=null==this?void 0:this.props)||void 0===t?void 0:t.handleButtonClick)?(0,c.jsx)("div",{className:"inq-share inq-gift-bc",children:(0,c.jsx)("button",{className:v,onClick:this.props.handleButtonClick,children:(0,c.jsx)(p.GiftIcon,{type:"share",size:"medium",isDarkMode:this.props.isDarkMode})})}):(0,c.jsxs)("div",{className:"inq-share inq-gift-bc",children:[(0,c.jsx)("div",{className:"".concat(this.props.useSimpleLink?"flex flex-row justify-end":"inq-share__options"),children:this.props.useSimpleLink?(0,c.jsx)("button",{className:v,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.copyLinkToClipboard,ref:this.buttonRef,"aria-label":"Share this story",children:(0,c.jsx)(f.LinkIcon,{type:"link",size:"small",color:this.props.linkIconColor||"black"})}):(0,c.jsx)("button",{className:"".concat(v," ").concat((null===(n=this.props)||void 0===n?void 0:n.isV2)?(y=this.props.isStoryStack,void 0===y&&(y=!1),y?"h-8 border-solid ".concat(w):"h-auto sm:h-8 border-none sm:border-solid ".concat(w)):""),onBlur:this.handleBlur,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,ref:this.buttonRef,"aria-label":"Share this story","aria-haspopup":"true","aria-expanded":this.state.menuOpen,children:this.props.useDots?(0,c.jsx)("div",{className:"inq-card-controls-dot"}):(null===(r=this.props)||void 0===r?void 0:r.isV2)?(0,c.jsxs)("div",{className:"flex items-center ".concat((null===(i=this.props)||void 0===i?void 0:i.isStoryStack)?"gap-2 px-4 py-2":"gap-0 p-0 sm:gap-2 sm:px-4 sm:py-2"),children:[(0,c.jsx)(p.GiftIcon,{type:"share",size:"none",width:(null===(o=this.props)||void 0===o?void 0:o.isStoryStack)||!(0,b.checkIsMobile)()?"16":"24",height:(null===(a=this.props)||void 0===a?void 0:a.isStoryStack)||!(0,b.checkIsMobile)()?"16":"24",isDarkMode:this.props.isDarkMode,customClass:"flex items-center"}),(0,c.jsx)("span",{className:"font-grot10 font-bold text-primary text-3.5 leading-4 [text-box-trim:trim-both] [text-box-edge:cap_alphabetic] ".concat((null===(s=this.props)||void 0===s?void 0:s.isStoryStack)?"block":"hidden sm:block"),children:"Gift"})]}):(0,c.jsx)(p.GiftIcon,{type:"share",size:"medium",isDarkMode:this.props.isDarkMode})})}),this.props.useSimpleLink?null:(null===(l=this.props)||void 0===l?void 0:l.isV2)?(0,c.jsx)(g.SocialShareMenu,{type:"gift",menuOpen:this.state.menuOpen&&!this.state.isLoading,setMenuOpen:function(e){return x.setState({menuOpen:e})},options:this.getShareOptions(),isPopupLeftAligned:null===(u=this.props)||void 0===u?void 0:u.isPopupLeftAligned}):(0,c.jsx)(m.PopupMenu,{menuOptions:this.getShareOptions(),open:this.state.menuOpen&&!this.state.isLoading}),this.props.useSimpleLink?(0,c.jsx)("div",{className:"relative",children:(0,c.jsx)(h.Toast,{message:"Link copied",show:this.state.showToast,timedClose:!0,closeToast:function(){return x.setState({showToast:!1})},customClasses:"!absolute !w-28 !-left-24 !py-1 !px-2 !h-auto !bg-shades-dark-green-30 !text-secondary-dark-green-dark !text-base !transition-opacity !ease-in"})}):"undefined"!=typeof document?d.default.createPortal((0,c.jsx)(h.Toast,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:function(){return x.setState({showToast:!1})},position:"bottom"}),document.body):(0,c.jsx)(h.Toast,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:function(){return x.setState({showToast:!1})},position:"bottom"})]})},t}(u.default.Component);t.Gift=x},21625:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Headline=function(e){var t=e.children,n=e.customClasses,r=e.as,o=void 0===r?"h1":r,a="inq-headline inq-headline--standard";n&&(a+=" ".concat(n));return i.default.createElement(o,{className:a},t)};var i=r(n(40809))},49390:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.StoryLoader=void 0;var r=n(34766);t.StoryLoader=function(){return(0,r.jsxs)("div",{className:"inq-story-loader",role:"status","aria-live":"polite","aria-label":"Loading. Please wait.",children:[(0,r.jsx)("div",{className:"inq-story-loader__line"}),(0,r.jsx)("div",{className:"inq-story-loader__subline inq-story-loader__subline--inc"}),(0,r.jsx)("div",{className:"inq-story-loader__subline inq-story-loader__subline--dec"})]})}},90093:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Note=void 0;var r=n(34766),i=n(40809);t.Note=function(e){var t=e.type,n=e.updatedAt,o=e.children,a=e.isDarkMode,s=(0,i.useMemo)(function(){var e="";switch(t){case"editor":e="Editor's Note: ";break;case"correction":e="Correction: ";break;case"clarification":e="Clarification: ";break;case"update":e="Update: ";break;default:e="Note: "}return n&&(e+="".concat(n,": ")),e},[t,n]);return(0,r.jsxs)("div",{className:"inq-note font-grot10 text-3.5 leading-4 font-normal ".concat(a?"text-silversand bg-primary":"text-secondary"),children:[(0,r.jsx)("span",{className:"inq-note-type font-bold ".concat(a?"text-white":"text-secondary"),children:s}),o]})}},10348:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PublishDate=t.dateFromUTCOffset=void 0;var i=n(34766),o=n(40809),a=r(n(61487)),s=r(n(23372)),l=r(n(11087));a.default.extend(l.default),a.default.extend(s.default);t.dateFromUTCOffset=function(e){var t=a.default.utc(e);return a.default.tz(t,"America/New_York").format("YYYY-MM-DDTHH:mm:ssZ")};t.PublishDate=function(e){var n=e.footer,r=e.date,s=e.useStaticDate,l=e.timeStampWithYear,c=e.isLatestList,u=e.hasLessThan3HoursFormatTimestamp,d=void 0!==u&&u,f=e.customDateFormatTimestamp,p=e.bylineType,m=void 0===p?"standard":p,h=e.customClass,g=void 0===h?"":h,v=e.isDarkMode,b=(0,o.useMemo)(function(){return"podcast"===m},[m]),y=(0,o.useMemo)(function(){if(""!==r){if(s)return r;var e=(0,a.default)(r),t=(0,a.default)();if("Invalid Date"===e.format("MMM D, YYYY")){var n=r.split(", ");e=(0,a.default)(n[1],"D MMM YYYY H:mm:ss Z")}if(t.diff(e,"minute",!0)<1)return"Just now";var i=t.diff(e,"minute");if(i<60)return e.format(i<2?"[a] [m]inute [a]go":i+" [m]inute[s] [a]go");var o=t.diff(e,"hour");if(i<=180)return e.format(o<2?"[a]n [h]our [a]go":o+" [h]our[s] [a]go");if(d)return"";if(i<=360)return e.format(o+" [h]our[s] [a]go");if(c&&t.diff(e,"hour",!0)<=24)return e.format("h:mm A");var u=function(e){var t=[1,2,8,9,10,11,12].indexOf(e);return t>-1?["Jan.","Feb.","Aug.","Sept.","Oct.","Nov.","Dec."][t]:""}(parseInt(e.format("M")))||e.format("MMMM");return c?"".concat(u," ").concat(e.format("D")):"".concat(u," ").concat(e.format(!1!==l?"D, YYYY":"D"))}return""},[r,s,c,d,l]),w=(0,o.useMemo)(function(){return f||y},[f,y]),x=(0,o.useMemo)(function(){return"inline-block ".concat(n||b?"":"type-article-details"," ").concat(b?"text-black text-4.5 sm:text-5":v?"text-silversand bg-primary":"text-secondary")},[n,b,v]);return(0,i.jsx)("time",{dateTime:(0,t.dateFromUTCOffset)(r),className:"".concat(x," inline ").concat(g),children:w})}},7568:function(e,t,n){"use strict";var r,i=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Share=void 0;var s=n(34766),l=a(n(40809)),c=a(n(91565)),u=n(83914),d=n(65965),f=n(50320),p=n(81018),m=n(87794),h=n(30514),g=n(84967),v=n(58375),b="flex flex-row items-center rounded-full border border-primary outline-none bg-white hover:bg-gray-light active:bg-gray-light focus:bg-gray-light transition-all cursor-pointer",y="?utm_source=facebook.com&utm_campaign=edit_social_share_facebook_traffic&utm_medium=social&utm_content=&utm_term=&int_promo=",w="?utm_source=t.co&utm_campaign=edit_social_share_twitter_traffic&utm_medium=social&utm_content=&utm_term=&int_promo=",x="?utm_source=email&utm_campaign=edit_social_share_email_traffic&utm_medium=email&utm_content=&utm_term=&int_promo=",_="?utm_source=bsky.app&utm_campaign=edit_social_share_bluesky_traffic&utm_medium=social&utm_content=&utm_term=&int_promo=",C="?utm_source=threads.com&utm_campaign=edit_social_share_threads_traffic&utm_medium=social&utm_content=&utm_term=&int_promo=",j="?utm_source=whatsapp.com&utm_campaign=edit_social_share_whatsapp_traffic&utm_medium=social&utm_content=&utm_term=&int_promo=",S=function(e){function t(t){var n=e.call(this,t)||this;return n.buttonRef=l.default.createRef(),n.handleKeywordKeyPress=function(e){var t=document.querySelector(".inq-popup-menu button:last-child");("Tab"===e.key&&document.activeElement&&t&&document.activeElement.getAttribute("aria-label")===t.getAttribute("aria-label")||"Escape"===e.key)&&n.state.menuOpen&&
2(e.preventDefault(),n.buttonRef.current.focus(),setTimeout(function(){return n.buttonRef.current.click()},1))},n.getArticleUrl=function(){return"https://www.inquirer.com".concat(n.props.articleCanonicalUrl||"")},n.copyLinkToClipboard=function(){var e=document.createElement("textarea");e.setAttribute("style","height:1px;"),e.value=n.getArticleUrl(),document.body.append(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),n.setState({menuOpen:!1,showToast:!0}),n.props.usePMNdataLayerEvent&&n.pushClickEventToDataLayer("link")},n.openLinkAndCloseMenu=function(e,t,r){window.open(e,"",r?"toolbar=0,status=0,scrollbars=1,width=626,height=436":void 0),n.setState({menuOpen:!1}),n.props.usePMNdataLayerEvent&&n.pushClickEventToDataLayer(t)},n.encodeUTM=function(e){return encodeURIComponent("".concat(n.getArticleUrl()).concat(e))},n.getShareOptions=function(){var e,t=encodeURIComponent(n.props.articleTitle),r={facebook:"".concat((0,g.getSocialShareUrl)("facebook",{text:n.encodeUTM(y)})),twitter:"".concat((0,g.getSocialShareUrl)("twitter",{text:t+"%20"+n.encodeUTM(w)})),email:"".concat((0,g.getSocialShareUrl)("email",{subject:t,text:n.encodeUTM(x)})),bluesky:"".concat((0,g.getSocialShareUrl)("bluesky",{text:n.encodeUTM(_)})),threads:"".concat((0,g.getSocialShareUrl)("threads",{text:n.encodeUTM(C)})),whatsapp:"".concat((0,g.getSocialShareUrl)("whatsapp",{text:n.encodeUTM(j)}))},i={copyLink:{name:"Copy Link",onClick:n.copyLinkToClipboard,icon:"link",lead:"Copy",ariaLabel:"Copy Link"},email:{name:"Email",onClick:function(){return n.openLinkAndCloseMenu(r.email,"email",!1)},icon:"email",lead:"Share via",ariaLabel:"Share via email"},facebook:{name:"Facebook",onClick:function(){return n.openLinkAndCloseMenu(r.facebook,"facebook",!0)},icon:"facebook",lead:"Share on",ariaLabel:"Share on Facebook"},twitter:{name:"X",onClick:function(){return n.openLinkAndCloseMenu(r.twitter,"twitter",!0)},icon:"twitter",lead:"Share on",ariaLabel:"Share on X"},bluesky:{name:"Bluesky",onClick:function(){return n.openLinkAndCloseMenu(r.bluesky,"bluesky",!0)},icon:"bluesky",lead:"Share on",ariaLabel:"Share on Bluesky"},threads:{name:"Threads",onClick:function(){return n.openLinkAndCloseMenu(r.threads,"threads",!0)},icon:"threads",lead:"Share on",ariaLabel:"Share on Threads"},whatsapp:{name:"WhatsApp",onClick:function(){return n.openLinkAndCloseMenu(r.whatsapp,"whatsapp",!0)},icon:"whatsapp",lead:"Share on",ariaLabel:"Share on WhatsApp"}};return(null===(e=n.props)||void 0===e?void 0:e.isV2)?[i.copyLink,i.email,i.facebook,i.twitter,i.bluesky,i.threads,i.whatsapp]:[o(o({},i.copyLink),{name:"link"}),i.facebook,i.twitter,i.email]},n.handleMouseDown=function(e){e.preventDefault(),n.state.menuOpen||n.buttonRef.current.focus()},n.handleMouseUp=function(e){e.preventDefault(),n.setState({menuOpen:!n.state.menuOpen})},n.handleBlur=function(e){var t=e.relatedTarget;t&&t.className.indexOf("inq-popup-menu__option")>-1||n.setState({menuOpen:!1})},n.state={menuOpen:!1,showToast:!1},n}return i(t,e),t.prototype.componentDidMount=function(){window.addEventListener("keydown",this.handleKeywordKeyPress.bind(this))},t.prototype.componentWillUnmount=function(){window.removeEventListener("keydown",this.handleKeywordKeyPress)},t.prototype.pushClickEventToDataLayer=function(e){window.PMNdataLayer&&window.PMNdataLayer.push({event:"ga-generic-event",userInteraction:this.props.userInteraction,interactionType:this.props.isVerticalPlayer?"vertical_video_story":"click",interactionDetail:e})},t.prototype.render=function(){var e,t,n,r,i,o,a,l,g,y=this,w=this.props.isVerticalPlayer||!1,x=w||(0,v.checkIsMobile)();return this.props.useDots?(l="inq-card-footer--controls",this.state.menuOpen&&(l+=" inq-card-footer--controls-open")):l=this.props.customClass||"inq-share__option inq-share__option--share",(0,s.jsxs)("div",{className:"inq-share ".concat(w?"!static":""),children:[(0,s.jsx)("div",{className:"".concat(this.props.useSimpleLink?"flex flex-row justify-end":"inq-share__options"),children:this.props.useSimpleLink?(0,s.jsx)("button",{className:l,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.copyLinkToClipboard,ref:this.buttonRef,"aria-label":"Share this story",children:(0,s.jsx)(u.LinkIcon,{type:"link",size:"small",color:this.props.linkIconColor||"black"})}):(0,s.jsx)("button",{className:"".concat(l," ").concat((null===(e=this.props)||void 0===e?void 0:e.isV2)?"outline-none":""),onBlur:this.handleBlur,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,ref:this.buttonRef,"aria-label":w?"Share video":"Share this story","aria-haspopup":"true","aria-expanded":this.state.menuOpen,children:this.props.useDots?(0,s.jsx)("div",{className:"inq
2-card-controls-dot"}):(null===(t=this.props)||void 0===t?void 0:t.isV2)?(0,s.jsxs)("button",{className:"".concat(w?"bg-transparent cursor-pointer":(g=this.props.isStoryStack,void 0===g&&(g=!1),g?"gap-2 px-4 py-2 h-8 border-solid ".concat(b):"gap-0 px-0 py-0 sm:gap-2 sm:px-4 sm:py-2 h-auto sm:h-8 border-none sm:border-solid ".concat(b))," "),children:[(0,s.jsx)(h.ShareForwardIcon,{type:"share",size:"none",width:(null===(n=this.props)||void 0===n?void 0:n.isStoryStack)||!x?"16":"24",height:(null===(r=this.props)||void 0===r?void 0:r.isStoryStack)||!x?"16":"24",isDarkMode:this.props.isDarkMode,customClass:" flex items-center",color:w?"white":"black"}),!w&&(0,s.jsx)("span",{className:"font-grot10 font-bold text-primary text-3.5 leading-4 ".concat((null===(i=this.props)||void 0===i?void 0:i.isStoryStack)?"block":"hidden sm:block"),children:"Share"})]}):(0,s.jsx)(d.ShareIcon,{type:"share",size:"medium",isDarkMode:this.props.isDarkMode})})}),this.props.useSimpleLink?null:(null===(o=this.props)||void 0===o?void 0:o.isV2)?(0,s.jsx)(m.SocialShareMenu,{type:"share",menuOpen:this.state.menuOpen,setMenuOpen:function(e){return y.setState({menuOpen:e})},options:this.getShareOptions(),isVerticalPlayer:w,isPopupLeftAligned:null===(a=this.props)||void 0===a?void 0:a.isPopupLeftAligned}):(0,s.jsx)(f.PopupMenu,{menuOptions:this.getShareOptions(),open:this.state.menuOpen}),this.props.useSimpleLink?(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)(p.Toast,{message:"Link copied",show:this.state.showToast,timedClose:!0,closeToast:function(){return y.setState({showToast:!1})},customClasses:"!absolute !w-28 !-left-24 !py-1 !px-2 !h-auto !bg-shades-dark-green-30 !text-secondary-dark-green-dark !text-base !transition-opacity !ease-in"})}):"undefined"!=typeof document?c.default.createPortal((0,s.jsx)(p.Toast,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:function(){return y.setState({showToast:!1})},position:"bottom"}),document.body):(0,s.jsx)(p.Toast,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:function(){return y.setState({showToast:!1})},position:"bottom"})]})},t}(l.default.Component);t.Share=S},99182: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});
2var i=n(34766),o=n(40809),a=n(79603),s=n(63906),l=n(40438),c=n(83914),u=n(76923),d=n(57729),f=n(19864),p={color:"black",size:"small",width:"18",height:"18"};t.default=(0,o.memo)(function(e){var t=e.icon;if(!t)return null;switch(t){case"link":return(0,i.jsx)(c.LinkIcon,r({},p));case"email":return(0,i.jsx)(s.EmailIcon,r({},p));case"facebook":return(0,i.jsx)(l.FacebookIcon,r({},p));case"twitter":return(0,i.jsx)(d.TwitterIcon,r({},p));case"whatsapp":return(0,i.jsx)(f.WhatsAppIcon,r({},p));case"threads":return(0,i.jsx)(u.ThreadsIcon,r({},p));case"bluesky":return(0,i.jsx)(a.BlueskyIcon,r({},p));default:return null}})},8093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(34766),o=n(40809),a=r(n(99182));t.default=(0,o.memo)(function(e){var t=e.title,n=e.options,r=e.isVerticalPlayer,o=void 0!==r&&r;return(0,i.jsxs)("div",{className:"p-4 box-border",children:[t&&(0,i.jsx)("div",{className:"font-grot10 font-normal text-4 leading-5.5 text-primary",children:t}),(0,i.jsx)("div",{className:"gap-6 mt-4  ".concat(o?"grid grid-cols-4 sm:flex sm:flex-wrap":"grid grid-cols-4 md:flex md:grid-cols-none md:flex-wrap"," "),children:n.map(function(e){var t=e.name,n=e.icon,r=e.onClick,o=e.ariaLabel;return(0,i.jsxs)("div",{className:"flex flex-col items-center justify-center cursor-pointer group min-w-fit",onClick:r,children:[(0,i.jsx)("button",{id:t,className:"inq-social-share-menu__button w-11 h-11\n              border border-solid border-primary\n              rounded-full cursor-pointer flex items-center justify-center\n              bg-white group-hover:bg-gray-light group-active:bg-gray-light\n              focus:bg-gray-light active:bg-gray-light transition-all","aria-label":null!=o?o:t,children:(0,i.jsx)(a.default,{icon:n})},t),(0,i.jsx)("span",{className:"mt-2 font-grot10 font-normal text-3.5 leading-4 text-primary whitespace-nowrap",children:t})]},t)})})]})})},87794:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SocialShareMenu=void 0;var i=n(34766),o=n(40809),a=r(n(8093)),s=n(19842),l=n(46984);t.SocialShareMenu=function(e){var t=e.type,n=e.menuOpen,r=e.setMenuOpen,c=e.options,u=e.isVerticalPlayer,d=void 0!==u&&u,f=e.isPopupLeftAligned,p=void 0!==f&&f,m=(0,o.useMemo)(function(){return"".concat("share"===t?"Share":"Gift"," this article")},[t]),h=(0,o.useMemo)(function(){var e="z-9 box-border hidden lg:block",t=d?"w-full":"w-[562px]";if(!n)return"".concat(e," ").concat(t);var r=d?"right-0 bottom-24":p?"left-0":"right-6";return"".concat(e," ").concat(t," absolute mt-3 ").concat(r)},[d,n,p]);return(0,i.jsxs)("div",{className:"inq-social-share-menu inq-".concat(t,"-v2 ").concat(n?"":"hidden"),onMouseDown:function(e){return e.preventDefault()},children:[(0,i.jsx)("div",{className:"lg:hidden",children:(0,i.jsx)(l.ActionSheet,{isOpen:n,setIsOpen:r,children:(0,i.jsx)(a.default,{title:m,options:c,isVerticalPlayer:d})})}),(0,i.jsx)("div",{className:h,children:(0,i.jsx)(s.Tooltip,{toolTipSubText:"",toolTipHeader:"",toolTipText:"",phillyFirstTooltip:!1,showCloseButton:!0,position:d?"arrow-bottomRight":p?"arrow-topLeft":"arrow-topRight",closeTooltip:function(){return r(!1)},customClasses:"bg-white border-secondary ".concat(d?"box-border !w-full":""),svgFill:"fill-white",svgStroke:"stroke-neutral-light-text",customCloseClassNames:"absolute top-0 right-0 p-2 flex w-4 h-4 cursor-pointer",giftV2Tooltip:!0,children:(0,i.jsx)(a.default,{isVerticalPlayer:d,title:m,options:c})})})]})}},6727: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(34766),a=i(n(40809)),s=n(10348);t.default=a.default.memo(function(e){var t=e.isUpdated,n=e.publishDateProps,i=e.timestampContainerClass,a=e.timestampLabelClass,l=e.updatedDate,c=e.customUpdatedDateFormatTimestamp,u=e.isDarkMode;return(0,o.jsxs)("div",{className:"flex flex-col md:flex-row",children:[t&&l&&c&&(0,o.jsxs)("div",{className:"inline-flex",children:[(0,o.jsxs)("div",{className:i,children:[(0,o.jsx)("span",{className:a,children:"Updated "}),(0,o.jsx)(s.PublishDate,r({},n,{date:l,customDateFormatTimestamp:c,isDarkMode:u}))]}),(0,o.jsx)("div",{className:"w-1 font-normal text-neutral-light-charcoal-gray leading-5 px-2 md:block hidden",children:"|"})]}),(0,o.jsxs)("div",{className:i,children:[(0,o.jsx)("span",{className:a,children:"Published "}),(0,o.jsx)(s.PublishDate,r({},n,{isDarkMode:u}))]})]})})},70220:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
2i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=s(n(40809)),u=n(10348);t.default=c.default.memo(function(e){var t=e.isUpdated,n=e.publishDateProps,r=e.timestampContainerClass,o=e.timestampLabelClass,a=e.isDarkMode,s=(0,c.useMemo)(function(){return t?"Updated":"Published"},[t]);return(0,l.jsxs)("div",{className:r,children:[(0,l.jsxs)("span",{className:o,children:[s," "]}),(0,l.jsx)(u.PublishDate,i({},n,{isDarkMode:a}))]})})},87743:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Timestamp=void 0;var i=n(34766),o=n(40809),a=r(n(70220)),s=r(n(6727));t.Timestamp=function(e){var t=e.date,n=e.isUpdated,r=void 0!==n&&n,l=e.breakLine,c=void 0===l||l,u=e.useStaticDate,d=e.timeStampWithYear,f=e.hasLessThan3HoursFormatTimestamp,p=e.footer,m=e.customDateFormatTimestamp,h=e.updatedDate,g=e.customUpdatedDateFormatTimestamp,v=e.isDisplayUpdatedTimestamp,b=e.isDarkMode,y=(0,o.useMemo)(function(){return"inq-timestamp antialiased type-article-details ".concat(b?"text-silversand bg-primary":"text-secondary")},[b]),w=(0,o.useMemo)(function(){return"inq-timestamp__label leading-5".concat(c?" block":"")},[c]),x=(0,o.useMemo)(function(){return{footer:p,date:t,useStaticDate:u,timeStampWithYear:d,hasLessThan3HoursFormatTimestamp:f,customDateFormatTimestamp:m,customClass:"leading-5"}},[p,t,u,d,f,m]);return v?(0,i.jsx)(s.default,{isUpdated:r,publishDateProps:x,updatedDate:h,customUpdatedDateFormatTimestamp:g,timestampContainerClass:y,timestampLabelClass:w,isDarkMode:b}):(0,i.jsx)(a.default,{isUpdated:r,publishDateProps:x,timestampContainerClass:y,timestampLabelClass:w,isDarkMode:b})}},77888:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(66242),t),i(n(26123),t),i(n(56835),t),i(n(83476),t),i(n(21625),t),i(n(49390),t),i(n(90093),t),i(n(10348),t),i(n(7568),t),i(n(87743),t),i(n(20859),t),i(n(87794),t)},81018: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Toast=function(e){var t=e.children,n=e.message,s=void 0===n?"":n,l=e.show,c=void 0!==l&&l,u=e.position,d=void 0===u?"top":u,f=e.defaultClose,p=void 0!==f&&f,m=e.timedClose,h=void 0!==m&&m,g=e.type,v=void 0===g?"standard":g,b=e.additionalAttrs,y=e.wrapperElem,w=void 0!==y&&y,x=e.customClasses,_=void 0===x?"":x,C=e.closeToast,j=void 0===C?function(){}:C,S=(0,o.useMemo)(function(){return"standard"!==v},[v]),O=(0,o.useMemo)(function(){return"font-grot10 text-3.5 leading-4.5 sm:text-4 sm:leading-5 font-medium text-left sm:text-center border-solid border-[1px] h-[50px] sm:h-15"},[]),k=(0,o.useMemo)(function(){switch(v){case"default":return"text-primary bg-shades-inquirer-blue-30 border-shades-inquirer-blue-70 ".concat(O);case"standard":return"font-ringside-regular h-[58px] text-3.5 text-center";default:return O}},[v,O]),E=["inq-toast items-center inq-toast--".concat(v),c?"inq-toast--show":"","top"!==d?"inq-toast--bottom":"",k].filter(
2Boolean).join(" ");(0,o.useEffect)(function(){setTimeout(function(){c&&h&&j()},3e3)},[c,h,j]);var L=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{role:"alert","aria-label":S&&"default"!==v?v:void 0,className:"w-11/12",children:t||(0,i.jsx)("span",{className:"break-words",dangerouslySetInnerHTML:{__html:s}})}),p&&(0,i.jsx)("button",{className:"inq-toast__close ".concat(S?"w-[50px] sm:w-15 h-[50px] sm:h-15":"h-[58px] w-[58px]"),onClick:function(){return j()},"aria-label":"Close",children:(0,i.jsx)(a.CloseIcon,{size:"small",customClass:"".concat(S?"fill-primary":"fill-white")})})]});return(0,i.jsx)("div",r({className:"".concat(E," ").concat(_)},b,{"aria-hidden":!c,children:w?(0,i.jsx)("div",{className:"wrapper",children:L}):L}))};var i=n(34766),o=n(40809),a=n(67334)},19842:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=void 0;var r=n(34766),i=n(40809),o=n(67334);t.Tooltip=function(e){var t=e.toolTipText,n=void 0===t?"You can gift articles now.":t,a=e.toolTipSubText,s=e.toolTipHeader,l=e.position,c=void 0===l?"arrow-topCenter":l,u=e.customClasses,d=void 0===u?"border-shades-inquirer-blue-70 bg-shades-inquirer-blue-30":u,f=e.customCloseClassNames,p=void 0===f?"flex p-2 cursor-pointer":f,m=e.svgStroke,h=void 0===m?"stroke-shades-inquirer-blue-70":m,g=e.svgFill,v=void 0===g?"fill-shades-inquirer-blue-30":g,b=e.phillyFirstTooltip,y=void 0!==b&&b,w=e.showCloseButton,x=void 0!==w&&w,_=e.giftV2Tooltip,C=void 0!==_&&_,j=e.inquirerPicksTooltip,S=void 0!==j&&j,O=e.closeTooltip,k=e.children,E=(0,i.useMemo)(function(){return a||"arrow-rightSideCenter"!==c&&"arrow-leftSideCenter"!==c?c:"arrow-rightSideCenter"===c?"arrow-rightSideCenterNoSubText":"arrow-leftSideCenterNoSubText"},[a,c]),L=(0,i.useMemo)(function(){var e="relative flex rounded border border-solid";return y||S||(e+=" w-max"),"".concat(e+=y?" w-48 md:w-full md:max-w-max":a?" h-14":C?" h-max":S?" w-72":" w-48 h-12"," ").concat(d||"")},[y,a,C,d]),P=(0,i.useMemo)(function(){if(C)return"flex flex-col items-center";var e="flex items-center font-grot10 gap-4";return y?e+=" whitespace-pre-line text-3.5 leading-4 p-2 pr-0 md:p-4 md:pr-2":(a||S)&&(e+=" text-3.5 leading-4 p-4"),e},[y,a,C]);return(0,r.jsxs)("div",{className:L,children:[(0,r.jsxs)("div",{className:P,children:[a?(0,r.jsx)("label",{className:"text-center p-1 rounded-[40Px] text-white bg-primary-blue font-bold",children:a}):null,(0,r.jsxs)("div",{className:"flex flex-col",children:[s&&(0,r.jsx)("span",{className:"text-neutral-text-color font-bold",children:s}),(0,r.jsx)("span",{className:"text-neutral-text-color font-medium",children:n})]}),(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"9",viewBox:"0 0 48 9",fill:"none",className:"absolute ".concat(E),children:[(0,r.jsx)("path",{d:"M25.4142 2.41519L31.1213 8.1223C31.6839 8.68491 32.447 9.00098 33.2426 9.00098L14.7574 9.00097C15.553 9.00097 16.3161 8.68491 16.8787 8.1223L22.5858 2.41519C23.3668 1.63414 24.6332 1.63414 25.4142 2.41519Z",className:v}),(0,r.jsx)("path",{d:"M34 8.50098L33.6569 8.50098C32.596 8.50098 31.5786 8.07955 30.8284 7.3294L25.4142 1.91519C24.6332 1.13414 23.3668 1.13414 22.5858 1.91519L17.1716 7.3294C16.4214 8.07955 15.404 8.50097 14.3431 8.50097L14 8.50097",className:h,strokeLinecap:"round"})]}),y&&(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"49",height:"9",viewBox:"0 0 48 9",fill:"none",className:"absolute ".concat(E),children:(0,r.jsx)("path",{d:"M25.4142 2.41519L31.1213 8.1223C31.6839 8.68491 32.447 9.00098 33.2426 9.00098L14.7574 9.00097C15.553 9.00097 16.3161 8.68491 16.8787 8.1223L22.5858 2.41519C23.3668 1.63414 24.6332 1.63414 25.4142 2.41519Z",className:v})})]}),k,x&&(0,r.jsx)("div",{onClick:O,className:p,children:(0,r.jsx)(o.CloseIcon,{size:y?"none":"small",customClass:y?"w-3 h-3 md:w-4 md:h-4 block":"w-4 h-4 block"})})]})}},84380: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Prom
2ise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VerticalPlayer=t.cleanupPowaPlayers=void 0;var s=n(34766),l=n(40809),c=n(58375),u=a(n(25194)),d=n(96892),f=n(84967),p=n(77888),m=new Map;t.cleanupPowaPlayers=function(e){var t=new Set(e);m.forEach(function(e,n){t.has(n)||m.delete(n)})};t.VerticalPlayer=function(e){var t,n,a,h,g,v=e.story,b=e.buildVerticalPlayerAnalytics,y=e.dataEnv,w=e.correspondingStoryUrl,x=void 0===w?"":w,_=e.showPromoImage,C=void 0===_||_,j=e.showShareButton,S=void 0===j||j,O=e.wrapperClasses,k=void 0===O?"":O,E=e.isPlaying,L=void 0===E||E,P=e.cardIndex,N=e.muted,A=void 0===N||N,I=e.onMuteChange,T=(0,l.useRef)(null),M=(0,l.useRef)(m),R=(0,l.useRef)(null),D=(0,l.useRef)(null),F=(0,l.useRef)(A),B=(0,l.useState)(!1),V=B[0],H=B[1],q=(0,l.useState)(!1),U=q[0],$=q[1],z=(0,l.useMemo)(function(){var e;return(null===(e=null==v?void 0:v.promo_items)||void 0===e?void 0:e.video)||{}},[v]),G=(0,l.useMemo)(function(){return y||("prod"===(0,c.getFusionEnv)()?"prod":"sandbox")},[y]),K=(0,l.useMemo)(function(){return null==z?void 0:z._id},[z]),Y=(0,l.useMemo)(function(){return K?"powa-".concat(K):null},[K]),W=(0,l.useMemo)(function(){var e,t;return(null===(e=null==v?void 0:v.additional_properties)||void 0===e?void 0:e.vertical)||(null===(t=null==z?void 0:z.additional_properties)||void 0===t?void 0:t.vertical)},[null===(t=null==v?void 0:v.additional_properties)||void 0===t?void 0:t.vertical,null===(n=null==z?void 0:z.additional_properties)||void 0===n?void 0:n.vertical]),Z=(0,l.useMemo)(function(){return!(!Y||C)&&!M.current.has(Y)},[Y,C]),J=(0,l.useMemo)(function(){var e,t;return{usePMNdataLayerEvent:!0,userInteraction:"social-share",articleTitle:(null===(e=null==v?void 0:v.headlines)||void 0===e?void 0:e.tablet)||(null===(t=null==v?void 0:v.headlines)||void 0===t?void 0:t.basic)||"",articleCanonicalUrl:v.canonical_url||"",customClass:"z-[2] w-6 h-6 bg-transparent absolute bottom-16 right-5 transition-transform ease-out hover:scale-105",isV2:!0,isVerticalPlayer:!0}},[null==v?void 0:v.headlines,null==v?void 0:v.canonical_url]),X=(0,l.useMemo)(function(){var e=null==v?void 0:v.streams;if(!Array.isArray(e)||0===e.length)return 0;var t=e.find(function(e){return(null==e?void 0:e.width)>=480&&"mp4"===(null==e?void 0:e.stream_type)}),n=null==t?void 0:t.url;if(!n)return 0;var r=new URL(n);return r.hostname="pmn-".concat(G,".video.arc-cdn.net"),r.protocol="https:",r.toString()},[null==v?void 0:v.streams,G]),Q=(0,l.useCallback)(function(){(0,c.loadScript)("/pf/resources/vendor/goldfish-vertical-video.js",[],function(){(0,c.loadScript)("https://pmn.video-player.arcpublishing.com/vv/powaBoot.js",[],function(){})}),window.powaBoot&&window.powaBoot(),(0,c.loadScript)("/pf/resources/vendor/video-tracking.js",[],function(){}),(0,c.loadScript)("/pf/resources/vendor/video-watch-time.js",[],function(){})},[]);return(0,l.useEffect)(function(){if("undefined"!=typeof window){var e=function(e){var t,n,r,i=(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.powa)||null,o=(null===(n=null==e?void 0:e.detail)||void 0===n?void 0:n.id)||null;if(i&&o){if(M.current.has(o)||M.current.set(o,i),K&&o==="powa-".concat(K)){R.current=i;var a=null===(r=null==i?void 0:i.getRootElement)||void 0===r?void 0:r.call(i);a&&a.setAttribute("tabindex","-1")}i.on("play",function(){$(!0),H(!1),null==i||i.mute(F.current)}),i.on("muted",function(e){I&&"boolean"==typeof e.muted&&I(e.muted)})}};return window.addEventListener("powaRender",e),function(){return window.removeEventListener("powaRender",e)}}},[K,I]),(0,l.useEffect)(function(){(!C&&v||"undefined"!=typeof window&&!window.PoWaSettings)&&Q()},[C,z,v]),(0,l.useEffect)(function(){"undefined"!=typeof window&&window.powaBoot&&window.powaBoot()},[v]),(0,l.useEffect)(function(){H(!(!L||C||U))},[L,C,U]),(0,l.useEffect)(function(){$(!1)},[Y]),(0,l.useEffect)(function(){var e,t;if(Y&&!C){var n=M.current.get(Y);if(n){R.current=n;var r=function(e){return i(void 0,void 0,void 0,function(){var t,n,r,i,a,s;
2return o(this,function(o){if(!e||"function"!=typeof e.play||"function"!=typeof e.pause)return[2];if((t=null===(a=null==e?void 0:e.getVideoElement)||void 0===a?void 0:a.call(e))&&(t.__handlePlayingVideo&&t.removeEventListener("playing",t.__handlePlayingVideo),n=function(){$(!0),H(!1)},t.addEventListener("playing",n),t.__handlePlayingVideo=n),L){if(!(r=null===(s=e.getRootElement)||void 0===s?void 0:s.call(e))||!document.body.contains(r))return H(!1),[2];try{void 0!==(i=e.play())&&i instanceof Promise&&(D.current=i,i.then(function(){D.current=null}).catch(function(e){D.current=null,"AbortError"!==e.name&&"NotSupportedError"!==e.name&&console.error("Video play error:",e)}))}catch(e){console.error("Error calling play():",e)}}else e.pause();return[2]})})},a=null===(t=null===(e=R.current)||void 0===e?void 0:e.getRootElement)||void 0===t?void 0:t.call(e),s=T.current;a&&s&&a.parentNode===s&&r(R.current),a&&s&&a.parentNode!==s&&setTimeout(function(){var e;a.parentNode&&a.parentNode.removeChild(a),s.appendChild(a),(null===(e=a.classList)||void 0===e?void 0:e.contains("powa"))&&a.classList.toggle(f.POWA_NO_PLAYER_CONTROLS_CLASS,!L),r(R.current)},50)}}else R.current=null},[Y,C,L]),(0,l.useEffect)(function(){F.current=A},[A]),(0,s.jsx)("div",{className:k,children:(0,s.jsx)("div",{className:"h-full w-full video-wrapper goldfish-player aspect-[9/16]",children:C?(0,s.jsx)("div",{className:"w-full flex bg-black cursor-pointer relative rounded-lg",children:(0,s.jsx)("div",{className:"w-full self-center",children:(0,s.jsx)(u.default,{storyImage:null===(a=null==v?void 0:v.promo_items)||void 0===a?void 0:a.video,shouldRedirectToPage:!1,customImage:null===(g=null===(h=null==v?void 0:v.promo_items)||void 0===h?void 0:h.video)||void 0===g?void 0:g.url,imgBorderRadius:"8px",imageRatio:"9x16"})})}):K&&(0,s.jsx)("div",{className:"m-auto clear-both h-full ".concat(W&&"vertical-fit-cover"),children:(0,s.jsxs)("div",{className:"inq-vertical-player lg:rounded-lg overflow-hidden h-full","data-page-on":"1","data-producer":!0,children:[(0,s.jsx)("div",{className:"absolute pointer-events-none z-1 top-0 w-full h-40 opacity-50",style:{background:"linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%)"}}),V&&(0,s.jsx)("div",{"aria-label":"Loading video",role:"status",className:"flex items-center justify-center absolute top-0 right-0 bottom-0 left-0 pointer-events-none z-[10]",children:(0,s.jsx)("div",{className:"-translate-y-5",children:(0,s.jsx)(d.Spinner,{})})}),(0,s.jsx)("div",{ref:T,className:"w-full h-full",children:Z?(0,s.jsx)("div",{className:"powa !static lg:relative lg:rounded-lg transition-opacity duration-500 ".concat(L?"":f.POWA_NO_PLAYER_CONTROLS_CLASS),id:"powa-".concat(z._id),"data-org":"pmn","data-uuid":z._id,"data-autoinit":!0,"data-playthrough":!0,"data-loop-with-controls":!0,"data-muted":A,"data-autoplay":L,"data-stream":X,"data-aspect-ratio":"1.7778","data-env":G,"data-vi
2deo-location":"vertical_player","data-card-index":String(P+1)}):null}),x&&(0,s.jsx)("div",{className:"absolute z-[2] gap-2 left-5 right-15 bottom-14",children:(0,s.jsxs)("a",{href:x,target:"_blank",rel:"noopener noreferrer",onClick:function(){return null==b?void 0:b(v,P,"card_click")},className:"flex w-fit rounded gap-2 px-4 h-8 bg-blue-mid cursor-pointer justify-center items-center transition-all ease-out hover:scale-105 hover:bg-blue-dark no-underline",children:[(0,s.jsx)("span",{className:"font-grot10 text-white text-sm font-bold leading-4",children:"Read full story"}),(0,s.jsx)("div",{className:"w-3 h-3 flex justify-center items-center",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M5 1.5V2.5H2.5V9.5H9.5V7H10.5V10C10.5 10.1326 10.4473 10.2598 10.3536 10.3536C10.2598 10.4473 10.1326 10.5 10 10.5H2C1.86739 10.5 1.74021 10.4473 1.64645 10.3536C1.55268 10.2598 1.5 10.1326 1.5 10V2C1.5 1.86739 1.55268 1.74021 1.64645 1.64645C1.74021 1.55268 1.86739 1.5 2 1.5H5ZM8.793 2.5H6.5V1.5H10.5V5.5H9.5V3.207L6 6.707L5.293 6L8.793 2.5Z",fill:"white"})})})]})}),S&&(0,s.jsx)(p.Share,r({},J)),(0,s.jsx)("div",{className:"absolute z-1 pointer-events-none bottom-0 w-full h-60 opacity-50",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%)"}})]})})})})}},50218:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=s(n(40809)),u=n(67434),d=n(40778),f=n(43048),p=n(84380),m=n(58375),h=n(24429),g="vertical-player-carousel-swipe-hint-seen";t.default=c.default.memo(function(e){var t,n,r,o,a,s,v,b,y,w=e.currentIndex,x=e.onIndexChange,_=e.buildVerticalPlayerAnalytics,C=e.items,j=e.backHref,S=e.dataEnv,O=e.customClasses,k=void 0===O?"":O,E=(0,c.useRef)(null),L=(0,c.useRef)(null),P=(0,c.useRef)(null),N=(0,c.useRef)(x),A=(0,c.useRef)(0),I=(0,c.useState)(!1),T=I[0],M=I[1],R=(0,c.useState)((0,m.checkIsDesktop)()),D=R[0],F=R[1],B=(0,c.useState)(0),V=B[0],H=B[1],q=(0,c.useState)(0),U=q[0],$=q[1],z=(0,c.useState)(!1),G=z[0],K=z[1],Y=(0,c.useState)(!1),W=Y[0],Z=Y[1],J=(0,c.useState)(null),X=J[0],Q=J[1],ee=(0,c.useState)(!1),te=ee[0],ne=ee[1],re=(0,c.useRef)(0),ie=(0,c.useRef)(0),oe=(0,c.useRef)(0),ae=(0,c.useRef)(null),se=(0,c.useRef)(!1),le=(0,c.useState)(!0),ce=le[0],ue=le[1],de=(0,c.useMemo)(function(){return(null==C?void 0:C.length)||0},[null==C?void 0:C.length]),fe=(0,c.useMemo)(function(){return de>0?Math.max(0,Math.min(w,de-1)):0},[w,de]),pe=(0,c.useRef)(fe),me=(0,c.useMemo)(function(){return fe>0},[fe]),he=(0,c.useMemo)(function(){return fe<de-1},[fe,de]),ge=(0,c.useMemo)(function(){return null==C?void 0:C[fe]},[C,fe]),ve=(0,c.useMemo)(function(){if(0===de)return C.map(function(e,t){return{item:e,originalIndex:t,position:"current"}});var e=[];return fe>0&&e.push({item:C[fe-1],originalIndex:fe-1,position:"prev"}),e.push({item:C[fe],originalIndex:fe,position:"current"}),fe<de-1&&e.push({item:C[fe+1],originalIndex:fe+1,position:"next"}),e},[C,fe,de]),be=(0,c.useMemo)(function(){return G?U-V:0},[G,U,V]),ye=(0,c.useCallback)(function(e,t){var n,r,i;if(!C||0===de)return[];for(var o=[],a=Math.max(0,e),s=Math.min(de,t),l=a;l<s;l++)(null===(i=null===(r=null===(n=C[l])||void 0===n?void 0:n.promo_items)||void 0===r?void 0:r.video)||void 0===i?void 0:i._id)&&o.push({index:l,item:C[l]});return o},[C,de]),we=(0,c.useCallback)(function(e){e>=0&&e<de&&N.current(e)},[de]),xe=(0,c.useCallback)(function(e,t){t&&N.current(fe+e)},[fe]),_e=(0,c.useCallback)(function(e,t,n){if(!(n<50||se.current)){e.current+=t;if(Math.abs(e.current)>60&&(e.current=e.current>0?60:-60),Math.abs(e.current)>=30){var r=e.current,i=r>0&&fe<de-1?fe+1:r<0&&fe>0?fe-1:fe;i!==fe?(ie.current=0,oe.current=0,re.current=Date.now(),se.current=!0,N.current(i),setTimeout(function(){se.current=!1},200)):e.current=0}}},[fe,de]),Ce=(0,c.useCallback)(function(e){if(D){e.preventDefault();var t=e.deltaY||0,n=e.deltaX||0,r=Math.abs(t),i=Math.abs(n),o=Date.now()-re.current,a=i>1.5*r;r>1.5*i||!a&&r>i?_e(ie,t,o):(a||i>r)&&_e(oe,n,o)}},[D,_e]),je=(0,c.useCallback)(function(e){var t=e.target;if(!W&&!(null==t?void 0:t.closest(".scrubber-overlay"))){var n=e.touches[0];n&&(H(n.clientY),$(n.clientY),K(!0),A.current=n.clientY)}},[W]),Se=(0,c.useCallback)(function(e){if(G&&!W){var t=e.touches[0];t&&($(t.clientY),e.preventDefault())}},[G,W]),Oe=(0,c.useCallback)(function(){if(G){K(!1);var e=V-U;if(T){var t=null==L?void 0:L.current;t&&(t.style.visibility="hidden"),"undefined"!=typeof window&&window.localStorage&&window.localStorage.setItem(g,"true"),M(!1)}e>50&&fe<de-1?(Z(!0),N.current(fe+1),setTimeout(function(){return Z(!1)},400)):e<-50&&fe>0&&(Z(!0),N.current(fe-1),setTimeout(function(){return Z(!1)},400)),H(0),$(0),A.current=0}},[G,V,U,fe,de,T]);(0,c.useEffect)(function(){N.current=x},[x]),(0,c.useEffect)(function(){if(pe.current!==fe){var e=fe>pe.current?"right":"left";Q(e),ne(!1),pe.current=fe,requestAnimationFrame(function(){requestAnimationFrame(function(){ne(!0)})}),setTimeout(function(){Q(null),ne(!1)},400)}},[fe]),(0,c.useEffect)(function(){ge&&ae.current!==fe&&_&&(ae.current=fe,_(ge,fe,"card_view"))},[fe,ge,_]),(0,c.useEffect)(function(){var e,t;if(!D&&(null===(t=null===(e=null==ge?void 0:ge.promo_items)||void 0===e?void 0:e.video)||void 0===t?void 0:t._id)&&!W){var n="powa-".concat(ge.promo_items.video._id),r=setTimeout(function(){var e,t=null===(e=E.current)||void 0===e?void 0:e.querySelector("#".concat(n));t&&t.focus({preventScroll:!0})},300);return function(){return clearTimeout(r)}}},[null===(n=null===(t=null==ge?void 0:ge.promo_items)||void 0===t?void 0:t.video)||void 0===n?void 0:n._id,D,W]),(0,c.useEffect)(function(){if(0!==de){var e=[];ve.forEach(function(t){var n,r,i=t.item,o=null===(r=null===(n=null==i?void 0:i.promo_items)||void 0===n?void 0:n.video)||void 0===r?void 0:r._id;if(o){var a="powa-".concat(o);e.push(a)}}),e.length>0&&(0,p.cleanupPowaPlayers)(e)}},[fe,ve,de]),(0,c.useEffect)(function(){if("undefined"!=typeof window){var e=function(){F((0,m.checkIsDesktop)())};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}},[]),(0,c.useEffect)(function(){if("undefined"!=typeof window)return D?(document.body.style.overflow="hidden",function(){document.body.style.overflow=""}):void(window.localStorage&&!window.localStorage.getItem(g)&&M(!0))}
2,[D]),(0,c.useEffect)(function(){var e=null==E?void 0:E.current;if(e&&!D)return e.addEventListener("touchstart",je),e.addEventListener("touchmove",Se,{passive:!1}),e.addEventListener("touchend",Oe),function(){e.removeEventListener("touchstart",je),e.removeEventListener("touchmove",Se),e.removeEventListener("touchend",Oe)}},[D,je,Se,Oe]),(0,c.useEffect)(function(){var e=null==P?void 0:P.current;if(e&&D)return e.addEventListener("wheel",Ce,{passive:!1}),function(){e.removeEventListener("wheel",Ce)}},[D,Ce]);var ke=(0,c.useCallback)(function(e){ue(!!(0,m.iOS)()||e)},[]);return 0===de?null:(0,l.jsxs)("div",{ref:P,className:"w-full h-full lg:bg-black ".concat(k),children:[(0,l.jsx)("div",{className:"absolute top-0 inset-x-0 flex items-center justify-between p-5 z-10",children:j?(0,l.jsx)("a",{href:j,"aria-label":"Back",className:"flex items-center justify-center lg:w-14 lg:h-14 rounded-full hover:bg-neutral-charcoal-gray cursor-pointer",children:(0,l.jsx)(d.ArrowBackwardIcon,{size:"medium",color:"#ffffff",wrapperClassName:"lg:mt-1"})}):(0,l.jsx)("a",{href:"https://www.inquirer.com","aria-label":"The Philadelphia Inquirer - Go to homepage link",className:"flex items-center justify-center lg:w-14 lg:h-14 rounded-full hover:bg-neutral-charcoal-gray cursor-pointer",children:(0,l.jsx)(u.WhiteInquirerIcon,i({size:"none",wrapperClassName:"lg:mt-1"},D&&{width:"24",height:"38"}))})}),(0,l.jsx)("div",{className:"flex items-center justify-center lg:min-h-screen lg:px-6 xl:px-8",children:(0,l.jsxs)("div",{className:"flex items-center justify-center gap-2 sm:gap-4 lg:gap-2 xl:gap-4 xxl:gap-6 w-full",children:[(0,l.jsxs)("div",{className:"hidden lg:flex items-center justify-end gap-2 xl:gap-4 xxl:gap-6 lg:w-[30%]",children:[null===(r=ye(fe-2,fe))||void 0===r?void 0:r.map(function(e){var t,n,r=e.index,i=e.item;return(0,l.jsx)("button",{className:"w-32 xl:w-40 lg:flex-shrink-0 aspect-[9/16] rounded-lg overflow-hidden opacity-60 hover:opacity-100 transition-opacity cursor-pointer relative",onClick:function(){return we(r)},"aria-label":"Navigate to video ".concat(r+1),children:(null===(n=null===(t=i.promo_items)||void 0===t?void 0:t.video)||void 0===n?void 0:n._id)?(0,l.jsx)(p.VerticalPlayer,{story:i,dataEnv:S,showPromoImage:r!==fe-1,showShareButton:!1,wrapperClasses:"w-full h-full",isPlaying:!1,cardIndex:r,muted:ce,onMuteChange:ke}):null},"left-".concat(r))}),me&&(0,l.jsx)("button",{onClick:function(){return xe(-1,me)},className:"flex items-center justify-center w-7 h-7 rounded-full bg-gray-600 hover:bg-white transition-colors mt-2 cursor-pointer flex-shrink-0","aria-label":"Previous video",children:(0,l.jsx)(d.ArrowBackwardIcon,{size:"small",color:"#222222",wrapperClassName:"mt-0.5"})})]}),(0,l.jsx)("div",{className:"flex-1 flex flex-col justify-center items-center w-full h-full lg:w-[40%] relative max-w-md",children:D?(0,l.jsx)("div",{className:"w-full lg:aspect-[9/16] lg:bg-black lg:rounded-lg overflow-hidden relative lg:max-h-[calc(100vh-2rem)]",children:(null===(a=null===(o=null==ge?void 0:ge.promo_items)||void 0===o?void 0:o.video)||void 0===a?void 0:a._id)&&(0,l.jsx)("div",{className:"absolute top-0 right-0 bottom-0 left-0 w-full h-full",style:{transform:X&&!te?"left"===X?"translateX(-100%) scale(0.85)":"translateX(100%) scale(0.85)":"translateX(0) scale(1)",transition:X&&te?"transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)":"none"},children:(0,l.jsx)(p.VerticalPlayer,{story:ge,dataEnv:S,showPromoImage:!1,showShareButton:!0,correspondingStoryUrl:null===(b=null===(v=null===(s=null==ge?void 0:ge.related_content)||void 0===s?void 0:s.basic)||void 0===v?void 0:v[0])||void 0===b?void 0:b.canonical_url,buildVerticalPlayerAnalytics:_,cardIndex:fe,muted:ce,onMuteChange:ke},"desktop-powa-".concat(ge.promo_items.video._id))})}):(0,l.jsxs)("div",{ref:E,className:"w-full h-full bg-black fixed top-0 right-0 bottom-0 left-0 overflow-hidden z-1",style:{touchAction:"pan-y"},children:[(0,l.jsx)("div",{ref:L,className:"fixed top-0 right-0 bottom-0 left-0 z-50 flex flex-col items-center justify-center",style:{background:"linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%)",transition:"opacity 0.3s ease, visibility 0.3s ease",visibility:T?"visible":"hidden"},children:(0,l.jsxs)("div",{className:"flex flex-col items-center gap-3 pointer-events-none","aria-hidden":"true",children:[(0,l.jsx)(h.GestureIcon,{width:"64",height:"64",animated:!0}),(0,l.jsx)("p",{className:"font-grot10 text-white text-4.5 leading-6 font-medium text-center",children:"Swipe up to watch more"})]})}),me&&(0,l.jsx)("button",{onClick:function(){return xe(-1,me)},className:"sr-only","aria-label":"Watch previous video",children:"Watch previous"}),ve.map(function(e){var t,n,r,i,o,a,s=e.item,c=e.originalIndex,u=e.position,d=null===(n=null===(t=s.promo_items)||void 0===t?void 0:t.video)||void 0===n?void 0:n._id,f=d&&c===fe,m=0;"prev"===u?m=-100:"next"===u&&(m=100);var h=(null===(r=E.current)||void 0===r?void 0:r.clientHeight)||window.innerHeight,g=m+(G?be/h*100:0);return(0,l.jsx)("div",{className:"w-full h-full absolute top-0 right-0 bottom-0 left-0",style:{transform:"translateY(".concat(g,"%)"),transition:W?"transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)":"none"},children:d?(0,l.jsx)(p.VerticalPlayer,{story:s,dataEnv:S,showPromoImage:!f,correspondingStoryUrl:null===(a=null===(o=null===(i=null==s?void 0:s.related_content)||void 0===i?void 0:i.basic)||void 0===o?void 0:o[0])||void 0===a?void 0:a.canonical_url,isPlaying:c===fe,buildVerticalPlayerAnalytics:_,cardIndex:c,muted:ce,onMuteChange:ke},"mobile-powa-".concat(d,"-").concat(c)):null},"".concat(d||s._id,"-").concat(c))}),he&&(0,l.jsx)("button",{onClick:function(){return xe(1,he)},className:"sr-only","aria-label":"Watch more videos",children:"Watch more"})]})}),(0,l.jsxs)("div",{className:"hidden lg:flex items-center justify-start gap-2 xl:gap-4 xxl:gap-6 lg:w-[30%]",children:[he&&(0,l.jsx)("button",{onClick:function(){return xe(1,he)},className:"flex items-center justify-center w-7 h-7 rounded-full bg-gray-600 hover:bg-white transition-colors mb-2 cursor-pointer flex-shrink-0","aria-label":"Next video",children:(0,l.jsx)(f.ArrowForwardIcon,{size:"small",color:"#222222",wrapperClassName:"mt-0.5"})}),null===(y=ye(fe+1,fe+3))||void 0===y?void 0:y.map(function(e){var t,n,r=e.index,i=e.item;return(0,l.jsx)("button",{className:"w-32 xl:w-40 lg:flex-shrink-0 aspect-[9/16] rounded-lg overflow-hidden opacity-60 hover:opacity-100 transition-opacity cursor-pointer relative",onClick:function(){return we(r)},"aria-label":"Navigate to video ".concat(r+1),children:(null===(n=null===(t=i.promo_items)||void 0===t?void 0:t.video)||void 0===n?void 0:n._id)?(0,l.jsx)(p.VerticalPlayer,{story:i,dataEnv:S,showPromoImage:r!==fe+1,showShareButton:!1,wrapperClasses:"w-full h-full",isPlaying:!1,
2cardIndex:r,muted:ce,onMuteChange:ke}):null},"right-".concat(r))})]})]})})]})})},88426:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t}),l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=n(34766),u=s(n(40809)),d=n(58375),f=l(n(6815));t.default=u.default.memo(function(e){var t=e.content,n=e.autoScrollDuration,r=void 0===n?1400:n,o=e.autoScrollSpeed,a=void 0===o?5e3:o,s=e.showHeadline,l=void 0!==s&&s,p=e.pushClickEventOnCards,m=(0,u.useState)(0),h=m[0],g=m[1],v=(0,u.useState)(0),b=v[0],y=v[1],w=(0,u.useState)((0,d.checkIsDesktop)()),x=w[0],_=w[1],C=(0,u.useState)(!1),j=C[0],S=C[1],O=(0,u.useRef)(null),k=(0,u.useRef)(a),E=(0,u.useRef)(null),L=(0,u.useRef)([]),P=(0,u.useRef)(0),N=(0,u.useRef)(0),A=(0,u.useRef)(!1),I=(0,u.useRef)(null),T=(0,u.useRef)({startX:0,endX:0}),M=(0,u.useRef)({startY:0,endY:0}),R=(0,u.useRef)(!1),D=(0,u.useRef)(null),F=(0,u.useRef)(null),B=(0,u.useMemo)(function(){return t},[t]),V=B.note,H=B.articles;(0,u.useEffect)(function(){N.current=h},[h]),(0,u.useEffect)(function(){A.current=j},[j]);var q=(0,u.useMemo)(function(){var e="flex flex-col ";return"".concat(e,x?"min-h-[695px] overflow-visible mb-5":"absolute inset-0 transition-opacity ease-out duration-1000 will-change-opacity")},[x]),U=(0,u.useCallback)(function(e){if(!x)return e===h?1:0;var t=null==H?void 0:H.length,n=b%t,r=Math.floor(n),i=n-r;return e===r?i<=.5?1:1-2*(i-.5):e===(r+1)%t?i<=.5?0:2*(i-.5):0},[b,x,h,null==H?void 0:H.length]),$=(0,u.useCallback)(function(){var e=null==E?void 0:E.current;if(e&&(null==H?void 0:H.length)&&x&&j){var t=e.scrollTop,n=e.scrollHeight/(null==H?void 0:H.length);y(t/n);var r=Math.floor((t+.5*n)/n);r!==h&&r>=0&&r<H.length&&(g(r),k.current=a)}},[h,null==H?void 0:H.length,x,j,a]),z=(0,u.useCallback)(function(e,t){var n=null==E?void 0:E.current;if(n){var r=null==n?void 0:n.scrollTop,i=e-r,o=performance.now(),a=function(e){var s,l=e-o,c=Math.min(l/t,1),u=(s=c)<.5?4*s*s*s:(s-1)*(2*s-2)*(2*s-2)+1;n.scrollTop=r+i*u,c<1&&requestAnimationFrame(a)};requestAnimationFrame(a)}},[]),G=(0,u.useCallback)(function(e){var t=null==L?void 0:L.current;if(!(null==t?void 0:t.length))return 0;var n=x?20:0;return t.slice(0,e).reduce(function(e,t){return e+((null==t?void 0:t.offsetHeight)||0)+n},0)},[x]),K=(0,u.useCallback)(function(e,t){if(t.preventDefault(),t.stopPropagation(),g(e),y(e),S(function(e){return!e&&e}),x){var n=null==E?void 0:E.current;if(!n)return;var r=G(e);n.scrollTo({top:r,behavior:"instant"})}k.current=a},[x,G,a]),Y=(0,u.useCallback)(function(e,t,n){p(n),K(e,t)},[p,K]),W=(0,u.useCallback)(function(e){var t;return"touches"in e&&(null===(t=null==e?void 0:e.touches)||void 0===t?void 0:t.length)?e.touches[0]:e},[]),Z=(0,u.useCallback)(function(e){if(!x){I.current=e.target;var t=W(e),n=t.clientX,r=t.clientY;T.current.startX=n,T.current.endX=n,M.current.startY=r,M.current.endY=r}},[x,W]),J=(0,u.useCallback)(function(e){if(!x){var t=W(e),n=t.clientX,r=t.clientY,i=null==T?void 0:T.current,o=null==M?void 0:M.current,a=i.startX;0!==a&&(i.endX=n,o.endY=r,(Math.abs(a-n)>10||Math.abs((null==o?void 0:o.startY)-r)>10)&&(R.current=!0))}},[W,x]),X=(0,u.useCallback)(function(){var e,t;if(!x){var n=Date.now();if(!(n-P.current<500)){P.current=n;
2var r=null==T?void 0:T.current,i=null==M?void 0:M.current,o=r.startX,s=r.endX,l=i.startY,c=i.endY,u=Math.abs(o-s);if(Math.abs(l-c)>u)return R.current=!1,r.startX=r.endX=0,void(i.startY=i.endY=0);if((null==R?void 0:R.current)&&u>40)g(function(e){return s>o?0===e?(null==H?void 0:H.length)-1:e-1:(e+1)%(null==H?void 0:H.length)}),k.current=a,S(!1);else if(null==R?void 0:R.current)S(function(e){return!e});else{var d=I.current;(null===(e=null==d?void 0:d.closest)||void 0===e?void 0:e.call(d,"a"))||(null===(t=null==d?void 0:d.closest)||void 0===t?void 0:t.call(d,"button"))||S(function(e){return!e})}R.current=!1,r.startX=0,r.endX=0,I.current=null}}},[a,x,null==H?void 0:H.length]);return(0,u.useEffect)(function(){if(E.current){k.current=a;return O.current=setInterval(function(){if(!A.current&&(k.current-=10,k.current<=10)){var e=(N.current+1)%(null==H?void 0:H.length);if(g(e),y(e),N.current=e,x){var t=E.current;if(t){var n=G(e);0===e?t.scrollTo({top:n,behavior:"instant"}):z(n,r)}}k.current=a}},10),function(){O.current&&clearInterval(O.current)}}},[null==H?void 0:H.length,x,a,r,z,G]),(0,u.useEffect)(function(){if("undefined"!=typeof window){var e=function(){_((0,d.checkIsDesktop)()),S(function(e){return!e&&e})};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}},[]),(0,u.useEffect)(function(){var e=null==E?void 0:E.current,t=null==L?void 0:L.current;if(e&&(null==t?void 0:t.length))if(x)e.style.height="695px";else{var n=0;t.forEach(function(e){if(e){var t=e.style.position,r=e.style.inset;e.style.position="static",e.style.inset="auto";var i=null==e?void 0:e.offsetHeight;i>n&&(n=i),e.style.position=t,e.style.inset=r}}),e.style.height="".concat(n,"px")}},[x]),(0,u.useEffect)(function(){var e=null==D?void 0:D.current;if(e&&!x)return e.addEventListener("mousedown",Z),e.addEventListener("touchstart",Z,{passive:!0}),e.addEventListener("mousemove",J),e.addEventListener("touchmove",J,{passive:!1}),e.addEventListener("mouseup",X),e.addEventListener("touchend",X),function(){e&&(e.removeEventListener("mousedown",Z),e.removeEventListener("touchstart",Z),e.removeEventListener("mousemove",J),e.removeEventListener("touchmove",J),e.removeEventListener("mouseup",X),e.removeEventListener("touchend",X))}},[Z,X,J,x]),(0,u.useEffect)(function(){var e=null==F?void 0:F.current;if(e){var t=function(t){var n=t.target.closest("a");if(n&&e.contains(n)){var r=n.getAttribute("href");r&&p(r)}};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}},[p]),(0,c.jsx)("div",{ref:D,className:"w-full flex flex-col",onDragStart:function(e){return e.preventDefault()},children:(0,c.jsxs)("div",{className:"lg:grid lg:grid-cols-[63%_1fr] lg:gap-8 flex flex-col ",children:[(0,c.jsxs)("div",{className:"flex flex-col h-full",children:[(0,c.jsx)("div",{className:"relative flex-1 lg:rounded-2xl overflow-hidden aspect-[4/3] max-h-[520px] mt-4 sm:mt-10 lg:mt-6 sm:mx-6 lg:mx-0",children:null==H?void 0:H.map(function(e,t){var n,r,i,o,a,s,l,u,d,f,m=U(t);return(0,c.jsx)("a",{className:"absolute inset-0 w-full h-full will-change-opacity will-change-[ease-out] transition-opacity ease-out duration-1000 cursor-pointer",href:null==e?void 0:e.canonical_url,"data-link-type":"weekend_story_link",style:{opacity:m,pointerEvents:m>0?"auto":"none"},onClick:function(){return p(null==e?void 0:e.canonical_url)},children:(0,c.jsx)("img",{src:(null===(r=null===(n=null==e?void 0:e.promo_items)||void 0===n?void 0:n.basic)||void 0===r?void 0:r.imageWebUrl)||(null===(o=null===(i=null==e?void 0:e.promo_items)||void 0===i?void 0:i.basic)||void 0===o?void 0:o.url),srcSet:(null===(s=null===(a=null==e?void 0:e.promo_items)||void 0===a?void 0:a.basic)||void 0===s?void 0:s.image_srcset)||(null===(u=null===(l=null==e?void 0:e.promo_items)||void 0===l?void 0:l.basic)||void 0===u?void 0:u.imgSrcSet),alt:null===(f=null===(d=null==e?void 0:e.promo_items)||void 0===d?void 0:d.basic)||void 0===f?void 0:f.caption,loading:"lazy",decoding:"async",className:"w-full h-full object-cover"})},null==e?void 0:e._id)})}),(0,c.jsxs)("div",{className:"flex flex-col",children:[(0,c.jsx)("div",{className:"flex flex-row gap-2 my-3 justify-center h-4.5 items-center","aria-hidden":!0,
2children:null==H?void 0:H.map(function(e,t){return(0,c.jsx)("button",{className:"cursor-pointer bg-transparent",onClick:function(n){return Y(t,n,null==e?void 0:e.canonical_url)},"aria-label":"progress indicator ".concat(t),"data-link-type":"weekend_story_link",children:(0,c.jsx)(f.default,{size:h===t?18:24,strokeWidth:2,duration:a,isActive:h===t,shouldPause:j,resetKey:h})},t)})}),(0,c.jsx)("div",{className:"hidden lg:flex overflow-x-auto flex-shrink-0 rounded-lg justify-center lg:justify-between gap-2 lg:gap-8 my-4 sm:my-10 lg:my-0 [scrollbar-width:none] [&&::-webkit-scrollbar]:hidden",children:null==H?void 0:H.map(function(e,t){var n,r,i,o,a,s,u,d,f,p,m,g;return(0,c.jsxs)("button",{onClick:function(n){return Y(t,n,null==e?void 0:e.canonical_url)},className:"group cursor-pointer rounded-full transition-all duration-300 lg:flex-shrink-0 lg:h-[109px] lg:w-[169px] lg:rounded-lg lg:overflow-hidden lg:transition-all lg:duration-300","data-link-type":"weekend_story_link",children:[x&&(0,c.jsx)("img",{src:(null===(r=null===(n=null==e?void 0:e.promo_items)||void 0===n?void 0:n.basic)||void 0===r?void 0:r.imageWebUrl)||(null===(o=null===(i=null==e?void 0:e.promo_items)||void 0===i?void 0:i.basic)||void 0===o?void 0:o.url),srcSet:(null===(s=null===(a=null==e?void 0:e.promo_items)||void 0===a?void 0:a.basic)||void 0===s?void 0:s.image_srcset)||(null===(d=null===(u=null==e?void 0:e.promo_items)||void 0===u?void 0:u.basic)||void 0===d?void 0:d.imgSrcSet),alt:null===(p=null===(f=null==e?void 0:e.promo_items)||void 0===f?void 0:f.basic)||void 0===p?void 0:p.caption,className:"w-full h-full object-cover object-center lg:hover:shadow-lg ".concat(h===t?"scale-105":"opacity-60 group-hover:opacity-100")}),l&&(0,c.jsx)("h4",{className:"font-inquirer-headline text-5 font-semibold leading-5 absolute max-w-40 mt-1 text-left ".concat(h===t?"scale-105":"opacity-60 group-hover:opacity-100"),children:(null===(m=null==e?void 0:e.headlines)||void 0===m?void 0:m.mobile)||(null===(g=null==e?void 0:e.headlines)||void 0===g?void 0:g.basic)})]},null==e?void 0:e._id)})})]})]}),(0,c.jsx)("div",i({className:"relative [scrollbar-width:none] [&&::-webkit-scrollbar]:hidden min-w-0 mx-4 sm:mx-6 lg:mx-0 lg:mt-6 lg:h-[695px] ".concat(x||0!==h?"overflow-y-auto":"overflow-hidden"),ref:E},x&&{onScroll:function(){return $()},onMouseEnter:function(){return S(!0)},onMouseLeave:function(){return S(!1)}},{children:null==H?void 0:H.map(function(e,t){var n,r;return(0,c.jsxs)("div",i({id:null==e?void 0:e._id,ref:function(e){L.current[t]=e},className:"".concat(q).concat(h!==t?" overflow-hidden z-0":" z-10")},!x&&{style:{opacity:U(t)}},{children:[(0,c.jsx)("a",{className:"text-neutral-black hover:text-primary-blue no-underline font-inquirer-headline text-8 font-semibold leading-8 sm:leading-9 lg:leading-10 mb-4 cursor-pointer",href:null==e?void 0:e.canonical_url,"data-link-type":"weekend_story_link",onClick:function(){return p(null==e?void 0:e.canonical_url)},children:null===(n=null==e?void 0:e.headlines)||void 0===n?void 0:n.basic}),(0,c.jsx)("a",{href:null==e?void 0:e.canonical_url,"data-link-type":"weekend_story_link",onClick:function(){return p(null==e?void 0:e.canonical_url)},className:"text-neutral-black font-grot10 no-underline text-4.5 sm:text-5 font-normal leading-6 sm:leading-7 cursor-pointer",children:null===(r=null==e?void 0:e.description)||void 0===r?void 0:r.basic}),(!x||0===t)&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"spacer w-[190px] border border-solid border-black mt-4 mb-8 lg:mb-4"}),(0,c.jsx)("div",{className:"text-neutral-black font-grot10 text-4.5 sm:text-5 font-normal leading-6 sm:leading-7 [&>p>a]:text-primary-blue [&>p>a]:no-underline [&>p>a]:cursor-pointer",ref:F,dangerouslySetInnerHTML:{__html:V}})]})]}),null==e?void 0:e._id)})}))]})})})},84967:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSocialShareUrl=t.POWA_NO_PLAYER_CONTROLS_CLASS=t.THREADS=t.RESTAURANT_MAPS=t.TWITTER=t.FACEBOOK=t.INSTAGRAM=t.PODCAST=t.LIVEBLOG=t.DARK_MODE_CLASS=void 0;t.DARK_MODE_CLASS="text-white bg-primary";t.LIVEBLOG="subtype-live";t.PODCAST="subtype-podcast";t.INSTAGRAM="instagram";t.FACEBOOK="facebook";t.TWITTER="twitter";t.THREADS="threads";t.RESTAURANT_MAPS="restaurant-maps";
2t.POWA_NO_PLAYER_CONTROLS_CLASS="powa-no-player-controls";var n="https://www.facebook.com/sharer/sharer.php",r="https://twitter.com/intent/tweet",i="mailto:?subject=",o="https://bsky.app/intent/compose",a="https://www.threads.com/intent/post",s="https://api.whatsapp.com/send";t.getSocialShareUrl=function(e,t){var l=t.subject,c=void 0===l?"":l,u=t.text,d=void 0===u?"":u;switch(e){case"facebook":return"".concat(n,"?u=").concat(d);case"twitter":return"".concat(r,"?via=phillyinquirer&text=").concat(d);case"email":return"".concat(i,"?subject=").concat(c,"&body=").concat(d);case"bluesky":return"".concat(o,"?text=").concat(d);case"threads":return"".concat(a,"?text=").concat(d);case"whatsapp":return"".concat(s,"?text=").concat(d);default:return""}}},58375: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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},o=this;Object.defineProperty(t,"__esModule",{value:!0}),t.isVideoLoopAndAutoplay=t.buildScriptTag=t.snakeCase=t.checkIsDesktop=t.checkIsMobile=t.buildComma=t.keyBy=t.getAuthorName=t.isSpecialCard=t.isActionNetworkCard=t.isWhereToEatCard=t.isEditorialCard=t.isPhillyFirstCard=t.isColumnistCard=t.isOpinionCard=t.hasTag=t.checkSection=t.iPad=t.iOS=t.formatGameTime=t.getTime=t.getFusionEnv=t.groupBy=t.debounce=t.isEmpty=t.isVideoCard=void 0,t.sortBy=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=0===t.length?[s]:t;return i([],e,!0).sort(function(e,t){for(var n=0,i=r;n<i.length;n++){var o=i[n],a=o(e),s=o(t);if(a>s)return 1;if(a<s)return-1}return 0})},t.addDeployedVersionToUrl=l,t.loadScript=function(e,t,n){if("undefined"==typeof window)return;"/pf/"===e.substring(0,4)&&(e=l(e));if(!document.querySelector('script[src="'+e+'"]')){var r=document.createElement("script");r.src=e,t.length>0&&t.forEach(function(e){r.setAttribute(e.name,e.value)}),r.onload=n,document.body.appendChild(r)}};var a=n(84967);t.isVideoCard=function(e){var t,n;return!(!(null===(t=null==e?void 0:e.youtube)||void 0===t?void 0:t.content)&&!(null===(n=null==e?void 0:e.video)||void 0===n?void 0:n._id))};t.isEmpty=function(e){return null==e||Array.isArray(e)&&!e.length||"object"==typeof e&&0===Object.keys(e).length||"string"==typeof e&&0===e.trim().length};var s=function(e){return e};t.debounce=function(e,t){var n;return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];clearTimeout(n),n=setTimeout(function(){return e.apply(o,r)},t)}};function l(e){if("undefined"==typeof window||!window.Fusion)return e;var t=e.indexOf("?")>-1;return"".concat(e).concat(t?"&":"?","d=").concat(window.Fusion.deployment)}t.groupBy=function(e,t){return e.reduce(function(e,n){var r="function"==typeof t?t(n):n[t];return e.hasOwnProperty(r)||(e[r]=[]),e[r].push(n),e},{})};t.getFusionEnv=function(){var e;return"undefined"!=typeof window&&((null===(e=window.FUSION_ENV_VARS)||void 0===e?void 0:e.env)||"sandbox")};t.getTime=function(e){if(!e)return null;var t=e/1e3,n=Math.floor(t/3600),r=Math.floor(t/60)-60*n,i=Math.floor(t%60);return(n?n+":":"")+(n&&r<10?"0"+r+":":r+":")+(i<10?"0"+i:i)};t.formatGameTime=function(e,t){var n=void 0!==e?e.toString():"0",r="00";if(void 0!==t){var i="string"==typeof t?parseInt(t,10):t;r="".concat(i<10?"0":"").concat(i)}return 0===t&&0===e?"END":"".concat(n,":").concat(r)};t.iOS=function(){return!!navigator.userAgent.match(/iPhone|iPad|iPod/i)};t.iPad=function(){return!!navigator.userAgent.match(/iPad/i)};t.checkSection=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.map(function(e){return e._id}).filter(function(e){return e}).some(function(e){return t.some(function(t){return(e||"").includes(t)})})};t.hasTag=function(e,t){return e.filter(function(e){return((null==e?void 0:e.slug)||"").toLowerCase()===t}).length>0};t.isOpinionCard=function(e){return(0,t.checkSection)(e,"/opinion","/opinion/cartoons","/opinion/commentary","/opinion/editorials","/opinion/letters","/health/expert-opinions","/columnists","/columnists/attytood","/entertainment/columnists","/news/columnists","/sports/columnists","/expert-opinions")};t.isColumnistCard=function(e){return(0,t.checkSection)(e,"/columnists")};t.isPhillyFirstCard=function(e,n){return(0,t.checkSection)(e,"/philly-first")&&"subtype-phillyfirst"===n};t.isEditorialCard=function(e){return(0,t.checkSection)(e,"/editorials")};t.isWhereToEatCard=function(e){return e.some(function(e){var t;return(null===(t=null==e?void 0:e.slug)||void 0===t?void 0:t.toLowerCase())===a.RESTAURANT_MAPS})};t.isActionNetworkCard=function(e){return(0,t.checkSection)(e,"/sports/betting")||(0,t.checkSection)(e,"/casino")};t.isSpecialCard=function(e,n){return(0,t.isOpinionCard)(e)||(0,t.isColumnistCard)(e)||(0,t.isEditorialCard)(e)||(0,t.isWhereToEatCard)(n||[])};t.getAuthorName=function(e){var t,n;return(null===(n=null===(t=null==e?void 0:e.additional_properties)||void 0===t?void 0:t.original)||void 0===n?void 0:n.byline)||(null==e?void 0:e.byline)||(null==e?void 0:e.name)||""};t.keyBy=function(e,t){return(null==e?void 0:e.length)&&e.reduce(function(e,n){var i;return r(r({},e),((i={})[n[t]]=n,i))},{})};t.buildComma=function(e,t){return e==t-1?t<3?" and ":", and ":", "};t.checkIsMobile=function(){return"undefined"!=typeof window&&window.innerWidth<480};t.checkIsDesktop=function(){return"undefined"!=typeof window&&(null===window||void 0===window?void 0:window.innerWidth)>1023};t.snakeCase=function(e){return e.replace(/\W+/g," ").split(/ |\B(?=[A-Z])/).map(function(e){return e.toLowerCase()}).join("_")};t.buildScriptTag=function(e){var t=document.createElement("script");return t.src=e,t.async=!0,t};t.isVideoLoopAndAutoplay=function(e){var t,n,r,i,o,a=null!==(n=null===(t=null==e?void 0:e.additional_properties)||void 0===t?void 0:t.classification)&&void 0!==n?n:null===(o=null===(i=null===(r=null==e?void 0:e.promo_items)||void 0===r?void 0:r.video)||void 0===i?void 0:i.additional_properties)||void 0===o?void 0:o.classification;return"on"===(null==a?void 0:a.toLowerCase())}},83732:function(e,t){"use strict";var n,r,i,o,a;
2Object.defineProperty(t,"__esModule",{value:!0}),t.Video=t.GameStatus=t.StackedHeadLinePanelName=t.HeadlineFontSize=t.RelatedStoriesVersion=t.ThemeColor=void 0,function(e){e.Green="#21d278",e.Orange="#ff641e",e.Blue="#1a6aff",e.White="#ffffff",e.Yellow="#fffaef",e.Gray="#dcdcdc"}(n||(t.ThemeColor=n={})),function(e){e[e.Version1=1]="Version1",e[e.Version2=2]="Version2"}(r||(t.RelatedStoriesVersion=r={})),function(e){e.smallest="text-lg",e.small="text-xl",e.base="text-2.5xl",e.big="text-3.5xl",e.biggest="text-5xl"}(i||(t.HeadlineFontSize=i={})),function(e){e.OursPicks="latest_headline_our_picks",e.Trending="latest_headline_trending",e.LatestHeadline="latest_headline_latest_headline"}(o||(t.StackedHeadLinePanelName=o={})),function(e){e[e.PreGame=1]="PreGame",e[e.InProgress=2]="InProgress",e[e.Final=4]="Final",e[e.Postponed=5]="Postponed",e[e.Canceled=9]="Canceled",e[e.Delayed=23]="Delayed",e[e.Suspended=6]="Suspended",e[e.VacatedByBothTeams=13]="VacatedByBothTeams"}(a||(t.GameStatus=a={}));var s=function(){};t.Video=s},69991:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),i=0;i<n.length;i++)"default"!==n[i]&&o(t,e,n[i]);return a(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});var l=n(34766),c=s(n(40809));t.default=c.default.memo(function(e){var t=e.elementType,n=e.elementKey,r=e.additionalProps,o=e.children;return t?c.default.createElement(t,i(i({},r),n?{key:n}:{}),o):(0,l.jsx)(c.Fragment,{children:o},n)})},18707:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVersion2=void 0,t.VersionWrapper=function(e,n,r){if((0,t.isVersion2)()&&r)return r.displayName="".concat(e,"Version2"),r;return n.displayName="".concat(e,"Version1"),n};t.isVersion2=function(){var e;return"undefined"!=typeof window&&"2"===(null===(e=new URLSearchParams(location.search).get("version"))||void 0===e?void 0:e.toLowerCase())}},25763:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(18707),t)},82296:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){void 0===e&&(e="");var t=["inquirer.com","philly.com"].some(function(e){return window.location.host.includes(e)}),n=t?"domain="+window.location.host.split(".").slice(-2).join(".")+";":"";return"pmn-id-token-cookie"===e&&(n=""),n};t.setCookie=function(e,t){if(void 0===e&&(e=""),void 0===t&&(t=";"),e.length>0){t=t.toString()+";";document.cookie=e.toString()+"="+t+"path=/;"+n(e)+"max-age=2628000;"}},t.clearCookie=function(e){document.cookie=e+"=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;"+n(e)},t.readCookie=function(e){var t=document.cookie.split(";").find(function(t){return t.trim().substring(0,e.length)===e});return t?t.trim().substring(e.length+1):null}},9200:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(95301);t.getEndpoint=function(e){var t=e.url,n=e.data,i=e.query,o=e.method,a=void 0===o?"GET":o,s=e.apiKey,l=void 0===s?"":s,c=e.token,u=void 0===c?"":c;return new Promise(function(e,o){var s,c=new XMLHttpRequest,d=i?"?"+(s=i,Object.keys(s).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(s[e])}).join("&")):"";c.open(a,""+t+d),"POST"!==a&&"PATCH"!==a||(c.setRequestHeader("Content-type","application/json"),c.setRequestHeader("Accept","application/json")),r.isEmpty(l)||c.setRequestHeader("apikey",l),r.isEmpty(u)||c.setRequestHeader("Authorization",u),c.onload=function(){c.readyState===XMLHttpRequest.DONE&&200===c.status?e(JSON.parse(c.responseText)):o(new Error(c.responseText))},c.onerror=function(){return o(c.statusText)},c.send(JSON.stringify(n))})}},95301:function(e,t,n){"use strict";var r=n(19974).hp,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},l=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=c(n(6897)),d=c(n(20852)),f=c(n(91219)),p=c(n(40849)),m=c(n(1894)),h=n(93493),g=n(9200),v=n(82296),b=n(8497),y=n(41294),w=n(21061);function x(e,t){if(void 0===t&&(t="PMN_p3pp3r-#215"),null==e)throw new Error("Cannot encrypt empty data set");var n;n="object"==typeof e?JSON.stringify([e]):e;var r=u.default.encrypt(n,t);return encodeURIComponent(r)}function _(){return{auth_id:null,uid:null,displayName:null,email:null,timestamp:null,state:"Logged Out",mg2Id:null,registrationDate:null,subscriptionStartDate:null,subscriptionExpirationDate:null,registrationSource:null,paperCode:null,householdLevel:null,uuid:null}}function C(e){var t=Object.assign({},e);return t.hasOwnProperty("auth0Id")&&(t.auth_id=t.auth0Id,delete t.auth0Id),t}function j(){var e=v.readCookie("pmn-cookie");if(e&&e.length>0){var t=decodeURIComponent(e),n=u.default.decrypt(t,"PMN_p3pp3r-#215");return JSON.parse(n.toString(d.default))[0]}
2var r={auth_id:null,uid:null,displayName:null,email:null,timestamp:null,state:"Logged Out",mg2Id:null,registrationDate:null,subscriptionStartDate:null,subscriptionExpirationDate:null,registrationSource:null,paperCode:null,householdLevel:null,uuid:null};return v.setCookie("pmn-cookie",x(r)),r}function S(e){try{var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(n)}catch(e){return console.log("Cannot decode the appToken"),!1}}function O(){return v.readCookie("pmn-cookie")?new Promise(function(e,t){var n,r,i;fetch("https://"+("prod"===(null===(i=null===(r=null===(n=window)||void 0===n?void 0:n.Fusion)||void 0===r?void 0:r.environment)||void 0===i?void 0:i.ENV)?"apigw.inquirer.com":"dev-apigw.philly.com")+"/cookies/inq-cookie?showResult=true",{method:"GET",credentials:"include"}).then(function(e){return e.ok||t(new Error("HTTP error! Status: "+e.status)),e.json()}).then(function(t){e(t)}).catch(function(e){console.error("Error fetching cookie with credentials:",e),t(e)})}):Promise.resolve(null)}function k(e,t){void 0===t&&(t=0);var n=e.idToken,r=s(e,["idToken"]),o=x(i(i({},r),{idToken:""})),a=x({displayName:r.displayName,email:r.email,uid:r.uid}),l=x({idToken:n});return v.setCookie("pmn-cookie",o),v.setCookie("vCookie",a),v.setCookie("pmn-id-token-cookie",l),v.setCookie("user_data",o),window.vf&&0!==window.vf.length&&window.vf.session&&setTimeout(function(){window.vf.session.login.cookie(v.readCookie("vCookie"))},t),O().catch(function(e){console.error("Error sending cookie to ARC:",e)})}function E(e){if(!e)return!1;var t=e.split("@")[1];return["philly.com","phillynews.com","inquirer.com","test.com","example.com","enclave.vn","yopmail.com"].indexOf(t)>-1}function L(e){var t,n,r,o=null===(n=null===(t=e)||void 0===t?void 0:t.email)||void 0===n?void 0:n.trim(),a=i(i({},e),o&&{id_token:f.default(o).toString()});if(a.state&&!(null===(r=window.pmnAdmin)||void 0===r?void 0:r.disableAnalytics)){a.isInternal=E(a.email),delete a.email,delete a.displayName,delete a.timestamp,delete a.idToken,delete a.masterId,delete a.name,delete a.uid,delete a.uuid,-1===document.URL.indexOf("/checkout")&&-1===document.URL.indexOf("/subscribe")||delete a.state;var s=C(a);window.PMNdataLayer=window.PMNdataLayer||[],window.PMNdataLayer[0]=window.PMNdataLayer[0]||{analytics:{}},window.PMNdataLayer[0].analytics&&(window.PMNdataLayer[0].analytics.user=s),window.PMNdataLayer.push({analytics:{user:s}})}}function P(e,t){var n,r,i;return((null===(n=e)||void 0===n?void 0:n.nickname)||(null===(r=e)||void 0===r?void 0:r.name)||t||(null===(i=e)||void 0===i?void 0:i.email)||"").split("@")[0]}function N(e){return void 0===e||null==e||e.length<=0}function A(e,t){return"MG2"===e?"prod"===t?"https://myaccount.inquirer.com/":"https://test-myaccount.inquirer.com/":"prod"===t?"https://account.inquirer.com/":"https://qa-inquirer.cs19.force.com/subscribers/s/"}function I(e,t,n){void 0===e&&(e="My account");var r=l(document.querySelectorAll(".my-account-btn")),i=l(document.querySelectorAll(".manage-acc-btn button"),document.querySelectorAll("button.manage-acc-btn"),document.querySelectorAll('button[aria-label="Manage account"]')),o=Array.from(new Set(i)),a=l(document.querySelectorAll(".subscribe-btn")),s=l(document.querySelectorAll(".subscribe-widget")),c=l(document.querySelectorAll(".auth0-log-in")),u=j();a.forEach(function(e){return e.classList.add("hidden")}),s.forEach(function(e){return e.classList.add("hidden")}),c.forEach(function(e){return e.classList.add("hidden")}),r.forEach(function(t){t.innerText=e,t.classList.remove("hidden")});var d=A(t,n);o.forEach(function(e){var t=e.closest("form");if(t)t.action=d;else if("BUTTON"===e.tagName){var n=document.createElement("form");n.action=d,n.method="GET",n.style.display="contents";var r=e.parentNode;r&&(r.insertBefore(n,e),n.appendChild(e),"button"===e.type&&(e.type="submit"))}}),function(e,t){var n=l(document.querySelectorAll(".inquirer-img-link")),r=l(document.querySelectorAll(".daily-img-link")),i=l(document.querySelectorAll(".inquirer-digital-edition")),o=l(document.querySelectorAll(".daily-digital-edition")),a=l(document.querySelectorAll(".inquirer-subscribe")),s=l(document.querySelectorAll(".daily-subscribe")),c=l(document.querySelectorAll(".inquirer-subscriber-services")),u=l(document.querySelectorAll(".daily-subscriber-services")),d=h.gatewayConfigs[t]+"/eedition/replica?mid="+encodeURIComponent(e),f=h.gatewayConfigs[t]+"/eedition/replica?edition=DailyNews&mid="+encodeURIComponent(e);
2n.forEach(function(e){e.href=d,e.id=""}),r.forEach(function(e){e.href=f,e.id=""}),i.forEach(function(e){e.classList.remove("hidden"),e.href=d}),o.forEach(function(e){e.classList.remove("hidden"),e.href=f}),a.forEach(function(e){return e.classList.add("hidden")}),s.forEach(function(e){return e.classList.add("hidden")}),c.forEach(function(e){return e.classList.remove("hidden")}),u.forEach(function(e){return e.classList.remove("hidden")})}(u.auth0Id,n)}function T(e){void 0===e&&(e="My account");var t=l(document.querySelectorAll(".my-account-btn")),n=l(document.querySelectorAll(".auth0-log-in")),r=l(document.querySelectorAll(".manage-account-btn"));n.forEach(function(e){return e.classList.add("hidden")}),t.forEach(function(t){t.innerText=e,t.classList.remove("hidden")}),r.forEach(function(e){return e.classList.add("hidden")}),document.querySelector("div.global-newsletter-sign-up.only-mobile")&&document.querySelector("div.global-newsletter-sign-up.only-mobile").classList.add("hidden"),document.querySelector("div.subscribe-widget.only-mobile")&&document.querySelector("div.subscribe-widget.only-mobile").classList.add("hidden")}function M(e,t){var n,r,o,a,l,c,u,d,f,p,m,h,g,b,y,w,_,C,j,S,k,E,L,P,N,A,I,T,M,R,D,F;if(e.timestamp=new Date,t){t.isSubscriber?e.state="Subscribed":e.state="Logged In",e.isVerified=t.isVerified,e.biller=t.biller,"Subscribed"!==e.state&&"Logged In"!==e.state||(e.sf_sub_expire=(null===(r=null===(n=t)||void 0===n?void 0:n.sf)||void 0===r?void 0:r.sf_expiredOn)||null,e.sf_subscription_id=(null===(a=null===(o=t)||void 0===o?void 0:o.sf)||void 0===a?void 0:a.sf_subscriptionId)||null,e.sf_subscription_name=(null===(c=null===(l=t)||void 0===l?void 0:l.sf)||void 0===c?void 0:c.sf_subscriptionName)||null,e.sf_contact_id=(null===(d=null===(u=t)||void 0===u?void 0:u.sf)||void 0===d?void 0:d.sf_contactId)||null,e.sf_subscriber_status=(null===(p=null===(f=t)||void 0===f?void 0:f.sf)||void 0===p?void 0:p.sf_subscriberStatus)||null,e.sf_subscription_start=(null===(h=null===(m=t)||void 0===m?void 0:m.sf)||void 0===h?void 0:h.sf_subscriptionStart)||null,e.sf_offer_product_name_c=(null===(b=null===(g=t)||void 0===g?void 0:g.sf)||void 0===b?void 0:b.sf_offerProductName)||null,e.sf_offer=(null===(w=null===(y=t)||void 0===y?void 0:y.sf)||void 0===w?void 0:w.sf_offer)||null,e.sf_product_code=(null===(C=null===(_=t)||void 0===_?void 0:_.sf)||void 0===C?void 0:C.sf_offerProductAbbreviation)||null,e.hasUnlimitedAccessToEEdition=(null===(S=null===(j=t)||void 0===j?void 0:j.userPermissions)||void 0===S?void 0:S.hasUnlimitedAccessToEEdition)||0,e.hasUnlimitedAccessToInquirerApp=(null===(E=null===(k=t)||void 0===k?void 0:k.userPermissions)||void 0===E?void 0:E.hasUnlimitedAccessToInquirerApp)||0,e.hasUnlimitedArticleGifting=(null===(P=null===(L=t)||void 0===L?void 0:L.userPermissions)||void 0===P?void 0:P.hasUnlimitedArticleGifting)||0,e.totalArticleSharing=(null===(A=null===(N=t)||void 0===N?void 0:N.userPermissions)||void 0===A?void 0:A.totalArticleSharing)||0,e.totalSubscriptionSharing=(null===(T=null===(I=t)||void 0===I?void 0:I.userPermissions)||void 0===T?void 0:T.totalSubscriptionSharing)||0,e.hasAdsFreeReading=(null===(R=null===(M=t)||void 0===M?void 0:M.userPermissions)||void 0===R?void 0:R.hasAdsFreeReading)||0,e.hasUnlimitedAccessToInquirerWeb=(null===(F=null===(D=t)||void 0===D?void 0:D.userPermissions)||void 0===F?void 0:F.hasUnlimitedAccessToInquirerWeb)||0);var B=e.idToken,V=s(e,["idToken"]);v.setCookie("pmn-cookie",x(i(i({},V),{idToken:""}))),B&&v.setCookie("pmn-id-token-cookie",x({idToken:B})),v.setCookie("user_data",x(V))}return O().then(function(t){return e}).catch(function(t){return console.error("Error sending cookie to ARC:",t),e})}function R(e,t){if(!e||!e.auth0Id)return Promise.resolve({});var n=h.gatewayConfigs[t]+"/auth/subscriber";return g.getEndpoint({url:n,query:{auth0Id:e.auth0Id}}).then(function(t){return M(e,t)},function(){return M(e,!1)})}function D(e,t,n){var r=h.gatewayConfigs[t]+"/auth/auth0/link-user";return g.getEndpoint({url:r,data:{email:e.email},query:"",method:"POST"}).then(function(e){void 0!==n&&n(e)}).catch(function(e){var t="linkAccounts failed";try{e&&(t=JSON.stringify(e))}catch(e){}window.PMNdataLayer.push({event:"user-login",login_attempt:"fail",login_error_code:t}),void 0!==n&&n(null)})}function F(e){var t,n,r=(null===(n=null===(t=window.PMNdataLayer[0])||void 0===t?void 0:t.analytics)||void 0===n?void 0:n.primarysegment)||"";window.tp=window.tp||[],window.tp.push(["setCustomVariable","channel",r]),window.tp.push(["setCustomVariable","userState",e.state]),window.tp.push(["setCustomVariable","userEmail",N(e.email)?"":e.email]),window.tp.push(["setCustomVariable","isVerified",e.isVerified]);var i=[];if(Array.isArray(window.tp)&&"function"==typeof window.tp.find){var o=window.tp.find(function(e){return e&&Array.isArray(e)&&"setTags"===e[0]});Array.isArray(o)&&o.length>1&&Array.isArray(o[1])&&(i=o[1])}var a=l([e.state],i.filter(function(t){return t&&t!==e.state}));window.tp.push(["setTags",a])}function B(e){if(!e)return"unknown";var t="string"==typeof e?e||null:e.auth0Id||e.sub||null;if(!t)return"email";if(t.toLowerCase().includes("idme"))return"idme";switch(t.split("|")[0]){case"google-oauth2":return"google_account";case"apple":return"apple_id";default:return"email"}}t.encryptData=x,t.getNullUser=_,t.getDecryptedUser=j,t.verifyUserWithAuth0=function(e,t){var n,r,i,s,l,c,u,d;return o(this,void 0,void 0,function(){var o,f,p,m,h,g,v,b,x;return a(this,function(a){switch(a.label){case 0:if(!e)return[2,{isAuthenticated:!1,user:null,idToken:null,authState:"UNKNOWN_ERROR"}];a.label=1;case 1:return a.trys.push([1,11,,12]),o=j(),[4,w.ensureValid(e,{ddlogger:t,auth0Id:null===(n=o)||void 0===n?void 0:n.auth0Id,userState:null===(r=o)||void 0===r?void 0:r.state})];case 2:return"expired"===a.sent()?[2,{isAuthenticated:!1,user:null,idToken:null,authState:"SESSION_EXPIRED"}]:(f=!o||"Logged Out"===o.state,[4,Promise.all([f?e.getUser():Promise.resolve(null),e.getIdTokenClaims()])]);case 3:if(p=a.sent(),m=p[0],h=p[1])return[3,10];a.label=4;case 4:return a.trys.push([4,8,,9]),w.resetCache(),[4,w.ensureValid(e,{auth0Id:null===(i=o)||void 0===i?void 0:i.auth0Id,userState:null===(s=o)||void 0===s?void 0:s.state})];case 5:return"valid"!==a.sent()?[3,7]:[4,e.getIdTokenClaims()];case 6:if(g=a.sent())return[2,{isAuthenticated:!0,user:m,idToken:g,authState:"AUTH_VALID"}];a.label=7;case 7:return[3,9];case 8:return a.sent(),[3,9];case 9:return t&&y.isLoggedInState(null===(l=o)||void 0===l?void 0:l.state)&&t.log({message:"No ID token after silent refresh",event:"auth0.verify_user.error",authState:"LOGIN_REQUIRED",auth0Id:null===(c=o)||void 0===c?void 0:c.auth0Id}),[2,{isAuthenticated:!1,user:null,idToken:null,authState:"LOGIN_REQUIRED"}];case 10:return[2,{isAuthenticated:!0,user:m,idToken:h,authState:"AUTH_VALID"}];case 11:return v=a.sent(),b=y.classifyAuth0Error(v),x=j(),t&&y.isLoggedInState(null===(u=x)||void 0===u?void 0:u.state)&&t.log(y.buildAuthErrorLog(v,b,null===(d=x)||void 0===d?void 0:d.auth0Id)),[2,{isAuthenticated:!1,user:null,idToken:null,authState:b}];case 12:return[2]}})})},t.decodeJWT=S,t.sendCookieToARC=O,t.setPMNAndViafouraCookies=k,t.clearUser=function(e){void 0===e&&(e=!1),e||w.resetCache(),["pmn-cookie","vCookie","pmn-id-token-cookie","user_data","euh8sp95p6","5pWb7jU8Am"].forEach(function(e){v.clearCookie(e);try{localStorage.removeItem(e)}catch(e){console.log("Local storage not accessible",e)}}),window.vf&&window.vf.session&&window.vf.session.logout()},t.backupAndRestoreCookiesFromLocalStorage=function(){var e;try{["pmn-cookie","vCookie","user_data","__tbc","_ga"].forEach(function(t){var n=v.readCookie(t);if(n)localStorage.setItem(t,n);else{var r=localStorage.getItem(t);if(r){v.setCookie(t,r),e=e||j().auth0Id;var i=j();window.PMNdataLayer.push({analytics:C(i)}),window.PMNdataLayer.push({event:"cookie-deleted","cookie-key":t,"cookie-value":r,auth_id:e})}}})}catch(e){console.log("Local storage not accessible",e)}},t.isInternal=E,t.isLoggedOutUserAlreadyInDataLayer=function(){return window.PMNdataLayer=window.PMNdataLayer||[],window.PMNdataLayer.some(function(e){var t,n,r=null===(n=null===(t=e)||void 0===t?void 0:t.analytics)||void 0===n?void 0:n.user;return r&&(!r.state||"Logged Out"===r.state)})},t.addUserToDataLayer=L,t.addUserToDataLayerIfNotSpecialPage=function(e){b.isSpecialPage()||L(e)},t.getDisplayNameFromProfile=P,t.isEmpty=N,t.displaySubscribedUX=I,t.displayLoggedInUX=T,t.displayLoggedOutUX=function(){var e=l(document.querySelectorAll(".my-account-btn")),t=l(document.querySelectorAll(".auth0-log-in")),n=l(document.querySelectorAll(".subscribe-btn"));e.forEach(function(e){return e.classList.add("hidden")}),t.forEach(function(e){return e.classList.remove("hidden")}
2),n.forEach(function(e){return e.classList.remove("hidden")}),document.querySelector("#profile-username-access")&&(document.querySelector("#email-read-only").classList.add("hidden"),document.querySelector("#username-read-only").classList.add("hidden"),document.querySelector("#profile-username-access").classList.remove("hidden")),document.querySelector("div.global-newsletter-sign-up.only-mobile")&&document.querySelector("div.global-newsletter-sign-up.only-mobile").classList.remove("hidden"),document.querySelector("div.global-newsletter-sign-up.only-mobile")&&document.querySelector("div.subscribe-widget.only-mobile").classList.remove("hidden")},t.callSubscriptionAPI=R,t.linkAccounts=D,t.setUserFlags=F,t.initializePiano=function(){var e;(window._matherq=window._matherq||[]).push(["getTracker",function(t){t.setPaywall("piano"),t.getUserDBSegment({},function(t){var n=setTimeout(function(){e||(e=!0,n&&clearTimeout(n),window.tp.push(["init",function(){window.tp.experience.init()}]))},3e3)})}])},t.getLoginMethod=B,t.normalizeLoginMethod=function(e,t){if(t.includes("google_one_tap"))return"google_one_tap";if(e.includes("regional_"))return e;var n=t.includes("idme")?"idme":t.includes("google")?"google":t.includes("apple")?"apple":(t.includes("auth0"),"email");return(e.includes("viafoura")?"commenting":e.includes("piano")?"piano":e.includes("checkout")?"checkout":"login_button")+"_"+n};var V="[LS-login-analytics]";function H(){return"undefined"!=typeof window&&(!!window.google_tag_manager||(window.PMNdataLayer||[]).some(function(e){return e&&("gtm.js"===e.event||"gtm.load"===e.event||"gtm.dom"===e.event)}))}function q(e,t){!function(e,t){if(void 0===t&&(t=3e3),H())e();else var n=0,r=setInterval(function(){n+=50,(H()||n>=t)&&(clearInterval(r),e())},50)}(function(){window.PMNdataLayer=window.PMNdataLayer||[];var n=!1,r=function(){n||(n=!0,t())};window.PMNdataLayer.push(i(i({},e),{eventCallback:r,eventTimeout:2e3})),setTimeout(r,2500)})}function U(e,t,n){var r={};try{var o=S(e.replace(/^Bearer\s+/i,""));o&&o.user_metadata&&(r=o.user_metadata)}catch(e){console.error("Error decoding JWT:",e)}var a={user_metadata:i(i({},r),{inquirer:{source:n}})};return g.getEndpoint({url:h.gatewayConfigs[t]+"/auth/auth0/auth-update-user",data:a,query:"",method:"PATCH",token:e}).then(function(e){return e}).catch(function(e){var t="updateUserData failed";try{e&&(t=JSON.stringify(e))}catch(e){}return window.PMNdataLayer.push({event:"user-login",login_attempt:"fail",login_error_code:t}),console.log("Update failed",e),null})}function $(e,n,r,o,a,s,l,c,u,d,p){var m=function(e,t){var n={timestamp:new Date,uuid:t&&t.uuid};if(e){n.registrationDate=e.createdAt||e.created_at,n.auth0Id=e.userId||e.user_id||e.sub,n.uid=e.userId||e.user_id||e.sub,n.displayName=P(e),n.name=e.name||"",n.email=e.email;var r=(e.userId||e.user_id||e.sub||"").includes("idme");n.isVerified=e.emailVerified||e.email_verified||r&&e.verified||!1,n.isInternal=E(e.email),n.idToken=e.idToken}return n}(e,r),g=!0!==a?function(e,n,r,o,a,s){var l=sessionStorage.getItem("loginMethod")||B(e),c=sessionStorage.getItem("source")||sessionStorage.getItem("registrationSource")||"login_button",u=t.normalizeLoginMethod(c,l);return sessionStorage.removeItem("source"),sessionStorage.removeItem("loginMethod"),n?i(i(i(i(i({event:"account_registration",login_method:u,auth_id:e.auth0Id},r&&{source:"commenting"}),o&&{source:c.split("--")[0]}),a&&{source:"login_button"}),s&&{source:"google_one_tap"}),{login_attempt:"success"}):{event:"user-login",login_status:"log-in",login_method:u,auth_id:e.auth0Id,login_attempt:"success"}}(m,o,s,l,c,u):null;console.info(V+" handleDisplay",{willTrack:!!g,event:g&&g.event,path:"undefined"!=typeof window?window.location.pathname:""});var v=!g,y=!1,w=null,x=function(){v&&y&&w&&w()};g?q(g,function(){v=!0,x()}):console.info(V+" skip success event (isNoTrackEvent)"),T(m.email),k(m),R(m,n).then(function(e){L(e),F(e),function(e,t){var n,r,i,o;if("undefined"!=typeof window&&window.permutive&&"function"==typeof window.permutive.identify)try{window.permutive.identify([{tag:"email_sha256",id:f.default((null===(n=e)||void 0===n?void 0:n.email)||"").toString(),priority:0},{tag:"auth0Id",id:(null===(r=e)||void 0===r?void 0:r.auth0Id)||"",priority:1},{tag:"sf_contact_id",id:(null===(i=e)||void 0===i?void 0:i.sf_contact_id)||"",priority:1},{tag:"uuid",id:(null===(o=e)||void 0===o?void 0:o.uuid)||"",priority:2}]),t()}catch(e){t()}else t()}(e,function(){"Subscribed"===e.state&&I(e.email,e.biller,n),w=function(){if(p){if(p.includes("replica")){var t=b.getQueryParam(p,"returnurl");if(t)return void(window.location.href=t)}if("true"===sessionStorage.getItem("onCheckoutLoginClick")&&"Subscribed"===e.state){var r=A(m.biller,n);window.location.href=r,sessionStorage.removeItem("onCheckoutLoginClick")}else window.location.href=p}else if(-1!==document.URL.indexOf("/subscribe")){var i=sessionStorage.getItem("queryParams")||"";window.history.pushState({},"",""+window.location.origin+window.location.pathname+i+("#loaded"===window.location.hash?"":"#loaded")),window.location.reload()}else!0!==d&&function(e){var t=j();"Subscribed"!==t.state&&"Logged In"!==t.state||(window.isReplicaLogin&&"Subscribed"===t.state?window.isDaily?window.location.href=h.gatewayConfigs[e]+"/eedition/replica?edition=DailyNews&mid="+encodeURIComponent(t.auth0Id):window.location.href=h.gatewayConfigs[e]+"/eedition/replica?mid="+encodeURIComponent(t.auth0Id):document.getElementById("templateNotAddLoaded")?location.reload():-1===document.URL.indexOf("#loaded")&&("/#"===document.URL.substr(document.URL.length-2)?location.href+="loaded":location.href+="#loaded",location.reload()))}(n)},y=!0,x()})}).catch(function(e){var t="callSubscriptionAPI failed";try{e&&(t=JSON.stringify(e))}catch(e){}window.PMNdataLayer.push({event:"user-login",login_attempt:"fail",login_error_code:t})})}t.pushLoginSuccessThen=q,t.onPaywallShown=function(){for(var e=document.querySelectorAll(".pb-f-article-comments"),t=0;t<e.length;t++)e[t].classList.add("hidden"),e[t].remove()}
2,t.showLoaderBackground=function(){var e=document.createElement("div");e.id="lock-loader-background",document.body.appendChild(e),setTimeout(function(){e.style.opacity=.5},0);var t=document.createElement("spinner");t.setAttribute("class","spinner"),setTimeout(function(){return e.appendChild(t)},300)},t.removeLoaderBackground=function(){var e=document.getElementById("lock-loader-background");e&&document.body.removeChild(e)},t.isCrawler=function(){var e=window.navigator.userAgent;return["facebookexternalhit/1.1"].some(function(t){return e.indexOf(t)>-1})},t.chompQueryParam=function(e){var t=function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return t&&t[1]||""}(e);if(t){var n=function(e){return window.location.search.indexOf(e)>-1},r=e+"="+t,i=window.location.search+"",o="";return n("?"+r+"&")?o=i.replace(r+"&",""):n("&"+r)&&(o=i.replace("&"+r,"")),window.history.replaceState({},document.title,window.location.pathname+o),t}},t.updateUserData=U,t.handleDisplay=$,t.processAfterLoggedIn=function(e,t,n,r,o,a,s,l,c,u){var d,f,p;void 0===a&&(a=!1),void 0===s&&(s=""),void 0===l&&(l=""),void 0===c&&(c=!1),void 0===u&&(u=null);var m=null!=(f=null===(d=t)||void 0===d?void 0:d.loginsCount)?f:0,h=sessionStorage.getItem("source")||"",v="signup"===sessionStorage.getItem("registrationEvent"),b=h.indexOf("piano")>-1,y=b&&1===m||h.indexOf("--SSO")>-1&&1===m||b&&a||v,w="viafoura_sso"===h&&1===m||"viafoura"===h&&a,x="login_button_sso"===h&&1===m||"login_button"===h&&a,_="google_one_tap"===h&&a;if((y||w||x||_)&&(a=!0),e&&l)!function(e,t,n){g.getEndpoint({url:t+"userinfo",token:"Bearer "+e,method:"GET"}).then(function(e){n(e)}).then(function(){return history.replaceState("",document.title,window.location.pathname)})}(e,l,function(e){D(e,n,function(e){var t;return $(i(i({},e[0]),{idToken:null===(t=s)||void 0===t?void 0:t.replace("Bearer ","")}),n,o,a,c,null,null,null,null,null,u)})});else if(t){!function(e,t,n,r,i,o){n&&U(o,i,"login_button"),t&&U(o,i,"commenting"),e&&U(o,i,(sessionStorage.getItem("source")||"").split("--")[0]),r&&U(o,i,"google_one_tap")}(y,w,x,_,n,s);try{D(t,n,function(e){var r,l=Array.isArray(e)&&e[0]?e[0]:t;$(i(i({},l),{idToken:null===(r=s)||void 0===r?void 0:r.replace("Bearer ","")}),n,o,a,c,w,y,x,_,null,u)}).catch(function(){var e;$(i(i({},t),{idToken:null===(e=s)||void 0===e?void 0:e.replace("Bearer ","")}),n,o,a,c,w,y,x,_,null,u)})}catch(e){$(i(i({},t),{idToken:null===(p=s)||void 0===p?void 0:p.replace("Bearer ","")}),n,o,a,c,w,y,x,_,null,u)}}},t.getTokenAuth0=function(e,t,n,r){var i=h.gatewayConfigs[n]+"/auth/auth0/get-token";return g.getEndpoint({url:i,data:void 0===r?{username:e,password:t}:r(JSON.stringify({username:e,password:t})),query:"",method:"POST"}).then(function(e){return e}).catch(function(e){return console.log("get token failed",e),e})},t.loadScript=function(e,t){var n=document.createElement("script");n.src=e,n.onload=t,n.async=!0,document.querySelector("body").appendChild(n)},t.createAuth0Account=function(e,t,n){return g.getEndpoint({url:h.gatewayConfigs[n]+"/auth/auth0/auth-create-user",method:"POST",data:{email:e,password:t}}).then(function(e){return e}).catch(function(e){throw e})},t.sendPostMessageToPiano=function(e,t,n,r){var i=document.getElementById(e);i&&i.contentWindow.postMessage({piano:{success:t,message:n,object:r}},"*")},t.loginSSO=function(e,t,n,r,i,o,a){if("undefined"!=typeof window){var s=sessionStorage.getItem("ssoOnSuccessCallbackId");if(s&&window.__loginServiceSSOCallbacks&&window.__loginServiceSSOCallbacks[s]){delete window.__loginServiceSSOCallbacks[s];var l=sessionStorage.getItem("ssoOnSuccessCallbackId"),c=window.__loginServiceSSOCallbacks;l&&c&&c[l]&&delete c[l]}if(i)(window.__loginServiceSSOCallbacks||(window.__loginServiceSSOCallbacks={}))[l="sso_cb_"+Date.now()+"_"+Math.random().toString(36).slice(2)]=i,sessionStorage.setItem("ssoOnSuccess","true"),sessionStorage.setItem("ssoOnSuccessCallbackId",l);else sessionStorage.removeItem("ssoOnSuccessCallbackId");o&&sessionStorage.setItem("ssoContinueProcess","true"),a&&sessionStorage.setItem("ssoNoRefresh","true")}},t.registrationSourceHandler=function(e,t){"undefined"!=typeof window&&(sessionStorage.setItem("source",e),sessionStorage.setItem("sourceSSO",t),sessionStorage.setItem("registrationSource",e),sessionStorage.setItem("registrationSourceSSO",t))};var z=["premium","unlimited","basic"];t.verifyTOTP=function(e){var t;try{for(var n=r.from((t=window.FUSION_ENV_VARS.secretKey,u.default.decrypt(t,"PMN_hn3fo8c0-#!21^5").toString(d.default)),"base64"),i=Math.floor(Date.now()/1e3/120),o=0,a=[-1,0,1];o<a.length;o++){var s=i+a[o],l=r.alloc(8);l.writeUInt32BE(0,0),l.writeUInt32BE(s,4);var c=m.default.parse(l.toString("hex")),f=m.default.parse(n.toString("hex")),h=p.default(c,f),g=r.from(h.toString(m.default),"hex"),v=15&g[g.length-1];if((((127&g[v])<<24|(255&g[v+1])<<16|(255&g[v+2])<<8|255&g[v+3])%Math.pow(10,4)).toString().padStart(4,"0")===e)return!0}return!1}catch(e){return console.error("Error verifying TOTP:",e),!1}};var G=function(e,t){var n,r,i,o,a,s,l={auth_id:null,uid:null,displayName:null,email:null,timestamp:null,state:"Logged Out",mg2Id:null,registrationDate:null,subscriptionStartDate:null,subscriptionExpirationDate:null,registrationSource:null,paperCode:null,householdLevel:null,uuid:null};if(l.timestamp=new Date,e){z.includes(e)?l.state="Subscribed":l.state="Logged In","Subscribed"!==l.state&&"Logged In"!==l.state||(l.hasUnlimitedAccessToEEdition=(null===(n=t)||void 0===n?void 0:n.hasUnlimitedAccessToEEdition)||0,l.hasUnlimitedAccessToInquirerApp=(null===(r=t)||void 0===r?void 0:r.hasUnlimitedAccessToInquirerApp)||0,l.hasUnlimitedArticleGifting=(null===(i=t)||void 0===i?void 0:i.hasUnlimitedArticleGifting)||0,l.totalArticleSharing=(null===(o=t)||void 0===o?void 0:o.totalArticleSharing)||0,l.totalSubscriptionSharing=(null===(a=t)||void 0===a?void 0:a.totalSubscriptionSharing)||0,l.hasAdsFreeReading=(null===(s=t)||void 0===s?void 0:s.hasAdsFreeReading)||0);var c=x(l);v.setCookie("pmn-cookie",c),v.setCookie("user_data",c)}return O().then(function(e){return l}).catch(function(e){return console.error("Error sending cookie to ARC:",e),l})};t.setUserPermissionsForAWV=function(e){var t=h.gatewayConfigs[window.FUSION_ENV_VARS.env]+"/in-app-purchase/get-user-permissions-by-user-type";return g.getEndpoint({url:t,query:{userType:e}}
2).then(function(t){return G(e,t)},function(){return G("",{})})},t.pushLoginInitiationEventToDataLayer=function(e){var t,n,r=sessionStorage.getItem("source")||"login_button";null===(n=null===(t=window)||void 0===t?void 0:t.PMNdataLayer)||void 0===n||n.push({event:"login_initiation",login_method:e||function(e){return e.includes("google_one_tap")?"google_one_tap":""+(e.includes("viafoura")?"commenting":e.includes("piano")?"piano":e.includes("checkout")?"checkout":"login_button")}(r)})}},21061:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(41294),a="auth0.validatedAt",s="auth0.validatedResult",l=function(){try{var e=Number(localStorage.getItem(a))||0;if(Date.now()-e>3e5)return null;var t=localStorage.getItem(s);return"valid"===t||"expired"===t?t:null}catch(e){return null}},c=function(e){try{localStorage.setItem(a,String(Date.now())),localStorage.setItem(s,e)}catch(e){}};t.resetCache=function(){try{localStorage.removeItem(a),localStorage.removeItem(s)}catch(e){}},t.markValidated=function(){c("valid")};var u=function(e,t){return void 0===t&&(t={}),r(void 0,void 0,void 0,function(){var n,r;return i(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,e.getTokenSilently({cacheMode:"off"})];case 1:return i.sent(),c("valid"),[2,"valid"];case 2:return n=i.sent(),r=o.classifyAuth0Error(n),t.ddlogger&&o.isLoggedInState(t.userState)&&t.ddlogger.log(o.buildAuthErrorLog(n,r,t.auth0Id)),"SESSION_EXPIRED"===r||"LOGIN_REQUIRED"===r?(c("expired"),[2,"expired"]):(console.log("[SessionValidator] Auth0 error — session preserved",r),c("valid"),[2,"valid"]);case 3:return[2]}})})};t.ensureValid=function(e,t){return void 0===t&&(t={}),r(void 0,void 0,void 0,function(){var n,o;return i(this,function(a){return(n=l())?[2,n]:"locks"in navigator?[2,navigator.locks.request("auth0-validate",function(){return r(void 0,void 0,void 0,function(){var n;return i(this,function(r){return(n=l())?[2,n]:[2,(i=u(e,t),o=1e4,Promise.race([i,new Promise(function(e,t){return setTimeout(function(){return t(new Error("lock-timeout"))},o)})])).catch(function(){return"valid"})];var i,o})})})]:[2,null!=(o=l())?o:u(e,t)]})})}},8497:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getQueryParam=function(e,t){return new URL(e).searchParams.get(t)},t.isSpecialPage=function(){var e=window.location.pathname;return["/checkout","/subscribe","/app-checkout"].some(function(t){return e.includes(t)})}},41294:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(93502);t.buildAuthErrorLog=function(e,t,n){var r,i,o,a,s,l,c;return{message:"Silent token refresh failed",event:"auth0.verify_user.error",authState:t,auth0Id:n,errorCode:(null===(r=e)||void 0===r?void 0:r.error)||(null===(i=e)||void 0===i?void 0:i.code),errorMessage:(null===(o=e)||void 0===o?void 0:o.message)||(null===(a=e)||void 0===a?void 0:a.error_description),errorStatus:(null===(s=e)||void 0===s?void 0:s.status)||(null===(l=e)||void 0===l?void 0:l.statusCode),errorName:null===(c=e)||void 0===c?void 0:c.name}},t.isLoggedInState=function(e){return"Logged In"===e||"Subscribed"===e},t.classifyAuth0Error=function(e){var t,n,i,o,a,s,l=((null===(t=e)||void 0===t?void 0:t.error)||(null===(n=e)||void 0===n?void 0:n.code)||"").toLowerCase(),c=((null===(i=e)||void 0===i?void 0:i.message)||(null===(o=e)||void 0===o?void 0:o.error_description)||"").toLowerCase();return 429===(null===(a=e)||void 0===a?void 0:a.status)||429===(null===(s=e)||void 0===s?void 0:s.statusCode)||r.RATE_LIMIT_ERRORS.includes(l)?"RATE_LIMIT":r.SESSION_EXPIRED_ERRORS.includes(l)?"SESSION_EXPIRED":r.LOGIN_REQUIRED_ERRORS.includes(l)?"LOGIN_REQUIRED":r.INTERACTION_REQUIRED_ERRORS.includes(l)?"INTERACTION_REQUIRED":r.NETWORK_E
2RROR_MESSAGE_SUBSTRINGS.some(function(e){return c.includes(e)})?"NETWORK_ERROR":"UNKNOWN_ERROR"}},93502:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_EXPIRED_ERRORS=["invalid_grant","invalid_token","expired_token"],t.LOGIN_REQUIRED_ERRORS=["login_required","missing_refresh_token"],t.INTERACTION_REQUIRED_ERRORS=["consent_required","interaction_required","mfa_required"],t.RATE_LIMIT_ERRORS=["too_many_requests","rate_limit_exceeded"],t.NETWORK_ERROR_MESSAGE_SUBSTRINGS=["network","timeout","failed to fetch","load failed"]},93493:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gatewayConfigs={dev:"https://dev-apigw.inquirer.com",stage:"https://dev-apigw.inquirer.com",sandbox:"https://dev-apigw.inquirer.com",prod:"https://apigw.inquirer.com"}},46363:function(e,t,n){e.exports=n(85997)},29162:function(e,t,n){"use strict";var r=n(81494),i=n(82892),o=n(51610),a=n(2360),s=n(7249),l=n(72538),c=n(78464),u=n(95309);e.exports=function(e){return new Promise(function(t,n){var d=e.data,f=e.headers,p=e.responseType;r.isFormData(d)&&delete f["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";f.Authorization="Basic "+btoa(h+":"+g)}var v=s(e.baseURL,e.url);function b(){if(m){var r="getAllResponseHeaders"in m?l(m.getAllResponseHeaders()):null,o={data:p&&"text"!==p&&"json"!==p?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m};i(t,n,o),m=null}}if(m.open(e.method.toUpperCase(),a(v,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(b)},m.onabort=function(){m&&(n(u("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){n(u("Network Error",e,null,m)),m=null},m.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},r.isStandardBrowserEnv()){var y=(e.withCredentials||c(v))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;y&&(f[e.xsrfHeaderName]=y)}"setRequestHeader"in m&&r.forEach(f,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:m.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),p&&"json"!==p&&(m.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){m&&(m.abort(),n(e),m=null)}),d||(d=null),m.send(d)})}},85997:function(e,t,n){"use strict";var r=n(81494),i=n(70738),o=n(47645),a=n(20573);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var l=s(n(14085));l.Axios=o,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=n(40746),l.CancelToken=n(20217),l.isCancel=n(87486),l.all=function(e){return Promise.all(e)},l.spread=n(94202),l.isAxiosError=n(741),e.exports=l,e.exports.default=l},40746:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},20217:function(e,t,n){"use strict";var r=n(40746);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},87486:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},47645:function(e,t,n){"use strict";var r=n(81494),i=n(2360),o=n(99037),a=n(48076),s=n(20573),l=n(26799),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach(function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))});var i,o=[];if(this.interceptors.response.forEach(function(e){o.push(e.fulfilled,e.rejected)}),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var d=e;n.length;){var f=n.shift(),p=n.shift();try{d=f(d)}catch(e){p(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}}),r.forEach(["post","put","patch"],function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}}),e.exports=u},99037:function(e,t,n){"use strict";var r=n(81494);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},7249:function(e,t,n){"use strict";var r=n(49415),i=n(81346);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},95309:function(e,t,n){"use strict";var r=n(69659);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},48076:function(e,t,n){"use strict";var r=n(81494),i=n(25939),o=n(87486),a=n(14085);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return s(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},69659:function(e){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},20573:function(e,t,n){"use strict";var r=n(81494);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function c(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(e[i],t[i])}r.forEach(i,function(e){r.isUndefined(t[e])||(n[e]=l(void 0,t[e]))}),r.forEach(o,c),r.forEach(a,function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(void 0,t[i])}),r.forEach(s,function(r){r in t?n[r]=l(e[r],t[r]):r in e&&(n[r]=l(void 0,e[r]))});var u=i.concat(o).concat(a).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter(function(e){return-1===u.indexOf(e)});return r.forEach(d,c),n}},82892:function(e,t,n){"use strict";var r=n(95309);e.exports=function(e,t,n){var i=n.config.validateStatus;
2n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},25939:function(e,t,n){"use strict";var r=n(81494),i=n(14085);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,function(n){e=n.call(o,e,t)}),e}},14085:function(e,t,n){"use strict";var r=n(72067),i=n(81494),o=n(39660),a=n(69659),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(c=n(29162)),c),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(i.isString(e))try{return(t||JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}}
2,i.forEach(["delete","get","head"],function(e){u.headers[e]={}}),i.forEach(["post","put","patch"],function(e){u.headers[e]=i.merge(s)}),e.exports=u},70738:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},2360:function(e,t,n){"use strict";var r=n(81494);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},81346:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},51610:function(e,t,n){"use strict";var r=n(81494);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},49415:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},741:function(e){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},78464:function(e,t,n){"use strict";var r=n(81494);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},39660:function(e,t,n){"use strict";var r=n(81494);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},72538:function(e,t,n){"use strict";var r=n(81494),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},94202:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},26799:function(e,t,n){"use strict";var r=n(64023),i={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var o={},a=r.version.split(".");function s(e,t){for(var n=t?t.split("."):a,r=e.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(e,t,n){var i=t&&s(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(a(r," has been removed in "+t));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={isOlderVersion:s,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var s=e[o],l=void 0===s||a(s,o,e);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},81494:function(e,t,n){"use strict";var r=n(70738),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!
2a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},6897:function(e,t,n){var r;e.exports=(r=n(93151),n(84724),n(1590),n(72540),n(59339),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,i=[],o=[],a=[],s=[],l=[],c=[],u=[],d=[],f=[],p=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var m=r^r<<1^r<<2^r<<3^r<<4;m=m>>>8^255&m^99,i[n]=m,o[m]=n;var h=e[n],g=e[h],v=e[g],b=257*e[m]^16843008*m;a[n]=b<<24|b>>>8,s[n]=b<<16|b>>>16,l[n]=b<<8|b>>>24,c[n]=b,b=16843009*v^65537*g^257*h^16843008*n,u[m]=b<<24|b>>>8,d[m]=b<<16|b>>>16,f[m]=b<<8|b>>>24,p[m]=b,n?(n=h^e[e[e[v^h]]],r^=e[e[r]]):n=r=1}}();var m=[0,1,2,4,8,16,32,64,128,27,54],h=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],a=0;a<r;a++)a<n?o[a]=t[a]:(c=o[a-1],a%n?n>6&&a%n==4&&(c=i[c>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c]):(c=i[(c=c<<8|c>>>24)>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c],c^=m[a/n|0]<<24),o[a]=o[a-n]^c);for(var s=this._invKeySchedule=[],l=0;l<r;l++){if(a=r-l,l%4)var c=o[a];else c=o[a-4];s[l]=l<4||a<=4?c:u[i[c>>>24]]^d[i[c>>>16&255]]^f[i[c>>>8&255]]^p[i[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,l,c,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,f,p,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,o,a,s){for(var l=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],f=e[t+3]^n[3],p=4,m=1;m<l;m++){var h=r[c>>>24]^i[u>>>16&255]^o[d>>>8&255]^a[255&f]^n[p++],g=r[u>>>24]^i[d>>>16&255]^o[f>>>8&255]^a[255&c]^n[p++],v=r[d>>>24]^i[f>>>16&255]^o[c>>>8&255]^a[255&u]^n[p++],b=r[f>>>24]^i[c>>>16&255]^o[u>>>8&255]^a[255&d]^n[p++];c=h,u=g,d=v,f=b}h=(s[c>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^n[p++],g=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&c])^n[p++],v=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[c>>>8&255]<<8|s[255&u])^n[p++],b=(s[f>>>24]<<24|s[c>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^n[p++],e[t]=h,e[t+1]=g,e[t+2]=v,e[t+3]=b},keySize:8});e.AES=t._createHelper(h)}(),r.AES)},59339:function(e,t,n){var r;e.exports=(r=n(93151),n(72540),void(r.lib.Cipher||function(e){var t=r,n=t.lib,i=n.Base,o=n.WordArray,a=n.BufferedBlockAlgorithm,s=t.enc,l=(s.Utf8,s.Base64),c=t.algo.EvpKDF,u=n.Cipher=a.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?y:v}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt
vendor: 9,953 bytes, line 2
2(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),d=(n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),f=n.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=d.CBC=function(){var t=f.extend();function n(t,n,r){var i,o=this._iv;o?(i=o,this._iv=e):i=this._prevBlock;for(var a=0;a<r;a++)t[n+a]^=i[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize;n.call(this,e,t,i),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,o=e.slice(t,t+i);r.decryptBlock(e,t),n.call(this,e,t,i),this._prevBlock=o}}),t}(),m=(t.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,i=r<<24|r<<16|r<<8|r,a=[],s=0;s<r;s+=4)a.push(i);var l=o.create(a,r);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},h=(n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:p,padding:m}),reset:function(){var e;u.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),g=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?o.create([1398893684,1701076831]).concat(n).concat(t):t).toString(l)},parse:function(e){var t,n=l.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),h.create({ciphertext:n,salt:t})}},v=n.SerializableCipher=i.extend({cfg:i.extend({format:g}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),a=i.cfg;return h.create({ciphertext:o,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),b=(t.kdf={}).OpenSSL={execute:function(e,t,n,r,i){if(r||(r=o.random(8)),i)a=c.create({keySize:t+n,hasher:i}).compute(e,r);else var a=c.create({keySize:t+n}).compute(e,r);var s=o.create(a.words.slice(t),4*n);return a.sigBytes=4*t,h.create({key:a,iv:s,salt:r})}},y=n.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:b}),encrypt:function(e,t,n,r){var i=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=i.iv;var o=v.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);return r.iv=i.iv,v.decrypt.call(this,e,t,i.key,r)}})}()))},93151:function(e,t,n){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(33468)}catch(e){}var i=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},s=a.lib={},l=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=l.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s<i;s+=4)t[r+s>>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(i());return new c.init(t,e)}}),u=a.enc={},d=u.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},f=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},p=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},m=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,u=e.min(4*l,o);if(l){for(var d=0;d<l;d+=a)this._doProcessBlock(i,d);n=i.splice(0,l),r.sigBytes-=u}return new c.init(n,u)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),h=(s.Hasher=m.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new h.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math),r)},84724:function(e,t,n){var r;e.exports=(r=n(93151),function(){var e=r,t=e.lib.WordArray;function n(e,n,r){for(var i=[],o=0,a=0;a<n;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=s<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)i.push(r.charAt(a>>>6*(3-s)&63));var l=r.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<r.length;o++)i[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return n(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)},1894:function(e,t,n){var r;e.exports=(r=n(93151),r.enc.Hex)},20852:function(e,t,n){var r;e.exports=(r=n(93151),r.enc.Utf8)},72540:function(e,t,n){var r,i,o,a,s,l,c,u;e.exports=(u=n(93151),n(41665),n(95979),i=(r=u).lib,o=i.Base,a=i.WordArray,s=r.algo,l=s.MD5,c=s.EvpKDF=o.extend({cfg:o.extend({keySize:4,hasher:l,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,r=this.cfg,i=r.hasher.create(),o=a.create(),s=o.words,l=r.keySize,c=r.iterations;s.length<l;){n&&i.update(n),n=i.update(e).finalize(t),i.reset();for(var u=1;u<c;u++)n=i.finalize(n),i.reset();o.concat(n)}return o.sigBytes=4*l,o}}),r.EvpKDF=function(e,t,n){return c.create(n).compute(e,t)},u.EvpKDF)},40849:function(e,t,n){var r;e.exports=(r=n(93151),n(41665),n(95979),r.HmacSHA1)},95979:function(e,t,n){var r,i,o,a;e.exports=(r=n(93151),o=(i=r).lib.Base,a=i.enc.Utf8,void(i.algo.HMAC=o.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=a.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),o=this._iKey=t.clone(),s=i.words,l=o.words,c=0;c<n;c++)s[c]^=1549556828,l[c]^=909522486;i.sigBytes=o.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))},1590:function(e,t,n){var r;e.exports=(r=n(93151),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}
vendor: 4,509 bytes, line 2
2var o=this._hash.words,a=e[t+0],l=e[t+1],p=e[t+2],m=e[t+3],h=e[t+4],g=e[t+5],v=e[t+6],b=e[t+7],y=e[t+8],w=e[t+9],x=e[t+10],_=e[t+11],C=e[t+12],j=e[t+13],S=e[t+14],O=e[t+15],k=o[0],E=o[1],L=o[2],P=o[3];k=c(k,E,L,P,a,7,s[0]),P=c(P,k,E,L,l,12,s[1]),L=c(L,P,k,E,p,17,s[2]),E=c(E,L,P,k,m,22,s[3]),k=c(k,E,L,P,h,7,s[4]),P=c(P,k,E,L,g,12,s[5]),L=c(L,P,k,E,v,17,s[6]),E=c(E,L,P,k,b,22,s[7]),k=c(k,E,L,P,y,7,s[8]),P=c(P,k,E,L,w,12,s[9]),L=c(L,P,k,E,x,17,s[10]),E=c(E,L,P,k,_,22,s[11]),k=c(k,E,L,P,C,7,s[12]),P=c(P,k,E,L,j,12,s[13]),L=c(L,P,k,E,S,17,s[14]),k=u(k,E=c(E,L,P,k,O,22,s[15]),L,P,l,5,s[16]),P=u(P,k,E,L,v,9,s[17]),L=u(L,P,k,E,_,14,s[18]),E=u(E,L,P,k,a,20,s[19]),k=u(k,E,L,P,g,5,s[20]),P=u(P,k,E,L,x,9,s[21]),L=u(L,P,k,E,O,14,s[22]),E=u(E,L,P,k,h,20,s[23]),k=u(k,E,L,P,w,5,s[24]),P=u(P,k,E,L,S,9,s[25]),L=u(L,P,k,E,m,14,s[26]),E=u(E,L,P,k,y,20,s[27]),k=u(k,E,L,P,j,5,s[28]),P=u(P,k,E,L,p,9,s[29]),L=u(L,P,k,E,b,14,s[30]),k=d(k,E=u(E,L,P,k,C,20,s[31]),L,P,g,4,s[32]),P=d(P,k,E,L,y,11,s[33]),L=d(L,P,k,E,_,16,s[34]),E=d(E,L,P,k,S,23,s[35]),k=d(k,E,L,P,l,4,s[36]),P=d(P,k,E,L,h,11,s[37]),L=d(L,P,k,E,b,16,s[38]),E=d(E,L,P,k,x,23,s[39]),k=d(k,E,L,P,j,4,s[40]),P=d(P,k,E,L,a,11,s[41]),L=d(L,P,k,E,m,16,s[42]),E=d(E,L,P,k,v,23,s[43]),k=d(k,E,L,P,w,4,s[44]),P=d(P,k,E,L,C,11,s[45]),L=d(L,P,k,E,O,16,s[46]),k=f(k,E=d(E,L,P,k,p,23,s[47]),L,P,a,6,s[48]),P=f(P,k,E,L,b,10,s[49]),L=f(L,P,k,E,S,15,s[50]),E=f(E,L,P,k,g,21,s[51]),k=f(k,E,L,P,C,6,s[52]),P=f(P,k,E,L,m,10,s[53]),L=f(L,P,k,E,x,15,s[54]),E=f(E,L,P,k,l,21,s[55]),k=f(k,E,L,P,y,6,s[56]),P=f(P,k,E,L,O,10,s[57]),L=f(L,P,k,E,v,15,s[58]),E=f(E,L,P,k,j,21,s[59]),k=f(k,E,L,P,h,6,s[60]),P=f(P,k,E,L,_,10,s[61]),L=f(L,P,k,E,p,15,s[62]),E=f(E,L,P,k,w,21,s[63]),o[0]=o[0]+k|0,o[1]=o[1]+E|0,o[2]=o[2]+L|0,o[3]=o[3]+P|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var o=e.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+i+a;return(s<<o|s>>>32-o)+t}function u(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+i+a;return(s<<o|s>>>32-o)+t}function d(e,t,n,r,i,o,a){var s=e+(t^n^r)+i+a;return(s<<o|s>>>32-o)+t}function f(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+i+a;return(s<<o|s>>>32-o)+t}t.MD5=o._createHelper(l),t.HmacMD5=o._createHmacHelper(l)}(Math),r.MD5)},41665:function(e,t,n){var r,i,o,a,s,l,c,u;e.exports=(u=n(93151),i=(r=u).lib,o=i.WordArray,a=i.Hasher,s=r.algo,l=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=0;c<80;c++){if(c<16)l[c]=0|e[t+c];else{var u=l[c-3]^l[c-8]^l[c-14]^l[c-16];l[c]=u<<1|u>>>31}var d=(r<<5|r>>>27)+s+l[c];d+=c<20?1518500249+(i&o|~i&a):c<40?1859775393+(i^o^a):c<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,s=a,a=o,o=i<<30|i>>>2,i=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(c),r.HmacSHA1=a._createHmacHelper(c),u.SHA1)},91219:function(e,t,n){var r;e.exports=(r=n(93151),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[],l=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(s[i]=n(e.pow(r,.5))),l[i]=n(e.pow(r,1/3)),i++),r++}();var c=[],u=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],u=n[5],d=n[6],f=n[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var m=c[p-15],h=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,g=c[p-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;c[p]=h+c[p-7]+v+c[p-16]}var b=r&i^r&o^i&o,y=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+l[p]+c[p];
vendor: 5,380 bytes, line 2
2f=d,d=u,u=s,s=a+w|0,a=o,o=i,i=r,r=w+(y+b)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(u),t.HmacSHA256=o._createHmacHelper(u)}(Math),r.SHA256)},61487:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",f="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),o=n-i<0,a=t.clone().add(r+(o?-1:1),c);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:s,D:f,h:a,m:o,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=g;var x="$isDayjsObject",_=function(e){return e instanceof O||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if("string"==typeof t){var o=t.toLowerCase();w[o]&&(i=o),n&&(w[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;w[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},j=function(e,t){if(_(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new O(n)},S=b;S.l=C,S.i=_,S.w=function(e,t){return j(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var O=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return S},v.isValid=function(){return!(this.$d.toString()===p)},v.isSame=function(e,t){var n=j(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return j(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<j(e)},v.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!S.u(t)||t,u=S.p(e),p=function(e,t){var i=S.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return S.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,v=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case d:return r?p(1,0):p(31,11);case c:return r?p(1,g):p(0,g+1);case l:var y=this.$locale().weekStart||0,w=(h<y?h+7:h)-y;return p(r?v-w:v+(6-w),g);case s:case f:return m(b+"Hours",0);case a:return m(b+"Minutes",1);case o:return m(b+"Seconds",2);case i:return m(b+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,l=S.p(e),u="set"+(this.$u?"UTC":""),p=(n={},n[s]=u+"Date",n[f]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[o]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],m=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[S.p(e)]()},v.add=function(r,u){var f,p=this;r=Number(r);var m=S.p(u),h=function(e){var t=j(p);return S.w(t.date(t.date()+Math.round(e*r)),p)};if(m===c)return this.set(c,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===l)return h(7);var g=(f={},f[o]=t,f[a]=n,f[i]=e,f)[m]||1,v=this.$d.getTime()+r*g;return S.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=S.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,i,o){return e&&(e[
2n]||e(t,r))||i[n].slice(0,o)},f=function(e){return S.s(o%12||12,e,"0")},m=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(h,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return S.s(t.$y,4,"0");case"M":return s+1;case"MM":return S.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return S.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return S.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return m(o,a,!0);case"A":return m(o,a,!1);case"m":return String(a);case"mm":return S.s(a,2,"0");case"s":return String(t.$s);case"ss":return S.s(t.$s,2,"0");case"SSS":return S.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,p){var m,h=this,g=S.p(f),v=j(r),b=(v.utcOffset()-this.utcOffset())*t,y=this-v,w=function(){return S.m(h,v)};switch(g){case d:m=w()/12;break;case c:m=w();break;case u:m=w()/3;break;case l:m=(y-b)/6048e5;break;case s:m=(y-b)/864e5;break;case a:m=y/n;break;case o:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:S.a(m)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return w[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return S.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),k=O.prototype;return j.prototype=k,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",s],["$M",c],["$y",d],["$D",f]].forEach(function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),j.extend=function(e,t){return e.$i||(e(t,O,j),e.$i=!0),j},j.locale=C,j.isDayjs=_,j.unix=function(e){return j(1e3*e)},j.en=w[y],j.Ls=w,j.p={},j}()},11087:function(e){e.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var o,a=function(e,n,r){void 0===r&&(r={});var i=new Date(e),o=function(e,n){void 0===n&&(n={});var r=n.timeZoneName||"short",i=e+"|"+r,o=t[i];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),t[i]=o),o}(n,r);return o.formatToParts(i)},s=function(t,n){for(var r=a(t,n),o=[],s=0;s<r.length;s+=1){var l=r[s],c=l.type,u=l.value,d=e[c];d>=0&&(o[d]=parseInt(u,10))}var f=o[3],p=24===f?0:f,m=o[0]+"-"+o[1]+"-"+o[2]+" "+p+":"+o[4]+":"+o[5]+":000",h=+t;return(i.utc(m).valueOf()-(h-=h%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=o);var n,r=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),l=Math.round((a-new Date(s))/1e3/60),c=15*-Math.round(a.getTimezoneOffset()/15)-l;if(Number(c)){if(n=i(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var u=n.utcOffset();n=n.add(r-u,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},l.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,a=n||t||o,l=s(+i(),a);if("string"!=typeof e)return i(e).tz(a);var c=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var o=s(r-=60*(i-t)*1e3,n);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,r).valueOf(),l,a),u=c[0],d=c[1],f=i(u).utcOffset(d);return f.$x.$timezone=a,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}}}()},23372:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(e){return new i({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(i)return s.$offset=a,s.$u=0===r,s;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var u=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=o(e).local();return f.call(r,i,t,n)}}}()},23259:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;
2if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!==i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},31365:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,i){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof r&&(i=r,r={}),r=r||{},i=i||function(){},a.type=r.type||"text/javascript",a.charset=r.charset||"utf8",a.async=!("async"in r)||!!r.async,a.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,r.attrs),r.text&&(a.text=""+r.text),("onload"in a?t:n)(a,i),a.onload||t(a,i),o.appendChild(a)}},62678:function(e,t,n){"use strict";n.r(t);var r=n(19894),i=n.n(r),o=n(40809),a=n.n(o),s=n(23259),l=n.n(s),c=n(14307),u=n.n(c);function d(e){return d="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},d(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;return h(e)}(this,n)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){return b(b({},e),{},{height:0,width:0,playerVars:b(b({},e.playerVars),{},{autoplay:0,start:0,end:0})})}var x=function(e){!function(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}}),t&&p(e,t)}(o,e);var t,n,r,i=m(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),y(h(t=i.call(this,e)),"onPlayerReady",function(e){return t.props.onReady(e)}),y(h(t),"onPlayerError",function(e){return t.props.onError(e)}),y(h(t),"onPlayerStateChange",function(e){switch(t.props.onStateChange(e),e.data){case o.PlayerState.ENDED:t.props.onEnd(e);break;case o.PlayerState.PLAYING:t.props.onPlay(e);break;case o.PlayerState.PAUSED:t.props.onPause(e)}}),y(h(t),"onPlayerPlaybackRateChange",function(e){return t.props.onPlaybackRateChange(e)}
2),y(h(t),"onPlayerPlaybackQualityChange",function(e){return t.props.onPlaybackQualityChange(e)}),y(h(t),"createPlayer",function(){if("undefined"!=typeof document){var e=b(b({},t.props.opts),{},{videoId:t.props.videoId});t.internalPlayer=u()(t.container,e),t.internalPlayer.on("ready",t.onPlayerReady),t.internalPlayer.on("error",t.onPlayerError),t.internalPlayer.on("stateChange",t.onPlayerStateChange),t.internalPlayer.on("playbackRateChange",t.onPlayerPlaybackRateChange),t.internalPlayer.on("playbackQualityChange",t.onPlayerPlaybackQualityChange)}}),y(h(t),"resetPlayer",function(){return t.internalPlayer.destroy().then(t.createPlayer)}),y(h(t),"updatePlayer",function(){t.internalPlayer.getIframe().then(function(e){t.props.id?e.setAttribute("id",t.props.id):e.removeAttribute("id"),t.props.className?e.setAttribute("class",t.props.className):e.removeAttribute("class"),t.props.opts&&t.props.opts.width?e.setAttribute("width",t.props.opts.width):e.removeAttribute("width"),t.props.opts&&t.props.opts.height?e.setAttribute("height",t.props.opts.height):e.removeAttribute("height"),"string"==typeof t.props.title?e.setAttribute("title",t.props.title):e.setAttribute("title","YouTube video player")})}),y(h(t),"getInternalPlayer",function(){return t.internalPlayer}),y(h(t),"updateVideo",function(){if(void 0!==t.props.videoId&&null!==t.props.videoId){var e=!1,n={videoId:t.props.videoId};"playerVars"in t.props.opts&&(e=1===t.props.opts.playerVars.autoplay,"start"in t.props.opts.playerVars&&(n.startSeconds=t.props.opts.playerVars.start),"end"in t.props.opts.playerVars&&(n.endSeconds=t.props.opts.playerVars.end)),e?t.internalPlayer.loadVideoById(n):t.internalPlayer.cueVideoById(n)}else t.internalPlayer.stopVideo()}),y(h(t),"refContainer",function(e){t.container=e}),t.container=null,t.internalPlayer=null,t}return t=o,(n=[{key:"componentDidMount",value:function(){this.createPlayer()}},{key:"componentDidUpdate",value:function(e){(function(e,t){return e.id!==t.id||e.className!==t.className||e.opts.width!==t.opts.width||e.opts.height!==t.opts.height||e.title!==t.title})(e,this.props)&&this.updatePlayer(),function(e,t){return e.videoId!==t.videoId||!l()(w(e.opts),w(t.opts))}(e,this.props)&&this.resetPlayer(),function(e,t){if(e.videoId!==t.videoId)return!0;var n=e.opts.playerVars||{},r=t.opts.playerVars||{};return n.start!==r.start||n.end!==r.end}(e,this.props)&&this.updateVideo()}},{key:"componentWillUnmount",value:function(){this.internalPlayer.destroy()}},{key:"render",value:function(){return a().createElement("div",{className:this.props.containerClassName},a().createElement("div",{id:this.props.id,className:this.props.className,ref:this.refContainer,loading:this.props.loading}))}}])&&f(t.prototype,n),r&&f(t,r),o}(a().Component);y(x,"PlayerState",{UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5}),x.propTypes={videoId:i().string,id:i().string,className:i().string,containerClassName:i().string,title:i().string,loading:i().oneOf(["lazy","eager","auto"]),opts:i().objectOf(i().any),onReady:i().func,onError:i().func,onPlay:i().func,onPause:i().func,onEnd:i().func,onStateChange:i().func,onPlaybackRateChange:i().func,onPlaybackQualityChange:i().func},x.defaultProps={videoId:null,id:null,className:null,loading:null,opts:{},containerClassName:"",onReady:function(){},onError:function(){},onPlay:function(){},onPause:function(){},onEnd:function(){},onStateChange:function(){},onPlaybackRateChange:function(){},onPlaybackQualityChange:function(){},title:null},t.default=x},79148:function(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(e,t,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:i,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=i,t.jsxs=i},34766:function(e,t,n){"use strict";e.exports=n(79148)},37696:function(e){"use strict";var t;t=function(){var e={},t={};return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!==n&&t[e.name].splice(n,1)},e.trigger=function(e,n){var r,i=t[e];if(i)for(r=i.length;r--;)i[r].handler(n)},e},e.exports=t},82418:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(88754),o=(r=i)&&r.__esModule?r:{default:r};t.default={pauseVideo:{acceptableStates:[o.default.ENDED,o.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[o.default.ENDED,o.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[o.default.ENDED,o.default.PLAYING,o.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},13027:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(16432)),i=s(n(65447)),o=s(n(51383)),a=s(n(82418));function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,r.default)("youtube-player"),c={proxyEvents:function(e){var t={},n=function(n){var r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=function(t){l('event "%s"',r,t),e.trigger(n,t)}},r=!0,i=!1,a=void 0;try{for(var s,c=o.default[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){n(s.value)}}catch(e){i=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(i)throw a}}return t},promisifyPlayer:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=function(r){t&&a.default[r]?n[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.then(function(e){var t=a.default[r],i=e.getPlayerState(),o=e[r].apply(e,n);return t.stateChangeRequired||Array.isArray(t.acceptableStates)&&-1===t.acceptableStates.indexOf(i)?new Promise(function(n){e.addEventListener("onStateChange",function r(){var i=e.getPlayerState(),o=void 0;"number"==typeof t.timeout&&(o=setTimeout(function(){e.removeEventListener("onStateChange",r),n()},t.timeout)),Array.isArray(t.acceptableStates)&&-1!==t.acceptableStates.indexOf(i)&&(e.removeEventListener("onStateChange",r),clearTimeout(o),n())})}).then(function(){return o}):o})}:n[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.then(function(e){return e[r].apply(e,n)})}},o=!0,s=!1,l=void 0;try{for(var c,u=i.default[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){r(c.value)}}catch(e){s=!0,l=e}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}return n}};t.default=c,e.exports=t.default},88754:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},51383:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},65447:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","
2setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},14307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},i=s(n(37696)),o=s(n(51424)),a=s(n(13027));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=(0,i.default)();if(l||(l=(0,o.default)(s)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=a.default.proxyEvents(s);var c=new Promise(function(n){"object"===(void 0===e?"undefined":r(e))&&e.playVideo instanceof Function?n(e):l.then(function(r){var i=new r.Player(e,t);return s.on("ready",function(){n(i)}),null})}),u=a.default.promisifyPlayer(c,n);return u.on=s.on,u.off=s.off,u},e.exports=t.default},51424:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(31365),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return new Promise(function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)t(window.YT);else{var n="http:"===window.location.protocol?"http:":"https:";(0,o.default)(n+"//www.youtube.com/iframe_api",function(t){t&&e.trigger("error",t)});var r=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){r&&r(),t(window.YT)}}})},e.exports=t.default},16432:function(e,t,n){var r=n(72067);function i(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}(t=e.exports=n(61819)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=i,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(i())},61819:function(e,t,n){var r;function i(e){function n(){if(n.enabled){var e=n,i=+new Date,o=i-(r||i);e.diff=o,e.prev=r,e.curr=i,r=i;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;l++;var i=t.formatters[r];if("function"==typeof i){var o=a[l];n=i.call(e,o),a.splice(l,1),l--}return n}),t.formatArgs.call(e,a),(n.log||t.log||console.log.bind(console)).apply(e,a)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"==typeof t.init&&t.init(n),n}
2(t=e.exports=i.debug=i.default=i).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length,i=0;i<r;i++)n[i]&&("-"===(e=n[i].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(11070),t.names=[],t.skips=[],t.formatters={}},11070:function(e){var t=1e3,n=60*t,r=60*n,i=24*r,o=365.25*i;function a(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,s){s=s||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*o;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&!1===isNaN(e))return s.long?a(l=e,i,"day")||a(l,r,"hour")||a(l,n,"minute")||a(l,t,"second")||l+" ms":function(e){if(e>=i)return Math.round(e/i)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},24531:function(e,t,n){"use strict";var r=n(40809),i=n.n(r),o=n(34766);t.A=({isAdmin:e,features:t,cell:n,className:r})=>{let a=(0,o.jsx)(i().Fragment,{});return n>=0&&(a=t[n]),e&&!a?(0,o.jsx)("div",{className:"bg-gray-500 h-full min-h-[62px] w-full"}):a?(0,o.jsxs)("div",{className:`box-border relative ${r??""}`,children:[-1!==r?.indexOf("hr-line")&&(0,o.jsx)("div",{className:"line relative mx-4 sm:mx-0"}),(0,o.jsx)("div",{className:"scoreBox",children:a})]}):(0,o.jsx)(o.Fragment,{})}},79440:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(88792),o=n.n(i),a=n(86780),s=n.n(a),l=n(4321),c=n(24531),u=n(77633),d=n(49036),f=n(99970),p=n(987),m=n(97293),h=n(34766);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){b(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const y=e=>e.map(e=>(e=>new RegExp(/^([0-9]|[1-9][0-9]|100)%$/i).test(e))(e.width)?e.width:"").filter(e=>e),w=e=>{const t=e.row;return(e=>new RegExp(/^[0-9]*$/i).test(e))(t)?parseInt(t,10):0},x=(e,t,n)=>e.slice(0,t+1).map(e=>w(e)).reduce((e,t)=>e+t)-n,_=(e,t)=>{const n=e.length>0?e.filter(e=>e.indexOf(t)>-1).join(""):"";return n?`cell${n.replace(t,"").trim()}`:""},C=(e,t)=>{const n=e.split(","),r=_(n,"mobile");let i=_(n,"tablet"),o=i?`lg:cell-${t}`:"";return r&&(i=i?`sm:${i}`:"",o=`${i?o:`sm:cell-${t}`}`),[r,i,o]},j=(e,t)=>{const n=e.filter(e=>0===e.indexOf(t)).join("");if(n.length>0){const e=n.replace(t,"");return`.${n.replace(":","\\:")}{order:${e};}`}return""},S=e=>{let t="",n="",r="";return e.map((e,t)=>e.inputField?C(e.inputField,t+1):[]).filter(e=>
2e).forEach(e=>{t+=j(e,"cell-"),n+=j(e,"sm:cell-"),r+=j(e,"lg:cell-")}),n&&(n=`@media(min-width: 480px){${n}}`),r&&(r=`@media(min-width: 1024px){${r}}`),[t,n,r].join("")},O=e=>{const t=(0,l.useFusionContext)(),{customFields:n}=e,{featureChainComponents:i,allPackagesLayouts:o}=(0,f.p)(),a=e?.id||"",s=(0,u.Ji)(t,i,o),g=(0,r.useRef)(null),b=(0,r.useMemo)(()=>n?.hasTopLine||!1,[n.hasTopLine]),_=(0,r.useMemo)(()=>n?.chainLabel||"",[n.chainLabel]),j=(0,r.useMemo)(()=>n?.morelinkHref||"",[n.morelinkHref]),O=(0,r.useMemo)(()=>n?.chainBlurb||"",[n.chainBlurb]),k=(0,r.useMemo)(()=>n?.morelinkLabel||"",[n.morelinkLabel]),E=(0,r.useMemo)(()=>n?.removeTopSpacing||!1,[n.removeTopSpacing]),L=(0,r.useMemo)(()=>n?.hasPadding||!1,[n.hasPadding]),P=(0,r.useMemo)(()=>n?.list||[],[n.list]),N=(0,r.useMemo)(()=>n?.rightToLeft||!1,[n.rightToLeft]),A=(0,r.useMemo)(()=>(0,u.BS)(_),[_]),I=(0,r.useMemo)(()=>e?.isAdmin||!1,[e.isAdmin]),T=(0,r.useMemo)(()=>e?.children||[],[e.children]),M=(0,r.useMemo)(()=>(e=>e.map(e=>{const t=e.indexOf("(feature)"),n=e.substring(0,t).trim().split("-");return{inputField:e,width:n[0],row:n[1]}}))(P),[P]),R=(0,r.useMemo)(()=>(e=>{const t=y(e);return t.map(e=>parseInt(e.replace("%",""),10)).reduce((e,t)=>e+t)>=100?t.map(e=>e.replace("%","fr")):t})(N?M.reverse():M).join(" "),[N,M]),D=(0,r.useMemo)(()=>n?.hasOneColOnTablet||!1,[n?.hasOneColOnTablet]),F=(0,r.useMemo)(()=>(0,u.Ej)(i,a),[i,a]),B="text-4 leading-5 lg:text-5 lg:leading-6",V=(0,r.useCallback)(e=>D?"col-span-1":e>1?"sm:col-span-2 lg:col-span-1":"",[D]);(0,r.useEffect)(()=>{g?.current&&F&&(0,p.Nz)(t,g?.current,a,i)},[g?.current,t,a,i,F]);const H=(0,r.useRef)(new Map),[q,U]=(0,r.useState)(new Set);return(0,r.useEffect)(()=>{const e=()=>{const e=new Set;H.current.forEach((t,n)=>{(0,m.L_)(t)&&e.add(n)}),U(t=>t.size===e.size&&Array.from(t).every(t=>e.has(t))?t:e)};e();const t=[];return H.current.forEach(n=>{if(!n)return;const r=new MutationObserver(e);r.observe(n,{childList:!0,subtree:!0}),t.push(r)}),()=>{t.forEach(e=>e.disconnect())}},[]),(e=>e.length>0)(M)?(0,h.jsxs)("div",{ref:g,children:[(0,h.jsxs)("div",{className:"sm:mx-5 type-section-header-2"+(E?"":" mt-5"),children:[b&&(0,h.jsx)("div",{className:"border-t-2 border-solid border-neutral-black sm:mx-0 mx-5"}),(_||j)&&(0,h.jsxs)("div",{className:"grid-standard-topic grid grid-cols-6 sm:grid-cols-5 content-center pt-4 pb-2 sm:px-0 px-5",children:[(0,h.jsx)("div",{className:"col-span-4 content-center type-section-header-2",children:(0,h.jsx)(d.FQ,{chainLabel:_,href:j,hrefClass:"text-black text-8 leading-8",chainClass:"text-black text-8 leading-8",analytics:A})}
2),(0,h.jsx)("div",{className:"grid col-span-2 sm:col-span-1 justify-items-end mx-0 type-button content-evenly",children:(0,h.jsx)(d.Yf,{linkLabel:k,href:j,wrapperClass:"text-4.5 text-black leading-4.5 normal-case",hrefClass:"text-black"})})]}),O&&(0,h.jsx)("div",{className:"grid grid-cols-4 type-card-tease-1 pt-0 sm:pb-0 pb-4 sm:mb-5 sm:px-0 px-5 normal-case",children:(0,h.jsx)("div",{className:"lg:col-span-3 col-span-4",children:j?(0,h.jsx)("a",{href:j,className:`pointer no-underline text-gray-dark ${B}`,children:O}):(0,h.jsx)("div",{className:`text-gray-dark ${B}`,children:O})})})]}),(0,h.jsxs)("section",v(v({className:`grid gap-5 lg:gap-6 sm:m-5 grid-cols-1\n        pb-5 md:pb-0 flex-grid ${a}\n        ${D?"lg:grid-cols-2":"sm:grid-cols-2"}\n        ${L?"sm:px-[calc(100%/6-20px)]":""}`},s),{},{children:[M.map((e,t)=>(0,h.jsx)("div",{className:`\n                grid gap-6 grid-cols-1 auto-rows-min\n                ${V(t)}\n                ${C(e.inputField,t+1).join(" ")}\n              `,children:[...Array(w(e)).keys()].map((n,r)=>{const i=`${t}-${n}`;return(0,h.jsx)("div",{ref:e=>{H.current.set(i,e)},className:q.has(i)?"lg:sticky lg:top-[60px]":"",children:(0,h.jsx)(c.A,{isAdmin:I,features:T,cell:x(M,t,w(e)-n),className:(o=r,o?"hr-line":"")})},n);var o})},t)),(0,h.jsx)("style",{jsx:"true",children:`\n        @media screen and (min-width: 1024px) {\n          .${a} {\n            grid-template-columns: ${R};\n          }\n        }\n        ${S(M)}\n      `})]}))]}):null};O.propTypes={customFields:s().shape({hasTopLine:s().bool.tag({name:"Enable Top Line",defaultValue:!1,description:"Show/Hide the top line",group:"Chain header"}),chainLabel:s().string.tag({name:"Chain label",defaultValue:"",group:"Chain header"}),chainBlurb:s().string.tag({name:"Chain Description",defaultValue:"",group:"Chain header"}),morelinkLabel:s().string.tag({name:"More Link Label",defaultValue:"",group:"Chain header"}),morelinkHref:s().string.tag({name:"More Link",defaultValue:"",group:"Chain header"}),removeTopSpacing:s().bool.tag({name:"Remove Top Spacing",defaultValue:!1,group:"Chain header"}),list:s().list.tag({name:"Table",defaultValue:["25%-1 (feature)","25%-1 (feature)","25%-1 (feature)","25%-1 (feature)"]}),rightToLeft:s().bool.tag({name:"Right to left",defaultValue:!1,hidden:!0}),hasPadding:s().bool.tag({name:"Enable Padding",defaultValue:!1,description:"Enable padding to align with the Big Top feature"}),hasOneColOnTablet:s().bool.tag({name:"Enable One Column On Tablet",defaultValue:!1,description:"Enable one-column layout on Tablet resolution."})}),isAdmin:s().bool},t.default=o()(O)},5407:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(99970),a=n(77633),s=n(987),l=n(34766);function c(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=({children:e,id:t})=>{const n=(0,i.useFusionContext)(),{featureChainComponents:c,allPackagesLayouts:d}=(0,o.p)(),f=(0,a.Ji)(n,c,d),p=(0,r.useRef)(null),m=(0,r.useMemo)(()=>[0,[1,2],[3,4],5,[8],[9],6,7],[]),h=(0,r.useCallback)(e=>e?.includes(1)?{key:"feature-12",style:"feature-12 sm:-mt-4 lg:mt-0 gap-x-6 flex flex-col sm:flex-row"}:e?.includes(3)?{key:"feature-34",style:"feature-34 gap-y-6 sm:gap-x-6 lg:gap-x-0 flex flex-col sm:flex-row lg:flex-col w-full"}:e?.includes(8)?{key:"feature-8",style:"feature-8 hidden sm:block"}:e?.includes(9)?{key:"feature-9",style:"feature-9 sm:hidden"}:{key:"",style:""},[]),g=(0,r.useCallback)(()=>e?.length?m.map(t=>{if(Array.isArray(t)){const{key:n,style:r}=h(t);return(0,l.jsx)("div",{className:r,children:t.map(t=>(0,l.jsx)("div",{className:`feature-${t} w-full`,children:e?.[t]},`feature-${t}`))},n)}return(0,l.jsx)("div",{className:`feature-${t} w-full`,children:e?.[t]},`feature-${t}`)}):null,[e,m]);return(0,r.useEffect)(()=>{p?.current&&(0,s.Nz)(n,p?.current,t,c)},[p?.current,n,t,c]),(0,l.jsx)("section",u(u({ref:p,className:"max-w-screen-xl xxl:mx-auto grid gap-4 px-4 sm:px-5 xl:px-
25 \\n md:pb-0 gap-y-6 sm:gap-y-10 mt-6 sm:mt-10 food-front-chain"},f),{},{children:g()}))}},67151:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(88792),a=n.n(o),s=n(35436),l=n(91411),c=n(34766);t.default=a()(({children:e})=>{const{outputType:t}=(0,i.useAppContext)(),n=(0,r.useMemo)(()=>(0,l.Hj)(t),[t]);return(0,c.jsxs)(s.c,{children:[(0,c.jsxs)("section",{className:"flex flex-col lg:justify-between lg:gap-0\n      md:px-5 lg:px-0 pb-8 lg:mx-auto max-w-987 xl:max-w-1066 "+(n?"-mt-3 md:-mt-7":"-mt-2 md:-mt-1 md:gap-y-4 lg:flex-row-reverse"),children:[(0,c.jsxs)("div",{className:"GDC-70-30-chain-right-col flex flex-col min-h-[140px] self-start w-full"+(n?"":" lg:sticky lg:top-15 lg:max-w-75"),children:[(0,c.jsxs)("div",{className:"flex justify-between",children:[(0,c.jsx)("div",{className:"md:max-w-75 hidden lg:hidden"+(n?"":" md:block"),children:e?.[0]}),(0,c.jsx)("div",{className:"w-full min-h-[140px] "+(n?"lg:mb-5":"-mt-5 sm:mt-0 md:max-w-75"),children:e?.[2]})]}),(0,c.jsx)("div",{className:"lg:block hidden w-full max-w-75 md:-mt-5",children:e?.[3]})]}),(0,c.jsxs)("div",{className:"GDC-70-30-chain-left-col w-full flex flex-col -mt-4.5 md:mt-0"+(n?"":" lg:max-w-lf-body xl:max-w-[728px]"),children:[(0,c.jsx)("div",{className:"w-full hidden lg:mb-10"+(n?"":" lg:block"),children:e?.[0]}),(0,c.jsx)("div",{className:"w-full",children:e?.[1]})]})]}),(0,c.jsx)("div",{className:"fixed bg-whitesmoke inset-0 -z-1"})]})})},23498:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(88792),o=n.n(i),a=n(86780),s=n.n(a),l=n(4321),c=n(24531),u=n(77633),d=n(49036),f=n(99970),p=n(97293),m=n(34766);function h(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=e=>parseInt(e.row,10)||0,y=(e,t,n)=>e.slice(0,t+1).map(e=>b(e)).reduce((e,t)=>e+t)-n,w=e=>{const{customFields:t}=e,{featureChainComponents:n,allPackagesLayouts:i}=(0,f.p)(),o=e?.id||"",a=(0,u.Ji)((0,l.useFusionContext)(),n,i),s=(0,r.useMemo)(()=>t?.hasTopLine||!1,[t.hasTopLine]),h=(0,r.useMemo)(()=>t?.chainLabel||"",[t.chainLabel]),v=(0,r.useMemo)(()=>t?.morelinkHref||"",[t.morelinkHref]),w=(0,r.useMemo)(()=>t?.morelinkLabel||"",[t.morelinkLabel]),x=(0,r.useMemo)(()=>t?.chainBlurb||"",[t.chainBlurb]),_=(0,r.useMemo)(()=>t?.removeTopSpacing||!1,[t.removeTopSpacing]),C=(0,r.useMemo)(()=>t?.hasPadding||!1,[t.hasPadding]),j=(0,r.useMemo)(()=>t?.numberFeaturesOnFirstColumn||1,[t.numberFeaturesOnFirstColumn]),S=(0,r.useMemo)(()=>t?.numberFeaturesOnFirstColumn||1,[t.numberFeaturesOnFirstColumn]),O=(0,r.useMemo)(()=>t?.shouldHiddenSecondColOnTablet||!1,[t.shouldHiddenSecondColOnTablet]),k=(0,r.useMemo)(()=>(0,u.BS)(h),[h]),E=(0,r.useRef)(new Map),[L,P]=(0,r.useState)(new Set);(0,r.useEffect)(()=>{const e=()=>{const e=new Set;E.current.forEach((t,n)=>{(0,p.L_)(t)&&e.add(n)}),P(t=>t.size===e.size&&Array.from(t).every(t=>e.has(t))?t:e)};e();const t=[];return E.current.forEach(n=>{if(!n)return;const r=new MutationObserver(e);r.observe(n,{childList:!0,subtree:!0}),t.push(r)}),()=>{t.forEach(e=>e.disconnect())}},[]);const N=(0,r.useMemo)(()=>e?.isAdmin||!1,[e.isAdmin]),A=(0,r.useMemo)(()=>e?.children||[],[e.children]),I=(0,r.useMemo)(()=>[{row:`${j}`,shouldHiddenOnTablet:!1},{row:`${S}`,shouldHiddenOnTablet:O}],[j,S,O]),T="text-4 leading-5 lg:text-5 lg:leading-6";return I.length?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:"sm:mx-5 type-section-header-2 "+(_?"":"mt-5"),children:[s&&(0,m.jsx)("div",{className:"border-t-2 border-solid border-neutral-black sm:mx-0 mx-5"}),(h||v)&&(0,m.jsxs)("div",{className:"grid-standard-topic grid grid-cols-6 sm:grid-cols-5 content-center pt-4 pb-2 sm:px-0 px-5",children:[(0,m.jsx)("div",{className:"col-span-4 content-center type-section-header-2",children:(0,m.jsx)(d.FQ,{chainLabel:h,href:v,hrefClass:"text-black text-8 leading-8",chainClass:"text-black text-8 leading-8",analytics:k})}
2),(0,m.jsx)("div",{className:"grid col-span-2 sm:col-span-1 justify-items-end mx-0 type-button content-evenly",children:(0,m.jsx)(d.Yf,{linkLabel:w,href:v,wrapperClass:"text-4.5 text-black leading-4.5 normal-case",hrefClass:"text-black"})})]}),x&&(0,m.jsx)("div",{className:"grid grid-cols-4 type-card-tease-1 pt-0 sm:pb-0 pb-4 sm:mb-5 sm:px-0 px-5 normal-case",children:(0,m.jsx)("div",{className:"lg:col-span-3 col-span-4",children:v?(0,m.jsx)("a",{href:v,className:`pointer no-underline text-gray-dark ${T}`,children:x}):(0,m.jsx)("div",{className:`text-gray-dark ${T}`,children:x})})})]}),(0,m.jsx)("section",g(g({className:`grid gap-4 lg:gap-6 sm:m-5 grid-cols-1 \n        pb-5 md:pb-0 flex-grid ${o} lg:grid-cols-[auto_300px]\n        ${C?"sm:px-[calc(100%/6-20px)]":""}`},a),{},{children:I.map((e,t)=>(0,m.jsx)("div",{className:(e.shouldHiddenOnTablet?"grid md:hidden lg:grid":"grid")+" gap-6 grid-cols-1 auto-rows-min col-span-1",children:[...Array(b(e)).keys()].map((n,r)=>{const i=`${t}-${n}`;return(0,m.jsx)("div",{ref:e=>{E.current.set(i,e)},className:L.has(i)?"lg:sticky lg:top-[60px]":"",children:(0,m.jsx)(c.A,{isAdmin:N,features:A,cell:y(I,t,b(e)-n),className:(o=r,o?"hr-line":"")})},n);var o})},t))}))]}):null};w.propTypes={customFields:s().shape({hasTopLine:s().bool.tag({name:"Enable Top Line",defaultValue:!1,description:"Show/Hide the top line",group:"Chain header"}),chainLabel:s().string.tag({name:"Chain label",defaultValue:"",group:"Chain header"}),chainBlurb:s().string.tag({name:"Chain Description",defaultValue:"",group:"Chain header"}),morelinkLabel:s().string.tag({name:"More Link Label",defaultValue:"",group:"Chain header"}),morelinkHref:s().string.tag({name:"More Link",defaultValue:"",group:"Chain header"}),removeTopSpacing:s().bool.tag({name:"Remove Top Spacing",defaultValue:!1,group:"Chain header"}),numberFeaturesOnFirstColumn:s().number.tag({name:"Number Features First Column",defaultValue:1,description:"Number of features on first column"}),numberFeaturesOnSecondColumn:s().number.tag({name:"Number Features Second Column",defaultValue:1,description:"Number of features on second column"}),shouldHiddenSecondColOnTablet:s().bool.tag({name:"Hide Second Column on Tablet",defaultValue:!1,description:"Hide second column on tablet"}),hasPadding:s().bool.tag({name:"Enable Padding",defaultValue:!1,description:"Enable padding to align with the Big Top feature"}),stickyOnRightRail:s().bool.tag({name:"Enable Sticky on Right Rail",defaultValue:!1,description:"Enable Sticky on Right Rail"})}),isAdmin:s().bool},t.default=o()(w)},89963:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(46363),a=n.n(o),s=n(86780),l=n.n(s),c=n(4321),u=n(14375),d=n(22210),f=n(99970),p=n(27936),m=n(93661),h=n(44856),g=n(77633),v=n(24887),b=n(7715),y=n(91411),w=n(9375),x=n(34766);function _(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 C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const S="clickedAvatars",O="timeGetChartbeat",k="https://apigw.inquirer.com/arc-content/arc-proxy/content/v4/",E=i().memo(({columnStruct:e,children:t,fallBackToDefaultVersion:n,isDesktop:r})=>(0,x.jsx)(x.Fragment,{children:r&&(0,x.jsx)("div",{className:`feature-${e?.join("")} hidden-1023 flex flex-col`,children:e?.map(e=>n?.(e)&&t?.[e])})}));let L=({children:e,customFields:t,childProps:n})=>{const{globalContent:i}=(0,c.useAppContext)(),{featureChainComponents:o,allPackagesLayouts:s}=(0,f.p)(),l=(0,d.KH)("sports-ab-test"),[v,_]=(0,r.useState)([]),[j,L]=(0,r.useState)(()=>{const e=(0,h.Lg)(S);return e?JSON.parse(e):[]}),P=(0,r.useMemo)(()=>i?.siteService||[],[i]),N=(0,r.useMemo)(()=>t.collection1||"",[t]),A=(0,r.useMemo)(()=>t.collection2||"",[t]),I=(0,r.useMemo)(()=>(t?.desktopColumnStruct||[])?.map(e=>(0,y.Ol)(e,[]))||[],[t]),T=(0,r.useMemo)(()=>(0,y.Ol)(t?.omitElementOnOldVersion,[]),[t]),M=(0,r.useMemo)(()=>
2JSON.parse(JSON.stringify([...I?.[0]||[],...I?.[2]||[]])),[I]),R=(0,r.useMemo)(()=>t.numberArticleCollection||15,[t]),D=(0,r.useMemo)(()=>n.findIndex(e=>"section/Scoreboard"===e.type)||-1,[n]),F=(0,r.useMemo)(()=>3===D,[D]),B=(0,r.useMemo)(()=>t.numberArticleChartbeat||25,[t]),V=(0,r.useMemo)(()=>-1!==D,[D]),H=(0,r.useMemo)(()=>v?.length+(V?2:1),[v?.length,V]),q=(0,r.useMemo)(()=>[N,A].map(e=>e?.trim()).filter(Boolean).join(","),[N,A]),[U,$]=(0,r.useState)([]),z=(0,m.A)(),G=(0,g.Ji)((0,c.useFusionContext)(),o,s),K=(0,r.useRef)(!0),Y=(0,u.useContent)({source:"collections-ids-api",query:{ids:q,sizePerId:R,offsetPerId:0}})||[],W=(0,r.useCallback)(e=>!(!l&&T.includes(e))||null,[l,T]),Z=(0,r.useCallback)(async(e,t)=>{const n=(0,h.Lg)(O);if(!U||0===U?.length||!n||n&&(new Date).getTime()-parseInt(n,10)>6e4){const n=await(async(e,t)=>{const n=await a()({method:"GET",url:`https://apigw.inquirer.com/chartbeat/live/toppages/v3/?section=issports.true&limit=${e+35}&types=1`,headers:{"content-type":"application/json"}}).then(({data:e})=>(e?.pages||[]).map(e=>{const n=e.path.replace("inquirer.com","");return!("Article"!==e.stats?.type||!e.path.includes(".html")||t?.includes(n))&&n}).filter(Boolean)),r=await a()({url:`${k}urls?website=philly-media-network&published=true&included_fields=headlines,promo_items,description.basic,credits.by,display_date,canonical_url,subtype,type,label.eyebrows,related_content,first_publish_date,taxonomy.tags,taxonomy.primary_section,taxonomy.sections,taxonomy.primary_site,content_elements`,data:n,headers:{"content-type":"application/json"},method:"POST"}).then(async({data:e})=>e.content_elements||[]),i=[];let o=0;for(;o<(r||[]).length&&i.length<e;)(r||[])[o].display_date&&new Date((r||[])[o].display_date).getTime()+6048e5>=Date.now()&&i.push((r||[])[o]),o++;return Promise.all((i||[]).map(async e=>{if(e.related_content?.basic?.length>0&&![b.A.SWIPEABLE,b.A.CALL_TO_ACTION,b.A.LIVEBLOG].includes(e.subtype)){const t=await a().get(`${k}related-content/stories`,{params:{_id:e._id,website:"philly-media-network",published:!0,included_fields:"_id,headlines,canonical_url,credits.by,promo_items,subtype"}}),n=await Promise.all((t.data?.basic?.slice(0,3)||[]).map(e=>(0,w.wp)(e,void 0,{promoImgRatio:"3x2",promoImgWidth:200,promoImgSrcset:[200,150,100],isResizerAuthor:!1,isResizerContentElement:!1})));e.related_content.basic=n}else e.related_content={basic:[]};return(0,w.wp)(e,void 0,{isResizerContentElement:!1,isResizerAuthor:!1,promoImgRatio:"3x2",promoImgSrcset:[800,700,600,500,400],contentElementRatio:"3x2",contentElementSrcset:[800,700,600,500,400]})}))})(e,t);(0,h.ZB)(O,(new Date).getTime().toString()),n?.length>0&&$(n)}},[U]),J=(0,r.useCallback)(e=>{L(t=>[...t,e])},[]);return(0,r.useEffect)(()=>{"undefined"!=typeof window&&(K.current=(0,y.dm)())},[]),(0,r.useEffect)(()=>{(0,h.ZB)(S,JSON.stringify(j))},[j]),(0,r.useEffect)(()=>{_((Y||[]).concat(U||[]))},[Y,U]),(0,r.useEffect)(()=>{let e;if(z){const t=Y?.map(e=>e.canonical_url);Z(B,t),e=setInterval(()=>Z(B,t),6e5)}return()=>{clearInterval(e)}},[z,B,U,Y]),(0,x.jsx)(p.b.Provider,{value:{trendingArticles:U,articles:v,setArticles:_,siteService:P,clickedAvatars:j,markAvatarAsClicked:J,hasGDCMiddle:F,hasGDCScoreboard:V,feedLength:H,feedLocation:"sports-front",isNewSportsChain:l,isDesktop:K.current,collectionsIds:q},children:(0,x.jsx)("div",{className:"flex flex-col bg-neutral-ui-background",children:(0,x.jsxs)("section",C(C({className:"max-w-screen-xl xxl:mx-auto grid gap-4 lg:gap-6 lg:m-5 lg:mt-0 grid-cols-1 pb-5 md:pb-0 sports-front-chain"},G),{},{children:[(0,x.jsx)(E,{isDesktop:K?.current,columnStruct:I[0],fallBackToDefaultVersion:W,children:e}),e?.map((e,t)=>W(t)&&(0,x.jsx)("div",{className:`feature-${t} w-full ${M?.includes(t)?"lg:hidden":""}`,children:K.current||D!==t?e:null},e?.key)),(0,x.jsx)(E,{isDesktop:K?.current,columnStruct:I[2],fallBackToDefaultVersion:W,children:e})]}))})})};L=i().memo((0,v.A)(L)),L.propTypes={customFields:l().shape({collection1:l().string.tag({label:"Collection 1",group:"Collections"}),collection2:l().string.tag({label:"Collection 2",group:"Collections"}),numberArticleCollection:l().number.tag({label:"Number of articles per collection (maximum 20)",defaultValue:15,group:"Collections"}),numberArticleChartbeat:l().number.tag({label:"Number of articles",defaultValue:25,group:"Chartbeat"}),desktopColumnStruct:l().list.tag({label:"Desktop Column Structure",defaultValue:[],group:"Layout"}),omitElementOnOldVersion:l().string.tag({label:"Omit element on old version",defaultValue:"[]",group:"Layout"})})},t.default=L},27936:function(e,t,n){"use strict";n.d(t,{b:function(){return i},k:function(){return o}});var r=n(40809);const i=(0,r.createContext)({trendingArticles:[],articles:[],setArticles:()=>{},siteService:[],clickedAvatars:[],markAvatarAsClicked:()=>{},hasGDCMiddle:!1,hasGDCScoreboard:!1,feedLength:0,feedLocation:"",isNewSportsChain:!1,isDesktop:!1,collectionsIds:""}),o=()=>(0,r.useContext)(i)},76398:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(46363),a=n.n(o),s=n(86780),l=n.n(s),c=n(4321),u=n(14375),d=n(99970),f=n(27936),p=n(93661),m=n(44856),h=n(77633),g=n(24887),v=n(7715),b=n(9375),y=n(34766);function w(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 x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?w(Object(n),!0).forEach(function(t){_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let C=({children:e,customFields:t,childProps:n})=>{const{globalContent:i}=(0,c.useAppContext)(),{featureChainComponents:o,allPackagesLayouts:s}=(0,d.p)(),[l,g]=(0,r.useState)(()=>{const e=(0,m.Lg)("clickedAvatars");return e?JSON.parse(e):[]}),w=(0,r.useMemo)(()=>i?.siteService||"",[i]),_=(0,r.useMemo)(()=>t.collection1||"",[t]),C=(0,r.useMemo)(()=>t.collection2||"",[t]),j=(0,r.useMemo)(()=>t.numberArticleCollection||15,[t]),S=(0,r.useMemo)(()=>n.findIndex(e=>"section/Scoreboard"===e.type)||-1,[n]),O=(0,r.useMemo)(()=>3===S,[S]),k=(0,r.useMemo)(()=>t.numberArticleChartbeat||25,[t]),E=(0,r.useMemo)(()=>-1!==S,[S]),L=(0,r.useMemo)(()=>[_,C].map(e=>e?.trim()).filter(Boolean).join(","),[_,C]),[P,N]=(0,r.useState)([]),[A,I]=(0,r.useState)([]),T=(0,p.A)(),M=(0,h.Ji)((0,c.useFusionContext)(),o,s),R=(0,u.useContent)({source:"collections-ids-api",query:{ids:L,sizePerId:j,offsetPerId:0}});(0,r.useEffect)(()=>{I((R||[]).concat(P||[]))},[R,P]);const D=(0,r.useMemo)(()=>A?.length+(E?2:1),[A?.length,E]),F=(0,r.useCallback)(async(e,t)=>{const n=(0,m.Lg)("timeGetChartbeat");if(!P||0===P?.length||!n||n&&(new Date).getTime()-parseInt(n,10)>6e4){const n=await(async(e,t)=>{const n=await a()({method:"GET",url:`https://apigw.inquirer.com/chartbeat/live/toppages/v3/?section=issports.true&limit=${e+35}&types=1`,headers:{"content-type":"application/json"}}).then(({data:e})=>(e?.pages||[]).map(e=>{const n=e.path.replace("inquirer.com","");return!("Article"!==e.stats?.type||!e.path.includes(".html")||t?.includes(n))&&n}).filter(Boolean)),r=await a()({url:"https://apigw.inquirer.com/arc-content/arc-proxy/content/v4/urls?website=philly-media-network&published=true&included_fields=headlines,promo_items,description.basic,credits.by,display_date,canonical_url,subtype,type,label.eyebrows,related_content,first_publish_date,taxonomy.tags,taxonomy.primary_section,taxonomy.sections,taxonomy.primary_site,content_elements",data:n,headers:{"content-type":"application/json"},method:"POST"}).then(async({data:e})=>e.content_elements||[]),i=Date.now(),o=[];let s=0;for(;s<(r||[]).length&&o.length<e;)(r||[])[s].display_date&&new Date((r||[])[s].display_date).getTime()+6048e5>=i&&o.push((r||[])[s]),s++;return Promise.all((o||[]).map(async e=>{if(e.related_content?.basic?.length>0&&![v.A.SWIPEABLE,v.A.CALL_TO_ACTION,v.A.LIVEBLOG].includes(e.subtype)){const t=await a().get("https://apigw.inquirer.com/arc-content/arc-proxy/content/v4/related-content/stories",{params:{_id:e._id,website:"philly-media-network",published:!0,included_fields:"_id,headlines,canonical_url,credits.by,promo_items,subtype"}}),n=await Promise.all((t.data?.basic?.slice(0,3)||[]).map(e=>(0,b.wp)(e,void 0,{promoImgRatio:"3x2",promoImgWidth:200,promoImgSrcset:[200,150,100],isResizerAuthor:!1,isResizerContentElement:!1})));e.related_content.basic=n}else e.related_content={basic:[]};return(0,b.wp)(e,void 0,{isResizerContentElement:!1,isResizerAuthor:!1,promoImgRatio:"3x2",promoImgSrcset:[800,700,600,500,400],contentElementRatio:"3x2",contentElementSrcset:[800,700,600,500,400]})}))})(e,t);(0,m.ZB)("timeGetChartbeat",(new Date).getTime().toString()),n?.length>0&&N(n)}},[P]),B=(0,r.useCallback)(e=>{g(t=>[...t,e])},[]);return(0,r.useEffect)(()=>{let e;if(T){const t=R?.map(e=>e.canonical_url);F(k,t),e=setInterval(()=>F(k,t),6e5)}return()=>{clearInterval(e)}},[T,k,P,R]),(0,r.useEffect)(()=>{(0,m.ZB)("clickedAvatars",JSON.stringify(l))},[l]),(0,y.jsx)(f.b.Provider,{value:{trendingArticles:P,articles:A,setArticles:I,siteService:w,clickedAvatars:l,markAvatarAsClicked:B,hasGDCMiddle:O,hasGDCScoreboard:E,feedLength:D,feedLocation:"sports-front",collectionsIds:L},children:(0,y.jsxs)("div",{className:"flex flex-col bg-neutral-ui-background",children:[(0,y.jsx)("div",{className:"lg:hidden",children:e?.length>2&&e[2]}),e?.length>0&&e[0],(0,y.jsx)("section",x(x({className:"max-w-screen-xl xxl:mx-auto grid gap-4 lg:gap-6 lg:m-5 grid-cols-1 pb-5 md:pb-0 flex-grid lg:grid-cols-[25fr_50fr_25fr] sports-front-chain"},M),{},{children:[[1,2],O?[3,4,6,1,5]:[3,5,1,4],O?[6,...Array.from({length:(e?.length||7)-7},(e,t)=>t+7)]:[5,...Array.from({length:(e?.length||6)-6},(e,t)=>t+6)]].map((t,n)=>(0,y.jsx)("div",{className:"grid grid-cols-1 auto-rows-min sm:col-span-2 lg:col-span-1 lg:gap-8 "+([0,2].includes(n)?"hidden-1023":""),children:t.map(t=>
2e[t]).filter(Boolean).map((e,t)=>(0,y.jsx)("div",{className:`box-border relative ${1===n&&(!O&&[1,2].includes(t)||O&&[2,3].includes(t))?"lg:hidden":""} ${1===n&&O&&[0].includes(t)&&"hidden-1023"}`,children:(0,y.jsx)("div",{className:"scoreBox",children:e})},t))},n))}))]})})};C=i().memo((0,g.A)(C)),C.propTypes={customFields:l().shape({collection1:l().string.tag({label:"Collection 1",group:"Collections"}),collection2:l().string.tag({label:"Collection 2",group:"Collections"}),numberArticleCollection:l().number.tag({label:"Number of articles per collection (maximum 20)",defaultValue:15,group:"Collections"}),numberArticleChartbeat:l().number.tag({label:"Number of articles",defaultValue:25,group:"Chartbeat"})})},t.default=C},99970:function(e,t,n){"use strict";n.d(t,{I:function(){return i},p:function(){return o}});var r=n(40809);const i=(0,r.createContext)({featureChainComponents:[],allPackagesLayouts:""}),o=()=>(0,r.useContext)(i)},73709:function(e,t,n){"use strict";n.d(t,{C:function(){return i},p:function(){return o}});var r=n(40809);const i=(0,r.createContext)({user:void 0,setUser:e=>{},excludeInBodyAds:!1,setExcludeInBodyAds:e=>{},appBarRef:null,lightLandingArticleRef:null}),o=()=>(0,r.useContext)(i)},44542:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(4321),a=n(91411),s=n(97293),l=n(20375),c=n(45299),u=n(34766);const d=({adType:e,adIndex:t})=>{const{outputType:n,metaValue:i}=(0,o.useAppContext)(),d=(0,r.useMemo)(()=>!(0,a.Sr)(i),[i]),f=(0,c.i)(e,t);return(0,a.Hj)(n)&&!s.UU.includes(e)||!d||!f?null:(0,u.jsx)("div",{className:"text-center",children:(0,u.jsxs)("div",{"data-ad-name":e,className:"arcad bg-none mx-auto min-h-0 min-w-0 container-column",children:[(0,u.jsx)(l.A,{adType:e}),(0,u.jsx)("div",{className:`container-row justify-center\n        ${e===s.Kx.ARTICLE_TOP_LEADERBOARD?"lg:min-h-[90px]":""}\n        `,children:(0,u.jsx)("div",{className:"arcad bg-none my-0 mx-auto min-h-0 min-w-0 ad-responsive text-center\n            "+(e===s.Kx.GALLERY_MREC?"min-h-[100px]":""),children:(0,u.jsx)("div",{id:f.slotId})})})]})})};t.default=i().memo(d)},35436:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=n(40809),i=n(34766);const o=(0,r.createContext)({sportEvents:[],setSportEvents:()=>null});t.A=o;const a=({children:e})=>{const[t,n]=(0,r.useState)([]);return(0,i.jsx)(o.Provider,{value:{sportEvents:t,setSportEvents:n},children:e})}},10335:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(4321),a=n(29444),s=n.n(a),l=n(34766);const c=()=>{const{globalContent:e}=(0,o.useAppContext)();return e?(0,l.jsx)(s(),{startDate:e?.startDate,teams:e?.teams}):null};t.default=i().memo(c)},5932:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(62678),a=n(4321),s=n(14375),l=n(2153),c=n(4619),u=n(91411),d=n(34766);const f=(0,l.F)(o.default),p={width:"100%",playerVars:{autoplay:1,mute:1}},m=()=>{const{outputType:e,globalContentConfig:t}=(0,a.useAppContext)(),n=(0,r.useRef)(null),i=(0,r.useMemo)(()=>(0,u.Hj)(e),[e]),{teamName:o,gameID:l}=(0,r.useMemo)(()=>{const e=t?.query??{};return{teamName:e?.team_id||"",gameID:e?.game_id||""}},[t?.query]),m=(0,s.useContent)({source:"headline-links-doc",query:{sheetID:c.M2,sheetName:c.DN,noFilter:!0}}),h=(0,r.useMemo)(()=>(0,c.QF)(m,o,l),[m,o,l]),g=(0,r.useMemo)(()=>!!(h&&(0,c.Xj)(h,!0)||h?.youtubeUrl&&"yes"===h?.permanentVideo?.toLowerCase()),[h]),v=(0,r.useMemo)(()=>h?.youtubeEmbedCode||"",[h?.youtubeEmbedCode]),b=(0,r.useCallback)(()=>{n.current&&n.current.classList.add("hidden")},[n]);return(0,r.useEffect)(()=>{if(h){const e=setInterval(()=>(0,c.MK)(h,e,b,"yes"===h?.permanentVideo?.toLowerCase(),!0),1e4)}},[h,b]),g?(0,d.jsx)("div",{className:"pt-4 md:pt-0 md:mb-0",children:(0,d.jsx)("div",{id:"gdlivestream-wrapper",className:"md:mt-0 -mt-4 -mb-2 "+(i?"":"md:mb-0"),ref:n,children:""===v?(0,d.jsx)("img",{width:"100%",alt:"Holding-card",src:"https://media.inquirer.com/assets/Holding_card_creative.png"}):(0,d.jsx)("div",{className:"inq-youtube-card youtube-16x9",children:(0,d.jsx)(f,{videoId:v,opts:p,videoCategory:"youtube",videoLocation:"front",onEnd:()=>b})})})}):null};m.lazy=!0,t.default=i().memo(m)},88609:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var r=n(40809),i=n(4321),o=n(86780),a=n.n(o),s=n(97293),l=n(20375),c=n(65891),u=n(48906),d=n(20843),f=n(91411),p=n(45299);const m={pushdown:{create:"newPushdown",destroy:"deletePushdown"},stickyFooter:{create:"newStickyFooter",destroy:"deleteStickyFooter"}};var h=n(3806),g=n(34766);const v=({customFields:e,adIndex:t,nativeAdSlotNo:n})=>{const{requestUri:o,metaValue:a}=(0,i.useAppContext)(),v=(0,h.F)(),[b,y]=(0,r.useState)(!0),[w,x]=(0,r.useState)(!1),[_,C]=(0,r.useState)(!1),j=(0,r.useMemo)(()=>e?.adType||"",[e]),S=(0,r.useMemo)(()=>
2(0,d.j$)(a),[a]),O=(0,r.useMemo)(()=>(0,d.rD)(a),[a]),k=(0,r.useMemo)(()=>(0,d.cI)(a,"section")||S,[a,S]),E=(0,r.useMemo)(()=>o?.includes("/philly-first"),[o]),L=(0,r.useMemo)(()=>{const e=o?.toLowerCase()||"";return e.includes("gameday-central")||e.includes("/gamedaycentral/")},[o]),P=[s.Kx.HP_PREMIUM,s.Kx.HP_RAIL_1,s.Kx.HP_RAIL_2,s.Kx.HP_RAIL_3,s.Kx.SECTION_MREC,s.Kx.SECTION_RAIL,s.Kx.SECTION_RAIL_2,s.Kx.TOPIC_MREC,s.Kx.TOPIC_RAIL,s.Kx.RIGHT_RAIL_STICKY,s.Kx.GAMEDAY_RAIL_1,s.Kx.GAMEDAY_RAIL_2],N=(0,r.useMemo)(()=>[s.Kx.FOOD_LEADER_1,s.Kx.FOOD_LEADER_2].includes(j)&&(0,f.fZ)()||[...u.sF,s.Kx.FOOD_RIGHT_RAIL_1,s.Kx.FOOD_RIGHT_RAIL_2].includes(j)&&(0,f.P0)()||[...u.sF,s.Kx.FOOD_LEADER_2,s.Kx.FOOD_RIGHT_RAIL_2].includes(j)&&(0,f.dm)(),[j]),A=(0,r.useMemo)(()=>P.includes(j)&&(0,f.fZ)(),[j]);(0,r.useEffect)(()=>{_||(C(!0),v(e=>{x(1===e?.hasAdsFreeReading)},300)),!(0,s.LJ)(j,{isHome:O,isSectionFront:k,isGDC:L,isPhillyFirst:E})&&w&&y(!1)},[j,O,k,L,E,w,_]);const I=(0,r.useMemo)(()=>L&&j===s.Kx.NEW_SPORTS_MASTHEAD?s.Kx.GAMEDAY_TOP_BANNER:j,[j,L]),T=w&&!E,M=!0===e?.stickyFooterMode&&u.y7.includes(j)&&(0,f.fZ)()&&!T,R=(0,p.i)(M?"":I,t,n,T);if(((e,t)=>{const n=(0,r.useMemo)(()=>e?(0,u.pW)(e):null,[e]);(0,r.useEffect)(()=>{if(!n||"undefined"==typeof window||!window.freestar?.queue)return;const{placementName:e}=n,{create:r,destroy:i}=m[t];return window.freestar.queue.push(()=>{window.freestar[r](e)}),()=>{window.freestar?.queue&&window.freestar.queue.push(()=>{window.freestar[i](e)})}},[n,t])})(M?I:"","stickyFooter"),!b||N&&!(0,f.fZ)()||A)return null;if(M)return null;if(!R)return null;if(u.sF.includes(j))return(0,g.jsx)(c.A,{slotId:R.slotId,adType:j});if(s.q8.includes(j))return(0,g.jsxs)("div",{"data-ad-name":j,className:`text-center container-column ${(0,s.f3)(j)}`,children:[(0,g.jsx)(l.A,{adType:j,mastheadAbsolute:!0}),(0,g.jsx)("div",{className:"container-row justify-center w-full z-1",children:(0,g.jsx)("div",{className:"arcad bg-none my-0 mx-auto min-h-0 min-w-0 ad-responsive text-center content-center",children:(0,g.jsx)("div",{id:R.slotId})})})]});const D=`arc-ad-wrapper container-column text-center ${j===s.Kx.SPONSOR_LOGO?"":"my-5"}`;return(0,g.jsxs)("div",{className:D,"data-ad-name":j,children:[(0,g.jsx)(l.A,{adType:j}),(0,g.jsx)("div",{id:R.slotId})]})};v.propTypes={customFields:a().shape({adType:a().oneOf([s.Kx.HP_PREMIUM,s.Kx.HP_ISONE,s.Kx.HP_ONEPIXEL,s.Kx.HP_ADHESION,s.Kx.RIGHT_RAIL_STICKY,s.Kx.HP_SLIDER,s.Kx.HP_TOP_BANNER,s.Kx.HP_LEADER_1,s.Kx.HP_LEADER_2,s.Kx.HP_LEADER_3,s.Kx.HP_LEADER_4,s.Kx.HP_RAIL_1,s.Kx.HP_RAIL_2,s.Kx.HP_RAIL_3,s.Kx.SECTION_TOP_BANNER,s.Kx.SECTION_MREC,s.Kx.SECTION_RAIL,s.Kx.SECTION_RAIL_2,s.Kx.SECTION_LEADER,s.Kx.SECTION_LEADER_2,s.Kx.SECTION_LEADER_3,s.Kx.SECTION_ADHESION,s.Kx.SECTION_ONEPIXEL,s.Kx.SPORTS_ADHESION,s.Kx.GAMEDAY_TOP_BANNER,s.Kx.GAMEDAY_LEADER,s.Kx.GAMEDAY_LOGO,s.Kx.SPONSOR_LOGO,s.Kx.GAMEDAY_RAIL_1,s.Kx.GAMEDAY_RAIL_2,s.Kx.GAMEDAY_ADHESION,s.Kx.GAMEDAY_LEADER_BTF,s.Kx.GAMEDAY_INLINE_1,s.Kx.GAMEDAY_INLINE_2,s.Kx.GAMEDAY_INLINE_3,s.Kx.TOPIC_MREC,s.Kx.TOPIC_RAIL,s.Kx.SECTION_ANCHOR,s.Kx.PHILLY_BEST_TOP_BANNER,s.Kx.PHILLY_BEST_RAIL_1,s.Kx.PHILLY_BEST_RAIL_2,s.Kx.PHILLY_BEST_LEADER_1,s.Kx.PHILLY_BEST_LEADER_2,s.Kx.PHILLY_BEST_ADHESION,s.Kx.ARTICLE_ONEPIXEL,s.Kx.ARTICLE_LIVEBLOG_SPONSORED,s.Kx.ARTICLE_RIGHT_RAIL_BOTTOM_STICKY,s.Kx.ARTICLE_CUBE,s.Kx.ARTICLE_RIGHT_RAIL_STICKY,s.Kx.ARTICLE_RIGHT_RAIL_STICKY_2,s.Kx.ARTICLE_RIGHT_RAIL_3,s.Kx.ARTICLE_ANCHOR,s.Kx.ARTICLE_TOP_LEADERBOARD,s.Kx.ARTICLE_RAIL5,s.Kx.ARTICLE_LIVEBLOG_INLINE,s.Kx.ARTICLE_NATIVE_IN_FEED,s.Kx.EAGLES_ADHESION,s.Kx.EAGLES_RAIL,s.Kx.EAGLES_RAIL_2,s.Kx.EAGLES_LEADER_1,s.Kx.EAGLES_LEADER_2,s.Kx.EAGLES_INLINE,s.Kx.EAGLES_TOP_BANNER,s.Kx.EAGLES_ONE_PIXEL,s.Kx.NATIVE,s.Kx.ART_GUIDE_LOGO,s.Kx.PHILLY_FIRST_LEADER,s.Kx.PHILLY_FIRST_RIGHT_RAIL_LANDING,s.Kx.PHILLY_FIRST_TOP_BANNER,s.Kx.PHILLY_FIRST_TOPIC_LEADER,s.Kx.PHILLY_FIRST_TOPIC_RIGHT_RAIL,s.Kx.PHILLY_FIRST_TOPIC_TOP_BANNER,s.Kx.HP_TEXT_LINK,s.Kx.NEW_SPORTS_INLINE,s.Kx.NEW_SPORTS_MASTHEAD,s.Kx.NEW_SPORTS_LEFT_RAIL,s.Kx.FOOD_LEADER_1,s.Kx.FOOD_LEADER_2,s.Kx.FOOD_RIGHT_RAIL_1,s.Kx.FOOD_RIGHT_RAIL_2]).tag({name:"Ad Type",description:"Ad Type",defaultValue:s.Kx.ARTICLE_ANCHOR}),stickyFooterMode:a().bool.tag({name:"Sticky Footer Mode",description:"Render this adhesion slot as a Freestar Sticky Footer (mobile-only) instead of the standard mobile-sticky adhesion. Only applies to homepage and section adhesion ad types. Requires the placement to be configured as on-call sticky footer on Freestar's dashboard — calling this on a non-sticky-footer placement is a no-op on Freestar's side.",defaultValue:!1})})};var b=v},19451:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return gt}});var r=n(40809),i=n.n(r),o=n(22210),a=n(95301),s=n(4321),l=n(86780),c=n.n(l),u=n(24887),d=n(43993);const f=[{title:"News",key:"/news/"},{title:"Sports",key:"/sports/"},{title:"Business",key:"/business/"},{title:"Opinion",key:"/opinion/"},{title:"Politics",key:"/politics/"},{title:"Entertainment",key:"/entertainment/"},{title:"Life",key:"/life/"},{title:"Food",key:"/food/"},{title:"Health",key:"/health/"},{title:"Real Estate",key:"/real-estate/"},{title:"Philly First",key:"/philly-first/"},{title:"Obituaries",key:"/obituaries/"},{title:"Legal Notices",key:"https://marketplace.inquirer.com/pa/legal/search/"}],p={subMenu:[{title:"Get In Touch",items:[{url:"https://about.inquirer.com/",name:"About The Inquirer"},{url:"https://advertising.inquirer.com/",name:"Advertise"},{url:"/contact-us/",name:"Contact Us"},{url:"https://account.inquirer.com/s/helptopics",name:"Subscriber Services"},{url:"https://www.inquirer.com/about/philadelphia-inquirer-newsroom-staff.html",name:"Newsroom Staff"},{url:"https://www.inquirer.com/confidential-tips/",name:"Confidential Tips"},{url:"https://www.parsintl.com/publications/the-philadelphia-inquirer/",name:"Licensing & Permissions"},{url:"https://store.inquirer.com/collections/reprints",name:"Reprints"},{url:"/careers/",name:"Careers"},{url:"https://about.inquirer.com/delivery-jobs/",name:"Delivery Jobs"},{url:"https://www.inquirer.com/checkout/giftsubscription/",name:"Gift Subscriptions"},{url:"https://store.inquirer.com/",name:"Inquirer Store"},{url:"https://marketplace.inquirer.com/pa/legal/search/",name:"Legal Notices"},{url:"https://www.legacy.com/us/obituaries/inquirer/browse",name:"Death Notices"},{url:"/subscribe/",name:"Subscribe"}]},{title:"Giving",items:[{url:"https://philadelphiainquirer.fundjournalism.org/?utm_source=inquirer.com&utm_campaign=lenfest_inquirer.com_supportlocalnews_2.0_donation&utm_medium=none&utm_content=&utm_term=&int_promo=donate_nav_link&campaign=701Qm00000PwlBSIAZ",name:"Donate to The Inquirer"},{url:"https://www.lenfestinstitute.org/donation-information-hijf/",
2name:"Other Ways to Contribute"},{url:"https://www.lenfestinstitute.org/our-work/the-philadelphia-inquirer/",name:"About The Lenfest Institute"}]}],menu:[{items:[{url:"/news/",name:"News"},{url:d.TODAY_PAPER_URL,name:"Today’s Paper"},{url:"/news/philadelphia/",name:"Philadelphia"},{url:"/news/pennsylvania/",name:"Pennsylvania"},{url:"/news/new-jersey/",name:"New Jersey"},{url:"/politics/",name:"Politics"},{url:"/news/nation-world/",name:"Nation & World"},{url:"/education/",name:"Education"},{url:"/health/",name:"Health & Science"},{url:"/business/",name:"Business"},{url:"/real-estate/",name:"Real Estate"},{url:"/weather/",name:"Weather"},{url:"/entertainment/horoscopes/",name:"Horoscopes"},{url:"/obituaries/",name:"Obituaries"},{url:"/philly-first/",name:"Philly First"},{url:"/inquirer-live/",name:"Inquirer LIVE"}]},{items:[{url:"/sports/",name:"Sports"},{url:"/eagles/",name:"Eagles"},{url:"/phillies/",name:"Phillies"},{url:"/sixers/",name:"Sixers"},{url:"/flyers/",name:"Flyers"},{url:"/soccer/",name:"Soccer"},{url:"/wnba/",name:"WNBA"},{url:"/college-sports/",name:"College Sports"},{url:"/sports/columnists/",name:"Sports Columnists"},{url:"/sports/gameday-central",name:"Gameday Central"}]},{items:[{url:"/food/",name:"Food"},{url:"https://www.inquirer.com/76",name:"The 76 Restaurant Guide"},{url:"/food/craig-laban/",name:"Craig LaBan"},{url:"/food/restaurants/",name:"Restaurants"},{url:"https://foodfest.inquirer.com/",name:"Inquirer Food Festival"}]},{items:[{url:"/entertainment/",name:"Entertainment"},{url:"/things-to-do/",name:"Things To Do"},{url:"/arts/",name:"Arts & Culture"},{url:"/entertainment/music/",name:"Music"},{url:"/shore/",name:"Shore Guide"},{url:"/comics/",name:"Comics"},{url:"/puzzles/",name:"Puzzles"}]},{items:[{url:"/newsletters/",name:"Newsletters"}]},{items:[{url:"/opinion/",name:"Opinion"},{url:"/columnists/",name:"Columnists"},{url:"/opinion/editorials/",name:"Editorials"},{url:"/opinion/letters/",name:"Letters to the Editor"},{url:"/opinion/commentary/",name:"Commentary"}]},{items:[{url:"https://www.phillyfavorites.com/",name:"PHILLY FAVORITES"}]},{items:[{url:"/business/top-workplaces/",name:"TOP WORKPLACES"}]}]},m=[p.menu.filter(e=>["News","Sports"].includes(e.items[0].name)),p.menu.filter(e=>["Food","Entertainment"].includes(e.items[0].name)),p.menu.slice(4,11)],h=(e,t,n)=>{(0,r.useEffect)(()=>{const r=r=>{if(r?.target instanceof HTMLElement&&"HTML"!==r?.target?.nodeName&&e.current&&!e.current.contains(r.target)){n?.some(e=>{const t=e.current,n=r.target;return t&&n instanceof Node&&t.contains(n)})||!1||t(r)}};return window.addEventListener("mousedown",r),()=>{window.removeEventListener("mousedown",r)}},[e,n])};var g=n(73709),v=n(65058);var b=()=>{const e=(0,o.KH)("a-a-metric-validation");(0,r.useEffect)(()=>{e?document.body.setAttribute("data-growthbook-a-a-metric-validation","true"):document.body.setAttribute("data-growthbook-a-a-metric-validation","false")},[e])},y=n(46363),w=n.n(y),x=n(1590),_=n.n(x),C=n(41665),j=n.n(C),S=n(91219),O=n.n(S),k=n(54118),E=n(6607),L=n(97293),P=n(71530),N=n(91411);const A="top_banner",I=(e,t)=>(n,r)=>{try{if(!n){const t=document.querySelector(`[data-ad-name="${e}"]`);t?.firstElementChild&&t.firstElementChild.classList.add("hidden")}}catch(e){console.error(t,e)}},T={[L.Kx.NEW_SPORTS_INLINE]:e=>{try{if(0!==e[0]&&0!==e[1]){const e=document.querySelector(`[data-ad-name="${L.Kx.NEW_SPORTS_INLINE}"]`);e&&e.classList.add("flex","items-center","justify-center","ml-[50%]","mr-[50%]")}}catch(e){console.error("Failed to handle sports inline ad alignment:",e)}},[L.Kx.HP_LEADER_1]:I(L.Kx.HP_LEADER_1_PREMIUM,"Failed to handle HP leader ad:"),[L.Kx.SECTION_LEADER]:I(L.Kx.SECTION_LEADER_PREMIUM,"Failed to handle section leader ad:"),[L.Kx.SECTION_LEADER_2]:I(L.Kx.SECTION_LEADER_2_PREMIUM,"Failed to handle section leader 2 ad:"),[L.Kx.SECTION_LEADER_3]:I(L.Kx.SECTION_LEADER_3_PREMIUM,"Failed to handle section leader 3 ad:"),[A]:e=>{const t=document.querySelector(`[data-ad-name="${L.Kx.NEW_SPORTS_MASTHEAD}"], [data-ad-name="${L.Kx.ARTICLE_TOP_BANNER_MASTHEAD}"]`);if(t)try{if(!e)return void t.classList.remove("min-h-[50px]","md:min-
2h-[90px]","lg:min-h-[250px]","py-4");window.dispatchEvent(new CustomEvent("topBannerRendered"));const n=document.querySelector(".ad-wallpaper");if(!n)return;const r=()=>!!n.querySelector(".ccad-wallpaper-banner")&&(t.style.display="none",!0);if(r())return;const i=new MutationObserver(()=>{r()&&i.disconnect()});i.observe(n,{childList:!0,subtree:!0}),window.setTimeout(()=>i.disconnect(),2e3)}catch(e){console.error("Failed to handle sports masthead ad:",e)}}},M="inquirer-com_1x1_bouncex";let R=null;const D=()=>(R||(R=w().get("/pf/api/v3/content/fetch/headline-links-doc",{params:{query:JSON.stringify({formatType:"LineItemAd"})}}).then(({data:e})=>Array.isArray(e)?e:[]).catch(()=>(R=null,[]))),R),F=()=>{D(),window.googletag=window.googletag||{cmd:[]},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{const e=(e,t,n)=>!!(t&&e.includes(t)||n&&e.includes(n));let t=!1;const n=()=>{if(!window.freestar?.queue)return;window.freestar.queue.push(()=>{window.freestar.deleteAdSlots(M)});const e=document.querySelector('[id^="FreeStarVideoAdContainer_STN_"]');e?.id&&window.freestar.queue.push(()=>{window.freestar.deleteVideo(e.id)})},r=new Set;let i=null;const o=()=>{t||(t=!0,n(),[2e3,5e3,1e4].forEach(e=>{window.setTimeout(n,e)}),!i&&"undefined"!=typeof MutationObserver&&document.body&&(i=new MutationObserver(()=>{try{document.querySelectorAll('[id^="FreeStarVideoAdContainer_STN_"]').forEach(e=>{e.id&&!r.has(e.id)&&window.freestar?.queue&&(r.add(e.id),window.freestar.queue.push(()=>{window.freestar.deleteVideo(e.id)}))})}catch(e){}}),i.observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("pagehide",()=>{i&&i.disconnect()},{once:!0})))},a=new Set,s=e=>{try{const t=window.freestar?.refreshLibrary;if(t&&t[e])return t[e].disableRefresh=!0,!0}catch(e){}return!1},l=e=>{(e.getSlotElementId&&e.getSlotElementId())!==M&&((e=>{try{const t=e?.getSlotElementId?.();if(!t||a.has(t))return;if(a.add(t),s(t))return;let n=0;const r=window.setInterval(()=>{n+=1,(s(t)||n>=20)&&window.clearInterval(r)},1e3)}catch(e){}})(e),o())};window.googletag.pubads().addEventListener("slotRenderEnded",async t=>{const n=t?.slot?.getAdUnitPath();if(!n)return;const r=t?.size,i=n.includes("phl.phillyfirst"),o=(0,L.JQ)(n)&&!!r&&(!(0,N.V_)()||i),a=window?.PMNdataLayer?.find(e=>"ad_layout"===e?.event);if(((e,t)=>{const n=Object.keys(T).find(t=>e.includes(t));n&&T[n]&&T[n](t,e)})(n,r),((e,t,n,r)=>{!e&&t&&window?.PMNdataLayer&&window.PMNdataLayer.push({event:"ad_layout",ad_layout:`${n[0]}x${n[1]}`,ad_name:r.slice(1)||""})})(a,o,r,n),t.isEmpty||!t.lineItemId&&!t.sourceAgnosticLineItemId)return;const s=await D();e(s,t.lineItemId,t.sourceAgnosticLineItemId)&&l(t.slot)}),D().then(t=>{try{if(!t.length)return;
2window.googletag.pubads().getSlots().forEach(n=>{const r=n.getResponseInformation&&n.getResponseInformation();r&&e(t,r.lineItemId,r.sourceAgnosticLineItemId)&&l(n)})}catch(e){}})})},B=(e,t)=>{window.googletag=window.googletag||{cmd:[]},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{window.googletag.pubads().setTargeting("user_status",(0,N.LW)(e)),window.googletag.pubads().setTargeting("sub_code",(t||"").toUpperCase())})},V=()=>{const e=(()=>{if("undefined"==typeof document||!document.body)return null;const e=document.getElementById("_13f93we")||document.querySelector("div._1ol8m8e");if(e instanceof HTMLElement)return e;const t=document.body.querySelectorAll(':scope > div[dir="auto"]');for(let e=0;e<t.length;e+=1){const n=t[e];if(n instanceof HTMLElement){const e=window.getComputedStyle(n);if("fixed"===e.position&&"999999"===e.zIndex&&n.querySelector("button"))return n}}return null})();e&&(e.remove(),document.body.style.overflow="",document.body.style.top="",document.body.style.left="",window.onscroll=null)};let H=!1;const q=e=>{if("undefined"!=typeof window)if(e){window.disable_fsr=!0,sessionStorage.setItem("disable_fsr","true");const e=new Date;e.setTime(e.getTime()+864e5),document.cookie=`disable_fsr=true; expires=${e.toUTCString()}; path=/; SameSite=Lax`,(()=>{if("undefined"==typeof window||"undefined"==typeof MutationObserver)return;if(V(),H)return;H=!0;const e=new MutationObserver(()=>V());e.observe(document.documentElement,{childList:!0,subtree:!0});const t=()=>e.disconnect();setTimeout(t,15e3),window.addEventListener("pagehide",t,{once:!0})})()}else window.disable_fsr=!1,sessionStorage.removeItem("disable_fsr"),document.cookie="disable_fsr=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"},U=async()=>{const e=(0,P.Md)(d.ENCRYPTED_TOKEN_KEY);e?.state&&(B(e.state,e.sf_product_code),q(e.state===k.eF.SUBSCRIBED));const t=await(0,E.sp)();if(t?.state&&t.state!==e?.state&&B(t.state,t.sf_product_code),t?.state&&q(t.state===k.eF.SUBSCRIBED),t?.state!==k.eF.LOGGED_OUT&&t?.email){let e=t.email.trim().toLowerCase();if(e.endsWith("@gmail.com")){const[t]=e.split("@"),n=t.replace(/\./g,"").split("+")[0];e=`${n}@gmail.com`}if(!window.freestar)return;window.freestar.queue=window.freestar.queue||[],window.freestar.queue.push(()=>{window.freestar.identity.setIdentity({hashes:{sha1:j()(e).toString(),sha256:O()(e).toString(),md5:_()(e).toString()}})})}},$=e=>{(e=>{window.googletag=window.googletag||{cmd:[]},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{Object.entries(e).forEach(([e,t])=>{null!=t&&window.googletag.pubads().setTargeting(e,Array.isArray(t)?t.map(String):String(t))})})})(e),F(),U()};var z=n(65902),G=n(99970);let K=!1;async function Y(e){K||(await function(e=2e3){return new Promise(t=>{try{const n=()=>!!window?.sophi?.dataLayer?.trace&&void 0!==window?.sophi?.dataLayer?.userProperties;if(n())return void t();let r=!1;const i=()=>{r||(r=!0,t())},o=()=>{document.removeEventListener("sophi:pageview-sent",o);try{const e=(window.PMNdataLayer||[]).slice().reverse().find(e=>e&&"pageview"===e.event);e&&(e.sophi_decision_source=window?.Fusion?.sophiDecisionSource)}catch(e){}i()};document.addEventListener("sophi:pageview-sent",o,{once:!0});const a=Date.now(),s=setInterval(()=>{n()?(clearInterval(s),o()):Date.now()-a>e&&(clearInterval(s),i())},100)}catch(e){t()}})}(2e3),K||(window.PMNdataLayer.push(function(e){return{event:"pageview",pagePath:document.location.pathname+document.location.search,pageUrl:window.location.protocol+"//"+document.location.hostname+document.location.pathname+document.location.search,pageTitle:document.title,pageReferrer:e,arc_environment:"fusion",sophi_trace:window?.sophi?.dataLayer?.trace||"No Value Set",sophi_context:window?.sophi?.dataLayer?.context||"No Value Set",sophi_inputs:window?.sophi?.dataLayer?.inputs||"No Value Set",experiments_code:window?.sophi?.dataLayer?.experimentsCode||"No Value Set",sophi_decision_source:window?.Fusion?.sophiDecisionSource||"override",sophi_user_properties:window?.sophi?.dataLayer?.userProperties??"No Value Set"}}(e)),K=!0))}var W=n(1546),Z=n(63952),J=n(50903),X=n(45712),Q=n(20843),ee=n(34766);function te(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 ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?te(Object(n),!0).forEach(function(t){re(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function re(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ie=({onClick:e,openSearch:t,onMouseDown:n,customClass:r})=>(0,ee.jsx)("button",ne(ne(ne(ne({className:`cursor-pointer p-2 ${r||""}`},"function"==typeof e&&{onClick:e}),void 0!==t&&{"aria-label":"Search","aria-haspopup":"true","aria-expanded":t}),"function"==typeof n&&{onMouseDown:n}),{},{children:(0,ee.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 24 24",children:[(0,ee.jsx)("use",{href:"#search-icon-circle"}),(0,ee.jsx)("use",{href:"#search-icon-line"})]})}));var oe=(0,r.memo)(ie);const ae=({show:e,usingStickBar:t,inputRef:n,wrapperRef:i})=>{const[o,a]=(0,r.useState)(""),s=(0,r.useCallback)(e=>{window.location.href=`/search?query=${e}`},[]);return(0,ee.jsx)("div",{ref:i,className:"static lg:relative",children:(0,ee.jsx)("div",{className:`transition-all lg:w-[616px] left-0 flex flex-col\n        overflow-hidden duration-200 absolute w-full top-16\n        lg:left-8 shadow-md ${t?"lg:top-16":"lg:top-32"} ${e?"h-auto":"h-0"}`,children:(0,ee.jsx)("div",{className:"flex flex-col bg-white space-y-3 p-3 shadow-md inq-dropdown-menu px-7 py-4 "+(t?"static":""),children:(0,ee.jsxs)("div",{className:"relative",children:[(0,ee.jsx)("input",{ref:n,type:"text",placeholder:"Search","aria-required":"false","aria-label":"Search",onKeyDown:e=>{"Enter"===e.key&&s(o)},id:"search",className:"font-grot10 border border-solid border-neutral-dark-gray focus:border-primary-blue active:border-primary-blue w-full px-6 py-3 text-4",onChange:e=>a(e.target.value)}),(0,ee.jsx)("div",{className:"absolute top-1 right-1",children:(0,ee.jsx)(oe,{disabled:0===o.length,onMouseDown:()=>s(o),customClass:"bg-transparent"})})]})})})})};var se=(0,r.memo)(ae);const le=(0,r.forwardRef)(({setOpenMenu:e,openMenu:t},n)=>(0,ee.jsxs)("button",{ref:n,type:"button",role:"button","aria-label":"Full navigation","aria-haspopup":"true","aria-expanded":t,className:"flex flex-col h-3 w-4 p-0 rounded justify-center items-center group cursor-pointer bg-white",onClick:e,children:[(0,ee.jsx)("div",{className:"h-0.5 w-4 rounded-full transition ease\n      transform duration-300 opacity-100 group-hover:opacity-50 bg-black "+(t?"rotate-45 translate-y-[5px]":"")}),(0,ee.jsx)("div",{className:"h-0.5 w-4 my-[3px] rounded-full\n      transition ease transform duration-300 bg-black "+(t?"opacity-0":"opacity-100 group-hover:opacity-50")}),(0,ee.jsx)("div",{className:"h-0.5 w-4 rounded-full transition\n      ease transform duration-300 opacity-100 group-hover:opacity-50 bg-black "+(t?"-rotate-45 -translate-y-[5px]":"")})]}));le.displayName="MenuIcon";var ce=le;const ue=({openMenu:e,openSearch:t,onToggle:n,setOpenMenu:r,menuBtnRef:i})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)(ce,{setOpenMenu:r,openMenu:e,ref:i}),(0,ee.jsx)(oe,{onClick:n,openSearch:t,customClass:"mt-1 bg-white"})]});var de=(0,r.memo)(ue),fe=n(98227);const pe=({subscriberUrl:e,customClass:t})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)("a",{href:e,"aria-label":"Subscribe",role:"link","data-link-type":"global-nav",className:`flex no-underline cursor-pointer text-3 font-bold justify-end ${t}`,children:"Subscribe"}),(0,ee.jsx)("div",{className:"text-3",children:"|"})]});var me=(0,r.memo)(pe);const he=({item:e})=>(0,ee.jsxs)("div",{className:"flex justify-center items-center space-x-2",children:[e.icon&&(0,ee.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",version:"1.1",children:(0,ee.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,ee.jsxs)("g",{id:"tooltip",children:[(0,ee.jsx)("circle",{fill:"#1A6AFF",cx:"6",cy:"6",r:"6"}),(0,ee.jsx)("rect",{fill:"#FFFFFF",x:"5.25",y:"2",width:"1.5",height:"5"}),(0,ee.jsx)("rect",{fill:"#FFFFFF",x:"5.25",y:"8",width:"1.5",height:"1.5"})]})})}),(0,ee.jsx)("div",{className:`text-2.5 ${e.customClass}`,role:"link","aria-label":e.name,dangerouslySetInnerHTML:{__html:e.name}})]});var ge=i().memo(he);const ve=({item:e,children:t,googleLinkingVisible:n})=>e.path&&"#"!==e.path?(0,ee.jsx)("form",{className:`flex justify-center items-center w-full ${e.name?.toLowerCase()?.includes("local news")?"lg:hidden":""}${n?"":" sm:w-auto"}`,action:e.path,children:t}):(0,ee.jsx)(r.Fragment,{children:t});var be=i().memo(ve);const ye=({item:e,googleLinkingVisible:t})=>{switch(e?.style){case"text":return(0,ee.jsx)(ge,{item:e});case"link":return(0,ee.jsx)(fe.Button,{mode:"fill"===e.style.toLocaleLowerCase()?"fill":"outline",size:"medium",type:"link",additionalAttrs:e.additionalAttrs,link:e.path,customClass:" text-center mt-2",children:e.name});case"fill":case"outline":return(0,ee.jsx)(be,{item:e,googleLinkingVisible:t,children:(0,ee.jsx)(fe.Button,{additionalAttrs:e.additionalAttrs,size:"medium",mode:"fill"===e.style.toLocaleLowerCase()?"fill":"outline",customClass:`${e.customClass.replace("desktop","!hidden lg:!inline-flex").replace("mobile","lg:!hidden").replace("subscribe-btn","lg:!hidden").concat(" w-full sm:w-auto 
2sm:min-w-[190px] lg:min-w-0 my-2 "+(t?"max-w-none sm:w-full sm:max-w-xs lg:max-w-none":""))}`,children:e.name})});default:return null}};var we=(0,r.memo)(ye),xe=n(90249),_e=n(94713),Ce=n(70517),je=function(e){return e[e.EVENT_SUBSCRIPTION_LINKING_SUCCESS=3027]="EVENT_SUBSCRIPTION_LINKING_SUCCESS",e[e.IMPRESSION_SUBSCRIPTION_LINKING_COMPLETE=40]="IMPRESSION_SUBSCRIPTION_LINKING_COMPLETE",e}(je||{});const Se=`https://${(0,Q.O_)()?"":"dev-"}apigw.inquirer.com/`,Oe=()=>{(window.SWG=window.SWG||[]).push(e=>{e.init("inquirer.com"),e.getEventManager().then(e=>{e.registerEventListener(e=>{switch(e?.eventType){case je.IMPRESSION_SUBSCRIPTION_LINKING_COMPLETE:window.PMNdataLayer.push({event:"google_subscription_link_click"});break;case je.EVENT_SUBSCRIPTION_LINKING_SUCCESS:(0,E.sp)().then(e=>{window.PMNdataLayer.push({event:"google_subscription_link_success",auth_id:e?.auth0Id||""})})}})})})},ke=e=>{(0,E.sp)().then(t=>{const n=t?.auth0Id,r=n?.split("|")[1];r&&window?.SWG&&window.SWG.push(async t=>{try{await t.linkSubscription({publisherProvidedId:r}),e(),(e=>{(0,Ce.y)({url:`${Se}google-subscription-linking/reader?auth0Id=${encodeURIComponent(e)}`,method:"PUT"})})(n)}catch(e){console.log("Error linking subscription: ",e)}})})},Ee=({headline:e,bodyText:t,buttonText:n,hideGoogleLinkingMenu:i})=>{const o=(0,r.useCallback)(()=>ke(i),[i]);return(0,r.useEffect)(()=>{(0,_e.R)([{key:"src",value:"https://news.google.com/swg/js/v1/swg.js"},{key:"async",value:"true"},{key:"type",value:"application/javascript"},{key:"subscriptions-control",value:"manual"}],_e.z.High,Oe)},[]),(0,ee.jsx)("div",{className:"my-2 text-center font-grot10",children:(0,ee.jsxs)("div",{className:"flex flex-col gap-4 py-4 self-stretch bg-whitesmoke rounded w-full max-w-none sm:max-w-xs lg:max-w-none",children:[(0,ee.jsx)("p",{className:"font-bold text-4 leading-5 text-left px-4",children:e}),(0,ee.jsx)("p",{className:"text-[13px] leading-4.5 font-normal text-left px-4",children:t}),(0,ee.jsx)("div",{className:"px-4",children:(0,ee.jsx)("button",{onClick:o,className:"w-full select-none appearance-none bg-white border border-solid border-[#747775] rounded-md box-border text-gray-900 cursor-pointer font-medium text-base h-10 leading-10 tracking-wide outline-none overflow-hidden px-3 relative text-center transition duration-200 whitespace-nowrap max-w-[400px] min-w-min",children:(0,ee.jsxs)("div",{className:"relative flex items-center justify-center flex-no-wrap h-full w-full",children:[(0,ee.jsx)("div",{className:"h-5 w-5 mr-3 min-w-5",children:(0,ee.jsx)(xe.GoogleIcon,{})}),(0,ee.jsx)("span",{className:"overflow-hidden text-ellipsis align-top text-3.5 font-semibold",children:n||"Continue with Google"})]})})})]})})};var Le=i().memo(Ee);function Pe(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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(n),!0).forEach(function(t){Ae(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ae(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ie=({usingStickBar:e,isSubscriber:t,subscriberUrl:n,userMenuOptionsSignedOut:i,donateButtonLanguage:a,donateButtonColor:s,setRenderSubscriberBtn:l=()=>{}})=>{const c=(0,o.Br)("hijf-donate-button",{}),{buttonColor:u,language:d}=(0,r.useMemo)(()=>({buttonColor:s||c?.buttonColor||"#FED561",language:a||c?.language||"Donate to The Inquirer"}),[s,c?.buttonColor,a,c?.language]),[f,p]=(0,r.useState)({isControlVariant:!0,url:n||"https://www.inquirer.com/offers/?int_promo=subscribe&int_promo_sub_channel=subscribe_im_reg_users"}),m=(0,r.useCallback)(e=>{const t=e,{detail:n}=t;n&&"object"==typeof n&&0!==Object.keys(n).length&&(n.isControlVariant||l(!1),p(e=>Ne(Ne({},e),n)))},[l]),h=(0,r.useCallback)(e=>{"undefined"!=typeof window&&window.PMNdataLayer.push({event:"ga_generic_event",interactionType:"click",userInteraction:e,interactionDetail:"masthead_button"})},[]);return(0,r.useEffect)(()=>("undefined"!=typeof window&&window.addEventListener("piano_ab_test_registered_button",m),()=>window?.removeEventListener("piano_ab_test_registered_button",m)),[]),!c||"object"==typeof c&&0===Object.keys(c).length||!t?f?.isControlVariant||t?(0,ee.jsx)(ee.Fragment,{children:!e&&(0,ee.jsxs)("div",{className:"hidden lg:flex flex-row space-x-2 items-center ml-auto w-fit",children:[!t&&(0,ee.jsx)(me,{subscriberUrl:f?.url||n,customClass:"text-black"}),(0,ee.jsx)("a",{href:i[3].path,"aria-label":i[3].name,role:"link","data-link-type":"global-nav",className:"text-neutral-black no-underline text-3 font-bold",children:i[3].name})]})}):(0,ee.jsx)("a",{"data-link-type":"global-nav",href:`${f.url}`,className:"hidden transition-all active:brightness-50 no-underline mt-0.5 ml-auto w-fit lg:flex \\n flex-row space-x-2 items-center py-2 px-4 roun
2ded justify-center",style:{backgroundColor:f.buttonColor||"#FED561"},rel:"noreferrer",onClick:()=>h("Subscribe"),children:(0,ee.jsx)("div",{className:"font-grot10 text-center leading-4 text-3.5",style:{color:f.textColor||"black"},children:(0,ee.jsx)("div",{dangerouslySetInnerHTML:{__html:f.buttonLanguage||"Subscribe > $2 for 20 weeks"}})})}):t?(0,ee.jsx)("a",{"data-link-type":"global-nav",href:`${c.url||"https://www.inquirer.com/checkout/?int_promo=subscribe&int_promo_sub_channel=desktop_button"}`,className:"hidden transition-all active:brightness-50 no-underline mt-0.5 ml-auto w-fit lg:flex \\n flex-row space-x-2 items-center py-2 px-4 rounded justify-center",style:{backgroundColor:u},rel:"noreferrer",onClick:()=>h("Donate_to_the_Inquirer"),children:(0,ee.jsx)("div",{className:`font-grot10 text-center font-${c?.fontWeight||"bold"} leading-4 text-3.5`,style:{color:c.textColor||"black"},children:d})}):null};var Te=(0,r.memo)(Ie);const Me=({user:e,accountIcon:t,usingStickBar:n,env:i,showLoginArea:o,bannerColor:a,textColor:s,saleText:l,saleTitle:c,setShowLoginArea:u,googleLinking:d,hijfBtnLanguage:f,hijfBtnColor:p,wrapperRef:m})=>{const[h,g]=(0,r.useState)(!0),b=(0,r.useMemo)(()=>(e?.auth0Id?.length||0)>0,[e]),y=(0,r.useMemo)(()=>"prod"===i||"production"===i,[i]),w=(0,r.useMemo)(()=>e?.state===k.eF.SUBSCRIBED,[e]),x=(0,r.useMemo)(()=>(0,v.IE)(y,e),[e,y]),_=(0,r.useMemo)(()=>(0,v.gl)(b,w,y),[b,w]);return(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)("div",{className:"w-full font-grot10",children:b?(0,ee.jsxs)("div",{className:"flex flex-col cursor-pointer",children:[(0,ee.jsx)("img",{"aria-haspopup":"true","aria-expanded":o,onClick:u,className:"h-5 w-5 lg:hidden",src:t,alt:"My account"}),(0,ee.jsxs)("button",{onClick:u,"aria-haspopup":"true","aria-expanded":o,className:"hidden lg:flex text-3 justify-end items-center cursor-pointer space-x-2 bg-white lg:mb-1.5",children:[!w&&n&&h&&(0,ee.jsx)(me,{subscriberUrl:x,customClass:"text-black"}),(0,ee.jsx)("div",{children:e?.email}),(0,ee.jsx)("img",{className:"w-2 h-3 transition-transform duration-200 ml-1 "+(o?"rotate-180":""),src:"https://media.inquirer.com/assets/faAngleDown.svg",alt:"My account"})]}),(0,ee.jsx)(Te,{usingStickBar:n,isSubscriber:w,subscriberUrl:x,userMenuOptionsSignedOut:k.Ty,donateButtonLanguage:f,donateButtonColor:p,setRenderSubscriberBtn:g})]}):(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsxs)("a",{"aria-haspopup":"true","aria-expanded":o,"aria-label":"Signin/Signup","data-link-type":"global-nav",onClick:u,className:"cursor-pointer font-bold uppercase lg:hidden text-3 grid justify-end flex-wrap sm:flex leading-3.5",children:[(0,ee.jsx)("span",{className:"inline-block whitespace-nowrap",children:"Sign In / "}),(0,ee.jsx)("span",{className:"inline-block whitespace-nowrap",children:"Sign Up"})]}),(0,ee.jsxs)("div",{className:"subscribe-btn items-center space-x-3 lg:flex hidden",children:[(0,ee.jsx)("a",{className:"cursor-pointer font-bold text-3 text-neutral-black hidden lg:inline transition-all duration-500 ease-in-out opacity-1 auth0-log-in login-btn sign-in align-middle uppercase underline xxl:text-3.5",role:"link","aria-label":"Sign in","data-link-type":"global-nav",children:"Sign in"}),(0,ee.jsx)("a",{className:"subscribe no-underline",role:"link","aria-label":"Subscribe","data-link-type":"global-nav",href:x,children:(0,ee.jsxs)("button",{className:"transition-all duration-300 ease-out rounded cursor-pointer font-grot10 py-2 px-6 text-neutral-black signup-wrapper hidden lg:inline-block relative whitespace-no-wrap text-3.5 uppercase bg-[#fed561] border border-[#fed561] test-subscribe-btn leading-4 overflow-hidden","data-link-type":"global-nav",style:{backgroundColor:a,borderColor:a,color:s},role:"button",children:[(0,ee.jsx)("b",{children:c.toUpperCase()}),(0,ee.jsx)("div",{className:"transition-all text-3 duration-300 ease-in-out offer-language font-light normal-case\n                        tracking-normal overflow-hidden "+(n?"hidden":""),children:l})]})})]})]})}),(0,ee.jsx)("div",{className:"static lg:relative z-1",ref:m,children:(0,ee.jsx)("div",{className:`transition-all left-0 lg:left-auto lg:right-0 flex overflow-hidden duration-200 absolute w-full top-16 justify-center bg-white  lg:w-auto lg:top-0 shadow-md ${n?"lg:top-[5px]":""} ${o?"h-auto":"h-0"}`,children:(0,ee.jsx)("div",{className:"w-full sm:w-[400px] "+(d?.isVisible?"lg:w-72":"lg:w-[254px]"),children:(0,ee.jsxs)("div",{className:`flex flex-col justify-center items-center shadow-none inq-dropdown-menu p-3 pb-5 sm:mx-auto ${n?"static":""} ${d?.isVisible?"px-6":""}`,children:[_.map((e,t)=>(0,ee.jsx)(we,{item:e,googleLinkingVisible:d?.isVisible},`menu-user-item-${e.name}-${t}
2`)),d.isVisible&&(0,ee.jsx)(Le,{headline:d.headline,bodyText:d.bodyText,buttonText:d.buttonText,hideGoogleLinkingMenu:d.hideGoogleLinkingMenu}),(0,ee.jsx)(fe.Button,{mode:"secondary",size:"medium",type:"link",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Sign out"},link:"#",customClass:`h-auto text-center mt-2 ${b?"":"hidden"} logout-btn`,children:"Sign out"})]})})})})]})};var Re=(0,r.memo)(Me);const De=({menu:e})=>{const t=(0,r.useMemo)(()=>e.items[0],[e]),n=(0,r.useMemo)(()=>e.items.slice(1),[e]);return(0,ee.jsxs)("nav",{className:"flex flex-col w-full pb-3 mt-1",children:[(0,ee.jsx)("a",{"aria-label":`${t?.name}`,"data-link-type":"mega-nav",href:t.url,"data-pb-placeholder":`${(0,Q.$_)()}${t.url}`,className:"no-underline pb-2 pl-4 sm:pl-5 uppercase font-grot12-condensed leading-none text-4.5 font-semibold hover:underline text-black",children:t.name}),(0,ee.jsx)("div",{className:"border-b border-solid border-gray-300 max-w-full"}),(0,ee.jsx)("div",{className:"flex flex-col pt-2 space-y-1 ml-4 sm:ml-5","aria-label":`List ${t?.name} ${n?.length} items`,children:n.map((e,n)=>(0,ee.jsx)("a",{"data-link-type":"mega-nav",className:"no-underline font-grot10 text-4 leading-4.5 font-light border-t border-solid border-transparent hover:underline text-primary",href:e.url,"data-pb-placeholder":`${(0,Q.$_)()}${e.url}`,children:e.name},`app-nav-menu-item-${t.name}-${e.name}-${n}`))})]})};var Fe=(0,r.memo)(De);const Be=()=>(0,ee.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"hidden",children:(0,ee.jsxs)("defs",{children:[(0,ee.jsx)("path",{d:"M0 0h24v24H0z",fill:"none",id:"search-icon-circle"}),(0,ee.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",id:"search-icon-line"})]})});var Ve=(0,r.memo)(Be),He=n(85812);var qe=n(15338);const Ue=({mobileSubscriberBar:e})=>{const{appBarRef:t}=(0,g.p)(),n=(({hasSubBar:e})=>{const{scrollDirection:t}=(0,He.x)(),n=(0,r.useRef)(!1);return e&&"down"===t&&(n.current=!0),e&&n.current?"down":t})({hasSubBar:!0}),[i,o]=(0,r.useState)(!1),{textColor:a,backgroundColor:s,html:l,redirectUrl:c,isBehaviorStatic:u,isScrollDirectionDown:d}=(0,r.useMemo)(()=>({textColor:e?.textColor,backgroundColor:e?.backgroundColor||"",html:e?.html||"",redirectUrl:e?.redirectUrl||"",isBehaviorStatic:"static"===e?.behavior,isScrollDirectionDown:"down"===n}),[e,n]),f=(0,r.useMemo)(()=>"flex justify-center items-center gap-1.5 h-9 mx-auto text-3.5 leading-5 text-center no-underline\n    transition-all duration-200 ease-in-out\n    "+(d||u?"w-full":"w-1/2"),[d,u]),p=(0,r.useCallback)(()=>{const e=t?.current?.querySelector(".global-app-bar");e&&!e.classList.contains("max-sm:min-h-[98px]")&&e.classList.add("max-sm:min-h-[98px]")},[]),m=(0,r.useCallback)(()=>{(d||u)&&i&&p()},[d,i,u,p]);return(0,r.useEffect)(()=>{document.querySelector(".big-top-wrapper")&&u&&i&&p()},[u,i,p]),(0,r.useEffect)(()=>{o(Object.values(e||{}).every(e=>!!e)&&!(0,N.RI)(e)&&5===Object.keys(e||{}).length)},[e]),(0,r.useEffect)(()=>(m(),"undefined"!=typeof window&&window.addEventListener("scroll",m),()=>{window.removeEventListener("scroll",m)}),[m]),i?(0,ee.jsx)("div",{className:"subscriber-bar -z-1 font-grot10 sm:hidden transition-all duration-200 ease-in-out overflow-hidden h-9 absolute w-full",style:{top:d||u?qe._:0},children:(0,ee.jsx)("a",{"data-link-type":"subscribe-banner",href:c,className:f,style:{color:a,backgroundColor:s},children:(0,ee.jsx)("div",{className:f,dangerouslySetInnerHTML:{__html:l||""}})})}):null};var $e=i().memo(Ue),ze=n(13341),Ge=n.n(ze);const Ke=({logoColor:e,customClassDesktop:t,customClassMobile:n,wrapperCustomClass:r})=>(0,ee.jsx)("a",{"data-link-type":"global-nav","aria-label":"The Philadelphia Inquirer - Go to homepage link",role:"link",className:`flex-1 relative ${r||"w-[140px] sm:w-[325px] lg:w-[500px]"}`,href:"/",children:(0,ee.jsx)(Ge(),{customClassDesktop:t,customClassMobile:n,logoColor:e})});var Ye=i().memo(Ke),We=n(46163),Ze=n.n(We);const Je=({isStickyStyle:e})=>(0,ee.jsx)("div",{className:"absolute left-0 right-0 h-full flex items-center justify-center",children:(0,ee.jsx)(Ze(),{urlIPart:"/",urlFoodPart:"/food",customClassIPart:"mx-auto fill-black lg:fill-secondary-yellow h-8 sm:h-[37px]"+(e?"":" lg:h-[57px]"),customClassFoodPart:"pl-1 h-8 fill-black lg:fill-secondary-yellow sm:h-[37px]"+(e?"":" lg:h-[57px]")})});var Xe=i().memo(Je),Qe=n(72380),et=n.n(Qe);const tt=({isStickyStyle:e})=>(0,ee.jsx)("div",{className:"absolute left-0 right-0 h-full flex items-center justify-center",children:(0,ee.jsx)(et(),{urlIPart:"/",urlSportsPart:"/sports",customClassWrapper:"mx-auto gap-2"+(e?"":" lg:gap-3.5"),customClassIPart:"text-neutral-text-color lg:text-secondary-orange h-7 md:h-8 gap-1.5 md:gap-1"+(e?"":" lg:h-14 lg:gap-2.5"),customClassPike:"w-px h-6 md:h-7"+(e?"":" lg:h-[46px]"),customClassSportsPart:"text-neutral-text-color lg:text-secondary-orange h-7 md:h-8"+(e?"":" lg:h-14")})});var nt=i().memo(tt);const rt=({isSportsAppbar:e,isFoodAppbar:t,usingStickBar:n})=>{const i=(0,r.useMemo)(()=>e||t,[e,t]);return(0,ee.jsx)(ee.Fragment,{children:i?(0,ee.jsx)("div",{className:"flex-1 relative",children:e?(0,ee.jsx)(nt,{isStickyStyle:n}):(0,ee.jsx)(Xe,{isStickyStyle:n})}):(0,ee.jsx)(Ye,{customClassDesktop:n?" lg:w-[325px]":" lg:w-[500px]",customClassMobile:" w-[140px]"})})};var it=(0,r.memo)(rt),ot=n(3806);var at=n(987);const st=()=>{let e=!1,t=0;const n=()=>{e||(window.blueConicClient?.getSegments?(e=!0,setTimeout(()=>{(()=>{try{if(!window.blueConicClient?.getSegments)return void console.warn("[BLUECONIC-SOPHI] BlueConic client not available");const e={"Any checkout activity":"checkout_activity","Recently read newsletter":"newsletter_reader","SF Sub Status: terminated":"former_subscriber"},t=(window.blueConicClient.getSegments()||[]).map(e=>
2e.name||e.id||e),n=[];t.forEach(t=>{const r=e[t];r&&n.push(r)}),console.log("Sophi-tracked segments:",n);const r={event:"BlueConic",profile:{segments:n}};console.log("DataLayer object being pushed:",r),console.log("========================================"),window.PMNdataLayer=window.PMNdataLayer||[],window.PMNdataLayer.push(r),console.log("✅ Successfully pushed to PMNdataLayer"),console.log("📊 Full PMNdataLayer:",window.PMNdataLayer)}catch(e){console.error("[BLUECONIC-SOPHI] Error pushing segments:",e)}})()},2e3)):t<20&&(t+=1,setTimeout(n,500)))};n()},lt=({appBarRef:e,wrapperMenuRef:t,secondWrapperMenuRef:n,openMenu:i,isDesktop:o,usingStickBar:a})=>{(0,r.useEffect)(()=>{if(o||!i)return;const t=e.current?parseInt(window.getComputedStyle(e.current).zIndex||"0",10):0,n=new Set,r=e=>{(e=>{if(!e.isConnected)return!1;if(!e.querySelector("video, iframe"))return!1;const n=window.getComputedStyle(e);if("fixed"!==n.position)return!1;const r=parseInt(n.zIndex||"0",10);return!Number.isNaN(r)&&r>t})(e)?n.has(e)||(n.add(e),e.style.setProperty("display","none","important")):n.delete(e)};document.querySelectorAll("video, iframe").forEach(e=>{let t=e.parentElement;for(;t&&t!==document.body;)r(t),t=t.parentElement});const a=new MutationObserver(e=>{e.forEach(e=>{"attributes"===e.type&&e.target instanceof HTMLElement?r(e.target):"childList"===e.type&&(e.addedNodes.forEach(e=>{e instanceof HTMLElement&&r(e)}),e.removedNodes.forEach(e=>{e instanceof HTMLElement&&n.delete(e)}))})});return a.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class","style"]}),()=>{a.disconnect(),n.forEach(e=>e.style.removeProperty("display")),n.clear()}},[i,o]),(0,r.useEffect)(()=>{if(o||!i)return;const e=a?n:t,r=()=>{const t=document?.body||null,n=e?.current?.parentElement||null;if(!t||!n)return;const{innerHeight:r}=window,{clientHeight:i}=document.documentElement,o=i===r?i:r,a=n.getBoundingClientRect().top;t.style.overflow="hidden",n.style.height=o-a+"px"};return r(),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r);const t=document?.body||null,n=e?.current?.parentElement||null;t&&(t.style.overflow=""),n&&(n.style.height="")}},[i,o,a])};var ct=({openMenu:e,wrapperMenuRef:t,topOffsetClass:n,subtitleLeadingClass:r,user:i,renderMenuBox:o})=>(0,ee.jsx)("div",{"aria-hidden":!e,className:`transition-all w-full duration-200 absolute left-0 ${n} ${e?"lg:h-auto lg:pb-3":"h-0"}`,children:(0,ee.jsx)("div",{ref:t,className:"max-w-screen-xl w-full mx-auto shadow-md overflow-auto h-full",children:(0,ee.jsxs)("div",{className:"flex flex-col lg:flex-row bg-white w-full gap-x-4",children:[(0,ee.jsx)("div",{className:"flex flex-col sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:space-y-0 gap-x-4 lg:w-4/5 pt-7 lg:pt-5 lg:pb-12 px-0 sm:px-5",children:m.map((e,t)=>(0,ee.jsx)("div",{className:"sm:mx-auto lg:mx-0 sm:max-w-[220px] w-full",children:e.map((e,t)=>(0,ee.jsx)("div",{className:("Opinion"===e.items[0].name?(0,v.C4)(t,0):"")||("Life"===e.items[0].name?(0,v.C4)(t,1):""),children:o(e)},`menu-nav-parent-${t}`))},`wrapper-menu-nav-${t}`))}),(0,ee.jsx)("div",{className:"sm:grid sm:grid-cols-2 flex flex-col gap-4 sm:px-5 lg:pl-0 pb-12 lg:pr-5 pt-3 lg:w-2/5 h-full bg-white",children:p.subMenu.map((e,t)=>(0,ee.jsxs)("nav",{"aria-label":`List ${e?.title} ${e?.items?.length} items`,className:`flex flex-col lg:pl-0 lg:max-w-[200px] sm:max-w-[220px] w-full mx-auto ${e?.customClass||""}`,children:[(0,ee.jsx)("div",{className:`font-semibold pl-5 pb-2 pt-3 uppercase font-grot12-condensed text-4.5 ${r}`,children:e.title}),(0,ee.jsx)("div",{className:"border-b border-solid mb-2 border-gray-300 max-w-full"}),e.items.map((e,n)=>(0,ee.jsx)("a",{"data-link-type":"mega-nav",role:"link",className:"px-5 no-underline text-primary text-4 leading-4.5 mb-2 hover:underline "+(i?.state===k.eF.SUBSCRIBED&&"Subscribe"===e.name?"hidden":""),"aria-label":e.name,href:e.url,children:e.name},`menu-nav-sub-menu-${t}-item-${n}`))]},`menu-nav-sub-menu-${t}`))})]})})});var ut=({show:e,arrowRef:t})=>e?(0,ee.jsx)("div",{ref:t,className:"absolute bottom-0 flex cursor-pointer justify-center align-end z-1",children:(0,ee.jsx)("div",{className:"w-0 relative border-l-5 border-l-transparent border-solid border-r-5 border-r-transparent border-b-6 border-blue-mid"})}):null;var dt=({displayDate:e,className:t})=>(0,ee.jsxs)("div",{className:t,children:[(0,ee.jsx)("div",{className:"flex flex-row items-center",children:(0,ee.jsx)("div",{"aria-label":e,className:"text-3 mb-1 mr-1",children:e})}),(0,ee.jsxs)("div",{className:"flex gap-1 text-3 font-bold leading-3.5",children:[(0,ee.jsx)("a",{href:d.TODAY_PAPER_URL,id:"todayspaper","data-link-type":"global-nav","aria-label":"Print Copy of Today's Paper",role:"link",className:"no-underline text-black",children:"Today's Paper"}),"|",(0,ee.jsx)("a",{className:"no-underline text-black",href:J.AQ,"data-link-type":"global-nav","aria-label":J.VZ,role:"link",children:J.VZ})]})]});
2const ft=["ccad-primary-tracker","ccad-secondary-tracker","ccad-gutter-center","ccad-gutter-left","ccad-gutter-right","ccad-banner"];var pt=()=>((0,r.useEffect)(()=>{let e=0;const t=window.setInterval(()=>{if(e+=1,e>30)return void window.clearInterval(t);const n=window?.services?.loginService?.user;if(!n)return;if(void 0===n.hasAdsFreeReading)return;if(window.clearInterval(t),!(0,N.V_)()||(()=>{const e=window.location.pathname;return e.startsWith("/philly-first")||e.startsWith("/phillyfirst")||e.startsWith("/topic/")&&e.includes("philly-first")})())return;if(!document.getElementById("fs-sticky-footer-hide")){const e=document.createElement("style");e.id="fs-sticky-footer-hide",e.textContent="#fs-sticky-footer{display:none !important}",document.head.appendChild(e)}const r=document.getElementById("inquirer-com_top_banner");r&&r.remove(),ft.forEach(e=>{const t=document.getElementById(e);t&&t.remove()});const i=document.querySelector(".ad-wallpaper");i&&i.classList.remove("ad-wallpaper");const o=document.querySelector(".layout-ad-wrapper");o instanceof HTMLElement&&(o.style.backgroundColor="",o.style.position="",o.style.zIndex="",o.style.maxWidth="",o.style.margin="",o.style.paddingTop="")},300);return()=>{window.clearInterval(t)}},[]),null);const mt={headline:"Get more Philly with Google",bodyText:"Connect your Inquirer subscription with your Google account to seamlessly switch between devices,\n  for easy logins, article searches, and more!",btnText:"Continue with Google"};let ht=({fusionEnv:e,customFields:t})=>{const n=(0,o.mf)(),{user:i,setUser:l,appBarRef:c}=(0,g.p)(),{deployment:u,globalContent:d,metaValue:p}=(0,s.useAppContext)(),{allPackagesLayouts:m}=(0,G.p)(),[y,w]=(0,r.useState)(!1),[x,_]=(0,r.useState)(!1),[C,j]=(0,r.useState)(!1),[S,O]=(0,r.useState)(!1),[P,A]=(0,r.useState)(!1),I=(0,o.Br)("mobile-subscribe-banner-on-scroll",{}),[T,M]=(0,r.useState)(!1),R=(0,ot.F)(),D=(0,r.useRef)(),F=(0,r.useRef)(),B=(0,r.useRef)(),V=(0,r.useRef)(),H=(0,r.useRef)(),q=(0,r.useRef)(),K=(0,r.useRef)(),te=(0,r.useRef)(),ne=(0,r.useRef)(),re=(0,r.useRef)(),ie=(0,r.useRef)(),oe=(0,r.useRef)(),ae=(0,r.useRef)(),le=(0,r.useRef)(),ce=(0,r.useRef)(),ue=(0,r.useRef)(),fe=(0,r.useMemo)(()=>t?.saleTitle||"Subscribe",[t?.saleTitle]),pe=(0,r.useMemo)(()=>t?.saleText||"Special offer",[t?.saleText]),me=(0,r.useMemo)(()=>t?.bannerColor||"#fed561",[t?.bannerColor]),he=(0,r.useMemo)(()=>t?.textColor||"#000000",[t?.textColor]),ge=(0,r.useMemo)(()=>t?.gslHeadline||mt.headline,[t?.gslHeadline]),ve=(0,r.useMemo)(()=>t?.gslBodyText||mt.bodyText,[t?.gslBodyText]),be=(0,r.useMemo)(()=>t?.gslBtnText||mt.btnText,[t?.gslBtnText]),ye=(0,r.useMemo)(()=>t?.hijfBtnLanguage||"",[t?.hijfBtnLanguage]),we=(0,r.useMemo)(()=>t?.hijfBtnColor||"",[t?.hijfBtnColor]),xe=(0,r.useMemo)(()=>u("/pf/resources/images/avatar_3x.png"),[u]),_e=(0,r.useMemo)(()=>{const e=new Date;return`${(0,X.gv)(e,!0)}, ${(0,X.jB)(e,!0)} ${e.getDate()}, ${e.getFullYear()}`},[]),je=(0,r.useMemo)(()=>"true"===p(J.se),[p]),Oe=(0,r.useMemo)(()=>(0,E.fK)(d?.sportsNav||[]),[d?.sportsNav]),ke=(0,r.useMemo)(()=>!(0,N.VP)(Oe)&&je,[Oe,je]),Ee=(0,r.useMemo)(()=>"true"===p(J.nG),[p]),Le=(0,r.useMemo)(()=>(0,E.K)(d?.foodNav||[]),[d?.foodNav]),Pe=(0,r.useMemo)(()=>!(0,N.VP)(Le)&&Ee,[Le,Ee]),Ne=(0,r.useMemo)(()=>!("undefined"==typeof window||!window?.location)&&(!window.location.pathname.includes("/offers")&&"true"!==p("isPageNoSubscriberBar")&&!!I&&Object.keys(I).length>0),[p,I]),Ae=(0,r.useMemo)(()=>ke?Oe:Pe?Le:f,[ke,Oe,Pe,Le,f]),Ie=(0,r.useCallback)(t=>{(0,v.oO)(e,d,t)},[e,d,p]),Te=(0,r.useCallback)(t=>{if(P)return;const n=!1===(navigator?.userAgent||"").includes("Chrome-Lighthouse")||"prod"===e.ENV;setTimeout(()=>{A(!0),Ie(t)},n?0:1e4)},[Ie,P,e]),Me=(0,r.useCallback)(e=>{var t;e?.state===k.eF.SUBSCRIBED&&(t=e?.auth0Id,(0,Ce.y)({url:`${Se}google-subscription-linking/reader?auth0Id=${encodeURIComponent(t)}`}).then(e=>e?.hasLinkedAccount||!1).catch(()=>!1)).then(e=>M(!e))},[]),De=(0,r.useCallback)(()=>{const t=(0,a.getDecryptedUser)();(0,a.addUserToDataLayer)(t),function(e="GTM-PMVLLW"){window.PMNdataLayer?.some(e=>e["gtm.start"])||(window.PMNdataLayer?.push({event:"original-location",originalLocation:window.location.protocol+"//"+document.location.hostname+document.location.pathname+document.location.search,arc_environment:"fusion"}),function(e,t,n,r,i){e[r]=e[r]||[],e[r].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var o=t.getElementsByTagName(n)[0],a=t.createElement(n),s="&l="+r;a.async=!0,a.src="//www.googletagmanager.com/gtm.js?id="+i+s,o.parentNode&&o.parentNode.insertBefore(a,o)}(window,document,"script","PMNdataLayer",e))}(e.G_TAG_MANAGER_CONTAINER_ID),(0,v.o)(e,()=>{R(e=>{l(e),Me(e),U(),(0,W.y)(n)},1e3),Y(""),st()})},[e,l]),Be=(0,r.useCallback)(()=>{V?.current&&!C?V.current.focus():H?.current&&C&&H.current.focus()},[V?.current,H?.current,C]),Ue=(0,r.useCallback)((e,t)=>{_(e),O(t),w(!1),Be()},[Be]),ze=(0,r.useCallback)(()=>{q?.current&&(q.current.style.width=`${te?.current?.clientWidth||0}px`,q.current.style.right="8px"),K?.current&&(K.current.style.width=`${te?.current?.clientWidth||0}px`,K.current.style.right="8px")},[q?.current,K?.current,te?.current]),Ge=(0,r.useCallback)(()=>{!1===(navigator?.userAgent||"").includes("Chrome-Lighthouse")||"prod"===e.ENV?De():setTimeout(()=>{De()},1e4)},[]),Ke=(0,r.useCallback)((e,{isMobile:t,isDesktop:n})=>{const{adWallpaperBanner:r,newSportsMastheadAd:i,adWallpaperBannerHeight:o,newSp
2ortsMastheadAdHeight:a}=e,s=c?.current||null,l=D?.current||null,u=F?.current||null;if(!s||!l||!u)return;const d=Ne&&t?qe.U_:0,f=(n?qe.Uy:qe._)+d,p=(r?window.scrollY>o+f:window.scrollY>a+f)||!1;if(i&&!(!r&&!!i)){i.classList.remove("min-h-[50px]","md:min-h-[90px]","lg:min-h-[250px]","py-4");const e=i.querySelector(".type-button");e&&e.classList.add("hidden")}const m=!!i&&s.contains(i);Object.assign(s.style,{position:n?"unset":"",top:!n&&m?`-${a}px`:""}),Object.assign(u.style,{maxWidth:r?"1280px":"none"}),C&&(r||i)&&!p&&j(!1)},[c?.current,D?.current,C,Ne]),Ye=(0,r.useCallback)((e,t)=>{const{adWallpaperBannerHeight:n,newSportsMastheadAdHeight:r}=e,{isDesktop:i}=t,o=window.scrollY,a=i?qe.Uy:qe._,s=Math.max(n,r),l=s>0?o>=s+a:o>qe.AK;l&&!C?j(!0):!l&&o<qe.AK-65&&C&&j(!1),Ke(e,t)},[C,Ke]),{isDesktop:We}=(({updateArrowPosition:e,onScroll:t})=>{const n=(0,He.x)(),{isMobile:i,isDesktop:o}=n,a=(0,r.useRef)(t),s=(0,r.useRef)(e);return a.current=t,s.current=e,(0,r.useEffect)(()=>{a.current((0,qe.AU)(),{isMobile:i,isDesktop:o})},[n,i,o]),(0,r.useEffect)(()=>{s.current()},[i,o]),{isMobile:i,isDesktop:o,getAdInfo:qe.AU}})({updateArrowPosition:ze,onScroll:Ye}),Ze=(0,r.useCallback)(e=>{"Escape"===e.key&&(w(!1),re.current&&re.current.focus(),ie?.current&&ie.current.focus())},[w,re?.current,ie?.current]),Je=(0,r.useCallback)(e=>{(0,z.hc)(e?"open":"close"),w(e)},[]);return b(),h(ne,()=>Je(!1),[le]),h(le,()=>Je(!1),[ne]),h(oe,()=>O(!1),[ae]),h(ae,()=>O(!1),[oe]),h(ce,()=>_(!1),[ue]),h(ue,()=>_(!1),[ce]),(0,r.useEffect)(()=>{Ge(),$((0,L.jP)(d)),(0,at.Si)(p,d,e?.ENV||"",e?.GOOGLEANALYTICS_ID||"",m);const t=window.LUX||{};Object.keys(t).length&&(t.minMeasureTime=5e3,t.label=p("pagetype")||"")},[]),(0,r.useEffect)(()=>{const e=(0,Q.Gi)(p)?(0,at.O9)():{};Te(e)},[Te]),(0,r.useEffect)(()=>{q?.current&&(re?.current&&(q.current.style.height=q.current.style.width="48px"),y?q.current.style.left="4px":x?q.current.style.left="36px":S&&ze())},[q?.current,re?.current,y,x,S,q]),(0,r.useEffect)(()=>{K?.current&&(ie?.current&&(K.current.style.height=K.current.style.width="48px"),y?K.current.style.left="4px":x?K.current.style.left="36px":S&&ze())},[K?.current,ie?.current,y,x,S]),(0,r.useEffect)(()=>(y&&document.addEventListener("keydown",Ze),()=>{document.removeEventListener("keydown",Ze)}),[y,Ze]),lt({appBarRef:D,wrapperMenuRef:ne,secondWrapperMenuRef:le,openMenu:y,isDesktop:We,usingStickBar:C}),(0,ee.jsxs)(Z.t,{children:[(0,ee.jsxs)("nav",{ref:D,className:"global-app-bar sticky top-0 border-solid bg-white z-modal inset-x-0 border-b-2 lg:border-b box-border",children:[(0,ee.jsxs)("div",{ref:B,className:"app-bar-wrapper h-[62px] bg-white flex flex-col max-w-[1240px] mx-auto px-5 justify-center relative inset-x-0 lg:h-[127px]",children:[(0,ee.jsx)(ut,{show:y||x||S,arrowRef:q}),(0,ee.jsx)(se,{show:x,usingStickBar:!1,inputRef:V,wrapperRef:ce}),(0,ee.jsxs)("div",{className:"flex flex-row flex-auto",children:[(0,ee.jsx)(Ve,{}),(0,ee.jsx)("div",{className:"flex-1 flex items-center space-x-2 lg:hidden",children:(0,ee.jsx)(de,{onToggle:()=>Ue(!x,!1),setOpenMenu:()=>Je(!0),openMenu:y,openSearch:x,menuBtnRef:re})}),(0,ee.jsx)(dt,{displayDate:_e,className:"hidden flex-1 flex-col space-y-1 justify-center lg:flex lg:pt-3"}),(0,ee.jsx)("div",{className:"flex-1 text-center justify-center items-center flex lg:pt-3",children:(0,ee.jsx)(it,{isSportsAppbar:ke,isFoodAppbar:Pe,usingStickBar:!1})}),(0,ee.jsx)("div",{className:"flex-1 flex items-center justify-end lg:pt-3",children:(0,ee.jsx)("div",{ref:te,className:"text-right",children:(0,ee.jsx)(Re,{user:i,accountIcon:xe,usingStickBar:!1,saleText:pe,saleTitle:fe,bannerColor:me,textColor:he,env:e.ENV,showLoginArea:S,setShowLoginArea:()=>Ue(!1,!S),googleLinking:{isVisible:T,headline:ge,bodyText:ve,buttonText:be,hideGoogleLinkingMenu:()=>M(!1)},hijfBtnLanguage:ye,hijfBtnColor:we,wrapperRef:oe})})})]}),(0,ee.jsxs)("div",{className:"flex transition-all duration-250 flex-row h-0 overflow-hidden items-center lg:h-13",children:[(0,ee.jsx)("div",{className:"flex-1 lg:flex items-center space-x-2 hidden",children:(0,ee.jsx)(de,{onToggle:()=>Ue(!x,!1),setOpenMenu:()=>Je(!0),openMenu:y,openSearch:x,menuBtnRef:re})}),(0,ee.jsx)("div",{className:"flex overflow-hidden items-center",children:(0,ee.jsx)("div",{className:"flex-wrap justify-center flex overflow-hidden h-4 transition-all duration-500 ease-in-out",children:Ae.map((e,t)=>(0,ee.jsx)("a",{"data-link-type":"header-nav-main","aria-label":e.title,role:"link",className:"uppercase no-underline text-black cursor-pointer text-3 "+(0===t?"mx-5":"mr-5"),href:e.key,children:e.title},`menu-top-items-${t}`))})}),(0,ee.jsx)("div",{className:"flex-1"})]})]}),y&&(0,ee.jsx)(ct,{openMenu:y,wrapperMenuRef:ne,topOffsetClass:"top-16 lg:top-32",subtitleLeadingClass:"leading-none",user:i,renderMenuBox:e=>(0,ee.jsx)(Fe,{menu:e})}),Ne&&(0,ee.jsx)($e,{mobileSubscriberBar:I})]}),(0,ee.jsxs)("nav",{ref:F,style:{transitionDuration:C?"300ms":"0ms"},className:"global-app-bar fixed top-0 z-modal border-solid bg-white inset-x-0 border-b-2 lg:border-b transition-all mx-auto box-border hidden lg:block "+(C?"visible opacity-100":"invisible opacity-0"),children:[(0,ee.jsxs)("div",{ref:B,className:"app-bar-wrapper h-[62px] bg-white flex flex-col max-w-[1240px] mx-auto px-5 justify-center relative inset-x-0",children:[(0,ee.jsx)(ut,{show:y||x||S,arrowRef:K}),(0,ee.jsx)(se,{show:x,usingStickBar:!0,inputRef:H,wrapperRef:ue}),(0,ee.jsxs)("div",{className:"flex flex-row flex-auto",children:[(0,ee.jsx)(Ve,{}),(0,ee.jsx)("div",{className:"flex-1 flex items-center space-x-2",children:(0,ee.jsx)(de,{onToggle:()=>Ue(!x,!1),setOpenMenu:()=>Je(!0),openMenu:y,openSearch:x,menuBtnRef:ie})}),(0,ee.jsx)("div",{className:"flex-1 text-center justify-center items-center flex",children:(0,ee.jsx)(it,{isSportsAppbar:ke,isFoodAppbar:Pe,usingStickBar:!0})}),(0,ee.jsx)("div",{className:"flex-1 flex items-center justify-end",children:(0,ee.jsx)("div",{ref:te,className:"text-right",children:(0,ee.jsx)(Re,{user:i,accountIcon:xe,usingStickBar:!0,saleText:pe,saleTitle:fe,bannerColor:me,textColor:he,env:e.ENV,showLoginArea:S,setShowLoginArea:()=>Ue(!1,!S),googleLinking:{isVisible:T,headline:ge,bodyText:ve,buttonText:be,hideGoogleLinkingMenu:()=>M(!1)},hijfBtnLanguage:ye,hijfBtnColor:we,wrapperRef:ae})})})]})]}),y&&(0,ee.jsx)(ct,{openMenu:y,wrapperMenuRef:le,topOffsetClass:"top-16",
2subtitleLeadingClass:"leading-none",user:i,renderMenuBox:e=>(0,ee.jsx)(Fe,{menu:e})}),Ne&&(0,ee.jsx)($e,{mobileSubscriberBar:I})]}),(0,ee.jsx)(pt,{})]})};ht=(0,r.memo)((0,u.A)(ht)),ht.propTypes={customFields:c().shape({saleTitle:c().string.tag({name:"Sales Title",defaultValue:"Subscribe"}),saleText:c().string.tag({name:"Sales Text",defaultValue:"Special offer"}),bannerColor:c().string.tag({name:"Button/Banner Color",defaultValue:"#fed561"}),textColor:c().string.tag({name:"Text Color",defaultValue:"#000000"}),gslHeadline:c().string.tag({name:"GSL Headline",defaultValue:mt.headline,description:"Google Subscription Linking dropdown item headline"}),gslBodyText:c().string.tag({name:"GSL Body Text",defaultValue:mt.bodyText,description:"Google Subscription Linking dropdown item body text"}),gslBtnText:c().string.tag({name:"GSL Button Text",defaultValue:mt.btnText,description:"Google Subscription Linking dropdown item button text"}),hijfBtnLanguage:c().string.tag({name:"HIJF Button Language",defaultValue:"Donate to The Inquirer",description:"HIJF Button Language"}),hijfBtnColor:c().string.tag({name:"HIJF Button Color",defaultValue:"#000000",description:"HIJF Button Color"})})};var gt=ht},45411:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(86780),a=n.n(o),s=n(7066),l=n.n(s),c=n(44856),u=n(39996),d=n(34766);const f=[".inq-toast--standard"];let p=({customFields:e})=>{const{bnLabel:t,bnText:n,bnURL:i,bnToggle:o}=(0,r.useMemo)(()=>({bnLabel:e?.bnLabel||"Breaking News",bnText:e?.bnText||"",bnURL:e?.bnURL||"",bnToggle:e?.bnToggle||!1}),[e]),a=(0,r.useMemo)(()=>(0,c.Lg)("hiddenBreakingNews")||"",[]),s=(0,r.useMemo)(()=>"undefined"!=typeof window&&window?.location?.pathname?.includes("/offers"),[]),p=(0,r.useCallback)(()=>{try{const e=document.getElementById("trial-next-toast");if(!e)return!1;e.style.display="none",window.PMNdataLayer&&window.PMNdataLayer.push({event:"ga_generic_event",userInteraction:"toast",interactionType:"click",interactionDetail:"close"});const t=a?`${a},${n}`:n;return(0,c.ZB)("hiddenBreakingNews",t),!0}catch(e){return!1}},[n,a]);return o||a.includes(n)||s?null:(0,d.jsx)(u.l,{id:"trial-next-toast",className:"trial-next-toast min-h-[62px]",selectors:f,children:(0,d.jsx)(l(),{bnLabel:t,bnText:n,bnURL:i,onClose:p})})};p=i().memo(p),p.propTypes={customFields:a().shape({bnLabel:a().string.tag({name:"Breaking News Label",defaultValue:"Breaking News"}),bnText:a().string.tag({name:"Breaking News Text",defaultValue:""}),bnURL:a().string.tag({name:"Breaking News URL",defaultValue:"",description:"Absolute or relative url"}),bnToggle:a().bool.tag({name:"Turn off Breaking News",defaultValue:!1})})},t.default=p},23485:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(65933),a=n(19852),s=n(34766);const l=({viewBox:e,title:t,hrefId:n})=>(0,s.jsxs)("svg",{width:16,height:16,viewBox:e,children:[(0,s.jsx)("title",{children:t}),(0,s.jsx)("use",{href:n})]}),c=[{href:"https://x.com/phillyinquirer",ariaLabel:"phillyinquirer-x",icon:(0,s.jsx)(l,{viewBox:"0 0 24 24",title:"X",hrefId:"#faX"})},{href:"https://www.facebook.com/philadelphiainquirer",ariaLabel:"phillyinquirer-facebook",icon:(0,s.jsx)(l,{viewBox:"0 0 320 512",title:"Facebook",hrefId:"#faFacebook"})},{href:"https://www.instagram.com/phillyinquirer",ariaLabel:"phillyinquirer-instagram",icon:(0,s.jsx)(l,{viewBox:"0 0 448 512",title:"Instagram",hrefId:"#faInstagram"})}],u=[{href:"/about/terms_and_conditions/#Use",name:"Terms of Use"},{href:"/privacy-policy/",name:"Privacy Policy"},{href:"/ai-policy/",name:"AI Usage Policy"},{href:"/privacy-policy/#notice-for-california-residents",name:"California Notice"}],d=({element:e,className:t})=>(0,s.jsx)("a",{href:e.href,"aria-label":e.ariaLabel,"data-link-type":"footer",className:t,children:e.icon}),f=()=>{const{globalContent:e}=(0,i.useAppContext)();return(0,s.jsx)("div",{className:"footer-copyright bg-gray-lighter text-3 leading-3.5 font-grot10 "+((0,a.b$)(e?.subtype)?"relative w-full bottom-0 hidden lg:block":""),children:(0,s.jsx)("div",{className:"max-w-[1240px] mx-auto w-full xl:px-5",children:(0,s.jsxs)("div",{className:"py-5 px-5 xl
2:px-0 flex flex-col lg:flex-row-reverse lg:justify-between lg:items-center ",children:[(0,s.jsxs)("div",{className:"mb-5 lg:mb-0 flex justify-center",children:[(0,s.jsx)(o.S,{classNames:"hidden"}),c.map((e,t)=>(0,s.jsx)(d,{element:e,className:"text-neutral-charcoal-gray"+(t<c.length-1?" mr-9":"")},`footer-social-items-${t}`))]}),(0,s.jsxs)("div",{className:"flex flex-col space-y-1 items-center lg:items-start",children:[(0,s.jsxs)("a",{href:"/about/copyright/",className:"no-underline font-medium text-neutral-charcoal-gray","data-link-type":"footer",children:["© ",(new Date).getFullYear()," The Philadelphia Inquirer, LLC"]}),(0,s.jsxs)("div",{className:"grid lg:inline space-y-1",children:[(0,s.jsx)("div",{className:"inline text-center",children:u.map((e,t)=>(0,s.jsxs)("span",{className:"font-medium",children:[(0,s.jsx)("a",{className:"no-underline text-neutral-charcoal-gray cursor-pointer",href:e.href,"data-link-type":"footer",children:e.name},`footer-term-links-${t}`),(0,s.jsx)("span",{className:"mx-1 text-neutral-charcoal-gray "+(t===u.length-1?"hidden lg:inline":""),children:"/"})]},`footer-link-privacy-cali-${t}`))}),(0,s.jsx)("a",{className:"no-underline text-neutral-charcoal-gray font-medium cursor-pointer text-center lg:text-left",href:"/privacy-policy/#cookie-settings-button","data-link-type":"footer",children:"Do Not Sell My Data"})]})]})]})})})};t.default=(0,r.memo)(f)},96413:function(e,t,n){"use strict";n.d(t,{Hw:function(){return s},V0:function(){return o},XA:function(){return a},i3:function(){return i}});var r=n(43993);const i=[{url:"https://about.inquirer.com/",name:"About The Inquirer"},{url:"https://advertising.inquirer.com/",name:"Advertise"},{url:"/offers/#subscriptions",name:"Gift & Group Subscriptions"},{url:"/contact-us/",name:"Contact Us"},{url:"https://account.inquirer.com/s/helptopics",name:"Subscriber Services"},{url:"https://www.inquirer.com/about/philadelphia-inquirer-newsroom-staff.html",name:"Newsroom Staff"},{url:"https://www.inquirer.com/confidential-tips/",name:"Confidential Tips"},{url:"https://www.parsintl.com/publications/the-philadelphia-inquirer/",name:"Licensing & Permissions"},{url:"https://www.inquirer.com/careers/",name:"Careers"},{url:"https://about.inquirer.com/delivery-jobs/",name:"Delivery Jobs"},{url:"https://store.inquirer.com/",name:"Inquirer Store"},{url:"https://marketplace.inquirer.com/pa/legal/search/",name:"Legal Notices"},{url:"https://www.legacy.com/us/obituaries/inquirer/browse",name:"Death Notices"},{url:"https://www.inquirer.com/subscribe/",name:"Subscribe"}],o=[{url:r.TODAY_PAPER_URL,name:"Today’s Paper"},{url:"/news/",name:"News"},{url:"/sports/",name:"Sports"},{url:"/entertainment/",name:"Entertainment"},{url:"/business/",name:"Business"},{url:"/health/",name:"Health & Science"},{url:"/food/",name:"Food"},{url:"/opinion/",name:"Opinion"},{url:"/philly-first/",name:"Philly First"},{url:"/inquirer-live/",name:"Inquirer LIVE"},{url:"/archives/",name:"Archives"},{url:"/site-map/",name:"Site Map"}],a=[{url:"https://philadelphiainquirer.fundjournalism.org/?utm_source=inquirer.com&utm_campaign=lenfest_inquirer.com_supportlocalnews_2.0_donation&utm_medium=none&utm_content=&utm_term=&int_promo=donate_nav_link&campaign=701Qm00000PwlBSIAZ",name:"Donate to The Inquirer"},{url:"https://www.inquirer.com/high-impact-journalism-fund/",name:"About the High-Impact Journalism Fund"},{url:"https://www.lenfestinstitute.org/donation-information-hijf/",name:"Other Ways to Contribute"},{url:"https://www.lenfestinstitute.org/our-work/the-philadelphia-inquirer/",name:"About The Lenfest Institute"}],s=[{url:"https://apps.apple.com/us/app/the-philadelphia-inquirer/id577251728",name:"Apple iOS"},{url:"https://play.google.com/store/apps/details?id=com.ap.philly&hl=en_US&pli=1",name:"Google Android"}]},66812:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(96413),o=n(34766);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?a(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=[{title:"GET IN TOUCH",menu:i.i3},{title:"NEWS",menu:i.V0},{title:"GIVING",menu:i.XA},{title:"MOBILE APPS",menu:i.Hw}],u=e=>{switch(e){case"The Inquirer":return"inquirer-digital-edition";case"The Daily News":return"daily-digital-edition";case"Subscribe":return"inquirer-subscribe";case"Subscriber Services":return"inquirer-subscriber-services";default:return""}},d=({className:e,menu:t,title:n})=>(0,o.jsxs)("div",{className:e,children:[(0,o.jsx)("div",{className:"text-4.5 font-grot12-condensed font-semibold leading-4.5 uppercase mb-0 sm:mb-2.5",children:n}),(0,o.jsx)("div",{className:"flex flex-col pt-2.5 sm:py-0 space-y-3",children:t.map((e,t)=>(0,o.jsx)("a",{className:`no-underline text-black font-grot10 text-4 leading-4\n              font-medium hover:underline ${u(e.name)}`,href:e.url,"data-link-type":"footer",children:e.name},`footer-links-about-us-item-${t}`))})]}),f=()=>(0,o.jsxs)("footer",{className:"footer footer-links pt-6 mt-6 pb-10 mx-5 xl:mx-auto max-w-[1240px] border-t border-solid border-neutral-light-charcoal-gray flex flex-col space-y-10 sm:space-y-0 lg:grid lg:grid-cols-4 lg:gap-x-6",children:[c.map((e,t)=>(0,o.jsx)("div",{className:"block sm:hidden lg:block",children:(0,o.jsx)(d,s({className:"flex flex-col sm:mx-auto sm:w-full"},e),`footer-link-block-mobile-${t}`)})),(0,o.jsx)("div",{className:"hidden sm:grid sm:grid-cols-2 lg:hidden gap-x-5",children:[...Array(2).keys()].map(e=>(0,o.jsx)("div",{className:"space-y-14",children:c.map((t,n)=>n!==e&&(n-e)%2?null:(0,o.jsx)(d,s({className:"flex flex-col sm:mx-auto sm:w-full"},t),`footer-link-block-tablet-${n}`))},e))})]});t.default=(0,r.memo)(f)},71357:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return x}});var r=n(40809),i=n(86780),o=n.n(i),a=n(4321),s=n(34766);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(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){u(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}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=e=>{const{children:t,height:n,offset:i=0,once:o=!1,placeholder:a=null,className:l,style:u}=e,[d,f]=(0,r.useState)(!1),p=(0,r.useRef)(null),m="string"==typeof n?parseFloat(n):n,h=Number.isFinite(m);if((0,r.useEffect)(()=>{if(!h||!p.current)return;let e="0px";"number"==typeof i?e=`${i}px`:Array.isArray(i)&&(e=i.map(e=>`${e}px`).join(" "));const t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(f(!0),p.current&&t.unobserve(p.current))})},{rootMargin:e,threshold:0});return p.current&&t.observe(p.current),()=>{p.current&&t.unobserve(p.current)}},[h,i,o]),!h)return(0,s.jsx)(s.Fragment,{children:t});if(d)return u&&0!==Object.keys(u).length||l?(0,s.jsx)("div",{ref:p,className:l,style:u,children:t}):(0,s.jsx)(s.Fragment,{children:t});const g=(0,s.jsx)("div",{className:"lazyload-placeholder",style:{height:n}});return(0,s.jsx)("div",{ref:p,className:l,style:c({display:"block",height:n},u),children:a??g})};var f=d;var p=n(99970),m=n(77633),h=n(987),g=n(20843);function v(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 b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
2var y=({rawHTML:e,analyticsData:t,enableScrollEventTracking:n,htmlBoxId:i})=>{const o=(0,a.useFusionContext)(),{featureChainComponents:l}=(0,p.p)(),c=(0,r.useRef)(null),u=(0,r.useMemo)(()=>({__html:e}),[e]);return(0,r.useEffect)(()=>{"undefined"!=typeof window&&(0,m.$S)(e)},[e]),(0,r.useEffect)(()=>{let e=()=>{};const t=c?.current;if(!t||!n)return e;if((0,h.Nz)(o,t,i,l),(0,g.rD)(o?.metaValue)){const{observer:n,listOfRemoveEventListeners:r}=(0,h.UG)({globalProps:o,packageElement:t,packageId:i,components:l});e=()=>{n.disconnect(),r.forEach(e=>e())}}return e},[n,o,i,l]),(0,s.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){b(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({ref:c,className:"raw-html",dangerouslySetInnerHTML:u},t))};const w=({customFields:e,id:t,isAdmin:n})=>{const{featureChainComponents:i,allPackagesLayouts:o}=(0,p.p)(),l=(0,r.useMemo)(()=>e?.rawHTML||"",[e.rawHTML]),c=(0,r.useMemo)(()=>e?.disableAdminRender||!1,[e.disableAdminRender]),u=(0,r.useMemo)(()=>e?.disableLazyLoad||!1,[e.disableLazyLoad]),d=(0,r.useMemo)(()=>e?.enableScrollEventTracking||!1,[e.enableScrollEventTracking]),h=(0,m.Ji)((0,a.useFusionContext)(),i,o);return c&&n?null:u?(0,s.jsx)(y,{rawHTML:l,analyticsData:h,enableScrollEventTracking:d,htmlBoxId:t}):(0,s.jsx)(f,{height:300,offset:100,once:!0,children:(0,s.jsx)(y,{rawHTML:l,analyticsData:h,enableScrollEventTracking:d,htmlBoxId:t})})};w.propTypes={customFields:o().shape({packageLabel:o().string.tag({name:"Package Label",defaultValue:""}),rawHTML:o().richtext.tag({name:"HTML Code Block"}),disableAdminRender:o().bool.tag({name:"Disable Admin Rendering",defaultValue:!1}),disableLazyLoad:o().bool.tag({name:"Disable Lazy Load",defaultValue:!1}),enableScrollEventTracking:o().bool.tag({name:"Enable scroll event tracking for analytics",defaultValue:!1})}),isAdmin:o().bool};var x=w},82203:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var r=n(40809),i=n.n(r),o=n(86780),a=n.n(o),s=n(4321),l=n(63952),c=n(60205),u=n(88609),d=n(97293),f=n(34766);function p(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=({headlines:e,headlinesTitle:t,dataLocation:n,hasTimestamps:r,isHomePage:i,isSportsPage:o,feedLength:a,mapIndex:s,customBackgroundColor:l,customWrapperClasses:p,noBorder:h})=>(0,f.jsx)(f.Fragment,{children:e&&(0,f.jsx)("div",{className:p,children:(0,f.jsx)(c.HeadlineListCard,m(m({headlines:e,hasBoxShadow:!1,hasPadding:!1,title:t,hasLessThan3HoursFormatTimestamp:!0,dataCardLocation:n,hasTimestamps:r,noBorder:h},i&&{lastListElement:(0,f.jsx)(u.default,{id:"homepage-text-link",customFields:{adType:d.Kx.HP_TEXT_LINK}})}),o&&{feedLength:a,mapIndex:s,customBackgroundColor:l}))})});var v=i().memo(g),b=n(55826),y=n(49036),w=n(20843),x=n(19852),_=n(27936),C=n(77633),j=n(987),S=n(99970);function O(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 k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?O(Object(n),!0).forEach(function(t){E(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function E(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let L=({customFields:e,id:t})=>{const n=(0,s.useFusionContext)(),{featureChainComponents:i}=(0,S.p)(),{source:o,collectionId:a,collectionOffset:c,collectionSize:u,includeSections:d,excludeSections:p,feedSize:m,feedOffset:h,order:g,tagFeedSlug:b,tagFeedOffset:O,tagFeedSize:E,tagFeedOrder:L,headlinesTitle:P,hasTimestamps:N,hasTopRule:A}=e||{},{feedLength:I,feedLocation:T,hasGDCScoreboard:M,articles:R,setArticles:D}=(0,_.k)(),F=(0,r.useMemo)(()=>n?.metaValue,[n?.metaValue]),B=(0,r.useMemo)(()=>(0,w.rD)(F),[F]),V=(0,r.useMemo)(()=>(0,w.j$)(F),[F]),H=(0,r.useMemo)(()=>B?null:V?T||"":"feed",[B,V,T]),q=(0,y.Ru)({source:o,collectionId:a,collectionSize:u,collectionOffset:c,includeSections:d,excludeSections:p,feedSize:m,feedOffset:h,order:g,tagFeedSlug:b,tagFeedSize:E,tagFeedOffset:O,tagFeedOrder:L},!1),U=(0,r.useMemo)(()=>q?.stories||[],[q?.stories]),$=(0,r.useCallback)(e=>{B&&e&&(0,j.pt)(n,t,i,e)},[B,t,i,n]),z=(0,r.useMemo)(()=>U?U.map(e=>({id:e._id,link:e?.canonical_url||"",title:(0,x.qs)(e?.headlines,"card"),timestamp:e?.display_date||"",taxonomy:e?.taxonomy||{},label:e?.label||{},logo:(0,C.WL)(e,e?.taxonomy?.primary_site?.additional_properties?.original||{}),onClick:()=>{$(e?.canonical_url||"")}})):[],[U,$]);return(0,r.useEffect)(()=>{if(0===R.length||0===z.length)return;const e=z.map(e=>e.id).filter(e=>e);if(e.length>0&&R.some(t=>e.includes(t._id))){const t=R.filter(t=>!e.includes(t._id));D(t)}},[R,z]),(0,f.jsx)(l.t,{children:(0,f.jsx)(v,k({headlines:z,headlinesTitle:P,dataLocation:H,hasTimestamps:N,isHomePage:B,isSportsPage:V,noBorder:!(A??1)},V&&{feedLength:I,mapIndex:M?4:3,customBackgroundColor:" lg:bg-transparent",customWrapperClasses:"py-5 mt-5 sm:px-5 bg-white lg:p-0 lg:bg-transparent lg:mt-0"}))})};L=(0,r.memo)(L),L.propTypes={customFields:a().shape({source:a().oneOf(["section-feed","collections-api","tag-feed"]).tag({name:"Content Source",labels:{"section-feed":"Section Feed","collections-api":"Collection Feed","tag-feed":"Tag Feed"},defaultValue:"section-feed"}),includeSections:a().string.tag({name:"include Sections",description:"Comma separated site taxonomies",defaultValue:"/news,/sports,/politics,/business,/health,/entertainment,/food,/real-estate",group:"Section Feed"}),excludeSections:a().string.tag({name:"Exclude Sections",description:"Comma separated site taxonomies",defaultValue:b.Xd,group:"Section Feed"}),feedSize:a().number.tag({name:"Section Size",defaultValue:8,group:"Section Feed"}),feedOffset:a().number.tag({name:"Section Offset",defaultValue:b.Nt,group:"Section Feed"}),order:a().string.tag({name:"Section Order",description:"Ex: first_publish_date:desc",defaultValue:b.YP,group:"Section Feed"}),collectionId:a().string.tag({name:"Collection Id",defaultValue:"",group:"Collection Feed",formPlugin:"collections-autocomplete"}),collectionOffset:a().number.tag({name:"Collection Offset",defaultValue:b.Nt,group:"Collection Feed"}),collectionSize:a().number.tag({name:"Collection Size",defaultValue:8,group:"Collection Feed"}),tagFeedSlug:a().string.tag({name:"Tag Feed Slug",defaultValue:"",group:"Tag Feed"}),tagFeedOffset:a().number.tag({name:"Tag Feed Offset",defaultValue:b.Nt,group:"Tag Feed"}),tagFeedSize:a().number.tag({name:"Tag Feed Size",defaultValue:8,group:"Tag Feed"}),tagFeedOrder:a().string.tag({name:"Tag Feed Order",description:"Ex: first_publish_date:desc",defaultValue:b.YP,group:"Tag Feed"}),headlinesTitle:a().string.tag({name:"Title",defaultValue:"The Latest"}),hasTimestamps:a().bool.tag({name:"Enable timestamps",defaultValue:!0}),hasTopRule:a().bool.tag({name:"Enable top rule",defaultValue:!0})})};var P=L},79349:function(e,t,n){"use strict";n.r(t),n.d(t,{LoadingLogo:function(){return b},LoginLoadingFeature:function(){return y},default:function(){return w}});var r=n(40809),i=n(4321),o=n(24887),a=n(65058),s=n(71530),l=n(6607),c=n(84675),u=n(54118);const d=()=>
2{if("undefined"==typeof window)return"/";return`${window.location.origin||`${window.location.protocol}//${window.location.host}`}/`},f=()=>"undefined"==typeof window?"/":window.location.href,p=()=>{if("undefined"!=typeof window)try{const e=new URL(window.location.href).searchParams.get("region")||void 0;return e&&c.TK.includes(e)?e:void 0}catch{return}},m=e=>{window.location.replace(e)},h=async(e,t)=>{await(0,c.vD)({gatewayUrl:e,region:t})},g=({applyPendingRegionalOptin:e=h,fusionEnv:t,getHomepageUrl:n=d,getLoginReturnUrl:r=f,getRegionFromUrl:i=p,isCancelled:o=()=>!1,loginTimeoutMs:g=1e4,loadLoginService:v=a.o,redirectToHomepage:b=m,waitForUser:y=l.sp})=>new Promise(a=>{let l,d=!1;const f=e=>!d&&(d=!0,void 0!==l&&(window.clearTimeout(l),l=void 0),o()||e&&e(),a(),!0),p=()=>f(()=>b(n())),m=t?.GATEWAY_SLS_URL||"",h=()=>{y().then(async t=>{if(d||o())return void f();const a=n(),l=i();if(((e="south-jersey")=>{if("undefined"==typeof window)return;if(window.sessionStorage.getItem(c.ff))return;const t=(0,s.Ri)("arc-geo")||e;window.sessionStorage.setItem(c.ff,JSON.stringify({region:e,geoSignal:t,sourcePlacement:c.WT}))})(l),(e=>(e?.auth0Id?.length||0)>0||e?.state===u.eF.LOGGED_IN||e?.state===u.eF.SUBSCRIBED)(t))return await e(m,l),void f(()=>b(a));"function"!=typeof window?.services?.loginService?.onLoginClick?f(()=>b(a)):f(()=>(e=>{const t=window?.services?.loginService;window.sessionStorage.setItem("ssoReturnToOverride",e),"function"==typeof t?.onLoginClick&&t.onLoginClick()})(r()))}).catch(p)};l=window.setTimeout(p,g);try{v(t,h)}catch{p()}});var v=n(34766);const b=(0,r.memo)(()=>(0,v.jsx)("main",{"aria-busy":"true","aria-live":"polite",className:"fixed top-0 bottom-0 right-0 left-0 bg-white flex flex-col items-center justify-center z-50",role:"status",children:(0,v.jsx)("div",{className:"content-stretch flex flex-col items-center justify-center overflow-hidden relative shrink-0 w-full",children:(0,v.jsx)("div",{className:"relative h-40 w-40 overflow-hidden rounded flex items-center justify-center",children:(0,v.jsx)("img",{alt:"The Philadelphia Inquirer",className:"w-full h-full object-contain opacity-80 animate-pulse",src:"https://media.inquirer.com/images/shiny-i-logo.svg"})})})}));b.displayName="LoadingLogo";const y=({fusionEnv:e})=>{const{isAdmin:t}=(0,i.useFusionContext)(),n=(0,r.useRef)(!1),o=(0,r.useMemo)(()=>d(),[]);return(0,r.useEffect)(()=>{t||n.current||(n.current=!0,g({fusionEnv:e,getHomepageUrl:()=>o}))},[e,o,t]),(0,v.jsx)(b,{})};var w=(0,r.memo)((0,o.A)(y))},19210:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(4321),a=n(89297),s=n(34766);const l=()=>{const{requestUri:e}=(0,o.useFusionContext)(),t=(0,r.useMemo)(()=>e.endsWith("/")?`${e}2`:`${e}/2`,[e]);return(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"my-5",children:(0,s.jsx)("div",{className:"border-t border-solid border-gray-mid sm:mx-0 mx-5"})}),(0,s.jsxs)("a",{"data-link-type":"see_more_stories",href:t,className:"rounded border no-underline border-black border-solid inline-flex gap-4 justify-center items-center text-black px-6 py-2.5","aria-label":"See more stories",children:[(0,s.jsx)("span",{className:"font-grot10 text-4 leading-5",children:"See more stories"}),(0,s.jsx)(a.ChevronRightIcon,{size:"medium",customClass:"block"})]})]})};t.default=i().memo(l)},86690:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(86780),o=n.n(i),a=n(4321),s=n(44638),l=n(987),c=n(99970),u=n(34766);let d=({customFields:e,id:t=""})=>{const n=(0,a.useFusionContext)(),{featureChainComponents:i}=(0,c.p)(),{packageLabel:o,writersList:d}=e,f=(0,r.useRef)(null),p=(0,r.useMemo)(()=>d?.map(e=>{const[t,n,r,i]=e?.split("|");return{name:t,position:r,imageUrl:i,authorUrl:n}}),[d]),m=(0,r.useMemo)(()=>(0,s.Zf)(n,i),[n,i]),h=(0,r.useCallback)(e=>(0,l.pt)(n,t,i,e),[n,t,i]);return(0,u.jsxs)("div",{ref:f,className:"flex flex-col justify-center gap-4 roun
2ded-lg bg-shades-yellow-70 p-4",children:[(0,u.jsx)("p",{className:"font-grot12-condensed text-xl sm:text-xxl leading-none font-semibold uppercase",children:o}),p?.map((e,t)=>(0,u.jsxs)("a",{href:e?.authorUrl,className:"flex items-center gap-3 no-underline","data-link-type":m,onClick:()=>h(e?.authorUrl.trim()),children:[(0,u.jsx)("img",{src:e?.imageUrl,className:"rounded-full w-12 md:w-14 lg:w-16 aspect-square",alt:e?.name}),(0,u.jsxs)("div",{className:"flex flex-col font-grot10 text-black text-4 leading-5",children:[(0,u.jsx)("p",{className:"sm:text-4.5 sm:leading-5.5 lg:text-5 lg:leading-6 font-bold",children:e?.name}),(0,u.jsx)("p",{children:e?.position})]})]},t))]})};d=(0,r.memo)(d),d.propTypes={customFields:o().shape({packageLabel:o().string.tag({name:"Package Label",defaultValue:"Our Writers"}),writersList:o().list.tag({name:"Writers List",defaultValue:[],description:'Each writer item is a string with values separated by "|". \n\n      The first part represents the Writer Name, Writer URL, followed by the Position, and the last part is the Image URL.\n      Example: "Writer Name | Writer URL | Position | Image URL"'})})},t.default=d},36917:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(86780),a=n.n(o),s=n(84675),l=n(85812),c=n(34766);const u=()=>{if("undefined"==typeof window)return{mode:null,region:""};const e=window.sessionStorage.getItem(s.Uo);return e?(window.sessionStorage.removeItem(s.Uo),{mode:"welcome",region:e}):{mode:null,region:""}};let d=({customFields:e})=>{const{welcomeText:t,removedText:n,scrollToSeeText:i}=(0,r.useMemo)(()=>({welcomeText:e?.welcomeText||"South Jersey news has been added to your homepage!",removedText:e?.removedText||"South Jersey news has been removed from your homepage!",scrollToSeeText:e?.scrollToSeeText||"Scroll to see"}),[e]),[o,a]=(0,r.useState)({mode:null,region:""}),{isPastAd:d,hasWallpaperAd:f,hasSubscriberBar:p}=(0,l.x)();(0,r.useEffect)(()=>{a(u())},[]),(0,r.useEffect)(()=>{if("undefined"==typeof window)return;const e=e=>{const t=e.detail&&e.detail.region||"";a({mode:"removed",region:t})},t=()=>a(u());return window.addEventListener(s.cF,e),window.addEventListener(s.GU,t),()=>{window.removeEventListener(s.cF,e),window.removeEventListener(s.GU,t)}},[]);const m=(0,r.useCallback)(()=>{a({mode:null,region:""})},[]);if(!o.mode)return null;const h="welcome"===o.mode,g=h?t.replace(new RegExp(`\\s+${v=i,v.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}[.!?\\s]*$`,"i"),""):"";var v;const b=h?g:n,y=(0,c.jsxs)("div",{className:"flex items-start lg:items-center gap-4 roun
2ded py-2 px-4 md:p-5 lg:p-4 border border-solid border-shades-inquirer-blue-70 bg-shades-inquirer-blue-30 text-primary font-grot10 font-medium text-3.5 leading-4.5 md:text-4 md:leading-5 lg:text-3.5 lg:leading-4.5","data-region":o.region,"data-mode":o.mode,children:[(0,c.jsxs)("span",{className:"flex-1 text-left sm:text-center",children:[b,h&&(0,c.jsxs)(c.Fragment,{children:[" ",(0,c.jsx)("a",{href:`#regional-package-${o.region}`,className:"underline text-primary cursor-pointer font-inherit text-inherit",children:i})]})]}),(0,c.jsx)("button",{type:"button","aria-label":"Dismiss notification",className:"shrink-0 inline-flex items-center justify-center w-4 h-4 cursor-pointer bg-transparent",onClick:m,children:(0,c.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"black",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,c.jsx)("path",{d:"M1 1L11 11M11 1L1 11",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]});return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{"data-position":"static",children:y}),d&&(0,c.jsx)("div",{className:f?`fixed ${p?"top-[98px] sm:top-[62px]":"top-[62px]"} left-1/2 -translate-x-1/2 w-full max-w-screen-xl z-10`:`fixed ${p?"top-[98px] sm:top-[62px]":"top-[62px]"} left-0 right-0 z-10`,"data-position":"fixed",children:y})]})};d=i().memo(d),d.propTypes={customFields:a().shape({welcomeText:a().string.tag({name:"Welcome Banner Text",defaultValue:"South Jersey news has been added to your homepage!",description:"Shown on first homepage visit post opt-in from newsletter (future ticket)."}),removedText:a().string.tag({name:"Removed Banner Text",defaultValue:"South Jersey news has been removed from your homepage!",description:"Shown after user removes the package from the homepage."}),scrollToSeeText:a().string.tag({name:"Scroll-to-see Link Text",defaultValue:"Scroll to see",description:"Welcome banner CTA — click scrolls the page to the regional package."})})},t.default=d},69587:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(86780),o=n.n(i),a=n(81018),s=n(39996),l=n(34766);const c=[".inq-toast--default",".inq-toast"];let u=({customFields:e})=>{const t=(0,r.useRef)(!1),[n,i]=(0,r.useState)(()=>{if("undefined"!=typeof window){if("1"===window.sessionStorage.getItem("auth0CallbackError"))return t.current=!0,!0;window.sessionStorage.removeItem("checkoutShowSignInToast")}return!1}),o=e?.innerText||"",u=(0,r.useCallback)(()=>{"undefined"!=typeof window&&window.services?.loginService&&window.services.loginService.onLoginClick()},[]),d=(0,r.useCallback)(()=>{i(!1)},[]),f=(0,r.useCallback)(e=>{e.style.position="fixed",e.style.left="0",e.style.right="0",e.style.width="100%",e.style.zIndex="9997",e.style.display="flex",e.style.alignItems="center",e.style.justifyContent="center";const t=document.querySelector(".app-bar-wrapper");if(!t)return;const n=t.getBoundingClientRect(),r=e.querySelector(".inq-toast__close");r&&(r.style.position="absolute",r.style.right=window.innerWidth-n.right+"px",r.style.cursor="pointer")},[]);return(0,l.jsx)(s.l,{id:"sign-in-toast",className:"sign-in-toast-wrapper",show:n,selectors:c,onPositioned:f,children:t.current?(0,l.jsx)(a.Toast,{show:n,defaultClose:!0,closeToast:d,type:"error",customClasses:"text-primary bg-shades-red-30 border-shades-red-70",children:(0,l.jsxs)("span",{children:["Login failed. ",(0,l.jsx)("span",{onClick:u,className:"cursor-pointer",style:{textDecoration:"underline"},children:"Please try again."})]})}):(0,l.jsx)(a.Toast,{show:n,defaultClose:!0,closeToast:d,type:"default",children:(0,l.jsx)("span",{onClick:u,className:"cursor-pointer",dangerouslySetInnerHTML:{__html:o.replace(/Sign In/gi,'<span style="text-decoration: underline;">Sign In</span>')}})})})};u=(0,r.memo)(u),u.propTypes={customFields:o().shape({innerText:o().string.tag({name:"Custom Message",defaultValue:"Sign In to access your new subscription"})})},t.default=u},32445:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(86780),o=n.n(i),a=n(75532),s=n(34766);let l=({customFields:e})=>{const{title:t,section:n,hasFacebook:i,hasThreads:o}=e,l=["instagram"];i&&l.push("facebook"),o&&l.push("threads");const c=(0,r.useCallback)(e=>{"undefined"!=typeof window&&window.PMNdataLayer.push({event:"ga-generic-event",interactionType:"click",interactionDetail:e,userInteraction:"social_toggle"})},[]);return(0,s.jsx)("div",{className:"flex sm:rounded-lg sm:w-full justify-center min-w-64 mx-0 w-auto\n      "+("sports"===n?"bg-white":"bg-whitesmoke"),children:(0,s.jsx)(a.SocialWidget,{title:t,section:n,socials:l,socialLinkAnalytic:c,titleSizeClasses:"text-6 leading-6"})})};l=(0,r.memo)(l),l.propTypes={customFields:o().shape({title:o().string,
2section:o().oneOf(["food","sports"]).tag({name:"Section",defaultValue:"food"}),hasFacebook:o().bool.tag({name:"Show Facebook",defaultValue:!0}),hasThreads:o().bool.tag({name:"Show Threads",defaultValue:!0})})},t.default=l},27701:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(86780),o=n.n(i),a=n(4321),s=n(83732),l=n(55826),c=n(44638),u=n(16494),d=n(49036),f=n(63952),p=n(19852),m=n(91411),h=n(99970),g=n(987),v=n(34766);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach(function(t){w(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function w(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const x=e=>e.map(e=>{if("object"!=typeof e)return null;const{subtype:t,type:n,content_elements:r,display_date:i,promo_items:o,_id:a}=e;if((0,p.fO)(t)){const t=(0,p.JY)(r,i),n=["Just now","second","minute"].some(e=>t.includes(e))||t.includes("hour")&&parseInt(t.split("hour")[0].trim(),10)<4;e.display_date=n?t:""}return(0,p.cZ)(n)&&(e.promo_items=y(y({},o),{},{video:o?.basic?y(y({},o.basic),{},{_id:a}):null})),e.bylines=(0,p.kS)(e),e});let _=({customFields:e,id:t=""})=>{const n=(0,a.useFusionContext)(),{deployment:i}=(0,a.useAppContext)(),{featureChainComponents:o}=(0,h.p)(),{source:s,canonicalUrl:l,collectionId:b,collectionSize:y,collectionOffset:w,feedSize:_,feedOffset:C,order:j,includeSections:S,excludeSections:O,tagFeedSlug:k,tagFeedSize:E,tagFeedOffset:L,tagFeedOrder:P,hasBlurb:N=!1,hasFeaturedImage:A=!0,hasEyebrow:I,timelinesNo:T,imageRatio:M,isHeadlinePrioritized:R,isShowRelatedStories:D=!0,isFoodStyle:F=!1,isVerticalImage:B=!1,hasAuthor:V=!0,numberOfRelatedLinks:H,editableHeadline:q,editableImages:U,editableBlurbs:$,customHeadlineFontSize:z,editableRelatedLinks:G}=e,K=(0,d.Ru)({source:s,canonicalUrl:l,collectionId:b,collectionSize:y,collectionOffset:w,includeSections:S,excludeSections:O,feedSize:_,feedOffset:C,order:j,tagFeedSlug:k,tagFeedSize:E,tagFeedOffset:L,tagFeedOrder:P},!0,100,c.hn,"{\n  _id\n  canonical_url\n  first_publish_date\n  display_date\n  subtype\n  type\n  headlines {\n    basic\n    web\n  }\n  description {\n    basic\n  }\n  distributor {\n    category\n    name\n  }\n  promo_items {\n    vertical {\n      url\n      type\n      additional_properties {\n        focal_point {\n          max\n          min\n        }\n      }\n      height\n      width\n      imgSrcSet\n      imageWebUrl\n      image_srcset\n      src\n    }\n    basic {\n      url\n      type\n      additional_properties {\n        focal_point {\n          max\n          min\n        }\n      }\n      height\n      width\n      imgSrcSet\n      imageWebUrl\n      image_srcset\n      src\n    }\n    lead_art {\n      url\n      type\n    }\n    promo {\n      url\n      type\n      additional_properties {\n        focal_point {\n          max\n          min\n        }\n      }\n      height\n      width\n      imgSrcSet\n      imageWebUrl\n      image_srcset\n      src\n    }\n    video {\n      image_srcset\n      url\n      type\n      _id\n      promo_items {\n        basic {\n          url\n        }\n      }\n    }\n  }\n  credits {\n    by {\n      _id\n      name\n      description\n      url\n    }\n  }\n  taxonomy {\n    primary_section {\n      _id\n      name\n      additional_properties {\n        original {\n          site {\n            site_title\n          }\n        }\n      }\n    }\n    primary_site {\n      _id\n      name\n      type\n    }\n    sections {\n      _id\n      name\n    }\n    tags {\n      text\n      slug\n    }\n  }\n  label {\n    eyebrows {\n      url\n      text\n      display\n    }\n  }\n  content_elements {\n    type\n    content\n  }\n  relatedLinks {\n    link\n    title\n  }\n}"),[Y,W]=(0,r.useState)(!1),[Z,J]=(0,r.useState)(x(K?.stories||[])),X=(0,r.useMemo)(()=>G&&"object"==typeof G?Object.entries(G).filter(([e,t])=>""!==String(e).trim()&&""!==String(t).trim()).map(([e,t])=>({title:e,link:t})):[],[G]),Q=(0,r.useMemo)(()=>X.length?X.length:H,[X,H]),ee=(0,r.useMemo)(()=>(0,c.Zf)(n,o),[n,o]);!(0,m.VP)(K?.stories)&&(0,m.VP)(Z)&&J(x(K?.stories));const te=(0,r.useCallback)(e=>(0,g.pt)(n,t,o,e),[n,t,o]);return(0,r.useEffect)(()=>
2{if(!Z.length||Y)return;if(!Z.some(e=>(0,p.fO)(e?.subtype)))return;(async()=>{const e=Z.map(e=>(0,p.fO)(e?.subtype)?(0,p.lz)(e?.canonical_url,i):Promise.resolve(e)),t=await Promise.all(e);J(x(t))})(),W(!0)},[Z,Y]),(0,v.jsx)(v.Fragment,{children:Z?.filter(e=>e)?.map((e,t)=>(0,v.jsx)(f.t,{children:(0,v.jsx)(u.A,{story:e,customMaxWidth:"max-w-full",hasImage:A,hasBlurb:N,hasEyebrow:I,isShowRelatedStories:D,timelinesNo:T,imageRatio:M,eyebrowPosition:R?"above":"below",isImagePrioritized:!R,customHeadline:q,customImage:U,customBlurb:$,customRelatedLinks:X,customHeadlineFontSize:z,hasShareTools:!1,isInFeed:!1,showMoreButton:!0,hideTimestamp:!1,hasBoxShadow:!1,relatedLinksNo:Q,customDescriptionClasses:"font-inquirer-text-web text-md leading-5 font-medium text-neutral-light-text",isOnCardFeature:!0,isFoodStyle:F,imgBorderRadius:F?"8px":"",isVerticalImage:B,showAuthor:V,hasPadding:!F,dataLinkType:ee,pushClickEventOnCards:te})},t))})};_=(0,r.memo)(_),_.propTypes={customFields:o().shape({source:o().oneOf(["content-api","collections-api","section-feed","tag-feed"]).tag({name:"Content Source",labels:{"content-api":"Content API","collections-api":"Collection Feed","section-feed":"Section Feed","tag-feed":"Tag Feed"},defaultValue:"content-api"}),canonicalUrl:o().string.tag({name:"Canonical URL",defaultValue:"",group:"Content API"}),collectionId:o().string.tag({name:"Collection Id",defaultValue:"",group:"Collection Feed",formPlugin:"collections-autocomplete"}),collectionOffset:o().number.tag({name:"Collection Offset",defaultValue:l.Nt,group:"Collection Feed"}),collectionSize:o().number.tag({name:"Collection Size",defaultValue:l.lC,group:"Collection Feed"}),includeSections:o().string.tag({name:"include Sections",description:"Comma separated site taxonomies",defaultValue:l.BF,group:"Section Feed"}),excludeSections:o().string.tag({name:"Exclude Sections",description:"Comma separated site taxonomies",defaultValue:l.Xd,group:"Section Feed"}),feedSize:o().number.tag({name:"Section Size",defaultValue:l.lC,group:"Section Feed"}),feedOffset:o().number.tag({name:"Section Offset",defaultValue:l.Nt,group:"Section Feed"}),order:o().string.tag({name:"Section Order",description:"Ex: first_publish_date:desc",defaultValue:l.YP,group:"Section Feed"}),tagFeedSlug:o().string.tag({name:"Tag Feed Slug",defaultValue:"",group:"Tag Feed"}),tagFeedOffset:o().number.tag({name:"Tag Feed Offset",defaultValue:l.Nt,group:"Tag Feed"}),tagFeedSize:o().number.tag({name:"Tag Feed Size",defaultValue:l.lC,group:"Tag Feed"}),tagFeedOrder:o().string.tag({name:"Tag Feed Order",description:"Ex: first_publish_date:desc",defaultValue:l.YP,group:"Tag Feed"}),hasAuthor:o().bool.tag({name:"Enable author",defaultValue:!0,description:"Show/Hide author",group:"Card Configuration"}),hasBlurb:o().bool.tag({name:"Enable blurb",defaultValue:!1,description:"Show/Hide blurb",group:"Card Configuration"}),hasFeaturedImage:o().bool.tag({name:"Enable featured image",defaultValue:!0,description:"Show/Hide featured image",group:"Card Configuration"}),hasEyebrow:o().bool.tag({name:"Enable eyebrow",defaultValue:!1,description:"Show/Hide eyebrow",group:"Card Configuration"}),isHeadlinePrioritized:o().bool.tag({name:"Prioritize headline",description:"Enable to make the image on top, disable to make it under other components (headlines, bylines...)",defaultValue:!1,group:"Card Configuration"}),isShowRelatedStories:o().bool.tag({name:"Show Related Stories",description:"Enable to show related stories instead of timelines for Live Blog articles",defaultValue:!0,group:"Card Configuration"}),isFoodStyle:o().bool.tag({name:"Apply Food Style",defaultValue:!1,description:"Toggle rounded images and adjust aspect ratio based on viewport: Desktop & Tablet: 3x2, Mobile: 2x3",group:"Card Configuration"}),isVerticalImage:o().bool.tag({name:"Allow Vertical Image",description:"Enable to show vertical image",defaultValue:!1,group:"Card Configuration"}),timelinesNo:o().number.tag({name:"Number of timelines",defaultValue:2,description:"Number of timelines to show on liveblog card",group:"Card Configuration"}),imageRatio:o().oneOf(["3x2","16x9","Flexible","2x3"]).tag({name:"Image Ratio",description:"Set image ratio for card's featured image",labels:{"3x2":"3x2","16x9":"16x9","2x3":"2x3",Flexible:"Flexible"},defaultValue:"3x2",group:"Card Configuration"}),customHeadlineFontSize:o().oneOf(Object.values(s.HeadlineFontSize)).tag({name:"Headline Font Size",description:"Set font size only for Headline",labels:{[s.HeadlineFontSize.smallest]:"Smallest (20px)",[s.HeadlineFontSize.small]:"Small (24px)",[s.HeadlineFontSize.base]:"Default (28px)",[s.HeadlineFontSize.big]:"Big (32px)",[s.HeadlineFontSize.biggest]:"Biggest (48px)"},defaultValue:s.HeadlineFontSize.base,group:"Card Configuration"}),numberOfRelatedLinks:o().string.tag({name:"Number Of Related Links",defaultValue:0,group:"Card Configuration"}),editableImages:o().string.tag({name:"Images",defaultValue:"",group:"Card Configuration",description:"Should be an url"}),editableBlurbs:o().string.tag({name:"Blurbs",defaultValue:"",group:"Card Configuration"}),editableHeadline:o().string.tag({name:"Headlines",defaultValue:"",group:"Card Configuration"}),editableRelatedLinks:o().kvp.tag({name:"Manual Related Links",defaultValue:{},group:"Card Configuration",description:"Title - URL"}),headlineFontSize:o().oneOf(["text-md","text-lg","text-xl","text-xxl","text-xxxl"]).tag({name:"Headline Font Size",description:"Set font size only for Headline",labels:{"text-lg":"smallest","text-xl":"small","text-md":"default","text-xxl":"big","text-xxxl":"biggest"},ordered:!1,defaultValue:"text-md",group:"Card Configuration"}),isStandardCard:o().bool.tag({name:"Display only Standard cards",defaultValue:!1,group:"Card Configuration"}),contentAlignment:o().oneOf(["left","center"]).tag({name:"Content Alignment",description:"Alignment for content of card: left or center",labels:{left:"left",center:"center"},defaultValue:"left",group:"Card Configuration"})})},t.default=_},62079:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(86780),o=n.n(i),a=n(35575),s=n.n(a),l=n(26453),c=n.n(l),u=n(4104
21),d=n(54118),f=n(9375),p=n(24887),m=n(3806),h=n(34766);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){b(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let y=({customFields:e,fusionEnv:t})=>{const n=(0,m.F)(),[i,o]=(0,r.useState)(null),{hasTopLine:a,hasBorder:l,imageStyle:p,layout:g}=e,[b,y]=(0,r.useState)([]),[w,x]=(0,r.useState)(null),[_,C]=(0,r.useState)([]),j=(0,r.useRef)([]),S=(0,r.useMemo)(()=>{const t=[];for(let n=1;n<=5;n+=1){const r=String(e[`newsletter${n}Title`]||"").trim(),i=String(e[`newsletter${n}Id`]||"").trim(),o=String(e[`newsletter${n}SailthruName`]||"").trim();i&&r&&o&&t.push({newsletter_title:r,newsletter_id:i,image_url:String(e[`newsletter${n}ImageUrl`]||"").trim(),newsletter_promo_text:String(e[`newsletter${n}Description`]||"").trim(),newsletter_sailthru_name:o,newsletter_url:String(e[`newsletter${n}Url`]||"").trim()})}return t},[e]),[O,k]=(0,r.useState)(S),E=(0,r.useRef)([]),[L,P]=(0,r.useState)(!1),[N,A]=(0,r.useState)(d.eF.LOGGED_OUT),[I,T]=(0,r.useState)(null),M=(0,r.useMemo)(()=>t?.GATEWAY_SLS_URL||"",[t]),R=(0,r.useMemo)(()=>t?.G_RECAPCHA_V2_KEY||"",[t]);(0,r.useEffect)(()=>{S&&S?.length>0&&k(S)},[S]),(0,r.useEffect)(()=>{j.current=_},[_]),(0,r.useEffect)(()=>{E.current=O},[O]);const D=(0,r.useCallback)(async(e,t)=>{const n=e?.newsletterIds||[];let r=[];const o=N===d.eF.LOGGED_OUT&&!I,a=!1===(e?.isOptIn??!0),s=e?.inputEmail||"",l=e?.setHideForm||(e=>e);let c=i?.contactId;const f=i?.email||I?.email||"";if(!f||!c||o){const e=await(0,u.cL)(s,M);r=e?.lists||[]}const p=j.current||[],m=p?.filter(e=>!r?.includes(e))||[],h=o?m:n,g=o?p:n,v=(0,u.mP)(E.current||[],h);if(0===m?.length&&o)l(!0),C([]),x(e=>[...e||[],...g]);else{try{const t=await(0,u.AH)({sailthruList:h,email:s||f||"",baseURL:M,isOptIn:e?.isOptIn??!0,key:"email",grecaptchaResponse:e?.grecaptchaResponse});if(!c){const e=await(0,u.uC)(s||f,M);c=e?.contactId||""}(0,u.Yx)({baseURL:M,contactId:c,referenceIds:v,isOptIn:e?.isOptIn??!0}).catch(()=>{console.error("Opt-in SF newsletter failed!")}),200===t?.status&&(l(!0),C([]),x(e=>a?(e||[]).filter(e=>!g.includes(e)):[...e||[],...g]))}catch(e){throw new Error("Opt-in newsletter failed!")}"function"==typeof t&&t()}},[M,N,w,I,i]),F=(0,r.useCallback)(async(e,t,n)=>{const r=await(0,u.cL)(e,M,n);r?.email?(i&&((0,u.uC)(r?.email||e,M).then(e=>{window.services.loginService.user.contactId=e?.contactId||i?.contactId}).catch(()=>{console.error("Error fetching SF user subscribed newsletters")}),window.services.loginService.user.email=r?.email||e),x(r?.lists||[]),t&&T(v(v({},r),{},{contactId:i?.contactId,sailthruKey:"sid"}))):x([])},[M,i]),B=(0,r.useCallback)((0,f.s1)(e=>{y([]),D({newsletterIds:e},()=>{void 0!==k&&k(t=>t?t.map(t=>(0,u.Y1)(t,!1,e)):[])})},1e3),[D]),V=(0,r.useCallback)((0,f.s1)(e=>{D({newsletterIds:e,isOptIn:!1},()=>{k(t=>t?t.map(t=>(0,u.Y1)(t,!1,e)):[])})},1e3),[D]),H=(0,r.useCallback)((e,t)=>{const n=N===d.eF.LOGGED_OUT&&!I,r=(0,u.ZH)(w||[],e),i=n?!(0,u.ZH)(_,e):!r;if((0,u.RX)(t,i,!0),n)return P(!0),void(!r&&C(t=>{const n=[...t];return t?.includes(e)?t?.filter(t=>t!==e):(n.push(e),n)}));if(k(t=>t?t.map(t=>(0,u.Y1)(t,!0,e)):[]),r)return void V([e]);const o=[...b];o.includes(e)||o.push(e),y(o),B(o)},[N,b,w,I,_,C,k,B,V]);return(0,r.useEffect)(()=>{"undefined"!=typeof window&&n(e=>{o(e),F(e?.email),A(e?.state||d.eF.LOGGED_OUT)},1e3)},[]),S?.length?(0,h.jsxs)("div",{className:"flex flex-col justify-center gap-4",children:[a&&(0,h.jsx)("div",{className:"border-t-2 border-solid border-neutral-black"}),(0,h.jsx)("div",{className:"flex flex-col gap-4",children:O?.map((e,t)=>(0,h.jsx)("div",{className:"relative",children:(0,h.jsx)(s(),{onClickBtn:()=>H(e?.newsletter_sailthru_name||"",e?.newsletter_title),isSubscribed:(0,u.ZH)(w||[],e?.newsletter_sailthru_name||""),newsletterUrl:e?.newsletter_url,newsletterTitle:e?.newsletter_title,newsletterPromoText:e?.newsletter_promo_text||"",imageUrl:e?.image_url||"",isInInboxQueue:(0,u.ZH)(_,e?.newsletter_sailthru_name||""),hasBorder:l,imageStyle:p,layout:g,disabledBtn:e.isLoading,isLoading:e.isLoading||null===w})},t))}),(0,h.jsx)(c(),{newsletters:O,recaptchaSiteKey:R,userLoggedInfo:N,waitingSignupNewsletters:_,isShowModal:L,setIsShowModal:P,optInNewsletters:D,gatewayUrlAws:M,pushPMNDataLayerSignUp:u.p_,isNewslettersFoodFront:!0,customErrorMessage:"Something went wrong, please try again!"})]}):null};y=(0,r.memo)((0,p.A)(y));const w=Array.from({length:5},(e,t)=>t+1).reduce((e,t)=>
2{const n=`Newsletter ${t}`;return v(v({},e),{},{[`newsletter${t}Title`]:o().string.tag({name:"Newsletter Title",defaultValue:"",group:n}),[`newsletter${t}Id`]:o().string.tag({name:"Newsletter ID",defaultValue:"",group:n}),[`newsletter${t}ImageUrl`]:o().string.tag({name:"Thumbnail Image URL",defaultValue:"",group:n}),[`newsletter${t}Description`]:o().string.tag({name:"Description",defaultValue:"",group:n}),[`newsletter${t}SailthruName`]:o().string.tag({name:"Sailthru List Name",defaultValue:"",group:n}),[`newsletter${t}Url`]:o().string.tag({name:"Newsletter URL",defaultValue:"",group:n})})},{});y.propTypes={customFields:o().shape(v({hasTopLine:o().bool.tag({name:"Enable Top Line",defaultValue:!1,description:"Show/Hide the top line",group:"Display"}),hasBorder:o().bool.tag({name:"Show box outline",defaultValue:!0,group:"Display"}),imageStyle:o().oneOf(["square","rounded"]).tag({name:"Thumbnail corners",labels:{square:"Square",rounded:"Rounded"},defaultValue:"square",group:"Display"}),layout:o().oneOf(["universal","minimal"]).tag({name:"Layout",description:"Universal: responsive layout for full-width placements. Minimal: compact fixed layout for narrow placements such as the right rail.",labels:{universal:"Universal",minimal:"Minimal"},defaultValue:"universal",group:"Display"})},w))},y.lazy=!0,t.default=y},40980:function(e,t,n){"use strict";n.r(t),n.d(t,{getRenderStoriesList:function(){return j}});var r=n(40809),i=n(4321),o=n(86780),a=n.n(o),s=n(39464),l=n.n(s),c=n(76560),u=n(55826),d=n(49036),f=n(63952),p=n(16494),m=n(44638),h=n(19852),g=n(84326),v=n(987),b=n(99970),y=n(77633),w=n(34766);function x(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const j=(e,t)=>{const n=e?.map(e=>{if("object"!=typeof e)return null;const{type:t,promo_items:n,_id:r,subtype:i}=e;return(0,h.cZ)(t)&&(e.promo_items=_(_({},n),{},{video:n?.basic?_(_({},n.basic),{},{_id:r}):null})),(0,h.Yi)(i)&&(e.canonical_url=e?.editor_note),e});return t?n?.filter(e=>e?.promo_items?.video||(0,h.cZ)(e?.type||"")):n};let S=({customFields:e,id:t})=>{const n=(0,i.useFusionContext)(),{requestUri:o}=n,{featureChainComponents:a}=(0,b.p)(),{hasTopLine:s,packageLabel:h,displaySize:x=5,imageRatio:C,showArrows:S,hasImageRounded:O=!0,hasEyebrow:k=!1,hasAuthor:E=!1,source:L,feedSize:P,collectionId:N,collectionFeedOffset:A,includeSections:I,excludeSections:T,sectionFeedOffset:M,sectionFeedOrder:R,tagFeedSlug:D,tagFeedOffset:F,tagFeedOrder:B,backgroundColor:V,isVerticalVideo:H,hasPadding:q}=e,U=(0,d.Ru)({source:L,collectionId:N,collectionSize:P,collectionOffset:A,includeSections:I,excludeSections:T,feedSize:P,feedOffset:M,order:R,tagFeedSlug:D,tagFeedSize:P,tagFeedOffset:F,tagFeedOrder:B},!1),$=(0,r.useRef)(null),[z,G]=(0,r.useState)(0),[K,Y]=(0,r.useState)(0),W=(0,r.useMemo)(()=>j(U?.stories,H)||[],[U?.stories,H]),Z=(0,r.useMemo)(()=>(0,m.H7)(t,a),[t,a]),J=(0,r.useMemo)(()=>(0,m.Nu)(t,a),[t,a]),X=(0,r.useMemo)(()=>(0,m.mm)(t,a,"right-rail-300-chain"),[t,a]),Q=(0,r.useMemo)(()=>(0,m.mm)(t,a,u.AP)||(0,m.mm)(t,a,u.Hu),[t,a]),ee=(0,r.useMemo)(()=>(0,m.mm)(t,a,u.lj),[t,a]),te=(0,r.useMemo)(()=>!X&&1===J,[J,X]),ne=(0,r.useMemo)(()=>
2Q?268:X?916:(1240-(te?0:24))*J,[te,J,X,Q]),re=(0,r.useMemo)(()=>x<=0?0:Math.floor((ne-16*Math.round(x-1))/x),[ne,x,16]),ie=(0,r.useMemo)(()=>(0,m.Bi)(V),[V]),oe=(0,r.useMemo)(()=>ie?"8px 8px 0 0":O?"8px":"",[ie,O]),ae=(0,r.useMemo)(()=>(0,m.Zf)(n,a),[n,a]),se=(0,r.useMemo)(()=>Q?"p-4 rounded":Z?te?""+(ee?"":"xl:px-5"):"px-5 sm:px-0":(q?"py-5":"")+" px-5",[Q,Z,te,ee,q]),le=(0,r.useCallback)(e=>(0,v.pt)(n,t,a,e),[n,t,a]),ce=(0,r.useCallback)(e=>{const t=e?.promo_items?.video?._id||e?._id;if(!t)return;le(e?.canonical_url);const n=(0,m.NY)(L,{collectionId:N,includeSections:I,tagFeedSlug:D},t);"undefined"!=typeof window&&n&&(window.location.href=n)},[L,N,I,D,le]),ue=(0,r.useCallback)(()=>{"undefined"!=typeof window&&W?.length&&window?.scrollY>0&&(G(Math.min(W?.length,8)),window.removeEventListener("scroll",ue))},[W?.length]),de=(0,r.useCallback)(()=>{!H||z>=W?.length||G(e=>{const t=W?.length-e;return e+Math.min(x,t)})},[W?.length,z,H,x]);return(0,r.useEffect)(()=>{$?.current&&($.current.querySelectorAll("a").forEach(e=>{e.setAttribute("draggable","false")}),(0,v.Nz)(n,$?.current,t,a))},[$?.current,n,t,a]),(0,r.useEffect)(()=>{if(H&&"undefined"!=typeof window)return window.addEventListener("scroll",ue),()=>{window.removeEventListener("scroll",ue)}},[ue,H]),W.length?(0,w.jsxs)("section",{ref:$,className:`flex flex-col bg-white ${se} ${Q?"gap-2":"gap-4"}`,children:[s&&(0,w.jsx)("div",{className:"border-t-2 border-solid border-neutral-black"}),(0,w.jsx)(l(),_(_({showArrows:S,carouselLabel:h,cardWidth:re,customPackageLabelClasses:"font-grot12-condensed text-6 leading-6 uppercase font-semibold text-black"},H&&{handleLoadMoreVideos:de,setFirstVisibleVideoId:Y}),{},{children:W?.filter(e=>e)?.map((e,t)=>(0,w.jsx)(f.t,{children:(0,w.jsx)("div",{className:"h-full",style:{width:`${re}px`},children:H?(0,w.jsx)(c.CarouselVerticalVideoCard,{story:e,dataEnv:"prod"===(0,g.p)("ENV")?"prod":"sandbox",showPromoImage:t>=z,firstVisibleVideoId:`powa-${W[K]?.promo_items?.video?._id||""}`,videoOptions:{muted:!0},handleVideoClick:ce}):(0,w.jsx)(p.A,{story:e,customMaxWidth:"max-w-full "+(ie?"h-full":""),hasBlurb:!1,hasEyebrow:(0,y.Mt)(e?.taxonomy?.sections||[],o||"",e?.subtype||"",e?.taxonomy?.tags||[])&&k,imageRatio:C,hasShareTools:!1,hasBoxShadow:!1,customHeadlineClasses:"text-5 md:text-6 lg:text-5 leading-none "+(k?"":"-mt-1"),timelinesNo:0,isShowRelatedStories:!1,showAuthor:E,isInFeed:!1,isInCarousel:!0,eyebrowPosition:"below",hasPadding:ie,customCardWrapperClasses:ie?"h-full":"",cardBackground:ie?V:"",cardBorderRadius:ie?"8px":"0",imgBorderRadius:oe,dataLinkType:ae,pushClickEventOnCards:le})})},t))}))]}):null};S=(0,r.memo)(S),S.propTypes={customFields:a().shape({hasTopLine:a().bool.tag({name:"Enable Top Line",defaultValue:!1,description:"Show/Hide the top line",group:"Package Header"}),packageLabel:a().string.tag({name:"Package Label",defaultValue:"Where to eat",group:"Package Header"}),displaySize:a().number.tag({name:"Display Size",defaultValue:5,description:"This indicates the number of cards shown on the desktop version and is calculated for other breakpoints",group:"Carousel Configuration"}),imageRatio:a().oneOf(["3x2","2x3"]).tag({name:"Image Ratio",description:"Set image ratio for card's featured image",labels:{"3x2":"3x2","2x3":"2x3"},defaultValue:"2x3",group:"Carousel Configuration"}),backgroundColor:a().string.tag({name:"Background Color",defaultValue:"",group:"Carousel Configuration"}),showArrows:a().bool.tag({name:"Show Arrows",description:"Show/Hide the arrows",defaultValue:!0,group:"Carousel Configuration"}),hasImageRounded:a().bool.tag({name:"Enable Image Rounded",defaultValue:!0,description:"Turn ON/OFF image rounded",group:"Carousel Configuration"}),hasEyebrow:a().bool.tag({name:"Enable Eyebrow",defaultValue:!1,description:"Show/Hide eyebrow",group:"Carousel Configuration"}),hasAuthor:a().bool.tag({name:"Enable Author",defaultValue:!1,description:"Show/Hide author",group:"Carousel Configuration"}),source:a().oneOf([u.w4,u.XF,u.Oe]).tag({name:"Content Source",labels:{COLLECTION_FEED:"Collection Feed",SECTION_FEED:"Section Feed",TAG_FEED:"Tag Feed"},defaultValue:""}),feedSize:a().number.tag({name:"Feed Size",defaultValue:10}),collectionId:a().string.tag({name:"Collection Id",defaultValue:"",group:"Collection Feed",formPlugin:"collections-autocomplete"}),collectionFeedOffset:a().number.tag({name:"Collection Offset",defaultValue:0,group:"Collection Feed"}),includeSections:a().string.tag({name:"Include Sections",description:"Comma separated site taxonomies",defaultValue:"",group:"Section Feed"}),excludeSections:a().string.tag({name:"Exclude Sections",description:"Comma separated site taxonomies",defaultValue:"",group:"Section Feed"}),sectionFeedOffset:a().number.tag({name:"Section Offset",defaultValue:0,group:"Section Feed"}),sectionFeedOrder:a().string.tag({name:"Section Order",description:"Ex: first_publish_date:desc",defaultValue:u.YP,group:"Section Feed"}),tagFeedSlug:a().string.tag({name:"Tag Feed Slug",defaultValue:"",group:"Tag Feed"}),tagFeedOffset:a().number.tag({name:"Tag Feed Offset",defaultValue:0,group:"Tag Feed"}),tagFeedOrder:a().string.tag({name:"Tag Feed Order",description:"Ex: first_publish_date:desc",defaultValue:u.YP,group:"Tag Feed"}),isVerticalVideo:a().bool.tag({name:"Vertical Video Type",defaultValue:!1,description:"Toggle between displaying a list of story cards or a list of vertical videos."}),hasPadding:a().bool.tag({name:"Enable Padding",defaultValue:!1,description:"Enable padding at top/bottom"})})},t.default=S},88338:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return A}});var r=n(40809),i=n(86780),o=n.n(i),a=n(22210);var s=n(14375),l=n(63786),c=n(27852),u=n(19237),d=n(25122),f=n(19852),p=n(34766);function m(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?m(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=({cardLayout:e,contentElements:t})=>{const n="top-banner"===e,r=n?"mb-8 sm:mx-5":"mx-5 mb-8 sm:mx-5",i={layoutType:e,packageDescription:"",chainLabelAnalytics:"",packageLabel:n?"For You":"Most Read",morelinkHref:"",morelinkLabel:"",moreDataLinkType:"hp-more"},o={analyticsData:null,contentElements:t.map(e=>h(h({},e),{},{bylines:(0,f.kS)(e)})),hasBlurbFirstCard:n,hasBlurbGridCards:!1,hasImageFirstCard:!0,hasImageGridCards:!0,hasEyebrow:!0,dataLinkType:""};return(0,p.jsxs)("div",{className:r,children:[(0,p.jsx)(u.A,{layoutType:e}),(0,p.jsx)(d.A,h({},i)),n?(0,p.jsx)(l.A,h({},o)):(0,p.jsx)(c.A,h(h({},o),{}
2,{divider:!0,requestUri:"",mdClass:"md:grid md:grid-cols-4 gap-5 lg:gap-6 grid-rows-auto hidden overflow-hidden",smClass:"grid sm:grid-cols-2 grid-rows-auto grid-cols-1 gap-8 overflow-hidden m-0"}))]})},b=n(60205);var y=({stories:e,title:t,feedLength:n,onRendered:i})=>{if((0,r.useEffect)(()=>{i&&i(e.length)},[e.length]),!e.length)return null;const o=e.map(e=>({link:e.canonical_url||"",title:e.headlines?.basic||"",timestamp:e.display_date||"",taxonomy:e.taxonomy||{}}));return(0,p.jsx)(b.HeadlineListCard,{headlines:o,title:t||"Trending in Philly",mapIndex:1,dataCardType:"headline-list-card",dataLinkType:"headline-list-card",feedLength:n||o.length,feedProvenance:"fixed",hasTimestamps:!1},"headline-in-feed")};const w="RECENT_VIEW",x=new Map,_=new Map,C=(e,t)=>{_.set(e,Math.max(_.get(e)??0,t));const n=x.get(e);if(n)return n;const r=Promise.resolve().then(()=>{const n=12*(_.get(e)??t)*2;return(async(e,t)=>{const n=encodeURIComponent(JSON.stringify({profileId:e,size:t,algorithm1:"COLLABORATIVE_FILTERING",algorithm2:w,ratio1:"0.5",ratio2:"0.5",responseType:"idsByGroup",limit:5}));try{const e=await fetch(`/pf/api/v3/content/fetch/recommended-feed?query=${n}`,{headers:{accept:"application/json"}});if(!e.ok)return[];const t=await e.json();return Array.isArray(t)?t:[]}catch(e){return[]}})(e,n)});return x.set(e,r),r};var j=n(2958);function S(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 O(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=({algorithm:e,feedSize:t,layout:n,cardLayout:i,feedLength:o,onRendered:a})=>{const l=(0,j.k)(),[c,u]=(0,r.useState)(null);(0,r.useEffect)(()=>{if(!l)return;let e=!0;return C(l,t).then(t=>{e&&u(t)}),()=>{e=!1}},[l,t]);const d=(0,r.useMemo)(()=>c?.find(t=>t.algorithm===e)?.feed??[],[c,e]),f=(0,r.useMemo)(()=>{const t=e===w;return function(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){O(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}({ids:d.join(","),feedType:t?"most-read":"for-you"},t?{maxAgeHours:72,firstSlotMaxAgeHours:12}:{})},[d,e]),m=(0,s.useContent)(d.length>0&&{source:"blueconic-recommendations",query:f}),h=(0,r.useMemo)(()=>(m??[]).slice(0,t),[m,t]);return h.length?"headline-list-style"===n?(0,p.jsx)(y,{stories:h,feedLength:o,onRendered:a}):(0,p.jsx)(v,{cardLayout:i,contentElements:h}):null},E=n(4321);const L=e=>({_id:e.link,type:"story",headlines:{basic:e.title},canonical_url:e.link,taxonomy:{sections:e.taxonomy?.sections??[]},credits:{by:(e.authors??[]).map(e=>({name:e}))}});var P=({feedSize:e,feedLength:t,onRendered:n})=>{const{globalContent:r}=(0,E.useAppContext)(),i=r?._id,o=r?.canonical_url,a=r?.taxonomy?.primary_site?._id||"/news",l=(0,s.useContent)(!!i&&{source:"mini-tail-feed",query:{articleID:i,canonicalUrl:o,headlinesNo:e,brownCardsNo:0,taxonomyCardsNo:0,primarySection:a}});if(!l)return null;const c=Array.isArray(l)?l.find(e=>e&&"headline"===e.type):null,u=c&&c.content_elements||[];if(!u.length)return null;const d=u.slice(0,e).map(L);return(0,p.jsx)(y,{stories:d,feedLength:t,onRendered:n})};const N=({customFields:e,feedLength:t,onRendered:n})=>{const{growthBookFeatureName:r,layout:i="card-style",cardLayout:o="strip",feedSize:s=5,personalizationSetup:l}=e,c=(0,a.Br)(r??"",null);if(!l)return null;const u=((e,t)=>t?e.find(e=>e.source===t)??null:null)((e=>{const t=[];return Object.keys(e).forEach(n=>{"Piano"!==n&&"Blueconic"!==n&&"Chartbeat"!==n||t.push({source:n,config:"null"===e[n]||""===e[n]?null:e[n]})}),t})(l),c);return"Blueconic"===u?.source&&u?.config?(0,p.jsx)(k,{algorithm:u.config,feedSize:s,layout:i,cardLayout:o,feedLength:t,onRendered:n}):"Chartbeat"===u?.source?(0,p.jsx)(P,{feedSize:s,feedLength:t,onRendered:n}):"Piano"===u?.source&&u?.config?(0,p.jsx)("div",{className:u.config}):null};N.propTypes={customFields:o().shape({growthBookFeatureName:o().string.tag({name:"GrowthBook Feature Name",group:"Configuration",description:'Feature flag whose value selects the source key in Personalization Setup ("Blueconic" or "Piano")'}),personalizationSetup:o().kvp.tag({name:"Personalization Setup",group:"Configuration",description:"KVP source|config: e.g. Pi
2ano|region_inq Blueconic|COLLABORATIVE_FILTERING"}),layout:o().oneOf(["card-style","headline-list-style"]).tag({name:"Layout",group:"Configuration",labels:["Card Style","Headline List Style"],defaultValue:"card-style",description:"Card Style: For You / Most Read. Headline List Style: HeadlineList feed"}),cardLayout:o().oneOf(["top-banner","strip"]).tag({name:"Card Layout",group:"Configuration",labels:["Top Banner","Strip"],defaultValue:"strip",description:"Only used with Card Style layout. For You = Top Banner, Most Read = Strip"}),feedSize:o().number.tag({name:"Feed Size",group:"Configuration",defaultValue:5})})};var A=N},86471:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(86780),a=n.n(o),s=n(4321),l=n(56877),c=n(16494),u=n(62079),d=n(55826),f=n(49036),p=n(20843),m=n(77633),h=n(987),g=n(99970),v=n(63952),b=n(34766);function y(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 w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach(function(t){x(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _=["Title","Id","ImageUrl","Description","SailthruName","Url"];let C=({id:e,customFields:t})=>{const{source:n,feedSize:i,collectionId:o,collectionFeedOffset:a,includeSections:d,excludeSections:y,sectionFeedOffset:x,sectionFeedOrder:C,tagFeedSlug:j,tagFeedOffset:S,tagFeedOrder:O}=t,k=(0,s.useFusionContext)(),{metaValue:E}=(0,s.useAppContext)(),{featureChainComponents:L,allPackagesLayouts:P}=(0,g.p)(),N=(0,r.useRef)(null),A=(0,f.Ru)({source:n,collectionId:o,collectionSize:i,collectionOffset:a,includeSections:d,excludeSections:y,feedSize:i,feedOffset:x,order:C,tagFeedSlug:j,tagFeedSize:i,tagFeedOffset:S,tagFeedOrder:O},!1),I=(0,r.useMemo)(()=>(0,l.transformToArticleList)(A?.stories||[]),[A?.stories]),T=(0,r.useMemo)(()=>(e=>{const t={layout:"universal",hasBorder:!0,imageStyle:"square",hasTopLine:!1};for(let n=1;n<=5;n+=1)_.forEach(r=>{const i=`newsletter${n}${r}`;t[i]=String(e[i]||"")});return t})(t),[t]),M=(0,r.useMemo)(()=>(0,p.rD)(E)?(0,m.Ji)(k,L,P):{},[E,k,L,P]),R=(0,r.useCallback)(t=>(0,h.pt)(k,e,L,t),[k,e,L]);if((0,r.useEffect)(()=>{N.current&&(0,h.Nz)(k,N.current,e,L)},[k,e,L]),!I.length)return null;const[D,...F]=I,B="font-inquirer-text-web text-3.5 leading-4.5 font-medium text-neutral-light-text sm:text-4 sm:leading-5";return(0,b.jsx)(v.t,{children:(0,b.jsx)("section",w(w({ref:N,className:"standardTopic relative"},M),{},{children:(0,b.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 px-5 sm:px-0 gap-4 sm:gap-6 lg:gap-6",children:[D&&(0,b.jsx)("div",{className:"border-solid border-neutral-light-charcoal-gray border-b lg:border-b-0 pb-4 sm:pb-6",children:(0,b.jsx)(c.A,{story:D,imageRatio:"3x2",isInFeed:!1,hasShareTools:!1,hasBoxShadow:!1,eyebrowPosition:"below",hasBlurb:!0,hasImage:!0,hasEyebrow:!1,customCardWrapperClasses:"sm:mx-0 -mx-5",customMaxWidth:"max-w-full",hideTimestamp:!1,hasPadding:!0,customHeadlineClasses:"leading-none break-words text-6 sm:text-8",customDescriptionClasses:B,showAuthor:!0,pushClickEventOnCards:R,showAsLiveBlogCard:!1})}),(0,b.jsxs)("div",{className:"flex flex-col lg:gap-4",children:[(0,b.jsx)("div",{className:"order-2 lg:order-1 border-t border-solid border-neutral-light-charcoal-gray pt-4 lg:border-t-0 lg:pt-0",children:(0,b.jsx)(u.default,{customFields:T})}),(0,b.jsx)("div",{className:"order-1 lg:order-2 flex flex-col divide-solid divide-y divide-neutral-light-charcoal-gray",children:F.map((e,t)=>(0,b.jsx)("div",{className:0!==t?"pt-4":"",children:(0,b.jsx)(c.A,{story:e,isInFeed:!1,hasShareTools:!1,hasBoxShadow:!1,eyebrowPosition:"below",hasBlurb:!1,hasImage:!1,hasEyebrow:!1,customMaxWidth:"max-w-full",hideTimestamp:!1,hasPadding:!1,customHeadlineClasses:"leading-none break-words text-5 lg:text-6",customDescriptionClasses:B,timelinesNo:0,showAuthor:!1,pushClickEventOnCards:R,showAsLiveBlogCard:!1})},e._id))})]})]})}))})};C=i().memo(C);const j=Array.from({length:5},(e,t)=>t+1).reduce((e,t)=>
2{const n=`Newsletter ${t}`;return w(w({},e),{},{[`newsletter${t}Title`]:a().string.tag({name:"Newsletter Title",defaultValue:"",group:n}),[`newsletter${t}Id`]:a().string.tag({name:"Newsletter ID",defaultValue:"",group:n}),[`newsletter${t}ImageUrl`]:a().string.tag({name:"Thumbnail Image URL",defaultValue:"",group:n}),[`newsletter${t}Description`]:a().string.tag({name:"Description",defaultValue:"",group:n}),[`newsletter${t}SailthruName`]:a().string.tag({name:"Sailthru List Name",defaultValue:"",group:n}),[`newsletter${t}Url`]:a().string.tag({name:"Newsletter URL",defaultValue:"",group:n})})},{});C.propTypes={customFields:a().shape(w({source:a().oneOf([d.w4,d.XF,d.Oe]).tag({name:"Content Source",labels:{COLLECTION_FEED:"Collection Feed",SECTION_FEED:"Section Feed",TAG_FEED:"Tag Feed"},defaultValue:"",group:"Content"}),feedSize:a().number.tag({name:"Feed Size",defaultValue:5,group:"Content"}),collectionId:a().string.tag({name:"Collection Id",defaultValue:"",group:"Collection Feed",formPlugin:"collections-autocomplete"}),collectionFeedOffset:a().number.tag({name:"Collection Offset",defaultValue:0,group:"Collection Feed"}),includeSections:a().string.tag({name:"Include Sections",description:"Comma separated site taxonomies",defaultValue:"",group:"Section Feed"}),excludeSections:a().string.tag({name:"Exclude Sections",description:"Comma separated site taxonomies",defaultValue:"",group:"Section Feed"}),sectionFeedOffset:a().number.tag({name:"Section Offset",defaultValue:0,group:"Section Feed"}),sectionFeedOrder:a().string.tag({name:"Section Order",description:"Ex: first_publish_date:desc",defaultValue:d.YP,group:"Section Feed"}),tagFeedSlug:a().string.tag({name:"Tag Feed Slug",defaultValue:"",group:"Tag Feed"}),tagFeedOffset:a().number.tag({name:"Tag Feed Offset",defaultValue:0,group:"Tag Feed"}),tagFeedOrder:a().string.tag({name:"Tag Feed Order",description:"Ex: first_publish_date:desc",defaultValue:d.YP,group:"Tag Feed"})},j))},t.default=C},22897:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(86780),a=n.n(o),s=n(14375),l=n(49823),c=n.n(l),u=n(66507),d=n(63952),f=n(99970),p=n(77633),m=n(56877),h=n(44638),g=n(49036),v=n(55826),b=n(91411),y=n(6607),w=n(58024),x=n(34766);let _=({customFields:e,id:t})=>{const{renderables:n,requestUri:o,globalContent:a}=(0,i.useFusionContext)(),{featureChainComponents:l,allPackagesLayouts:_}=(0,f.p)(),C=(0,p.Ji)((0,i.useFusionContext)(),l,_),[j,S,O]=(0,r.useMemo)(()=>{const e=o?.split("/").filter(Boolean)||[],t=`/${e.slice(0,e?.length-1).join("/")||""}`,n=e[e?.length-1];return[t,t,parseInt(n||"",10)]},[o]),k=(0,r.useMemo)(()=>(0,y.EL)(a?.type),[a?.type]);let E;E=k?{name:a?.tagName}:(0,s.useContent)({source:S?"site-menu":null,query:{section:S,hierarchy:"section_front_sub_nav"}});const{source:L,includeSections:P,excludeSections:N,order:A,tagFeedSlug:I,tagFeedOrder:T,packageDescription:M,nativoPosition:R,nativeAdSlotNo:D,hasTopLine:F=!1,hasBlurbFirstCard:B=!1,hasBlurbGridCards:V=!1,hasImageFirstCard:H=!0,hasImageGridCards:q=!0,hasEyebrowGridCard:U=!0}=(0,r.useMemo)(()=>e,[e]),[$,z]=(0,r.useState)(!0),[G,K]=(0,r.useState)(O),[Y,W]=(0,r.useState)(!1),[Z,J]=(0,r.useState)([]),[X,Q]=(0,r.useState)((O-1)*v.Jt),[ee,te]=(0,r.useState)("desktop"),ne=(0,g.Ru)({source:L||(k?v.vv:v.XF),includeSections:P||S,excludeSections:N,feedSize:v.Jt,feedOffset:X,order:A,tagFeedSlug:k?a?.tagSlug:I,tagFeedSize:v.Jt,tagFeedOffset:X,tagFeedOrder:T},!1,0,h.hn),re=(0,r.useMemo)(()=>(0,m.transformToArticleList)(ne?.stories||[]),[ne?.stories]),ie=(0,r.useMemo)(()=>`More from ${E?.name}`,[E?.name]),oe=(0,r.useMemo)(()=>Math.ceil(ne?.count/v.Jt)||0,[ne?.count]);(0,b.VP)(Z)&&!(0,b.VP)(re)&&J(re);const ae=(0,r.useCallback)(e=>{"undefined"!=typeof window&&(1===e?window.location.pathname=j:(window.history.pushState({},"",`${j}/${e}/`),e!==G&&W(!0),Q((e-1)*v.Jt),K(e)),window.scrollTo({top:0,left:0,behavior:"instant"}))},[G]),se=(0,r.useCallback)(()=>{if("undefined"!=typeof window){const{hostname:e,pathname:t}=window.location;window.location.href=`${e}${t}2/`}},[]),le=(0,r.useCallback)(()=>{(0,b.dm)()?te("desktop"):(0,b.P0)()?te("tablet"):te("mobile")},[]);return(0,r.useEffect)(()=>(le(),"undefined"!=typeof window&&window.addEventListener("resize",le),()=>{window.removeEventListener("resize",le)}),[]),(0,r.useEffect)(()=>{ne&&z(!1)},[ne]),(0,r.useEffect)(()=>{0===ne?.count&&!1===$&&(window.location.href=`${window.location.origin}${j}/`)},[ne?.count,$]),(0,r.useEffect)(()=>{Y&&JSON.stringify(re)!==JSON.stringify(Z)&&(W(!1),J(re))},[Y,re,Z]),!$&&re?.length&&oe?(0,x.jsx)(d.t,{children:(0,x.jsxs)("div",{className:"mx-5 mb-8"+((0,h.H7)(t,n)?" sm:mx-0":""),children:[(0,x.jsx)("div",{className:"flex justify-center align-center mb-4 mt-4",children:(0,x.jsx)(c(),{currentPage:G,totalPageCount:oe,screenSize:ee,labels:v.DH,onCustomPrevBehavior:()=>se(),onPageChange:e=>ae(e)})}),(0,x.jsxs)("div",{children:[F&&(0,x.jsx)("div",{className:"border-t-2 border-solid border-neutral-black"}),ie?(0,x.jsx)("div",{className:"grid-standard-topic grid grid-cols-6 sm:grid-cols-5 pt-4 pb-2",children:(0,x.jsx)("div",{className:"col-span-4 content-center type-section-header-2",children:(0,x.jsx)(g.FQ,{chainLabel:ie,chainClass:"text-black text-8 leading-8"})})}):null,M&&(0,x.jsx)("div",{className:"grid grid-cols-4 type-card-tease-1 pt-0 sm:pb-0 pb-4 sm:mb-5 sm:px-0 normal-case",children:(0,x.jsx)("div",{className:"lg:col-span-3 col-span-4",children:(0,x.jsx)("div",{className:"text-gray-dark text-4 leading-5 lg:text-5 lg:leading-6",children:M})})})]}),Y?(0,x.jsx)("div",{className:"my-4",children:(0,x.jsx)(u.LoadingCard,{hasFullWidth:!0,noMargin:!0})}):(0,x.jsx)(w.A,{contentElements:Z,nativeAdPosition:R,nativeAdSlotNo:D,analyticsData:C,hasBlurbFirstCard:B,hasBlurbGridCards:V,hasEyebrow:U,hasImageFirstCard:H,hasImageGridCards:q,requestUri:o}),(0,x.jsx)("div",{className:"flex justify-center align-center",children:(0,x.jsx)(c(),{currentPage:G,totalPageCount:oe,screenSize:ee,labels:v.DH,onCustomPrevBehavior:()=>se(),onPageChange:e=>ae(e)})})]})}):(0,x.jsx)("div",{className:"px-5 xl:px-0",children:(0,x.jsx)(u.LoadingCard,{hasFullWidth:!0,noMargin:!0})})};_=(0,r.memo)(_),_.propTypes={customFields:a().shape({source:a().oneOf([v.XF,v.Oe]).tag({name:"Content Source",labels:{SECTION_FEED:"Section Feed",TAG_FEED:"Tag Feed"},defaultValue:v.XF}),includeSections:a().string.tag({name:"Include Sections",description:"Comma separated site taxonomies",defaultValue:v.BF,group:"Section Feed"}),excludeSections:a().string.tag({name:"Exclude Sections",description:"Comma separated site taxonomies",defaultValue:v.Xd,group:"Section Feed"}),order:a().string.tag({name:"Section Order",description:"Ex: first_publish_date:desc",defaultValue:v.YP,group:"Section Feed"}),tagFeedSlug:a().string.tag({name:"Tag Feed Slug",defaultValue:"",group:"Tag Feed"}),tagFeedOrder:a().string.tag({name:"Tag Feed Order",description:"Ex: first_publish_date:desc",defaultValue:v.YP,group:"Tag Feed"}),nativoPosition:a().number.tag({name:"Position of Nativo Ads",defaultValue:3,description:"Put in 0 to disable Nativo ads. Otherwise to enable it at the specific position",group:"Nativo"}),nativeAdSlotNo:a().number.tag({name:"Native AdSlot No",defaultValue:1,description:"Native AdSlot No Start With This Number and Automatically Increase. Default to 1",group:"Nativo"}),hasTopLine:a().bool.tag({name:"Enable Top Line",defaultValue:!1,description:"Show/Hide the top line",group:"Package header"}),packageLabel:a().string.tag({name:"Package Label",defaultValue:"",group:"Package header"}),packageDescription:a().string.tag({name:"Package Description",defaultValue:"",group:"Package header"}),hasEyebrowGridCard:a().bool.tag({name:"Enable Eyebrow",defaultValue:!0,description:"Show/Hide eyebrow for cards in grid"}),hasBlurbFirstCard:a().bool.tag({name:"Enable Blurb First Card",defaultValue:!1,description:"Show/Hide blurb for first card"}),hasBlurbGridCards:a().bool.tag({name:"Enable Blurb Grid Cards",defaultValue:!1,description:"Show/Hide blurb for cards in grid"}),hasImageFirstCard:a().bool.tag({name:"Enable Image First Card",defaultValue:!0,description:"Show/Hide image for first card"}),hasImageGridCards:a().bool.tag({name:"Enable Image Grid Cards",defaultValue:!0,description:"Show/Hide image for cards in grid"})})},t.default=_},56877:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ne},transformToArticleList:function(){return ee}});var r=n(40809),i=n.n(r),o=n(14375),a=n(4321),s=n(86780),l=n.n(s);const c={strip:"Strip","big-left":"Big Left","top-banner":"Top Banner",vertical:"Vertical","food-style":"Food Style",masonry:"Masonry"},u=Object.keys(c),d=(e=[],t=[])=>JSON.stringify({query:{bool:{must:[{term:{"revision.published":"true"}},{nested:{path:"taxonomy.sections",query:{bool:{must:[{terms:{"taxonomy.sections._id":e}},{term:{"taxonomy.sections._website":"philly-media-network"}}]}}}}],must_not:[{nested:{path:"taxonomy.sections",query:{bool:{must:[{terms:{"taxonomy.sections._id":t}},{term:{"taxonomy.sections._website":"philly-media-network"}}]}}}}]}}}
2),f=["headlines","promo_items","description.basic","credits.by.name","credits.by.url","credits.by.additional_properties","credits.by.image.url","display_date","canonical_url","taxonomy.sites._id","taxonomy.primary_section.name","taxonomy.primary_section._id","taxonomy.tags","taxonomy.primary_site","subtype","type","additional_properties","label.eyebrows","related_content","first_publish_date","taxonomy.sections","distributor"].join(","),p=e=>e.split(",").map(e=>e.trim());function m(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const v=({source:e,collectionId:t,feedSize:n,tagFeedSlug:r,feedOffset:i,tagFeedOffset:o,collectionOffset:a,order:s,tagFeedOrder:l,includeSections:c,excludeSections:u,imgSrcSet:m,includePartnerContent:g})=>h(h({},{"collections-api":{namespace:"collections",queryParams:{_id:t,size:n,from:a,sort:s}},"section-feed":{namespace:"search/published",queryParams:{body:d(p(c),p(u)),from:i,sort:s,size:n}},"tag-feed":{namespace:"search/published",queryParams:{q:r,from:o,sort:l,size:n,_sourceInclude:f}}}[e]),{},{imgSrcSet:m,getAdditionalStoryData:{keyIn:"content_elements",path:"distributor.mode",operator:"===",pathValue:"reference",includedFields:["distributor"],backupEndpoint:"settings/v1/distributor"},includePartnerContent:g})||{},b=e=>{let t={};switch(e){case"top-banner":t={firstPromoImgSrcset:[500,350,300,200],promoImgSrcset:[200,150,100],promoImgRatio:"1x1",firstPromoImgRatio:"3x2"};break;case"big-left":t={firstPromoImgSrcset:[700,600,500],promoImgSrcset:[350,300,250]};break;case"strip":t={promoImgSrcset:[300,200,100]};break;case"vertical":t={promoImgSrcset:[350,300,200,100]};break;default:t={}}return t};var y=n(27852),w=n(16494),x=n(77633),_=n(63952),C=n(34766);function j(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 S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach(function(t){O(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function O(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k=({mdClass:e,analyticsData:t,contentElements:n,hasBlurbFirstCard:r,hasImageFirstCard:i,hasEyebrow:o,hasBlurbGridCards:a,hasImageGridCards:s,requestUri:l,dataLinkType:c,showAuthor:u,pushClickEventOnCards:d})=>(0,C.jsx)(_.t,{children:(0,C.jsx)("div",S(S({className:e},t),{},{children:(n||[]).map((e,t)=>{const n=0===t;return(0,C.jsx)(w.A,{story:e,imageRatio:"3x2",isInFeed:!1,hasShareTools:!1,hasBoxShadow:!1,eyebrowPosition:"below",customDescriptionClasses:"font-inquirer-text-web text-3.5 leading-4.5 font-medium text-neutral-light-text sm:text-4 sm:leading-5",hasBlurb:n?r:a||!1,hasImage:n?
2i:s||!1,hasEyebrow:o&&(0,x.Mt)(e.taxonomy?.sections||[],l||"",e.subtype||"",e.taxonomy?.tags||[]),customCardWrapperClasses:n?"row-span-1 col-span-2 md:row-span-2 md:col-span-2 col-span-2 sm:mx-0 -mx-5":"",customMaxWidth:"max-w-full",hideTimestamp:!1,hasPadding:n,customHeadlineClasses:"leading-none break-words "+(n?"text-6 md:text-8 ":"text-5 lg:text-6"),timelinesNo:0,dataLinkType:c,showAuthor:u,pushClickEventOnCards:d},e._id)})}))});var E=i().memo(k);var L=({morelinkHref:e,packageDescription:t,layoutType:n})=>{const r="text-4 leading-5 lg:text-5 lg:leading-6";return(0,C.jsx)("div",{className:`\n        grid grid-cols-4 type-card-tease-1 pt-0 sm:pb-0 pb-4 sm:mb-5 sm:px-0 normal-case\n        ${["big-left","top-banner"].includes(n)?"px-5":""}\n      `,children:(0,C.jsx)("div",{className:"lg:col-span-3 col-span-4",children:e?(0,C.jsx)("a",{href:e,className:`pointer no-underline text-gray-dark ${r}`,children:t}):(0,C.jsx)("div",{className:`text-gray-dark ${r}`,children:t})})})},P=n(25122),N=n(19237),A=n(63786),I=n(58024),T=n(19210),M=n(99970),R=n(20843),D=n(19852),F=n(987),B=n(6607),V=n(44638),H=n(49823),q=n.n(H),U=n(66507),$=n(55826),z=n(91411);function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach(function(t){Y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const W=({contentElements:e,hasBlurbFirstCard:t,hasBlurbGridCards:n,hasImageFirstCard:i,hasImageGridCards:s,hasEyebrow:l,requestUri:c,showAuthor:u=!0,pushClickEventOnCards:d,dataLinkType:f})=>{const{globalContent:p}=(0,a.useFusionContext)(),[m,h]=(0,r.useMemo)(()=>{const e=c?.split("/").filter(Boolean)||[],t=`/${e.slice(0,e?.length-1).join("/")||""}`,n=e[e?.length-1];return[t,isNaN(parseInt(n||"",10))?1:parseInt(n||"",10)]},[c]),[g,v]=(0,r.useState)(h),[b,y]=(0,r.useState)(!1),[j,S]=(0,r.useState)([]),[O,k]=(0,r.useState)((h-1)*$.Jt),[E,L]=(0,r.useState)("desktop"),[P,N]=(0,r.useState)(3),A=(0,r.useMemo)(()=>p?._id,[p?._id]),I=(0,r.useMemo)(()=>(0,V.ad)(p?.type),[p?.type]),M=(0,o.useContent)({source:I&&A?"author-api":null,query:{limit:$.Jt,author_id:A,offset:O,order:"display_date:desc"}}),R=(0,r.useMemo)(()=>I?ee(M?.content_elements):e,[I,M?.content_elements,e]),D=(0,r.useMemo)(()=>Math.ceil(M?.count/$.Jt)||0,[R?.length]);(0,z.VP)(j)&&!(0,z.VP)(R)&&S(R);const F=(0,r.useCallback)(e=>{"undefined"!=typeof window&&(1===e?window.location.pathname=`${m}/`:(window.history.pushState({},"",`${m}/${e}/`),e!==g&&y(!0),k((e-1)*$.Jt),v(e)))},[g]),B=(0,r.useCallback)(()=>{if("undefined"!=typeof window){const{hostname:e,pathname:t}=window.location;window.location.href=`${e}${t}`}},[]),H=(0,r.useCallback)(()=>{(0,z.dm)()?(L("desktop"),N(3)):(0,z.P0)()?(L("tablet"),N(2)):(L("mobile"),N(1))},[]),G=(0,r.useCallback)((e,t)=>{const n=(0,x.Z)(e,t);if(!n)return;let r=document.querySelector('script[data-schema="ProfilePage"]');r||(r=document.createElement("script"),r.setAttribute("type","application/ld+json"),r.setAttribute("data-schema","ProfilePage"),document.head.appendChild(r)),r.textContent=n},[]);return(0,r.useEffect)(()=>(H(),"undefined"!=typeof window&&window.addEventListener("resize",H),()=>{window.removeEventListener("resize",H)}),[]),(0,r.useEffect)(()=>{const e=document.querySelector('script[data-schema="ProfilePage"]');R.length||k(R?.length),R&&!e&&G(p,R.slice(0,100))},[R]),(0,r.useEffect)(()=>{b&&JSON.stringify(R)!==JSON.stringify(j)&&(y(!1),S(R))},[b,R,j]),(0,C.jsxs)(_.t,{children:[(0,C.jsx)("div",{className:"flex justify-center align-center my-4",children:1===g?null:(0,C.jsx)(q(),{
2currentPage:g,totalPageCount:D,screenSize:E,labels:$.DH,onCustomPrevBehavior:()=>B(),onPageChange:e=>F(e)})}),(0,C.jsx)("div",{className:"sm:grid sm:grid-cols-2 lg:grid-cols-3 grid-rows-auto gap-x-6 sm:px-5",children:[...Array(P).keys()].map(e=>(0,C.jsx)("div",{children:!M||b?(0,C.jsx)(U.LoadingCard,{}):R&&R.map((o,a)=>{const p=0===a;return a!==e&&(a-e)%P?null:(0,C.jsx)(r.Fragment,{children:(0,C.jsx)(w.A,K({story:o,hasBlurb:p?t:n,hasImage:p?i:s,hasEyebrow:l&&(0,x.Mt)(o.taxonomy?.sections||[],c||"",o.subtype||"",o.taxonomy?.tags||[]),imageRatio:"3x2",customHeadlineClasses:"text-8 leading-8",customDescriptionClasses:"font-inquirer-text-web text-3.5 leading-4.5 font-medium text-neutral-light-text xs:text-4 xs:leading-5",showAuthor:u,customCardWrapperClasses:"mb-2 sm:mb-4",hideTimestamp:!1,showAsLiveBlogCard:!1,hasLessThan3HoursFormatTimestamp:!1},!I&&{pushClickEventOnCards:d,dataLinkType:f}))},o._id)})},e))}),(0,C.jsx)("div",{className:"flex justify-center align-center my-4",children:1===g?null:(0,C.jsx)(q(),{currentPage:g,totalPageCount:D,screenSize:E,labels:$.DH,onCustomPrevBehavior:()=>B(),onPageChange:e=>F(e)})}),1===g&&M?.count>$.Jt?(0,C.jsx)(T.default,{}):null]})};var Z=i().memo(W);function J(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 X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Q(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ee=e=>{const t=[];return e&&e?.length?(e.forEach(e=>{const{type:n,promo_items:r,_id:i}=e;(0,D.cZ)(n)&&(e.promo_items=X(X({},r),{},{video:r?.basic?X(X({},r.basic),{},{_id:i}):null})),e.bylines=(0,D.kS)(e),t.push(e)}),t):[]},te=({customFields:e,id:t})=>{const{packageLabel:n,morelinkHref:i,morelinkBottom:s,packageDescription:l,chainLabelAnalytics:c,morelinkLabel:u,source:d,collectionId:f,tagFeedSlug:p,order:m,feedOffset:h,tagFeedOffset:g,collectionOffset:w,tagFeedOrder:_,includeSections:j,excludeSections:S,layoutType:O,nativoPosition:k,nativeAdSlotNo:D,showAuthor:H=!0}=e,q=(0,a.useFusionContext)(),{metaValue:U}=(0,a.useAppContext)(),{renderables:$,globalContent:z,requestUri:G}=q,{featureChainComponents:K,allPackagesLayouts:Y}=(0,M.p)(),W=(0,r.useRef)(null),[J,X,Q,te,ne,re,ie,oe]=(0,r.useMemo)(()=>[Boolean(e?.hasTopLine),Boolean(e?.hasBlurbFirstCard),Boolean(e?.hasBlurbGridCards),Boolean(e?.hasImageFirstCard),Boolean(e?.hasImageGridCards),Boolean(e?.hasEyebrow),Boolean(e?.inheritContent),Number(e?.feedSize)],[e]),ae=(0,r.useMemo)(()=>(0,R.rD)(U)?(0,x.Ji)(q,K,Y):{},[U,q,K,Y]),se=(0,r.useMemo)(()=>(0,B.EL)(z?.type),[z?.type]),le=(0,o.useContent)({source:d?"content-api-v3":null,query:v({source:d,collectionId:f,feedSize:oe,tagFeedSlug:p,feedOffset:h,tagFeedOffset:g,collectionOffset:w,tagFeedOrder:_,order:m,includeSections:ie&&z?._id||j,excludeSections:S,imgSrcSet:b(O),includePartnerContent:V.hn})}),ce=(0,r.useMemo)(()=>se?z?.contentElements.slice(Number(h),Number(h)+Number(oe)):null,[se,z?.contentElements,h,oe]),ue=(0,r.useMemo)(()=>ee(se?ce:le?.content_elements||le?.contentElements||[]),[le,se,ce]),de=(0,r.useMemo)(()=>se?z?.count>ce.length:le?.count>ue.length,[se,ue,le,z,ce]),fe=(0,r.useMemo)(()=>(0,V.Zf)(q,K),[q,K]),{mdClass:pe,smClass:me,mdCompact:he,divider:ge,containerClass:ve}=(0,r.useMemo)(()=>((e,t,n,r)=>{let i=function(e,t){const n=t?.filter(e=>"chains"===e?.collection);if(n?.length){const t=n?.find(t=>t?.children&&t?.children?.some(t=>t?.props?.id===e));if(t){const n=(t?.children||[])?.findIndex(t=>t?.props?.id===e);return-1!==n?"50%-1 (feature)"===t?.props?.customFields?.list?.[n]?"homepage-50-50-chain":t?.type:""}}return""}(t,n);const o={strip:{containerClass:"mx-5 mb-8 sm:mx-"+(i?0:5),chains:{"homepage-50-50-chain":{2:{mdClass:"md:grid md:grid-cols-2 gap-5 lg:gap-6 grid-rows-auto hidden overflow-hidden",smClass:"grid xs:grid-cols-1 gap-y-8 overflow-hidden",mdCompact:!1,divider:!0},4:{mdClass:"md:grid md:grid-cols-2 gap-5 lg:gap-6 grid-rows-auto hidden overflow-hidden",smClass:"grid grid-cols-1 gap-8 grid-rows-auto overflow-hidden",divider:!0},6:{mdClass:"md:grid md:grid-cols-2 gap-8 grid-rows-auto hidden",smClass:"grid sm:grid-cols-2 grid-rows-auto grid-cols-1 gap-8 overflow-hidden m-0",divider:!0},default:{mdClass:"md:grid md:grid-cols-2 gap-8 grid-rows-auto hidden",smClass:"grid sm:grid-cols-2 grid-rows-auto grid-cols-1 gap-8 overflow-hidden m-0",divider:!0}},standalone:{2:{mdClass:"md:grid md:grid-cols-2 gap-5 lg:gap-6 grid-rows-auto hidden overflow-hidden",smClass:"grid sm:grid-cols-1 gap-y-8 overflow-hidden m-0",divider:!0}
2,4:{mdClass:"md:grid md:grid-cols-4 gap-5 lg:gap-6 grid-rows-auto hidden overflow-hidden",smClass:"grid sm:grid-cols-2 grid-rows-auto grid-cols-1 gap-8 overflow-hidden m-0",divider:!0},6:{mdClass:"md:grid md:grid-cols-3 gap-8 grid-rows-auto hidden overflow-hidden",smClass:"grid sm:grid-cols-2 grid-rows-auto grid-cols-1 gap-8 overflow-hidden m-0",divider:!0},default:{mdClass:"md:grid md:grid-cols-4 gap-5 lg:gap-6 grid-rows-auto hidden overflow-hidden",smClass:"grid sm:grid-cols-2 grid-rows-auto grid-cols-1 gap-8 overflow-hidden m-0",divider:!0}}}},"big-left":{containerClass:"standardTopic "+(i?"":"sm:mx-5"),chains:{standalone:{default:{mdClass:"grid-5up grid md:grid-cols-4 grid-cols-2 md:gap-6 grid-rows-auto gap-4 m-0 sm:mb-5 px-5 sm:px-0"}}}},"top-banner":{containerClass:"mb-8 "+(i?"":"sm:mx-5"),chains:{standalone:{default:{}}}},vertical:{containerClass:"mx-5 mb-8 "+(i?"sm:mx-0":"sm:mx-5"),chains:{standalone:{default:{}}}}};i="homepage-50-50-chain"===i?i:"standalone";const a=o?.[r]?.chains?.[i],s=a?.[e]||a?.default;return{mdClass:s?.mdClass||"",smClass:s?.smClass||"",mdCompact:s?.mdCompact??!1,divider:s?.divider??!1,containerClass:"food-style"===r?o?.vertical?.containerClass:o?.[r]?.containerClass||""}})(Number(oe),t,$,O),[oe,t,$,O]),be=(0,r.useCallback)(e=>(0,F.pt)(q,t,K,e),[q,t,K]);return(0,r.useEffect)(()=>{W?.current&&(0,F.Nz)(q,W?.current,t,K)},[W?.current,q,t,K]),"masonry"===O||ue?.length&&d?(0,C.jsxs)("div",{ref:W,className:ve,children:[J&&(0,C.jsx)(N.A,{layoutType:O}),(n||i)&&(0,C.jsx)(P.A,{layoutType:O,packageDescription:l,chainLabelAnalytics:c,packageLabel:n,morelinkHref:i,morelinkLabel:u,moreDataLinkType:(0,R.rD)(U)?"hp-more":"front-more"}),l&&(0,C.jsx)(L,{layoutType:O,morelinkHref:i,packageDescription:l}),{"big-left":(0,C.jsx)(E,{mdClass:pe,analyticsData:ae,contentElements:ue,hasBlurbFirstCard:X,hasImageFirstCard:te,hasEyebrow:re,hasBlurbGridCards:Q,hasImageGridCards:ne,requestUri:G,pushClickEventOnCards:be,dataLinkType:fe,showAuthor:H}),strip:(0,C.jsx)(y.A,{mdClass:pe,smClass:me,mdCompact:he,divider:ge,analyticsData:ae,contentElements:ue,hasBlurbFirstCard:X,hasBlurbGridCards:Q,hasImageFirstCard:te,hasImageGridCards:ne,hasEyebrow:re,requestUri:G,pushClickEventOnCards:be,dataLinkType:fe,showAuthor:H}),"top-banner":(0,C.jsx)(A.A,{analyticsData:ae,contentElements:ue,hasBlurbFirstCard:X,hasImageFirstCard:te,hasEyebrow:re,hasBlurbGridCards:Q,hasImageGridCards:ne,requestUri:G,pushClickEventOnCards:be,dataLinkType:fe,showAuthor:H}),vertical:(0,C.jsx)(I.A,{analyticsData:ae,contentElements:ue,hasBlurbFirstCard:X,hasBlurbGridCards:Q,hasImageFirstCard:te,hasImageGridCards:ne,hasEyebrow:re,nativeAdPosition:Number(k)||3,nativeAdSlotNo:Number(D)||1,requestUri:G,showAuthor:H,pushClickEventOnCards:be,dataLinkType:fe}),"food-style":(0,C.jsx)(I.A,{analyticsData:ae,contentElements:ue,hasBlurbFirstCard:X,hasBlurbGridCards:Q,hasImageFirstCard:te,hasImageGridCards:ne,hasEyebrow:re,nativeAdPosition:k,nativeAdSlotNo:D,requestUri:G,isFoodStyle:!0,showAuthor:H,pushClickEventOnCards:be,dataLinkType:fe}),masonry:(0,C.jsx)(Z,{contentElements:ue,hasBlurbFirstCard:X,hasBlurbGridCards:Q,hasImageFirstCard:te,hasImageGridCards:ne,hasEyebrow:re,requestUri:G,showAuthor:H,pushClickEventOnCards:be,dataLinkType:fe})}[O],s&&de?(0,C.jsx)(T.default,{}):null]}):null};te.propTypes={customFields:l().shape({layoutType:l().oneOf(u).tag({name:"Layout Type",labels:c,defaultValue:u[0]}),source:l().oneOf(["collections-api","section-feed","tag-feed"]).tag({name:"Content Source",labels:{"collections-api":"Collection Feed","section-feed":"Section Feed","tag-feed":"Tag Feed"},defaultValue:""}),feedSize:l().string.tag({name:"Feed & Display Size",defaultValue:"0"}),collectionId:l().string.tag({name:"Collection Id",defaultValue:"",group:"Collection Feed",formPlugin:"collections-autocomplete"}),collectionOffset:l().string.tag({name:"Collection Offset",defaultValue:"0",group:"Collection Feed"}),includeSections:l().string.tag({name:"Include Sections",description:"Comma separated site taxonomies",defaultValue:"",group:"Section Feed"}),excludeSections:l().string.tag({name:"Exclude Sections",description:"Comma separated site taxonomies",defaultValue:"",group:"Section Feed"}),feedOffset:l().string.tag({name:"Section Offset",defaultValue:"0",group:"Section Feed"}),order:l().string.tag({name:"Section Order",description:"Ex: first_publish_date:desc",defaultValue:"first_publish_date:desc",group:"Section Feed"}),tagFeedSlug:l().string.tag({name:"Tag Feed Slug",defaultValue:"",group:"Tag Feed"}),tagFeedOffset:l().string.tag({name:"Tag Feed Offset",defaultValue:"0",group:"Tag Feed"}),tagFeedOrder:l().string.tag({name:"Tag Feed Order",description:"Ex: first_publish_date:desc",defaultValue:"first_publish_date:desc",group:"Tag Feed"}),inheritContent:l().bool.tag({name:"Inherit Global Content",description:"For automated sections only.",defaultValue:!1,group:"Section Feed"}),nativoPosition:l().number.tag({name:"Position of Nativo Ads",defaultValue:3,description:"\n        Put in 0 to disable Nativo ads.\n        Otherwise to enable it at the specific position.\n        This is only enabled on the More Stories layout.\n      ",group:"Nativo"}),nativeAdSlotNo:l().number.tag({name:"Native AdSlot No",defaultValue:1,description:"Native AdSlot No Start With This Number and Automatically Increase. Default to 1",group:"Nativo"}),hasTopLine:l().bool.tag({name:"Enable Top Line",defaultValue:!1,description:"Show/Hide the top line",group:"Package Header"}),packageLabel:l().string.tag({name:"Package Label",defaultValue:"",group:"Package Header"}),packageDescription:l().string.tag({name:"Package Description",defaultValue:"",group:"Package Header"}),morelinkLabel:l().string.tag({name:"More Link Label",defaultValue:"",group:"Package Header"}),morelinkHref:l().string.tag({name:"More Link",defaultValue:"",group:"Package Header"}),morelinkBottom:l().bool.tag({name:"More Stories Button",defaultValue:!1,group:"Package footer"}),hasEyebrow:l().bool.tag({name:"Enable Eyebrow",defaultValue:!0,description:"Show/Hide eyebrow for all cards"}),hasBlurbFirstCard:l().bool.tag({name:"Enable Blurb First Card",defaultValue:!1,description:"Show/Hide blurb for first card"}),hasBlurbGridCards:l().bool.tag({name:"Enable Blurb Grid Cards",defaultValue:!1,description:"Show/Hide blurb for cards in grid"}),hasImageFirstCard:l().bool.tag({name:"Enable Image First Card",defaultValue:!0,description:"Show/Hide image for first card"}),hasImageGridCards:l().bool.tag({name:"Enable Image Grid Cards",defaultValue:!0,description:"Show/Hide image for cards in grid"}),showAuthor:l().bool.tag({name:"Enable Author Grid Cards",defaultValue:!0,description:"Show/Hide author for cards in grid"})}),isAdmin:l().bool};var ne=te},25122:function(e,t,n){"use strict";n(40809);var r=n(49036),i=n(34766);t.A=({packageDescription:e,chainLabelAnalytics:t,packageLabel:n,morelinkHref:o,morelinkLabel:a,moreDataLinkType:s,layoutType:l})=>(0,i.jsxs)("div",{className:`\n        grid-standard-topic grid grid-cols-6 sm:grid-cols-5 content-center pt-4\n        ${["big-left","top-banner"].includes(l)?"sm:px-0 px-5":""}\n        ${e?"pb-2":"pb-4"}\n      `,children:[(0,i.jsx)("div",{className:"col-span-4 content-center type-section-header-2",children:(0,i.jsx)(r.FQ,{chainLabel:n,href:o,hrefClass:"text-black text-8 leading-8",chainClass:"text-black text-8 leading-8",analytics:t})}
2),(0,i.jsx)("div",{className:"grid col-span-2 sm:col-span-1 justify-items-end mx-0 type-button content-evenly",children:(0,i.jsx)(r.Yf,{linkLabel:a,href:o,wrapperClass:"text-4.5 text-black leading-4.5 normal-case",hrefClass:"text-black",dataLinkType:s})})]})},19237:function(e,t,n){"use strict";n(40809);var r=n(34766);t.A=({layoutType:e})=>(0,r.jsx)("div",{className:"border-t-2 border-solid border-neutral-black "+("topic"===e?"sm:mx-0 mx-5":"")})},27852:function(e,t,n){"use strict";var r=n(40809),i=n(63952),o=n(16494),a=n(77633),s=n(34766);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(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){u(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}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=(e,t,n)=>{const r=new URL(e);if(r.searchParams.has("auth")){r.searchParams.delete("width"),r.searchParams.delete("height");const e=r.toString(),i=`${e}&height=200&width=200`,o=`${i} 200w, ${e}&height=100&width=100 100w`;t.image_srcset=o,"basic"===n&&(t.src=i,t.imageWebUrl=i,t.imgSrcSet=o),"video"===n&&(t.url=i)}};t.A=({mdClass:e,analyticsData:t,contentElements:n,hasBlurbFirstCard:l,hasBlurbGridCards:u,hasImageFirstCard:f,hasImageGridCards:p,hasEyebrow:m,mdCompact:h,smClass:g,divider:v,requestUri:b,dataLinkType:y,showAuthor:w,pushClickEventOnCards:x})=>{const _=(0,r.useCallback)(({index:e,story:t})=>({story:t,hasBlurb:0===e?l:u,hasEyebrow:m&&(0,a.Mt)(t.taxonomy?.sections||[],b||"",t.subtype||"",t.taxonomy?.tags||[]),hasShareTools:!1,hideTimestamp:!1,timelinesNo:0,hasBoxShadow:!1,hasImage:0===e?f:p,customDescriptionClasses:"font-inquirer-text-web font-medium text-3.5 leading-4.5\n     text-neutral-light-text bp-sm:text-4 bp-sm:leading-5",customHeadlineClasses:"text-5 md:leading-none lg:text-6",isInFeed:!1,dataLinkType:y,showAuthor:w,pushClickEventOnCards:x}),[l,u,m,f,p,b,y,w]),C=(0,r.useCallback)((e,t,r)=>{if(r){const t=e?.promo_items?.basic?.imageWebUrl,n=e?.promo_items?.video?.url;t&&d(t,e?.promo_items?.basic,"basic"),n&&d(n,e?.promo_items?.video,"video")}return r?(0,s.jsx)("div",{className:"session-wrapper",children:(0,s.jsx)(o.A,c({imageRatio:"1x1",isCompactCard:!0,hasUnderlined:!v&&t!==n.length-1},_({index:t,story:e})))},e?._id):(0,s.jsx)(o.A,c({imageRatio:"3x2",isCompactCard:Boolean(h),eyebrowPosition:"below",customMaxWidth:"max-w-full"},_({index:t,story:e})),e?._id)},[n,v,h,_]),j=(0,r.useCallback)(({isMobile:e})=>{try{const t=JSON.parse(JSON.stringify(n||[]));return t?.map((t,n)=>C(t,n,e))}catch(e){return[]}},[n,C]);return(0,s.jsxs)(i.t,{children:[(0,s.jsx)("div",c(c({className:e},t),{},{children:j({isMobile:!1})})),(0,s.jsx)("div",c(c({className:"md:hidden StripCards-mobile"},t),{},{children:(0,s.jsx)("div",{className:g,children:j({isMobile:!0})})}))]})}},63786:function(e,t,n){"use strict";var r=n(40809),i=n.n(r),o=n(16494),a=n(77633),s=n(34766);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(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){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=({analyticsData:e,contentElements:t,hasBlurbFirstCard:n,hasImageFirstCard:i,hasBlurbGridCards:l,hasImageGridCards:u,hasEyebrow:d,requestUri:f,showAuthor:p,dataLinkType:m,pushClickEventOnCards:h})=>{if(!t?.length)return null;const g="font-inquirer-text-web text-3.5 leading-4.5 font-medium text-neutral-light-text sm:text-4 sm:leading-5",v=(0,r.useMemo)(()=>{try{return JSON.parse(JSON.stringify(t))}catch(e){return[]}},[t]),b=(0,r.useMemo)(()=>v?.slice(1,3),[v]),y=(0,r.useMemo)(()=>v?.slice(3,5),[v]),w=(0,r.useMemo)(()=>({story:v?.[0],hasBlurb:n,hasImage:i,hasEyebrow:d&&(0,a.Mt)(v?.[0].taxonomy?.sections||[],f||"",v?.[0].subtype||"",v?.[0].taxonomy?.tags||[]),hasShareTools:!1,imageRatio:"3x2",hasBoxShadow:!1,hideTimestamp:!1,dataLinkType:m,showAuthor:p,pushClickEventOnCards:h}),[v,n,i,d,f,m,p]),x=(0,r.useCallback)(e=>({story:e,hasBlurb:l,hasEyebrow:d&&(0,a.Mt)(e.taxonomy?.sections||[],f||"",e.subtype||"",e.taxonomy?.tags||[]),hasShareTools:!1,imageRatio:"1x1",isCompactCard:!0,imageAlignment:"right",hasBoxShadow:!1,hideTimestamp:!1,hasImage:u,pushClickEventOnCards:h,dataLinkType:m,showAuthor:p}),[l,d,u,f,m,p]);return(0,s.jsxs)("div",c(c({className:"md:grid md:grid-rows-1 md:gap-2 md:-mt-4"},e),{},{children:[(0,s.jsx)("div",{className:"compact-topic-first-card hidden sm:block",children:(0,s.jsx)(o.A,c({customHeadlineClasses:"md:text-8 md:leading-none",isCompactCard:!0,hasUnderlined:!0,imageAlignment:"right",customDescriptionClasses:"type-card-tease-1 md:text-md md:leading-5 lg:text-lg lg:leading-6 font-inquirer-text-web text-gray-dark"},w))}),(0,s.jsx)("div",{className:"compact-topic-first-card sm:hidden",children:(0,s.jsx)(o.A,c({hasUnderlined:!1,eyebrowPosition:"below",customDescriptionClasses:"type-card-tease-1 text-gray-dark"},w))}),(0,s.jsx)("div",{className:"border-b border-solid border-neutral-light-charcoal-gray mb-4 mx-5 sm:hidden sm:mx-0"}),(0,s.jsxs)("div",{className:"grid grid-rows-auto md:grid-cols-2 md:gap-4 sm:mx-0 mx-5",children:[(0,s.jsx)("div",{className:"grid grid-rows-auto md:border-r md:border-solid grid-cols-1 md:border-neutral-light-charcoal-gray md:pr-5 top-banner-first-section-cards",children:b?.map((e,t)=>(0,s.jsx)(r.Fragment,{children:(0,s.jsx)(o.A,c(c({hasUnderlined:!0,underlineCustomClasses:0!==t?"md:hidden":""},x(e)),{},{customDescriptionClasses:g}),e?._id)},e?._id))}),(0,s.jsx)("div",{className:"grid gird-rows-auto top-banner-second-section-cards",children:y?.map((e,t)=>(0,s.jsx)(r.Fragment,{children:(0,s.jsx)(o.A,c(c({},x(e)),{},{hasUnderlined:t!==y?.length-1,underlineCustomClasses:0!==t?"md:hidden":"",customDescriptionClasses:g}))},e?._id))})]})]}))};t.A=i().memo(d)},58024:function(e,t,n){"use strict";var r=n(40809),i=n.n(r),o=n(88609),a=n(77633),s=n(16494),l=n(63952),c=n(34766);function u(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
2const p=({analyticsData:e,contentElements:t,hasBlurbFirstCard:n,hasBlurbGridCards:i,hasImageFirstCard:u,hasImageGridCards:f,hasEyebrow:p,nativeAdPosition:m,nativeAdSlotNo:h,requestUri:g,isFoodStyle:v=!1,showAuthor:b=!0,pushClickEventOnCards:y,dataLinkType:w})=>(0,c.jsx)(l.t,{children:(0,c.jsx)("div",d(d({className:"grid-1up my-4"},e),{},{children:t.map((e,l)=>{const d=Boolean(m&&m>0&&(l+1)%m===0),x=0===l;return(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(s.A,{story:e,isCompactCard:!0,hideTimestamp:!1,hasShareTools:!1,hasBlurb:x?n:i,hasImage:x?u:f,hasEyebrow:p&&(0,a.Mt)(e.taxonomy?.sections||[],g||"",e.subtype||"",e.taxonomy?.tags||[]),hasUnderlined:l!==t.length-1||l===t.length-1&&d,imageRatio:"3x2",customHeadlineClasses:"text-5 leading-none md:text-6 break-words",customDescriptionClasses:"font-inquirer-text-web text-3.5 leading-4.5 font-medium text-neutral-light-text sm:text-4 sm:leading-5",isFoodStyle:v,imgBorderRadius:v?"8px":"",hideBlurOnMobile:v,showAuthor:b,pushClickEventOnCards:y,dataLinkType:w}),d&&(0,c.jsx)("div",{className:"mt-4",children:(0,c.jsx)(o.default,{id:"native_mw_"+(l+1)/m,nativeAdSlotNo:h+((l+1)/m-1),customFields:{adType:"native"}},"native_mw_"+(l+1)/m)})]},e._id)})}))});t.A=i().memo(p)},99069:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(14375),a=n(50218),s=n.n(a),l=n(40980),c=n(63952),u=n(19852),d=n(9375),f=n(55826),p=n(84326),m=n(34766);function h(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=()=>{const{globalContent:e}=(0,i.useAppContext)(),t=(0,r.useRef)(null),[n,a]=(0,r.useState)(e?.currentVideoIndex||0),[h,v]=(0,r.useState)(null),[b,y]=(0,r.useState)([]),[w,x]=(0,r.useState)(0),[_,C]=(0,r.useState)(!0),[j,S]=(0,r.useState)(!1),[O,k]=(0,r.useState)(!1),[E,L]=(0,r.useState)(0),[P,N]=(0,r.useState)(!0),A=(0,r.useMemo)(()=>e?.feedId&&e?.feedType?`${e.feedType}-${e.feedId}`:null,[e?.feedId,e?.feedType]),I=(0,r.useMemo)(()=>b.length-n-1,[b.length,n]),T=(0,r.useMemo)(()=>!O&&!_&&j&&I<=2,[O,_,j,I]),M=(0,r.useMemo)(()=>j&&I<=2&&(!O&&_||O&&P),[j,I,O,_,P]),R=(0,r.useCallback)((0,d.Fb)(e=>{e!==n&&S(!0),a(e)},100),[n]);(0,r.useEffect)(()=>{if(e?.content_elements&&0===b.length){const t=(0,l.getRenderStoriesList)(e.content_elements,!0)||[];y(t);const n=(e.feedOffset||0)+t.length-(e.videoFound?0:1);x(n),C(!0);const r=e?.currentVideoIndex||0;t.length-r-1<=2&&S(!0)}},[e,b.length]),(0,r.useEffect)(()=>{T&&(k(!0),L(0),N(!0))},[T]);const D=(0,r.useMemo)(()=>M?{source:"vertical-player-feed",query:{feedId:O?null:A,feedSize:5,feedOffset:O?E:w,order:f.YP}}:null,[M,A,w,O,E]),F=(0,o.useContent)(D);(0,r.useEffect)(()=>{if(F)if(F.content_elements&&F.content_elements.length>0){const e=(0,l.getRenderStoriesList)(F.content_elements,!0)||[];e.length>0&&(y(t=>{const n=new Set(t.map(e=>e.promo_items?.video?._id).filter(Boolean)),r=e?.filter(e=>!n.has(e.promo_items?.video?._id));return[...t,...r]}),O?(L(e=>e+5),N(e.length>=5)):(x(e=>e+5),C(e.length>=5)))}else C(!1)},[F,O]),(0,r.useEffect)(()=>{if("undefined"!=typeof window){const e=document.referrer;if(!e||(0,u.kG)(e))return;v(e)}},[]);const B=(0,r.useCallback)((e,n,r)=>{if("undefined"!=typeof window){const i=e?._id;let o=b?.length||0;if("card_view"===r&&i)t.current={cardContentId:i,feedLength:o};else if("card_click"===r&&i){const e=t.current;e&&e.cardContentId===i&&(o=e.feedLength)}window.PMNdataLayer.push({event:r,card_type:"video_story",card_location:"vertical_player",card_content_id:i,card_t
2itle:e?.headlines?.basic,card_index:String(n+1),feed_length:String(o),card_author:(0,u.Gm)(e),card_section:(0,u.l1)(e?.taxonomy)?.[0]||"No Value Set"})}},[b?.length]);return 0===b?.length?null:(0,m.jsx)(c.t,{children:(0,m.jsx)(s(),g(g({currentIndex:n,onIndexChange:R,items:b},h&&{backHref:h}),{},{dataEnv:"prod"===(0,p.p)("ENV")?"prod":"sandbox",buildVerticalPlayerAnalytics:B}))})}},51311:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(86780),o=n.n(i),a=n(14375),s=n(4321),l=n(22210),c=n(88426),u=n.n(c),d=n(55826),f=n(49036),p=n(63952),m=n(40980),h=n(987),g=n(99970),v=n(88609),b=n(97293),y=n(34766);let w=({id:e,customFields:t})=>{const n=(0,s.useFusionContext)(),i=(0,l.KH)("weekend-package-headlines"),{featureChainComponents:o}=(0,g.p)(),{hasTopLine:c,packageLabel:d,source:w,feedSize:x,collectionId:_,collectionFeedOffset:C,includeSections:j,excludeSections:S,sectionFeedOffset:O,sectionFeedOrder:k,tagFeedSlug:E,tagFeedOffset:L,tagFeedOrder:P,autoScrollDuration:N,autoScrollSpeed:A,hidePackageHeader:I,hidePackageUnderline:T}=t,M=(0,f.Ru)({source:w,collectionId:_,collectionSize:x,collectionOffset:C,includeSections:j,excludeSections:S,feedSize:x,feedOffset:O,order:k,tagFeedSlug:E,tagFeedSize:x,tagFeedOffset:L,tagFeedOrder:P},!1),R=(0,r.useRef)(null),D=(0,a.useContent)({source:"weekend-package-api",query:{variantName:""}}),F=(0,r.useMemo)(()=>(0,m.getRenderStoriesList)(M?.stories)||[],[M?.stories]),B=(0,r.useMemo)(()=>({articles:F,note:D?.detail_note}),[F,D]),V=(0,r.useCallback)(t=>(0,h.pt)(n,e,o,t),[n,e,o]);return(0,r.useEffect)(()=>{R?.current&&(0,h.Nz)(n,R?.current,e,o)},[R?.current,n,e,o]),F.length?(0,y.jsx)(p.t,{children:(0,y.jsxs)("section",{ref:R,className:"flex flex-col bg-white gap-4 py-3 sm:py-10 lg:py-14 lg:px-5",children:[c&&(0,y.jsx)("div",{className:"border-t-2 border-solid border-neutral-black"}),(0,y.jsxs)(r.Fragment,{children:[(0,y.jsxs)("div",{className:"px-4 sm:px-6 lg:px-0",children:[!I&&(0,y.jsxs)("div",{className:"flex items-center sm:gap-8 lg:gap-12 justify-between sm:justify-start",children:[(0,y.jsx)("h2",{className:"text-neutral-black sm:text-neutral-text-color font-grot12-condensed text-6 sm:text-8 font-semibold leading-none uppercase",children:d}),(0,y.jsx)(v.default,{customFields:{adType:b.Kx.SPONSOR_LOGO}})]}),!T&&(0,y.jsx)("div",{className:"w-40 sm:w-[403px] pt-3 sm:pt-5 border-b-5 border-solid border-b-[#9D61A7]"})]}),(0,y.jsx)(u(),{content:B,autoScrollDuration:N,autoScrollSpeed:A,pushClickEventOnCards:V,showHeadline:i})]})]})}):null};w=(0,r.memo)(w),w.propTypes={customFields:o().shape({hasTopLine:o().bool.tag({name:"Enable Top Line",defaultValue:!1,description:"Show/Hide the top line",group:"Package Configuration"}),hidePackageHeader:o().bool.tag({name:"Hide Package header",defaultValue:!1,description:"Show/Hide Package header",group:"Package Configuration"}),hidePackageUnderline:o().bool.tag({name:"Hide Package underline",defaultValue:!1,description:"Show/Hide Package underline",group:"Package Configuration"}),packageLabel:o().string.tag({name:"Package Label",defaultValue:"The Weekend",group:"Package Configuration"}),autoScrollDuration:o().number.tag({name:"Auto Scroll Duration",defaultValue:1400,group:"Package Configuration"}),autoScrollSpeed:o().number.tag({name:"Auto Scroll Speed",defaultValue:5e3,group:"Package Configuration"}),source:o().oneOf([d.w4,d.XF,d.Oe]).tag({name:"Content Source",labels:{COLLECTION_FEED:"Collection Feed",SECTION_FEED:"Section Feed",TAG_FEED:"Tag Feed"},defaultValue:""}),feedSize:o().number.tag({name:"Feed Size",defaultValue:4}),collectionId:o().string.tag({name:"Collection Id",defaultValue:"",group:"Collection Feed",formPlugin:"collections-autocomplete"}),collectionFeedOffset:o().number.tag({name:"Collection Offset",defaultValue:0,group:"Collection Feed"}),includeSections:o().string.tag({name:"Include Sections",description:"Comma separated site taxonomies",defaultValue:"",group:"Section Feed"}),excludeSections:o().string.tag({name:"Exclude Sections",description:"Comma separated site taxonomies",defaultValue:"",group:"Section Feed"}),sectionFeedOffset:o().number.tag({name:"Section Offset",defaultValue:0,group:"Section Feed"}),sectionFeedOrder:o().string.tag({name:"Section Order",description:"Ex: first_publish_date:desc",defaultValue:d.YP,group:"Section Feed"}),tagFeedSlug:o().string.tag({name:"Tag Feed Slug",defaultValue:"",group:"Tag Feed"}),tagFeedOffset:o().number.tag({name:"Tag Feed Offset",defaultValue:0,group:"Tag Feed"}),tagFeedOrder:o().string.tag({name:"Tag Feed Order",description:"Ex: first_publish_date:desc",defaultValue:d.YP,group:"Tag Feed"})})},t.default=w},77991:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var r=n(40809),i=n.n(r),o=n(14375),a=n(19852),s=n(10348),l=n(15639),c=n.n(l),u=n(34766);const d=(e,t,n,r)=>{if(((e,t)=>{"undefined"!=typeof window&&window.PMNdataLayer.push({event:e,podcast_title:t})})(e,t),"podcast_play"===e){const e=r?.current?.querySelectorAll("audio");e?.length&&e.forEach((e,t)=>{t!==n&&e.pause()})}},f=({header:e,subhead:t,timestamps:n,customDateFormatTimestamp:r,audioUrl:i,canonicalUrl:o,podcastIndex:a,audioWrapperRef:l,noUnderline:f})=>(0,u.jsxs)("div",{className:"bg-white px-5 py-8 relative"+(f?"":" border-b-4 border-solid border-[#D9D9D9]"),
2children:[(0,u.jsx)("a",{href:o,className:"no-underline absolute top-0 left-0 right-0 bottom-0"}),(0,u.jsxs)("div",{children:[(0,u.jsx)(s.PublishDate,{date:n,customDateFormatTimestamp:r,customClass:"font-grot10 text-4.5 sm:text-5 leading-8 font-normal",bylineType:"podcast"}),(0,u.jsx)("h6",{className:"font-bold font-grot10 text-5 leading-8 text-black",children:e})]}),(0,u.jsx)("div",{className:"my-8",children:(0,u.jsx)("p",{className:"font-inquirer-text-web font-medium text-5 leading-8 text-black",children:t})}),i&&(0,u.jsx)(c(),{onPauseCallback:()=>d("podcast_pause",e),onPlayCallback:()=>d("podcast_play",e,a,l),onEndCallback:()=>d("podcast_completion",e),src:i,customClass:"w-full relative"})]});var p=i().memo(f);function m(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 h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=()=>{const e=(0,r.useRef)(null),[t,n]=(0,r.useState)([]),[i,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)(0),d=(0,o.useContent)({source:"content-feed",query:{feedParameter:"subtype-podcast",feedType:"subtype",contentTypes:"story",limit:11,offset:l,order:"display_date:desc"},transform(e){return(e||[]).map(e=>{const t=(0,a.al)(e?.promo_items?.youtube?.content);return{id:e?._id,header:(0,a.qs)(e?.headlines),subhead:e?.subheadlines?.basic||e?.synopsis||e?.description?.basic||"",timestamps:e?.display_date,audioUrl:t,canonicalUrl:e?.canonical_url}})}}),f=(0,r.useCallback)(()=>{c(t?.length)},[t]);return(0,r.useEffect)(()=>{d?.length>0&&(n([...new Map([...t,...d.length<11?d:d.slice(0,-1)].map(e=>[e.id,e])).values()]),s(d.length>=11))},[d]),(0,u.jsx)("div",{className:"max-w-[1066px] w-full mx-auto mb-8",children:(0,u.jsxs)("div",{className:"px-5 xl:px-0 md:max-w-[70%]",children:[(0,u.jsx)("div",{className:"hidden md:block capitalize text-10 leading-10 text-black font-semibold my-12 font-grot12-condensed",children:"All Episodes"}),(0,u.jsx)("div",{ref:e,className:"block relative bg-[#D9D9D9] mt-10",children:t?.length>0&&t?.map((n,r)=>(0,u.jsx)(p,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({audioWrapperRef:e,podcastIndex:r,noUnderline:r===t.length-1},n),`podcast_card_${r}`))}),i&&(0,u.jsx)("button",{onClick:f,className:"w-full bg-white flex justify-center cursor-pointer py-2 mb-8",children:(0,u.jsx)("svg",{width:"20",height:"10",viewBox:"0 0 20 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)("path",{d:"M10 10L0 -8.74228e-07L20 0L10 10Z",fill:"black"})})})]})})};var v=i().memo(g)},79797:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(98227),o=n(89297),a=n(93195),s=n(20843),l=n(45712),c=n(65902),u=n(96325),d=n(34766);const f=[{label:"Easy",value:"easy"},{label:"Medium",value:"medium"},{label:"Hard",value:"hard"}];t.default=({activeLevel:e,onLevelChange:t,onPlay:n,onShowTutorial:p,isMobile:m,customFields:h,activeDate:g})=>{const v=(0,r.useMemo)(()=>{const e=(new Date).toLocaleDateString("en-CA",{timeZone:"America/New_York"});return(h?.previousGames??"").split(",").map(e=>e.trim()).filter(e=>e.length>0).map(e=>({date:e})).filter(({date:t})=>t<=e&&t!==g)},[h]);return(0,d.jsxs)("div",{className:"sm:pt-6 lg:pt-14 flex flex-col items-center",children:[(0,d.jsx)("img",{alt:"Game intro image",src:"https://media.inquirer.com/assets/pillars-game/game-intro.png",className:"aspect-[3/2] object-cover w-full sm:max-w-[600px] lg:w-[690p
2x] lg:max-w-none lg:mx-auto"}),(0,d.jsxs)("div",{className:"flex flex-col items-center gap-y-7 sm:gap-y-6 lg:gap-y-12 pt-7 sm:pt-6 lg:pt-12 mb-7 sm:mb-6 lg:mb-14",children:[(0,d.jsxs)("div",{className:"flex flex-col items-center gap-y-1",children:[(0,d.jsx)("h1",{className:"font-inquirer-headline text-8 sm:text-10 lg:text-13 leading-none text-black font-semibold",children:"Pillars"}),(0,d.jsx)("p",{className:"font-grot10 text-4.5 leading-6 lg:text-5 lg:leading-8 text-black",children:"Presented by Eric The Puzzler"})]}),(0,d.jsx)("div",{children:(0,d.jsx)(a.default,{options:f,activeOption:e,onOptionChange:t,ariaLabel:"Difficulty level"})}),(0,d.jsxs)("div",{className:"flex w-48 sm:w-64 flex-col gap-2 sm:gap-7 lg:gap-4",children:[(0,d.jsx)(i.Button,{ariaLabel:"Start playing",size:m?"small":"medium",onClick:n,children:"Start playing"}),(0,d.jsx)(i.Button,{mode:"secondary",ariaLabel:"Show me how to play",size:m?"small":"medium",onClick:p,children:"Show me how to play"})]}),(0,d.jsx)(u.default,{shouldShow:!0,wrapperClassName:"flex flex-col items-center gap-y-7 sm:gap-y-6 lg:gap-y-14 lg:my-2",textClassName:"w-[245px] sm:w-[576px] h-auto sm:h-8 lg:h-16"}),v.length>0&&(0,d.jsxs)("div",{className:"w-full",children:[(0,d.jsx)("h2",{className:"font-grot10 text-4 leading-5.5 sm:text-4.5 sm:leading-6 lg:text-5 lg:leading-8 font-bold text-black text-center",children:"Play previous games"}),(0,d.jsx)("ul",{children:v.map((e,t)=>(0,d.jsxs)("li",{className:"cursor-pointer",children:[t>0&&(0,d.jsx)("hr",{className:"border-neutral-light-charcoal-gray my-0 border-t border-b-0"}),(0,d.jsxs)("a",{href:`${(0,s.$_)()}/games/pillars/${e.date}`,onClick:()=>(0,c.Qb)("previous_game_link_click",e.date),className:"flex items-center justify-between py-4 sm:[li:first-child_&]:pt-7 text-black no-underline",children:[(0,d.jsx)("span",{className:"font-grot10 text-3.5 leading-4.5 sm:text-4.5 sm:leading-6 lg:text-5 lg:leading-8",children:(0,l.N1)(e.date)}),(0,d.jsx)(o.ChevronRightIcon,{size:"small"})]})]},e.date))})]})]})]})}},93195:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(34766);t.default=({options:e,activeOption:t,onOptionChange:n,ariaLabel:o="Options"})=>{const a=(0,r.useRef)([]),s=(0,r.useCallback)((t,r)=>{let i;if("ArrowRight"===t.key)i=(r+1)%e.length;else if("ArrowLeft"===t.key)i=(r-1+e.length)%e.length;else if("Home"===t.key)i=0;else{if("End"!==t.key)return;i=e.length-1}t.preventDefault();const o=a.current[i];o&&o.focus(),n(e[i].value)},[e,n]);return(0,i.jsx)("div",{role:"radiogroup","aria-label":o,className:"inline-flex items-center rounded-full bg-[#EEEEEE]",children:e.map((e,r)=>{const o=e.value===t;return(0,i.jsx)("button",{role:"radio","aria-checked":o,tabIndex:o?0:-1,ref:e=>{a.current[r]=e},onClick:()=>n(e.value),onKeyDown:e=>s(e,r),className:"\n                rounded-full text-black cursor-pointer px-5 py-2.5 text-4 leading-5.5 sm:text-5 sm:leading-8\n                font-grot10 bg-transparent transition-all duration-150 focus-visible:outline focus-visible:outline-2\n                focus-visible:outline-shades-inquirer-blue-70 focus-visible:relative focus-visible:z-10 "+(o?"bg-white shadow-[-1px_1px_4px_0px_rgba(0,0,0,0.25)]":""),children:e.label},e.value)})})}},96325:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(20843),i=n(34766);t.default=({shouldShow:e=!1,wrapperClassName:t="",textClassName:n=""})=>(0,i.jsxs)("div",{className:t,children:[(0,i.jsxs)("p",{className:`font-grot10 text-center text-black font-bold text-4 sm:text-4.5 lg:text-5\n          leading-5.5 sm:leading-6 lg:leading-8 ${n}`,children:["New games drop every Friday afternoon at the"," ",(0,i.jsx)("a",{href:`${(0,r.$_)()}/pillars`,className:"text-primary-blue underline decoration-solid decoration-auto underline-offset-auto [text-decoration-skip-ink:none] [text-underline-position:from-font]",children:"Pillars game page"})]}),e&&(0,i.jsx)("hr",{className:"border-neutral-light-charcoal-gray border-t m-0 w-52"})]})},21278:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(60567),o=n(34766);t.default=({onConfirm:e,onClose:t})=>{const n=(0,r.useRef)(null);return(0,i.Q)(n,t),(0,r.useEffect)(()=>{const e=e=>{"Escape"===e.key&&t()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[t]),(0,o.jsx)("div",{className:"fixed inset-0 z-modal flex items-center justify-center bg-black/25 sm:bg-black/50 px-5",children:(0,o.jsxs)("div",{ref:n,role:"dialog","aria-modal":"true","aria-label":"Reveal the puzzle?",className:"relative flex w-[280px] flex-col items-center gap-6 rounded-xl bg-white p-4 text-center shadow-[0_1px_4px_rgba(0,0,0,0.15)] sm:h-72 sm:w-96 sm:gap-4 lg:h-[307px]",children:[(0,o.jsx)("button",{type:"button",onClick:t,"aria-label":"Close",className:"absolute right-4 top-2 cursor-pointer bg-transparent sm:static sm:self-end sm:mt-4 sm:mr-4",children:(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,o.jsx)("path",{d:"M7.99992 6.97456L13.6411 1.33337L14.6666 2.35886L9.0254 8.00004L14.6666 13.6412L13.6411 14.6667L7.99992 9.02552L2.35873 14.6667L1.33325 13.6412L6.97444 8.00004L1.33325 2.35886L2.35873 1.33337L7.99992 6.97456Z",fill:"black"})})}),(0,o.jsx)("h2",{className:"font-inquirer-headline text-6 sm:text-9 lg:text-10 font-semibold leading-6 sm:leading-9 lg:leading-10 text-neutral-black h-9 content-center lg:h-10",children:"Reveal the puzzle?"}),(0,o.jsx)("p",{className:"font-grot10 text-4 sm:text-4.5 lg:text-5 leading-5.5 sm:leading-6 lg:leading-8 text-neutral-black h-12 sm:content-center lg:h-16 lg:w-[348px]",children:"Showing the answer will end the game."}),(0,o.jsx)("button",{type:"button",onClick:t,className:"flex h-8 w-36 lg:h-10 lg:w-[166px] cursor-pointer items-center justify-center rounded bg-primary-blue font-grot10 text-3.5 font-bold leading-4 text-white",children:"Return to game"}),(0,o.jsx)("button",{type:"button",onClick:e,className:"flex h-8 w-36 lg:h-10 lg:w-[166px] cursor-pointer items-center justify-center rounded border border-solid border-neutral-black font-grot10 text-3.5 font-bold leading-4 text-neutral-black bg-transparent",children:"Yes, reveal it"})]})})}},48288:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return L}});var r=n(40809),i=n.n(r),o=n(86780),a=n.n(o),s=n(4321),l=n(56436),c=n(66507),u=n(24887),d=n(84675),f=n(56877),p=n(16494),m=n(55826),h=n(49036),g=n(20843),v=n(77633),b=n(987),y=n(99970),w=n(63952),x=n(19842),_=n(34766);const C="pmn_regional_remove_tooltip_seen";var j=({onClick:e,regionLabel:t})=>{const[n,i]=(0,r.useState)(!1),o=(0,r.useRef)(null);(0,r.useEffect)(()=>{"undefined"!=typeof window&&(window.localStorage.getItem(C)||i(!0))},[]),(0,r.useEffect)(()=>
2{if(!n)return;const e=e=>{const t=e.target;o.current&&t instanceof Node&&!o.current.contains(t)&&(i(!1),"undefined"!=typeof window&&window.localStorage.setItem(C,"1"))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[n]);const a=(0,r.useCallback)(()=>{i(!1),"undefined"!=typeof window&&window.localStorage.setItem(C,"1"),e()},[e]);return(0,_.jsxs)("div",{ref:o,className:"relative inline-flex flex-col items-end",children:[(0,_.jsx)("button",{type:"button","aria-label":`Remove ${t} from homepage`,className:"inline-flex items-center justify-center w-8 h-8 rounded-sm cursor-pointer bg-[#eeeeee]",onClick:a,children:(0,_.jsx)("svg",{width:"14",height:"2",viewBox:"0 0 14 2",fill:"black",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,_.jsx)("rect",{width:"14",height:"2",fill:"black"})})}),n&&(0,_.jsx)("div",{className:"absolute top-full right-0 z-10 mt-2 w-max",children:(0,_.jsx)(x.Tooltip,{toolTipText:"Click to remove from homepage",position:"arrow-topRight",customClasses:"border-shades-inquirer-blue-70 bg-shades-inquirer-blue-30 p-4 text-3.5 leading-4.5 h-full",showCloseButton:!1})})]})};function S(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 O(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){k(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}function k(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let E=({id:e,customFields:t,fusionEnv:n})=>{const{region:i,packageLabel:o,packageLabelUrl:a,source:u,feedSize:m,collectionId:x,collectionFeedOffset:C,includeSections:S,excludeSections:k,sectionFeedOffset:E,sectionFeedOrder:L,tagFeedSlug:P,tagFeedOffset:N,tagFeedOrder:A}=t,I=(0,s.useFusionContext)(),{metaValue:T}=(0,s.useAppContext)(),{isAdmin:M}=I,{featureChainComponents:R,allPackagesLayouts:D}=(0,y.p)(),F=(0,r.useRef)(null),B=(0,r.useMemo)(()=>n?.GATEWAY_SLS_URL||"",[n]),{isLoading:V,loggedIn:H,isAdded:q,handleClick:U}=(0,d.xC)({gatewayUrl:B,source:"homepage-package",region:i}),[$,z]=(0,r.useState)(!1);(0,r.useEffect)(()=>{q&&z(!0)},[q]),(0,r.useEffect)(()=>{z(!1)},[i]);const G=(0,h.Ru)({source:u,collectionId:x,collectionSize:m,collectionOffset:C,includeSections:S,excludeSections:k,feedSize:m,feedOffset:E,order:L,tagFeedSlug:P,tagFeedSize:m,tagFeedOffset:N,tagFeedOrder:A},!1),K=(0,r.useMemo)(()=>(0,f.transformToArticleList)(G?.stories||[]),[G?.stories]),Y=(0,r.useMemo)(()=>(0,g.rD)(T)?(0,v.Ji)(I,R,D):{},[T,I,R,D]),W=(0,r.useCallback)(t=>(0,b.pt)(I,e,R,t),[I,e,R]);(0,r.useEffect)(()=>{F.current&&q&&(0,b.Nz)(I,F.current,e,R)},[q,I,e,R]);const Z=(0,r.useCallback)(async()=>{if("undefined"!=typeof window)try{await U(),window.dispatchEvent(new CustomEvent(d.cF,{detail:{region:i}}))}catch{}},[U,i]);if(V&&!M)return(0,_.jsx)(c.LoadingCard,{hasFullWidth:!0,noMargin:!0,customHeigth:" min-h-96"});if(!(M||H&&(q||$)))return null;if(!K.length)return null;const[J,...X]=K,Q="font-inquirer-text-web text-3.5 leading-4.5 font-medium text-neutral-light-text sm:text-4 sm:leading-5";return(0,_.jsx)(w.t,{children:(0,_.jsxs)("section",{ref:F,id:`regional-package-${i}`,className:"standardTopic relative sm:mx-5 mb-8 scroll-mt-30","data-region":i,children:[(0,_.jsxs)("div",{className:"flex items-start justify-between gap-4 px-4 sm:px-0 pt-4",children:[(0,_.jsx)("h2",{className:"type-section-header-1 text-8 font-semibold leading-8 uppercase",children:a?(0,_.jsx)(h.FQ,{chainLabel:o,href:a,hrefClass:"text-inherit no-underline"}):o}),(0,_.jsx)(j,{onClick:Z,regionLabel:o||i})]}),(0,_.jsx)("div",{className:"px-4 sm:px-0 pb-2 lg:pb-5",children:(0,_.jsx)(l.Divider,{type:l.DividerType.bolder,color:l.DividerColor.blue})}),(0,_.jsxs)("div",O(O({className:"grid grid-cols-1 lg:grid-cols-2 px-5 sm:px-0 gap-4 sm:gap-6 lg:gap-4"},Y),{},{children:[J&&(0,_.jsx)("div",{className:"border-solid border-neutral-light-charcoal-gray border-b lg:border-r lg:border-b-0 lg:pr-4 pb-4 sm:pb-6",children:(0,_.jsx)(p.A,{story:J,imageRatio:"3x2",isInFeed:!1,hasShareTools:!1,hasBoxShadow:!1,eyebrowPosition:"below",hasBlurb:!0,hasImage:!0,hasEyebrow:!1,customCardWrapperClasses:"sm:mx-0 -mx-5",customMaxWidth:"max-w-full",hideTimestamp:!1,hasPadding:!0,customHeadlineClasses:"leading-none break-words text-6 sm:text-8",customDescriptionClasses:Q,showAuthor:!0,pushClickEventOnCards:W,showAsLiveBlogCard:!1})}),(0,_.jsx)("div",{className:"flex flex-col divide-solid divide-y divide-neutral-light-charcoal-gray",children:X.map((e,t)=>(0,_.jsx)("div",{className:0!==t?"pt-4":"pb-4",children:(0,_.jsx)(p.A,{story:e,isInFeed:!1,hasShareTools:!1,hasBoxShadow:!1,eyebrowPosition:"below",hasBlurb:!0,hasImage:!1,hasEyebrow:!1,customMaxWidth:"max-w-full",hideTimestamp:!1,hasPadding:!1,customHeadlineClasses:"leading-none break-words text-5 lg:text-6",customDescriptionClasses:Q,timelinesNo:0,showAuthor:!1,pushClickEventOnCards:W,showAsLiveBlogCard:!1})},e._id))})]}))]})})};E=i().memo((0,u.A)(E)),E.propTypes={customFields:a().shape({region:a().oneOf(d.TK).tag({name:"Region",description:"Region opt-in key used to gate render",defaultValue:d.sp,group:"Regional"}),packageLabel:a().string.tag({name:"Package Label",defaultValue:"South Jersey",group:"Package Configuration"}),packageLabelUrl:a().string.tag({name:"Package Label URL",description:"Optional. Makes the header label a link to this URL.",defaultValue:"",group:"Package Configuration"}),source:a().oneOf([m.w4,m.XF,m.Oe]).tag({name:"Content Source",labels:{COLLECTION_FEED:"Collection Feed",SECTION_FEED:"Section Feed",TAG_FEED:"Tag Feed"},defaultValue:""}),feedSize:a().number.tag({name:"Feed Size",defaultValue:5}),collectionId:a().string.tag({name:"Collection Id",defaultValue:"",group:"Collection Feed",formPlugin:"collections-autocomplete"}),collectionFeedOffset:a().number.tag({name:"Collection Offset",defaultValue:0,group:"Collection Feed"}),includeSections:a().string.tag({name:"Include Sections",description:"Comma separated site taxonomies",defaultValue:"",group:"Section Feed"}),excludeSections:a().string.tag({name:"Exclude Sections",description:"Comma separated site taxonomies",defaultValue:"",group:"Section Feed"}),sectionFeedOffset:a().number.tag({name:"Section Offset",defaultValue:0,group:"Section Feed"}),sectionFeedOrder:a().string.tag({name:"Section Order",description:"Ex: first_publish_date:desc",defaultValue:m.YP,group:"Section Feed"}),tagFeedSlug:a().string.tag({name:"Tag Feed Slug",defaultValue:"",group:"Tag Feed"}),tagFeedOffset:a().number.tag({name:"Tag Feed Offset",defaultValue:0,group:"Tag Feed"}),tagFeedOrder:a().string.tag({name:"Tag Feed Order",description:"Ex: first_publish_date:desc",defaultValue:m.YP,group:"Tag Feed"})})};var L=E},81186:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return x}});var r=n(40809),i=n.n(r),o=n(86780),a=n.n(o),s=n(27936),l=n(74041),c=n(96391),u=n.n(c),d=n(61582),f=n(59900),p=n(34766);const m=i().memo(({_id:e,url:t,imageUrl:n,label:r,isNew:i,onClick:o})=>(0,p.jsxs)("a",{href:t,className:"pr-4 h-13 md:h-[68px] md:pr-6 lg:h-auto flex flex-col lg:flex-row items-center gap-1 lg:gap-2 no-underline",onClick:o,"data-link-type":`avatar_click_${r?.toUpperCase()}`,children:[(0,p.jsxs)("div",{className:"relative",children:[(0,p.jsx)("div",{className:"border border-neutral-mid-gray border-solid inq-author-image-container w-7 md:w-10 lg:w-14",children:(0,p.jsx)(d.Image,{src:n||"",alt:r||"",imageWidth:56,imageHeight:56})}),i&&(0,p.jsx)(f.u,{})]}),(0,p.jsx)("p",{className:"text-neutral-light-text font-grot12-condensed font-semibold uppercase text-center text-3 leading-normal md:text-sm lg:text-lg lg:text-left",children:r})]},e));m.displayName="TrendingNavItem";const h=({trendingItems:e,handleClickAvatar:t,isMobile:n})=>{const i=(0,r.useRef)(null),[o,a]=(0,r.useState)(!1),[s,l]=(0,r.useState)(!1),c=(0,r.useCallback)(()=>
2{if(!i.current)return;const{scrollWidth:e,scrollLeft:t,clientWidth:r}=i.current;a(t>(n?28:40)),l(e>r&&e-(t+r)>1)},[i.current,n]),d=(0,r.useCallback)(e=>{if(i.current){const{scrollWidth:t,clientWidth:n,scrollLeft:r}=i.current;let o=0;"right"===e?o=t-n-r:"left"===e&&(o=-r),i.current.scrollTo({left:r+o,behavior:"smooth"})}},[]);return(0,r.useEffect)(()=>("undefined"!=typeof window&&window.addEventListener("resize",()=>c()),()=>{window.removeEventListener("resize",()=>c())}),[c]),(0,r.useEffect)(()=>{const e=i.current;if(e)return c(),e.addEventListener("scroll",()=>c()),()=>{e.removeEventListener("scroll",()=>c())}},[e,c,i.current]),e?.length<=0?null:(0,p.jsxs)("div",{className:"relative lg:rounded",children:[o&&(0,p.jsx)(u(),{direction:"left",onClick:()=>d("left")}),(0,p.jsxs)("div",{ref:i,className:"px-4 py-2 md:px-8 md:py-4 lg:px-4 lg:py-6 overflow-auto",children:[(0,p.jsxs)("div",{className:"w-full hidden flex-col gap-2 self-stretch mb-6 lg:flex",children:[(0,p.jsx)("p",{className:"font-grot12-condensed text-xl leading-6 font-semibold uppercase",children:"Topic"}),(0,p.jsx)("div",{className:"w-full h-[3px] bg-black my-0"})]}),(0,p.jsx)("div",{className:"w-full flex lg:flex-col lg:gap-6",children:e.map(e=>(0,p.jsx)(m,{_id:e?._id,url:e?.url,imageUrl:e?.imageUrl,label:e?.label,isNew:e?.isNew,onClick:()=>t(e?._id||"")},e?._id))})]}),s&&(0,p.jsx)(u(),{direction:"right",onClick:()=>d("right")})]})};var g=n(91411);function v(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let w=({customFields:e})=>{const{trendingArticles:t,siteService:n,clickedAvatars:i,markAvatarAsClicked:o}=(0,s.k)(),[a,c]=(0,r.useState)((0,g.fZ)()),[u,d]=(0,r.useState)(n.map(e=>{const t=(0,l.k_)(e._id,[],`team-${e._id}`,e.site?.site_url||"",e.site_topper?.site_logo_image||"",e.site?.site_title||e.name||"");return t?b(b({},t),{},{isNew:!1}):null}).filter(Boolean)||[]),{listColumnists:f}=(0,r.useMemo)(()=>e,[e]),m=(0,r.useCallback)(e=>{if(!e)return;const t=[],r=e.map(e=>{if(!e)return null;const r=(0,l.lx)(e,f,n,t);return r?b(b({},r),{},{isNew:(0,l.JI)(e.first_publish_date)&&!i.includes(r._id)}):null}).filter(Boolean).slice(0,9);d(r)},[n,f,i]),v=(0,r.useCallback)(e=>{o(e),d(t=>t.map(t=>t?.url===e?b(b({},t),{},{isNew:!1}):t))},[o]);return(0,r.useEffect)(()=>{t?.length>0&&m(t)},[t,m]),(0,r.useEffect)(()=>("undefined"!=typeof window&&window.addEventListener("resize",()=>c(g.fZ)),()=>{window.removeEventListener("resize",()=>c(g.fZ))}),[]),(0,p.jsx)("div",{id:"trending-nav",className:"w-full bg-white",children:(0,p.jsx)(h,{trendingItems:u,handleClickAvatar:v,isMobile:a})})};w=(0,r.memo)(w),w.propTypes={customFields:a().shape({listColumnists:a().list.tag({name:"Columnist",defaultValue:["Marcus Hayes","Mike Sielski","David Murphy","Jeff McLane","Scott Lauber"],description:"List of Columnist authors"})})};var x=w},24887:function(e,t,n){"use strict";n(40809);var r=n(14375),i=n(64986),o=n(34766);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?a(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=e=>t=>{let n={};const a={};if("undefined"==typeof window)n=(0,r.useContent)({source:"fusion-env"});else{const e=window?.document?.getElementById("stream-context");e&&(n=JSON.parse(e.textContent||"{}"))}return n&&Object.keys(n).forEach(e=>{"_id"!==e&&(a[e]=(0,i.Y)(n[e]))}),(0,o.jsx)(e,s(s({},t),a!=={}&&{fusionEnv:a}))};c.static=!0,t.A=c},2153:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var r=n(40809),i=n(94713),o=n(34766);const a=["videoLocation","videoCategory","forceLoadingAnalytics","playFullScreen"];function s(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 l(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){c(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}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(t){let{videoLocation:n,videoCategory:s,forceLoadingAnalytics:c,playFullScreen:u}=t,d=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,a);const f=(0,r.useRef)(null);return(0,r.useEffect)(()=>{(0,i.R)([{key:"src",value:"/pf/resources/vendor/video-watch-time.js"}],i.z.High)},[]),(0,o.jsx)(e,l(l({ref:f},d),{},{onReady:e=>{f.current.internalPlayer.getIframe().then(t=>{t&&(t.setAttribute("data-location",n),t.setAttribute("data-category",s),t.setAttribute("data-full-screen",u||"1"),window.videoPlayer&&(window.videoPlayer[t.id]=new window.YT.Player(t.id),window.videoPlayer[t.id].addEventListener("onStateChange",window.youtubeStateChange)),c&&null===e.data&&e.target.playVideo())})}}))}}},93661:function(e,t,n){"use strict";var r=n(40809);t.A=()=>{const[e,t]=(0,r.useState)(!0),n=(0,r.useCallback)(()=>{t("visible"===document.visibilityState)},[]);return(0,r.useEffect)(()=>(document.addEventListener("visibilitychange",n),()=>{document.removeEventListener("visibilitychange",n)}),[]),e}},60567:function(e,t,n){"use strict";n.d(t,{Q:function(){return i}});var r=n(40809);function i(e,t){(0,r.useEffect)(()=>{function n(n){e.current&&!e.current.contains(n.target)&&t()}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e])}},45299:function(e,t,n){"use strict";n.d(t,{i:function(){return c}});var r=n(40809),i=n(48906),o=n(97293),a=n(91411);function s(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 l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=(e,t,n,c=!1)=>{const u=(0,r.useMemo)(()=>o.Tv.includes(e)&&(0,a.fZ)()?null:(0,i.pW)(e,t,n,c),[e,t,n,c]);return(0,r.useEffect)(()=>
2{if(!u||"undefined"==typeof window)return;if(!window.freestar?.queue)return;const{placementName:n,slotId:r}=u,o=(0,i.a6)(e,t);return window.freestar.queue.push(()=>{window.freestar.newAdSlots(function(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){l(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}({placementName:n,slotId:r},o&&{targeting:o})),o&&(window.googletag=window.googletag||{cmd:[]},window.googletag.cmd.push(()=>{const e=window.googletag.pubads().getSlots().find(e=>e.getSlotElementId()===r);e&&Object.entries(o).forEach(([t,n])=>e.setTargeting(t,n))}))}),()=>{window.freestar?.queue&&window.freestar.queue.push(()=>{window.freestar.deleteAdSlots(r)})}},[u,e,t]),u}},85812:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(40809),i=n(15338);const o=()=>(0,r.useSyncExternalStore)(i.B1,i.dV,i.Mt)},24948:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(40809),i=n(85812);const o=(e,{selectors:t,enabled:n=!0,onPositioned:o})=>{const{isMobile:a,appBarBottom:s,subscriberBarBottom:l}=(0,i.x)(),c=(0,r.useRef)(t);c.current=t;const u=(0,r.useRef)(o);u.current=o,(0,r.useEffect)(()=>{if(!e.current)return;const t=e.current,r=c.current.map(e=>t.querySelector(e)).find(e=>null!=e)||null;if(!r)return;if(!n)return r.style.visibility="",r.style.top="",void(r.style.transform="");const i=Math.max(s,l);i<=0?r.style.visibility="hidden":(r.style.visibility="visible",r.style.transitionProperty="opacity, visibility",a?(r.style.top="0",r.style.transform=`translateY(${i}px)`):(r.style.top=`${i}px`,r.style.transform="none"),u.current&&u.current(r))},[n,a,s,l,e])}},3806:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(40809),i=n(6607);const o=()=>{const e=(0,r.useRef)(null);return(0,r.useEffect)(()=>()=>{null!==e.current&&(e.current(),e.current=null)},[]),(0,r.useCallback)((t,n=300)=>{null!==e.current&&e.current(),e.current=(0,i.uO)(t,n)},[])}},74974:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(22210),o=n(4321),a=n(73709),s=n(1546),l=n(84326),c=n(99970),u=n(65902),d=n(20843),f=n(34766);const p=e=>{const t=(0,r.useRef)(null),n=(0,r.useRef)(null),{requestUri:p,renderables:m,metaValue:h}=(0,o.useAppContext)(),[g,v]=(0,r.useState)(),[b,y]=(0,r.useState)(!1),w=(0,r.useMemo)(()=>(0,s.r)((0,l.p)("GROWTHBOOK_CLIENT_KEY"),(0,l.p)("ENV"),p),[]),x=(0,r.useMemo)(()=>(0,u.V9)(m),[m]),_=(0,r.useMemo)(()=>(0,u.G4)(x),[x]),C=(0,r.useMemo)(()=>(0,d.j$)(h),[h]),j=(0,r.useMemo)(()=>(0,d.Gi)(h),[h]),S=(0,r.useMemo)(()=>(0,d.td)(h),[h]);return(0,f.jsx)(i.iX,{growthbook:w,children:(0,f.jsx)(c.I.Provider,{value:{featureChainComponents:x,allPackagesLayouts:_},children:(0,f.jsx)(a.C.Provider,{value:{user:g,setUser:v,excludeInBodyAds:b,setExcludeInBodyAds:y,appBarRef:t,lightLandingArticleRef:n},children:(0,f.jsxs)("div",{children:[(0,f.jsx)("a",{className:"sr-only focus:not-sr-only active:not-sr-only hover:not-sr-only",href:"#main-content",children:"Skip to content"}),(0,f.jsx)("header",{id:"app-bar",ref:t,className:"app-bar header top-0 sticky z-[11]",children:e.children[0]}),(0,f.jsx)("article",{ref:n,className:C||S||j?"":"max-w-screen-xl my-0 mx-auto",children:e.children[1]}),(0,f.jsx)("footer",{children:e.children[2]})]})})})})};p.sections=["header","main","footer"],t.default=p},7715:function(e,t){"use strict";t.A=Object.freeze({REGULAR:"subtype-regular",COLUMNIST:"subtype-columnists",REVIEW:"subtype-review",LONGFORM:"subtype-longform",INNOVATION2:"subtype-innovation-2",LONGFORMLIGHT:"subtype-longformlight",LIVEBLOG:"subtype-live",LIVE_EVENT:"subtype-live-event",PARTNER_SPORTS_BETTING:"subtype-partner-sports-betting",SPOTLIGHT_PA:"subtype-spotlightpa",NEWSLETTER:"subtype-newsletter",CYOA:"subtype-cyoa",PHILLY_FIRST:"subtype-phillyfirst",LONGFORMLIGHTV2:"subtype-longformlight-v2",SWIPEABLE:"subtype-swipeable",CALL_TO_ACTION:"subtype-call-to-action",RESTAURANT_PAGE:"subtype-restaurant-page",FOOD_MAP:"subtype-food-map",FINDER_PAGE:"subtype-finder-page",STORYSTACK:"subtype-storystack",WORDPRESS:"subtype-wordpress"})},48760:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});
2class r{constructor(e){this.type=void 0,this.parent=void 0,this.ancestors=void 0,this.name=void 0,this.path=void 0,this.parent_id=void 0,this.description=void 0,this._id=void 0,this.Ads=void 0,this.Analytics=void 0,this.Recirculation=void 0,this.children=void 0,this.inactive=void 0,this.site_topper=void 0,this.site=void 0,this._id=e._id,this.Ads=e.Ads,this.Analytics=e.Analytics,this.Recirculation=e.Recirculation||{},this.children=e.children,this.description=e.site&&e.site.site_description||e.name,this.inactive=e.inactive,this.name=e.name,this.parent=e.parent||{},this.ancestors=e.ancestors||{},this.parent_id=e.parent&&e.parent.default||e._id,this.path=e._id,this.site=e.site,this.type="front"}}},54118:function(e,t,n){"use strict";n.d(t,{$x:function(){return a},Ty:function(){return i},eF:function(){return r},sn:function(){return o}});const r={LOGGED_OUT:"Logged Out",LOGGED_IN:"Logged In",SUBSCRIBED:"Subscribed"},i=[{name:"Keep reading by creating a <b>free</b> account or signing in.",style:"text",customClass:"info-link",icon:"information"},{name:"Sign in/Sign up",style:"fill",customClass:"auth0-log-in login-btn",path:"#",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Sign in/Sign up"}},{name:"Subscribe",style:"outline",customClass:"subscribe-btn",path:"https://www.inquirer.com/subscribe_today/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Subscribe"}},{name:"Support local news",style:"outline",customClass:"support-local-news-btn",path:"https://www.inquirer.com/donate/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Support local news"}}],o=[{name:"Support local news",style:"fill",customClass:"support-local-news-btn",path:"https://www.inquirer.com/donate/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Support local news"}},{name:"Manage account",style:"outline",customClass:"manage-acc-btn mobile",path:"https://account.inquirer.com/login?so=00D1U000000xvlm",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Manage account"}},{name:"Manage account",style:"fill",customClass:"manage-acc-btn desktop",path:"https://account.inquirer.com/login?so=00D1U000000xvlm",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Manage account"}},{name:"",style:"empty",customClass:"dropdown-notify",path:"",additionalAttrs:{}},{name:"Sign out",style:"link",customClass:"logout-btn",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Sign out"},path:"#"}],a=[{name:"Subscribe",style:"fill",customClass:"subscribe-btn",path:"https://www.inquirer.com/subscribe_loggedin/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Subscribe"}},{name:"Support local news",style:"outline",customClass:"support-local-news-btn",path:"https://www.inquirer.com/donate/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Support local news"}},{name:"Subscribe",style:"fill",customClass:"manage-acc-btn desktop",path:"https://www.inquirer.com/subscribe_loggedin/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Subscribe"}},{name:"",style:"empty",customClass:"dropdown-notify",path:"",additionalAttrs:{}},{name:"Sign out",style:"link",customClass:"logout-btn",additionalAttrs:{"data-link-type":"global-nav"},path:"#"}]},24225:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});const r=["08002","08003","08004","08007","08009","08010","08012","08014","08015","08016","08020","08021","08022","08026","08027","08028","08029","08030","08031","08032","08033","08034","08035","08036","08041","08043","08045","08046","08048","08049","08051","08052","08053","08054","08055","08056","08057","08059","08060","08061","08062","08063","08065","08066","08068","08071","08075","08077","08078","08080","08081","08083","08084","08085","08086","08088","08089","08090","08091","08093","08094","08096","08097","08102","08103","08104","08105","08106","08107","08108","08109","08110","08505","08511","08515","08518","08554","18966","18974","19001","19002","19003","19004","19006","19007","19008","19009","19010","19012","19020","19021","19022","19025","19026","19027","19030","19031","19034","19035","19038","19040","19041","19044","19046","19047","19050","19053","19054","19055","19056","19057","19063","19064","19066","19067","19072","19073","19075","19081","19082","19083","19085","19086","19087","19090","19095","19096","19102","19103","19104","19106","19107","19111","19112","19113","19114","19115","19116","19118","19119","19120","19121","19122","19123","19124","19125","19126","19127","19128","19129","19130","19131","19132","19133","19134","19135","19136","19137","19138","19139","19140","19141","19142","19143","19144","19145","19146","19147","19148","19149","19150","19151","19152","19153","19154","19301","19312","19319","19333","19342","19355","19380","19382","19401","19403","19405","19406","19422","19428","19444","19454","19462","19701","19702","19703","19706","19707","19709","19713","19720","19734","19736","19801","19802","19803","19804","19805","19806","19807","19808","19809","19810"]},70517:function(e,t,n){"use strict";function r(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function i({url:e,data:t,query:n,method:i="GET",apiKey:o="",token:a="",headers:s={}},l=!1){return new Promise((c,u)=>{const d=new XMLHttpRequest,f=n?"?"+r(n):"";d.open(i,`${e}${f}`),l&&(d.withCredentials=!0),"POST"!==i&&"PATCH"!==i||(d.setRequestHeader("Content-type","application/json"),d.setRequestHeader("Accept","application/json")),o&&d.setRequestHeader("apikey",o),a&&d.setRequestHeader("Authorization",a),s&&"object"==typeof s&&Object.keys(s).forEac
2h(e=>{const t=s[e];void 0!==t&&d.setRequestHeader(e,String(t))}),d.onload=()=>{d.readyState===XMLHttpRequest.DONE&&d.status<400?c(JSON.parse(d.responseText)):u(new Error(d.responseText))},d.onerror=()=>u(d.statusText),d.send(JSON.stringify(t))})}n.d(t,{y:function(){return i}})},97293:function(e,t,n){"use strict";n.d(t,{AH:function(){return v},JQ:function(){return c},Ke:function(){return j},Kx:function(){return u},LJ:function(){return C},L_:function(){return f},Tv:function(){return w},UU:function(){return b},f3:function(){return x},jP:function(){return l},q8:function(){return y},yW:function(){return _}});var r=n(43993),i=n(20843);function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=(e,t)=>{const n=new Date,o=t||(0,i.SG)(),s=e?.article_targeting||{},l=(0,i.Vf)("test",t)||(0,i.Vf)("test")||void 0;return a(a(a(a({day_of_week:s?.day_of_week||n.getDay(),hour:s?.hour||n.getHours(),date:s?.date||("0"+(n.getMonth()+1).toString()).substr(-2)+("0"+n.getDate().toString()).substr(-2)+n.getFullYear().toString().substr(2),platform:"fusion",content_type:s?.content_type||"story",url_path:o,is_testing:"prod"===r.ENV?"no":"yes",article_id:"shore/"===o?"New Jersey Shore":e?._id,article_sections:s?.article_sections||e?.section,slot_name:s?.slot_name||""},s?.content_subtype&&{content_subtype:s?.content_subtype}),s?.article_tags&&{article_tags:s?.article_tags}),s?.author&&{author:s?.author}),l&&{test:l})},c=e=>["adhesion","top_banner"].some(t=>e.includes(t)),u={ARTICLE_ONEPIXEL:"article/onepixel",ARTICLE_RIGHT_RAIL_BOTTOM_STICKY:"article/right-rail-bottom-sticky",ARTICLE_CUBE:"article/cube",ARTICLE_RIGHT_RAIL_STICKY:"article/right-rail-sticky",ARTICLE_RIGHT_RAIL_STICKY_2:"article/right-rail-sticky-2",ARTICLE_RIGHT_RAIL_3:"article/right-rail-3",ARTICLE_RIGHT_RAIL_STICKY_LIVEBLOG:"article/right-rail-sticky-liveblog",ARTICLE_ANCHOR:"article/anchor",ARTICLE_TOP_LEADERBOARD:"article/top-leaderboard",ARTICLE_RAIL5:"article/rail_5_article",ARTICLE_NATIVE_IN_FEED:"article/native_infeed",ARTICLE_LIVEBLOG_INLINE:"article/liveblog-inline",ARTICLE_LIVEBLOG_SPONSORED:"article/liveblog-sponsored",GALLERY_MREC:"gallery/mrec_gallery",HP_ONEPIXEL:"homepage/onepixel",HP_ADHESION:"homepage/adhesion",HP_SLIDER:"homepage-slider",HP_TOP_BANNER:"homepage/top_banner",HP_PREMIUM:"homepage/premium",HP_ISONE:"homepage/isone",HP_LEADER_1:"homepage/leader_1",HP_LEADER_2:"homepage/leader_2",HP_LEADER_3:"homepage/leader_3",HP_LEADER_4:"homepage/leader_4",HP_LEADER_1_PREMIUM:"homepage/leader_1_premium",HP_RAIL_1:"homepage/rail_1",HP_RAIL_2:"homepage/rail_2",HP_RAIL_3:"homepage/rail_3",HP_TEXT_LINK:"homepage/text_link",SECTION_TOP_BANNER:"section/top_banner",SECTION_MREC:"section/mrec",SECTION_RAIL:"section/rail",SECTION_RAIL_2:"section/rail_2",SECTION_LEADER:"section/leader",SECTION_LEADER_2:"section/leader_2",SECTION_LEADER_3:"section/leader_3",SECTION_LEADER_PREMIUM:"section/leader_premium",SECTION_LEADER_2_PREMIUM:"section/leader_2_premium",SECTION_LEADER_3_PREMIUM:"section/leader_3_premium",SECTION_ADHESION:"section/adhesion",SECTION_ANCHOR:"section/anchor",SECTION_ONEPIXEL:"section/onepixel",RIGHT_RAIL_STICKY:"right-rail-sticky",GAMEDAY_TOP_BANNER:"gameday_central/top_banner",GAMEDAY_LEADER:"gameday_central/leader",GAMEDAY_LOGO:"gameday_central/logo",GAMEDAY_RAIL_1:"gameday_central/rail_1",GAMEDAY_RAIL_2:"gameday_central/rail_2",GAMEDAY_ADHESION:"gameday_central/adhesion",GAMEDAY_LEADER_BTF:"gameday_central/leader_btf",GAMEDAY_INLINE_1:"gameday_central/inline_1",GAMEDAY_INLINE_2:"gameday_central/inline_2",GAMEDAY_INLINE_3:"gameday_central/inline_3",SPORTS_ADHESION:"sports_section/adhesion",TOPIC_MREC:"topic/mrec",TOPIC_RAIL:"topic/rail",PHILLY_BEST_TOP_BANNER:"phillybest/top_banner",PHILLY_BEST_RAIL_1:"phillybest/rail_1",PHILLY_BEST_RAIL_2:"phillybest/rail_2",PHILLY_BEST_LEADER_1:"phillybest/leader_1",PHILLY_BEST_LEADER_2:"phillybest/leader_2",PHILLY_BEST_ADHESION:"phillybest/adhesion",PHILLY_BEST_ONEPIXEL:"article/onepixel",EAG
2LES_ADHESION:"eaglesplayoffs/adhesion",EAGLES_RAIL:"eaglesplayoffs/rail",EAGLES_RAIL_2:"eaglesplayoffs/rail_2",EAGLES_LEADER_1:"eaglesplayoffs/leader_1",EAGLES_LEADER_2:"eaglesplayoffs/leader_2",EAGLES_INLINE:"eaglesplayoffs/inline_1",EAGLES_TOP_BANNER:"eaglesplayoffs/top_banner",EAGLES_ONE_PIXEL:"eaglesplayoffs/one_pixel",NATIVE:"native",ART_GUIDE_LOGO:"arts_guide/logo",SPONSOR_LOGO:"sponsor_logo",PHILLY_FIRST_TOP_BANNER:"phillyfirst/top_banner",PHILLY_FIRST_TOP_BANNER_ARTICLE:"phillyfirst/top_banner_article",PHILLY_FIRST_RIGHT_RAIL_ARTICLE:"phillyfirst/article/rail_1",PHILLY_FIRST_RIGHT_RAIL_LANDING:"phillyfirst/landing/rail_1",PHILLY_FIRST_LEADER:"phillyfirst/leader_1",PHILLY_FIRST_TOPIC_TOP_BANNER:"phillyfirst/topic/top_banner",PHILLY_FIRST_TOPIC_RIGHT_RAIL:"phillyfirst/topic/rail_1",PHILLY_FIRST_TOPIC_LEADER:"phillyfirst/topic/leader_1",NEW_SPORTS_INLINE:"section/leader_1",NEW_SPORTS_INLINE_NATIVE:"section/leader_1_native",NEW_SPORTS_LEFT_RAIL:"section/new_sports_left_rail_1",NEW_SPORTS_MASTHEAD:"new_sports_masthead",RESTAURANT_RAIL_1:"restaurant_rail_1",RESTAURANT_RAIL_2:"restaurant_rail_2",RESTAURANT_LEADER:"restaurant_leader",ARTICLE_TOP_BANNER_MASTHEAD:"article/top_banner_masthead",FOOD_LEADER_1:"food_section/leader_1",FOOD_LEADER_1_NATIVE:"food_section/leader_1_native",FOOD_LEADER_2:"food_section/leader_2",FOOD_RIGHT_RAIL_1:"food_section/rail_1",FOOD_RIGHT_RAIL_2:"food_section/rail_2",STORYSTACK_LEADER:"storystack/leader",STORYSTACK_TOP_BANNER:"storystack/top_banner"},d=new Set([u.ARTICLE_RIGHT_RAIL_STICKY,u.ARTICLE_RIGHT_RAIL_STICKY_2,u.ARTICLE_RIGHT_RAIL_3,u.ARTICLE_RIGHT_RAIL_BOTTOM_STICKY,u.HP_RAIL_1,u.HP_RAIL_2,u.HP_RAIL_3,u.SECTION_MREC,u.SECTION_RAIL,u.SECTION_RAIL_2,u.TOPIC_MREC,u.TOPIC_RAIL,u.GALLERY_MREC,u.PHILLY_FIRST_RIGHT_RAIL_ARTICLE,u.PHILLY_FIRST_RIGHT_RAIL_LANDING,u.PHILLY_FIRST_TOPIC_RIGHT_RAIL,u.GAMEDAY_RAIL_1,u.GAMEDAY_RAIL_2,u.EAGLES_RAIL,u.EAGLES_RAIL_2,u.FOOD_RIGHT_RAIL_1,u.FOOD_RIGHT_RAIL_2,u.PHILLY_BEST_RAIL_1,u.PHILLY_BEST_RAIL_2,u.RIGHT_RAIL_STICKY,u.RESTAURANT_RAIL_1,u.RESTAURANT_RAIL_2]),f=e=>{if(!e)return!1;const t=e.querySelectorAll("[data-ad-name]");for(let e=0;e<t.length;e+=1){const n=t[e].getAttribute("data-ad-name");if(n&&d.has(n))return!0}return!1},p=[u.PHILLY_BEST_LEADER_2,u.EAGLES_INLINE,u.HP_TEXT_LINK,u.NEW_SPORTS_INLINE,u.ARTICLE_TOP_BANNER_MASTHEAD,u.FOOD_LEADER_2,u.FOOD_RIGHT_RAIL_2],m=[u.PHILLY_BEST_RAIL_2,u.EAGLES_INLINE,u.HP_TEXT_LINK,u.FOOD_RIGHT_RAIL_1,u.FOOD_RIGHT_RAIL_2],h=[u.PHILLY_BEST_RAIL_1,u.PHILLY_BEST_RAIL_2,u.EAGLES_LEADER_1,u.EAGLES_LEADER_2,u.HP_TEXT_LINK,u.RESTAURANT_LEADER,u.FOOD_LEADER_1,u.FOOD_LEADER_2,u.PHILLY_FIRST_TOPIC_LEADER],g=[u.ARTICLE_ONEPIXEL,u.ARTICLE_LIVEBLOG_SPONSORED,u.ARTICLE_NATIVE_IN_FEED,u.RESTAURANT_RAIL_1,u.RESTAURANT_RAIL_2],v=[u.ARTICLE_ONEPIXEL,u.ARTICLE_ANCHOR,u.HP_ONEPIXEL,u.HP_PREMIUM,u.SECTION_ONEPIXEL,u.HP_ADHESION,u.SECTION_ADHESION,u.SPORTS_ADHESION,u.NEW_SPORTS_LEFT_RAIL,u.GAMEDAY_ADHESION,u.GAMEDAY_LEADER,u.GAMEDAY_LOGO,u.SPONSOR_LOGO,u.GAMEDAY_RAIL_1,u.GAMEDAY_RAIL_2,u.GAMEDAY_INLINE_1,u.GAMEDAY_INLINE_2,u.GAMEDAY_INLINE_3,u.SECTION_ANCHOR,u.PHILLY_BEST_ADHESION,u.NATIVE,u.ART_GUIDE_LOGO,u.PHILLY_FIRST_LEADER,u.NEW_SPORTS_INLINE,u.EAGLES_ONE_PIXEL],b=[u.ARTICLE_CUBE,u.ARTICLE_RIGHT_RAIL_STICKY_LIVEBLOG,u.ARTICLE_LIVEBLOG_INLINE,u.GALLERY_MREC,u.STORYSTACK_LEADER],y=[u.ARTICLE_TOP_BANNER_MASTHEAD,u.NEW_SPORTS_MASTHEAD,u.HP_TOP_BANNER,u.SECTION_TOP_BANNER,u.PHILLY_FIRST_TOP_BANNER,u.PHILLY_FIRST_TOP_BANNER_ARTICLE,u.PHILLY_FIRST_TOPIC_TOP_BANNER,u.STORYSTACK_TOP_BANNER],w=[u.PHILLY_FIRST_TOP_BANNER,u.PHILLY_FIRST_TOPIC_TOP_BANNER,u.PHILLY_FIRST_TOP_BANNER_ARTICLE],x=e=>`bg-white overflow-hidden flex-col justify-center items-center flex ${e&&w.includes(e)?"max-sm:min-h-0 ":""}min-h-[50px] md:min-h-[90px] lg:min-h-[250px]`,_=(e,t)=>{let n=[];switch(t){case"article":n=g;break;case"desktop":n=p;break;case"tablet":n=m;break;case"mobile":n=h;break;default:n=v}return n.indexOf(e)>-1},C=(e,t)=>{const n={isHome:[u.HP_LEADER_1,u.NATIVE,u.HP_TEXT_LINK],isSectionFront:[u.NATIVE,u.NEW_SPORTS_INLINE,u.FOOD_LEADER_1,u.SECTION_LEADER,u.SECTION_LEADER_2,u.SECTION_LEADER_3],isPhillyFirst:[u.PHILLY_FIRST_TOP_BANNER,u.PHILLY_FIRST_TOP_BANNER_ARTICLE,u.PHILLY_FIRST_RIGHT_RAIL_ARTICLE,u.PHILLY_FIRST_RIGHT_RAIL_LANDING,u.PHILLY_FIRST_LEADER,u.PHILLY_FIRST_TOPIC_TOP_BANNER,u.PHILLY_FIRST_TOPIC_RIGHT_RAIL,u.PHILLY_FIRST_TOPIC_LEADER,u.ARTICLE_CUBE]};return t.isHome&&n.isHome.includes(e)||t.isSectionFront&&n.isSectionFront.includes(e)||t.isPhillyFirst&&(n.isPhillyFirst.includes(e)||e===u.ARTICLE_CUBE)||!1},j=e=>{if(!e)return null;return y.map(t=>e.querySelector(`div[data-ad-name="${t}"]`)).find(e=>null!==e)||null}},65902:function(e,t,n){"use strict";n.d(t,{DO:function(){return u},G4:function(){return l},MS:function(){return f},OW:function(){return s},Qb:function(){return h},T8:function(){return m},V9:function(){return c},hc:function(){return p},j:function(){return d}});var r=n(50903);function i(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?i(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>{e&&window?.PMNdataLayer?.push({analytics:o({},e)})},l=e=>e.map(e=>e.props.type.replace("/","-")).join("|"),c=e=>{const t=e?.filter(e=>"sections"===e.collection),n=(t||[]).slice(1,t.length-1),i=[];let o=[];return(n||[]).forEach(e=>{(e?.children||[]).forEach(e=>{const t=-1===r.$y.indexOf(e?.type||"")?e:null;e.children?(t&&i.push(t),o=e?.children?.map(e=>e?.props?.id)):o&&-1===o.indexOf(e?.props?.id||"")&&t&&i.push(t)})}),i},u=()=>window?.PMNdataLayer?.find(e=>e?.analytics?.user)?.analytics?.user,d=()=>"undefined"==typeof window?"":window?.PMNdataLayer?.find(e=>e?.analytics&&!e?.analytics?.user)?.analytics,f=(e="null")=>{const t=d(),n=window?.Fusion?.metas?.pagetype?.value||"";return"Newsletters"===t?.title||"newsletters"===n?`web|onsite|admin|nl landing page|${e}`:"front"===t?.content_type?`web|onsite|front|${t?.title||"null"}`:`web|onsite|admin|nl signup page|${e} Sign Up`},p=(e="open")=>{window?.PMNdataLayer?.push({event:"ga_generic_event",interactionType:"click",userInteraction:"hamburger menu",interactionDetail:e})},m=(e,t="regional_new_jersey")=>{window?.PMNdataLayer?.push({event:"ga_generic_event",interactionType:"click",interactionDetail:e,userInteraction:t})},h=(e,t)=>{window?.PMNdataLayer?.push({event:"ga_generic_event",interactionType:"weekend_game_click",interactionDetail:e,userInteraction:t})}},65058:function(e,t,n){"use strict";n.d(t,{C4:function(){return l},IE:function(){return c},gl:function(){return d},o:function(){return p},oO:function(){return f}});var r=n(54118),i=n(50903);function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=(e,t)=>(2===e?"hidden sm:block lg:hidden":"")||(e===t?"block sm:hidden lg:block":""),c=(e,t)=>t?.state===r.eF.LOGGED_IN?`https://www.inquirer.com/${e?"subscribe_loggedin":"subscribe_loggedin_test"}/`:`https://www.inquirer.com/${e?"subscribe_today":"subscribe_test"}/`,u=e=>e.filter(e=>"Sign out"!==e.name),d=(e,t,n)=>e?t?(n||(r.sn[1].path="https://inquirer--qa.sandbox.my.site.com/subscribers/login?so=00D290000001GQi",r.sn[2].path=r.sn[1].path),u(r.sn)):u(r.$x):u(r.Ty),f=(e,t,r,i=!1)=>{Promise.all([n.e(7718),n.e(6908),n.e(3344),n.e(7939)]).then(n.bind(n,78322)).then(n=>n.loadThirdParties(e,t,r,i)).catch(e=>console.error("Error when load module",e))},p=(e,t)=>{Promise.all([n.e(7718),n.e(779),n.e(8736)]).then(n.bind(n,70779)).then(({LoginService:n})=>{const r=e||{},o=new n({env:r.ENV,auth0Config:{clientId:r.AUTH0_CLIENTID,rootDomain:r.AUTH0_DOMAIN,auth0BaseUrl:r.AUTH0_BASE_URL},googleConfig:{clientId:r.GOOGLE_CLIENT_ID,redirectUri:"prod"===r.ENV?i.C1:`https://${"dev"===r.ENV?"dev":"stage"}.fusion.inquirer.com`}});window.services=a(a({},window.services),{},{loginService:o});try{o.initialize(),t()}catch(e){console.log("Error",e)}}).catch(e=>console.error("Error on loading Login service module",e))}},19852:function(e,t,n){"use strict";n.d(t,{BV:function(){return w},E:function(){return b},Fs:function(){return R},Gl:function(){return z},Gm:function(){return B},JY:function(){return g},XO:function(){return f},Xx:function(){return I},Y4:function(){return y},Yi:function(){return p},al:function(){return G},b$:function(){return d},cZ:function(){return u},eJ:function(){return D},ej:function(){return N},fO:function(){return c},gg:function(){return U},kG:function(){return K},kS:function(){return M},l1:function(){return F},lz:function(){return h},mw:function(){return P},pu:function(){return k},qs:function(){return $},sK:function(){return O},zT:function(){return C}});var r=n(46363),i=n.n(r),o=n(58375),a=n(45712),s=n(20843),l=n(7715);const c=e=>"subtype-live"===e,u=e=>"video"===e,d=e=>e===l.A.SWIPEABLE,f=e=>e===l.A.PHILLY_FIRST,p=e=>e===l.A.WORDPRESS,m=e=>new RegExp(/^\/\/\sTimestamp\s[\d+]{1,2}\/[\d+]{1,2}(\/[\d+]{1,2})?\s[\d+]{1,2}:[\d+]{1,2}(AM|am|PM|pm)/g).test(e.trim()),h=async(e,t)=>{const n=JSON.stringify({canonical_url:e}),r=await i().get("/pf/api/v3/content/fetch/content-api-light-nocache",{params:{query:n,timeToken:Date.now(),d:t}});return r?.data},g=(e,t,n)=>{const r=e?.filter(e=>"text"===e.type&&e.content&&e.content.startsWith("// Timestamp",0));let i="";return r.length>0&&m(r[0]?.content)&&(i=(0,a.lm)(r[0]?.content,"aptime-liveblog",t?.slice(0,4)),n&&(i=(0,a.lm)(r[0]?.content,"UTC",t?.slice(0,4),!0))),i},v=(e,t)=>
2t?t.parseFromString(e,"text/html").body.textContent:(new DOMParser).parseFromString(e,"text/html").body.textContent,b=(e,t)=>{const n=t?.first_publish_date||t?.last_updated_date;return!(!e||!n)&&new Date(n)>new Date(e)},y=(e,t,n,r,i)=>{const o=[],s="undefined"==typeof window;let l,c={};return!1===s&&(l=new DOMParser),e?(e.forEach(e=>{if("header"===e.type)Object.assign(c,{header:s?(d=e.content,d.replace(/<[^>]*>?/gm,"")):v(e.content,l)});else if("text"===e.type&&e.content.startsWith("// Timestamp",0)){let o,s=e.content,l="",d=0;m(e.content)&&(s=(0,a.lm)(e.content,"UTC"),l=(0,a.lm)(e.content,"",r));for(let e=0;e<s.length;e++)o=s.charCodeAt(e),d=(d<<5)-d+o,d&=d;const f=i?(u=e,u?._id?.replace("k_generated_","card-")||null):`card-${Math.abs(d)}`;Object.assign(c,{timestamp:t?l:"",url:`${n||""}/${f}`})}var u,d;c.header&&c.url&&(o.push(c),c={})}),o):[]},w=(e,t=", ")=>e?.credits?.by?.map(e=>(0,o.getAuthorName)(e))?.join(t),x=(e,t)=>e?.filter(e=>e?._id?.includes(t)).length>0,_=e=>x(e,"/opinion")||x(e,"/expert-opinions"),C=(e,t)=>x(e,"/philly-first")&&"subtype-phillyfirst"===t,j=e=>x(e,"/columnists"),S=e=>x(e,"/editorials"),O=(e,t,n)=>_(e)||j(e)||S(e)||!0===t&&(e=>x(e,"/sports/betting")||x(e,"/casino"))(e)&&!((e,t)=>e.filter(e=>e===t||`${e}/`===t).length>0)(["/sports/betting","/casino"],n||""),k=e=>"gallery"===e,E=e=>-1!==e.findIndex(e=>"no_author"===e._id),L=e=>{const t=e.taxonomy?.sections||[],n=e.credits?.by||[];return j(t)&&!S(t)&&(n.length>0&&!E(n)||n.length>1&&E(n))?"Columnist":""},P=e=>{const t=e?.first_publish_date||"",n=e?.display_date||"",r=e?.type||"";return(0,a.Ej)(t,n,"minute")||(0,a.Uy)(n,t,"minute")?{time:t,isUpdated:!1}:k(r)?{time:n,isUpdated:!0}:{time:t,updatedTime:n,isUpdated:!0}},N=e=>{const t=(e?.distributor?.category||"").trim().toLocaleLowerCase();let n=e?.distributor?.name||"";if(!n){const t=(e?.source?.source_type||"").trim().toLowerCase();"staff"!==t&&"freelance"!==t&&(n=e?.source?.name)}return"The Action Network"===(n||e?.source?.name)?"Action Network":"staff"===t||(e=>"Philly First"===e)(n||e?.source?.name)||"external or unknown"===(n||"").trim().toLowerCase()?"":"freelance"===t?"For The Inquirer":(n||"").trim()},A=e=>{const t=e?.url||"";return t?(t.startsWith("www")?"https://":"")+t:""},I=(e,t)=>{e.name=t,e.additional_properties?.original&&(e.additional_properties.original.byline=t),e.byline&&(e.byline=t)},T=e=>{let t=e?.credits?.by||[];const n=N(e);if(!S(e.taxonomy?.sections||[]))return n?t.map(e=>{const t=(0,o.getAuthorName)(e),r=t.split(",")?.pop()?.trim()||"";return t.includes(n)||n.includes(r)?I(e,t.replace(/,[^,]+$/,"")):I(e,t),e.url=A(e),e}):t.map(e=>{const t=(0,o.getAuthorName)(e);if(t){const n=t.match(/<a.*\/a>/i)?t.split(",")[0]:t;I(e,n.replace(/by+\s/i,""))}return e.url=A(e),e});{const n=(e.taxonomy?.sections||[]).filter(e=>"/opinion/editorials"===e._id);t=n.length?[{name:"The Editorial Board",url:`${(0,s.$_)()}${n[0]._id}`,image:{url:n[0]?.additional_properties?.original.card_display?.card_eyebrow_logo||""}}]:[{name:"The Editorial Board",url:`${(0,s.$_)()}/opinion/editorials`}]}return t},M=e=>({authors:T(e),timestamp:P(e),section:L(e),organization:N(e)}),R=(e,t=!1)=>{const n=e?.taxonomy?.sections||[],r=e?.subtype;let i="standard-story-card";return c(r)?i="liveblog-card":S(n)?i="editorial-story-card":j(n)?i="columnist-story-card":_(n)?i="opinion-story-card":e?.promo_items?.basic?.url?u(e?.type)&&!t&&(i="video-card"):i="standard-story-no-image-card",i},D=e=>e?.primary_section?e.primary_section:e?.primary_site,F=e=>{const t=[],n=D(e);if(!n)return t;
2t.push(n?.name||"");const r=(n._id||"").split("/");return t.concat(r).filter(e=>e)},B=e=>T(e).map(e=>e.name).join(" | "),V=e=>e?.additional_properties?.original?.byline||e?.byline||e?.name||"",H=e=>!!V(e).trim(),q=(e,t,n)=>{const r=t?.[e];return i=r,(Array.isArray(i)&&(0===i.length||i.some(H))?r:n?.[e])||[];var i},U=(e,t)=>{if(e.credit)return e.credit;const n=(t?.ignoreVanityPhotographer?e.credits?.by||[]:q("by",e.vanity_credits,e.credits)).filter(H),r=q("affiliation",e.vanity_credits,e.credits).filter(H),i=n.map(V),o=r?.[0]?.name||"";return`${i.filter((e,t,n)=>n.indexOf(e)===t).join(", ")}${i.length>0&&o?" / ":""}${o}`},$=(e,t)=>e&&e.basic?!e.print||"liveblog"!==t&&"longform"!==t?e.tablet&&"social_share"===t?e.tablet:e.web&&"card"===t?e.web:e.meta_title&&"meta"===t?e.meta_title:e.basic:e.print:"",z=(e,t,n)=>e.filter(e=>(e?.slug||"").toLowerCase()===t||(e?.text?(e?.text||"").toLowerCase()===n:"")).length>0,G=e=>{const t=e?JSON.parse(e):null;return t?.enclosure?.url||t?.AudioUrl||""},K=e=>!["inquirer.com","localhost.arcpublishing.com"].some(t=>e.includes(t))},2958:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(40809);const i=()=>window.blueConicClient?.profile?.getProfile?.()?.getId?.()??null,o=e=>{let t=0;const n=window.setInterval(()=>{t+=1,e(),(i()||t>=20)&&window.clearInterval(n)},300);return()=>window.clearInterval(n)},a=()=>(0,r.useSyncExternalStore)(o,i,()=>null)},50903:function(e,t,n){"use strict";n.d(t,{$y:function(){return y},AQ:function(){return v},C1:function(){return x},IO:function(){return g},LE:function(){return w},MG:function(){return a},Oz:function(){return l},S9:function(){return c},Sm:function(){return u},VZ:function(){return b},Vz:function(){return d},gc:function(){return h},gg:function(){return m},k9:function(){return r},mu:function(){return s},nG:function(){return o},rf:function(){return p},sY:function(){return f},se:function(){return i}});const r="/sports/betting",i="isSportsAppbar",o="isFoodAppbar",a=1280,s=1023,l=480,c=["location","cuisine","price"],u={$:"(Under $50)",$$:"($50-$100)",$$$:"($100-$200)",$$$$:"(Over $200)"},d="/food/restaurant-finder-philadelphia",f="picks",p="reservations",m="What are you in the mood for?",h="web|onsite|front|Food",g="https://media.inquirer.com/assets/",v="https://foodfest.inquirer.com/",b="Food Festival",y=["global/AdUnit","section/header","global/TopicHeader"],w="11/6/2025",x="https://www.inquirer.com"},71530:function(e,t,n){"use strict";n.d(t,{Bt:function(){return l},Md:function(){return f},Ri:function(){return c},TV:function(){return d}});var r=n(6897),i=n.n(r),o=n(20852),a=n.n(o);const s=e=>{if(document&&document.cookie){const t=document.cookie.split(";").find(t=>t.trim().substring(0,e.length)===e);return t?t.trim().substring(e.length+1):void 0}},l=()=>{const e=s("arc-country");return void 0!==e&&["AT","BE","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","GB"].includes(e.toUpperCase())},c=e=>{const t=`${e}=`,n=decodeURIComponent(document.cookie).split(";");for(let e=0;e<n.length;e++){let r=n[e];for(;" "===r.charAt(0);)r=r.substring(1);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return""},u=(e,t,n)=>{const r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3);const i=`expires=${r.toUTCString()}`;document.cookie=`${e}=${t};${i};path=/`},d=(e,t,n,r=!1)=>{if(!0===r)u(e,t,n);else{c(e)&&u(e,t,n)}},f=e=>{const t=s("user_data");if(t&&t.length>0){const n=decodeURIComponent(t),r=i().decrypt(n,e);return JSON.parse(r.toString(a()))}return{state:"Logged Out"}}},45712:function(e,t,n){"use strict";n.d(t,{Ej:function(){return d},N1:function(){return v},Uy:function(){return f},gv:function(){return c},jB:function(){return u},jb:function(){return h},lm:function(){return m},qF:function(){return p},ui:function(){return g}});var r=n(61487),i=n.n(r),o=n(23372),a=n.n(o),s=n(11087),l=n.n(s);i().extend(a()),i().extend(l());const c=(e,t=!1)=>t?["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][e.getDay()]:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][e.getDay()],u=(e,t=!1)=>t?["January","February","March","April","May","June","July","August","September","October","November","December"][e.getMonth()]:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][e.getMonth()],d=(e,t,n)=>
2i()(e).tz("America/New_York").isSame(i()(t),n),f=(e,t,n)=>i()(e).isBefore(i()(t),n),p=e=>{const t=i().utc(e);return i().tz(t,"America/New_York").format("YYYY-MM-DDTHH:mm:ssZ")},m=(e="",t,n,r)=>{const o=e?.split(" ");let a="",s="",l="",c="",u="",d="am";if(o[2]&&o[2].length>0){const e=o[2].split("/");a=e[2]?`20${e[2]}`:n||"2020",s=e[0],l=e[1]}o.length>=4&&o[3].length>0&&(o[3].includes(":")?(c=o[3].split(":")[0],u=o[3].split(":")[1].slice(0,2),d=o[3].split(":")[1].slice(2,4)):(c=o[3].replace(/am|pm/i,""),u="00",d=o[3].match(/am|pm/)?.[0]||"")),"pm"===d&&"12"!==c&&(c=(parseInt(c,10)+12).toString());const f=new Date(`${a}/${s}/${l}, ${c}:${u}`),p=f.getTime(),m=(new Date).getTime(),h=Math.floor((m-p)/1e3);let g="",v=Math.floor(h/31536e3);if(v>=1?g="year":(v=Math.floor(h/2592e3),v>=1?g="month":(v=Math.floor(h/86400),v>=1?g="day":(v=Math.floor(h/3600),v>=1?g="hour":(v=Math.floor(h/60),v>=1?g="minute":(v=h,g=v>0?"second":"Just now"))))),(v>1||0===v)&&(g+="s"),!v)return"";if("datetime"===t)return f.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"});if("UTC"===t)return r?i().tz(`${a}-${s}-${l}T${c}:${u}:00`,"America/New_York").utc().format("YYYY-MM-DDTHH:mm:ssZ"):`${a}-${s}-${l}T${c}:${u}:00Z`;if("fulldate"===t)return f.toLocaleDateString("en-US",{day:"2-digit",hour:"numeric",minute:"2-digit"}).substr(4)+", "+f.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});const b=["Just now","second","seconds","minute","minutes","hour","hours"];return"aptime"===t&&-1===b.indexOf(g)?(e=>{const t=["Jan.","Feb.","Aug.","Sept.","Oct.","Nov.","Dec."],n=[1,2,8,9,10,11,12].indexOf(parseInt(e.toLocaleDateString("en-US",{month:"numeric"}),10));return n>-1?`${t[n]} ${e.toLocaleDateString("en-US",{day:"numeric"})}, ${e.toLocaleDateString("en-US",{year:"numeric"})}`:e.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})(f):"aptime-liveblog"===t&&(-1===b.indexOf(g)||["hour","hours"].indexOf(g)>-1&&(y=f,Math.abs((new Date).getTime()-y.getTime())>432e5))?(e=>{const t=["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."][e.getMonth()];return`${e.toLocaleDateString("en-US",{month:"short"}).replace(/[^ ]+/,t)} ${e.toLocaleDateString("en-US",{day:"numeric"})}, ${e.toLocaleTimeString("en-US",{hour:"numeric",minute:"numeric",hour12:!0}).replace("AM","a.m.").replace("PM","p.m.")} ET`})(f):`${v>0?v:""} ${g} ${"Just now"===g?"":"ago"}`;var y},h=(e,t)=>{if(!e)return"";const n=["January","February","March","April","May","June","July","August","September","October","November","December"][("string"==typeof e?new Date(e):e).getMonth()],r=["March","April","June","July","May"].includes(n),o=i().utc(e),a=r?"MMMM":"MMM",s=r?"":".";let l=i().tz(o,"America/New_York").format(t||`${a}${s} D, YYYY[,] h:mm a`).replace("am","a.m.").replace("pm","p.m.");return"September"===n&&(l=l.replace("Sep.","Sept.")),l},g=e=>i()(e).format("[// Timestamp] MM/DD/YY hh:mma"),v=e=>new Date(`${e}T00:00:00`).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})},48906:function(e,t,n){"use strict";n.d(t,{a6:function(){return c},pW:function(){return h},sF:function(){return g},y7:function(){return v}});var r=n(97293);function i(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s={[r.Kx.HP_TEXT_LINK]:{position:"text_link",position_type:"text_link_text_link"},[r.Kx.HP_LEADER_1]:{position:"leader",position_type:"leader_homepage"},[r.Kx.HP_LEADER_2]:{position:"leader",position_type:"leader_2_homepage"},[r.Kx.HP_LEADER_3]:{position:"leader",position_type:"leader_3_homepage"},[r.Kx.HP_LEADER_4]:{position:"leader",position_type:"leader_4_homepage"},[r.Kx.HP_PREMIUM]:{position:"mrec",position_type:"mrec_homepage"},[r.Kx.HP_RAIL_1]:{position:"rail",position_type:"rail_2_homepage"},[r.Kx.HP_RAIL_2]:{position:"rail",position_type:"rail_2_homepage"},[r.Kx.HP_RAIL_3]:{position:"rail",position_type:"rail_3_homepage"},[r.Kx.HP_ADHESION]:{position:"adhesion",position_type:"adhesion_homepage"},[r.Kx.ARTICLE_TOP_BANNER_MASTHEAD]:{position:"slider",position_type:"slider_article"},[r.Kx.ARTICLE_TOP_LEADERBOARD]:{position:"slider",position_type:"slider_article"},[r.Kx.ARTICLE_RIGHT_RAIL_STICKY]:{position:"mrec",position_type:"mrec_article"},[r.Kx.ARTICLE_RIGHT_RAIL_STICKY_LIVEBLOG]:{position:"mrec",position_type:"mrec_article"},[r.Kx.ARTICLE_RIGHT_RAIL_STICKY_2]:{position:"rail",position_type:"rail_article"},[r.Kx.ARTICLE_RIGHT_RAIL_3]:{position:"rail",position_type:"rail_article_3"},[r.Kx.ARTICLE_RIGHT_RAIL_BOTTOM_STICKY]:{position:"rail",position_type:"rail_2_article"},[r.Kx.GALLERY_MREC]:{position:"rail",position_type:"rail_2_article"},[r.Kx.ARTICLE_CUBE]:{position:"mrec",position_type:"mrec_article"},[r.Kx.ARTICLE_LIVEBLOG_INLINE]:{position:"mrec",position_type:"mrec_article"},[r.Kx.ARTICLE_ANCHOR]:{position:"adhesion",position_type:"slider"},[r.Kx.SECTION_TOP_BANNER]:{position:"slider",position_type:"slider_section"},[r.Kx.NEW_SPORTS_MASTHEAD]:{position:"slider",position_type:"slider_section"},[r.Kx.NEW_SPORTS_LEFT_RAIL]:{position:"rail",position_type:"rail_section"}
2,[r.Kx.NEW_SPORTS_INLINE]:{position:"leader",position_type:"leader_btf_section"},[r.Kx.SECTION_LEADER]:{position:"leader",position_type:"leader_btf_section"},[r.Kx.SECTION_LEADER_2]:{position:"leader",position_type:"leader_2_section"},[r.Kx.SECTION_LEADER_3]:{position:"leader",position_type:"leader_3_section"},[r.Kx.SECTION_MREC]:{position:"mrec",position_type:"mrec_section"},[r.Kx.SECTION_RAIL]:{position:"rail",position_type:"rail_2_section"},[r.Kx.SECTION_RAIL_2]:{position:"rail",position_type:"rail_3_section"},[r.Kx.SECTION_ADHESION]:{position:"adhesion",position_type:"slider"},[r.Kx.SPORTS_ADHESION]:{position:"adhesion",position_type:"slider"},[r.Kx.GAMEDAY_ADHESION]:{position:"adhesion",position_type:"slider"},[r.Kx.GAMEDAY_RAIL_1]:{position:"rail",position_type:"rail"},[r.Kx.GAMEDAY_RAIL_2]:{position:"rail",position_type:"rail"},[r.Kx.GAMEDAY_LEADER]:{position:"leader",position_type:"leader_btf"},[r.Kx.GAMEDAY_LEADER_BTF]:{position:"leader",position_type:"leader_btf"},[r.Kx.NATIVE]:{position:"native",position_type:"native"},[r.Kx.EAGLES_ADHESION]:{position:"adhesion",position_type:"slider"},[r.Kx.PHILLY_BEST_ADHESION]:{position:"adhesion",position_type:"slider"},[r.Kx.HP_TOP_BANNER]:{position:"slider",position_type:"slider_homepage"},[r.Kx.STORYSTACK_TOP_BANNER]:{position:"slider",position_type:"slider_section"},[r.Kx.EAGLES_TOP_BANNER]:{position:"slider",position_type:"slider_section"},[r.Kx.PHILLY_BEST_TOP_BANNER]:{position:"slider",position_type:"slider_section"},[r.Kx.PHILLY_FIRST_TOP_BANNER]:{position:"slider",position_type:"slider"},[r.Kx.PHILLY_FIRST_TOPIC_TOP_BANNER]:{position:"slider",position_type:"slider"},[r.Kx.PHILLY_FIRST_TOP_BANNER_ARTICLE]:{position:"slider",position_type:"slider"}},l=new Set([r.Kx.ARTICLE_CUBE,r.Kx.ARTICLE_LIVEBLOG_INLINE]),c=(e,t)=>t&&l.has(e)?(e=>{const t=`mrec_2${e}`;return{position:t,position_type:`${t}_article`}})(t):s[e]||null,u=(e,t)=>{const n=`inquirer-com_${t}`;return Object.fromEntries(e.map(e=>[e,{placementName:n,slotId:n}]))},d=o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o(o({},u([r.Kx.HP_TOP_BANNER,r.Kx.SECTION_TOP_BANNER,r.Kx.NEW_SPORTS_MASTHEAD,r.Kx.EAGLES_TOP_BANNER,r.Kx.PHILLY_BEST_TOP_BANNER,r.Kx.ARTICLE_TOP_BANNER_MASTHEAD,r.Kx.STORYSTACK_TOP_BANNER,r.Kx.PHILLY_FIRST_TOP_BANNER,r.Kx.PHILLY_FIRST_TOPIC_TOP_BANNER,r.Kx.PHILLY_FIRST_TOP_BANNER_ARTICLE],"top_banner")),u([r.Kx.GAMEDAY_TOP_BANNER],"gameday_top_banner")),u([r.Kx.ARTICLE_TOP_LEADERBOARD,r.Kx.ARTICLE_LIVEBLOG_SPONSORED],"article")),u([r.Kx.HP_LEADER_1,r.Kx.SECTION_LEADER,r.Kx.SECTION_LEADER_PREMIUM,r.Kx.NEW_SPORTS_INLINE,r.Kx.PHILLY_BEST_LEADER_1,r.Kx.FOOD_LEADER_1,r.Kx.EAGLES_LEADER_1],"leader_1")),u([r.Kx.GAMEDAY_LEADER],"gameday_leader_1")),u([r.Kx.HP_LEADER_2,r.Kx.SECTION_LEADER_2,r.Kx.SECTION_LEADER_2_PREMIUM,r.Kx.PHILLY_BEST_LEADER_2,r.Kx.FOOD_LEADER_2,r.Kx.EAGLES_LEADER_2],"leader_2")),u([r.Kx.HP_LEADER_3,r.Kx.SECTION_LEADER_3,r.Kx.SECTION_LEADER_3_PREMIUM],"leader_3")),u([r.Kx.HP_LEADER_4,r.Kx.RESTAURANT_LEADER],"leader")),u([r.Kx.GAMEDAY_LEADER_BTF,r.Kx.PHILLY_FIRST_LEADER,r.Kx.PHILLY_FIRST_TOPIC_LEADER],"leader_btf")),u([r.Kx.EAGLES_INLINE],"inline_1")),u([r.Kx.GAMEDAY_INLINE_1],"gameday_inline_1")),u([r.Kx.GAMEDAY_INLINE_2],"gameday_inline_2")),u([r.Kx.GAMEDAY_INLINE_3],"gameday_inline_3")),u([r.Kx.GAMEDAY_LOGO],"gameday_logo")),u([r.Kx.SPONSOR_LOGO],"logo")),u([r.Kx.HP_PREMIUM,r.Kx.HP_RAIL_1,r.Kx.SECTION_MREC,r.Kx.TOPIC_MREC,r.Kx.PHILLY_BEST_RAIL_1,r.Kx.RESTAURANT_RAIL_1,r.Kx.FOOD_RIGHT_RAIL_1,r.Kx.RIGHT_RAIL_STICKY],"right_rail_1")),u([r.Kx.HP_RAIL_2,r.Kx.SECTION_RAIL,r.Kx.TOPIC_RAIL,r.Kx.PHILLY_BEST_RAIL_2,r.Kx.FOOD_RIGHT_RAIL_2,r.Kx.RESTAURANT_RAIL_2],"right_rail_2")),u([r.Kx.HP_RAIL_3,r.Kx.SECTION_RAIL_2,r.Kx.ARTICLE_RIGHT_RAIL_3],"right_rail_3")),u([r.Kx.NEW_SPORTS_LEFT_RAIL],"left_rail_1")),u([r.Kx.GAMEDAY_RAIL_1],"gameday_right_rail_1")),u([r.Kx.GAMEDAY_RAIL_2],"gameday_right_rail_2")),u([r.Kx.PHILLY_FIRST_RIGHT_RAIL_LANDING,r.Kx.PHILLY_FIRST_TOPIC_RIGHT_RAIL,r.Kx.PHILLY_FIRST_RIGHT_RAIL_ARTICLE],"philly_first_right_1")),u([r.Kx.ARTICLE_RIGHT_RAIL_STICKY,r.Kx.ARTICLE_RIGHT_RAIL_STICKY_LIVEBLOG,r.Kx.EAGLES_RAIL],"right_1")),u([r.Kx.ARTICLE_RIGHT_RAIL_STICKY_2,r.Kx.EAGLES_RAIL_2],"right_rail_2")),u([r.Kx.GALLERY_MREC,r.Kx.ARTICLE_RIGHT_RAIL_BOTTOM_STICKY],"feed_right_1")),u([r.Kx.HP_ADHESION,r.Kx.SECTION_ADHESION,r.Kx.SPORTS_ADHESION,r.Kx.GAMEDAY_ADHESION,r.Kx.EAGLES_ADHESION,r.Kx.PHILLY_BEST_ADHESION,r.Kx.SECTION_ANCHOR,r.Kx.ARTICLE_ANCHOR],"adhesion")),u([r.Kx.HP_TEXT_LINK],"textlink")),f="inquirer-com_leader_1_premium",p=new Set(["inquirer-com_textlink","inquirer-com_native_mw_1","inquirer-com_native_mw_2"]),m=e=>{const t=e.match(/^inquirer-com_leader_(\d+)$/);if(t){const e=Number(t[1]);return{placementName:f,slotId:e>1?`${f}_${e}`:f}}if(p.has(e)){const t=`${e}_premium`;return{placementName:t,slotId:t}}return null},h=(e,t,n,i=!1)=>
2{if(e===r.Kx.ARTICLE_CUBE){const e="number"==typeof t?t:0;if(!e)return null;if(e<=9){const t=`inquirer-com_inline_${e}`;return{placementName:t,slotId:t}}return{placementName:"inquirer-com_inline_1",slotId:`inquirer-com_inline_${e}`}}if(e===r.Kx.ARTICLE_LIVEBLOG_INLINE){if(!t)return null;const e=`inquirer-com_sports-live_sub_inline_${t}`;return{placementName:e,slotId:e}}if(e===r.Kx.NATIVE){if(!n)return null;const e=`inquirer-com_native_mw_${n}`;return i?m(e):{placementName:e,slotId:e}}if(e===r.Kx.STORYSTACK_LEADER){if(!t)return null;if(t<=3){const e=`inquirer-com_leader_${t}`;return{placementName:e,slotId:e}}return{placementName:"inquirer-com_leader_1",slotId:`inquirer-com_leader_${t}`}}const o=d[e];return o?i?m(o.placementName):o:null},g=Object.keys(d).filter(e=>"inquirer-com_adhesion"===d[e].placementName),v=[r.Kx.HP_ADHESION,r.Kx.SECTION_ADHESION]},6607:function(e,t,n){"use strict";n.d(t,{EL:function(){return c},K:function(){return s},_D:function(){return l},fK:function(){return a},n_:function(){return o},sp:function(){return u},uO:function(){return d}});var r=n(48760),i=(n(987),n(50903));const o=e=>!(!e||0===Object.keys(e).length)&&"front"===new r.P(e).type,a=e=>(e||[]).filter(e=>e._id!==i.k9).map(e=>({key:e._id||"",title:e.site?.site_title||""})),s=e=>(e||[]).map(e=>({key:e?.url||e?._id||"",title:e?.display_name||e.site?.site_title||""})),l=()=>(window?.location?.pathname?.replace(/[^A-Z0-9]+/gi," ").trim()||"").replace(/^topic\s+/,"").replace(/\b\w/g,e=>e.toUpperCase()),c=(e="")=>"topic"===e,u=(e=300)=>new Promise(t=>{const n=window?.setInterval(()=>{const e=window?.services?.loginService?.user;e&&(clearInterval(n),t(e))},e)}),d=(e,t=300)=>{let n=!1;const r=window?.setInterval(()=>{if(n)return void clearInterval(r);const t=window?.services?.loginService?.user;t&&(clearInterval(r),e(t))},t);return()=>{n=!0,clearInterval(r)}}},84675:function(e,t,n){"use strict";n.d(t,{GU:function(){return m},TK:function(){return g},Uo:function(){return f},WT:function(){return d},cF:function(){return p},ff:function(){return u},sp:function(){return h},vD:function(){return y},xC:function(){return w}});var r=n(40809),i=n(73709),o=n(3806),a=n(71530),s=n(65902);const l="regional_new_jersey",c="personalized/user-preferences",u="pmn_regional_optin_pending",d="newsletter",f="pmn_regional_welcome_pending",p="pmn:regional-removed",m="pmn:regional-welcome",h="south-jersey",g=[h],v=({gatewayUrl:e,region:t,optIn:n,sourcePlacement:r,geoSignal:i})=>e?fetch(`${e}${c}`,{method:"PUT",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({regional:{region:t,optIn:n,sourcePlacement:r,geoSignal:i}})}).then(e=>{if(!e.ok)throw new Error(`Regional opt-in upsert failed: ${e.status}`)}):Promise.resolve(),b=e=>{e&&e.removeItem(u)},y=async({gatewayUrl:e,region:t=h,defaultGeoSignal:n=t,defaultSourcePlacement:r="login-loading",storage:i=("undefined"!=typeof window?window.sessionStorage:void 0),upsert:o=v})=>{const a=i?.getItem(u);if(!a)return{status:"none"};try{const s=JSON.parse(a)||{},l=g.includes(s.region)?s.region:t,c=s.geoSignal||n,u=s.sourcePlacement||r;return b(i),await o({gatewayUrl:e,region:l,optIn:!0,sourcePlacement:u,geoSignal:c}),u===d&&((e,t=("undefined"!=typeof window?window.sessionStorage:void 0))=>{t&&(t.setItem(f,e),"undefined"!=typeof window&&window.dispatchEvent(new Event(m)))})(l,i),{status:"applied",region:l}}catch{return b(i),{status:"failed"}}},w=({gatewayUrl:e,source:t,region:n=h,geoSignalFallback:d="south-jersey"})=>{const{user:f}=(0,r.useContext)(i.C),p=(0,o.F)(),[m,g]=(0,r.useState)(void 0);(0,r.useEffect)(()=>{"undefined"!=typeof window&&void 0===f&&p(e=>g(e))},[f,p]);const b=f??m,w=void 0===b,x=(0,r.useMemo)(()=>(b?.auth0Id?.length||0)>0,[b]),[_,C]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if("undefined"==typeof window||!x)return;let r=!0;return(async()=>{const i=await y({gatewayUrl:e,region:n,defaultGeoSignal:d,defaultSourcePlacement:t});if("none"!==i.status)return void(r&&C("applied"===i.status&&i.region===n));const o=await(async({gatewayUrl:e})=>
2{if(!e)return[];try{const t=await fetch(`${e}${c}`,{credentials:"include"});if(!t.ok)return[];const n=await t.json();return Array.isArray(n?.regional)?n.regional:[]}catch{return[]}})({gatewayUrl:e}),a=o.find(e=>e.region===n);r&&C(!0===a?.optIn)})(),()=>{r=!1}},[x,e,n,t,d]);const j=(0,r.useCallback)(async()=>{const r=(0,a.Ri)("arc-geo")||d,i=t;if(!x){(0,s.T8)("login_to_add"),window.sessionStorage.setItem(u,JSON.stringify({region:n,geoSignal:r,sourcePlacement:i})),window.sessionStorage.setItem("source",l);const e=window.services?.loginService?.onLoginClick;return void(e&&e(void 0,{customLoginMethod:l}))}const o=!_;(0,s.T8)(o?"add_to_homepage":"remove_from_homepage"),await v({gatewayUrl:e,region:n,optIn:o,sourcePlacement:i,geoSignal:r}),C(o)},[x,_,t,n,d,e]);return{isLoading:w,loggedIn:x,isAdded:_,handleClick:j}}},15338:function(e,t,n){"use strict";n.d(t,{AK:function(){return o},AU:function(){return m},B1:function(){return S},Mt:function(){return k},U_:function(){return l},Uy:function(){return a},_:function(){return s},dV:function(){return O}});var r=n(97293),i=n(91411);const o=70,a=127,s=62,l=36,c={isMobile:!1,isDesktop:!1,scrollDirection:null,isPastAd:!1,hasWallpaperAd:!1,hasSubscriberBar:!1,mastheadAdHeight:0,wallpaperAdHeight:0,appBarBottom:0,subscriberBarBottom:0};let u=c,d=0;const f=new Set,p={adWallpaperBanner:null,adWallpaperBannerHeight:0,newSportsMastheadAd:null,newSportsMastheadAdHeight:0},m=()=>{if("undefined"==typeof document)return p;const e=document.querySelector(".ad-wallpaper"),t=e?.querySelector(".ccad-wallpaper-banner")||null,n=(0,r.Ke)(document.body);return{adWallpaperBanner:t,adWallpaperBannerHeight:t?.getBoundingClientRect().height||0,newSportsMastheadAd:n,newSportsMastheadAdHeight:n?.getBoundingClientRect().height||0}},h=e=>Array.from(document.querySelectorAll(e)).reduce((e,t)=>Math.max(e,t.getBoundingClientRect().bottom),0),g=()=>{const e=(()=>{if("undefined"==typeof window||"undefined"==typeof document)return c;const e=(0,i.fZ)(),t=(0,i.dm)(),{adWallpaperBannerHeight:n,newSportsMastheadAdHeight:r}=m(),l=window.scrollY,f=t?a:s,p=Math.max(n,r),g=p>0?p+f:o;let v=u.scrollDirection;return 0===l?v=null:l>d?v="down":l<d&&(v="up"),d=l,{isMobile:e,isDesktop:t,scrollDirection:v,isPastAd:l>=g,hasWallpaperAd:n>0,hasSubscriberBar:!!document.querySelector(".subscriber-bar"),mastheadAdHeight:r,wallpaperAdHeight:n,appBarBottom:h(".global-app-bar"),subscriberBarBottom:h(".subscriber-bar")}})();var t,n;n=e,((t=u).isMobile!==n.isMobile||t.isDesktop!==n.isDesktop||t.scrollDirection!==n.scrollDirection||t.isPastAd!==n.isPastAd||t.hasWallpaperAd!==n.hasWallpaperAd||t.hasSubscriberBar!==n.hasSubscriberBar||t.mastheadAdHeight!==n.mastheadAdHeight||t.wallpaperAdHeight!==n.wallpaperAdHeight||t.appBarBottom!==n.appBarBottom||t.subscriberBarBottom!==n.subscriberBarBottom)&&(u=e,f.forEach(e=>e()))};let v=!1;const b=()=>{v||"undefined"==typeof window||(v=!0,window.requestAnimationFrame(()=>{v=!1,g()}))};let y=!1,w=null,x=null,_=0,C=0;const j=()=>{y||"undefined"==typeof window||"undefined"==typeof document||(y=!0,window.addEventListener("scroll",b,{passive:!0}),window.addEventListener("resize",b),window.addEventListener("load",b),"undefined"!=typeof ResizeObserver&&(w=new ResizeObserver(b),(()=>{const e=w;if(!e)return;const{adWallpaperBanner:t,newSportsMastheadAd:n}=m();t&&e.observe(t),n&&e.observe(n),document.querySelectorAll(".global-app-bar").forEach(t=>e.observe(t))})()),"undefined"!=typeof MutationObserver&&(x=new MutationObserver(b),x.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]})),_=window.setInterval(b,500),C=window.setTimeout(()=>window.clearInterval(_),3e3),g())},S=e=>(f.add(e),1===f.size&&j(),()=>{f.delete(e),0===f.size&&y&&(y=!1,window.removeEventListener("scroll",b),window.removeEventListener("resize",b),window.removeEventListener("load",b),w&&(w.disconnect(),w=null),x&&(x.disconnect(),x=null),window.clearInterval(_),window.clearTimeout(C),u=c,d=0)}),O=()=>u,k=()=>c},20843:function(e,t,n){"use strict";n.d(t,{$_:function(){return o},AX:function(){return m},Gi:function(){return f},H:function(){return h},O_:function(){return l},SG:function(){return s},Vf:function(){return a},cI:function(){return c},j$:function(){return d},rD:function(){return u},td:function(){return p}});var r=n(43993),i=n(50903);const o=(e="fusion")=>{switch(r.ENV){case"local":case"dev":return`https://dev.${e}.inquirer.com`;case"sandbox":return`https://stage.${e}.inquirer.com`;default:return i.C1}},a=(e,t)=>{let n="";return t?n=new URL(`${o()}${t}`).search:"undefined"!=typeof window&&(n=window?.location?.search),new URLSearchParams(n)?.get(e)},s=()=>("undefined"!=typeof window?window?.location?.pathname?.slice(1):"")||"home",l=()=>"prod"===r.ENV,c=(e,t)=>""!==t&&void 0!==t&&e("pagetype")===t,u=e=>c(e,"homepage")||!1,d=e=>c(e,"sports")||!1,f=e=>c(e,"games-page")||!1,p=e=>c(e,"vertical-player-carousel")||!1,m=e=>{const t=[],n=e.indexOf("?"),r=(-1!==n?e.substring(n+1):e).split("&");for(let e=0;e<r.length;e++){const[n,i]=r[e].split("=");t[n]=i}return t},h=e=>`${o()}${e}`},91411:function(e,t,n){"use strict";n.d(t,{Bz:function(){return s},Hj:function(){return g},LW:function(){return o},Ol:function(){return h},P0:function(){return c},RI:function(){return f},Sr:function(){return m},VP:function(){return i},V_:function(){return p},dW:function(){return d},dm:function(){return u},fZ:function(){return l},kW:function(){return a}});var r=n(50903);const i=e=>null==e||0===e.length,o=e=>e.replace(/\W+/g," ").split(/ |\B(?=[A-Z])/).map(e=>e.toLowerCase()).join("_"),a=(e="")=>e.replace(/\W+/g," ").trim().split(/ |\B(?=[A-Z])/).map(e=>e.toLowerCase()).join("-"),s=(e="")=>{const t=e?.replace("/","")?.replace("-"," ")?.split(" ");return t.length>0?t.map(e=>`${e?.charAt(0)?.toUpperCase()}${e?.slice(1)}`).join(" "):e},l=()=>"undefined"!=typeof window&&window?.innerWidth<r.Oz,c=()=>"undefined"!=typeof window&&(window?.innerWidth>=r.Oz&&window?.innerWidth<=r.mu),u=()=>"undefined"!=typeof window&&window?.innerWidth>r.mu,d=()=>"undefined"!=typeof window&&window?.innerWidth<r.MG,f=e=>null==e||0===Object.keys(e).length,p=()=>1===window?.services?.loginService?.user?.hasAdsFreeReading||!1,m=e=>"true"===e("isPremium")||!1,h=(e,t)=>{try{return JSON.parse(e||"")}catch{return t}},g=e=>"app-web-view"===e},94713:function(e,t,n){"use strict";n.d(t,{R:function(){return a},z:function(){return r}});const r=Object.freeze({Low:"low",MediumLow:"med-low",Medium:"med",High:"high"}),i=(e,t)=>e.find(e=>e.key===t),o=(e,t)=>{let n=i(e,"src")?.value||"";"/pf/"===n.substring(0,4)&&(n=(e=>{if("undefined"==typeof window||!window.Fusion)return e;const t=e.indexOf("?")>-1;return`${e}${t?"&":"?"}d=${window.Fusion.deployment}`})(n));const r=document.querySelectorAll('script[src="'+n+'"]');let o=r.length>0;if("raw_html"===i(e,"data-type")?.value&&1===r.length&&(o=!1),!o){const r=document.createElement("script");n&&(r.src=n);e.filter(e=>
2-1===["src","data-type"].indexOf(e.key)).forEach(e=>{"innerHTML"===e.key?r.innerHTML=e.value:r.setAttribute(e.key,e.value)}),"function"==typeof t&&(r.onload=t),r.onerror=()=>{console.error("Script load with error",n)},document.body.appendChild(r)}},a=(e,t=r.Low,n)=>{if("undefined"!=typeof window){const i=()=>o(e,n);switch(t){case r.High:i();break;case r.Medium:window.addEventListener("load",()=>{i()});break;case r.MediumLow:window.addEventListener("load",()=>{setTimeout(()=>{i()},1e3)});break;default:window.addEventListener("load",()=>{setTimeout(()=>{i()},4e3)})}}}},987:function(e,t,n){"use strict";n.d(t,{Nz:function(){return _},O9:function(){return b},Si:function(){return S},UG:function(){return j},dr:function(){return h},pt:function(){return C}});var r=n(19852),i=n(77633),o=n(74041),a=n(45712),s=n(20843),l=n(65902),c=n(6607);function u(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p="No Value Set",m=e=>{const t=e?.primary_section?.additional_properties??e?.primary_site?.additional_properties??{};return t.original?.Analytics?.analytics_channel??""},h=(e,t,n,i)=>{const o=(0,r.Fs)(e);return d(d(d(d({},t&&{"data-feed-length":t}),n&&{"data-card-index":n}),i&&{"data-card-location":i}),{},{"data-feed-provenance":e?.provenance||"arc-taxonomy","data-card-type":o,"data-card-content-id":e?._id,"data-card-author":(a=e?.credits?.by,a?.map(e=>e?.additional_properties?.original?.byline||e?.byline||e?.name).join("|")),"data-card-content-title":e?.headlines?.basic,"data-card-content-section":m(e?.taxonomy)});var a},g=(e,t,n,r,i="front")=>{const o=e?.Analytics?.analytics_channel||p,a=e?.ancestors?.plans&&e?.ancestors?.plans[1]||o,s=e._id.split("/")||p,l=s.length>2?s[2]:s[1]||p,c=["topic","front"].includes(i)?e?.name:e?.newsletter_title;return{arc_environment:"fusion",sub_section:0===a.indexOf("/")?a.slice(1):a,sub_sub_section:l,sections:e?._id,section_primary:o,title:c||p,autoRefresh:!1,chain_layout:t,chartbeatDomain:"prod"!==n?"dev.philly.com":"inquirer.com",id:r||p,parselydomain:`${"prod"!==n?n:""}.philly.com`,content_type:i,content_subtype:p}}
2,v=(e="",t=p,n="",r="")=>{const i=window?.location?.pathname||"",o=""===t?p:t,a="custom"===o,s="author"===o,l="topic"===o,c=i.split("/").filter(e=>e);let u=p;c.length>0&&(l||s)&&(u=c[c.length-1]);return{arc_environment:"fusion",sub_section:u,sub_sub_section:s?p:u,sections:i,section_primary:a?p:o,title:e,chartbeatDomain:"prod"!==n?"dev.philly.com":"inquirer.com",id:r,parselydomain:`${"prod"!==n?n:""}.philly.com`,content_type:a?"admin":o,content_subtype:p}},b=()=>{const{content_type:e,section_primary:t,sub_section:n}=v("","games");return{section_is_sports:"false",article_length_label:p,section_primary:t,story_tags:p,sub_section:n,section_targets:"/games",content_type:e}},y=({globalProps:e,packageId:t,components:n,customPackageSection:r,customPackageLabel:o,customPackageType:a,customPackageIndex:s,customPackageLocation:l})=>{const{customFields:c,globalContent:u,type:d,metaValue:f}=e,p=l||(0,i.gw)(u,f),m=r||(0,i.yU)(d,c,n,t),h=s??(0,i.SV)(n,t),g=o||(0,i.ee)(e,n,h);return{package_section:m,package_type:a||(0,i.jj)(e,n,h),package_index:h,package_label:g,package_location:p,package_provenance:"arc-taxonomy"}},w=new Set,x=new Set,_=(e,t,n,r,i,o,a,s,l,c)=>{if(!t||!n||!Array.isArray(r)||w.has(n))return;const u="homepage"===e?.metaValue?.("pagetype")?.toLowerCase();new IntersectionObserver((t,o)=>{t.forEach(t=>{if(t.isIntersecting&&"undefined"!=typeof window&&!w.has(n)){const f=y({globalProps:e,packageId:n,components:r,customPackageSection:i,customPackageLabel:a,customPackageType:s,customPackageIndex:l,customPackageLocation:c}),m=f?.package_label;if(u&&(x.has(m)||m===p))return;window.PMNdataLayer.push(d({event:"package_view"},f)),w.add(n),x.add(m),o.unobserve(t.target)}})},{threshold:o||.2}).observe(t)},C=(e,t,n,r,i,o,a,s,l)=>{if(!t||!Array.isArray(n)||!r||"undefined"==typeof window)return;const c=y({globalProps:e,packageId:t,components:n,customPackageSection:i,customPackageLabel:o,customPackageType:a,customPackageIndex:s,customPackageLocation:l});window.PMNdataLayer.push(d(d({event:"package_click"},c),{},{click_url:r}))},j=({globalProps:e,packageElement:t,packageId:n,components:r})=>{const i=[],o=new MutationObserver(o=>{let a="",l=[];if(o.forEach(e=>{"childList"===e.type&&e.addedNodes.forEach(e=>{if(e instanceof HTMLElement){const t=e.getElementsByClassName("type-section-header-2")?.[0]?.textContent?.trim()||"",n=[...e.getElementsByClassName("inq-card-wrapper")];t&&(a=t),n?.length>0&&(l=[...l,...n])}})}),!a)return;_(e,t,n,r,void 0,void 0,a);const c=(({globalProps:e,packageId:t,components:n,customPackageSection:r,customPackageLabel:i,packageCards:o})=>{const a=[],l=(0,s.$_)();return o.forEach(o=>{const s=[...o.querySelectorAll("a[href]")],c=new URL(s?.[0]?.href||"",l),u=c?.pathname||"";if(!u)return;const{package_location:d,package_label:f}=y({globalProps:e,packageId:t,components:n,customPackageSection:r,customPackageLabel:i});s.forEach(e=>{const t=`${d?.toLowerCase()}-${f?.toLowerCase()?.replace(/\s/g,"-")}`;e.setAttribute("data-link-type",t)});const p=()=>{C(e,t,n,u,r,i)};o.addEventListener("click",p,{capture:!0}),a.push(()=>{o.removeEventListener("click",p,{capture:!0})})}),a})({globalProps:e,packageId:n,components:r,customPackageLabel:a,packageCards:l});i.push(...c)});return o.observe(t,{childList:!0,subtree:!0}),{observer:o,listOfRemoveEventListeners:i}},S=(e,t,n,r,i)=>{(0,s.cI)(e,"homepage")&&(0,l.OW)(((e,t,n)=>({arc_environment:"fusion",autoRefresh:!1,chain_layout:e,chartbeatDomain:"prod"!==t?"dev.philly.com":"inquirer.com",id:n,parselydomain:`${"prod"!==t?t:""}.philly.com`,section_primary:"homepage",title:"Homepage",content_type:"front",content_subtype:"No Value Set"}))(i,n,r)),(0,s.cI)(e,"section")&&(0,l.OW)(g(d({},t),i,n,r)),(0,s.j$)(e)&&(0,l.OW)(g(d(d({},t),{},{_id:"/sports",Analytics:{analytics_channel:"sports"},name:"Sports",ancestors:{plans:["/"]}}),i,n,r)),(0,s.cI)(e,"topic")&&(0,l.OW)(v((0,c._D)(),"topic",n,r)),(0,s.cI)(e,"newsletters")&&(0,l.OW)(v((0,c._D)(),"admin",n,r)),(0,s.cI)(e,"author")&&(0,l.OW)(v(t?.byline||(0,c._D)(),"author",n,r)),(0,s.cI)(e,"gameday-central")&&(0,l.OW)(((e,t,n,r)=>{const i=(window?.location?.pathname||"").split("/").filter(e=>e),o=i?.length>0?i[0]:"";return{arc_environment:"fusion",autoRefresh:!1,chain_layout:t,chartbeatDomain:"prod"!==n?"dev.philly.com":"inquirer.com",content_subtype:"subtype-gameday",content_type:"front",id:r,scrollUser:!1,section_primary:"sports",sections:`/${o}`,sub_section:o,sub_sub_section:o,title:e}})(((e,t)=>{const{phillyTeam:n,otherTeam:r}=(0,o.RI)(t),i=e?.find(e=>"UTC"===e?.dateType),s=i&&i.full?(l=new Date(i.full),`${(0,a.jB)(l,!0)} ${l.getDate()}, ${l.getFullYear()}`):"";var l;return`${(0,o.nZ)(n)} vs. ${(0,o.nZ)(r)} - Live Updates - ${s}`})(t?.startDate||"",t?.teams||[]),i,n,r)),(0,s.cI)(e,"newsletters-signup")&&(0,l.OW)(g(d({},t),i,n,r,"admin")),(0,s.cI)(e,"podcasts")&&(0,l.OW)(g(d(d({},t),{},{name:(0,c._D)()}),i,n,r,"topic")),(0,s.cI)(e,"custom")&&(0,l.OW)(v((0,c._D)(),"custom",n,r)),(0,s.Gi)(e)&&(0,l.OW)(v((0,c._D)(),"games",n,r))}},77633:function(e,t,n){"use strict";n.d(t,{$S:function(){return x},BS:function(){return _},Ej:function(){return O},Ji:function(){return L},Mt:function(){return P},SV:function(){return C},WL:function(){return I},Z:function(){return A},ee:function(){return k},gw:function(){return j},jj:function(){return E},so:function(){return v},u_:function(){return S},yU:function(){return N}});var r=n(94713),i=n(98473),o=n(44638),a=n(19852),s=n(65902),l=n(55826),c=n(6607),u=n(7715),d=n(52491),f=n(20843),p=n(45712),m=n(23268);const h=/<script\b[^>]*>([\s\S]*?)<\/script>/gm,g=/<script[^>]+src\s*=\s*['"]([^'"]+)['"][^>]*>/,v=e=>e===u.A.CALL_TO_ACTION,b=(e,t,n,o)=>{const a=o||"";n===e.length-1&&t.length>
20&&t.forEach(e=>{const t=h.exec(e)||[];t.length>0&&(0,r.R)([{key:"innerHTML",value:t[1]}],r.z.High)}),window?.instgrm&&a.indexOf("instagram.com")>-1&&window?.instgrm?.Embeds.process(),window?.FB&&a.indexOf("connect.facebook.net")>-1&&window?.FB?.XFBML?.parse(),a.indexOf("d3q1ytufopwvkq.cloudfront.net/1/formrenderer.js")>-1&&(()=>{const e=(0,i.o)("style",[]);e.innerText="\n    .fr_response_field label,\n    .fr_text.size_medium,\n    .fr_error,small,\n    .fr_bottom,\n    .fr_description {\n      font-size: 16px;\n      line-height: 1.75em;\n      font-weight: 400;\n    }\n    .fr_description {\n      font-style: italic;\n    }\n    .fr_response_field h3 {\n      font-size: 20px;\n      line-height: 2rem;\n    }\n    .fr_response_field label {\n      padding-bottom: 8px;\n    }\n    .fr_response_field input {\n      box-sizing: border-box;\n    }\n    .fr_response_field textarea,\n    .fr_response_field input[type=\"text\"],\n    .fr_response_field select {\n      font-size: 16px;\n      padding-top: 12px;\n      padding-bottom: 12px;\n      padding-left: 18px;\n      padding-right: 18px;\n      transition: box-shadow .25s ease;\n      border: 1px solid #dcdcdc;\n      border-radius: 3px;\n      font-family: \"Ringside Regular SSm\",\"Verdana\",sans-serif;\n      font-weight: 400;\n      line-height: 1.4rem;\n      width: 100%;\n    }\n    .fr_response_field textarea:focus,\n    .fr_response_field input:focus,\n    .fr_response_field select:focus {\n      padding-top: 11px;\n      padding-bottom: 11px;\n      padding-left: 17px;\n      padding-right: 17px;\n      border-color: #1a6aff;\n      border-width: 2px;\n      outline: none;\n    }\n    .fr_response_field select {\n      -webkit-appearance: none;\n      -moz-appearance: none;\n      appearance: none;\n      border: 1px solid #222222;\n      padding-right: 48px;\n      position: relative;\n      background: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24px' height='24px' viewBox='0 0 24 24' version='1.1'%3E%3Ctitle%3EDown Arrow%3C/title%3E%3Cpolygon points='7.41 8.59 12 13.17 16.59 8.59 18 10 12 16 6 10'%3E%3C/polygon%3E%3C/svg%3E\") no-repeat right #fff;\n      background-position-x: 98%;\n    }\n    .fr_response_field input[type=\"radio\"] {\n      appearance: radio;\n      margin: 3px 3px 5px 5px;\n    }\n    .fr_response_field input[type=\"checkbox\"] {\n      appearance: checkbox;\n      margin: 3px 3px 5px 4px;\n    }\n  ",document.body.appendChild(e)})()},y=e=>{(0,r.R)([{key:"innerHTML",value:e}],r.z.High)},w=(e,t,n)=>{const r=setInterval(()=>{(0,o.W)(e,"")&&(t(),clearInterval(r))},n)},x=(e,t=!1,n)=>{const i=e?.match(h)||[];if(i?.length){const e=i.filter(e=>g.test(e)),o=i.filter(e=>!g.test(e));e?.length&&e.forEach((t,n)=>{const i=(g?.exec(t)||[])[1].replace(/https:|http:/g,"");(0,r.R)([{key:"src",value:i},{key:"data-type",value:"raw_html"}],r.z.High,()=>b(e,o,n,i))}),0===e.length&&o.length>0&&o.forEach(e=>{const r=/<script\b[^>]*>([\s\S]*?)<\/script>/gm.exec(e)||[],i=r[1];!e.includes("document.write")&&r.length>0&&(t&&i.indexOf("PMNdataLayer")>-1&&!n?w("PMNdataLayer.0.analytics",()=>y(i),500):t&&i.indexOf("loginService")>-1&&!n?w("services.loginService",()=>y(i),500):y(i))})}e.indexOf("youtube.com")>-1&&(0,r.R)([{key:"src",value:"/pf/resources/vendor/video-watch-time.js"}],r.z.High)},_=e=>({"data-link-type":`hp-header-${e.toLowerCase().replace(/\s/g,"_")}`}),C=(e,t)=>{const n=e.findIndex(e=>e.props.id===t||(e?.children??[]).map(e=>e?.props?.id).indexOf(t)>-1);if(!n)return 1;const r=e.slice(0,n).reduce((e,t)=>{const n=t?.props.customFields?.numberFeaturesOnFirstColumn;return e+(n&&n>1?n-1:0)},0),i=e[n],o=i?.props?.customFields?.numberFeaturesOnFirstColumn,a=n+1+r;if(o&&o>1){return a+(i?.children??[]).map(e=>e?.props?.id).indexOf(t)}return a},j=(e,t)=>e||t?(0,c.n_)(e)?"section-front":t?.("pagetype")||"":"",S=e=>e?.findIndex(e=>(e?.children??[]).length>0)||0,O=(e,t)=>{const n=S(e);return e?.[n]?.props?.id===t},k=(e,t,n)=>{const{type:r,collection:i,customFields:a,id:s}=e||{},c="chains"===i,u=O(t,s),d=(0,o.vt)(s,t||[]);let f="";return c&&(f=u?"topper":a?.chainLabel||""),!r?.includes("packages")&&r!==l.o8&&r!==l.kT||c||(f=a?.packageLabel||""),r===l.Bc&&d&&(f="topper"),r===l.ym&&d&&(f=a?.headlinesTitle||""),!f&&n&&(f=t?.[n-1]?.props?.customFields?.chainLabel||""),f||"No Value Set"},E=(e,t,n)=>{const r=e?.type?.replace("/","-")||"No Value Set";if(!e?.metaValue)return r;if((0,f.cI)(e?.metaValue,"section")&&"/food"===e?.globalContent?._id||(0,f.rD)(e?.metaValue)){const i=O(t,e?.id),a=(0,o.vt)(e?.id,t||[]),s=n?n-1:0;return(i||a)&&t?.[s]?.type||r}return r},L=(e,t,n,r)=>{if(t){const i=j(e?.globalContent,e?.metaValue),a=C(t,e.id);let l="";if(r?l=r:"section-feed"===e?.customFields?.source?l=e.customFields.includeSections:"collections-api"===e?.customFields?.source&&(l=e.customFields.collectionId),a&&!(0,o.H7)(e.id,t)){const r=k(e);return{"data-card-location":i,"data-hp-package-type":e.type?e.type.replace("/","-"):"","data-hp-all-packages-layout":n||(0,s.G4)(t),"data-hp-package-section":l||"No Value Set","data-hp-package-label":r,"data-hp-package-index":a}}}return{}},P=(e,t,n,r)=>(0,a.sK)(e,!0,t)||(0,a.zT)(e,n)||(e=>(0,a.Gl)(e,l.UF))(r),N=(e,t,n,r)=>{const i=(0,o.vt)(r,n||[]);if(e===l.o8||e===l.kT)return"html-box";if(O(n,r)&&e!==l.k8||i&&[l.Bc,l.ym].includes(e))return"topper";switch(t?.source){case l.XF:return t.includeSections??"";case l.w4:return t.collectionId??"";case l.Oe:return t.tagFeedSlug??"";default:return""}},A=(e,t)=>
2{if(!(e&&t?.length>0&&(0,o.ad)(e.type)))return"";const n=t.map(e=>({"@type":"Article",headline:(0,d.z)(e.headlines.basic),url:`${(0,f.$_)()}${e.canonical_url}`,datePublished:(0,p.qF)(e.first_publish_date)}));return n.length?JSON.stringify({"@context":"https://schema.org","@type":"ProfilePage",dateModified:(0,p.qF)(e.last_updated_date),mainEntity:{"@type":"Person",name:(0,d.z)(e.byline),description:(0,d.X)(e.bio),image:e.image.url},hasPart:n}):""},I=(e,t)=>{const n=((e,t)=>{const{display:n,url:r,text:i}=e?.[t]||{};return n?(0,m.mv)(r)?r:(0,m.mv)(i)?i:"":""})(e?.label,"icon"),r="none"===(e?.label?.icon?.text||"").toLowerCase(),{section_icon:i}=t?.site||{};return r?"":n||i}},49036:function(e,t,n){"use strict";n.d(t,{FQ:function(){return m},Ru:function(){return g},Yf:function(){return h}});var r=n(40809),i=n(4321),o=n(14375),a=n(72380),s=n.n(a),l=n(44638),c=n(55826),u=n(34766);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m=({chainLabel:e,href:t,hrefClass:n,chainClass:o,analytics:a})=>{const{metaValue:l}=(0,i.useAppContext)(),c=(0,r.useMemo)(()=>"true"===l("useISportsLogo")&&"sports"===e?.toLowerCase(),[l,e]),d=(0,r.useMemo)(()=>"true"===l("isFoodAppbar"),[l]);return e?t?(0,u.jsx)("a",f(f({href:t},a),{},{className:`${c?"flex text-black":`pointer no-underline font-semibold ${n}`} ${d?"text-xl sm:text-xxl":""}`,children:c?(0,u.jsx)(s(),{}):e})):(0,u.jsx)("div",{className:`${c?"flex text-black":`font-semibold ${o}`} ${d?"text-xl sm:text-xxl":""}`,children:c?(0,u.jsx)(s(),{}):e}):null},h=({linkLabel:e,href:t,wrapperClass:n,hrefClass:r,dataLinkType:i="hp-more"})=>e&&t?(0,u.jsx)("div",{className:`${n}`,children:(0,u.jsx)("a",{href:t,"data-link-type":i,className:`pointer no-underline more-link font-extrabold\n        bg-[url(/pf/resources/images/rightArrow.svg)] bg-[length:16px] bg-no-repeat bg-right-center pr-5 ${r}`,children:e})}):null,g=(e,t=!1,n=0,r=!1,i="")=>{let a=0,s=[];const{source:u,canonicalUrl:d,collectionId:p,collectionSize:m=c.lC,collectionOffset:h=c.Nt,tagFeedSlug:g,tagFeedSize:v=c.lC,tagFeedOffset:b=c.Nt,tagFeedOrder:y=c.YP,includeSections:w,excludeSections:x=c.Xd,feedSize:_=c.lC,feedOffset:C=c.Nt,order:j=c.YP}=e,S=f(f({},t&&"tag-feed"!==u&&{numberOfRelatedLinks:n}),"content-api"!==u&&{includePartnerContent:r}),O=f({},t&&{filter:i||""}),k={"content-api":f({source:c.nF,query:f({canonical_url:(0,l.SS)(d||"")},S)},O),"collections-api":f({source:t?c.P4:c.w4,query:f({id:p,size:m,offset:h},S)},O),"section-feed":{source:t?c.Cl:c.XF,query:f({includeSections:w,excludeSections:x,feedSize:_,feedOffset:C,order:j},S)},"tag-feed":{source:c.Oe,query:f({tagSlug:g,feedSize:v,feedOffset:b,order:y},S)},"topic-feed":{source:c.vv,query:f({tag:g,limit:_,offset:C,order:j},S)}},E=(0,o.useContent)(k[u]);switch(u){case"content-api":s=E?[E]:s;break;case"collections-api":s=Object.values(E||{});break;case"topic-feed":s=E?.contentElements?[...E.contentElements]:[],a=E?.count;break;case"section-feed":case"tag-feed":s=E?.content_elements?[...E.content_elements]:[],a=E?.count}return{count:a,stories:s}}},55826:function(e,t,n){"use strict";n.d(t,{AP:function(){return x},BF:function(){return s},Bc:function(){return C},Cl:function(){return m},DH:function(){return O},Hu:function(){return _},Jt:function(){return S},Nt:function(){return c},Oe:function(){return o},P4:function(){return d},UF:function(){return v},WO:function(){return E},XF:function(){return f},Xd:function(){return h},YP:function(){return a},a4:function(){return P},jm:function(){return L},k8:function(){return k},kT:function(){return w},lC:function(){return l},lj:function(){return b},nF:function(){return i},o8:function(){return y},rl:function(){return g},vv:function(){return p},w4:function(){return u},ym:function(){return j}});var r=n(20843);const i="content-api-v2",o="tag-feed",a="first_publish_date:desc",s="/news,/sports,/politics,/business,/health,/entertainment,/food,/real-estate,/opinion",l=5,c=0,u="collections-api",d="collections-api-v2",f="section-feed",p="topic-feed",m="section-feed-v2",h="/zzz-systest",g="PMN_p3pp3r-#216",v="restaurant-maps",b="food-front-chain",y="global/HTMLBox",w="global/OurWriters",x="sports-front-chain",_="sports-front-chain-ab-test",C="global/StoryCardV2",j="global/HeadlineListV2",S=20,O={leftLabel:"Newer",rightLabel:"Older"},k="packages/WeekendPackage",E=`${(0,r.$_)()}/privacy-policy/`,L=`${(0,r.$_)()}/about/terms_and_conditions/`,P=/\/columnists$|^\/opinion(\/|$)|\/expert-opinions$/},4619:function(e,t,n){"use strict";n.d(t,{DN:function(){return o},M2:function(){return i},MK:function(){return d},QF:function(){return u},Xj:function(){return c},qK:function(){return f}});var r=n(43993);const i="prod"===r.ENV||"undefined"==typeof window||"prod"===window.FUSION_ENV_VARS?.env?"1cyuLkD_EYRz9bOArgPJP5Skq07x4OTklo0wTZotAciw":"1UIMvavb_GLxEOveRTzioYqUHUY4ZVGZltS748Cilc5E",o="Gameday",a=(e="")=>{if(!e||!/^\d{1,2}\/\d{1,2}\/\d{4} \d{1,2}:\d{2}(:\d{2})? (AM|PM)$/.test(e.trim()))return{datePart:"",timePart:""};const[t,...n]=e.split(" ");return{datePart:t,timePart:n.join(" ")}},s=(e,t)=>e&&t?new Date(`${e} ${(e=>{const[t,n]=e.split(" "),r=t.split(":"),i=r[1];let o=r[0];return"12"===o&&(o="00"),"PM"===n&&(o=(parseInt(o,10)+12).toString()),`${o}:${i}`})(t)}:00 UTC-5`).getTime():0,l=(e,t)=>
2{const n=(new Date).getTime(),r=e?.startTime||"",i=e?.endTime||"",o=a(r),l=a(i);return{currentTime:n,startTime:s(t?o.datePart:l.datePart,o.timePart),endTime:s(l.datePart,l.timePart)}},c=(e,t)=>{const n=l(e,t);return n.currentTime>=n.startTime&&n.currentTime<=n.endTime},u=(e,t,n)=>e?.find(e=>(e?.team||"").trim().toLowerCase()===t?.trim()?.toLowerCase()&&(e?.eventId||"").trim()===n?.toString()),d=(e,t,n,r,i)=>{const o=l(e,i);o.currentTime&&o.endTime&&o.currentTime>o.endTime&&!r&&(n(),clearInterval(t))},f=e=>{const{debug:t,debugUrl:n}=e?.find(e=>"config/SportsSettings"===e.type)?.props?.customFields||{};return{debug:t,debugUrl:n}}},44638:function(e,t,n){"use strict";n.d(t,{Bi:function(){return g},DU:function(){return b},H7:function(){return l},J1:function(){return f},LX:function(){return _},N7:function(){return y},NY:function(){return x},Nu:function(){return h},SS:function(){return u},W:function(){return c},Zf:function(){return v},ad:function(){return w},hn:function(){return d},mm:function(){return p},vt:function(){return m}});var r=n(55826),i=n(77633),o=n(91411),a=n(6607),s=n(50903);const l=(e,t)=>{const n=t.filter(e=>"chains"===e.collection);if(n.length){return n.findIndex(t=>t.children&&t.children.findIndex(t=>t.props.id===e)>-1)>-1}return!1},c=(e,t)=>e.split(".").reduce((e,n)=>e&&e[n]?e[n]:t||null,window),u=e=>{const t=e?.replace(/^.*\/\/[^/]+/,"");return"/"===t?.substr(0,1)?t:`/${t}`},d="undefined"!=typeof window&&["/philly-first","/pf/api/v3/render/"].some(e=>window?.location?.pathname.includes(e)),f=e=>""!==e?.youtube?.content,p=(e,t,n)=>-1!==t?.findIndex(t=>"chains"===t.collection&&t.children?.some(t=>t?.props?.id===e)&&t.type===n),m=(e,t=[])=>{const n=(0,i.u_)(t);return t?.[n]?.children?.some(t=>t?.props?.id===e)??!1},h=(e,t)=>{const n=t.find(t=>"chains"===t.collection&&t.children?.some(t=>t?.props?.id===e));if(!n)return 1;const r=n?.children||[];if(!n?.props?.customFields?.list)return 1;const{list:i,rightToLeft:o}=n?.props?.customFields||{},a=(o?[...r].reverse():r).findIndex(t=>t?.props?.id===e);return-1===a?1:i?.reduce(({currentIndex:e,percent:t},n)=>{if(null!==t)return{currentIndex:e,percent:t};const r=n?.match(/(\d+)%-(\d+)/);if(!r)return{currentIndex:e,percent:t};const i=Number(r[1])/100,o=Number(r[2]);return a<e+o?{currentIndex:e,percent:i}:{currentIndex:e+o,percent:t}},{currentIndex:0,percent:null}).percent||1},g=(e="")=>/^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/.test(e),v=(e,t)=>{if(!e)return"";const{collection:n,id:s,globalContent:l,metaValue:c,type:u}=e,d="features"===n&&m(s,t??[])&&!p(s,t,r.AP||r.Hu),f=(0,i.SV)(t,s),h=(0,i.ee)(e,t,f),g=h&&"No Value Set"!==h?h.toLowerCase():"",v=d&&u?`-${u}`:"",b=[(0,a.n_)(l)?"front":c?.("pagetype")||"",d?"topper":g];return(0,o.kW)(b.filter(Boolean).join(" "))+v},b=e=>e?`${s.IO}author-bio/${e}-blue.svg`:"",y=(e,t)=>{switch(e){case"email":return"mailto:"+t;case"twitter":return"https://twitter.com/"+t;case"instagram":return"https://instagram.com/"+t;case"linkedin":return"https://linkedin.com/in/"+t;case"bluesky":case"threads":return t;case"phone":return"tel:"+t;default:return""}},w=e=>"author"===e||!1,x=(e,{collectionId:t,includeSections:n,tagFeedSlug:i},o)=>{if(!o)return null;let a=null;switch(e){case r.w4:t&&(a=`collection-${t}`);break;case r.XF:if(n){const e=n.split(",")[0]?.trim().replace(/^\//,"");e&&(a=`section-${e}`)}break;case r.Oe:i&&(a=`tag-${i}`);break;default:a="default"}return`/vertical-player/${a}/${o}`},_=e=>(e?.taxonomy?.sections??[]).some(({_id:e})=>r.a4.test(e))},41041:function(e,t,n){"use strict";n.d(t,{AH:function(){return C},G$:function(){return g},HT:function(){return j},Iq:function(){return m},RX:function(){return O},Y1:function(){return E},Yx:function(){return _},ZH:function(){return b},Ze:function(){return h},cL:function(){return y},fk:function(){return d},h:function(){return v},lQ:function(){return k},mP:function(){return x},p_:function(){return S},rm:function(){return f},uC:function(){return w},v4:function(){return p}});var r=n(20843),i=n(45712),o=n(55826),a=n(65902),s=n(50903);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(n),!0).forEach(function(t){u(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}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d="https://media.inquirer.com/newsletters/v2/default.webp",f="https://media.inquirer.com/newsletters/v2/Mock-PhoneNewsletters-2024-default.webp",p=["js-cm-submit-button","inq-button-ds","font-grot10","leading-4","sm:leading-5","text-3.5","sm:text-4","text-white","px-4","lg:px-6","h-10","font-bold","flex","justify-center","items-center","rounded","box-border","focus:ring-4","transition-all","duration-300","ease-out","bg-blue-mid","hover:bg-blue-dark","focus:ring-blue-dark","cursor-pointer","whitespace-nowrap","disabled:bg-neutral-light-gray","disabled:text-neutral-mid-gray","disabled:cursor-default"].join(" "),m=e=>{window?.PMNdataLayer?.push({event:"interaction_event",interactionDetail:`${e[0].toUpperCase()}${e.slice(1)}`,interactionType:"newsletter_filter_tab_click"})},h=(e,t)=>{const n=e.reduce((e,t)=>((t?.categories||[]).forEach(n=>{e[n]||(e[n]=[]),e[n].push(t)}),e),{}),r={};return t.forEach(e=>{n[e]&&(r[e]=n[e])}),r},g=(e,t)=>t?e.filter(e=>e?.categories?.some(e=>e.toLowerCase().includes(t.toLowerCase()))):e,v=e=>e?(0,r.H)(e):"",b=(e,t)=>e&&e?.includes(t),y=async(e,t,n)=>{if(!e)return null;try{const r=await fetch(`${t}sailthru/rest/user/${e}${n?`?key=${n}`:""}`).then(e=>e.json()),i=await fetch(`${t}auth/subscriber?email=${encodeURIComponent(e?.includes("@")?e:r?.keys?.email)}`).then(e=>e.json());return{sid:r?.keys?.sid,email:r?.keys?.email,contactId:r?.vars?.contact_key,lists:Object.keys(r?.lists||{}),userPermissions:i?.userPermissions||{}}}catch(e){return null}},w=async(e,t)=>{if(!e)return null;try{return await fetch(`${t}salesforce/user-subscribed-newsletter?email=${e}`).then(e=>e.json())}catch(e){return null}},x=(e,t)=>e.filter(e=>t?.includes(e?.newsletter_sailthru_name)).map(e=>e?.newsletter_id),_=async({baseURL:e,contactId:t,referenceIds:n,isOptIn:r})=>t?fetch(`${e}salesforce/newsletter`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contactId:t,referenceIds:n,isOptIn:r})}).catch(e=>{console.error("Error updating newsletter",e)}):null,C=({sailthruList:e,email:t,baseURL:n,isOptIn:r,key:s="email",grecaptchaResponse:l,customFields:u})=>fetch(`${n}sailthru/rest/user`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c(c(c({id:t,key:s,lists:c({},e.reduce((e,t)=>(e[t]=r?1:0,e),{})),vars:c({source_tracking_attribution:[...e?.map(e=>({list_name:e,signup_date:(0,i.qF)(new Date),signupSource:(0,a.MS)(e),source_tracking_blueconic_id:null}))],source:(0,a.MS)(e?.[e.length-1]||"")},u)},!l&&{identifyKey:btoa(`${t}-${o.rl}`)}),l?{grecaptchaResponse:l}:{}),{},{recaptchaAction:"newsletter_modal_signup"}))}).catch(e=>{console.error("Error updating sailthru list",e)}),j=(e,t)=>e?.filter(e=>t?.includes(e?.newsletter_sailthru_name))||[],S=(e,t)=>{let n=(0,a.MS)(e);t&&(n=s.gc),window?.PMNdataLayer?.push({event:"newsletter_registration",signupSource:n,subscribedLists:e})},O=(e,t,n=!1,r=!1)=>{t&&!r&&S(e,n),window?.PMNdataLayer?.push({event:"interaction_event",userInteraction:t?"add_to_inbox":"remove_from_inbox",interactionType:"newsletter_filter_tab_click",subscribedLists:e})},k=e=>{window?.PMNdataLayer?.push({event:"interaction_event",userInteraction:e||"unsubscribe_from_all",interactionType:"click"})},E=(e,t,n)=>Array.isArray(n)?n?.includes(e.newsletter_sailthru_name)?c(c({},e),{},{isLoading:t}):e:e.newsletter_sailthru_name===n?c(c({},e),{},{isLoading:t}):e},74041:function(e,t,n){"use strict";n.d(t,{Io:function(){return y},JI:function(){return p},RI:function(){return h},W0:function(){return u},k_:function(){return d},lx:function(){return f},n8:function(){return g},nZ:function(){return m},uP:function(){return c}});var r=n(48705),i=n(72714);function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l={246:{nickname:"Phillies",league:"mlb",sport:"baseball"},20:{nickname:"Sixers",league:"nba",sport:"basketball"},354:{nickname:"Eagles",league:"nfl",sport:"football"},4968:{nickname:"Flyers",league:"nhl",sport:"hockey"},20289:{nickname:"Union",league:"mls",sport:"soccer"}},c=e=>{const t=e.find(e=>e?.location?.toLowerCase()?.includes("philadelphia"));return t?.nickname||t?.displayName||""},u=e=>e?{eagles:"bg-green-deep",soccer:"bg-brown-light",phillies:"bg-red-bright",flyers:"bg-orange-vibrant",sixers:"bg-blue-vivid"}[e.replace("/","")]:"",d=(e,t,n,r,i,o)=>{return t.includes(n)?null:(t.push(n),{_id:e,url:r,imageUrl:i,label:(a=o,a.split(" ").pop()||"")});var a},f=(e,t,n,r)=>e&&(((e,t,n)=>e.credits?.by?.filter(({name:e,image:n})=>t.includes(e)&&n?.url).map(({name:t,image:r,_id:i})=>{const o=`columnist-${t}`;return d(e._id,n,o,`/author/${i}`,r?.url||"",t)}).find(Boolean)||null)(e,t,r)||((e,t,n)=>{const r=t.flatMap(e=>Object.entries(e.sports?.play_list||{}).map(([e,t])=>({player:e,imageUrl:t}))),i=e.taxonomy?.tags?.find(e=>r.some(t=>t.player===e.text)),o=i&&r.find(e=>e.player===i.text);return o?d(e._id,n,`player-${o.player}`,`/topic/${a=o.player,s="-",a.replace(/[^a-zA-Z0-9 ]/g,"").toLowerCase().replace(/\s+/g,s)}`,o.imageUrl,o.player):null;var a,s})(e,n,r)||((e,t,n)=>{const r=[e.taxonomy?.primary_section?._id,...e.taxonomy?.sections?.map(e=>e._id)||[]],i=t.find(e=>r.includes(e._id));return i?d(e._id,n,`team-${i._id}`,i.site?.site_url||"",i.site_topper?.site_logo_image||"",i.site?.site_title||i.name||""):null})(e,n,r))||null,p=e=>{const t=new Date(e).getTime();return Date.now()-t<=18e5},m=e=>e?.nickname||e?.displayName||"",h=e=>{const t=new Set(Object.keys(l));return{phillyTeam:e?.find(e=>t?.has(e?.teamId?.toString()))||e[0],otherTeam:e?.find(e=>!t?.has(e?.teamId?.toString()))||e[0]}},g=(e,t,n,r,i,o)=>{switch(i){case"nfl":return Boolean(t?.length&&r?.length&&n&&o&&e);case"nba":case"nhl":return Boolean(t&&t.length&&o&&e&&e.length);case"mls":case"mlb":return Boolean(t?.length&&o&&e);default:return!1}},v=e=>{if("string"==typeof e)return e;if(e&&"object"==typeof e){return((e,t)=>{const n=void 0!==e?e.toString():"0";let r="00";return void 0!==t&&(r=`${Number(t)<10?"0":""}${t}`),0===t&&0===e?"END":`${n}:${r}`})(e?.minutes||"0",e?.seconds||"0")}return""},b=(e,t)=>{const{phillyTeam:n,otherTeam:r}=h(t);return e.map(e=>({teamName:e?.teamId===n.teamId?n.abbreviation:r.abbreviation,time:v(e?.time||null),description:e?.metaDescription||e?.playText||""}))},y=(e,t=[],n=[],o=[])=>{const s=n?.filter(e=>e?.playText).slice(-1),l={soccer:()=>b(s,t),eagles:()=>b(((e=[],t=[])=>e.map(e=>{const n=t?.findIndex(t=>t?.driveId===e?.driveId),o=e?.yardLine&&e?.playText&&e?.endYardLine?(0,r.parseYardlineText)(e.playText,e?.yardLine,e?.endYardLine):e?.playText,a=parseInt(e?.down||"",0)&&(0,r.getNumberWithOrdinal)(parseInt(e?.down||"",0))&&e?.yardLine&&e?.distance?`[${(0,r.getNumberWithOrdinal)(parseInt(e?.down||"",0))} & ${e?.distance} at ${(0,i.formatYardline)(e?.yardLine)}] ${o}`:o;return n>-1&&Object.assign(e,{teamId:t[n].teamId,metaDescription:a}),e}))(s,o),t),flyers:()=>b(n?.filter(e=>(e?.playEvent?.playEventId||0)>=1&&e?.playText)?.sort(e=>e.period)?.slice(-1),t),phillies:()=>b(n?.map(e=>e?.pbpDetails?.filter(e=>e?.playText)?.map(t=>a(a({},t),{},{teamId:e?.team?.teamId||""}))||[])?.flat()?.slice(-1)?.map(e=>a(a({},e),{},{time:""})),t),sixers:()=>b(n?.filter(e=>(e?.playEvent?.playEventId||0)>=1)?.sort(e=>e?.period)?.slice(-1),t)};return l[e]?.()||[]}},9375:function(e,t,n){"use strict";n.d(t,{s1:function(){return O},Fb:function(){return k},wp:function(){return E}});var r=n(46363),i=n.n(r),o=n(43993);var a=({idOrURL:e,owner:t="pmn"})=>i()({method:"GET",url:`https://api.${t}.arcpublishing.com/signing-service/v2/sign/resizer/1?value=${encodeURIComponent(e)}`,headers:{Authorization:`Bearer ${"pmn"===t?o.ARC_ACCESS_TOKEN_PROD:o.ARC_ACCESS_TOKEN}`}}).then(({data:e})=>e.hash);const s=[700,600,500,400],l=[800,700,600,500,400],c=760,u=(e,t,n=void 0)=>t.match(/([^[.\]])+/g).reduce((e,t)=>
2e&&void 0!==e[t]?e[t]:n,e),d=(e,t,n)=>{const r=t.match(/([^[.\]])+/g);r.reduce((e,t,i)=>(i===r.length-1?e[t]=n:e[t]&&"object"==typeof e[t]||(e[t]={}),e[t]),e)},f=(e="pmn")=>`https://${"pmn"===e?"www":"stage.fusion"}.inquirer.com/resizer/v2/`,p=async(e,t=void 0)=>{const n=e?.auth?.[1]||"",r=e?.url||"",o=e?.owner?.id||"pmn",s=e?._id||"",l=f(o);if(!n)try{const e=await(async(e,t="pmn",n)=>{if(!n){const{data:n}=await i().get("/pf/api/v3/content/fetch/signing-service-cache-call",{params:{query:{idOrURL:e,owner:t},timeToken:Date.now()}});return n}return await n("image-token",a,{query:{idOrURL:e,owner:t},ttl:31536e3,independent:!1})})(s||r,o,t);return e?`${l}${encodeURIComponent(s?r.split("/").pop():r)}?auth=${e}`:r}catch(e){return r}return`${l}${r.split("/").pop()}?auth=${n}`},m=(e,t,n,r)=>`${e}&focal=${Math.round(r.max[0])},${Math.round(r.max[1])}${t?`&width=${t}`:""}${n?`&height=${n}`:""}`,h=(e,t,n,r)=>r?.max?m(e,t,n,r):`${e}${t?`&width=${t}`:""}${n?`&height=${n}`:""}&smart=true`,g=async(e,t=c,n=0,r=null,i=void 0)=>{if(!e.url)return"";if(0===n&&(n=Math.round(2*t/3,10)),n&&r)switch(r){case"3x2":n=Math.round(2*t/3,10);break;case"1x1":n=t;break;case"16x9":n=Math.round(9*t/16,10);break;case"1.91x1":n=Math.round(t/1.91,10);break;case"2x3":n=Math.round(3*t/2,10)}const o=e?.additional_properties?.focal_point||null;try{const r=await p(e,i);return r===e.url?e.url:h(r,t,n,o)}catch(t){return console.error("Generate resized image failed",t.message),e.url}},v=async(e,t,n,r,i=!0,o=void 0)=>{if(!e.url||!t)return"";const a=e?.height||0,s=(n||[1400,1200,1100,1e3,900,800,700,600,400]).filter(e=>e<t),l=await Promise.all(s.map(async n=>{const s=await g(e,n,((e,t,n,r)=>!1===r?Math.round(t*n/e,10):0)(t,a,n,i),r,o);return`${s} ${n}w`}));return l.join(",")},b=async(e,t=void 0)=>{e?.credits?.by?.length>0&&await Promise.all(e.credits.by.map(async e=>{e?.image?.url&&(e.image.url=await g(e.image,96,96,null,t))}))},y=async(e,t,n=void 0,{width:r=c,srcSetWidths:i=l,ratio:o=null}={})=>{const a=u(e,t,"");if(a)if("image"===a.type){const[s,l]=await Promise.all([v(a,a.width,i,o,!0,n),g(a,r,0,o,n)]);d(e,`${t}.imgSrcSet`,s),d(e,`${t}.imageWebUrl`,l),d(e,`${t}.image_srcset`,s),d(e,`${t}.src`,l)}else if("video"===a.type){const s=u(a,"promo_image",""),[l,c]=await Promise.all([v(s,s.width,i,o,!0,n),g(s,r,0,o,n)]);d(e,`${t}.image_srcset`,l),d(e,`${t}.url`,c)}return e},w=async(e,t=void 0,{srcSetWidths:n=l,ratio:r=null,width:i=c}={})=>{const o=u(e,"promo_items.social.additional_properties.focal_point",null),a=null==(s=o)||"object"==typeof s&&0===Object.keys(s).length?r:"16x9";var s;return await Promise.all([y(e,"promo_items.basic",t,{srcSetWidths:n,ratio:r,width:i}),y(e,"promo_items.lead_art",t,{srcSetWidths:n,ratio:r}),y(e,"promo_items.promo",t,{srcSetWidths:n,ratio:r}),y(e,"promo_items.video",t,{srcSetWidths:n,ratio:r,width:i}),y(e,"promo_items.social",t,{srcSetWidths:n,ratio:a,width:i}),y(e,"promo_items.longform",t,{srcSetWidths:n,ratio:r,width:i}),y(e,"promo_items.vertical",t,{srcSetWidths:n,ratio:"2x3",width:i}),a!==r?y(e,"promo_items.facebook",t,{srcSetWidths:n,ratio:"1.91x1",width:i}):Promise.resolve()]),e},x=async(e,t=!1,n=c,r=0,i=!0,o=void 0)=>{try{const a=await p(e,o);if(a===e.url)return e.url;if(t){const t=e?.additional_properties?.focal_point||null;return 0===r&&i&&(r=Math.round(2*n/3,10)),t?.max?m(a,n,r,t):`${a}${n?`&width=${n}`:""}${r?`&height=${r}`:""}&smart=true`}return`${a}${n?`&width=${n}`:""}${r?`&height=${r}`:""}`}catch(t){return console.error("Generate resized image failed",t.message),e.url}};var _=n(19852);function C(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 j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function S(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t,n=!1){let r;return function(){const i=this,o=arguments,a=n&&!r;null!==r&&clearTimeout(r),r=setTimeout(function(){r=null,n||e.apply(i,o)},t),a&&e.apply(i,o)}}const k=(e,t)=>{let n=0;return(...r)=>{const i=Date.now();i-n>=t&&(n=i,e(...r))}},E=async(e,t,{promoImgSrcset:n=l,contentElementSrcset:r=l,promoImgRatio:i=null,contentElementRatio:o=null,contentElementWidth:a=c,promoImgWidth:u=c,isLongformArticle:d=!1,isLongformArticleV2:f=!1,isResizerAuthor:p=!0,isResizerContentElement:m=!0,isResizerPromoItems:h=!0}={})=>{let y=[];(m||(0,_.b$)(e?.subtype))&&(y=(e?.content_elements||[]).map(e=>(async(e,t,{width:n=c,srcsetWidths:r=s,ratio:i=null,isLongformArticle:o=!1,isLongformArticleV2:a=!1}={})=>
2{if("image"===e.type){const s=a&&"center"===e?.alignment,[l,c]=await Promise.all([x(e,!0,s?1920:o||a?1400:n,0,!1,t),v(e,e.width,s?[1920,1280,1024,800,600]:r,i,!1,t)]);return j(j({},e),{},{imageWebUrl:l,imgSrcSet:c})}if("video"===e.type){const[o,a]=await Promise.all([g(e?.promo_image,n,0,i,t),v(e?.promo_image,e?.promo_image?.width,r,i,!1,t)]);return j(j({},e),{},{url:o,image_srcset:a})}if("gallery"===e.type){const o=await Promise.all((e?.content_elements||[]).map(async e=>{const[o,a]=await Promise.all([g(e,n,0,i,t),v(e,e?.width,r,i,!1,t)]);return j(j({},e),{},{imageWebUrl:o,srcset:a})}));return j(j({},e),{},{content_elements:o})}return e})(e,t,{srcsetWidths:r,ratio:o,width:a,isLongformArticle:d,isLongformArticleV2:f}))||[]);const[C,S,...O]=await Promise.all([h?w(e,t,{srcSetWidths:n,ratio:i,width:u}):Promise.resolve(),p||(0,_.b$)(e?.subtype)?b(e,t):Promise.resolve(),...y]);return(m||(0,_.b$)(e?.subtype))&&(e.content_elements=O),e}},84326:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var r=n(43993);const i=e=>r?.[e]||window.Fusion.environment?.[e]||""},98473:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});const r=(e,t)=>{const n=document?.createElement(e);for(let e=0;e<t.length;e++)n[t[e].key]=t[e].value;return n}},52491:function(e,t,n){"use strict";n.d(t,{X:function(){return i},z:function(){return r}});const r=e=>e?.replace(/"/g,'\\"'),i=e=>e?.replace(/\"/g,"&quot;")},44856:function(e,t,n){"use strict";n.d(t,{$1:function(){return i},Lg:function(){return r},ZB:function(){return o}});const r=e=>"undefined"!=typeof window&&void 0!==window.localStorage&&window.localStorage.getItem(e)||"",i=e=>{"undefined"!=typeof window&&void 0!==window.localStorage&&window.localStorage.removeItem(e)},o=(e,t)=>{"undefined"!=typeof window&&void 0!==window.localStorage&&window.localStorage.setItem(e,t)}},23268:function(e,t,n){"use strict";n.d(t,{mv:function(){return r}});const r=e=>{try{return new URL(e||""),!0}catch(e){return!1}}},64986:function(e,t,n){"use strict";n.d(t,{Y:function(){return p}});var r=n(19974).hp;const i="Awes0m3YeaR2023&M3rRyXm4s2022!@",o="Xm4s2022!@Awes0m3YeaR2023&M3rRy",a="M3rRyXm4s2022!@Awes0m3YeaR2023&",s="YeaR2023&M3rRyXm4s2022!@Awes0m3",l=e=>r.from(e,"base64").toString("binary"),c=e=>e.split("").reverse().join(""),u=e=>{let t=0;if(0===e.length)return t.toString();for(let n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return Math.abs(t).toString(16).padStart(8,"0")},d=(e,t,n=1e4)=>{let r=e+t;for(let e=0;e<n;e++)r=u(r+e.toString());return r},f=(e,t)=>{let n="";for(let r=0;r<e.length;r++)n+=String.fromCharCode(e.charCodeAt(r)^t.charCodeAt(r%t.length));return n},p=e=>{if(!e||"string"!=typeof e)return e;if(!/^[A-Za-z0-9+/=]+$/.test(e))return e;try{let t=l(e);const n=d(i,s).substring(0,12);t=f(t,n),t=l(t);t=((e,t)=>{const n=e.split(":"),r=n[0],i=n[1],o=t.split("").map(e=>e.charCodeAt(0));let a="",s=0;for(let e=0;e<i.length;e+=2){const t=i.substring(e,e+2);let n=parseInt(t,16);const l=o[s%o.length];n^=r.charCodeAt(s%r.length),n=(n-s%128+256)%256,n^=l,a+=String.fromCharCode(n),s++}return a})(t,d(i,a));const r=d(i,o).substring(0,16);return t=f(t,r),c(t)}catch(t){return e}}},1546:function(e,t,n){"use strict";n.d(t,{r:function(){return b},y:function(){return y}});var r=n(22210),i=n(71530);const o=()=>{const e=navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?"tablet":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(e)?"mobile":"desktop"};var a=n(44856),s=n(20843),l=n(19852),c=n(65902),u=n(24225);const d=["NJ","PA","DE"],f=[...u.R,"08001","08019","08037","08067","08069","08070","08079","08098","08201","08202","08203","08204","08205","08210","08212","08215","08221","08223","08225","08226","08230","08232","08234","08241","08242","08243","08244","08247","08248","08251","08260","08270","08302","08310","08311","08312","08314","08317","08318","08319","08321","08322","08323","08324","08326","08327","08328","08330","08332","08340","08341","08343","08344","08345","08346","08349","08350","08353","08360","08361","08401","08402","08403","08406","08520","08525","08534","08540","08542","08544","08550","08560","08561","08562","08608","08609","08610","08611","08618","08619","08620","08628","08629","08638","08640","08641","08648","08690","08691","18011","18013","18014","18015","18017","18018","18020","18031","18032","18034","18035","18036","18037","18038","18040","18041","18042","18045","18049","18051","18052","18053","18054","18055","18056","18059","18062","18063","18064","18066","18067","18069","18070","18072","18073","18074","18076","18077","18078","18080","18083","18085","18087","18088","18091","18092","18101","18102","18103","18104","18106","18109","18343","18901","18902","18913","18914","18915","18917","18920","18923","18925","18927","18929","18930","18932","18933","18934","18936","18938","18940","18942","18944","18947","18951","18954","18955","18960","18964","18969","18972","18976","18977","19019","19024","19048","19058","19059","19065","19068","19077","19080","19088","19089","19097","19098","19099","19117","19139","19155","19310","19311","19317","19320","19330","19335","19341","19343","19344","19345","19348","19350","19352","19362","19363","19365","19372","19373","19374","19383","19390","19426","19435","19436","19438","19440","19446","19453","19456","19464","19465","19468","19473","19475","19477","19492","19503","19504","19505","19506","19507","19508","19510","19512","19518","19520","19522","19525","19526","19529","19530","19533","19534","19539","19540","19541","19543","19547","19550","19551","19555","19560","19562","19565","19567","19601","19602","19604","19605","19606","19607","19608","19609","19610","19611","19711","19716","19717","19730","19731","19732","19733","19901","19902","19904","19934","19938","19943","19946","19952","19953","19954","19962","19964","19977","19979"],p=new Set(f.map(e=>e.padStart(5,"0"))),m=(e,t)=>
2{const n=(0,i.Ri)("is_in_dma");if(n)return"true"===n;const r=((e,t)=>{if(!e||!t)return!1;const n=e.split("-")[1]||null;return!(!n||!d.includes(n))&&t.split("+").some(e=>{if(e.includes("-")){const[t,n]=e.split("-").map(Number);if(Number.isNaN(t)||Number.isNaN(n)||t>n)return!1;for(let e=t;e<=n;e++)if(p.has(String(e).padStart(5,"0")))return!0;return!1}return p.has(e.padStart(5,"0"))})})(e,t);return(0,i.TV)("is_in_dma",String(r),1,!0),r};function h(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=(e,t,n="")=>{const i=((0,s.AX)(n)||[]).gbDevMode,o=new r.NN({apiHost:"https://cdn.growthbook.io",clientKey:e||"sdk-JmNbpKjzXUUo1UHq",enableDevMode:void 0===i?"prod"!==t:"1"===i,trackingCallback:(e,t)=>{window.PMNdataLayer.push({event:"growthbook_experiment",experiment_id:e.key,variation_id:t.key,attributes:JSON.parse((0,a.Lg)("growthbook_attributes"))})}});return o.init({streaming:!0}).catch(e=>{console.error("Failed to initialize GrowthBook:",e)}),o},y=e=>{const t=setInterval(()=>{const n=(0,i.Ri)("_ga");if(n){const r=(e=>{const t=(0,c.DO)(),n=(0,c.j)(),r=window?.Fusion?.globalContent||{};return g(g(g({id:e,user_id:e,device_id:e,paywall_id:(0,i.Ri)("_pcid")||"",is_subscriber:"Subscribed"===t?.state,is_logged_in:"Logged Out"!==t?.state,url:window.location.href,device_type:o(),is_employee:t?.isInternal,platform:"web",browser:navigator?.userAgent.replace(";",","),content_type:n?.content_type||"",content_subtype:n?.content_subtype||""},n?.story_tags&&{tags:n?.story_tags.toLowerCase()||""}),n?.display_date&&{days_since_displayed_date:Math.floor((Date.now()-new Date(n?.display_date).getTime())/864e5)}),{},{author:(0,l.BV)(r,"|")||""})})(n.split(".")?.splice(2,2)?.join(".")||"");(0,a.ZB)("growthbook_attributes",JSON.stringify(r)),e.setAttributes(r),clearInterval(t)}},100),n=setInterval(()=>{const t=(0,i.Ri)("arc-country"),r=(0,i.Ri)("arc-region"),o=(0,i.Ri)("arc-city"),s=(0,i.Ri)("arc-zipcode"),l=(0,i.Ri)("arc-geo"),c=m(l,s),u=g(g(g(g(g({},t&&{country:t}),r&&{arc_region:r}),o&&{arc_city:o}),s&&{arc_zipcode:s}),l&&s&&{is_in_dma:c});if(Object.keys(u).length>0){const t=g(g({},e.getAttributes()),u);
2e.setAttributes(t),(0,a.ZB)("growthbook_attributes",JSON.stringify(t)),clearInterval(n)}},1e3);setTimeout(()=>{clearInterval(n)},1e4)}},20375:function(e,t,n){"use strict";n(40809);var r=n(97293),i=n(34766);t.A=({adType:e,mastheadAbsolute:t=!1})=>{if(r.AH.includes(e))return null;const n=t?"absolute z-0":[(0,r.yW)(e,"desktop")?"md:hidden":"",(0,r.yW)(e,"mobile")?"hidden md:block":"",(0,r.yW)(e,"tablet")?"ipad:hidden":""].filter(Boolean).join(" ");return(0,i.jsx)("div",{className:`type-button ${n}`,children:(0,i.jsx)("div",{className:"advertisement-text font-light xxs:leading-5 xs:leading-none text-[9px] text-[#999] tracking-normal uppercase justify-center flex flex-row mb-1",children:"Advertisement"})})}},65891:function(e,t,n){"use strict";n(40809);var r=n(34766);t.A=({slotId:e,adType:t})=>(0,r.jsx)("div",{"data-ad-name":t,className:"adhesion fixed bottom-0 left-0 w-full z-[101] bg-white border-t border-solid border-gray-light text-center px-0 min-h-[50px]",children:(0,r.jsx)("div",{id:e})})},63952:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(40809),i=n.n(r),o=n(20843);class a extends i().Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){(0,o.O_)()||console.log(e,t)}render(){return this.state.hasError?null:this.props.children}}},65933:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});n(40809);var r=n(34766);const i=({classNames:e})=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,r.jsxs)("defs",{children:[(0,r.jsx)("path",{id:"faFacebook",d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"}),(0,r.jsx)("path",{id:"faInstagram",d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}),(0,r.jsx)("path",{id:"faX",d:"M8 2H1L9.26086 13.0145L1.44995 21.9999H4.09998L10.4883 14.651L16 22H23L14.3917 10.5223L21.8001 2H19.1501L13.1643 8.88578L8 2ZM17 20L5 4H7L19 20H17Z"})]})})},39996:function(e,t,n){"use strict";n.d(t,{l:function(){return a}});var r=n(40809),i=n(24948),o=n(34766);const a=({selectors:e,show:t=!0,id:n,className:a,onPositioned:s,children:l})=>{const c=(0,r.useRef)(null);return(0,i.J)(c,{selectors:e,enabled:t,onPositioned:s}),(0,o.jsx)("div",{id:n,className:a,ref:c,children:l})}},16494:function(e,t,n){"use strict";var r=n(40809),i=n.n(r),o=n(4321),a=n(46610),s=n.n(a),l=n(2153),c=n(987),u=n(44638),d=n(19852),f=n(20843),p=n(50903),m=n(34766);function h(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=({story:e,hasUnderlined:t,underlineCustomClasses:n="",isCompactCard:i,dataLinkType:a="",customMaxWidth:h,isShowRelatedStories:v,relatedStoriesVersion:b,timelinesNo:y,relatedLinksNo:w,imageRatio:x,imageAlignment:_,eyebrowPosition:C,isImagePrioritized:j,hasBoxShadow:S,hasEyebrow:O,hasImage:k,hasBlurb:E,isInFeed:L,hasShareTools:P,customBlurb:N,
2customImage:A,customHeadline:I,customRelatedLinks:T,customHeadlineFontSize:M,customDescriptionClasses:R,showMoreButton:D,hideTimestamp:F,isVideoCardFeature:B,videoOptions:V,dataEnv:H,customCardWrapperClasses:q,hasPadding:U,customHeadlineClasses:$,isOnCardFeature:z,isFoodStyle:G,hideBlurOnMobile:K,showAuthor:Y=!0,isInCarousel:W,cardBackground:Z="",cardBorderRadius:J="",imgBorderRadius:X="",isVerticalImage:Q,showAsLiveBlogCard:ee,hasLessThan3HoursFormatTimestamp:te,pushClickEventOnCards:ne})=>{const{metaValue:re,globalContent:ie}=(0,o.useAppContext)(),{subtype:oe,content_elements:ae,canonical_url:se}=e,le=(0,r.useMemo)(()=>(0,d.Fs)(e),[e]),ce=(0,r.useMemo)(()=>(0,d.E)(p.LE,e),[p.LE,e]),ue=(0,r.useMemo)(()=>(0,d.fO)(oe)?(0,d.Y4)(ae,!1,se,"",ce):null,[oe,ae,se]),de=(0,r.useMemo)(()=>{if((0,u.J1)(e.promo_items))return{videoCategory:"youtube",videoLocation:(0,f.rD)(re)?"homepage":"front",withYouTubeTracking:l.F}},[e.promo_items,re]),fe=(0,r.useMemo)(()=>(0,u.ad)(ie?.type),[ie?.type]),pe=(0,r.useMemo)(()=>!("true"===re("byline_off")&&!(0,u.LX)(e))&&Y,[re,e,Y]);return(0,m.jsxs)("article",g(g({className:`inq-card-wrapper ${q}`,"data-card-type":le,"data-link-type":a||le,onClick:()=>ne?.(e?.canonical_url)},(0,c.dr)(e)),{},{children:[(0,m.jsx)(s(),g({story:e,dataCardType:le,isCompactCard:i,customMaxWidth:h,isShowRelatedStories:v,relatedStoriesVersion:b,trackingVideo:de,timelines:ue,timelinesNo:y,relatedLinksNo:w,imageRatio:x,imageAlignment:_,eyebrowPosition:C,isImagePrioritized:j,hasBlurb:E,hasEyebrow:O,hasImage:k,hasShareTools:P,isInFeed:L,hasBoxShadow:S,customBlurb:N,customImage:A,customHeadline:I,customRelatedLinks:T,customHeadlineFontSize:M,customDescriptionClasses:R,showMoreButton:D,hideTimestamp:F,useWebHeadline:!0,isVideoCardFeature:B,videoOptions:V,dataEnv:H,hasPadding:U,customHeadlineClasses:$,isOnCardFeature:z,isFoodStyle:G,hideBlurOnMobile:K,showAuthor:pe,isInCarousel:W,cardBackground:Z,cardBorderRadius:J,imgBorderRadius:X,isVerticalImage:Q,dataLinkType:a,showAsLiveBlogCard:ee,hasLessThan3HoursFormatTimestamp:te},(a||fe||B)&&{clickableAttributes:{"data-link-type":a||le}})),t&&(0,m.jsx)("div",{className:`border-b border-solid border-neutral-light-charcoal-gray ${n}`})]}))};t.A=i().memo(b)},3174:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});const a=n(85349),s=n(40809),{lazy:l,Suspense:c,PureComponent:u}=s,d=n(70698),{isStatic:f}=n(76626);class p extends u{constructor(e){super(e),this.state={error:null}}componentDidCatch(e,t){console.error(e,t),this.setState({error:e})}render(){return this.state.error?this.props.fallback:this.props.children}}e.exports=(e,t,n)=>{if(n)return e=>{const t=l(n),r=(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:Fusion.lazyElements[e.id]||""}});return(0,a.jsx)(p,{fallback:r,children:(0,a.jsx)(c,{fallback:r,children:(0,a.jsx)(t,i({},e))})})};if(!e||!d(e,t)||f(e,t))return e;const r=t=>(0,a.jsx)("div",{"data-fusion-lazy-id":t.id,children:(0,a.jsx)(e,i({},t))});for(const t in e)r[t]=e[t];return r}},70698:function(e){"use strict";e.exports=(e,t)=>!0===e.lazy||e.lazy instanceof Array&&e.lazy.includes(t)},76626:function(e,t,n){"use strict";t.isStatic=void 0;const r=n(32117);t.isStatic=(e,t)=>{const{static:n}=e;return(0,r.isArray)(n)&&(0,r.isString)(t)?n.includes(t):!0===n}},32117:function(e,t){"use strict";t.Gv=t.isArray=t.isString=void 0;t.isString=e=>"string"==typeof e;t.isArray=e=>Array.isArray(e);t.Gv=e=>"object"==typeof e&&null!==e&&!Array.isArray(e)},92831:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],l=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),u=0,d=l>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,l=r-i;s<l;s+=a)o.push(c(e,s,s+a>l?l:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function c(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(l(r));return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},4590:function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,m=r?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=m,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+p]=255&a,p+=m,a/=256,c-=8);e[n+p-m]|=128*h}},72067:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r,i={exports:{}},o=i.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var c,u=[],d=!1,f=-1;function p(){d&&c&&(d=!1,c.length?u=c.concat(u):f=-1,u.length&&m())}function m(){if(!d){var e=l(p);d=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,d=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}function v(){}o.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];u.push(new h(e,t)),1!==u.length||d||l(m)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0};var b=i.exports.browser,y=v,w=i.exports.binding,x=v,_={},C=v,j=v,S=v,O=v,k=v,E="browser",L="browser",P="browser",N=[],A={nextTick:i.exports.nextTick,title:i.exports.title,browser:b,env:i.exports.env,argv:i.exports.argv,version:i.exports.version,versions:i.exports.versions,on:i.exports.on,addListener:i.exports.addListener,once:i.exports.once,off:i.exports.off,removeListener:i.exports.removeListener,removeAllListeners:i.exports.removeAllListeners,emit:i.exports.emit,emitWarning:y,prependListener:i.exports.prependListener,prependOnceListener:i.exports.prependOnceListener,listeners:i.exports.listeners,binding:w,cwd:i.exports.cwd,chdir:i.exports.chdir,umask:i.exports.umask,exit:x,pid:1,features:_,kill:C,dlopen:j,uptime:S,memoryUsage:O,uvCounters:k,platform:E,arch:L,execPath:P,execArgv:N};t.addListener=i.exports.addListener,t.arch=L,t.argv=i.exports.argv,t.binding=w,t.browser=b,t.chdir=i.exports.chdir,t.cwd=i.exports.cwd,t.default=A,t.dlopen=j,t.emit=i.exports.emit,t.emitWarning=y,t.env=i.exports.env,t.execArgv=N,t.execPath=P,t.exit=x,t.features=_,t.kill=C,t.listeners=i.exports.listeners,t.memoryUsage=O,t.nextTick=i.exports.nextTick,t.off=i.exports.off,t.on=i.exports.on,t.once=i.exports.once,t.pid=1,t.platform=E,t.prependListener=i.exports.prependListener,t.prependOnceListener=i.exports.prependOnceListener,t.removeAllListeners=i.exports.removeAllListeners,t.removeListener=i.exports.removeListener,t.title=i.exports.title,t.umask=i.exports.umask,t.uptime=S,t.uvCounters=k,t.version=i.exports.version,t.versions=i.exports.versions,t=e.exports=A},19974:function(e,t,n){"use strict";var r=n(92831),i=n(4590),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=l,t.IS=50;var a=2147483647;function s(e){if(e>
vendor: 4,560 bytes, line 2
2a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|h(e,t),r=s(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return p(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);var i=function(e){if(l.isBuffer(e)){var t=0|m(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||q(e.length)?s(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|m(e))}function f(e){for(var t=e.length<0?0:0|m(e.length),n=s(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function p(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function m(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(e).length;default:if(i)return r?-1:F(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),q(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;
vendor: 4,746 bytes, line 2
2a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,f=0;f<l;f++)if(c(e,o+f)!==c(t,f)){d=!1;break}if(d)return o}return-1}function w(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(q(s))return a;e[n+a]=s}return a}function x(e,t,n,r){return V(F(t,e.length-n),e,n,r)}function _(e,t,n,r){return V(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function C(e,t,n,r){return V(B(t),e,n,r)}function j(e,t,n,r){return V(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function O(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=k));return n}(r)}l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),H(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(H(o,Uint8Array))i+o.length>r.length?l.from(o).copy(r,i):Uint8Array.prototype.set.call(r,o,i);else{if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i)}i+=o.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?O(this,0,e):g.apply(this,arguments)}
vendor: 9,884 bytes, line 2
2,l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.IS;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,i){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),u=e.slice(t,n),d=0;d<s;++d)if(c[d]!==u[d]){o=c[d],a=u[d];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return x(this,e,t,n);case"ascii":case"latin1":case"binary":return _(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function E(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function L(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function P(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=U[e[o]];return i}function N(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function A(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function T(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,o){return t=+t,n>>>=0,o||T(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,o){return t=+t,n>>>=0,o||T(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||A(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||A(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||A(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||A(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||A(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||A(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||A(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=l.isBuffer(e)?e:l.from(e,r),s=a.length;
2if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var D=/[^+/0-9A-Za-z-_]/g;function F(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function B(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(D,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function q(e){return e!=e}var U=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}()},61493:function(e,t){"use strict";var n=Symbol.for("react.transitional.element");function r(e,t,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:i,ref:void 0!==t?t:null,props:r}}Symbol.for("react.fragment"),t.jsx=r},85349:function(e,t,n){"use strict";e.exports=n(61493)},86780:function(t){"use strict";t.exports=e},19894:function(e){"use strict";e.exports=t},40809:function(e){"use strict";e.exports=n},91565:function(e){"use strict";e.exports=r},88792:function(e){"use strict";e.exports=i},14375:function(e){"use strict";e.exports=o},4321:function(e){"use strict";e.exports=a},92986:function(e){"use strict";e.exports=s},71592:function(e){"use strict";e.exports=l},43993:function(e){"use strict";e.exports=c},1534:function(e){"use strict";e.exports=u},33468:function(){},64023:function(e){"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}},m={};function h(e){var t=m[e];if(void 0!==t)return t.exports;var n=m[e]={id:e,loaded:!1,exports:{}};return p[e].call(n.exports,n,n.exports,h),n.loaded=!0,n.exports}
2return h.m=p,h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.f={},h.e=function(e){return Promise.all(Object.keys(h.f).reduce(function(t,n){return h.f[n](e,t),t},[]))},h.u=function(e){return e+".chunk.js?d=1514&mxId=00000000"},h.miniCssF=function(e){},h.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d={},f="Fusion.components:",h.l=function(e,t,n,r){if(d[e])d[e].push(t);else{var i,o;if(void 0!==n)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==f+n){i=l;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",h.nc&&i.setAttribute("nonce",h.nc),i.setAttribute("data-webpack",f+n),i.src=e),d[e]=[t];var c=function(t,n){i.onerror=i.onload=null,clearTimeout(u);var r=d[e];if(delete d[e],i.parentNode&&i.parentNode.removeChild(i),r&&r.forEach(function(e){return e(n)}),t)return t(n)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=c.bind(null,i.onerror),i.onload=c.bind(null,i.onload),o&&document.head.appendChild(i)}},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},h.j=5475,h.p="/pf/dist/components/combinations/",function(){var e={5475:0,8338:0};h.f.j=function(t,n){var r=h.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(function(n,i){r=e[t]=[n,i]});n.push(r[2]=i);var o=h.p+h.u(t),a=new Error;h.l(o,function(n){if(h.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}},"chunk-"+t,t)}};var t=function(t,n){var r,i,o=n[0],a=n[1],s=n[2],l=0;if(o.some(function(t){return 0!==e[t]})){for(r in a)h.o(a,r)&&(h.m[r]=a[r]);if(s)s(h)}for(t&&t(n);l<o.length;l++)i=o[l],h.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=this.webpackChunkFusion_components=this.webpackChunkFusion_components||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),h(70997)}()});

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.