PageSourceSearch

https://appcms.monumentalsportsnetwork.com/build/7595/5016.34195e75ccfc04447f65.js

js monumentalsportsnetwork.com collected 2026-09-24 18:31:37 UTC 52,662 bytes, 19 lines download raw bytes

1"use strict";(()=>{(self.webpackChunkweb_v2=self.webpackChunkweb_v2||[]).push([[5016],{24666(Ee,x,a){var i=a(96540),H=a(51612),z=a(61171),S=a.n(z),L=a(47767),_=a(43543),t=a(79543),O=a(73851),I=a(30209),W=a(64707),b=a(17535),s=a(25806),h=a(12308);const C=({metadataMap:E,subscriptionPopupFonts:M,ctaStyles:R})=>{var y,D,N,P,V,T,p;let{popupHeadingTitleFont:o,popupCtaTitleFont:d,popupCtaSubTitleFont:v,popupPriceFont:m,popupDetailFont:u}=M,c=window==null||(D=window.app_data)===null||D===void 0||(y=D.appcmsMain)===null||y===void 0?void 0:y.brand,{cta:n,ctaHover:Y}=R;const Z=(0,i.useRef)(null),[e,k]=(0,i.useState)({isOpen:!1,plansData:{},contentDetails:{},isMultiview:!1,subscriptionPopupFonts:null,isCheckout:!1}),[g,G]=(0,i.useState)(null),[U,X]=(0,i.useState)(null),$=(0,L.Zp)(),r=(window==null||(V=window.app_data)===null||V===void 0||(P=V.appcmsMain)===null||P===void 0||(N=P.monetizationConfig)===null||N===void 0?void 0:N.showPlanFromPlanInfo)||!1,J=f=>{k(f);let A=document.getElementsByTagName("body");A!=null&&A.length&&f?A[0].style.overflow="hidden":A[0].style.overflow="unset",f!=null&&f.isOpen||(A[0].style.overflow="unset")},ne=()=>{let f=document.getElementsByTagName("body");f[0].style.overflow="unset",k(A=>({...A,isOpen:!1}))},me=f=>{if(f!=null&&f.selectedPlanId){G({planId:f.selectedPlanId,type:f==null?void 0:f.selectedType});return}G(f==null?void 0:f.plan)},le=f=>{f!=null&&f.appliedOfferCode&&!(f!=null&&f.isDeferred)?X(f):X(null)};(0,i.useEffect)(()=>{let f=(0,O.fetchCurrentPlan)();return f&&G(f),S().subscribe("subscription-modal",J),(0,t.Ju)(me),(0,I.Mf)(le),()=>{let A=document.getElementsByTagName("body");A[0].style.overflowX="hidden",A[0].style.overflowY="unset"}},[]);const ge=()=>"/viewplans",ue=async(f,A,fe)=>{var _e,ie,se,De,te,Ie,Ae,Be,be;const Fe=await(0,s.checkUserCheckoutFlow)(e==null||(Ie=e.contentDetails)===null||Ie===void 0||(te=Ie.seasons)===null||te===void 0||(De=te[0])===null||De===void 0||(se=De.episodes)===null||se===void 0||(ie=se[0])===null||ie===void 0||(_e=ie.gist)===null||_e===void 0?void 0:_e.id),l=(e==null||(Be=e.contentDetails)===null||Be===void 0||(Ae=Be.gist)===null||Ae===void 0?void 0:Ae.contentType)==="SERIES",K=e==null?void 0:e.isV2Content;if(Fe&&l&&K){var Le,Se,we,Re;sessionStorage.setItem("currentPlan",JSON.stringify(e==null?void 0:e.plansData[A])),S().publish("showCheckoutDetailPage",e==null||(Re=e.contentDetails)===null||Re===void 0||(we=Re.seasons)===null||we===void 0||(Se=we[0])===null||Se===void 0||(Le=Se.episodes)===null||Le===void 0?void 0:Le[0]);return}if(e!=null&&e.plansData){var q;let re=(q=Object.keys(e==null?void 0:e.plansData))===null||q===void 0?void 0:q.map(We=>{var Ve,Ue;return e==null||(Ue=e.plansData[We])===null||Ue===void 0||(Ve=Ue.plan)===null||Ve===void 0?void 0:Ve.id}),Me=re==null?void 0:re.filter(We=>We).join(",");sessionStorage.setItem("contentPlanIds",Me)}if(e!=null&&e.isCheckout){let re=e==null?void 0:e.plansData[A];G(re),sessionStorage.setItem("currentPlan",JSON.stringify(e==null?void 0:e.plansData[A])),(0,b.setTransactionDataInStorage)(e==null?void 0:e.plansData[A],e.contentDetails,A),(0,t.Yy)(e==null?void 0:e.plansData[A]);let Me={id:re==null?void 0:re.planId,featureDetails:re==null?void 0:re.featureDetails};if((0,t.SJ)({planDetails:Me,selectedPlanId:Me==null?void 0:Me.id,selectedType:re==null?void 0:re.type}),f==="allPlans"){var Ce;(0,h.setStorageItem)("isRedirected",{path:(Ce=location)===null||Ce===void 0?void 0:Ce.pathname,redirect:!0,isDetailPage:!0});let We=ge();$(We)}return}if((0,_.H3)()&&fe){var B;sessionStorage.setItem("currentPlan",JSON.stringify(fe)),(0,b.setTransactionDataInStorage)(e==null?void 0:e.plansData[A],e.contentDetails,A),(0,h.setStorageItem)("isRedirected",{path:(B=location)===null||B===void 0?void 0:B.pathname,redirect:!0,isDetailPage:!0}),$("/checkout");return}sessionStorage.setItem("currentPlan",JSON.stringify(e==null?void 0:e.plansData[A])),(0,b.setTransactionDataInStorage)(e==null?void 0:e.plansData[A],e.contentDetails,A);let $e=await(0,_.CX)();if((0,h.setStorageItem)("isRedirected",{path:(be=location)===null||be===void 0?void 0:be.pathname,redirect:!0,isDetailPage:!0}),$e){if(!await(0,_.vS)()){let Me=(0,h.getStorageItem)("isRedirected");(0,h.setStorageItem)("isRedirected",{...Me,checkForHBA:!0,path:location.pathname,isDetailPage:!0,redirect:!1}),$("/locate");return}if(A!=null&&A.includes("TVE")){$("/tve");return}if(f==="allPlans"){var He;(0,h.setStorageItem)("isRedirected",{path:(He=location)===null||He===void 0?void 0:He.pathname,redirect:!0,isDetailPage:!0,isMultiview:e==null?void 0:e.isMultiview}),$("/viewplans")}else $("/subscription")}else $("/authentication")},Oe=f=>f?{backgroundColor:Y==null?void 0:Y.backgroundColor,color:Y==null?void 0:Y.color}:n;return i.createElement(i.Fragment,null,e!=null&&e.isOpen?i.createElement("div",{className:"subscription-popup-wrapper"},i.createElement("div",{className:"popup-card",style:{background:c==null||(T=c.general)===null||T===void 0?void 0:T.backgroundColor}},i.createElement("div",{className:"popup-header"},i.createElement("div",{className:"popup-header",style:o},E==null?void 0:E.morePurchaseText),i.createElement("div",{className:"close-btn",onClick:()=>ne()}
1,i.createElement("p",null,E==null?void 0:E.closeText),(0,H.n)())),i.createElement("div",{className:"popup-content-container"},i.createElement("div",{className:"popup-buttons"},(p=Object.keys(e==null?void 0:e.plansData))===null||p===void 0?void 0:p.map((f,A)=>{var fe,_e,ie,se,De,te,Ie,Ae,Be,be,Fe;let l=e==null?void 0:e.plansData[f];if(!(l!=null&&l.planId)&&(l!=null&&l.plan)&&(l=(0,O.structuredPlan)(l==null?void 0:l.plan,e==null?void 0:e.subscriptionPopupFonts)),(l==null?void 0:l.type)==="TVE"||(l==null?void 0:l.type)==="FreeAccount"||(l==null?void 0:l.type)==="NoPlans"){var K;return i.createElement("div",{className:(g==null?void 0:g.type)=="TVE"?"popup-button is-active":"popup-button",id:f,onClick:()=>ue("other",f,l),style:Oe((g==null?void 0:g.type)=="TVE")},i.createElement("div",{className:"type-details"},i.createElement("div",{className:"sub-type",style:d},e==null||(K=e.plansData[f])===null||K===void 0?void 0:K.title)))}if((l==null?void 0:l.type)==="Rent"||(l==null?void 0:l.type)==="Buy"){var Le,Se,we,Re,q,Ce;let B=e==null?void 0:e.plansData[f];return i.createElement("div",{className:((g==null?void 0:g.planId)||(g==null?void 0:g.id))===((B==null?void 0:B.id)||(B==null?void 0:B.planId))&&(g==null?void 0:g.type)===(B==null?void 0:B.type)?"popup-button is-active":"popup-button",ref:Z,id:f,onClick:()=>ue("other",f,B),style:Oe(((g==null?void 0:g.planId)||(g==null?void 0:g.id))===((B==null?void 0:B.id)||(B==null?void 0:B.planId))&&(g==null?void 0:g.type)===(B==null?void 0:B.type))},i.createElement("div",{className:"type-details"},i.createElement("div",{className:"sub-type",style:d},B==null?void 0:B.title),i.createElement("div",{className:"plan-description amountp",style:v},B==null?void 0:B.subTitle)),(U==null?void 0:U.planId)===(l==null?void 0:l.planId)||!(l==null||(Le=l.plansDetail)===null||Le===void 0)&&Le.displayStrikeThroughPrice&&(!(l==null||(Se=l.plansDetail)===null||Se===void 0)&&Se.strikeThroughPrice)?i.createElement("div",{className:"plan-amount",style:m},i.createElement("p",{className:"strike-price"},i.createElement("span",{className:"strike-through"},(0,_.Qn)(l==null?void 0:l.currency)+((l==null?void 0:l.amount)||(l==null||(we=l.plansDetail)===null||we===void 0?void 0:we.amount)),l!=null&&l.cycleType?`/${(0,_.ps)(l==null?void 0:l.cycleType,l==null?void 0:l.renewalCyclePeriodMultiplier)||""}`:""),i.createElement("span",null,`${(0,_.Qn)(l==null?void 0:l.currency)}${(U==null?void 0:U.amount)||(l==null||(Re=l.plansDetail)===null||Re===void 0?void 0:Re.strikeThroughPrice)}${l!=null&&l.cycleType?`/${(0,_.ps)(l==null?void 0:l.cycleType,l==null?void 0:l.renewalCyclePeriodMultiplier)||""}`:""}`))):i.createElement("div",{className:"plan-amount",style:m},(0,_.Qn)(e==null||(q=e.plansData[f])===null||q===void 0?void 0:q.currency)+(e==null||(Ce=e.plansData[f])===null||Ce===void 0?void 0:Ce.amount),l!=null&&l.cycleType?`/${(0,_.ps)(l==null?void 0:l.cycleType,l==null?void 0:l.renewalCyclePeriodMultiplier)||""}`:""))}return i.createElement("div",{className:(g==null?void 0:g.planId)===(l==null?void 0:l.planId)?"popup-button is-active":"popup-button",ref:Z,id:f,onClick:()=>ue("other",f,l),style:Oe((g==null?void 0:g.planId)===(l==null?void 0:l.planId))},i.createElement("div",{className:"type-details"},i.createElement("div",{className:"sub-type",style:d},r&&(!(l==null||(fe=l.plansDetail)===null||fe===void 0)&&fe.title)?l==null||(_e=l.plansDetail)===null||_e===void 0?void 0:_e.title:l==null?void 0:l.title),i.createElement("div",{className:"plan-description amountp",style:v},r&&(!(l==null||(ie=l.plansDetail)===null||ie===void 0)&&ie.description)?l==null||(se=l.plansDetail)===null||se===void 0?void 0:se.description:e==null||(De=e.plansData[f])===null||De===void 0?void 0:De.subTitle)),(U==null?void 0:U.planId)===(l==null?void 0:l.planId)||!(l==null||(te=l.plansDetail)===null||te===void 0)&&te.displayStrikeThroughPrice&&(!(l==null||(Ie=l.plansDetail)===null||Ie===void 0)&&Ie.strikeThroughPrice)?i.createElement("div",{className:"plan-amount",style:m},i.createElement("p",{className:"strike-price"},i.createElement("span",{className:"strike-through"},(0,_.Qn)(l==null?void 0:l.currency)+((l==null?void 0:l.amount)||(l==null||(Ae=l.plansDetail)===null||Ae===void 0?void 0:Ae.amount)),l!=null&&l.cycleType?`/${(0,_.ps)(l==null?void 0:l.cycleType,l==null?void 0:l.renewalCyclePeriodMultiplier)||""}`:""),i.createElement("span",null,`${(0,_.Qn)(l==null?void 0:l.currency)}${(U==null?void 0:U.amount)||(l==null||(Be=l.plansDetail)===null||Be===void 0?void 0:Be.strikeThroughPrice)}${l!=null&&l.cycleType?`/${(0,_.ps)(l==null?void 0:l.cycleType,l==null?void 0:l.renewalCyclePeriodMultiplier)||""}`:""}`))):i.createElement("div",{className:"plan-amount",style:m},(0,_.Qn)(e==null||(be=e.plansData[f])===null||be===void 0?void 0:be.currency)+(e==null||(Fe=e.plansData[f])===null||Fe===void 0?void 0:Fe.amount),l!=null&&l.cycleType?`/${(0,_.ps)(l==null?void 0:l.cycleType,l==null?void 0:l.renewalCyclePeriodMultiplier)||""}`:""))}))),i.createElement("div",{className:"more-plans-btn",onClick:()=>{ue("allPlans",null,null)},style:u},(E==null?void 0:E.redirectPlansCtaText)||"View all plans"))):i.createElement(i.Fragment,null))},w=(0,W.A)(C);a.d(x,["A",0,w])},95531(Ee,x,a){var i=a(96540),H=a(80612),z=a(65086);const S=t=>{var O,I,W;const b=t==null||(O=t.trayStyles)===null||O===void 0?void 0:O.trayItem;return(0,i.useEffect)(()=>{var s;(t==null||(s=t.data)===null||s===void 0?void 0:s.length)==0&&(t!=null&&t.onEmptyWidget)&&t.onEmptyWidget(t.type)},[]),i.createElement(i.Fragment,null,i.createElement("div",{className:"vertical-container-detail"},i.createElement("div",{className:"vertical-wrapper"},i.createElement("div",{className:"sm-tray"},t.title&&i.createElement("div",{style:t==null||(I=t.trayStyles)===null||I===void 0?void 0:I.trayTitle,className:"vertical-tray-title"},t.title),i.createElement("div",{className:"tray-wrapper",tabIndex:0,"aria-label":"Content list"},t==null||(W=t.data)===null||W===void 0?void 0:W.map((s,h)=>{var C;let w=Math.random().toString(36).substring(2,8);return i.createElement("div",{key:w,className:"slide-item",...t!=null&&t.isSeriesPage?{itemProp:"episode",itemScope:!0,itemType:"https://schema.org/TVEpisode"}:{}},i.createElement(H.A,{itemIdx:h,highlightId:t==null?void 0:t.highlightId,selectedEpisodeId:t==null?void 0:t.selectedEpisode,isRedirect:t==null?void 0:t.isRedirect,trayItem:b,isSeriesPage:t==null?void 0:t.isSeriesPage,isArticlePage:t==null?void 0:t.isArticlePage,isHistoryPage:t.isHistoryPage,isPlaylistPage:t.isPlaylistPage,switchDataToPlayer:t.switchDataToPlayer,updateWatchHistory:t.updateWatchHistory,updateHistoryDataMweb:t.updateHistoryDataMweb,showRuntime:t.showRuntime,isDownloadIcon:(t==null?void 0:t.isDownloadIcon)||!1,isShareIcon:(t==null?void 0:t.isShareIcon)||!1,data:s,openVideoInOverlay:t==null?void 0:t.openVideoInOverlay,array:t.data,toggleShare:t==null?void 0:t.toggleShare,layoutSettings:t==null?void 0:t.layoutSettings,watchedPercentage:(C=s==null?void 0:s.watchedPercentage)!==null&&C!==void 0?C:0,hideTrayInformation:t==null?void 0:t.hideTrayInformation,badgeStyles:t==null?void 0:t.badgeStyles,isVerticaloverlay:t==null?void 0:t.isVerticaloverlay,seasonTitle:t==null?void 0:t.seasonTitle,moduleType:t==null?void 0:t.moduleType,moduleId:t==null?void 0:t.moduleId}))}),t.type&&(t==null?void 0:t.globalHideScores)&&i.createElement(z.A,{moduleId:`${t==null?void 0:t.moduleId}-${t.type}`}))))))},L=(t,O)=>t===O,_=i.memo(S,L);a.d(x,["A",0,_])},3026(Ee,x,a){a.r(x);var i=a(96540),H=a(57293),z=a(83707),S=a(23438);S.Ay.use([S.dK]);const _=({imageList:t})=>{const O=(0,i.useRef)(null),I=(0,i.useRef)(null);return i.createElement(i.Fragment,null,(t==null?void 0:t.length)>1?i.createElement("div",{className:"tray-navigation"},i.createElement("div",{ref:O},i.createElement(H.A,{to:"prev",onClick:()=>console.log("last"),className:!0,isArticlePage:!0})),i.createElement("div",{ref:I},i.createElement(H.A,{to:"next",onClick:()=>console.log("first"),className:!0,isArticlePage:!0}))):i.createElement(i.Fragment,null),i.createElement(z.RC,{spaceBetween:10,className:"my-swiper",modules:[S.dF],pagination:{clickable:!0},navigation:{prevEl:O.current,nextEl:I.current},onInit:W=>{W.params.navigation.prevEl=O.current,W.params.navigation.nextEl=I.current,W.navigation.init(),W.navigation.update()}},t.map(W=>i.createElement(z.qr,null," ",i.createElement("div",{className:"carousel-item-wrapper"},i.createElement("img",{alt:"Carousel Item",src:(W==null?void 0:W.url)||W}))))))};a.d(x,["default",0,_])},41846(Ee,x,a){a.r(x);var i=a(96540),H=a(19324),z=a(95531),S=a(43543),L=a(26054),_=a(77869),t=a(50316),O=a(61171),I=a.n(O),W=a(39019),b=a(88820),s=a(18987),h=a(24666),C=a(27573),w=a(63046),E=a(3026),M=a(12308);const R=y=>{var D,N,P,V,T,p,o,d,v,m,u,c,n,Y,Z,e,k,g,G,U,X,$,r,J;const[ne,me]=(0,i.useState)(null),[le,ge]=(0,i.useState)([]),[ue,Oe]=(0,i.useState)(window==null?void 0:window.innerWidth),[f,A]=(0,i.useState)(!0),[fe,_e]=(0,i.useState)(null),ie=(0,i.useRef)(null),[se,De]=(0,i.useState)(!1),[te,Ie]=(0,i.useState)({publishDate:"",updateDate:""}),[Ae,Be]=(0,i.useState)(!1),[be,Fe]=(0,i.useState)({});let l=y==null?void 0:y.moduleData,K=l==null?void 0:l.contentData[0],Le=K==null?void 0:K.metadata;const Se=()=>{Oe(window==null?void 0:window.innerWidth)},we=()=>{if(window.scrollY>300){var F,j;ie==null||(j=ie.current)===null||j===void 0||(F=j.classList)===null||F===void 0||F.add("icon-box-animation")}else{var Q,ee;ie==null||(ee=ie.current)===null||ee===void 0||(Q=ee.classList)===null||Q===void 0||Q.remove("icon-box-animation")}};let Re=y==null||(N=y.moduleData)===null||N===void 0||(D=N.layout)===null||D===void 0?void 0:D.fontSetting,q=y==null||(V=y.moduleData)===null||V===void 0||(P=V.layout)===null||P===void 0?void 0:P.settings,Ce=y==null||(T=y.moduleData)===null||T===void 0?void 0:T.layout,B=y==null||(p=y.moduleData)===null||p===void 0?void 0:p.metadataMap,$e=(y==null||(d=y.moduleData)===null||d===void 0||(o=d.contentData)===null||o===void 0?void 0:o.length)&&((v=y.moduleData.contentData[0])===null||v===void 0?void 0:v.imageList),{articleTitleStyles:He,articleDescriptionStyles:re,trayTitle:Me,trayItem:We,popupHeadingTitleFont:Ve,popupCtaTitleFont:Ue,popupCtaSubTitleFont:Xe,popupPriceFont:Ye,popupDetailFont:Qe}=(0,_.getFontsStyles)(Re,q),Ze={popupHeadingTitleFont:Ve,popupCtaTitleFont:Ue,popupCtaSubTitleFont:Xe,popupPriceFont:Ye,popupDetailFont:Qe};const qe=Ce==null||(m=Ce.settings)===null||m===void 0?void 0:m.showRecommended,je=async F=>{let j=F==null?void 0:F.disableAds,Q=F==null?void 0:F.status,ee=F==null?void 0:F.assetUrl;if(ee){var ve,ye,Pe;const{data:he}=await H.A.get(ee);let de=window==null||(Pe=window.app_data)===null||Pe===void 0||(ye=Pe.a
1ppcmsMain)===null||ye===void 0||(ve=ye.articleConfig)===null||ve===void 0?void 0:ve.adPositions,oe=he==null?void 0:he.split("</p>");if(oe!=null&&oe.length){!j&&(de!=null&&de.length)&&de.map((pe,Te)=>{oe.splice(pe+Te,0,'<p class="freewheel-ad-container" >')}),oe=oe.join("</p>");let ae=Ge(oe);const ce=(0,b.truncateRawHtml)(ae);me(Q?ae:ce)}else{let ae=Ge(he);const ce=(0,b.truncateRawHtml)(ae);me(Q?ae:ce)}}},Ge=F=>{let Q=new DOMParser().parseFromString(F,"text/html"),ee=Q.querySelectorAll("div.gallery"),ve={};ee.length&&ee.forEach((de,oe)=>{var ae;let pe=Array.from(de.getElementsByClassName("gallery-item")).map(xe=>xe.children[0].getAttribute("src"));ve[`gallery-${oe+1}`]=pe;let Te=document.createElement("div");Te.classList.add(`gallery-${oe+1}`),(ae=de.parentElement)===null||ae===void 0||ae.replaceChild(Te,de)}),Q.querySelectorAll("table").forEach(de=>{var oe,ae,ce;if(!((ae=de.parentElement)===null||ae===void 0||(oe=ae.classList)===null||oe===void 0)&&oe.contains("article-table-scroll"))return;const pe=Q.createElement("div");pe.className="article-table-scroll",pe.setAttribute("role","region"),pe.setAttribute("aria-label","Scrollable table"),pe.setAttribute("tabindex","0"),(ce=de.parentNode)===null||ce===void 0||ce.insertBefore(pe,de),pe.appendChild(de)}),Fe(ve);let ye=Q.getElementsByTagName("body")[0];return new XMLSerializer().serializeToString(ye)},el=F=>{je(F)};(0,i.useEffect)(()=>{const F=s.default.get("app-token");I().subscribe("render-article-body",el),(0,b.getArticleStatus)(l.contentData[0].gist).then(j=>{var Q,ee,ve,ye,Pe,he;let de=(j==null||(ve=j.data)===null||ve===void 0||(ee=ve.article)===null||ee===void 0||(Q=ee.articleAssets)===null||Q===void 0?void 0:Q.url)||null,oe=(j==null||(he=j.data)===null||he===void 0||(Pe=he.article)===null||Pe===void 0||(ye=Pe.plans)===null||ye===void 0?void 0:ye.length)&&j.data.article.plans.filter(ce=>(ce==null?void 0:ce.type)==="AVOD"),ae=!(oe!=null&&oe.length);F?I().publish("render-article-body",{status:!0,assetUrl:de,disableAds:ae}):(0,b.articleSecurityWall)(j.data,je,B,Ce,l.contentData[0],de,ae),A(!1)})},[]);function ll(F){var j=document.getElementsByTagName("script");if(j.length){for(var Q=j.length;Q--;)if(j[Q].src==F)return!0;return!1}return!1}function il(F){return new Promise(function(j,Q){if(ll(F)){var ee=document.createElement("script");ee.onload=function(){j("loaded")},ee.onerror=function(){Q()},ee.src=F,document.body.appendChild(ee)}else j("not loaded")})}(0,i.useEffect)(()=>{let F=document.getElementsByClassName("article-data"),j=F.length?F[0].childElementCount:null;!f&&j&&il("https://platform.twitter.com/widgets.js")},[f,ne]),(0,i.useEffect)(()=>(Oe(window==null?void 0:window.innerWidth),(window==null?void 0:window.innerWidth)>1024&&window.addEventListener("scroll",we),dl(),(0,W.default)(),ol(window.location.href),window.addEventListener("resize",Se),Ie({...te,publishDate:al(),updateDate:rl()}),()=>{window.removeEventListener("resize",Se),window.removeEventListener("scroll",we)}),[]),(0,i.useEffect)(()=>{window.instgrm&&window.instgrm.Embeds.process()},[window.instgrm]);function ol(F){let j=(F==null?void 0:F.split("?").length)>0?F==null?void 0:F.split("?")[1]:null;if(j){let ee=j.split("&")||[j];for(let ve=0;ve<ee.length;ve++){var Q;((Q=ee[ve])===null||Q===void 0?void 0:Q.split("=")).includes("app")&&Be(!0)}}}const tl=(F,j)=>{F.preventDefault(),De(!0),document.getElementsByTagName("body")[0].style.overflow="hidden"},nl=()=>{De(!1),document.getElementsByTagName("body")[0].style.overflow="unset"},dl=()=>{var F,j,Q;let ee=`${window==null||(Q=window.app_data)===null||Q===void 0||(j=Q.appcmsMain)===null||j===void 0||(F=j.apiConfig)===null||F===void 0?void 0:F.apiBaseUrl}/v3/content/personalize`;(0,S.gf)().then(ve=>{var ye,Pe,he,de,oe,ae,ce,pe;const Te=(0,M.getStorageItem)("AuthenticationStore");if(!(!(Te==null||(ye=Te.user)===null||ye===void 0)&&ye.userId)){A(!1);return}let xe={site:window==null||(he=window.app_data)===null||he===void 0||(Pe=he.site)===null||Pe===void 0?void 0:Pe.siteInternalName,contentType:"ARTICLE",limit:10,contentId:!(y==null||(oe=y.moduleData)===null||oe===void 0||(de=oe.contentData)===null||de===void 0)&&de.length?(ce=y.moduleData.contentData[0])===null||ce===void 0||(ae=ce.gist)===null||ae===void 0?void 0:ae.id:"",deviceId:localStorage.getItem("deviceId"),userState:Te==null||(pe=Te.user)===null||pe===void 0?void 0:pe.userState};(0,H.A)({method:"GET",url:ee,params:xe,headers:{Authorization:ve,"x-api-key":window==null?void 0:window.xApiKey}}).then(Ne=>{var Ke,ke;let Je=Ne==null||(ke=Ne.data)===null||ke===void 0||(Ke=ke.records)===null||Ke===void 0?void 0:Ke.map(ze=>ze==null?void 0:ze.contents);Je.length&&ge(Je[0])}).catch(Ne=>{A(!1),console.log("unable to fetch recommended data",Ne)}
1)}).catch(ve=>{A(!1),console.log("error in fetching the token",ve)})},al=()=>`${(0,b.getMonthName)(K==null?void 0:K.publishDate)} ${(0,b.getDayFormat)(K==null?void 0:K.publishDate)}, ${(0,b.getYearFormat)(K==null?void 0:K.publishDate)}`,rl=()=>`${(0,b.getMonthName)(K==null?void 0:K.updateDate)} ${(0,b.getDayFormat)(K==null?void 0:K.updateDate)} at ${(0,b.getTimeFormat)(K==null?void 0:K.updateDate)}`;return i.createElement(i.Fragment,null,f?i.createElement("div",{className:"loader-wrapper"},i.createElement(t.A,null)):i.createElement("div",{className:"article-container"},Object.keys(be).length?i.createElement(w.default,{galleryCarouselList:be}):i.createElement(i.Fragment,null),i.createElement(h.A,{metadataMap:B,subscriptionPopupFonts:Ze}),i.createElement("div",{id:"article-content-id",className:Ae?"left-section":"web-section left-section",onScroll:()=>ue>1024?we():null,style:le!=null&&le.length?{backgroundColor:q==null?void 0:q.leftModuleBackgroundColor,width:"70%"}:{backgroundColor:q==null?void 0:q.leftModuleBackgroundColor}},i.createElement("div",{className:"article-head"},i.createElement("div",{className:"author-content"},i.createElement("h3",{style:He},K==null||(u=K.gist)===null||u===void 0?void 0:u.title),i.createElement("h5",{style:re},K==null||(c=K.gist)===null||c===void 0?void 0:c.description),i.createElement("p",{style:re},"by ",K==null||(n=K.author)===null||n===void 0?void 0:n.name," ",(q==null?void 0:q.enablePublishedDate)&&(te==null?void 0:te.publishDate)&&`| ${B==null?void 0:B.publishedText} ${te==null?void 0:te.publishDate}`," ",(q==null?void 0:q.enableUpdatedDate)&&(te==null?void 0:te.updateDate)&&`| ${B==null?void 0:B.updatedText} ${te==null?void 0:te.updateDate}`))),i.createElement("div",{className:"article-content-wrapper"},i.createElement("div",{className:"article-body"},i.createElement("div",{className:"article-carousel"},$e!=null&&$e.length?i.createElement(E.default,{imageList:$e}):i.createElement(i.Fragment,null)),i.createElement("div",{className:"article-data",key:Date(),dangerouslySetInnerHTML:{__html:ne},style:re}),ne?i.createElement(C.default,{metadata:Le,articleData:ne}):i.createElement(i.Fragment,null)),i.createElement("div",{className:le.length?"article-icon-box icon-box-left":"article-icon-box",ref:ie},i.createElement(L.A,{layoutSettings:q,direction:ue>1024?"column":"row",isArticlePage:!0,content:y==null||(Y=y.moduleData)===null||Y===void 0?void 0:Y.contentData[0],data:{title:y==null||(k=y.moduleData)===null||k===void 0||(e=k.contentData[0])===null||e===void 0||(Z=e.gist)===null||Z===void 0?void 0:Z.title,permalink:y==null||(U=y.moduleData)===null||U===void 0||(G=U.contentData[0])===null||G===void 0||(g=G.gist)===null||g===void 0?void 0:g.permalink},isSharing:se,closeShare:nl,toggleShare:tl})))),qe&&(le!=null&&le.length)?i.createElement("div",{className:"right-section",style:{backgroundColor:q==null?void 0:q.rightModuleBackgroun
1dColor}},i.createElement(z.A,{trayStyles:{trayTitle:Me,trayItem:We},isRedirect:!0,isArticlePage:!0,data:le,isDownloadIcon:!1,title:(B==null?void 0:B.trayTitle)||"Keep Reading",moduleType:(y==null||(X=y.moduleData)===null||X===void 0?void 0:X.moduleType)||(y==null||(r=y.moduleData)===null||r===void 0||($=r.layout)===null||$===void 0?void 0:$.type),moduleId:y==null||(J=y.moduleData)===null||J===void 0?void 0:J.id})):i.createElement(i.Fragment,null)))};a.d(x,["ArticleDetailModule",0,R])},26691(Ee,x,a){a.r(x);var i=a(41846);const H=i.ArticleDetailModule;a.d(x,["default",0,H])},25806(Ee,x,a){a.r(x);var i=a(19324),H=a(65608),z=a(83428),S=a(43543);const L=async t=>{var O,I,W,b,s,h,C;const w=await(0,z.fetchAuthenticationStoreData)(),{user:E,tveProvider:M}=w,R=(b=window)===null||b===void 0||(W=b.app_data)===null||W===void 0||(I=W.appcmsMain)===null||I===void 0||(O=I.features)===null||O===void 0?void 0:O.free_preview,y=(R==null?void 0:R.isFreePreview)||!1,D=(t==null||(s=t.monetizationModels)===null||s===void 0?void 0:s.filter(u=>u==null?void 0:u.type))||[],N=D==null?void 0:D.some(u=>(u==null?void 0:u.type)==="FREE"),P=D==null?void 0:D.some(u=>(u==null?void 0:u.type)==="TVE"),V=D==null?void 0:D.some(u=>(u==null?void 0:u.type)==="SVOD"),T=D==null?void 0:D.some(u=>(u==null?void 0:u.type)==="TVOD"),p=D==null?void 0:D.some(u=>(u==null?void 0:u.type)==="AVOD"),o=()=>y&&!N||!y&&!N;if(!E)return p&&!P&&!V&&!T?!1:o();const d=(0,H.Dq)(E,t==null?void 0:t.plans),v=await(0,z.isTvodSubscribed)(t==null||(h=t.gist)===null||h===void 0?void 0:h.id);let m=M;return M&&(!(E==null||(C=E.subscription)===null||C===void 0)&&C.tveSubscriptions)&&(m=(0,H.Ih)(E,t==null?void 0:t.plans)),N?!N:p&&!P&&!V&&!T?!p:P&&V?!(d||m):P?!m:V?!d:T?!v:o()},_=async t=>{try{var O,I,W,b,s,h,C,w,E,M,R;let{userId:N,hba:P}=await(0,S.CX)(),V=(w=window)===null||w===void 0||(C=w.app_data)===null||C===void 0||(h=C.appcmsMain)===null||h===void 0||(s=h.apiConfig)===null||s===void 0?void 0:s.apiBaseUrl,T=t==null||(E=t.gist)===null||E===void 0?void 0:E.id,p=sessionStorage.getItem("locationCoords"),o=JSON.parse(p),d=(O=(I=P==null?void 0:P.latitude)!==null&&I!==void 0?I:o==null?void 0:o.latitude)!==null&&O!==void 0?O:null,v=(W=(b=P==null?void 0:P.longitude)!==null&&b!==void 0?b:o==null?void 0:o.longitude)!==null&&W!==void 0?W:null,m=await(0,S.gf)(n=>n),u={id:T,deviceType:"web_browser",contentConsumption:"web",latitude:d,longitude:v},c=await i.A.get(`${V}/v3/entitlement/series`,{params:u,headers:{authorization:m}});return c==null||(R=c.data)===null||R===void 0||(M=R.series)===null||M===void 0?void 0:M.plans}catch(N){var y,D;let P=N==null||(D=N.response)===null||D===void 0||(y=D.data)===null||y===void 0?void 0:y.plans;return(P==null?void 0:P.length)&&P||[]}};a.d(x,["checkUserCheckoutFlow",0,L,"fetchSeriesData",0,_])},64707(Ee,x,a){a.d(x,{A:()=>Oe});var i=a(96540),H,z,S,L,_,t,O,I,W,b,s,h,C,w,E,M,R,y,D,N,P,V,T,p,o,d,v,m,u,c,n,Y,Z,e,k,g,G,U,X,$;let r=(L=window)===null||L===void 0||(S=L.app_data)===null||S===void 0||(z=S.appcmsMain)===null||z===void 0||(H=z.brand)===null||H===void 0?void 0:H.monetizationCta,J={backgroundColor:r==null||(_=r.primary)===null||_===void 0?void 0:_.backgroundColor,color:r==null||(t=r.primary)===null||t===void 0?void 0:t.textColor,border:`${r==null||(I=r.primary)===null||I===void 0||(O=I.border)===null||O===void 0?void 0:O.width} solid ${r==null||(b=r.primary)===null||b===void 0||(W=b.border)===null||W===void 0?void 0:W.color}`},ne={backgroundColor:r==null||(s=r.primaryHover)===null||s===void 0?void 0:s.backgroundColor,color:r==null||(h=r.primaryHover)===null||h===void 0?void 0:h.textColor,border:`${r==null||(w=r.primaryHover)===null||w===void 0||(C=w.border)===null||C===void 0?void 0:C.width} solid ${r==null||(M=r.primaryHover)===null||M===void 0||(E=M.border)===null||E===void 0?void 0:E.color}`},me={backgroundColor:r==null||(R=r.secondary)===null||R===void 0?void 0:R.backgroundColor,color:r==null||(y=r.secondary)===null||y===void 0?void 0:y.textColor,border:`${r==null||(N=r.secondary)===null||N===void 0||(D=N.border)===null||D===void 0?void 0:D.width} solid ${r==null||(V=r.secondary)===null||V===void 0||(P=V.border)===null||P===void 0?void 0:P.color}`},le={backgroundColor:r==null||(T=r.secondaryHover)===null||T===void 0?void 0:T.backgroundColor,color:r==null||(p=r.secondaryHover)===null||p===void 0?void 0:p.textColor,border:`${r==null||(d=r.secondaryHover)===null||d===void 0||(o=d.border)===null||o===void 0?void 0:o.width} solid ${r==null||(m=r.secondaryHover)===null||m===void 0||(v=m.border)===null||v===void 0?void 0:v.color}`},ge={backgroundColor:r==null||(u=r.option)===null||u===void 0?void 0:u.backgroundColor,color:r==null||(c=r.option)===null||c===void 0?void 0:c.textColor,border:`${r==null||(Y=r.option)===null||Y===void 0||(n=Y.border)===null||n===void 0?void 0:n.width} solid ${r==null||(e=r.option)===null||e===void 0||(Z=e.border)===null||Z===void 0?void 0:Z.color}`},ue={backgroundColor:r==null||(k=r.optionHover)===null||k===void 0?void 0:k.backgroundColor,color:r==null||(g=r.o
1ptionHover)===null||g===void 0?void 0:g.textColor,border:`${r==null||(U=r.optionHover)===null||U===void 0||(G=U.border)===null||G===void 0?void 0:G.width} solid ${r==null||($=r.optionHover)===null||$===void 0||(X=$.border)===null||X===void 0?void 0:X.color}`};function Oe(f){return function(A){const[fe,_e]=(0,i.useState)({});return(0,i.useEffect)(()=>{let ie=A==null?void 0:A.ctaStyleType,se={cta:J,ctaHover:ne};ie=="secondary"&&(se.cta=me,se.ctaHover=le),ie=="default"&&(se.cta=ge,se.ctaHover=ue),_e(se)},[]),i.createElement(f,{...A,ctaStyles:fe})}}},65608(Ee,x,a){var i=a(12308),H=a(48220),z,S,L;let _=(L=window)===null||L===void 0||(S=L.app_data)===null||S===void 0||(z=S.appcmsMain)===null||z===void 0?void 0:z.genericMessages,t={buy:_==null?void 0:_.buy,rent:_==null?void 0:_.rent,svod:_==null?void 0:_.svod,svod_buy:_==null?void 0:_.svodBuy,svod_rent:_==null?void 0:_.svodRent,svod_purchase:_==null?void 0:_.svodPurchase,purchase:_==null?void 0:_.purchase,svod_tve:_==null?void 0:_.svodTveSubscriptionNotFound};const O=async(s,h,C)=>{let w=(0,i.getStorageItem)("AuthenticationStore"),E=w==null?void 0:w.user;if(E){let M=I(E,h),R=await b(C);return M||R?!1:t[s]}else return t[s]},I=(s,h)=>{var C,w,E,M;let R=JSON.parse(localStorage.getItem("planGroupList")),y=h!=null&&h.length?h==null?void 0:h.filter(T=>(T==null?void 0:T.type)==="SVOD"):[],D=y.map(T=>T==null?void 0:T.planIds),N=y.map(T=>T==null?void 0:T.planGroupIds);N==null||N.forEach(T=>{T&&D.push(R[T])});let P=s==null||(w=s.subscription)===null||w===void 0||(C=w.subscriptionInfo)===null||C===void 0?void 0:C.planId,V=s==null||(M=s.subscription)===null||M===void 0||(E=M.subscriptionInfo)===null||E===void 0?void 0:E.subscriptionStatus;if(s!=null&&s.isVip)return!0;if(D!=null&&D.length){if((0,H.sm)()){let p=!1;if(D==null||D.filter(o=>{o!=null&&o.includes("svodAll")&&(p=!0)}),p)return p}let T=!1;return D==null||D.filter(p=>{p!=null&&p.includes(P)&&(0,H.sm)(V)&&(T=!0)}),T}else return!1},W=(s,h)=>{var C,w,E,M,R;if(!((s==null||(C=s.tveMetadata)===null||C===void 0?void 0:C.tveProvider)||(s==null?void 0:s.tveProvider)))return!1;let D=JSON.parse(localStorage.getItem("planGroupList"))||{},N=h!=null&&h.length?h==null?void 0:h.filter(p=>(p==null?void 0:p.type)==="TVE"||(p==null?void 0:p.monetizationModel)==="TVE"):[],P=N.map(p=>(p==null?void 0:p.planIds)||[p==null?void 0:p.id]),V=N.map(p=>p==null?void 0:p.planGroupIds);P!=null&&P.length&&(P==null||P.forEach(p=>{p!=null&&p.length&&(P=[...p.flat()])})),V!=null&&V.length&&(V==null||V.forEach(p=>{if(p!=null&&p.length){let o=p.map(d=>D[d]);o!=null&&o.length&&P.push(...o.flat())}}));let T=!(s==null||(w=s.subscription)===null||w===void 0)&&w.tveSubscriptions?s==null||(M=s.subscription)===null||M===void 0||(E=M.tveSubscriptions)===null||E===void 0?void 0:E.map(p=>p==null?void 0:p.planId):[s==null||(R=s.tveMetadata)===null||R===void 0?void 0:R.planId];if(P!=null&&P.length){if(s!=null&&s.isVip)return!0;if((0,H.sm)()){let v=!1;if(P==null||P.filter(m=>{m!=null&&m.includes("tveAll")&&(v=!0)}),v)return v}let p=!1;const o=new Set(P);return p=T==null?void 0:T.some(v=>o.has(v)),p}else return!1},b=async s=>{let h=(0,i.getStorageItem)("transactionUserList"),C=h==null?void 0:h.transactionUserList,w=!1;var E={};for(var M in C)E[C[M]]=C[M];return C!=null&&C.length&&typeof E[s]!="undefined"&&(w=!0),w};a.d(x,["Dq",0,I,"Ih",0,W,"JY",0,O])},65086(Ee,x,a){a.d(x,{A:()=>S});var i=a(96540),H=a(47281),z=a(57261);function S({moduleId:L}){var _,t,O,I,W,b,s,h,C,w,E,M;if(!(!((I=app_data)===null||I===void 0||(O=I.appcmsMain)===null||O===void 0||(t=O.features)===null||t===void 0||(_=t.spoilerControl)===null||_===void 0)&&_.enable))return null;const R=(0,z.CS)(L),[y,D]=(0,i.useState)(!0),[N,P]=(0,i.useState)(R||!1),[V,T]=(0,i.useState)(N||!1);(0,i.useEffect)(()=>{setTimeout(()=>p(),200)},[L]);const p=()=>{D(!0),console.log("On Load initializeHardwallOverlay:",L,N),d(L,N?"block":"none");let v=(0,z.Je)();v!=null&&v.includes(L)?(T(!1),D(!1)):(T(N),D(!1))};(0,i.useEffect)(()=>{(0,H.subscribeModuleHideScores)(L,v=>{console.log("Module hide scores changed:",v,L),P(v);let m=(0,z.Je)();m!=null&&m.includes(L)?T(!1):T(v)})},[]);const o=()=>{d(L,"none");let v=(0,z.Je)();v.push(L),(0,z.jv)(v),T(!1)},d=(v,m="none")=>{document.querySelectorAll(`[data-id="hideScoresOverlay-${v}"]`).forEach(c=>{c.style.display=m})};return i.createElement(i.Fragment,null,!y&&N&&V&&i.createElement("div",{className:"hide-scores-overlay","data-id":`hide
1ScoresOverlay-${L}`},i.createElement("div",{className:"overlay-module"},i.createElement("div",{className:"overlay-desc"},((h=window)===null||h===void 0||(s=h.app_data)===null||s===void 0||(b=s.appcmsMain)===null||b===void 0||(W=b.genericMessages)===null||W===void 0?void 0:W.hideScoreShowDetailsDesc)||"Content is hidden to prevent spoilers."),i.createElement("div",{className:"overlay-cta"},i.createElement("span",{className:"button",onClick:()=>o()},((M=window)===null||M===void 0||(E=M.app_data)===null||E===void 0||(w=E.appcmsMain)===null||w===void 0||(C=w.genericMessages)===null||C===void 0?void 0:C.hideScoreShowDetailsCta)||"Show Details")))))}},57293(Ee,x,a){var i=a(96540),H=a(51612);const z=(({className:S,to:L,onClick:_,isArticlePage:t})=>i.createElement("button",{"aria-label":L,type:"button",onClick:_,className:`button button--text button--icon ${S}`},t?(0,H.nG)():(0,H.D6)()));a.dn(z),a.d(x,["A",0,z])},63046(Ee,x,a){a.r(x);var i=a(96540),H=a(3026);const S=({galleryCarouselList:L})=>((0,i.useEffect)(()=>{Object.keys(L).length&&Object.keys(L).map((_,t)=>{let O=document.querySelector(`.${_}`),I=document.querySelector(`.gallery-carousel-${t+1}`);O==null||O.replaceWith(O,I)})},[L]),i.createElement(i.Fragment,null,Object.keys(L).length?Object.keys(L).map((_,t)=>i.createElement("div",{className:`carousel-wrapper gallery-carousel-${t+1}`},i.createElement(H.default,{imageList:L[`gallery-${t+1}`]}))):i.createElement(i.Fragment,null)));a.d(x,["default",0,S])},27573(Ee,x,a){a.r(x);var i=a(96540),H=a(38805),z=a.n(H),S=a(88820);const _=({metadata:t,articleData:O})=>{const I=()=>!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),W=()=>{let b={},s=new Map;return(t==null?void 0:t.length)>0&&(t==null||t.map(h=>{s.set(h.name,h.value)})),b.VIEWLIFT_PROF=s.get("prof.web")||"",b.VIEWLIFT_CSID=s.get("csid.web.dtc")||"",b.VIEWLIFT_CAID=s.get("caid.web")||"mystics2024",b.VIEWLIFT_SLAU=s.get("slau.web"),I()&&(b={...b,VIEWLIFT_CSID:s.get("csid.mweb.dtc")||""}),b};return(0,i.useEffect)(()=>{const b=async()=>{try{let h=W();const C=document.querySelectorAll(".freewheel-ad-container");if(C!=null&&C.length){for(let w=0;w<C.length;w++){var s;let E=document.createElement("div");E.classList.add("ad-container"),E.innerHTML=`<span id="SSNT_${w+1}" class="_fwph" >
2                            <form id="_fw_form_SSNT_${w+1}" style="display:none">
3                                <input type="hidden" name="_fw_input_SSNT_${w+1}" id="_fw_input_SSNT_${w+1}" value="ptgt=s&h=90&w=728&cd=300,250">
4                            </form>
5                            <span id="_fw_container_SSNT_${w+1}"></span>
6                        </span>`,(s=C[w])===null||s===void 0||s.replaceWith(E,C[w]),C[w].remove()}(0,S.loadFreeWheelSdk)(h)}}catch(h){console.error("Error fetching FreeWheel ad:",h)}};setTimeout(()=>{b()},1e3)},[O]),i.createElement(i.Fragment,null)};a.d(x,["default",0,_])},39019(Ee,x,a){a.r(x),a.d(x,{default:()=>z});const i=()=>{const S=document.createElement("script");S.src="https://www.tiktok.com/embed.js",S.id="tik-tok-embed",S.async=!0,document.body.appendChild(S)},H=()=>{const S=document.createElement("script");S.src="https://platform.instagram.com/en_US/embeds.js",S.id="instagram-embed",S.async=!0,document.body.appendChild(S)};function z(){i(),H()}},88820(Ee,x,a){a.r(x);var i=a(19324),H=a(43543),z=a(51612),S=a(77869),L=a(61171),_=a.n(L),t=a(12308),O=a(48220);const I=o=>new Date(o*1e3),W=o=>{if(!o)return"";const d=I(o);return d==null?void 0:d.toLocaleString("default",{month:"long"})},b=o=>{if(!o)return"";const d=I(o);let v=(d==null?void 0:d.getHours())>12?"pm":"am";return`${(d==null?void 0:d.getHours())%12+":"+((d==null?void 0:d.getMinutes())>=10?d==null?void 0:d.getMinutes():"0"+(d==null?void 0:d.getMinutes()))} ${v}`},s=o=>o?I(o).getFullYear():"",h=o=>o?I(o).getDate():"",C=o=>{const d=/<[^>]+>(.*?)<\/[^>]+>/g;let v,m=0,u=[];for(;(v=d.exec(o))!==null&&(u.push(v[0]),m++,m!==2););return u.join("")},w=async(o,d)=>{var v;let m=(v=window)===null||v===void 0?void 0:v.apiBaseUrl;const u=await(0,H.gf)();let c=`${m}/v3/entitlement/article?id=${o.id}&deviceType=web_browser`,n={headers:{Authorization:u}};return await i.A.get(c,n)},E=()=>{let o=document.querySelector(".article-body"),d=document.createElement("div");d.classList.add("security-wrapper"),o.appendChild(d)},M=(o,d)=>{_().publish("render-article-body",{status:!1,assetUrl:o,disableAds:d})},R=(o,d)=>{_().publish("render-article-body",{status:!0,assetUrl:o,disableAds:d})},y=async(o,d,v,m,u,c,n)=>{var Y;const Z=(0,t.getStorageItem)("AuthenticationStore");let e=Z==null?void 0:Z.user,k=e==null||(Y=e.subscription)===null||Y===void 0?void 0:Y.subscriptionInfo;if(!e)if(o.plans.length==0){R(c,n);return}else{if(o.models.includes("FREE")){o.plans.filter(g=>
6{if(g.monetizationModel=="FREE"){const G=g.featureSetting;if(G.isLoginRequired&&G.isEmailRequired){E(),D(v,m),M(c,n);return}if(G.isLoginRequired){E(),D(v,m),M(c,n);return}if(G.isEmailRequired){E(),N(d,v,m,c),M(c,n);return}R(c,n);return}});return}if(o.models.includes("AVOD")&&!(o.models.includes("SVOD")||o.models.includes("TVOD")||o.models.includes("TVE"))&&R(c,n),o.models.includes("SVOD")||o.models.includes("TVOD")||o.models.includes("TVE")){E(),V(v,m,o,u),M(c,n);return}}if(e&&!(0,O.sm)())if(o.plans.length==0)R(c,n);else{if(o.models.includes("FREE")){o.article.plans.filter(g=>{if(g.type=="FREE"&&!(e!=null&&e.email)){E(),N(d,v,m),M(c,n);return}else R(c,n)});return}if(o.models.includes("AVOD")&&!(o.models.includes("SVOD")||o.models.includes("TVOD")||o.models.includes("TVE"))&&R(c,n),o.models.includes("SVOD")){o.article.plans.filter(g=>{if(g.type=="SVOD"&&!g.planIds.includes(k==null?void 0:k.planId)){E(),V(v,m,o,u),M(c,n);return}});return}if(o.models.includes("TVOD")){o.article.plans.filter(g=>{if(g.type=="TVOD"&&!g.planIds.includes(k==null?void 0:k.planId)){E(),V(v,m,o,u),M(c,n);return}});return}if(o.models.includes("TVE")){o.article.plans.filter(g=>{var G;if(e!=null&&e.tveProvider||!(e==null||(G=e.tveMetadata)===null||G===void 0)&&G.tveProvider){R(c,n);return}else E(),V(v,m,o,u),M(c,n)});return}}e&&(0,O.sm)()&&(o.plans.length==0?R(c,n):o.article.plans.filter(g=>{if(g.planIds.includes("svodAll")){R(c,n);return}else{if(o.models.includes("FREE")){o.article.plans.filter(U=>{if(U.type=="FREE"&&!(e!=null&&e.email)){E(),N(d),M(c,n);return}else R(c)});return}if(o.models.includes("SVOD")){o.article.plans.filter(U=>{if(U.type=="SVOD"&&U.planIds.includes(k==null?void 0:k.planId)){R(c,n);return}else{E(),V(v,m,u),M(c,n);return}});return}if(o.models.includes("TVOD")){o.article.plans.filter(U=>{if(U.type=="TVOD"&&U.planIds.includes(k==null?void 0:k.planId)){R(c,n);return}else{E(),V(v,m,u),M(c,n);return}});return}if(o.models.includes("TVE")){var G;if(e!=null&&e.tveProvider||!(e==null||(G=e.tveMetadata)===null||G===void 0)&&G.tveProvider){d(!0);return}else E(),V(v,m,o,u)}if(o.models.includes("AVOD")){R(c);return}}}))},D=(o,d)=>{var v;const{loginButtonFont:m,loginWallTitleFont:u}=(0,S.getFontsStyles)(d==null?void 0:d.fontSetting,d==null?void 0:d.settings),c=`<div class="non-login-wrapper">
7    <p class="title" style="font-size:${(u==null?void 0:u.fontSize)||"20px"}; font-family:${(u==null?void 0:u.fontFamily)||"AcuminProBlack"}">${(o==null?void 0:o.loginTitle)||"Hello, You\u2019re reading a exclusive article!"}</p>
8    <p class="sub-title" style="font-size:${(u==null?void 0:u.fontSize)||"20px"}; font-family:${(u==null?void 0:u.fontFamily)||"AcuminProBlack"}">${(o==null?void 0:o.loginSubtitle)||"Login to continue reading"}</p>
9    <button aria-label="Login" id="loginAction" style="font-size:${(m==null?void 0:m.fontSize)||"14px"}; font-family:${(m==null?void 0:m.fontFamily)||"AcuminProSemiBold"}; background:${(d==null||(v=d.settings)===null||v===void 0?void 0:v.loginBtnBackgroundColor)||"#cf0a2c"}"><svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
10    <path d="M11.8334 6.66667V5.33333C11.8334 3.49238 10.341 2 8.50008 2C6.65913 2 5.16675 3.49238 5.16675 5.33333V6.66667M8.50008 9.66667V11M6.36675 14H10.6334C11.7535 14 12.3136 14 12.7414 13.782C13.1177 13.5903 13.4237 13.2843 13.6154 12.908C13.8334 12.4802 13.8334 11.9201 13.8334 10.8V9.86667C13.8334 8.74656 13.8334 8.18651 13.6154 7.75869C13.4237 7.38236 13.1177 7.0764 12.7414 6.88465C12.3136 6.66667 11.7535 6.66667 10.6334 6.66667H6.36675C5.24664 6.66667 4.68659 6.66667 4.25877 6.88465C3.88244 7.0764 3.57648 7.38236 3.38473 7.75869C3.16675 8.18651 3.16675 8.74656 3.16675 9.86667V10.8C3.16675 11.9201 3.16675 12.4802 3.38473 12.908C3.57648 13.2843 3.88244 13.5903 4.25877 13.782C4.68659 14 5.24664 14 6.36675 14Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
11    </svg> ${(o==null?void 0:o.loginBtnText)||"Login Now"}</button>
12    </div>`;document.querySelector(".security-wrapper").insertAdjacentHTML("beforeend",c),document.getElementById("loginAction").addEventListener("click",()=>{var Y;(0,t.setStorageItem)("isRedirected",{path:(Y=location)===null||Y===void 0?void 0:Y.pathname,redirect:!0}),window.location.href="/redeem-authentication"})},N=(o,d,v,m)=>{var u;const{emailWallTitleFont:c,continueButtonFont:n}=(0,S.getFontsStyles)(v==null?void 0:v.fontSetting,v==null?void 0:v.settings);let Y=document.querySelector(".security-wrapper");const Z=`<div class="consent-wrapper"> 
13    <p class="title" style="font-size:${(c==null?void 0:c.fontSize)||"20px"}; font-family:${(c==null?void 0:c.fontFamily)||"AcuminProBlack"}">${(d==null?void 0:d.emailConsentTitle)||"Hello, You're reading a exclusive article!"}</p>
14    <p class="sub-title" style="font-size:${(c==null?void 0:c.fontSize)||"20px"}; font-family:${(c==null?void 0:c.fontFamily)||"AcuminProBlack"}">${(d==null?void 0:d.emailConsentSubtitle)||"To continue reading uninterrupted, enter your detail"}</p>
15    <input aria-labelledby="Enter Email" id="emailConsentInput" type="email" placeholder="Enter Email"/>
16    <button aria-label="Email Consent" id="emailConsentAction" style="font-size:${(n==null?void 0:n.fontSize)||"14px"}; font-family:${(n==null?void 0:n.fontFamily)||"AcuminProSemiBold"}; background:${(v==null||(u=v.settings)===null||u===void 0?void 0:u.continueBtnBackgroun
16dColor)||"#cf0a2c"}"><svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M11.8334 6.66667V5.33333C11.8334 3.49238 10.341 2 8.50008 2C6.65913 2 5.16675 3.49238 5.16675 5.33333V6.66667M8.50008 9.66667V11M6.36675 14H10.6334C11.7535 14 12.3136 14 12.7414 13.782C13.1177 13.5903 13.4237 13.2843 13.6154 12.908C13.8334 12.4802 13.8334 11.9201 13.8334 10.8V9.86667C13.8334 8.74656 13.8334 8.18651 13.6154 7.75869C13.4237 7.38236 13.1177 7.0764 12.7414 6.88465C12.3136 6.66667 11.7535 6.66667 10.6334 6.66667H6.36675C5.24664 6.66667 4.68659 6.66667 4.25877 6.88465C3.88244 7.0764 3.57648 7.38236 3.38473 7.75869C3.16675 8.18651 3.16675 8.74656 3.16675 9.86667V10.8C3.16675 11.9201 3.16675 12.4802 3.38473 12.908C3.57648 13.2843 3.88244 13.5903 4.25877 13.782C4.68659 14 5.24664 14 6.36675 14Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/> </svg> ${(d==null?void 0:d.continueBtnText)||"continue"}</button>
17    <p class="note">${(d==null?void 0:d.emailConsentNote)||"By signing up, you are creating an account and agree to the Monumental Sports Network Terms of Service"}</p>
18    </div>`;Y.insertAdjacentHTML("beforeend",Z),document.getElementById("emailConsentAction").addEventListener("click",async()=>{var e;let k=`${(e=window)===null||e===void 0?void 0:e.apiBaseUrl}/v2/identity/email/capture?device=web_browser`;const g=await(0,H.gf)();let G={emailConsent:!0,email:document.getElementById("emailConsentInput").value},U={headers:{Authorization:g,"x-api-key":window.xApiKey}};i.A.post(k,G,U).then(X=>{X.data.success&&(document.querySelector("body").style.overflow="unset",document.querySelector("body").style.position="unset",document.getElementsByClassName("security-wrapper")[0].parentNode.removeChild(document.getElementsByClassName("security-wrapper")[0]),R(m))}).catch(X=>{var $,r,J,ne;if((X==null||(r=X.response)===null||r===void 0||($=r.data)===null||$===void 0?void 0:$.code)=="EMAIL_ALREADY_LINKED"||(X==null||(ne=X.response)===null||ne===void 0||(J=ne.data)===null||J===void 0?void 0:J.code)=="EMAIL_NOT_VALID"){const me={EMAIL_ALREADY_LINKED:"Email already linked.",EMAIL_NOT_VALID:"Please enter a valid email."};let le=document.getElementsByClassName("consent-wrapper")[0];const ge=le.querySelector(".err-text");ge&&ge.remove();let ue=document.createElement("p");ue.classList.add("err-text"),ue.textContent=me[X.response.data.code]||"Something went wrong. Please try again.",le.insertBefore(ue,le.children[3].nextSibling)}})})},P=(o,d,v)=>{const m=document.createElement("button");m.innerText="See More",m.addEventListener("click",()=>{let u={isOpen:!0,plansData:d,contentDetails:v};_().publish("subscription-modal",u)}),o.appendChild(m)},V=async(o,d,v,m)=>{var u;const{subscriptionWallTitle:c,plan:n}=(0,S.getFontsStyles)(d==null?void 0:d.fontSetting,d==null?void 0:d.settings),Y=d==null||(u=d.settings)===null||u===void 0?void 0:u.showMonetizationBadge,Z=d==null?void 0:d.settings;let e=document.querySelector(".security-wrapper");const k=document.createElement("div");k.classList.add("subscription-wrapper");const g=`<p class="title" style="font-size:${(c==null?void 0:c.fontSize)||"22px"}; font-family:${(c==null?void 0:c.fontFamily)||"AcuminProBlack"}">${(o==null?void 0:o.subscriptionTitle)||"Gain access to live games, exclusive content and more."}</p>
19    ${Y?`<p class="sub-title"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> <rect width="16" height="16" fill="#CF0A2C"/> <path d="M12.7173 10.1516H3.28292L2.14429 5.44916L5.82635 7.53421L7.98532 4L10.1739 7.53421L13.8559 5.44916L12.7173 10.1516Z" fill="white"/> <path d="M12.6286 10.6248H3.35685V12H12.6286V10.6248Z" fill="white"/> </svg> ${(o==null?void 0:o.subscriptionSubtitle)||"Subscribe to continue reading"}</p>`:""}`;k.insertAdjacentHTML("beforeend",g);const U=v==null?void 0:v.plans,X=T({plans:U,metadataMap:o});Object.values(X).map(($,r)=>{if(r>1)return;const J=document.createElement("div");J.className=`subscription-plans-container index-${r+1}`,J.id=$==null?void 0:$.id,J.classList.contains("index-1")?(J.style.backgroundColor=(Z==null?void 0:Z.subscriptionPrimaryBackgroun
19dColor)||"#cf0a2c",J.style.color="#ffffff"):(J.style.backgroundColor=(Z==null?void 0:Z.subscriptionSecondaryBackgroundColor)||"#bfc3c4",J.style.color="#000000");const ne=document.createElement("div");ne.classList.add("plans-wrapper");const me=document.createElement("p");me.textContent=$.title,me.style.marginBottom=0,ne.appendChild(me);const le=document.createElement("p");le.textContent=`${$.subTitle}`,le.style.marginTop=0,le.style.fontFamily=(n==null?void 0:n.fontFamily)||"AcuminProRegular",le.style.fontSize=(n==null?void 0:n.fontSize)||"14px",ne.appendChild(le),J.appendChild(ne);const ge=document.createElement("p");ge.textContent=`${$.currency} ${$==null?void 0:$.amount}/${(0,H.ps)($==null?void 0:$.cycleType,$==null?void 0:$.renewalCyclePeriodMultiplier)||""}`,ge.style.fontFamily=(n==null?void 0:n.fontFamily)||"AcuminProSemiBold",ge.style.fontSize=(n==null?void 0:n.fontSize)||"14px",J.appendChild(ge),k.appendChild(J),J.addEventListener("click",async()=>{const ue=(0,t.getStorageItem)("AuthenticationStore");if(ue==null?void 0:ue.user){var f,A,fe,_e;let se=!(!((f=J.id)===null||f===void 0)&&f.includes("SVOD")),De=!((A=J.id)===null||A===void 0)&&A.includes("SVOD")?"Svod":!((fe=J.id)===null||fe===void 0)&&fe.includes("Buy")?"Buy":"Rent";(0,t.setStorageItem)("transactionData",{isPurchase:se,planDetails:X[J.id],purchaseType:De,contentDetails:m}),(0,t.setStorageItem)("isRedirected",{path:(_e=location)===null||_e===void 0?void 0:_e.pathname,redirect:!0,isDetailPage:!0}),window.location.href="/subscription"}else{var ie;(0,t.setStorageItem)("isRedirected",{path:(ie=location)===null||ie===void 0?void 0:ie.pathname,redirect:!0}),window.location.href="/authentication"}})}),Object.keys(X).length>2&&P(k,X,m),e.appendChild(k)},T=({metadataMap:o,plans:d})=>{let v={},m=0,u=0,c=0;return d==null||d.map((n,Y)=>{var Z;let e=!(n==null||(Z=n.planDetails)===null||Z===void 0)&&Z.length?n==null?void 0:n.planDetails[0]:[];if((n==null?void 0:n.monetizationModel)==="SVOD"&&(m++,v[`SVOD-${m}`]={title:(n==null?void 0:n.name)||(e==null?void 0:e.title),id:`SVOD-${m}`,subTitle:(n==null?void 0:n.description)||(e==null?void 0:e.description)||"",amount:e==null?void 0:e.recurringPaymentAmount,currency:e==null?void 0:e.recurringPaymentCurrencyCode,cycleType:n==null?void 0:n.renewalCycleType,renewalCyclePeriodMultiplier:n==null?void 0:n.renewalCyclePeriodMultiplier,plan:n}),(n==null?void 0:n.monetizationModel)==="TVOD"){var k,g,G,U,X;let r=(G=window)===null||G===void 0||(g=G.app_data)===null||g===void 0||(k=g.appcmsMain)===null||k===void 0?void 0:k.genericMessages,J=r==null?void 0:r.buy,ne=r==null?void 0:r.rent;if(!!(!(n==null||(U=n.planDetails[0])===null||U===void 0)&&U.isRentEnabled&&(!(n==null||(X=n.planDetails[0])===null||X===void 0)&&X.isPurchaseEnabled)))u++,v[`Rent-${u}`]={title:ne,id:`Rent-${u}`,subTitle:e!=null&&e.rentalPeriodValue?`${o==null?void 0:o.rentSubText} ${e==null?void 0:e.rentalPeriodValue} ${e==null?void 0:e.rentalPeriodUnit}`:o==null?void 0:o.rentSubText,amount:(e==null?void 0:e.rentAmount)||"",currency:e==null?void 0:e.recurringPaymentCurrencyCode,cycleType:n==null?void 0:n.renewalCycleType,plan:n},c++,v[`Buy-${c}`]={title:J,id:`Buy-${c}`,subTitle:o==null?void 0:o.oneTimePurchaseText,amount:(e==null?void 0:e.purchaseAmount)||"",currency:e==null?void 0:e.recurringPaymentCurrencyCode,cycleType:n==null?void 0:n.renewalCycleType,plan:n};else{var $;!(n==null||($=n.planDetails[0])===null||$===void 0)&&$.isRentEnabled?(u++,v[`Rent-${u}`]={title:ne,id:`Rent-${u}`,subTitle:e!=null&&e.rentalPeriodValue?`${o==null?void 0:o.rentSubText} ${e==null?void 0:e.rentalPeriodValue} ${e==null?void 0:e.rentalPeriodUnit}`:o==null?void 0:o.rentSubText,amount:(e==null?void 0:e.rentAmount)||"",currency:e==null?void 0:e.recurringPaymentCurrencyCode,cycleType:n==null?void 0:n.renewalCycleType,plan:n}):(c++,v[`Buy-${c}`]={title:J,id:`Buy-${c}`,subTitle:o==null?void 0:o.oneTimePurchaseText,amount:(e==null?void 0:e.purchaseAmount)||"",currency:e==null?void 0:e.recurringPaymentCurrencyCode,cycleType:n==null?void 0:n.renewalCycleType,plan:n})}}}),v},p=o=>{(function(){var d="6.11.0";window._fw_linktag_params={scan_delay:0,server:"8156d.v.fwmrm.net",network_id:"529773",profile:o==null?void 0:o.VIEWLIFT_PROF,other_global_params:`csid=${o==null?void 0:o.VIEWLIFT_CSID}&caid=${o==null?void 0:o.VIEWLIFT_CAID}&vprn=12345&pvrn=54321&vdty=variable&vrdu=120;&_fw_vcid2=529773:9bbf3c84-18a1-43ca-9a47-178c18c8f83e;slid=msndisplayt&ptgt=p&slau=${o==null?void 0:o.VIEWLIFT_SLAU}&w=300&h=250`,key_values:"module=DemoPlayer&feature=trackingURLs"};var v=function(){document.addEventListener?document.removeEventListener("DOMContentLoaded",v,!1):window.detachEvent("onload",v),console.log("Document ready"),window._fw_page_ready=!0};document.addEventListener?document.addEventListener("DOMContentLoaded",v,!1):window.attachEvent&&window.attachEvent("onload",v);var m=document.createElement("script");m.type="text/javascript",m.async=!0,m.src=window.location.protocol+"//mssl.fwmrm.net/libs/adm/"+d+"/LinkTag2.js";var u=document.getElementsByTagName("script")[0];u.parentNode.insertBefore(m,u)})()};a.d(x,["articleSecurityWall",0,y,"getArticleStatus",0,w,"getDateFormat",0,I,"getDay
19Format",0,h,"getMonthName",0,W,"getTimeFormat",0,b,"getYearFormat",0,s,"loadFreeWheelSdk",0,p,"truncateRawHtml",0,C])}}]);})();

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.