1"use strict";(()=>{(self.webpackChunkweb_v2=self.webpackChunkweb_v2||[]).push([[612],{76482(ee,B,s){var l=s(96540);const U=(d,h=[],i="",b=!1,F={},w,a="",u={})=>{var p,c,m,g,f,o,I;const le=(u==null?void 0:u.hoverEffect)||"zoomIn",ie=(i==null?void 0:i.visible)||"";if(!i||!ie)return;const R=h.filter(S=>S.type==="IMAGE");if((((p=R[d])===null||p===void 0?void 0:p.type)||null)==="IMAGE"){var n,O,A;const S=w!=="portrait"?`?impolicy=resize&w=1000&h=${562.5}`:`?impolicy=resize&w=305&h=${451.4}`;let q="";w?w==="landscape"?q="r16x9":q="r"+w.replace("*","x"):q="r16x9";const de=q&&((n=R[d])===null||n===void 0?void 0:n.images)&&((O=R[d])===null||O===void 0?void 0:O.images[q]);let dl=(R==null||(A=R[d])===null||A===void 0?void 0:A.title)||"Badge";return de?l.createElement("div",{key:d,className:"badge-image"},l.createElement("img",{style:{borderColor:le==="border"?(u==null?void 0:u.hoverItemBorderColor)||"#ffffff":""},role:"none",src:de+S,className:"badgeImg"})):void 0}const V=(i==null?void 0:i.title)||"",e=(i==null?void 0:i.alignment)||"TopRight",k=(i==null||(c=i.style)===null||c===void 0?void 0:c.backgroundColor)||"transparent",z=(i==null||(m=i.style)===null||m===void 0?void 0:m.gradientColor)||"transparent",j=(i==null||(g=i.style)===null||g===void 0?void 0:g.textColor)||"#ffffff",Y=(i==null||(f=i.style)===null||f===void 0?void 0:f.borderColor)||"#ffffff",Z=(i==null||(o=i.style)===null||o===void 0?void 0:o.borderWidth)||"0px",E=(i==null||(I=i.style)===null||I===void 0?void 0:I.textStyle)||[];let D,W,x;D="normal",W="normal",x="none",(E==null?void 0:E.length)>0&&(E!=null&&E.includes("bold"))&&(D="bold"),(E==null?void 0:E.length)>0&&(E!=null&&E.includes("italic"))&&(W="italic"),(E==null?void 0:E.length)>0&&(E!=null&&E.includes("underline"))&&(x="underline");let N=!1;const H=(h==null?void 0:h.length)>1&&h[0].alignment||"",J=(h==null?void 0:h.length)>1&&h[1].alignment||"";d&&H==J||d&&b===!1&&(H.includes("Center")||J.includes("Center"))&&H.replace(/left|right|center/gi,"")==J.replace(/left|right|center/gi,"")?N=!0:N=!1;let L,M,v,y,r;switch(e){case"bottomCenter":v="auto",y=N?"calc(25px + 4%)":"2%",L="50%",M="auto",r="translateX(-55%)";break;case"bottomLeft":v="auto",y=N?"calc(25px + 4%)":"2%",L="2%",M="auto",r="none";break;case"bottomRight":v="auto",y=N?"calc(25px + 4%)":"2%",L="auto",M=b?"5%":"2%",r="none";break;case"topCenter":v=N?"calc(25px + 4%)":"2%",y="auto",L="50%",M="auto",r="translateX(-55%)";break;case"topLeft":v=N?"calc(25px + 4%)":"2%",y="auto",L="2%",M="auto",r="none";break;case"topRight":v=N?"calc(25px + 4%)":"2%",y="auto",L="auto",M=b?"5%":"2%",r="none";break;default:v=N?"calc(25px + 4%)":"2%",y="auto",L="auto",M=b?"5%":"2%",r="none";break}return l.createElement("div",{key:d,className:"badge-text",style:{background:`linear-gradient(${k}, ${z})`,inset:`${v} ${M} ${y} ${L}`,color:j,border:`${Z} solid ${Y}`,transform:r,...F}},V)};s.d(B,["a",0,U])},80612(ee,B,s){s.d(B,{A:()=>oe});var l=s(96540),U=s(47767),d=s(51612),h=s(27036),i=s(92553),b=s(43543),F=s(61171),w=s.n(F),a=s(26054),u=s(15699),p=s(96599);const m=({data:n,setShowMenuModal:O,updateWatchHistory:A,removeUserWatchHistoryById:V,updateHistoryDataMweb:e,historyMetadataMap:k})=>{var z,j;const[Y,Z]=(0,l.useState)(!1),[E,D]=(0,l.useState)(!1),W=()=>{var v,y;(0,b.YC)(n==null||(v=n.gist)===null||v===void 0?void 0:v.contentType,n==null||(y=n.gist)===null||y===void 0?void 0:y.id).then(r=>{var S;D(r==null||(S=r.data)===null||S===void 0?void 0:S.isLiked)})},x=()=>{var v,y;(0,b.M7)({contentType:n==null||(v=n.gist)===null||v===void 0?void 0:v.contentType,contentId:n==null||(y=n.gist)===null||y===void 0?void 0:y.id}).then(()=>W())},N=()=>{var v,y;(0,b.t7)(n==null||(v=n.gist)===null||v===void 0?void 0:v.id,n==null||(y=n.gist)===null||y===void 0?void 0:y.contentType).then(()=>W())},H=()=>{Z(!1),document.getElementsByTagName("body")[0].style.overflow="unset"},J=()=>{var v;p.A.email(window.location.href,n==null||(v=n.gist)===null||v===void 0?void 0:v.title)},L=()=>{p.A.facebook(window.location.href)},M=()=>{var v;p.A.twitter(window.location.href,n==null||(v=n.gist)===null||v===void 0?void 0:v.title)};return(0,l.useEffect)(()=>{W();
1let v=document.getElementsByTagName("html");return v[0].style.overflow="hidden",()=>{v[0].style.overflow="unset"}},[]),l.createElement(l.Fragment,null,l.createElement("div",{className:"menu-block-wrapper",onClick:v=>{v.stopPropagation(),O(!1)}},l.createElement("button",{className:"tab-heading"},l.createElement("div",{className:"heading-tab"},l.createElement("span",null,(0,d.ev)()))),l.createElement("div",{className:"menu-block-container"},l.createElement("div",{className:"content-tab",onClick:v=>{v.stopPropagation(),Z(!0)}},l.createElement("span",null,(0,d.NU)()),l.createElement("p",null,(k==null?void 0:k.shareOptionCTA)||"Share")),l.createElement("div",{className:"content-tab",onClick:async()=>{var v;await V(n==null||(v=n.gist)===null||v===void 0?void 0:v.id),e()}},l.createElement("span",null,(0,d.dc)()),l.createElement("p",null,(k==null?void 0:k.removeOptionCTA)||"Remove")),E?l.createElement("div",{className:"content-tab",onClick:N},l.createElement("span",null,(0,d.y7)()),l.createElement("p",null,(k==null?void 0:k.unlikeOptionCTA)||"Unlike")):l.createElement("div",{className:"content-tab",onClick:x},l.createElement("span",null,(0,d.wV)()),l.createElement("p",null,(k==null?void 0:k.likeOptionCTA)||"Like")),l.createElement("div",{className:"content-tab",onClick:()=>O(!1)},l.createElement("span",null,(0,d.tR)()),l.createElement("p",null,(k==null?void 0:k.closeOptionCTA)||"Close")))),Y&&l.createElement("div",null,l.createElement(u.A,{closeShare:H,shareEmail:J,shareFb:L,shareTwitter:M,permalink:window.location.origin+(n==null||(z=n.gist)===null||z===void 0?void 0:z.permalink),copiedText:window.location.origin+(n==null||(j=n.gist)===null||j===void 0?void 0:j.permalink)})))};var g=s(98646),f=s(25806),o=s(76482),I=s(41139),le=s(21066),ie=s(65499);const oe=({array:n,isVertical:O,aspectRatio:A,itemIdx:V,data:e,isRedirect:k,isDownloadIcon:z,showRuntime:j,isShareIcon:Y,toggleShare:Z,isArticlePage:E,isSeriesPage:D,trayItem:W,isHistoryPage:x,isPlaylistPage:N,updateWatchHistory:H,switchDataToPlayer:J,watchedPercentage:L,highlightId:M,updateHistoryDataMweb:v,historyMetadataMap:y,layoutSettings:r,openVideoInOverlay:S,selectedEpisodeId:q,hideTrayInformation:de=!1,badgeStyles:dl,isVerticaloverlay:hl,seasonTitle:El,moduleType:_l,moduleId:wl})=>{var ce,ae,me,pe,ge,fe,he,Ee,_e,we,be,ye,Ce,ke,Te,$e,Ie,Ne,Pe,Be,Ae,De,Le,Oe,Me,Fe,Ve,Ue,Re,Se,ze,We,xe,Ge,Ke,je,He,Qe,Xe,Ye,Ze;A=A||"16x9";const[bl,yl]=(0,l.useState)("0:00"),[Cl,vl]=(0,l.useState)(!1),[rl,sl]=(0,l.useState)(!1),kl=(0,U.Zp)(),Tl=((ge=window)===null||ge===void 0||(pe=ge.app_data)===null||pe===void 0||(me=pe.appcmsPlatform)===null||me===void 0||(ae=me.images)===null||ae===void 0?void 0:ae.monetizationBadge)||null,$l=(be=window)===null||be===void 0||(we=be.app_data)===null||we===void 0||(_e=we.appcmsMain)===null||_e===void 0||(Ee=_e.brand)===null||Ee===void 0||(he=Ee.cta)===null||he===void 0||(fe=he.primary)===null||fe===void 0?void 0:fe.backgroundColor,G=(e==null?void 0:e.content)||e,Il=(r==null?void 0:r.thumbnailType)||String(A||"16x9").replace(/x/gi,"*"),Nl=(r==null?void 0:r.showMonetizationBadge)&&(r==null?void 0:r.showMonetizationBadgeOnThumbnail)==="overTheThumbnail",Pl=((ce=G==null||(ye=G.badges)===null||ye===void 0?void 0:ye.length)!==null&&ce!==void 0?ce:0)>0&&((r==null?void 0:r.showBadgeOnThumbnail)||Nl),Bl=t=>{const T=Math.floor(t/3600),_=Math.floor(t%3600/60),C=Math.floor(t%60);return yl(T==0?(_==0?"00":_.toString().length==1?"0"+_:_)+":"+(C==0?"00":C.toString().length==1?"0"+C:C):(T==0?"0":T)+":"+(_==0?"00":_.toString().length==1?"0"+_:_)+":"+(C==0?"00":C.toString().length==1?"0"+C:C))};(0,l.useEffect)(()=>{Bl((e==null?void 0:e.runtime)||0)},[]);const Al=async()=>{await(0,f.checkUserCheckoutFlow)(e)?sl(!0):(sl(!1),w().publish("showPlayAllButton",!0))},Dl=()=>{var t,T,_,C,X;return!x||!(!(e==null||(T=e.series)===null||T===void 0||(t=T.gist)===null||t===void 0)&&t.permalink)?"":(0,ie.$)(typeof window!="undefined"?(X=window)===null||X===void 0||(C=X.app_data)===null||C===void 0||(_=C.appcmsMain)===null||_===void 0?void 0:_.features:null,"showDetailToggle")?(0,le.C)(e):""},ul=(t,T)=>{var _,C,X,ue,qe;const Vl=!!(!(t==null||(_=t.monetizationModels)===null||_===void 0)&&_.some($=>{var P;return["free","avod"].includes($==null||(P=$.type)===null||P===void 0?void 0:P.toLowerCase())})||!(!(t==null||(C=t.monetizationModels)===null||C===void 0)&&C.length)),Ul={itemNo:V+1,vid:e==null||(X=e.gist)===null||X===void 0?void 0:X.id,pageId:window.page_data.page.id,isVertical:(e==null?void 0:e.isVerticalVideo)||null,moduleType:_l||(r==null?void 0:r.type),modID:wl};if(w().publish("user-analytics",{ename:g.rO.ITEM_CLICK,data:Ul}),S&&Vl){if(hl){const $=n.map(P=>{var te;let K=P.gist.contentType==="GAME";return{type:P.gist.contentType,videoId:K?(te=P.preview)===null||te===void 0?void 0:te.id:P.id,gameId:K?P.id:""}});w().publish("video-overlay",{show:!0,vertical:!0,contentData:$,selectedVideoId:T,idx:V});return}w().publish("video-overlay",{show:!0,contentData:n,vertical:!1,idx:V});return}if(D){var el,ll,il,ol;const $=new URL((ll=window)===null||ll===void 0||(el=ll.location)===null||el===void 0?void 0:el.href);$==null||$.searchParams.set("v",t==null||(il=t.gist)===null||il===void 0?void 0:il.id),(ol=window)===null||ol===void 0||ol.history.pushState({},"",$),w().publish("destroy-adobe-analytics-instance",!0),w().publish("update-selected-episode",t);let P=(0,I.getEpisodeNumber)(t==null?void 0:t.episodeDisplayAttribute);w().publish("update-selected-episode-index",P||V+1)}if(N&&w().publish("selected-playlist-video",t),(0,b.iR)({eventName:"collection_click",subSection:null,type:"widget",reason:null,status:t==null||(ue=t.gist)===null||ue===void 0?void 0:ue.title,action:"Click",paymentStatus:null,eventCategory:"Collection Interaction",additionalLabel:t==null||(qe=t.gist)===null||qe===void 0?void 0:qe.permalink,section:null}),k){var nl;w().publish("apploading",!0);let $=e==null||(nl=e.gist)===null||nl===void 0?void 0:nl.permalink;const P=Dl();if(P)$=P;else if(O){$=$+"?vertical=true";const te=n.map(K=>{var tl;let fl=K.gist.contentType==="GAME";return{type:K.gist.contentType,videoId:fl?(tl=K.preview)===null||tl===void 0?void 0:tl.id:K.id,gameId:fl?K.id:""}});window.vertical_video_ids=te}kl($)}(0,b.vh)()};(0,l.useEffect)(()=>{Al()},[]);const Rl=()=>{w().publish("updateVideoDetails",e)};let Ll=e==null?void 0:e.publishDate;const Q=new Date(Ll*1e3),Je=-Q.getTimezoneOffset(),Ol=Je>=0?"+":"-",Ml=String(Math.floor(Math.abs(Je)/60)).padStart(2,"0"),Fl=String(Math.abs(Je)%60).padStart(2,"0"),ne=t=>String(t).padStart(2,"0"),cl=`${Q.getFullYear()}-${ne(Q.getMonth()+1)}-${ne(Q.getDate())}T${ne(Q.getHours())}:${ne(Q.getMinutes())}:${ne(Q.getSeconds())}${Ol}${Ml}:${Fl}`,al=(e==null||(Ce=e.gist)===null||Ce===void 0?void 0:Ce.permalink)||(e==null||(Te=e.content)===null||Te===void 0||(ke=Te.gist)===null||ke===void 0?void 0:ke.permalink),ve=al?`${typeof window!="undefined"?window.location.origin:""}${al}`:void 0,re=(e==null||($e=e.gist)===null||$e===void 0?void 0:$e.title)||(e==null||(Ne=e.content)===null||Ne===void 0||(Ie=Ne.gist)===null||Ie===void 0?void 0:Ie.title),se=(e==null||(Pe=e.gist)===null||Pe===void 0?void 0:Pe.description)||(e==null||(Ae=e.content)===null||Ae===void 0||(Be=Ae.gist)===null||Be===void 0?void 0:Be.description),ml=e!=null&&e.episodeDisplayAttribute?(0,I.getEpisodeNumber)(e==null?void 0:e.episodeDisplayAttribute):V+1,pl=(0,i.by)(A,(e==null?void 0:e.content)||e),gl=pl?encodeURI(pl):void 0;return l.createElement(l.Fragment,null,D&&re?l.createElement("meta",{itemProp:"name",content:re}):l.createElement(l.Fragment,null),D&&se?l.createElement("meta",{itemProp:"description",content:se}):l.createElement(l.Fragment,null),D&&(e!=null&&e.publishDate)?l.createElement("meta",{itemProp:"datePublished",content:cl}):l.createElement(l.Fragment,null),D&&ml?l.createElement("meta",{itemProp:"episodeNumber",content:String(ml)}):l.createElement(l.Fragment,null),l.createElement("div",{tabIndex:0,"aria-label":`${D?El:""} ${D?`Episode ${V+1}`:""} ${(e==null||(De=e.gist)===null||De===void 0?void 0:De.title)||(e==null||(Oe=e.content)===null||Oe===void 0||(Le=Oe.gist)===null||Le===void 0?void 0:Le.title)} ${rl?"Locked Content":""}`,className:"video-tray-item mweb-supine-tray",itemProp:"video",itemScope:!0,itemType:"https://schema.org/VideoObject",onFocus:t=>{t.currentTarget.scrollIntoView({behavior:"smooth",block:"center"})},onKeyDown:t=>{if(t.key==="Enter"){var T;ul(e,e==null||(T=e.gist)===null||T===void 0?void 0:T.id)}}},re?l.createElement("meta",{itemProp:"name",content:re}):l.createElement(l.Fragment,null),e!=null&&e.publishDate?l.createElement("meta",{itemProp:"uploadDate",content:cl}):l.createElement(l.Fragment,null),gl?l.createElement("meta",{itemProp:"thumbnailUrl",content:gl}):l.createElement(l.Fragment,null),se?l.createElement("meta",{itemProp:"description",content:se}):l.createElement(l.Fragment,null),ve?l.createElement("meta",{itemProp:"url",content:ve}):l.createElement(l.Fragment,null),ve?l.createElement("meta",{itemProp:"embedUrl",content:ve}):l.createElement(l.Fragment,null),l.createElement("div",{className:`detail-card aspect${A} ${M==(e==null||(Me=e.gist)===null||Me===void 0?void 0:Me.id)?"active-video":""}`,role:"button",onClick:()=>{var t;return ul(e,e==null||(t=e.gist)===null||t===void 0?void 0:t.id)}},l.createElement("div",{className:"backgroud-image"},Pl?l.createElement("div",{className:"badges"},G.badges.map((t,T)=>{var _;return(0,o.a)(T,G.badges,t,!0,dl,Il,G==null||(_=G.gist)===null||_===void 0?void 0:_.id,r)})):null,(e==null||(Fe=e.gist)===null||Fe===void 0?void 0:Fe.contentType)==="VIDEO"&&l.createElement("div",{className:"play-video-icon"}
1,(0,d.Vj)()),(e==null||(Ve=e.gist)===null||Ve===void 0?void 0:Ve.contentType)==="VIDEOPLAYLIST"&&l.createElement("div",{className:"play-icon-playlist"},(0,d.Vj)()),r!=null&&r.showMonetizationBadge&&(r==null?void 0:r.showMonetizationBadgeOnThumbnail)==="overTheThumbnail"?l.createElement(l.Fragment,null,rl?l.createElement("div",{className:"lock-icon-playlist"},l.createElement("div",{className:"icon-background"},l.createElement("img",{className:"lock-icon",src:Tl,alt:"Locked content"}))):l.createElement("div",{className:"lock-icon-playlist"},l.createElement("div",{className:"icon-background"},l.createElement("span",null,(0,d.Vj)($l))))):l.createElement(l.Fragment,null),l.createElement(h.A,{itemProp:"",className:`lazy aspect${A}`,src:(0,i.by)(A,(e==null?void 0:e.content)||e),alt:e==null||(Ue=e.gist)===null||Ue===void 0?void 0:Ue.title,lowQualitySrc:(0,i.LF)(A,(e==null?void 0:e.content)||e)||(e==null||(Se=e.content)===null||Se===void 0||(Re=Se.gist)===null||Re===void 0?void 0:Re.videoImageUrl)}),j&&(e==null||(ze=e.gist)===null||ze===void 0?void 0:ze.contentType)==="VIDEO"||(e==null||(We=e.gist)===null||We===void 0?void 0:We.contentType)==="GAME"&&l.createElement("div",{className:"video-time"},bl),L?l.createElement("div",{className:"history-progress"},l.createElement("div",{className:"progress-bar",style:{width:`${L}%`}})):l.createElement("div",null)),!de&&l.createElement(l.Fragment,null,l.createElement("div",{className:"image-information",style:E?{background:"fff",flexDirection:"column"}:{backgroundColor:`${r==null?void 0:r.itemBgColor}`}},l.createElement("div",{className:"text-wrapper-tray"},l.createElement("div",{style:W,className:"tray-title-wrapper"},l.createElement("p",{className:E?"":"site-color"},(e==null||(Ge=e.gist)===null||Ge===void 0||(xe=Ge.title)===null||xe===void 0?void 0:xe.length)>60?`${e!=null&&e.episodeDisplayAttribute?e==null?void 0:e.episodeDisplayAttribute:""} ${e==null||(je=e.gist)===null||je===void 0||(Ke=je.title)===null||Ke===void 0?void 0:Ke.substr(0,60)}...`:`${e!=null&&e.episodeDisplayAttribute?e==null?void 0:e.episodeDisplayAttribute:""} ${e==null||(He=e.gist)===null||He===void 0?void 0:He.title}`||`${e!=null&&e.episodeDisplayAttribute?e==null?void 0:e.episodeDisplayAttribute:""} ${e==null||(Xe=e.content)===null||Xe===void 0||(Qe=Xe.gist)===null||Qe===void 0?void 0:Qe.title}`),D&&(r!=null&&r.showEpisodeNumber)?l.createElement("p",{className:"eps-index"},`Episode ${e!=null&&e.episodeDisplayAttribute?(0,I.getEpisodeNumber)(e==null?void 0:e.episodeDisplayAttribute):V+1}`):l.createElement(l.Fragment,null))),(z||Y)&&l.createElement("div",{tabIndex:0,className:x?"download-icon share-icon mb-hide":"download-icon share-icon"},z&&(0,d.kZ)(),Y&&l.createElement("div",{className:"share-wrapper-tray",onClick:t=>{var T,_,C;t.stopPropagation(),Z(t,{title:e==null||(T=e.gist)===null||T===void 0?void 0:T.title,permalink:e==null||(_=e.gist)===null||_===void 0?void 0:_.permalink,id:e==null||(C=e.gist)===null||C===void 0?void 0:C.id})}},(0,d.NU)())),x&&l.createElement("div",{className:"share-wrapper-tray isMb",onClick:t=>{t.stopPropagation(),vl(!0)}},(0,d.LO)()),E&&(!(e==null||(Ye=e.author)===null||Ye===void 0)&&Ye.name)?l.createElement("div",{itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",className:"author-wrapper"}," ",l.createElement("p",{style:{margin:"0"}},"by ",e==null||(Ze=e.author)===null||Ze===void 0?void 0:Ze.name)):l.createElement(l.Fragment,null))))),Cl&&l.createElement(m,{data:e,setShowMenuModal:vl,updateWatchHistory:H,updateHistoryDataMweb:v,historyMetadataMap:y,removeUserWatchHistoryById:b.$w}))}},21066(ee,B,s){var l=s(65499);const U=d=>{let h="";if(d!=null&&d.gist){var i,b,F,w;const{permalink:a,watchedTime:u,id:p}=d.gist,c=p;let m=u?`?start=${u}`:"";if(h=`${a}${m}`,window&&(0,l.$)((F=window)===null||F===void 0||(b=F.app_data)===null||b===void 0||(i=b.appcmsMain)===null||i===void 0?void 0:i.features,"showDetailToggle")&&(!(d==null||(w=d.series)===null||w===void 0)&&w.gist)&&(m=u?`&start=${u}`:"",h=`${d.series.gist.permalink}?v=${p}${m}`),d!=null&&d.channels&&(d==null?void 0:d.channels.length)>0){const g=d==null?void 0:d.channels.find(f=>(f==null?void 0:f.isDefault)===!0);if(g&&(g!=null&&g.id)){const f=h.includes("?")?"&":"?";h=`${h}${f}channelId=${g==null?void 0:g.id}`}}}return h};s.d(B,["C",0,U])},27036(ee,B,s){var l=s(96540);const d=({className:h,src:i="",alt:b,lowQualitySrc:F,style:w={},width:a,height:u,srcSet:p,sizes:c,loading:m="lazy",fetchPriority:g,itemProp:f="thumbnailUrl"})=>{const o=m==="eager",[I,le]=(0,l.useState)(o),[ie,R]=(0,l.useState)(o?i:F),oe=(0,l.useRef)(!0);(0,l.useEffect)(()=>{o&&R(i)},[o,i]),(0,l.useEffect)(()=>
1{if(o)return;const O=new Image;return O.src=i,O.onload=()=>{oe.current&&le(!0)},()=>{oe.current=!1,O.onload=null}},[i,o]),(0,l.useEffect)(()=>{I&&!o&&R(i)},[I,i,o]);const n={className:h,src:ie,srcSet:I&&p?p:void 0,sizes:I&&c?c:void 0,style:w,alt:b||"",width:a,height:u};return f&&(n.itemProp=f),o&&(n.loading="eager"),g&&(n.fetchPriority=g),l.createElement("img",n)};s.d(B,["A",0,d])},65499(ee,B,s){s.d(B,{$:()=>d});var l=s(58156),U=s.n(l);function d(h,i){return U()(h,i)||null}},41139(ee,B,s){s.r(B),s.d(B,{attachSeriesWatchProgress:()=>b,getEpisodeNumber:()=>F,getQueryParams:()=>d,getSeasonNumber:()=>w});var l=s(19324),U=s(43543);function d(a){let u={isEpisodic:!1,vId:null},p=(a==null?void 0:a.split("?").length)>0?a==null?void 0:a.split("?")[1]:null;if(p){let m=p.split("&")||[p];for(let g=0;g<m.length;g++){var c;let f=(c=m[g])===null||c===void 0?void 0:c.split("=");(f.includes("vid")||f.includes("vId"))&&(u={isEpisodic:!0,vId:f[1]})}}return u}const h=a=>{var u;let p=JSON.parse(localStorage.getItem("planGroupList")),c=a==null||(u=a.plans)===null||u===void 0?void 0:u.filter(o=>(o==null?void 0:o.type)==="FREE"||(o==null?void 0:o.type)==="SVOD"||(o==null?void 0:o.monetizationModel)==="SVOD"),m=c==null?void 0:c.map(o=>(o==null?void 0:o.planIds)||(o==null?void 0:o.id)),g=c==null?void 0:c.map(o=>o==null?void 0:o.planGroupIds);return g==null||g.forEach(o=>{o&&m.push(p==null?void 0:p[o])}),m?m.filter(o=>o!=null):[]},i=async a=>{var u,p,c,m;let f=`${(m=window)===null||m===void 0||(c=m.app_data)===null||c===void 0||(p=c.appcmsMain)===null||p===void 0||(u=p.apiConfig)===null||u===void 0?void 0:u.apiBaseUrl}/v2/user/history/series/${a}`,I={headers:{Authorization:await(0,U.gf)()}};return l.A.get(f,I)};function b(a,u){if(!(a!=null&&a.length)||!Array.isArray(u))return a;const p=new Map;return u.forEach(c=>{(c==null?void 0:c.videoId)!=null&&c.watchedPercentage!=null&&p.set(c.videoId,c.watchedPercentage)}),a.forEach(c=>{(c.episodes||[]).forEach(m=>{var g,f;const o=(g=p.get(m==null||(f=m.gist)===null||f===void 0?void 0:f.id))!==null&&g!==void 0?g:p.get(m==null?void 0:m.id);o!=null&&(m.watchedPercentage=o)})}),a}function F(a){if(typeof a!="string")return!1;const u=a.match(/E(\d+)/i);return u?Number(u[1]):!1}function w(a){if(typeof a!="string")return!1;const u=a.match(/S(\d+)/i);return u?Number(u[1]):!1}s.d(B,["formulateAllPlanIdsArray",0,h,"getUserSeriesData",0,i])}}]);})();
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.